跳到正文
烈焰甘蔗Wiki

Boat (New)

Registry name

etfuturum:new_boat

Audit correction: previously written as etfuturum.newBoat. Evidence: core/proxy/CommonProxy.java:279 registerEntity(EntityNewBoat.class, "new_boat", 13, ...). Two sibling boats are also registered by the same switch: etfuturum:chest_boat (id 19, CommonProxy.java:280) and etfuturum:new_boat_seat (id 14, CommonProxy.java:281).

Basic info

  • Health: No health attribute; entity lives until destroyed
  • Armor: None
  • Size: 1.375 × 0.5625 (width × height)
  • Spawn conditions: Player-placed via ItemNewBoat; optionally spawns naturally in world generation
  • Drops: One boat item of the corresponding type (oak, spruce, birch, jungle, acacia, dark_oak). If ConfigFunctions.dropVehiclesTogether and this is a chest boat: also drops a chest.
  • Behaviour: Vehicle. Holds up to 2 passengers (driver + second seat). Smooth paddle animation. Collision with surface blocks (snow layers, lily pads) breaks them.

Boat statuses (physics)

Status Description
IN_WATER Floating in water
UNDER_WATER Fully submerged
UNDER_FLOWING_WATER In flowing water
ON_LAND Gliding on land (snow, slime, ice)
IN_AIR Falling/jumping

Passenger system

  • First player mounts as driver → controls steering/paddling
  • Second player mounts to a secondary seat (EntityNewBoatSeat) if newBoatPassengerSeat config enabled
  • canEntitySit() checks entity blacklist/whitelist config for which entity types can ride
  • Passengers are ejected after 60 ticks of out-of-control movement

Damage and destruction

  • Takes damage from player attacks (accumulates damageTaken up to 40)
  • Direction reverses on hit
  • Destroyed (drops boat item) when: creative player hits it, or accumulated damage > 40
  • Falls from sufficient height (>3 blocks on land): breaks and drops 3 planks + 2 sticks

Interaction

  • Right-click: mounts player onto boat (or seat if one player already on boat)
  • Sneaking players cannot board
  • Control: forward/back for speed, left/right for rotation

Configuration options (relevant)

  • replaceOldBoats: replace vanilla oak boat behaviour
  • newBoatPassengerSeat: enable second passenger seat
  • newBoatSpeed: speed multiplier
  • newBoatMaxLandSpeed: max land-gliding speed
  • dropVehiclesTogether: whether chest boats drop both boat and chest

Notes

  • Does not trigger canTriggerWalking — does not activate block-walking handlers
  • Snow layers and lily pads are broken when the boat passes over them
  • When in UNDER_WATER, momentum set to 0.45; ON_LAND momentum uses boatGlide calculation based on block slipperiness
  • Renders paddle animation via paddlePositions array
  • Paddle sounds: water paddle, land paddle (different sounds)

Configuration gate

  • Entity registration (registers three entities at once: new_boat id 13, chest_boat id 19, new_boat_seat id 14): ConfigBlocksItems.enableNewBoats, default ON (configuration/configs/ConfigBlocksItems.java; wiring at core/proxy/CommonProxy.java:277-282). chest_boat and new_boat_seat have no wiki entries — currently uncovered.
浏览全部模组