Class BedrockFenceShapes

java.lang.Object
com.viaversion.viafabricplus.bedrock.block.BedrockFenceShapes

public final class BedrockFenceShapes extends Object
Adapts core fence bounds to Java's block-local shape interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.shapes.VoxelShape
    camera(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    collision(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos)
     
    static @Nullable net.raphimc.viabedrock.api.model.BedrockFenceGeometry
    current(net.minecraft.world.level.block.state.BlockState state)
     
    static net.minecraft.world.phys.shapes.VoxelShape
    outline(net.raphimc.viabedrock.api.model.BedrockFenceGeometry geometry, net.minecraft.core.BlockPos pos)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)