Interface FanProcessingType

All Known Implementing Classes:
AllFanProcessingTypes.BlastingType, AllFanProcessingTypes.HauntingType, AllFanProcessingTypes.NoneType, AllFanProcessingTypes.SmokingType, AllFanProcessingTypes.SplashingType

public interface FanProcessingType
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    affectEntity(net.minecraft.world.entity.Entity entity, net.minecraft.world.level.Level level)
     
    boolean
    canProcess(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.Level level)
     
    static @Nullable FanProcessingType
    getAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
     
    int
     
    boolean
    isValidAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
     
    void
    morphAirFlow(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)
     
    void
    spawnProcessingParticles(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

      @Nullable static @Nullable FanProcessingType parse(String str)
    • getAt

      @Nullable static @Nullable FanProcessingType getAt(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)