net.minecraft.world.item.component

public final class ChargedProjectiles

cxf
net.minecraft.world.item.component.ChargedProjectiles
net.minecraft.class_9278
net.minecraft.component.type.ChargedProjectilesComponent
net.minecraft.src.C_313278_
net.minecraft.world.item.component.ChargedProjectiles

Field summary

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

Constructor summary

ModifierConstructor
private (List<ItemStack> projectiles)

Method summary

Modifier and TypeMethod
public static ChargedProjectiles
a(cur arg0)
of(ItemStack arg0)
method_57439(class_1799 arg0)
of(ItemStack projectile)
m_324021_(C_1391_ p_330424_)
public static ChargedProjectiles
a(List<cur> arg0)
of(List<ItemStack> arg0)
method_57441(List<class_1799> arg0)
of(List<ItemStack> projectiles)
m_322388_(List<C_1391_> p_334351_)
public boolean
a(cum arg0)
contains(Item arg0)
method_57438(class_1792 arg0)
contains(Item item)
m_319117_(C_1381_ arg0)
public List<ItemStack>
a()
getItems()
method_57437()
getProjectiles()
m_321623_()
public boolean
b()
isEmpty()
method_57442()
isEmpty()
m_324666_()