Jump to content

MistressNebula

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by MistressNebula

  1. Oh, ok so it IS updated in 1.19. Weird to see how much time it took for this issue to be addressed Is a similar update planned for 1.18 too?
  2. AnvilUpdateEvent is called only when both inputs are estabilished. I understand the safety implications, and it does make sense to check if the left item exists before doing anything, but the Anvil can be used even with just one item and requiring the right slot to also be filled cuts the AnvilMenu method in a weird spot where a user doesn't have full control over the block's behavior. I'm working on 1.18.2, so i don't know if 1.19.x is any different, but since anvils have worked like this for the longest time it's probably the same as well. Feel free to correct me though. Example: i'm making an anvil customization mod. Amongst other things, i planned for a feature that allows users to change the level cost of renaming an item. As of now, this feature would only work as intended if two items are in the anvil, while renaming with only one item in the ui would run vanilla behavior no matter what. Edit: i wasn't sure if this counts as a suggestion or an issue so i had to choose one. Please do tell me if this topic should go somewhere else.
  3. I'm on 1.18.2, trying to change how anvils work. I know, very original, but i'm trying to make it as customizeable as i can. Anyway, i have noticed that the AnvilUpdateEvent is not called exactly where i'd like it to be and that the bus is only updated when both items are inserted in the anvil. This, as far as i can tell, means that i have no control over an item getting renamed without a second input. I have tried looking for other events but the only anvil related one i found is the one that determines the damage chance. Is there another event i can use that would give me more control? Or am i just screwed?
×
×
  • Create New...

Important Information

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