Package emi.dev.emi.emi.api.stack
Class EmptyEmiStack
java.lang.Object
emi.dev.emi.emi.api.stack.EmiStack
emi.dev.emi.emi.api.stack.EmptyEmiStack
- All Implemented Interfaces:
EmiRenderable,EmiIngredient
-
Field Summary
Fields inherited from class emi.dev.emi.emi.api.stack.EmiStack
amount, chance, comparison, EMPTYFields inherited from interface emi.dev.emi.emi.api.stack.EmiIngredient
RENDER_AMOUNT, RENDER_ICON, RENDER_INGREDIENT, RENDER_REMAINDER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class emi.dev.emi.emi.api.stack.EmiStack
comparison, comparison, equals, getAmount, getChance, getKeyOfType, hashCode, hasNbt, isEqual, of, of, of, of, of, of, of, of, of, of, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface emi.dev.emi.emi.api.stack.EmiIngredient
render
-
Constructor Details
-
EmptyEmiStack
public EmptyEmiStack()
-
-
Method Details
-
getRemainder
- Overrides:
getRemainderin classEmiStack
-
getEmiStacks
- Specified by:
getEmiStacksin interfaceEmiIngredient- Overrides:
getEmiStacksin classEmiStack- Returns:
- The
EmiStacks represented by this ingredient. List is never empty. For an empty ingredient, usEmiStack.EMPTY
-
setRemainder
- Overrides:
setRemainderin classEmiStack
-
copy
- Specified by:
copyin interfaceEmiIngredient- Specified by:
copyin classEmiStack
-
setAmount
- Specified by:
setAmountin interfaceEmiIngredient- Overrides:
setAmountin classEmiStack
-
setChance
- Specified by:
setChancein interfaceEmiIngredient- Overrides:
setChancein classEmiStack
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceEmiIngredient- Specified by:
isEmptyin classEmiStack
-
getNbt
-
getKey
-
getItemStack
- Overrides:
getItemStackin classEmiStack
-
getId
-
isEqual
-
render
-
getTooltipText
- Specified by:
getTooltipTextin classEmiStack
-
getTooltip
- Specified by:
getTooltipin interfaceEmiIngredient- Overrides:
getTooltipin classEmiStack
-
getName
-