IncendiaryItem

class IncendiaryItem(properties: Item.Properties) : CounterStrikeGrenadeItem

Constructors

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

Properties

Link copied to clipboard
@get:Nullable
val craftingRemainingItem: Item?
Link copied to clipboard
open val defaultInstance: ItemStack?
Link copied to clipboard
val defaultModifiers: ImmutableMultimap<Attribute, AttributeModifier>
Link copied to clipboard
open val description: Component?
Link copied to clipboard
Link copied to clipboard
open val drinkingSound: SoundEvent?
Link copied to clipboard
open val eatingSound: SoundEvent?
Link copied to clipboard
Link copied to clipboard
@get:Nullable
open val foodProperties: FoodProperties?
Link copied to clipboard
open override val grenadeType: GrenadeType
Link copied to clipboard
open val isComplex: Boolean
Link copied to clipboard
open val isEdible: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun appendHoverText(pStack: ItemStack?, @Nullable pLevel: Level?, pTooltipComponents: List<Component?>?, pIsAdvanced: TooltipFlag?)
Link copied to clipboard
open fun asItem(): Item?
Link copied to clipboard
open fun builtInRegistryHolder(): Holder.Reference<Item?>?
Link copied to clipboard
open fun canApplyAtEnchantingTable(stack: ItemStack?, enchantment: Enchantment?): Boolean
Link copied to clipboard
open override fun canAttackBlock(pState: BlockState, pLevel: Level, pPos: BlockPos, pPlayer: Player): Boolean
Link copied to clipboard
Link copied to clipboard
open fun canBeHurtBy(pDamageSource: DamageSource?): Boolean
Link copied to clipboard
open fun canContinueUsing(oldStack: ItemStack?, newStack: ItemStack?): Boolean
Link copied to clipboard
open fun canDisableShield(stack: ItemStack?, shield: ItemStack?, entity: LivingEntity?, attacker: LivingEntity?): Boolean
Link copied to clipboard
open fun canElytraFly(stack: ItemStack?, entity: LivingEntity?): Boolean
Link copied to clipboard
open fun canEquip(stack: ItemStack?, armorType: EquipmentSlot?, entity: Entity?): Boolean
Link copied to clipboard
Link copied to clipboard
open fun canGrindstoneRepair(stack: ItemStack?): Boolean
Link copied to clipboard
open fun canPerformAction(stack: ItemStack?, toolAction: ToolAction?): Boolean
Link copied to clipboard
open fun canWalkOnPowderedSnow(stack: ItemStack?, wearer: LivingEntity?): Boolean
Link copied to clipboard
@Nullable
open fun createEntity(level: Level?, location: Entity?, stack: ItemStack?): @Nullable Entity?
Link copied to clipboard
open fun <T : LivingEntity?> damageItem(stack: ItemStack?, amount: Int, entity: T?, onBroken: Consumer<T?>?): Int
Link copied to clipboard
open fun doesSneakBypassUse(stack: ItemStack?, level: LevelReader?, pos: BlockPos?, player: Player?): Boolean
Link copied to clipboard
open fun elytraFlightTick(stack: ItemStack?, entity: LivingEntity?, flightTicks: Int): Boolean
Link copied to clipboard
open fun finishUsingItem(pStack: ItemStack?, pLevel: Level?, pLivingEntity: LivingEntity?): ItemStack?
Link copied to clipboard
open fun getAllEnchantments(stack: ItemStack?): Map<Enchantment?, Int?>?
Link copied to clipboard
@Nullable
open fun getArmorTexture(stack: ItemStack?, entity: Entity?, slot: EquipmentSlot?, type: String?): @Nullable String?
Link copied to clipboard
open override fun getAttributeModifiers(slot: EquipmentSlot, stack: ItemStack): Multimap<Attribute, AttributeModifier>
Link copied to clipboard
open fun getBarColor(pStack: ItemStack?): Int
Link copied to clipboard
open fun getBarWidth(pStack: ItemStack?): Int
Link copied to clipboard
open fun getBurnTime(itemStack: ItemStack?, @Nullable recipeType: @Nullable RecipeType<*>?): Int
Link copied to clipboard
open fun getCraftingRemainingItem(itemStack: ItemStack?): ItemStack?
Link copied to clipboard
@Nullable
open fun getCreatorModId(itemStack: ItemStack?): @Nullable String?
Link copied to clipboard
open fun getDamage(stack: ItemStack?): Int
Link copied to clipboard
open fun getDefaultAttributeModifiers(pSlot: EquipmentSlot?): Multimap<Attribute?, AttributeModifier?>?
Link copied to clipboard
open fun getDefaultTooltipHideFlags(@NotNull stack: @NotNull ItemStack): Int
Link copied to clipboard
open fun getDestroySpeed(pStack: ItemStack?, pState: BlockState?): Float
Link copied to clipboard
open fun getEnchantmentLevel(stack: ItemStack?, enchantment: Enchantment?): Int
Link copied to clipboard
open fun getEnchantmentValue(stack: ItemStack?): Int
Link copied to clipboard
open fun getEntityLifespan(itemStack: ItemStack?, level: Level?): Int
Link copied to clipboard
@Nullable
open fun getEquipmentSlot(stack: ItemStack?): @Nullable EquipmentSlot?
Link copied to clipboard
@Nullable
open fun getFoodProperties(stack: ItemStack?, @Nullable entity: @Nullable LivingEntity?): @Nullable FoodProperties?
Link copied to clipboard
open fun getHighlightTip(item: ItemStack?, displayName: Component?): Component?
Link copied to clipboard
open fun getMaxDamage(stack: ItemStack?): Int
Link copied to clipboard
open fun getMaxStackSize(stack: ItemStack?): Int
Link copied to clipboard
open fun getName(pStack: ItemStack?): Component?
Link copied to clipboard
open fun getRarity(pStack: ItemStack?): Rarity?
Link copied to clipboard
@Nullable
open fun getShareTag(stack: ItemStack?): @Nullable CompoundTag?
Link copied to clipboard
@NotNull
open fun getSweepHitBox(@NotNull stack: @NotNull ItemStack, @NotNull player: @NotNull Player, @NotNull target: @NotNull Entity): @NotNull AABB
Link copied to clipboard
open fun getTooltipImage(pStack: ItemStack?): Optional<TooltipComponent?>?
Link copied to clipboard
open fun getUseAnimation(pStack: ItemStack?): UseAnim?
Link copied to clipboard
open fun getUseDuration(pStack: ItemStack?): Int
Link copied to clipboard
open fun getXpRepairRatio(stack: ItemStack?): Float
Link copied to clipboard
open fun hasCraftingRemainingItem(stack: ItemStack?): Boolean
Link copied to clipboard
open fun hasCustomEntity(stack: ItemStack?): Boolean
Link copied to clipboard
open fun hurtEnemy(pStack: ItemStack?, pTarget: LivingEntity?, pAttacker: LivingEntity?): Boolean
Link copied to clipboard
@Nullable
open fun initCapabilities(stack: ItemStack?, @Nullable nbt: @Nullable CompoundTag?): @Nullable ICapabilityProvider?
Link copied to clipboard
open fun initializeClient(consumer: Consumer<IClientItemExtensions?>?)
Link copied to clipboard
open fun interactLivingEntity(pStack: ItemStack?, pPlayer: Player?, pInteractionTarget: LivingEntity?, pUsedHand: InteractionHand?): InteractionResult?
Link copied to clipboard
open override fun inventoryTick(stack: ItemStack, level: Level, entity: Entity, slotId: Int, isSelected: Boolean)
Link copied to clipboard
open fun isBarVisible(pStack: ItemStack?): Boolean
Link copied to clipboard
open fun isBookEnchantable(stack: ItemStack?, book: ItemStack?): Boolean
Link copied to clipboard
open fun isCorrectToolForDrops(pBlock: BlockState?): Boolean
open fun isCorrectToolForDrops(stack: ItemStack?, state: BlockState?): Boolean
Link copied to clipboard
open fun isDamageable(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isDamaged(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isEnabled(pEnabledFeatures: FeatureFlagSet?): Boolean
Link copied to clipboard
open fun isEnchantable(pStack: ItemStack?): Boolean
Link copied to clipboard
open fun isEnderMask(stack: ItemStack?, player: Player?, endermanEntity: EnderMan?): Boolean
Link copied to clipboard
open fun isFoil(pStack: ItemStack?): Boolean
Link copied to clipboard
open fun isNotReplaceableByPickAction(stack: ItemStack?, player: Player?, inventorySlot: Int): Boolean
Link copied to clipboard
open fun isPiglinCurrency(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isRepairable(stack: ItemStack?): Boolean
Link copied to clipboard
open fun isValidRepairItem(pStack: ItemStack?, pRepairCandidate: ItemStack?): Boolean
Link copied to clipboard
open fun makesPiglinsNeutral(stack: ItemStack?, wearer: LivingEntity?): Boolean
Link copied to clipboard
open fun mineBlock(pStack: ItemStack?, pLevel: Level?, pState: BlockState?, pPos: BlockPos?, pMiningEntity: LivingEntity?): Boolean
Link copied to clipboard
open fun onArmorTick(stack: ItemStack?, level: Level?, player: Player?)
Link copied to clipboard
open fun onBlockStartBreak(itemstack: ItemStack?, pos: BlockPos?, player: Player?): Boolean
Link copied to clipboard
open fun onCraftedBy(pStack: ItemStack?, pLevel: Level?, pPlayer: Player?)
Link copied to clipboard
open fun onDestroyed(pItemEntity: ItemEntity?)
open fun onDestroyed(itemEntity: ItemEntity?, damageSource: DamageSource?)
Link copied to clipboard
open fun onDroppedByPlayer(item: ItemStack?, player: Player?): Boolean
Link copied to clipboard
open fun onEntityItemUpdate(stack: ItemStack?, entity: ItemEntity?): Boolean
Link copied to clipboard
open override fun onEntitySwing(stack: ItemStack?, entity: LivingEntity?): Boolean
Link copied to clipboard
open fun onHorseArmorTick(stack: ItemStack?, level: Level?, horse: Mob?)
Link copied to clipboard
open fun onInventoryTick(stack: ItemStack?, level: Level?, player: Player?, slotIndex: Int, selectedIndex: Int)
Link copied to clipboard
open fun onItemUseFirst(stack: ItemStack?, context: UseOnContext?): InteractionResult?
Link copied to clipboard
open override fun onLeftClickEntity(stack: ItemStack?, player: Player?, entity: Entity?): Boolean
Link copied to clipboard
open fun onStopUsing(stack: ItemStack?, entity: LivingEntity?, count: Int)
Link copied to clipboard
open fun onUseTick(pLevel: Level?, pLivingEntity: LivingEntity?, pStack: ItemStack?, pRemainingUseDuration: Int)
Link copied to clipboard
open fun overrideOtherStackedOnMe(pStack: ItemStack?, pOther: ItemStack?, pSlot: Slot?, pAction: ClickAction?, pPlayer: Player?, pAccess: SlotAccess?): Boolean
Link copied to clipboard
open fun overrideStackedOnOther(pStack: ItemStack?, pSlot: Slot?, pAction: ClickAction?, pPlayer: Player?): Boolean
Link copied to clipboard
open fun readShareTag(stack: ItemStack?, @Nullable nbt: @Nullable CompoundTag?)
Link copied to clipboard
open fun releaseUsing(pStack: ItemStack?, pLevel: Level?, pLivingEntity: LivingEntity?, pTimeCharged: Int)
Link copied to clipboard
open fun requiredFeatures(): FeatureFlagSet?
Link copied to clipboard
open fun setDamage(stack: ItemStack?, damage: Int)
Link copied to clipboard
open fun shouldCauseBlockBreakReset(oldStack: ItemStack?, newStack: ItemStack?): Boolean
Link copied to clipboard
open fun shouldCauseReequipAnimation(oldStack: ItemStack?, newStack: ItemStack?, slotChanged: Boolean): Boolean
Link copied to clipboard
open fun use(pLevel: Level?, pPlayer: Player?, pUsedHand: InteractionHand?): InteractionResultHolder<ItemStack?>?
Link copied to clipboard
open fun useOn(pContext: UseOnContext?): InteractionResult?
Link copied to clipboard
open fun useOnRelease(pStack: ItemStack?): Boolean
Link copied to clipboard
open fun verifyTagAfterLoad(pTag: CompoundTag?)