Class LootingLevelEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event

public class LootingLevelEvent extends LivingEvent
  • Field Details

    • damageSource

      @Nullable private final @Nullable DamageSource damageSource
    • lootingLevel

      private int lootingLevel
  • Constructor Details

    • LootingLevelEvent

      public LootingLevelEvent(LivingEntity entity, @Nullable @Nullable DamageSource damageSource, int lootingLevel)
  • Method Details

    • getDamageSource

      @Nullable public @Nullable DamageSource getDamageSource()
    • getLootingLevel

      public int getLootingLevel()
    • setLootingLevel

      public void setLootingLevel(int lootingLevel)