Class ServerPlayerGameModeMixin
java.lang.Object
de.cech12.usefulhats.mixin.ServerPlayerGameModeMixin
Mixin for the ServerPlayerGameMode class to add hat event handling.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroyBlockProxy(net.minecraft.core.BlockPos blockPos, org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable<Boolean> cir)
-
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)
-