Class CampfireTracker.CookInfo

java.lang.Object
com.hammy275.immersivemc.server.tracker.CampfireTracker.CookInfo
Enclosing class:
CampfireTracker

public static class CampfireTracker.CookInfo extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected int
     
    net.minecraft.world.item.ItemStack
     
    net.minecraft.world.item.ItemStack
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(int controller, int amount)
     
    int
    get(int controller)
     
    net.minecraft.world.item.ItemStack
    getStack(int controller)
     
    void
    set(int controller, int value)
     
    void
    setStack(int controller, net.minecraft.world.item.ItemStack stack)
     
     

    Methods inherited from class java.lang.Object

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

    • mainHand

      protected int mainHand
    • offHand

      protected int offHand
    • stackHeldMain

      public net.minecraft.world.item.ItemStack stackHeldMain
    • stackHeldOff

      public net.minecraft.world.item.ItemStack stackHeldOff
  • Constructor Details

    • CookInfo

      public CookInfo()
  • Method Details

    • set

      public void set(int controller, int value)
    • get

      public int get(int controller)
    • add

      public void add(int controller, int amount)
    • getStack

      public net.minecraft.world.item.ItemStack getStack(int controller)
    • setStack

      public void setStack(int controller, net.minecraft.world.item.ItemStack stack)
    • toString

      public String toString()
      Overrides:
      toString in class Object