Class FlowingFluidGravityMixin

java.lang.Object
com.lightning.northstar.mixin.gravity.FlowingFluidGravityMixin

public abstract class FlowingFluidGravityMixin extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract boolean
    canPassThroughWall(net.minecraft.core.Direction direction, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos spreadPos, net.minecraft.world.level.block.state.BlockState spreadState)
     
    protected abstract boolean
    canSpreadTo(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos fromPos, net.minecraft.world.level.block.state.BlockState fromBlockState, net.minecraft.core.Direction direction, net.minecraft.core.BlockPos toPos, net.minecraft.world.level.block.state.BlockState toBlockState, net.minecraft.world.level.material.FluidState toFluidState, net.minecraft.world.level.material.Fluid fluid)
     
    protected abstract int
    getDropOff(net.minecraft.world.level.LevelReader level)
     
    abstract net.minecraft.world.level.material.FluidState
    getFlowing(int level, boolean falling)
     
    protected abstract net.minecraft.world.level.material.FluidState
    getNewLiquid(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState)
     
    abstract net.minecraft.world.level.material.FluidState
    getSource(boolean falling)
     
    protected abstract boolean
    isSourceBlockOfThisType(net.minecraft.world.level.material.FluidState state)
     
    protected abstract void
    spreadTo(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction direction, net.minecraft.world.level.material.FluidState fluidState)
     

    Methods inherited from class java.lang.Object

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

    • FlowingFluidGravityMixin

      public FlowingFluidGravityMixin()
  • Method Details

    • canSpreadTo

      protected abstract boolean canSpreadTo(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos fromPos, net.minecraft.world.level.block.state.BlockState fromBlockState, net.minecraft.core.Direction direction, net.minecraft.core.BlockPos toPos, net.minecraft.world.level.block.state.BlockState toBlockState, net.minecraft.world.level.material.FluidState toFluidState, net.minecraft.world.level.material.Fluid fluid)
    • spreadTo

      protected abstract void spreadTo(net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction direction, net.minecraft.world.level.material.FluidState fluidState)
    • canPassThroughWall

      protected abstract boolean canPassThroughWall(net.minecraft.core.Direction direction, net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos spreadPos, net.minecraft.world.level.block.state.BlockState spreadState)
    • isSourceBlockOfThisType

      protected abstract boolean isSourceBlockOfThisType(net.minecraft.world.level.material.FluidState state)
    • getNewLiquid

      protected abstract net.minecraft.world.level.material.FluidState getNewLiquid(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState blockState)
    • getDropOff

      protected abstract int getDropOff(net.minecraft.world.level.LevelReader level)
    • getSource

      public abstract net.minecraft.world.level.material.FluidState getSource(boolean falling)
    • getFlowing

      public abstract net.minecraft.world.level.material.FluidState getFlowing(int level, boolean falling)