Class BackpackEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
forestry.api.storage.BackpackEvent
Direct Known Subclasses:
BackpackResupplyEvent, BackpackStowEvent

public abstract class BackpackEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    final net.minecraft.world.Container
     
    final net.minecraft.world.entity.player.Player
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BackpackEvent(net.minecraft.world.entity.player.Player player, IBackpackDefinition backpackDefinition, net.minecraft.world.Container backpackInventory)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • player

      public final net.minecraft.world.entity.player.Player player
    • backpackDefinition

      public final IBackpackDefinition backpackDefinition
    • backpackInventory

      public final net.minecraft.world.Container backpackInventory
  • Constructor Details

    • BackpackEvent

      public BackpackEvent(net.minecraft.world.entity.player.Player player, IBackpackDefinition backpackDefinition, net.minecraft.world.Container backpackInventory)