Everything posted by Animefan8888
-
[1.12] Block Variant Inventory Display Issue
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
Are you doing it in the right class?
-
[1.12] Tile entity doesn't save itemstacks
Why did you quote me?
-
[1.12] Block Variant Inventory Display Issue
And you are sure your breakpoint is below the line where you change the sound type?
-
[1.12] Block Variant Inventory Display Issue
Try "blockSoundType = SoundType.CLOTH" instead of setSoundType and your breakpoint is not after you call setSoundType could you move it down a line.
-
[1.12] Hopper and custom container.
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
Click the arrow next to it and see if it is the cloth one.
-
[1.12] Block Variant Inventory Display Issue
Variables tab click on the arrow next to "this" and look for "blockSoundType"
-
[1.12] Block Variant Inventory Display Issue
- [1.12] Block Variant Inventory Display Issue
I seem to forget quoting people a lot. The above message is the real one.- [1.12] Block Variant Inventory Display Issue
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
Are you using eclipse?- [1.12] Block Variant Inventory Display Issue
Show your new code.- [1.12] Block Variant Inventory Display Issue
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
The method was changed to Block#setSoundType(SoundType)- [1.12] Tile entity doesn't save itemstacks
Arrays index at zero.- (SOLVED) [1.12] How to get the server-side instance of the player in a client-side method?
Packets have not really changed much since 1.7 unless something happened in 1.12 that i don't know about. So here is a tutorial from Diesieben.- (SOLVED) [1.12] How to get the server-side instance of the player in a client-side method?
You are gonna want to save the Players Bed spawnpoint to a capability and then update it with packets so the client side also has the data.- [1.12] Run event when world first created
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.- Can't find file [solved]
It doesn't have your modid instead it is looking in the minecraft assets.- Set Harvest Level of Vanilla Block
As well as the BreakSpeed event.- Items Models/Textures not correctly matched
No problem. And thanks.- Set Harvest Level of Vanilla Block
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
Try registering your Models in the ModelRegistryEvent.- Item Block Texture Not Rendering
Yes use that method for all model registering. And you could also for your ItemBlock JSONs just set the parent to your Blocks JSON. - [1.12] Block Variant Inventory Display Issue
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.