Class AccessoryEvent.CollectEffects

java.lang.Object
net.neoforged.bus.api.Event
tech.anonymoushacker1279.immersiveweapons.api.events.AccessoryEvent
tech.anonymoushacker1279.immersiveweapons.api.events.AccessoryEvent.CollectEffects
Enclosing class:
AccessoryEvent

public static class AccessoryEvent.CollectEffects extends AccessoryEvent
  • Constructor Details

    • CollectEffects

      @AvailableSince("1.37.0") public CollectEffects(net.minecraft.world.entity.player.Player player, AccessoryEffectType type)
      Collect generic effects.
      Parameters:
      player - the player to collect from
      type - the type of effect to collect
  • Method Details

    • getType

      public AccessoryEffectType getType()
    • getEffect

      public double getEffect()
    • setEffect

      public void setEffect(double effect)