public class ItemTerminalStoragePortable
extends org.cyclops.cyclopscore.item.ItemGui
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NBT_KEY_GROUP |
static java.lang.String |
NBT_KEY_NAMED_INVENTORIES |
static java.lang.String |
NBT_KEY_STATES |
| Constructor and Description |
|---|
ItemTerminalStoragePortable(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flagIn) |
net.minecraft.inventory.container.INamedContainerProvider |
getContainer(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
int itemIndex,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack itemStack) |
java.lang.Class<? extends net.minecraft.inventory.container.Container> |
getContainerClass(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.item.ItemStack itemStack) |
static int |
getGroupId(net.minecraft.item.ItemStack itemStack) |
static TerminalStorageState |
getTerminalStorageState(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.PlayerEntity player,
int slot,
net.minecraft.util.Hand hand) |
static ITerminalStorageTabCommon.IVariableInventory |
getVariableInventory(net.minecraft.item.ItemStack itemStack) |
net.minecraft.util.ActionResultType |
onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemUseContext context) |
void |
openGuiForItemIndex(net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand) |
static void |
setGroupId(net.minecraft.item.ItemStack itemStack,
int groupId) |
boolean |
shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged) |
void |
writeExtraGuiData(net.minecraft.network.PacketBuffer packetBuffer,
net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand) |
getOpenStat, onDroppedByPlayer, onItemRightClickasItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, fillItemGroup, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getRarity, getTags, getToolTypes, getTranslationKey, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasEffect, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isDamageable, isEnchantable, isFood, isImmuneToFire, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUse, rayTrace, shouldSyncTag, toString, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, showDurabilityBarpublic static java.lang.String NBT_KEY_GROUP
public static java.lang.String NBT_KEY_NAMED_INVENTORIES
public static java.lang.String NBT_KEY_STATES
public ItemTerminalStoragePortable(net.minecraft.item.Item.Properties properties)
public void openGuiForItemIndex(net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand)
openGuiForItemIndex in class org.cyclops.cyclopscore.item.ItemGuipublic net.minecraft.util.ActionResultType onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemUseContext context)
@Nullable
public net.minecraft.inventory.container.INamedContainerProvider getContainer(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
int itemIndex,
net.minecraft.util.Hand hand,
net.minecraft.item.ItemStack itemStack)
getContainer in class org.cyclops.cyclopscore.item.ItemGuipublic java.lang.Class<? extends net.minecraft.inventory.container.Container> getContainerClass(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity playerEntity,
net.minecraft.item.ItemStack itemStack)
getContainerClass in class org.cyclops.cyclopscore.item.ItemGuipublic void writeExtraGuiData(net.minecraft.network.PacketBuffer packetBuffer,
net.minecraft.world.World world,
net.minecraft.entity.player.ServerPlayerEntity player,
int itemIndex,
net.minecraft.util.Hand hand)
writeExtraGuiData in class org.cyclops.cyclopscore.item.ItemGuipublic boolean shouldCauseReequipAnimation(net.minecraft.item.ItemStack oldStack,
net.minecraft.item.ItemStack newStack,
boolean slotChanged)
public void addInformation(net.minecraft.item.ItemStack stack,
@Nullable
net.minecraft.world.World worldIn,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flagIn)
addInformation in class net.minecraft.item.Itempublic static int getGroupId(net.minecraft.item.ItemStack itemStack)
public static void setGroupId(net.minecraft.item.ItemStack itemStack,
int groupId)
public static ITerminalStorageTabCommon.IVariableInventory getVariableInventory(net.minecraft.item.ItemStack itemStack)
public static TerminalStorageState getTerminalStorageState(net.minecraft.item.ItemStack itemStack, net.minecraft.entity.player.PlayerEntity player, int slot, net.minecraft.util.Hand hand)