public class ItemRemote
extends net.minecraft.item.Item
| Constructor and Description |
|---|
ItemRemote() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendHoverText(net.minecraft.item.ItemStack remote,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
net.minecraft.client.util.ITooltipFlag moreInfo)
allows items to add custom lines of information to the mouseover description
|
static boolean |
hasSameSecuritySettings(net.minecraft.item.ItemStack remote1,
net.minecraft.item.ItemStack remote2) |
void |
inventoryTick(net.minecraft.item.ItemStack remote,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int slot,
boolean holdingItem) |
net.minecraft.util.ActionResultType |
onItemUseFirst(net.minecraft.item.ItemStack remote,
net.minecraft.item.ItemUseContext ctx) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn) |
allowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, fillItemCategory, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, 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, verifyTagAfterLoadgetRegistryName, 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, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand handIn)
use in class net.minecraft.item.Itempublic net.minecraft.util.ActionResultType onItemUseFirst(net.minecraft.item.ItemStack remote,
net.minecraft.item.ItemUseContext ctx)
public void appendHoverText(net.minecraft.item.ItemStack remote,
net.minecraft.world.World world,
java.util.List<net.minecraft.util.text.ITextComponent> curInfo,
net.minecraft.client.util.ITooltipFlag moreInfo)
appendHoverText in class net.minecraft.item.Itempublic static boolean hasSameSecuritySettings(net.minecraft.item.ItemStack remote1,
net.minecraft.item.ItemStack remote2)
public void inventoryTick(net.minecraft.item.ItemStack remote,
net.minecraft.world.World world,
net.minecraft.entity.Entity entity,
int slot,
boolean holdingItem)
inventoryTick in class net.minecraft.item.Item