Class LootingLevelEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.LivingEvent
net.minecraftforge.event.entity.living.LootingLevelEvent
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEventLivingEvent.LivingJumpEvent, LivingEvent.LivingTickEvent, LivingEvent.LivingVisibilityEventNested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEventEntityEvent.EnteringSection, EntityEvent.EntityConstructingNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionLootingLevelEvent(LivingEntity entity, @Nullable DamageSource damageSource, int lootingLevel) 
- 
Method SummaryModifier and TypeMethodDescription@Nullable DamageSourceintvoidsetLootingLevel(int lootingLevel) Methods inherited from class net.minecraftforge.event.entity.living.LivingEventgetEntityMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
damageSource
- 
lootingLevelprivate int lootingLevel
 
- 
- 
Constructor Details- 
LootingLevelEventpublic LootingLevelEvent(LivingEntity entity, @Nullable @Nullable DamageSource damageSource, int lootingLevel) 
 
- 
- 
Method Details- 
getDamageSource
- 
getLootingLevelpublic int getLootingLevel()
- 
setLootingLevelpublic void setLootingLevel(int lootingLevel) 
 
-