minecraft-source/src/net/minecraft/world/level/block/BaseCoralFanBlock.java

25 lines
753 B
Java

package net.minecraft.world.level.block;
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.shapes.VoxelShape;
public class BaseCoralFanBlock extends BaseCoralPlantTypeBlock {
private static final VoxelShape AABB;
protected BaseCoralFanBlock(final Properties c) {
super(c);
}
@Override
public VoxelShape getShape(final BlockState byg, final BlockGetter bjd, final BlockPos fk, final CollisionContext cvn) {
return BaseCoralFanBlock.AABB;
}
static {
AABB = Block.box(2.0, 0.0, 2.0, 14.0, 4.0, 14.0);
}
}