Jump to content

Lhykos

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Lhykos

  1. You have to register your WorldGenerator on the Server Side, in the "CommonProxy". Not on the Client side.
  2. I already changed it. Just look in the code from my earlier post.
  3. Oh, I didn't see that I not checked that. I fix that better in my code.
  4. I done that once before and it act perfect:
  5. Override the onUpdate(ItemStack stack, World worldIn, Entity entityIn, int itemSlot, boolean isSelected) {} method of your Item. It's called every tick the Item is in the players inventory.
  6. getActualState() is called whenever the block is rendered to get the correct state. For example, to load the right texture or the right model. Code from the Vanillacode class "BlockRendererDispatcher->renderBlock". Thats how I can see this in the code.
  7. For the spreading you can also do this: And I hope this solve your block texture problem: I don't if just writing this instead the property name is enough. The code above works for me. "variants": { "normal":[{}], "inventory":[{}] }
×
×
  • Create New...

Important Information

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