Class ServerPlayerGameModeMixin

java.lang.Object
de.cech12.usefulhats.mixin.ServerPlayerGameModeMixin

public class ServerPlayerGameModeMixin extends Object
Mixin for the ServerPlayerGameMode class to add hat event handling.
  • Field Details

    • level

      protected net.minecraft.server.level.ServerLevel level
    • player

      protected net.minecraft.server.level.ServerPlayer player
  • Constructor Details

    • ServerPlayerGameModeMixin

      public ServerPlayerGameModeMixin()
  • Method Details

    • destroyBlockProxy

      public void destroyBlockProxy(net.minecraft.core.BlockPos blockPos, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)