Class StatusModuleState
java.lang.Object
net.thomilist.dimensionalinventories.module.builtin.status.StatusModuleState
- All Implemented Interfaces:
ModuleState,PlayerModuleState
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatintintfloatfloatintCollection<net.minecraft.entity.effect.StatusEffectInstance> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToPlayer(net.minecraft.server.network.ServerPlayerEntity player) voidloadFromPlayer(net.minecraft.server.network.ServerPlayerEntity player) type()
-
Field Details
-
experiencePoints
public int experiencePoints -
score
public int score -
foodLevel
public int foodLevel -
saturationLevel
public float saturationLevel -
exhaustion
public float exhaustion -
health
public float health -
statusEffects
-
-
Constructor Details
-
StatusModuleState
public StatusModuleState() -
StatusModuleState
public StatusModuleState(net.minecraft.server.network.ServerPlayerEntity player)
-
-
Method Details
-
type
- Specified by:
typein interfaceModuleState
-
applyToPlayer
public void applyToPlayer(net.minecraft.server.network.ServerPlayerEntity player) - Specified by:
applyToPlayerin interfacePlayerModuleState
-
loadFromPlayer
public void loadFromPlayer(net.minecraft.server.network.ServerPlayerEntity player) - Specified by:
loadFromPlayerin interfacePlayerModuleState
-