Interface IAbstractBoatExtension


public interface IAbstractBoatExtension
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    canBoatInFluid(net.minecraft.world.level.material.FluidState state)
    Returns whether the boat can be used on the fluid.
    default boolean
    Returns whether the boat can be used on the fluid.
    private net.minecraft.world.entity.vehicle.AbstractBoat
     
  • Method Details

    • self

      private net.minecraft.world.entity.vehicle.AbstractBoat self()
    • canBoatInFluid

      default boolean canBoatInFluid(net.minecraft.world.level.material.FluidState state)
      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

      default boolean canBoatInFluid(FluidType type)
      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