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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Well, I can tell you to stop using ITileEntityProvider because it is old and unnecessary. Just override hasTE and getTE in the block class. Won't solve your problem, though.
  2. Edge pixels should probably only ever be 100% transparent or 100% opaque. The slightly fuzzy outline you have looks dumb in 3D.
  3. False. Your update method currently runs on both sides.
  4. 1. There is no reason to have the EFFECTIVE_ON array, setHarvestLevel() is sufficient. 2. You need to use a different constructor, the one that takes 2 floats, because vanilla wants the damage and speed values from the material passed to that constructor, but your material doesn't exist in its enum array, so it crashes. 3. Don't set the unlocalized name like that, you should use setUnlocalizedName(getRegistryName()) after you give the item a registry name, this allows your lang file to not conflict with other mods
  5. Is your tutorial for 1.11? Does it use Registry Events? (best) Does it use ModelLoader? (good) Does it use the ModelMesher? (avoid, avoid!)
  6. You should also be using the registry name as the unlocalized name to avoid conflicts with other mods.
  7. ....Alternatively, use ModelLoader in preInit...
  8. You should always do entity motion on both sides.
  9. You also forgot to use spoiler tags.
  10. It means that you didn't set the item in the slot on the server.
  11. 1.7.10 is no longer supported on this forum.
  12. ModelLoader needs to be called during PreInit, not Init.
  13. Why are you using the ModelMesher? If you're going to do it this way (and not the Registry events) then you should be using ModelLoader.setCustomModelResourceLocation
  14. You have to create a setter for it.
  15. Your assets folder is misspelled. assests
  16. Alternatively you can post an image showing the path, like this:
  17. Caused by: java.io.FileNotFoundException: ttnalboer:models/item/itemdragonsgem.json As you have used pastebin and not github, I am unable to indicate where the file is and how it differs from where it should be
  18. That would be lighting.
  19. If villagers aren't returning an IItemHandler but are returning an IInventory, then.... SHOCK, MAGIC Don't use the IItemHandler slots and use regular slots like you're already doing with the player's inventory.
  20. TE knows what the data is. --done TE changes and sends a packet with the changed data. --half done Client gets the packet and changes its local copy of the TE. --missing entirely Client re-renders. --done
  21. Entities have nothing to do with it. I'm pretty sure what you're seeing are random update ticks.

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.