Interface IAbstractBoatExtension
- All Known Implementing Classes:
AbstractBoat
,AbstractChestBoat
,Boat
,ChestBoat
,ChestRaft
,Raft
public interface IAbstractBoatExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canBoatInFluid
(FluidState state) Returns whether the boat can be used on the fluid.default boolean
canBoatInFluid
(FluidType type) Returns whether the boat can be used on the fluid.private AbstractBoat
self()
-
Method Details
-
self
-
canBoatInFluid
Returns whether the boat can be used on the fluid.- Parameters:
state
- the state of the fluid- Returns:
true
if the boat can be used,false
otherwise
-
canBoatInFluid
Returns whether the boat can be used on the fluid.- Parameters:
type
- the type of the fluid- Returns:
true
if the boat can be used,false
otherwise
-