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.

Endercraft_O

Members
  • Joined

  • Last visited

Everything posted by Endercraft_O

  1. As the title outlines, I want to change my account's display name.
  2. I didn't know this existed, but it won't work as I need to be able to cancel the event and also get the amount of food and saturation
  3. I want to detect when a player eats any food item. For items I have a listener for when the Item is finished using but due to the cake is implemented there is no way for me to detect when the player eats a modded cake in general. My current thought is to extend the FoodData class so that when public void eat(int pFoodLevelModifier, float pSaturationLevelModifier) is called it would fire a custom event and replace every instance of FoodData in Player with the extended version. I think it's not likely to break much since FoodData seem to be a pretty isolated section of code but it probably will horribly conflict with any mod that may also have had the same idea. But before actually doing it I wanted to ask if this would be safe to do so and if there is another alternative I've missed. Also is any of this considered core-modding, i'm not sure of the exact definition?
  4. I want to create an EntityItem that won't combine in to a larger stack even when they can. I have a class that extends EntityItem and already overidden the onUpdate method and removed the searchForOtherItemsNearby() method run. But the item still combines in to larger stacks, is there something I am missing?
  5. I want to create many instance of minecraft to run simulations but don't want it to waste processor power to render graphics. I already found a method in forge that allows me to create a offline minecraft instance. The Main class I think does that.
  6. I want to disable the Minecraft graphics, to stop the window from rendering everything so that it would be very computationally efficient when I open many instances of Minecraft.
  7. I've got the dependency in and overridden the method for the block, but when launching in eclipse, I get the error of the mod missing, but if I put the mod into the mod folder I says there is a duplicate with the universal version and deobf version. I don't know how to solve this problem.
  8. Thank you, I'll be trying that
  9. I want to create a mod that changes the function of a block in another mod, specifically the onBlockActivated() method, but don't know how to do it. I had an idea of perhaps canceling the registering of that block and register a children of that block with the methods changed using the same name but I don't know if that is possible. Is there some way I can achieve that?

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.