Class NoSourceClipContext

java.lang.Object
net.minecraft.world.level.ClipContext
net.jcm.vsch.util.NoSourceClipContext

public class NoSourceClipContext extends net.minecraft.world.level.ClipContext
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.ClipContext

    net.minecraft.world.level.ClipContext.Block, net.minecraft.world.level.ClipContext.Fluid, net.minecraft.world.level.ClipContext.ShapeGetter
  • Constructor Summary

    Constructors
    Constructor
    Description
    NoSourceClipContext(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, net.minecraft.core.BlockPos source)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.shapes.VoxelShape
    getBlockShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos)
     
    net.minecraft.world.phys.shapes.VoxelShape
    getFluidShape(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos)
     

    Methods inherited from class net.minecraft.world.level.ClipContext

    getFrom, getTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoSourceClipContext

      public NoSourceClipContext(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to, net.minecraft.core.BlockPos source)
  • Method Details

    • getBlockShape

      public net.minecraft.world.phys.shapes.VoxelShape getBlockShape(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos)
      Overrides:
      getBlockShape in class net.minecraft.world.level.ClipContext
    • getFluidShape

      public net.minecraft.world.phys.shapes.VoxelShape getFluidShape(net.minecraft.world.level.material.FluidState state, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos)
      Overrides:
      getFluidShape in class net.minecraft.world.level.ClipContext