@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
public class SandPaperItem
extends net.minecraft.item.Item
| Constructor and Description |
|---|
SandPaperItem(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canApplyAtEnchantingTable(net.minecraft.item.ItemStack stack,
net.minecraft.enchantment.Enchantment enchantment) |
net.minecraft.item.ItemStack |
finishUsingItem(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.LivingEntity entityLiving) |
int |
getEnchantmentValue() |
int |
getItemEnchantability(net.minecraft.item.ItemStack stack) |
net.minecraft.item.UseAction |
getUseAnimation(net.minecraft.item.ItemStack stack) |
int |
getUseDuration(net.minecraft.item.ItemStack stack) |
void |
releaseUsing(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.LivingEntity entityLiving,
int timeLeft) |
static void |
spawnParticles(net.minecraft.util.math.vector.Vector3d location,
net.minecraft.item.ItemStack polishedStack,
net.minecraft.world.World world) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
use(net.minecraft.world.World worldIn,
net.minecraft.entity.player.PlayerEntity playerIn,
net.minecraft.util.Hand handIn) |
net.minecraft.util.ActionResultType |
useOn(net.minecraft.item.ItemUseContext context) |
allowdedIn, appendHoverText, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, fillItemCategory, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, shouldOverrideMultiplayerNbt, toString, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, 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 SandPaperItem(net.minecraft.item.Item.Properties properties)
public net.minecraft.item.UseAction getUseAnimation(net.minecraft.item.ItemStack stack)
getUseAnimation in class net.minecraft.item.Itempublic net.minecraft.util.ActionResultType useOn(net.minecraft.item.ItemUseContext context)
useOn in class net.minecraft.item.Itempublic net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> use(net.minecraft.world.World worldIn,
net.minecraft.entity.player.PlayerEntity playerIn,
net.minecraft.util.Hand handIn)
use in class net.minecraft.item.Itempublic boolean canApplyAtEnchantingTable(net.minecraft.item.ItemStack stack,
net.minecraft.enchantment.Enchantment enchantment)
public int getItemEnchantability(net.minecraft.item.ItemStack stack)
public net.minecraft.item.ItemStack finishUsingItem(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.LivingEntity entityLiving)
finishUsingItem in class net.minecraft.item.Itempublic static void spawnParticles(net.minecraft.util.math.vector.Vector3d location,
net.minecraft.item.ItemStack polishedStack,
net.minecraft.world.World world)
public void releaseUsing(net.minecraft.item.ItemStack stack,
net.minecraft.world.World worldIn,
net.minecraft.entity.LivingEntity entityLiving,
int timeLeft)
releaseUsing in class net.minecraft.item.Itempublic int getUseDuration(net.minecraft.item.ItemStack stack)
getUseDuration in class net.minecraft.item.Itempublic int getEnchantmentValue()
getEnchantmentValue in class net.minecraft.item.Item