Package net.minecraft.item
Class FireworkChargeItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.FireworkChargeItem
- Mappings:
Namespace Name official znintermediary net/minecraft/class_1429named 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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddExplosionInfo(NbtCompound nbt, List<String> list) voidappendTooltip(ItemStack stack, PlayerEntity player, List<String> lines, boolean advanced) intgetDisplayColor(ItemStack stack, int color) static NbtElementgetExplosionNbt(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, postProcessNbt, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncNbtToClient, use
-
Constructor Details
-
FireworkChargeItem
public FireworkChargeItem()- Mappings:
Namespace Name Mixin selector official <init>Lzw;<init>()Vintermediary <init>Lnet/minecraft/class_1069;<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_3344Lnet/minecraft/class_1069;method_3344(Lnet/minecraft/class_1071;I)Inamed getDisplayColorLnet/minecraft/item/Item;getDisplayColor(Lnet/minecraft/item/ItemStack;I)I
-
getExplosionNbt
- Mappings:
Namespace Name Mixin selector official aLzn;a(Lzx;Ljava/lang/String;)Leb;intermediary method_4613Lnet/minecraft/class_1429;method_4613(Lnet/minecraft/class_1071;Ljava/lang/String;)Lnet/minecraft/class_605;named getExplosionNbtLnet/minecraft/item/FireworkChargeItem;getExplosionNbt(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)Lnet/minecraft/nbt/NbtElement;
-
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_3352Lnet/minecraft/class_1069;method_3352(Lnet/minecraft/class_1071;Lnet/minecraft/class_988;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_4612Lnet/minecraft/class_1429;method_4612(Lnet/minecraft/class_322;Ljava/util/List;)Vnamed addExplosionInfoLnet/minecraft/item/FireworkChargeItem;addExplosionInfo(Lnet/minecraft/nbt/NbtCompound;Ljava/util/List;)V
-