Class MysteriousMagicContainer

java.lang.Object
net.minecraft.world.SimpleContainer
net.minheur.mhm_bitsnbobs.util.MysteriousMagicContainer
All Implemented Interfaces:
net.minecraft.world.Clearable, net.minecraft.world.Container, net.minecraft.world.inventory.StackedContentsCompatible

public class MysteriousMagicContainer extends net.minecraft.world.SimpleContainer
This is a container with a magic fuel int.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     

    Fields inherited from interface net.minecraft.world.Container

    DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
    MysteriousMagicContainer(int fuelAmount, int size)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    Methods inherited from class net.minecraft.world.SimpleContainer

    addItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, stillValid, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.Container

    canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, startOpen, stopOpen
  • Field Details

    • fuelAmount

      private final int fuelAmount
  • Constructor Details

    • MysteriousMagicContainer

      public MysteriousMagicContainer(int fuelAmount, int size)
  • Method Details

    • getFuelAmount

      public int getFuelAmount()