Class VoxelShapeComponentsFactory

java.lang.Object
org.cyclops.integrateddynamics.core.block.VoxelShapeComponentsFactory

public class VoxelShapeComponentsFactory extends Object
Allows VoxelShapeComponents instances to be created based on a set of registered handlers that can create components under given circumstances.
  • Constructor Details

  • Method Details

    • addHandler

      public void addHandler(VoxelShapeComponentsFactory.IHandler handler)
    • createShape

      public VoxelShapeComponents createShape(net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos blockPos, net.minecraft.world.phys.shapes.CollisionContext selectionContext)