refactor: port microblock placement to Java

This commit is contained in:
Algent committed 2026-09-01 10:06:34 +02:00
1 parent e286de3401
commit c20b6bf9d9
11 files changed
+426 -193

No files matched your search

@@ -0,0 +1,16 @@
package codechicken.microblock;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.MovingObjectPosition;
public final class MicroblockPlacement$ {
public static final MicroblockPlacement$ MODULE$ = new MicroblockPlacement$();
private MicroblockPlacement$() {}
public ExecutablePlacement apply(EntityPlayer player, MovingObjectPosition hit, int size, int material,
boolean checkMaterial, PlacementProperties properties) {
return new MicroblockPlacement(player, hit, size, material, checkMaterial, properties).apply();
}
}