Interface IForgeBoat
public interface IForgeBoat
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleancanBoatInFluid(FluidState state) Returns whether the boat can be used on the fluid.default booleancanBoatInFluid(FluidType type) Returns whether the boat can be used on the fluid.private Boatself()default booleanshouldUpdateFluidWhileRiding(FluidState state, Entity rider) Whenfalse, the fluid will no longer update its height value while within a boat while it is not within a fluid (Boat.isUnderWater().
-
Method Details
-
self
-
canBoatInFluid
Returns whether the boat can be used on the fluid.- Parameters:
state- the state of the fluid- Returns:
trueif the boat can be used,falseotherwise
-
canBoatInFluid
Returns whether the boat can be used on the fluid.- Parameters:
type- the type of the fluid- Returns:
trueif the boat can be used,falseotherwise
-
shouldUpdateFluidWhileRiding
Whenfalse, the fluid will no longer update its height value while within a boat while it is not within a fluid (Boat.isUnderWater().- Parameters:
state- the state of the fluid the rider is withinrider- the rider of the boat- Returns:
trueif the fluid height should be updated,falseotherwise
-