@ApiStatus.Internal public class EmptyEntryStack extends java.lang.Object implements EntryStack
EntryStack.Settings<T>, EntryStack.Type| Modifier and Type | Field and Description |
|---|---|
static EntryStack |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
EntryStack |
clearSettings() |
EntryStack |
copy() |
boolean |
equals(EntryStack stack,
boolean ignoreTags,
boolean ignoreAmount) |
boolean |
equalsAll(EntryStack stack) |
boolean |
equalsIgnoreAmount(EntryStack stack) |
boolean |
equalsIgnoreTags(EntryStack stack) |
boolean |
equalsIgnoreTagsAndAmount(EntryStack stack) |
<T> T |
get(EntryStack.Settings<T> settings) |
int |
getAmount() |
java.util.Optional<net.minecraft.util.ResourceLocation> |
getIdentifier() |
java.lang.Object |
getObject() |
@Nullable Tooltip |
getTooltip(me.shedaniel.math.Point point) |
EntryStack.Type |
getType() |
int |
getZ() |
int |
hashCode() |
boolean |
isEmpty() |
<T> EntryStack |
removeSetting(EntryStack.Settings<T> settings) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrices,
me.shedaniel.math.Rectangle bounds,
int mouseX,
int mouseY,
float delta) |
void |
setAmount(int amount) |
<T> EntryStack |
setting(EntryStack.Settings<T> settings,
T value) |
void |
setZ(int z) |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddSetting, copyBucketToFluid, copyFluidToBucket, copyFluidToItem, copyItemToFluid, copyItemToFluids, create, create, create, create, create, create, empty, getFluid, getFluidStack, getItem, getItemStack, hashIgnoreAmount, hashIgnoreAmountAndTags, hashIgnoreTags, hashOfAll, ofIngredient, ofIngredients, ofItems, ofItemStacks, readFromJson, rewrap, toJsonasFormatStrippedText, asFormattedText@ApiStatus.Internal public static final EntryStack EMPTY
public java.util.Optional<net.minecraft.util.ResourceLocation> getIdentifier()
getIdentifier in interface EntryStackpublic EntryStack.Type getType()
getType in interface EntryStackpublic int getAmount()
getAmount in interface EntryStackpublic void setAmount(int amount)
setAmount in interface EntryStackpublic boolean isEmpty()
isEmpty in interface EntryStackpublic EntryStack copy()
copy in interface EntryStackpublic java.lang.Object getObject()
getObject in interface EntryStackpublic boolean equals(EntryStack stack, boolean ignoreTags, boolean ignoreAmount)
equals in interface EntryStackpublic boolean equalsIgnoreTagsAndAmount(EntryStack stack)
equalsIgnoreTagsAndAmount in interface EntryStackpublic boolean equalsIgnoreTags(EntryStack stack)
equalsIgnoreTags in interface EntryStackpublic boolean equalsIgnoreAmount(EntryStack stack)
equalsIgnoreAmount in interface EntryStackpublic boolean equalsAll(EntryStack stack)
equalsAll in interface EntryStackpublic int getZ()
getZ in interface EntryStackpublic void setZ(int z)
setZ in interface EntryStackpublic <T> EntryStack setting(EntryStack.Settings<T> settings, T value)
setting in interface EntryStackpublic <T> EntryStack removeSetting(EntryStack.Settings<T> settings)
removeSetting in interface EntryStackpublic EntryStack clearSettings()
clearSettings in interface EntryStackpublic <T> T get(EntryStack.Settings<T> settings)
get in interface EntryStack@Nullable public @Nullable Tooltip getTooltip(me.shedaniel.math.Point point)
getTooltip in interface EntryStackpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
me.shedaniel.math.Rectangle bounds,
int mouseX,
int mouseY,
float delta)
render in interface EntryStackpublic int hashCode()
hashCode in class java.lang.Object