Everything posted by Xerus
-
[1.9]setUnlocalizedName
what exactly is the problem? There are get Methods for both of them if you mean that
-
[SOLVED] [1.8.9] Issues with my Container
I dont know if that is the problem, but I would recommend you to add the slots in this order: 1. Slot(s) of the TileEntity 2. Player Inventory 3. Player Hotbar Since the Container uses a List of Slots it may be the problem Also, what does theVitr.openInventory do?
-
[1.10] Making a Block Face the Player on Placing
@Override, as far as I know, doesnt actually do anything just lets you know that you override TEBlock is just a Block that provides a TileEntity, here the Code to be clear:
-
[1.10] Making a Block Face the Player on Placing
I want to have a normal Block that just auto-faces the player when placed, and tried using the code from the furnace but I couldnt get it to work. The Block gets textured right but it doesnt rotate My Block Class: blockstate file: block model file:
-
[1.10.2] Can't craft Modblock
I use a normal blockstates file now it works Thanks for your help I am now pretty far with my mod!
-
[1.10.2] Can't craft Modblock
DUDE THIS MISTAKE... Thanks! Now it works! Just wanted to ask: can't you call only the clientproxy if this is only clientside stuff? the current thing i've been told is that i have to make empty methods in the commonproxy and then override them And my tile Entity drops black-purple particles why doesnt it automatically generate some from the block texture?
-
[1.10.2] Can't craft Modblock
Here are the relevant Codeparts: 1. The Model still doesnt show (I now tested it with replacing the Modelloader line with Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(b), 0, new ModelResourceLocation(b.getRegistryName().toString())); and this does work) 2. As you can see in the code if I am not totally dumb the Item is registered before the recipe
-
[1.10.2] Can't craft Modblock
1. I made a new method in the Clientproxy to call this in the postinit: ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(b), 0, new ModelResourceLocation(""+b.getRegistryName())); but the texture doesnt apply(it is getting called tho!) 2.JEI says this in the log:
-
[1.10.2] Can't craft Modblock
Sitting and thinking for hours now, I will ask here: If i try to craft my testblock (code: http://pastebin.com/EQfVMuda) Minecraft crashes: http://pastebin.com/mYP5CN8x Seema like it cant resolve the item in the ItemStack but the mc code is so weird...
-
[1.7.10] [UNSOLVED] Can my sword can be enchanted when I craft it?
Declarate the ItemStack earlier, save it in a variable and return it in the recipe