Class FluidCurrent
java.lang.Object
net.raphimc.viabedrock.api.model.FluidCurrent
Native 1.26.51 accumulation and motion update for observed liquid flows.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(float x, float y, float z) apply(Position3f motion, float strength) voidreset()voidrestore(FluidCurrent.State state) snapshot()
-
Field Details
-
WATER_STRENGTH
public static final float WATER_STRENGTH- See Also:
-
LAVA_STRENGTH
public static final float LAVA_STRENGTH- See Also:
-
-
Constructor Details
-
FluidCurrent
public FluidCurrent()
-
-
Method Details
-
snapshot
-
restore
-
reset
public void reset() -
accumulate
public void accumulate(float x, float y, float z) -
apply
-