RecordItem

class RecordItem(properties: Item.Properties) : Item

Constructors

Link copied to clipboard
constructor(properties: Item.Properties)

Properties

Link copied to clipboard
Link copied to clipboard
val foodProperties: FoodProperties?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun appendHoverText(stack: ItemStack, world: Level?, tooltip: MutableList<Component>, flag: TooltipFlag)
Link copied to clipboard
open override fun asItem(): Item
Link copied to clipboard
open fun builtInRegistryHolder(): Holder.Reference<Item>
Link copied to clipboard
open fun canApplyAtEnchantingTable(p0: ItemStack, p1: Enchantment): Boolean
Link copied to clipboard
open fun canAttackBlock(p0: BlockState, p1: Level, p2: BlockPos, p3: Player): Boolean
Link copied to clipboard
Link copied to clipboard
open fun canBeHurtBy(p0: DamageSource): Boolean
Link copied to clipboard
open fun canContinueUsing(p0: ItemStack, p1: ItemStack): Boolean
Link copied to clipboard
open fun canDisableShield(p0: ItemStack, p1: ItemStack, p2: LivingEntity, p3: LivingEntity): Boolean
Link copied to clipboard
open fun canElytraFly(p0: ItemStack, p1: LivingEntity): Boolean
Link copied to clipboard
open fun canEquip(p0: ItemStack, p1: EquipmentSlot, p2: Entity): Boolean
Link copied to clipboard
Link copied to clipboard
open fun canGrindstoneRepair(p0: ItemStack): Boolean
Link copied to clipboard
open fun canPerformAction(p0: ItemStack, p1: ToolAction): Boolean
Link copied to clipboard
open fun canWalkOnPowderedSnow(p0: ItemStack, p1: LivingEntity): Boolean
Link copied to clipboard
@Nullable
open fun createEntity(p0: Level, p1: Entity, p2: ItemStack): @Nullable Entity?
Link copied to clipboard
open fun <T : LivingEntity> damageItem(p0: ItemStack, p1: Int, p2: T, p3: Consumer<T>): Int
Link copied to clipboard
open fun doesSneakBypassUse(p0: ItemStack, p1: LevelReader, p2: BlockPos, p3: Player): Boolean
Link copied to clipboard
open fun elytraFlightTick(p0: ItemStack, p1: LivingEntity, p2: Int): Boolean
Link copied to clipboard
open fun finishUsingItem(p0: ItemStack, p1: Level, p2: LivingEntity): ItemStack
Link copied to clipboard
open fun getAllEnchantments(p0: ItemStack): MutableMap<Enchantment, Int>
Link copied to clipboard
@Nullable
open fun getArmorTexture(p0: ItemStack, p1: Entity, p2: EquipmentSlot, p3: String): @Nullable String?
Link copied to clipboard
open fun getAttributeModifiers(p0: EquipmentSlot, p1: ItemStack): Multimap<Attribute, AttributeModifier>
Link copied to clipboard
open fun getBarColor(p0: ItemStack): Int
Link copied to clipboard
open fun getBarWidth(p0: ItemStack): Int
Link copied to clipboard
open fun getBurnTime(p0: ItemStack, @Nullable p1: @Nullable RecipeType<*>?): Int
Link copied to clipboard
open fun getCraftingRemainingItem(p0: ItemStack): ItemStack
Link copied to clipboard
@Nullable
open fun getCreatorModId(p0: ItemStack): @Nullable String?
Link copied to clipboard
open fun getDamage(p0: ItemStack): Int
Link copied to clipboard
open fun getDefaultAttributeModifiers(p0: EquipmentSlot): Multimap<Attribute, AttributeModifier>
Link copied to clipboard
open fun getDefaultInstance(): ItemStack
Link copied to clipboard
open fun getDefaultTooltipHideFlags(@NotNull p0: @NotNull ItemStack): Int
Link copied to clipboard
open fun getDescription(): Component
Link copied to clipboard
open fun getDescriptionId(p0: ItemStack): String
Link copied to clipboard
open fun getDestroySpeed(p0: ItemStack, p1: BlockState): Float
Link copied to clipboard
open fun getDrinkingSound(): SoundEvent
Link copied to clipboard
open fun getEatingSound(): SoundEvent
Link copied to clipboard
open fun getEnchantmentLevel(p0: ItemStack, p1: Enchantment): Int
Link copied to clipboard
open fun getEnchantmentValue(p0: ItemStack): Int
Link copied to clipboard
open fun getEntityLifespan(p0: ItemStack, p1: Level): Int
Link copied to clipboard
@Nullable
open fun getEquipmentSlot(p0: ItemStack): @Nullable EquipmentSlot?
Link copied to clipboard
@Nullable
open fun getFoodProperties(p0: ItemStack, @Nullable p1: @Nullable LivingEntity?): @Nullable FoodProperties?
Link copied to clipboard
open fun getHighlightTip(p0: ItemStack, p1: Component): Component
Link copied to clipboard
open fun getMaxDamage(p0: ItemStack): Int
Link copied to clipboard
open fun getMaxStackSize(p0: ItemStack): Int
Link copied to clipboard
open fun getName(p0: ItemStack): Component
Link copied to clipboard
open fun getRarity(p0: ItemStack): Rarity
Link copied to clipboard
Link copied to clipboard
@Nullable
open fun getShareTag(p0: ItemStack): @Nullable CompoundTag?
Link copied to clipboard
@NotNull
open fun getSweepHitBox(@NotNull p0: @NotNull ItemStack, @NotNull p1: @NotNull Player, @NotNull p2: @NotNull Entity): @NotNull AABB
Link copied to clipboard
open fun getTooltipImage(p0: ItemStack): Optional<TooltipComponent>
Link copied to clipboard
open fun getUseAnimation(p0: ItemStack): UseAnim
Link copied to clipboard
open fun getUseDuration(p0: ItemStack): Int
Link copied to clipboard
open fun getXpRepairRatio(p0: ItemStack): Float
Link copied to clipboard
Link copied to clipboard
open fun hasCustomEntity(p0: ItemStack): Boolean
Link copied to clipboard
open fun hurtEnemy(p0: ItemStack, p1: LivingEntity, p2: LivingEntity): Boolean
Link copied to clipboard
open override fun initCapabilities(stack: ItemStack, nbt: CompoundTag?): ICapabilityProvider
Link copied to clipboard
open fun initializeClient(p0: Consumer<IClientItemExtensions>)
Link copied to clipboard
open fun interactLivingEntity(p0: ItemStack, p1: Player, p2: LivingEntity, p3: InteractionHand): InteractionResult
Link copied to clipboard
open fun inventoryTick(p0: ItemStack, p1: Level, p2: Entity, p3: Int, p4: Boolean)
Link copied to clipboard
open fun isBarVisible(p0: ItemStack): Boolean
Link copied to clipboard
open fun isBookEnchantable(p0: ItemStack, p1: ItemStack): Boolean
Link copied to clipboard
open fun isComplex(): Boolean
Link copied to clipboard
open fun isCorrectToolForDrops(p0: BlockState): Boolean
open fun isCorrectToolForDrops(p0: ItemStack, p1: BlockState): Boolean
Link copied to clipboard
open fun isDamageable(p0: ItemStack): Boolean
Link copied to clipboard
open fun isDamaged(p0: ItemStack): Boolean
Link copied to clipboard
open fun isEdible(): Boolean
Link copied to clipboard
open fun isEnabled(p0: FeatureFlagSet): Boolean
Link copied to clipboard
open fun isEnchantable(p0: ItemStack): Boolean
Link copied to clipboard
open fun isEnderMask(p0: ItemStack, p1: Player, p2: EnderMan): Boolean
Link copied to clipboard
open fun isFoil(p0: ItemStack): Boolean
Link copied to clipboard
open fun isNotReplaceableByPickAction(p0: ItemStack, p1: Player, p2: Int): Boolean
Link copied to clipboard
open fun isPiglinCurrency(p0: ItemStack): Boolean
Link copied to clipboard
open override fun isRepairable(p0: ItemStack): Boolean
Link copied to clipboard
open fun isValidRepairItem(p0: ItemStack, p1: ItemStack): Boolean
Link copied to clipboard
open fun makesPiglinsNeutral(p0: ItemStack, p1: LivingEntity): Boolean
Link copied to clipboard
open fun mineBlock(p0: ItemStack, p1: Level, p2: BlockState, p3: BlockPos, p4: LivingEntity): Boolean
Link copied to clipboard
open fun onArmorTick(p0: ItemStack, p1: Level, p2: Player)
Link copied to clipboard
open fun onBlockStartBreak(p0: ItemStack, p1: BlockPos, p2: Player): Boolean
Link copied to clipboard
open fun onCraftedBy(p0: ItemStack, p1: Level, p2: Player)
Link copied to clipboard
open fun onDestroyed(p0: ItemEntity)
open fun onDestroyed(p0: ItemEntity, p1: DamageSource)
Link copied to clipboard
open fun onDroppedByPlayer(p0: ItemStack, p1: Player): Boolean
Link copied to clipboard
open fun onEntityItemUpdate(p0: ItemStack, p1: ItemEntity): Boolean
Link copied to clipboard
open fun onEntitySwing(p0: ItemStack, p1: LivingEntity): Boolean
Link copied to clipboard
open fun onHorseArmorTick(p0: ItemStack, p1: Level, p2: Mob)
Link copied to clipboard
open fun onItemUseFirst(p0: ItemStack, p1: UseOnContext): InteractionResult
Link copied to clipboard
open fun onLeftClickEntity(p0: ItemStack, p1: Player, p2: Entity): Boolean
Link copied to clipboard
open fun onStopUsing(p0: ItemStack, p1: LivingEntity, p2: Int)
Link copied to clipboard
open fun onUseTick(p0: Level, p1: LivingEntity, p2: ItemStack, p3: Int)
Link copied to clipboard
open fun overrideOtherStackedOnMe(p0: ItemStack, p1: ItemStack, p2: Slot, p3: ClickAction, p4: Player, p5: SlotAccess): Boolean
Link copied to clipboard
open fun overrideStackedOnOther(p0: ItemStack, p1: Slot, p2: ClickAction, p3: Player): Boolean
Link copied to clipboard
open fun readShareTag(p0: ItemStack, @Nullable p1: @Nullable CompoundTag?)
Link copied to clipboard
open fun releaseUsing(p0: ItemStack, p1: Level, p2: LivingEntity, p3: Int)
Link copied to clipboard
open override fun requiredFeatures(): FeatureFlagSet
Link copied to clipboard
open fun setDamage(p0: ItemStack, p1: Int)
Link copied to clipboard
open fun shouldCauseBlockBreakReset(p0: ItemStack, p1: ItemStack): Boolean
Link copied to clipboard
open fun shouldCauseReequipAnimation(p0: ItemStack, p1: ItemStack, p2: Boolean): Boolean
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun use(p0: Level, p1: Player, p2: InteractionHand): InteractionResultHolder<ItemStack>
Link copied to clipboard
open fun useOn(p0: UseOnContext): InteractionResult
Link copied to clipboard
open fun useOnRelease(p0: ItemStack): Boolean
Link copied to clipboard
open fun verifyTagAfterLoad(p0: CompoundTag)