Class BedrockFenceShapes
java.lang.Object
com.viaversion.viafabricplus.bedrock.block.BedrockFenceShapes
Adapts core fence bounds to Java's block-local shape interface.
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.shapes.VoxelShapecamera(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos) static net.minecraft.world.phys.shapes.VoxelShapecollision(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos) static @Nullable net.raphimc.viabedrock.api.model.BedrockFenceGeometrycurrent(net.minecraft.world.level.block.state.BlockState state) static net.minecraft.world.phys.shapes.VoxelShapeoutline(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos)
-
Method Details
-
current
@Nullable public static @Nullable net.raphimc.viabedrock.api.model.BedrockFenceGeometry current(net.minecraft.world.level.block.state.BlockState state) -
collision
public static net.minecraft.world.phys.shapes.VoxelShape collision(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos) -
outline
public static net.minecraft.world.phys.shapes.VoxelShape outline(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos) -
camera
public static net.minecraft.world.phys.shapes.VoxelShape camera(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos)
-