mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-28 07:56:11 +00:00
refactor: port microblock placement to Java
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user