Package dev.cammiescorner.icarus.client
Class ClientPlayerFallbackValues
java.lang.Object
dev.cammiescorner.icarus.util.ServerPlayerFallbackValues
dev.cammiescorner.icarus.client.ClientPlayerFallbackValues
- All Implemented Interfaces:
IcarusPlayerValues
public class ClientPlayerFallbackValues
extends ServerPlayerFallbackValues
implements IcarusPlayerValues
-
Constructor Summary
ConstructorsConstructorDescriptionClientPlayerFallbackValues(float wingsSpeed, float maxSlowedMultiplier, boolean armorSlows, boolean canLoopDeLoop, float requiredFoodAmount) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic booleancanClientLoopDeLoop(net.minecraft.world.entity.LivingEntity entity) used to test whether an entity is allowed to do a loop clientside, with special handling for the current client player entity.booleanfloatfloatfloatMethods inherited from class dev.cammiescorner.icarus.util.ServerPlayerFallbackValues
canSlowFall, exhaustionAmount, maxHeightAboveWorld, maxHeightEnabled, staminaAmount, staminaRegen, useStaminaForFlightMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.cammiescorner.icarus.api.IcarusPlayerValues
canSlowFall, exhaustionAmount, maxHeightAboveWorld, maxHeightEnabled, noFlyingAllowedInDimensions, noFlyingAllowedInLevels, staminaAmount, staminaRegen, useStaminaForFlight
-
Constructor Details
-
ClientPlayerFallbackValues
public ClientPlayerFallbackValues(float wingsSpeed, float maxSlowedMultiplier, boolean armorSlows, boolean canLoopDeLoop, float requiredFoodAmount)
-
-
Method Details
-
wingsSpeed
public float wingsSpeed()- Specified by:
wingsSpeedin interfaceIcarusPlayerValues- Overrides:
wingsSpeedin classServerPlayerFallbackValues
-
maxSlowedMultiplier
public float maxSlowedMultiplier()- Specified by:
maxSlowedMultiplierin interfaceIcarusPlayerValues- Overrides:
maxSlowedMultiplierin classServerPlayerFallbackValues
-
armorSlows
public boolean armorSlows()- Specified by:
armorSlowsin interfaceIcarusPlayerValues- Overrides:
armorSlowsin classServerPlayerFallbackValues
-
canLoopDeLoop
public boolean canLoopDeLoop()- Specified by:
canLoopDeLoopin interfaceIcarusPlayerValues- Overrides:
canLoopDeLoopin classServerPlayerFallbackValues
-
requiredFoodAmount
public float requiredFoodAmount()- Specified by:
requiredFoodAmountin interfaceIcarusPlayerValues- Overrides:
requiredFoodAmountin classServerPlayerFallbackValues
-
canClientLoopDeLoop
public static boolean canClientLoopDeLoop(net.minecraft.world.entity.LivingEntity entity) used to test whether an entity is allowed to do a loop clientside, with special handling for the current client player entity.
-