Class FlowingFluid.SpreadContext

java.lang.Object
net.minecraft.world.level.material.FlowingFluid.SpreadContext
Enclosing class:
FlowingFluid

protected class FlowingFluid.SpreadContext extends Object
  • Field Details

    • level

      private final BlockGetter level
    • origin

      private final BlockPos origin
    • stateCache

      private final it.unimi.dsi.fastutil.shorts.Short2ObjectMap<BlockState> stateCache
    • holeCache

      private final it.unimi.dsi.fastutil.shorts.Short2BooleanMap holeCache
  • Constructor Details

  • Method Details

    • getBlockState

      public BlockState getBlockState(BlockPos p_361206_)
    • getBlockState

      private BlockState getBlockState(BlockPos p_360376_, short p_364307_)
    • isHole

      public boolean isHole(BlockPos p_362369_)
    • getCacheKey

      private short getCacheKey(BlockPos p_362251_)