-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
I'm sorry I just don't see the problem if it isn't solved by the time I get back on I will take another look, but for now I am off to bed. -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Are you doing it in the right class? -
[1.12] Tile entity doesn't save itemstacks
Animefan8888 replied to That_Martin_Guy's topic in Modder Support
Why did you quote me? -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
And you are sure your breakpoint is below the line where you change the sound type? -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Try "blockSoundType = SoundType.CLOTH" instead of setSoundType and your breakpoint is not after you call setSoundType could you move it down a line. -
You are gonna want to check the facing value in hasCapability and getCapability and if it is anything, but null say you don't have it or it doesn't exist.
-
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Click the arrow next to it and see if it is the cloth one. -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Variables tab click on the arrow next to "this" and look for "blockSoundType" -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
-
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
I seem to forget quoting people a lot. The above message is the real one. -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Setting breakpoints is very simple. Go to the right of the line you want the program to pause at and right click. Depending on how far you went and your version of eclipse you should either see a box where it gives you some options or a blue-ish circle. Now go to your slabs class and set the breakpoint just after your call setSoundType. Launch in debug mode instead of run mode with is the little bug instead of the play button at the top. If you need more ask. -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Are you using eclipse? -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
Show your new code. -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
No I said the method is now called setSoundType() and it takes a SoundType. Choonster said to get the sound Type reference it from the SoundType class. Not make a new instance. -
[1.12] Block Variant Inventory Display Issue
Animefan8888 replied to xXiNightXx's topic in Modder Support
The method was changed to Block#setSoundType(SoundType) -
[1.12] Tile entity doesn't save itemstacks
Animefan8888 replied to That_Martin_Guy's topic in Modder Support
Arrays index at zero. -
No that is not how it is used, the write function returns a value because it takes what is saved to the NBTTagcompound and puts it into the file, the read should just take the data out of the NBTTagcompound and put it back into fields.
-
It doesn't have your modid instead it is looking in the minecraft assets.
-
As well as the BreakSpeed event.
-
Items Models/Textures not correctly matched
Animefan8888 replied to ARuther's topic in Modder Support
No problem. And thanks. -
It actually only seems to be certain Blocks. For example I can do Blocks.DIAMOND_ORE, but not to either of the Logs. If you really want to override the logs like that use events.
-
Items Models/Textures not correctly matched
Animefan8888 replied to ARuther's topic in Modder Support
Try registering your Models in the ModelRegistryEvent. -
Yes use that method for all model registering. And you could also for your ItemBlock JSONs just set the parent to your Blocks JSON.