Jump to content

Endercraft_O

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Endercraft_O's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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. Version 1.12.2
  5. 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?
  6. 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.
  7. 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.
  8. 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.
  9. Thank you, I'll be trying that
  10. 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?
×
×
  • Create New...

Important Information

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