2025-11-24 22:52:51 +03:00

25 lines
655 B
Java

/*
* 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<? extends Boat> type, Level level, Supplier<Item> dropItem) {
super(type, level, dropItem);
}
@Override
protected double rideHeight(EntityDimensions dimensions) {
return dimensions.height() / 3.0f;
}
}