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. Could you show me where you register it?
  2. Do you ever register the BlockDiamondReed that you pass into the ItemDiamondReed constructor?
  3. This would be why it doesn't work. you don't pass it your registered block.
  4. Why are they separate registries? Do you already have a Item that places it down? If not you could make them the same.
  5. It should be used when attaching data to Entities, TileEntities, ItemStacks, and the World if you so wish (WorldSavedData is still in use). This includes saving Items to TileEntities Forge provides a Capability: CapabilityItemHandler.ITEM_HANDLER_CAPABILITY. Yes they can be applied in two ways. If the TileEntity is yours apply it through the getCapability and hasCapability methods in your TileEntities class. If it is not yours then you must subscribe to the AttachCapabilityEvent and attach it to the TileEntity. What you read is the official documentation, I know Choonster has some Capability examples on his github.
  6. You have to call ModelLoader.setCustomModelResourceLocation in the ModelRegistryEvent now.
  7. Larsgerrits is right you didn't spell it right when calling Loader.isModLoaded draconicevoulution =/= draconicevolution
  8. Where do you call this method? Edit: This method should only be called to update the variables when they have been changed on the server. Do you call EntityThrowable#setHeadingFromThrower or EntityThrowable#setThrowableHeading?
  9. In the code you provided you never actually set the velocity in anyway. Do you ever set the velocity?
  10. Where are you trying to do this in a Command? If so yes and you can take a look at how they do that by viewing their classes.
  11. And the game is frozen right? AKA you pressed f5
  12. Did you run the game in debug mode?
  13. Good. Now what you can do is click on the buttons on the top left of eclipse "step into", "step over", and "step return" which come after the "resume", "suspend", and "terminate" buttons. And in doing so you can see how your code is executing.
  14. As you have realized that is not what it means. When you set a breakpoint you essentially says pause here and let me take a look. The one I posted or the normal one?
  15. Something is wrong with your Proxy setup. Post your main mod class and make sure that your proxies have zero argument constructors.
  16. It shouldn't crash the game, it will basically pause it and eclipse should prompt you. Say yes and you should get a debug ui that you can view things with. That looks something like this, though the color shouldn't change.
  17. A breakpoint and a break are two different things. Look up how to set a breakpoint in eclipse.
  18. Could you show me in a picture?
  19. I suggest stepping through your code in the debugger set a breakpoint at the top of getArmorModel.
  20. I'm pretty sure it is the fact that your Collar uses ArmorMaterial.LEATHER. Make a custom one and use that instead.
  21. You will need to use a Capabilty and attach it to the player to store the card they are supposed to get. And how is the player opening the gui, right clicking on a block? If so you can get the TileEntity from there and get the initial card.

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.