Temporary fix for schematica patch
@@ -12,6 +12,28 @@ public interface TypesSpecial {
ASMClass SchematicPrinter = ASMBuilders.newClassBuilder()
.setClassName("com/github/lunatrius/schematica/client/printer/SchematicPrinter")
.build();
+
+ ASMClass WorldClient = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/client/multiplayer/WorldClient")
+ .build();
+ ASMClass EntityPlayerSP = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/client/entity/EntityPlayerSP")
+ .build();
+ ASMClass ItemStack = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/item/ItemStack")
+ .build();
+ ASMClass EnumFacing = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/util/EnumFacing")
+ .build();
+ ASMClass BlockPos = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/util/math/BlockPos")
+ .build();
+ ASMClass Vec3d = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/util/math/Vec3d")
+ .build();
+ ASMClass EnumHand = ASMBuilders.newClassBuilder()
+ .setClassName("net/minecraft/util/EnumHand")
+ .build();
}
interface Fields {
@@ -23,13 +45,20 @@ public interface TypesSpecial {
.setName("placeBlock")
.setReturnType(boolean.class)
.beginParameters()
- .add(TypesMc.Classes.WorldClient)
+ /*.add(TypesMc.Classes.WorldClient)
.add(TypesMc.Classes.EntityPlayerSP)
.add(TypesMc.Classes.ItemStack)
.add(TypesMc.Classes.BlockPos)
.add(TypesMc.Classes.EnumFacing)
.add(TypesMc.Classes.Vec3d)
- .add(TypesMc.Classes.EnumHand)
+ .add(TypesMc.Classes.EnumHand)*/
+ .add(Classes.WorldClient)
+ .add(Classes.EntityPlayerSP)
+ .add(Classes.ItemStack)
+ .add(Classes.BlockPos)
+ .add(Classes.EnumFacing)
+ .add(Classes.Vec3d)
+ .add(Classes.EnumHand)
.finish()
.build();
}
