Interface FanProcessingType
- All Known Implementing Classes:
AllFanProcessingTypes.BlastingType,AllFanProcessingTypes.HauntingType,AllFanProcessingTypes.SmokingType,AllFanProcessingTypes.SplashingType
public interface FanProcessingType
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaffectEntity(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level level) booleancanProcess(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level) static @Nullable FanProcessingTypegetAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) intbooleanisValidAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) voidmorphAirFlow(FanProcessingType.AirFlowParticleAccess particleAccess, net.minecraft.util.RandomSource random) static @Nullable FanProcessingType@Nullable List<net.minecraft.world.item.ItemStack> process(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level) voidspawnProcessingParticles(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 pos)
-
Method Details
-
isValidAt
boolean isValidAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) -
getPriority
int getPriority() -
canProcess
boolean canProcess(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level) -
process
@Nullable @Nullable List<net.minecraft.world.item.ItemStack> process(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level) -
spawnProcessingParticles
void spawnProcessingParticles(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 pos) -
morphAirFlow
void morphAirFlow(FanProcessingType.AirFlowParticleAccess particleAccess, net.minecraft.util.RandomSource random) -
affectEntity
void affectEntity(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level level) -
parse
-
getAt
@Nullable static @Nullable FanProcessingType getAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
-