Package net.minheur.mhm_bitsnbobs.util
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
FieldsFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE -
Constructor Summary
Constructors -
Method Summary
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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()
-