Package net.minecraft.item
Class FireworkChargeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FireworkChargeItem
public class FireworkChargeItem extends Item
- Mappings:
Namespace Name official znintermediary net/minecraft/class_2044named net/minecraft/item/FireworkChargeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Constructor Description FireworkChargeItem() -
Method Summary
Modifier and Type Method Description static voidaddExplosionInfo(CompoundTag nbt, List<String> list)voidappendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced)intgetDisplayColor(ItemStack stack, int color)static TaggetExplosionTag(ItemStack stack, String name)Methods inherited from class net.minecraft.item.Item
appendItemStacks, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayName, getEnchantability, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient, use
-
Constructor Details
-
FireworkChargeItem
public FireworkChargeItem()- Mappings:
Namespace Name Mixin selector official <init>Lzw;<init>()Vintermediary <init>Lnet/minecraft/class_2054;<init>()Vnamed <init>Lnet/minecraft/item/Item;<init>()V
-
-
Method Details
-
getDisplayColor
- Overrides:
getDisplayColorin classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;I)Iintermediary method_8257Lnet/minecraft/class_2054;method_8257(Lnet/minecraft/class_2056;I)Inamed getDisplayColorLnet/minecraft/item/Item;getDisplayColor(Lnet/minecraft/item/ItemStack;I)I
-
getExplosionTag
- Mappings:
Namespace Name Mixin selector official aLzn;a(Lzx;Ljava/lang/String;)Leb;intermediary method_8227Lnet/minecraft/class_2044;method_8227(Lnet/minecraft/class_2056;Ljava/lang/String;)Lnet/minecraft/class_1419;named getExplosionTagLnet/minecraft/item/FireworkChargeItem;getExplosionTag(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)Lnet/minecraft/nbt/Tag;
-
appendTooltip
@Environment(CLIENT) public void appendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced)- Overrides:
appendTooltipin classItem- Mappings:
Namespace Name Mixin selector official aLzw;a(Lzx;Lwn;Ljava/util/List;Z)Vintermediary method_8265Lnet/minecraft/class_2054;method_8265(Lnet/minecraft/class_2056;Lnet/minecraft/class_1963;Ljava/util/List;Z)Vnamed appendTooltipLnet/minecraft/item/Item;appendTooltip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;Z)V
-
addExplosionInfo
- Mappings:
Namespace Name Mixin selector official aLzn;a(Ldn;Ljava/util/List;)Vintermediary method_8226Lnet/minecraft/class_2044;method_8226(Lnet/minecraft/class_1405;Ljava/util/List;)Vnamed addExplosionInfoLnet/minecraft/item/FireworkChargeItem;addExplosionInfo(Lnet/minecraft/nbt/CompoundTag;Ljava/util/List;)V
-