Class ASMUContainerMenuHook

java.lang.Object
info.u_team.u_team_core.intern.asm.ASMUContainerMenuHook

public class ASMUContainerMenuHook extends Object
Class used for an asm hook (ucontainermenu-init-menu.js) for the UAbstractContainerMenu.
Do not change package, class or method names without changing them in the asm core mod!
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    hook(net.minecraft.world.inventory.AbstractContainerMenu menu, net.minecraft.server.level.ServerPlayer player)
    Called from asm core mod from ServerPlayer.initMenu(AbstractContainerMenu) method.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ASMUContainerMenuHook

      public ASMUContainerMenuHook()
  • Method Details

    • hook

      public static void hook(net.minecraft.world.inventory.AbstractContainerMenu menu, net.minecraft.server.level.ServerPlayer player)
      Called from asm core mod from ServerPlayer.initMenu(AbstractContainerMenu) method.