public class StructureGelItem
extends net.minecraft.item.BlockItem
Constructor and Description |
---|
StructureGelItem(StructureGelBlock blockIn) |
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)
Displays information about the structure gel based on it's behaviors.
|
net.minecraft.util.ActionResultType |
tryPlace(net.minecraft.item.BlockItemUseContext context)
Prevents the player from placing if they are not in creative mode.
|
addToBlockToItemMap, fillItemGroup, getBlock, getBlockItemUseContext, getTranslationKey, onItemUse, removeFromBlockToItemMap, setTileEntityNBT
addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, getAttributeModifiers, getContainerItem, getDefaultInstance, getDestroySpeed, getDisplayName, getDrinkSound, getEatSound, getFood, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getTags, getToolTypes, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isCrossbow, isDamageable, isEnchantable, isFood, isIn, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemRightClick, onItemUseFinish, onPlayerStoppedUsing, onUse, shouldSyncTag, toString, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
public StructureGelItem(StructureGelBlock blockIn)
blockIn
- : must be an instanceof StructureGelBlock
StructureGelItem
public net.minecraft.util.ActionResultType tryPlace(net.minecraft.item.BlockItemUseContext context)
tryPlace
in class net.minecraft.item.BlockItem
public 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)
addInformation
in class net.minecraft.item.BlockItem
IStructureGel.Behavior