Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. 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.
  2. And you are sure your breakpoint is below the line where you change the sound type?
  3. Try "blockSoundType = SoundType.CLOTH" instead of setSoundType and your breakpoint is not after you call setSoundType could you move it down a line.
  4. 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.
  5. Click the arrow next to it and see if it is the cloth one.
  6. Variables tab click on the arrow next to "this" and look for "blockSoundType"
  7. I seem to forget quoting people a lot. The above message is the real one.
  8. 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.
  9. 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.
  10. The method was changed to Block#setSoundType(SoundType)
  11. 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.
  12. 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.
  13. 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.
  14. It doesn't have your modid instead it is looking in the minecraft assets.
  15. 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.
  16. Try registering your Models in the ModelRegistryEvent.
  17. Yes use that method for all model registering. And you could also for your ItemBlock JSONs just set the parent to your Blocks JSON.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.