Class FlowingFluidGravityMixin
java.lang.Object
com.lightning.northstar.mixin.gravity.FlowingFluidGravityMixin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleancanPassThroughWall(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 booleancanSpreadTo(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 intgetDropOff(net.minecraft.world.level.LevelReader level) abstract net.minecraft.world.level.material.FluidStategetFlowing(int level, boolean falling) protected abstract net.minecraft.world.level.material.FluidStategetNewLiquid(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.FluidStategetSource(boolean falling) protected abstract booleanisSourceBlockOfThisType(net.minecraft.world.level.material.FluidState state) protected abstract voidspreadTo(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)
-
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)
-