Class ServerPlayerEntityMixin
java.lang.Object
com.bleudev.nine_lifes.mixin.ServerPlayerEntityMixin
- All Implemented Interfaces:
ServerPlayerEntityCustomInteface
public abstract class ServerPlayerEntityMixin
extends Object
implements ServerPlayerEntityCustomInteface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intnet.minecraft.server.network.ServerPlayNetworkHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanchangeGameMode(net.minecraft.world.GameMode gameMode) abstract @NotNull net.minecraft.world.GameModeintvoidnine_lifes$setLives(int value) protected voidreadCustomData(net.minecraft.storage.ReadView view, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) protected voidwriteCustomData(net.minecraft.storage.WriteView view, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-
Field Details
-
networkHandler
public net.minecraft.server.network.ServerPlayNetworkHandler networkHandler -
lives
protected int lives
-
-
Constructor Details
-
ServerPlayerEntityMixin
public ServerPlayerEntityMixin()
-
-
Method Details
-
changeGameMode
public abstract boolean changeGameMode(net.minecraft.world.GameMode gameMode) -
getGameMode
@NotNull public abstract @NotNull net.minecraft.world.GameMode getGameMode() -
nine_lifes$getLives
public int nine_lifes$getLives()- Specified by:
nine_lifes$getLivesin interfaceServerPlayerEntityCustomInteface
-
nine_lifes$setLives
public void nine_lifes$setLives(int value) - Specified by:
nine_lifes$setLivesin interfaceServerPlayerEntityCustomInteface
-
readCustomData
protected void readCustomData(net.minecraft.storage.ReadView view, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
writeCustomData
protected void writeCustomData(net.minecraft.storage.WriteView view, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-