@ParametersAreNonnullByDefault
public class BasicItem
extends net.minecraft.item.Item
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicItem.Key |
| Constructor and Description |
|---|
BasicItem(net.minecraft.item.Item.Properties properties) |
BasicItem(java.lang.String name,
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) |
void |
addTooltipDetails(BasicItem.Key key,
net.minecraft.item.ItemStack stack,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean advanced) |
boolean |
hasTooltipDetails(BasicItem.Key key) |
void |
setItemGroup(net.minecraft.item.ItemGroup itemGroup) |
asItem, 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, onItemRightClick, 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, 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, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic BasicItem(net.minecraft.item.Item.Properties properties)
public BasicItem(java.lang.String name,
net.minecraft.item.Item.Properties properties)
public final 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 void addTooltipDetails(@Nullable
BasicItem.Key key,
net.minecraft.item.ItemStack stack,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean advanced)
public boolean hasTooltipDetails(@Nullable
BasicItem.Key key)
public void setItemGroup(net.minecraft.item.ItemGroup itemGroup)