| net.minecraft.world.item.component.PiercingWeapon | |
| net.minecraft.class_12125 | |
| net.minecraft.component.type.PiercingWeaponComponent |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final boolean |
|
||||||
| private final boolean |
|
||||||
| private final Optional<RegistryEntry<SoundEvent>> |
|
||||||
| private final Optional<RegistryEntry<SoundEvent>> |
|
||||||
| public static final com.mojang.serialization.Codec<PiercingWeaponComponent> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, PiercingWeaponComponent> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (boolean dealsKnockback, boolean dismounts, Optional<RegistryEntry<SoundEvent>> sound, Optional<RegistryEntry<SoundEvent>> hitSound) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public void |
|
||||||
| public void |
|
||||||
| public static boolean |
|
||||||
| public void |
|
||||||
| public boolean |
|
||||||
| public boolean |
|
||||||
| public Optional<RegistryEntry<SoundEvent>> |
|
||||||
| public Optional<RegistryEntry<SoundEvent>> |
|
||||||
| private static Collection |
|
||||||
| private static Collection |
|
||||||
| private static boolean |
|
||||||
| private static void |
|
||||||
| private static void |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|