/* * Decompiled with CFR 0.152. */ package net.minecraft.world.entity.vehicle; import java.util.function.Supplier; import net.minecraft.world.entity.EntityDimensions; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.vehicle.AbstractBoat; import net.minecraft.world.item.Item; import net.minecraft.world.level.Level; public class Boat extends AbstractBoat { public Boat(EntityType type, Level level, Supplier dropItem) { super(type, level, dropItem); } @Override protected double rideHeight(EntityDimensions dimensions) { return dimensions.height() / 3.0f; } }