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/ChargedProjectilesComponent
intermediary net/minecraft/class_9278
official dco
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ChargedProjectilesComponent> static final ChargedProjectilesComponent
static final PacketCodec
<RegistryByteBuf, ChargedProjectilesComponent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
appendProjectileTooltip
(Item.TooltipContext context, Consumer<Text> textConsumer, ItemStack projectile, int count) void
appendTooltip
(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, ComponentsAccess components) boolean
boolean
int
hashCode()
boolean
isEmpty()
static ChargedProjectilesComponent
static ChargedProjectilesComponent
toString()
-
Field Details
-
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/component/type/ChargedProjectilesComponent;DEFAULT:Lnet/minecraft/component/type/ChargedProjectilesComponent;
intermediary field_49298
Lnet/minecraft/class_9278;field_49298:Lnet/minecraft/class_9278;
official a
Ldco;a:Ldco;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/component/type/ChargedProjectilesComponent;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49299
Lnet/minecraft/class_9278;field_49299:Lcom/mojang/serialization/Codec;
official b
Ldco;b:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/component/type/ChargedProjectilesComponent;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_49300
Lnet/minecraft/class_9278;field_49300:Lnet/minecraft/class_9139;
official c
Ldco;c:Lze;
-
projectiles
- Mappings:
Namespace Name Mixin selector named projectiles
Lnet/minecraft/component/type/ChargedProjectilesComponent;projectiles:Ljava/util/List;
intermediary field_49301
Lnet/minecraft/class_9278;field_49301:Ljava/util/List;
official d
Ldco;d:Ljava/util/List;
-
-
Constructor Details
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/component/type/ChargedProjectilesComponent;of(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/component/type/ChargedProjectilesComponent;
intermediary method_57439
Lnet/minecraft/class_9278;method_57439(Lnet/minecraft/class_1799;)Lnet/minecraft/class_9278;
official a
Ldco;a(Ldak;)Ldco;
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/component/type/ChargedProjectilesComponent;of(Ljava/util/List;)Lnet/minecraft/component/type/ChargedProjectilesComponent;
intermediary method_57441
Lnet/minecraft/class_9278;method_57441(Ljava/util/List;)Lnet/minecraft/class_9278;
official a
Ldco;a(Ljava/util/List;)Ldco;
-
contains
- Mappings:
Namespace Name Mixin selector named contains
Lnet/minecraft/component/type/ChargedProjectilesComponent;contains(Lnet/minecraft/item/Item;)Z
intermediary method_57438
Lnet/minecraft/class_9278;method_57438(Lnet/minecraft/class_1792;)Z
official a
Ldco;a(Ldag;)Z
-
getProjectiles
- Mappings:
Namespace Name Mixin selector named getProjectiles
Lnet/minecraft/component/type/ChargedProjectilesComponent;getProjectiles()Ljava/util/List;
intermediary method_57437
Lnet/minecraft/class_9278;method_57437()Ljava/util/List;
official a
Ldco;a()Ljava/util/List;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector named isEmpty
Lnet/minecraft/component/type/ChargedProjectilesComponent;isEmpty()Z
intermediary method_57442
Lnet/minecraft/class_9278;method_57442()Z
official b
Ldco;b()Z
-
equals
-
hashCode
public int hashCode() -
toString
-
appendTooltip
public void appendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, ComponentsAccess components) - Specified by:
appendTooltip
in interfaceTooltipAppender
- Mappings:
Namespace Name Mixin selector named appendTooltip
Lnet/minecraft/item/tooltip/TooltipAppender;appendTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/item/tooltip/TooltipType;Lnet/minecraft/component/ComponentsAccess;)V
intermediary method_57409
Lnet/minecraft/class_9299;method_57409(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;Lnet/minecraft/class_9473;)V
official a
Lddp;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 appendProjectileTooltip
Lnet/minecraft/component/type/ChargedProjectilesComponent;appendProjectileTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/item/ItemStack;I)V
intermediary method_67535
Lnet/minecraft/class_9278;method_67535(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1799;I)V
official a
Ldco;a(Ldag$b;Ljava/util/function/Consumer;Ldak;I)V
-