Class PotionEffectHandler

java.lang.Object
com.simibubi.create.impl.effect.PotionEffectHandler
All Implemented Interfaces:
OpenPipeEffectHandler

public class PotionEffectHandler extends Object implements OpenPipeEffectHandler
  • Constructor Details

    • PotionEffectHandler

      public PotionEffectHandler()
  • Method Details

    • apply

      public void apply(net.minecraft.world.level.Level level, net.minecraft.world.phys.AABB area, net.neoforged.neoforge.fluids.FluidStack fluid)
      Specified by:
      apply in interface OpenPipeEffectHandler
      Parameters:
      area - the area to apply effects in
      fluid - the fluid in the pipe. Do not modify, it will do nothing