接口 IAbstractBoatExtension

所有已知实现类:
AbstractBoat, AbstractChestBoat, Boat, ChestBoat, ChestRaft, Raft

public interface IAbstractBoatExtension
  • 方法概要

    修饰符和类型
    方法
    说明
    default boolean
    Returns whether the boat can be used on the fluid.
    default boolean
    Returns whether the boat can be used on the fluid.
    private AbstractBoat
     
  • 方法详细资料

    • self

      private AbstractBoat self()
    • canBoatInFluid

      default boolean canBoatInFluid(FluidState state)
      Returns whether the boat can be used on the fluid.
      参数:
      state - the state of the fluid
      返回:
      true if the boat can be used, false otherwise
    • canBoatInFluid

      default boolean canBoatInFluid(FluidType type)
      Returns whether the boat can be used on the fluid.
      参数:
      type - the type of the fluid
      返回:
      true if the boat can be used, false otherwise