Skip 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.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. Dont use the deprecated version use the GameRegistry.register (item.setRegistryName (name) not unlocalized name
  2. Ifnit is a custom projectile there is an onImpact method, otherwise use the ThrowableImpactEvent
  3. What are you asking exactly i dont quite understand.
  4. First you could register a world generator or you could use the generation events
  5. Almost anything is an IForgeRegistryObject Items and Blocks are the mainly used one but Enchantments and PotionEffects(something to do with potions). You need to call setRegistryName on the object first or it will not work, but for blocks you need to register the item as well as the blocks themselves or there won't be any Item for the block.
  6. You should be calling update in your TE's class not the TESR class move the EntityItem object to your TE's class.
  7. Java uses objects for checking if something is equal instead you should check if pos.getX() = thispos.getX() etc.
  8. Is it x + y * 9 or x + y * 11, change it to the other and see if that changes it.
  9. No 99, the number of ItemStacks the TE should contain.
  10. The render code doesn't handle the yaw/pitch changes or the motion changes it grabs those from the EntityItem. Create the EntityItem in your TileEntity and call EntityItem.update in your TE's update method.
  11. getSizeInventory returns 9 kinda surprised you didn't get an Array out of Bounds Exception..
  12. Can I see your TE class. * Edit shouldn't the 11 be a 9 for when you are calculating the index?
  13. I want to say you might need to hard code the rendering, but if you can create and add a Model only client side you may be able to use BlockRendererDispatcher.renderBlock...
  14. There is a world renderer, but why would you only want to render the block client side?
  15. What are you trying to animate exactly the rotation or the up and down motion. Because the rotation is messing with the yaw/pitch, and the up and down can be handled using the motionY. And don't set the position every tick when you create it is when you should set it.
  16. Use the minecraft forge event bus they merged them.
  17. Try registering an ItemBlock for it.
  18. Why not look into what renderItemAndEffectIntoGui does and look at other methods
  19. You should also do a check if bonemeal works on it. Otherwise it might error. Or be considered very broken lol.
  20. I stand corrected. Thanks Choonster added to my knowledge on Minecraft JSONs and bookmarked.
  21. Yes, because you need to get the new blockstate not the one when you clicked.
  22. Actually instead you should call worldIn.getBlockState(pos).getBlock() instnceof IGrowable

Important Information

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

Account

Navigation

Search

Search

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.