Jump to content

exys

Members
  • Posts

    5
  • Joined

  • Last visited

exys's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Moved to 1.11.2 with latest forge. Still absolutely same thing, no matter which forge or mc version is installed.
  2. That's bad... I need to create mod on 1.7.10 because of some other mods are still on this version, like GregTech or Extra Bees (Binnie's mods). But maybe someone can help me with this thing?.. I don't know what to do...
  3. I'm trying to make a mod with some sword that should emit sound only once at its equip. Detection of slot change works like this: last item in player's hand being written to static variable lastSlotItem, and then if equipped item on next tick != lastSlotItem means that slot is changed. And by some unknown reason onPlayerTick is being called like this: First change tick: item == sword Second change tick: item == previous item (why does it goes back to prev. item on this tick?) Third change tick: item == sword (again) There's my code: onPlayerTick: preInit: And even if i trying to handle slot change detection with onUpdate override in my sword class it does the same thing. Sword Class:
×
×
  • Create New...

Important Information

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