public class CardItem
extends net.minecraft.item.Item
Constructor and Description |
---|
CardItem() |
Modifier and Type | Method and Description |
---|---|
void |
appendHoverText(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
net.minecraft.client.util.ITooltipFlag flag) |
void |
fillItemCategory(net.minecraft.item.ItemGroup tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items) |
int |
getItemStackLimit(net.minecraft.item.ItemStack stack) |
static java.lang.String |
getName() |
net.minecraft.util.text.ITextComponent |
getName(net.minecraft.item.ItemStack itemstack) |
void |
inventoryTick(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.Entity entityIn,
int itemSlot,
boolean isSelected) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand hand) |
allowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoad
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canApplyAtEnchantingTable, 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, 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, showDurabilityBar
public net.minecraft.util.text.ITextComponent getName(net.minecraft.item.ItemStack itemstack)
getName
in class net.minecraft.item.Item
public void appendHoverText(net.minecraft.item.ItemStack stack, @Nullable net.minecraft.world.World world, java.util.List<net.minecraft.util.text.ITextComponent> tooltip, net.minecraft.client.util.ITooltipFlag flag)
appendHoverText
in class net.minecraft.item.Item
public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World world, net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.Hand hand)
use
in class net.minecraft.item.Item
public int getItemStackLimit(net.minecraft.item.ItemStack stack)
public void inventoryTick(net.minecraft.item.ItemStack stack, net.minecraft.world.World worldIn, net.minecraft.entity.Entity entityIn, int itemSlot, boolean isSelected)
inventoryTick
in class net.minecraft.item.Item
public void fillItemCategory(net.minecraft.item.ItemGroup tab, net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> items)
fillItemCategory
in class net.minecraft.item.Item
public static java.lang.String getName()