Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Lhykos

Members
  • 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":[{}] }

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.