net.minecraft.world.item.component

public final class ChargedProjectiles

czu
net.minecraft.world.item.component.ChargedProjectiles
net.minecraft.class_9278
net.minecraft.component.type.ChargedProjectilesComponent
net.minecraft.world.item.component.ChargedProjectiles

Field summary

Modifier and TypeField
public static final ChargedProjectiles
a
EMPTY
field_49298
DEFAULT
public static final com.mojang.serialization.Codec<ChargedProjectiles>
b
CODEC
field_49299
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, ChargedProjectiles>
c
STREAM_CODEC
field_49300
PACKET_CODEC
private final List<ItemStack>
d
items
field_49301
projectiles

Constructor summary

ModifierConstructor
private (List<ItemStack> projectiles)

Method summary

Modifier and TypeMethod
public static ChargedProjectiles
a(cxp arg0)
of(ItemStack arg0)
method_57439(class_1799 arg0)
of(ItemStack projectile)
public static ChargedProjectiles
a(List<cxp> arg0)
of(List<ItemStack> arg0)
method_57441(List<class_1799> arg0)
of(List<ItemStack> projectiles)
public boolean
a(cxl arg0)
contains(Item arg0)
method_57438(class_1792 arg0)
contains(Item item)
public List<ItemStack>
a()
getItems()
method_57437()
getProjectiles()
public boolean
b()
isEmpty()
method_57442()
isEmpty()