Class AnvilMenuCreateResultMixin

java.lang.Object
johnsmith.enchantingoverhauled.mixin.menu.AnvilMenuCreateResultMixin
All Implemented Interfaces:
AnvilMenuAccessor

public abstract class AnvilMenuCreateResultMixin extends Object implements AnvilMenuAccessor
Injections into the vanilla AnvilMenu#createResult body.

Registered only by loaders that keep the vanilla method layout (Fabric, Forge). NeoForge patches createResult into a hook wrapper and moves the body to createResultInternal, so it declares the equivalent injections in NeoForgeAnvilMenuMixin. All logic is delegated to AnvilMenuAccessor (implemented by AnvilMenuMixin).

  • Constructor Details

    • AnvilMenuCreateResultMixin

      public AnvilMenuCreateResultMixin()