Package net.minecraft.component.type
Class ChargedProjectilesComponent
java.lang.Object
net.minecraft.component.type.ChargedProjectilesComponent
- All Implemented Interfaces:
TooltipAppender
- Mappings:
Namespace Name named net/minecraft/component/type/ChargedProjectilesComponentintermediary net/minecraft/class_9278official dco
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ChargedProjectilesComponent> static final ChargedProjectilesComponentstatic final PacketCodec<RegistryByteBuf, ChargedProjectilesComponent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidappendProjectileTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, ItemStack projectile, int count) voidappendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, ComponentsAccess components) booleanbooleaninthashCode()booleanisEmpty()static ChargedProjectilesComponentstatic ChargedProjectilesComponenttoString()
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/component/type/ChargedProjectilesComponent;DEFAULT:Lnet/minecraft/component/type/ChargedProjectilesComponent;intermediary field_49298Lnet/minecraft/class_9278;field_49298:Lnet/minecraft/class_9278;official aLdco;a:Ldco;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/component/type/ChargedProjectilesComponent;CODEC:Lcom/mojang/serialization/Codec;intermediary field_49299Lnet/minecraft/class_9278;field_49299:Lcom/mojang/serialization/Codec;official bLdco;b:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/component/type/ChargedProjectilesComponent;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_49300Lnet/minecraft/class_9278;field_49300:Lnet/minecraft/class_9139;official cLdco;c:Lze;
-
projectiles
- Mappings:
Namespace Name Mixin selector named projectilesLnet/minecraft/component/type/ChargedProjectilesComponent;projectiles:Ljava/util/List;intermediary field_49301Lnet/minecraft/class_9278;field_49301:Ljava/util/List;official dLdco;d:Ljava/util/List;
-
-
Constructor Details
-
ChargedProjectilesComponent
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/ChargedProjectilesComponent;<init>(Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_9278;<init>(Ljava/util/List;)Vofficial <init>Ldco;<init>(Ljava/util/List;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/component/type/ChargedProjectilesComponent;of(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ChargedProjectilesComponent;intermediary method_57439Lnet/minecraft/class_9278;method_57439(Lnet/minecraft/class_1799;)Lnet/minecraft/class_9278;official aLdco;a(Ldak;)Ldco;
-
of
- Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/component/type/ChargedProjectilesComponent;of(Ljava/util/List;)Lnet/minecraft/component/type/ChargedProjectilesComponent;intermediary method_57441Lnet/minecraft/class_9278;method_57441(Ljava/util/List;)Lnet/minecraft/class_9278;official aLdco;a(Ljava/util/List;)Ldco;
-
contains
- Mappings:
Namespace Name Mixin selector named containsLnet/minecraft/component/type/ChargedProjectilesComponent;contains(Lnet/minecraft/item/Item;)Zintermediary method_57438Lnet/minecraft/class_9278;method_57438(Lnet/minecraft/class_1792;)Zofficial aLdco;a(Ldag;)Z
-
getProjectiles
- Mappings:
Namespace Name Mixin selector named getProjectilesLnet/minecraft/component/type/ChargedProjectilesComponent;getProjectiles()Ljava/util/List;intermediary method_57437Lnet/minecraft/class_9278;method_57437()Ljava/util/List;official aLdco;a()Ljava/util/List;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmptyLnet/minecraft/component/type/ChargedProjectilesComponent;isEmpty()Zintermediary method_57442Lnet/minecraft/class_9278;method_57442()Zofficial bLdco;b()Z
-
equals
-
hashCode
public int hashCode() -
toString
-
appendTooltip
public void appendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, ComponentsAccess components) - Specified by:
appendTooltipin interfaceTooltipAppender- Mappings:
Namespace Name Mixin selector named appendTooltipLnet/minecraft/item/tooltip/TooltipAppender;appendTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/item/tooltip/TooltipType;Lnet/minecraft/component/ComponentsAccess;)Vintermediary method_57409Lnet/minecraft/class_9299;method_57409(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;Lnet/minecraft/class_9473;)Vofficial aLddp;a(Ldag$b;Ljava/util/function/Consumer;Ldbz;Lkg;)V
-
appendProjectileTooltip
private static void appendProjectileTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, ItemStack projectile, int count) - Mappings:
Namespace Name Mixin selector named appendProjectileTooltipLnet/minecraft/component/type/ChargedProjectilesComponent;appendProjectileTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/item/ItemStack;I)Vintermediary method_67535Lnet/minecraft/class_9278;method_67535(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1799;I)Vofficial aLdco;a(Ldag$b;Ljava/util/function/Consumer;Ldak;I)V
-