Package emi.dev.emi.emi.api.stack
Class ItemEmiStack
java.lang.Object
emi.dev.emi.emi.api.stack.EmiStack
emi.dev.emi.emi.api.stack.ItemEmiStack
- All Implemented Interfaces:
EmiRenderable,EmiIngredient,StackBatcher.Batchable
-
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
Modifier and TypeMethodDescriptioncopy()getId()getKey()getName()getNbt()inthashCode()booleanisEmpty()booleanbooleanvoidrender(DrawContext draw, int x, int y, float delta, int flags) voidrenderForBatch(DrawContext draw, int x, int y, int z, float delta) voidMethods inherited from class emi.dev.emi.emi.api.stack.EmiStack
comparison, comparison, equals, getAmount, getChance, getEmiStacks, getKeyOfType, getRemainder, hasNbt, isEqual, isEqual, of, of, of, of, of, of, of, of, of, of, setAmount, setChance, setRemainder, 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
-
ItemEmiStack
-
ItemEmiStack
-
-
Method Details
-
getItemStack
- Overrides:
getItemStackin classEmiStack
-
copy
- Specified by:
copyin interfaceEmiIngredient- Specified by:
copyin classEmiStack
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceEmiIngredient- Specified by:
isEmptyin classEmiStack
-
getNbt
-
getKey
-
getId
-
hashCode
public int hashCode() -
render
- Specified by:
renderin interfaceEmiIngredient
-
isSideLit
public boolean isSideLit()- Specified by:
isSideLitin interfaceStackBatcher.Batchable
-
isUnbatchable
public boolean isUnbatchable()- Specified by:
isUnbatchablein interfaceStackBatcher.Batchable
-
setUnbatchable
public void setUnbatchable()- Specified by:
setUnbatchablein interfaceStackBatcher.Batchable
-
renderForBatch
- Specified by:
renderForBatchin interfaceStackBatcher.Batchable
-
getTooltipText
- Specified by:
getTooltipTextin classEmiStack
-
getTooltip
- Specified by:
getTooltipin interfaceEmiIngredient- Overrides:
getTooltipin classEmiStack
-
getName
-