Uses of Interface
net.minecraft.network.codec.PacketCodec
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of PacketCodec in net.minecraft.advancement
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, List<AdvancementEntry>> AdvancementEntry.LIST_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Advancement> Advancement.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, AdvancementDisplay> AdvancementDisplay.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, AdvancementEntry> AdvancementEntry.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.block.entity
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<BannerPattern>> BannerPattern.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, BannerPattern> BannerPattern.PACKET_CODEC
static final PacketCodec
<ByteBuf, BeehiveBlockEntity.BeeData> BeehiveBlockEntity.BeeData.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Sherds> Sherds.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.component
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Component<?>> Component.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ComponentChanges> ComponentChanges.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ComponentType<?>> ComponentType.PACKET_CODEC
private @Nullable PacketCodec
<? super RegistryByteBuf, T> ComponentType.Builder.packetCodec
private final PacketCodec
<? super RegistryByteBuf, T> ComponentType.Builder.SimpleDataComponentType.packetCodec
Modifier and TypeMethodDescriptionPacketCodec
<? super RegistryByteBuf, T> ComponentType.Builder.SimpleDataComponentType.getPacketCodec()
PacketCodec
<? super RegistryByteBuf, T> ComponentType.getPacketCodec()
Modifier and TypeMethodDescriptionComponentType.Builder.packetCodec
(PacketCodec<? super RegistryByteBuf, T> packetCodec) ModifierConstructorDescription(package private)
SimpleDataComponentType
(@Nullable com.mojang.serialization.Codec<T> codec, PacketCodec<? super RegistryByteBuf, T> packetCodec) -
Uses of PacketCodec in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate static final PacketCodec
<ByteBuf, IntList> FireworkExplosionComponent.COLORS_PACKET_CODEC
private static final PacketCodec
<ByteBuf, Map<String, String>> BlockStateComponent.MAP_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, AttributeModifiersComponent.Entry> AttributeModifiersComponent.Entry.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, AttributeModifiersComponent> AttributeModifiersComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, AttributeModifierSlot> AttributeModifierSlot.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, BannerPatternsComponent.Layer> BannerPatternsComponent.Layer.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, BannerPatternsComponent> BannerPatternsComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, BlockStateComponent> BlockStateComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, BundleContentsComponent> BundleContentsComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ChargedProjectilesComponent> ChargedProjectilesComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ContainerComponent> ContainerComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, CustomModelDataComponent> CustomModelDataComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, DyedColorComponent> DyedColorComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, FireworkExplosionComponent> FireworkExplosionComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, FireworkExplosionComponent.Type> FireworkExplosionComponent.Type.PACKET_CODEC
static final PacketCodec
<ByteBuf, FireworksComponent> FireworksComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, FoodComponent> FoodComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, FoodComponent.StatusEffectEntry> FoodComponent.StatusEffectEntry.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ItemEnchantmentsComponent> ItemEnchantmentsComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, LodestoneTrackerComponent> LodestoneTrackerComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, LoreComponent> LoreComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, MapColorComponent> MapColorComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, MapIdComponent> MapIdComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, MapPostProcessingComponent> MapPostProcessingComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, NbtComponent> NbtComponent.PACKET_CODEC
Deprecated.static final PacketCodec
<RegistryByteBuf, PotionContentsComponent> PotionContentsComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, ProfileComponent> ProfileComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, SuspiciousStewEffectsComponent> SuspiciousStewEffectsComponent.PACKET_CODEC
SuspiciousStewEffectsComponent.StewEffect.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ToolComponent> ToolComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ToolComponent.Rule> ToolComponent.Rule.PACKET_CODEC
static final PacketCodec
<ByteBuf, UnbreakableComponent> UnbreakableComponent.PACKET_CODEC
static final PacketCodec
<ByteBuf, WritableBookContentComponent> WritableBookContentComponent.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, WrittenBookContentComponent> WrittenBookContentComponent.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.enchantment
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<Enchantment>> Enchantment.ENTRY_PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.entity
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, EntityPose> EntityPose.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.entity.attribute
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<EntityAttribute>> EntityAttribute.PACKET_CODEC
static final PacketCodec
<ByteBuf, EntityAttributeModifier.Operation> EntityAttributeModifier.Operation.PACKET_CODEC
static final PacketCodec
<ByteBuf, EntityAttributeModifier> EntityAttributeModifier.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.entity.damage
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<DamageType>> DamageType.ENTRY_PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.entity.data
Modifier and TypeFieldDescriptionprivate static final PacketCodec
<ByteBuf, Optional<BlockState>> TrackedDataHandlerRegistry.OPTIONAL_BLOCK_STATE_CODEC
private static final PacketCodec
<ByteBuf, OptionalInt> TrackedDataHandlerRegistry.OPTIONAL_INT_CODEC
Modifier and TypeMethodDescriptionPacketCodec
<? super RegistryByteBuf, T> TrackedDataHandler.codec()
Modifier and TypeMethodDescriptionstatic <T> TrackedDataHandler
<T> TrackedDataHandler.create
(PacketCodec<? super RegistryByteBuf, T> codec) -
Uses of PacketCodec in net.minecraft.entity.decoration.painting
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<PaintingVariant>> PaintingVariant.ENTRY_PACKET_CODEC
static final PacketCodec
<ByteBuf, PaintingVariant> PaintingVariant.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.entity.effect
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<StatusEffect>> StatusEffect.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, StatusEffectInstance> StatusEffectInstance.PACKET_CODEC
static final PacketCodec
<ByteBuf, StatusEffectInstance.Parameters> StatusEffectInstance.Parameters.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<WolfVariant>> WolfVariant.ENTRY_PACKET_CODEC
static final PacketCodec
<ByteBuf, ArmadilloEntity.State> ArmadilloEntity.State.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<CatVariant>> CatVariant.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<FrogVariant>> FrogVariant.PACKET_CODEC
static final PacketCodec
<ByteBuf, SnifferEntity.State> SnifferEntity.State.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, WolfVariant> WolfVariant.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.item
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<Instrument>> Instrument.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, List<ItemStack>> ItemStack.LIST_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, List<ItemStack>> ItemStack.OPTIONAL_LIST_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ItemStack> ItemStack.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, BlockPredicatesChecker> BlockPredicatesChecker.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Instrument> Instrument.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ItemStack> ItemStack.PACKET_CODEC
Modifier and TypeMethodDescriptionstatic PacketCodec
<RegistryByteBuf, ItemStack> ItemStack.createExtraValidatingPacketCodec
(PacketCodec<RegistryByteBuf, ItemStack> basePacketCodec) Returns a packet codec that ensures the validity of the decoded stack by checking if it can be re-encoded.Modifier and TypeMethodDescriptionstatic PacketCodec
<RegistryByteBuf, ItemStack> ItemStack.createExtraValidatingPacketCodec
(PacketCodec<RegistryByteBuf, ItemStack> basePacketCodec) Returns a packet codec that ensures the validity of the decoded stack by checking if it can be re-encoded. -
Uses of PacketCodec in net.minecraft.item.map
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, MapDecoration> MapDecoration.CODEC
static final PacketCodec
<ByteBuf, Optional<MapState.UpdateData>> MapState.UpdateData.CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<MapDecorationType>> MapDecorationType.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.item.trim
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<ArmorTrimMaterial>> ArmorTrimMaterial.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<ArmorTrimPattern>> ArmorTrimPattern.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ArmorTrim> ArmorTrim.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ArmorTrimMaterial> ArmorTrimMaterial.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ArmorTrimPattern> ArmorTrimPattern.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final PacketCodec
<ByteBuf, Packet<? super L>> NetworkStateBuilder.NetworkStateImpl.codec
The field for thecodec
record component.private final PacketCodec
<? super B, P> NetworkStateBuilder.PacketType.codec
The field for thecodec
record component.Modifier and TypeMethodDescriptionPacketCodec
<ByteBuf, Packet<? super T>> NetworkState.codec()
PacketCodec
<ByteBuf, Packet<? super L>> NetworkStateBuilder.NetworkStateImpl.codec()
Returns the value of thecodec
record component.PacketCodec
<? super B, P> NetworkStateBuilder.PacketType.codec()
Returns the value of thecodec
record component.private PacketCodec
<ByteBuf, Packet<? super T>> NetworkStateBuilder.createCodec
(Function<ByteBuf, B> bufUpgrader, List<NetworkStateBuilder.PacketType<T, ?, B>> packetTypes) Modifier and TypeMethodDescription<P extends Packet<? super T>>
NetworkStateBuilder<T, B> NetworkStateBuilder.add
(PacketType<P> id, PacketCodec<? super B, P> codec) ModifierConstructorDescription(package private)
NetworkStateImpl
(NetworkPhase networkPhase, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable PacketBundleHandler packetBundleHandler) (package private)
PacketType
(PacketType<P> packetType, PacketCodec<? super B, P> packetCodec) -
Uses of PacketCodec in net.minecraft.network.codec
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, Boolean> PacketCodecs.BOOL
A codec for a boolean value.static final PacketCodec
<ByteBuf, Byte> PacketCodecs.BYTE
A codec for a byte value.static final PacketCodec
<ByteBuf, byte[]> PacketCodecs.BYTE_ARRAY
A codec for a byte array.static final PacketCodec
<ByteBuf, Double> PacketCodecs.DOUBLE
A codec for a double value.static final PacketCodec
<ByteBuf, Float> PacketCodecs.FLOAT
A codec for a float value.static final PacketCodec
<ByteBuf, com.mojang.authlib.GameProfile> PacketCodecs.GAME_PROFILE
static final PacketCodec
<ByteBuf, Integer> PacketCodecs.INTEGER
A codec for an integer value.static final PacketCodec
<ByteBuf, NbtCompound> PacketCodecs.NBT_COMPOUND
A codec for an NBT compound of up to0x200000L
bytes.static final PacketCodec
<ByteBuf, NbtElement> PacketCodecs.NBT_ELEMENT
A codec for an NBT element of up to0x200000L
bytes.static final PacketCodec
<ByteBuf, Optional<NbtCompound>> PacketCodecs.OPTIONAL_NBT
A codec for an optional NBT compound of up to 2097152 bytes.static final PacketCodec
<ByteBuf, com.mojang.authlib.properties.PropertyMap> PacketCodecs.PROPERTY_MAP
static final PacketCodec
<ByteBuf, Quaternionf> PacketCodecs.QUATERNIONF
A codec for aQuaternionf
.static final PacketCodec
<ByteBuf, Short> PacketCodecs.SHORT
A codec for a short value.static final PacketCodec
<ByteBuf, String> PacketCodecs.STRING
A codec for a string value with maximum length 32767.static final PacketCodec
<ByteBuf, NbtCompound> PacketCodecs.UNLIMITED_NBT_COMPOUND
A codec for an NBT compound of unlimited size.static final PacketCodec
<ByteBuf, NbtElement> PacketCodecs.UNLIMITED_NBT_ELEMENT
A codec for an NBT element of unlimited size.static final PacketCodec
<ByteBuf, Integer> PacketCodecs.UNSIGNED_SHORT
A codec for an unsigned short value.static final PacketCodec
<ByteBuf, Integer> PacketCodecs.VAR_INT
A codec for a variable-length integer (var int) value.static final PacketCodec
<ByteBuf, Long> PacketCodecs.VAR_LONG
A codec for a variable-length long (var long) value.static final PacketCodec
<ByteBuf, Vector3f> PacketCodecs.VECTOR3F
A codec for aVector3f
.Modifier and TypeMethodDescriptionPacketCodec.ResultFunction.apply
(PacketCodec<B, S> codec) static PacketCodec
<ByteBuf, byte[]> PacketCodecs.byteArray
(int maxLength) Returns a codec for a byte array with maximum lengthmaxLength
.default <S extends B>
PacketCodec<S, V> PacketCodec.cast()
Returns the same codec, casted to work with buffers of typeS
.static <T> PacketCodec
<ByteBuf, T> PacketCodecs.codec
(com.mojang.serialization.Codec<T> codec) Returns a codec from DataFixerUpper codeccodec
.static <T> PacketCodec
<ByteBuf, T> PacketCodecs.codec
(com.mojang.serialization.Codec<T> codec, Supplier<NbtSizeTracker> sizeTracker) default <O> PacketCodec
<B, O> PacketCodec.collect
(PacketCodec.ResultFunction<B, V, O> function) Returns the result mapped withfunction
.static <B extends ByteBuf,
V, C extends Collection<V>>
PacketCodec<B, C> PacketCodecs.collection
(IntFunction<C> factory, PacketCodec<? super B, V> elementCodec) Returns a codec for a collection of values.static <B extends ByteBuf,
V, C extends Collection<V>>
PacketCodec<B, C> PacketCodecs.collection
(IntFunction<C> factory, PacketCodec<? super B, V> elementCodec, int maxSize) default <U> PacketCodec
<B, U> PacketCodec.dispatch
(Function<? super U, ? extends V> type, Function<? super V, ? extends PacketCodec<? super B, ? extends U>> codec) Returns a codec that dispatches one of the sub-codecs based on the type.static <B extends ByteBuf,
L, R>
PacketCodec<B, com.mojang.datafixers.util.Either<L, R>> PacketCodecs.either
(PacketCodec<? super B, L> left, PacketCodec<? super B, R> right) static <T> PacketCodec
<ByteBuf, T> PacketCodecs.entryOf
(IndexedIterable<T> iterable) Returns a codec for an entry ofiterable
.static <T> PacketCodec
<ByteBuf, T> PacketCodecs.indexed
(IntFunction<T> indexToValue, ToIntFunction<T> valueToIndex) Returns a codec for an indexed value.static <B extends ByteBuf,
K, V, M extends Map<K, V>>
PacketCodec<B, M> PacketCodecs.map
(IntFunction<? extends M> factory, PacketCodec<? super B, K> keyCodec, PacketCodec<? super B, V> valueCodec) Returns a codec for a map.static <B extends ByteBuf,
K, V, M extends Map<K, V>>
PacketCodec<B, M> PacketCodecs.map
(IntFunction<? extends M> factory, PacketCodec<? super B, K> keyCodec, PacketCodec<? super B, V> valueCodec, int maxSize) default <O extends ByteBuf>
PacketCodec<O, V> static PacketCodec
<ByteBuf, NbtElement> PacketCodecs.nbt
(Supplier<NbtSizeTracker> sizeTracker) Returns a codec for an NBT element.static PacketCodec
<ByteBuf, NbtCompound> PacketCodecs.nbtCompound
(Supplier<NbtSizeTracker> sizeTracker) static <B,
V> PacketCodec <B, V> PacketCodec.of
(ValueFirstEncoder<B, V> encoder, PacketDecoder<B, V> decoder) Returns a packet codec from theencoder
anddecoder
.static <B,
V> PacketCodec <B, V> PacketCodec.ofStatic
(PacketEncoder<B, V> encoder, PacketDecoder<B, V> decoder) Returns a packet codec from theencoder
anddecoder
.static <B extends ByteBuf,
V>
PacketCodec<B, Optional<V>> PacketCodecs.optional
(PacketCodec<B, V> codec) Returns a codec wrapping another codec, the value of which is optional.static <B,
T> PacketCodec <B, T> PacketCodec.recursive
(UnaryOperator<PacketCodec<B, T>> codecGetter) private static <T,
R> PacketCodec <RegistryByteBuf, R> PacketCodecs.registry
(RegistryKey<? extends Registry<T>> registry, Function<Registry<T>, IndexedIterable<R>> registryTransformer) static <T> PacketCodec
<RegistryByteBuf, T> PacketCodecs.registryCodec
(com.mojang.serialization.Codec<T> codec) static <T> PacketCodec
<RegistryByteBuf, T> PacketCodecs.registryCodec
(com.mojang.serialization.Codec<T> codec, Supplier<NbtSizeTracker> sizeTracker) static <T> PacketCodec
<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry
(RegistryKey<? extends Registry<T>> registry) Returns a codec for a referenceRegistryEntry
.static <T> PacketCodec
<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry
(RegistryKey<? extends Registry<T>> registry, PacketCodec<? super RegistryByteBuf, T> directCodec) Returns a codec for aRegistryEntry
.static <T> PacketCodec
<RegistryByteBuf, RegistryEntryList<T>> PacketCodecs.registryEntryList
(RegistryKey<? extends Registry<T>> registryRef) static <T> PacketCodec
<RegistryByteBuf, T> PacketCodecs.registryValue
(RegistryKey<? extends Registry<T>> registry) Returns a codec for aRegistry
-registered value.static PacketCodec
<ByteBuf, String> PacketCodecs.string
(int maxLength) Returns a codec for a string value with maximum lengthmaxLength
.static <B,
C, T1> PacketCodec <B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec, Function<C, T1> from, Function<T1, C> to) Returns a codec for encoding one value.static <B,
C, T1, T2>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, BiFunction<T1, T2, C> to) Returns a codec for encoding two values.static <B,
C, T1, T2, T3>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> to) Returns a codec for encoding three values.static <B,
C, T1, T2, T3, T4>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> to) Returns a codec for encoding four values.static <B,
C, T1, T2, T3, T4, T5>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> to) Returns a codec for encoding five values.static <B,
C, T1, T2, T3, T4, T5, T6>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, PacketCodec<? super B, T6> codec6, Function<C, T6> from6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> to) Returns a codec for encoding six values.static <B,
V> PacketCodec <B, V> PacketCodec.unit
(V value) Returns a codec that always returnsvalue
.static <T> PacketCodec
<ByteBuf, T> PacketCodecs.unlimitedCodec
(com.mojang.serialization.Codec<T> codec) Returns a codec from DataFixerUpper codeccodec
.static <T> PacketCodec
<RegistryByteBuf, T> PacketCodecs.unlimitedRegistryCodec
(com.mojang.serialization.Codec<T> codec) default <O> PacketCodec
<B, O> Returns a codec that maps its encode input and decode output withfrom
andto
, respectively.Modifier and TypeMethodDescriptionPacketCodec.ResultFunction.apply
(PacketCodec<B, S> codec) static <B extends ByteBuf,
V, C extends Collection<V>>
PacketCodec<B, C> PacketCodecs.collection
(IntFunction<C> factory, PacketCodec<? super B, V> elementCodec) Returns a codec for a collection of values.static <B extends ByteBuf,
V, C extends Collection<V>>
PacketCodec<B, C> PacketCodecs.collection
(IntFunction<C> factory, PacketCodec<? super B, V> elementCodec, int maxSize) static <B extends ByteBuf,
L, R>
PacketCodec<B, com.mojang.datafixers.util.Either<L, R>> PacketCodecs.either
(PacketCodec<? super B, L> left, PacketCodec<? super B, R> right) static <B extends ByteBuf,
K, V, M extends Map<K, V>>
PacketCodec<B, M> PacketCodecs.map
(IntFunction<? extends M> factory, PacketCodec<? super B, K> keyCodec, PacketCodec<? super B, V> valueCodec) Returns a codec for a map.static <B extends ByteBuf,
K, V, M extends Map<K, V>>
PacketCodec<B, M> PacketCodecs.map
(IntFunction<? extends M> factory, PacketCodec<? super B, K> keyCodec, PacketCodec<? super B, V> valueCodec, int maxSize) static <B extends ByteBuf,
V>
PacketCodec<B, Optional<V>> PacketCodecs.optional
(PacketCodec<B, V> codec) Returns a codec wrapping another codec, the value of which is optional.static <T> PacketCodec
<RegistryByteBuf, RegistryEntry<T>> PacketCodecs.registryEntry
(RegistryKey<? extends Registry<T>> registry, PacketCodec<? super RegistryByteBuf, T> directCodec) Returns a codec for aRegistryEntry
.static <B,
C, T1> PacketCodec <B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec, Function<C, T1> from, Function<T1, C> to) Returns a codec for encoding one value.static <B,
C, T1, T2>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, BiFunction<T1, T2, C> to) Returns a codec for encoding two values.static <B,
C, T1, T2, T3>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> to) Returns a codec for encoding three values.static <B,
C, T1, T2, T3, T4>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> to) Returns a codec for encoding four values.static <B,
C, T1, T2, T3, T4, T5>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> to) Returns a codec for encoding five values.static <B,
C, T1, T2, T3, T4, T5, T6>
PacketCodec<B, C> PacketCodec.tuple
(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, PacketCodec<? super B, T6> codec6, Function<C, T6> from6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> to) Returns a codec for encoding six values.Modifier and TypeMethodDescriptionstatic <B,
T> PacketCodec <B, T> PacketCodec.recursive
(UnaryOperator<PacketCodec<B, T>> codecGetter) -
Uses of PacketCodec in net.minecraft.network.handler
Modifier and TypeFieldDescriptionprivate final PacketCodec
<? super B, ? extends V> PacketCodecDispatcher.PacketType.codec
The field for thecodec
record component.Modifier and TypeMethodDescriptionPacketCodec
<B, Packet<? super L>> SideValidatingDispatchingCodecBuilder.build()
PacketCodec
<? super B, ? extends V> PacketCodecDispatcher.PacketType.codec()
Returns the value of thecodec
record component.Modifier and TypeMethodDescriptionPacketCodecDispatcher.Builder.add
(T id, PacketCodec<? super B, ? extends V> codec) <T extends Packet<? super L>>
SideValidatingDispatchingCodecBuilder<B, L> SideValidatingDispatchingCodecBuilder.add
(PacketType<T> id, PacketCodec<? super B, T> codec) ModifierConstructorDescription(package private)
PacketType
(PacketCodec<? super B, ? extends V> packetCodec, T t) -
Uses of PacketCodec in net.minecraft.network.message
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, MessageType.Parameters> MessageType.Parameters.CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<MessageType>> MessageType.ENTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, MessageType> MessageType.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.network.packet
Modifier and TypeFieldDescriptionprivate final PacketCodec
<B, T> CustomPayload.Type.codec
The field for thecodec
record component.static final PacketCodec
<PacketByteBuf, BrandCustomPayload> BrandCustomPayload.CODEC
Modifier and TypeMethodDescriptionCustomPayload.Type.codec()
Returns the value of thecodec
record component.static <B extends ByteBuf,
T extends CustomPayload>
PacketCodec<B, T> CustomPayload.codecOf
(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder) PacketCodec
<B, ? extends CustomPayload> CustomPayload.CodecFactory.create
(Identifier id) static <B extends PacketByteBuf>
PacketCodec<B, CustomPayload> CustomPayload.createCodec
(CustomPayload.CodecFactory<B> unknownCodecFactory, List<CustomPayload.Type<? super B, ?>> types) static <B extends ByteBuf,
T extends Packet<?>>
PacketCodec<B, T> Packet.createCodec
(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder) static <T extends PacketByteBuf>
PacketCodec<T, UnknownCustomPayload> UnknownCustomPayload.createCodec
(Identifier id, int maxBytes) -
Uses of PacketCodec in net.minecraft.network.packet.c2s.common
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, ClientOptionsC2SPacket> ClientOptionsC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, CommonPongC2SPacket> CommonPongC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, CookieResponseC2SPacket> CookieResponseC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, CustomPayloadC2SPacket> CustomPayloadC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, KeepAliveC2SPacket> KeepAliveC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, ResourcePackStatusC2SPacket> ResourcePackStatusC2SPacket.CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.c2s.config
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, ReadyC2SPacket> ReadyC2SPacket.CODEC
static final PacketCodec
<ByteBuf, SelectKnownPacksC2SPacket> SelectKnownPacksC2SPacket.CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.c2s.handshake
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, HandshakeC2SPacket> HandshakeC2SPacket.CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.c2s.login
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, EnterConfigurationC2SPacket> EnterConfigurationC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, LoginHelloC2SPacket> LoginHelloC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, LoginKeyC2SPacket> LoginKeyC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, LoginQueryResponseC2SPacket> LoginQueryResponseC2SPacket.CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, AcknowledgeChunksC2SPacket> AcknowledgeChunksC2SPacket.CODEC
static final PacketCodec
<ByteBuf, AcknowledgeReconfigurationC2SPacket> AcknowledgeReconfigurationC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, AdvancementTabC2SPacket> AdvancementTabC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, BoatPaddleStateC2SPacket> BoatPaddleStateC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, BookUpdateC2SPacket> BookUpdateC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, ButtonClickC2SPacket> ButtonClickC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChatCommandSignedC2SPacket> ChatCommandSignedC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChatMessageC2SPacket> ChatMessageC2SPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ClickSlotC2SPacket> ClickSlotC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, ClientCommandC2SPacket> ClientCommandC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, ClientStatusC2SPacket> ClientStatusC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, CloseHandledScreenC2SPacket> CloseHandledScreenC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, CommandExecutionC2SPacket> CommandExecutionC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, CraftRequestC2SPacket> CraftRequestC2SPacket.CODEC
static final PacketCodec
<RegistryByteBuf, CreativeInventoryActionC2SPacket> CreativeInventoryActionC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, DebugSampleSubscriptionC2SPacket> DebugSampleSubscriptionC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, HandSwingC2SPacket> HandSwingC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, JigsawGeneratingC2SPacket> JigsawGeneratingC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, MessageAcknowledgmentC2SPacket> MessageAcknowledgmentC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PickFromInventoryC2SPacket> PickFromInventoryC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerActionC2SPacket> PlayerActionC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerInputC2SPacket> PlayerInputC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerInteractBlockC2SPacket> PlayerInteractBlockC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerInteractEntityC2SPacket> PlayerInteractEntityC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerInteractItemC2SPacket> PlayerInteractItemC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerMoveC2SPacket.Full> PlayerMoveC2SPacket.Full.CODEC
static final PacketCodec
<PacketByteBuf, PlayerMoveC2SPacket.LookAndOnGround> PlayerMoveC2SPacket.LookAndOnGround.CODEC
static final PacketCodec
<PacketByteBuf, PlayerMoveC2SPacket.OnGroundOnly> PlayerMoveC2SPacket.OnGroundOnly.CODEC
static final PacketCodec
<PacketByteBuf, PlayerMoveC2SPacket.PositionAndOnGround> PlayerMoveC2SPacket.PositionAndOnGround.CODEC
static final PacketCodec
<PacketByteBuf, PlayerSessionC2SPacket> PlayerSessionC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, QueryBlockNbtC2SPacket> QueryBlockNbtC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, QueryEntityNbtC2SPacket> QueryEntityNbtC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, RecipeBookDataC2SPacket> RecipeBookDataC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, RecipeCategoryOptionsC2SPacket> RecipeCategoryOptionsC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, RenameItemC2SPacket> RenameItemC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, RequestCommandCompletionsC2SPacket> RequestCommandCompletionsC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, SelectMerchantTradeC2SPacket> SelectMerchantTradeC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, SlotChangedStateC2SPacket> SlotChangedStateC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, SpectatorTeleportC2SPacket> SpectatorTeleportC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, TeleportConfirmC2SPacket> TeleportConfirmC2SPacket.CODEC
static final PacketCodec
<RegistryByteBuf, UpdateBeaconC2SPacket> UpdateBeaconC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateCommandBlockC2SPacket> UpdateCommandBlockC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateCommandBlockMinecartC2SPacket> UpdateCommandBlockMinecartC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateDifficultyC2SPacket> UpdateDifficultyC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateDifficultyLockC2SPacket> UpdateDifficultyLockC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateJigsawC2SPacket> UpdateJigsawC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdatePlayerAbilitiesC2SPacket> UpdatePlayerAbilitiesC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateSelectedSlotC2SPacket> UpdateSelectedSlotC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateSignC2SPacket> UpdateSignC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateStructureBlockC2SPacket> UpdateStructureBlockC2SPacket.CODEC
static final PacketCodec
<PacketByteBuf, VehicleMoveC2SPacket> VehicleMoveC2SPacket.CODEC
private static final PacketCodec
<RegistryByteBuf, Int2ObjectMap<ItemStack>> ClickSlotC2SPacket.STACK_MAP_CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.c2s.query
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, QueryPingC2SPacket> QueryPingC2SPacket.CODEC
static final PacketCodec
<ByteBuf, QueryRequestC2SPacket> QueryRequestC2SPacket.CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.s2c.common
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, CommonPingS2CPacket> CommonPingS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, CookieRequestS2CPacket> CookieRequestS2CPacket.CODEC
static final PacketCodec
<ByteBuf, DisconnectS2CPacket> DisconnectS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, KeepAliveS2CPacket> KeepAliveS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ResourcePackRemoveS2CPacket> ResourcePackRemoveS2CPacket.CODEC
static final PacketCodec
<ByteBuf, ResourcePackSendS2CPacket> ResourcePackSendS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ServerTransferS2CPacket> ServerTransferS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, StoreCookieS2CPacket> StoreCookieS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, SynchronizeTagsS2CPacket> SynchronizeTagsS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, CustomPayloadS2CPacket> CustomPayloadS2CPacket.CONFIGURATION_CODEC
static final PacketCodec
<ByteBuf, byte[]> StoreCookieS2CPacket.COOKIE_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, CustomPayloadS2CPacket> CustomPayloadS2CPacket.PLAY_CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.s2c.config
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, DynamicRegistriesS2CPacket> DynamicRegistriesS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, FeaturesS2CPacket> FeaturesS2CPacket.CODEC
static final PacketCodec
<ByteBuf, ReadyS2CPacket> ReadyS2CPacket.CODEC
static final PacketCodec
<ByteBuf, ResetChatS2CPacket> ResetChatS2CPacket.CODEC
static final PacketCodec
<ByteBuf, SelectKnownPacksS2CPacket> SelectKnownPacksS2CPacket.CODEC
private static final PacketCodec
<ByteBuf, RegistryKey<? extends Registry<?>>> DynamicRegistriesS2CPacket.REGISTRY_KEY_CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.s2c.custom
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, DebugBeeCustomPayload> DebugBeeCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugBrainCustomPayload> DebugBrainCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugBreezeCustomPayload> DebugBreezeCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugGameEventCustomPayload> DebugGameEventCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugGameTestAddMarkerCustomPayload> DebugGameTestAddMarkerCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugGameTestClearCustomPayload> DebugGameTestClearCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugGoalSelectorCustomPayload> DebugGoalSelectorCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugHiveCustomPayload> DebugHiveCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugNeighborsUpdateCustomPayload> DebugNeighborsUpdateCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugPathCustomPayload> DebugPathCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugPoiAddedCustomPayload> DebugPoiAddedCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugPoiRemovedCustomPayload> DebugPoiRemovedCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugPoiTicketCountCustomPayload> DebugPoiTicketCountCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugRaidsCustomPayload> DebugRaidsCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugStructuresCustomPayload> DebugStructuresCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugVillageSectionsCustomPayload> DebugVillageSectionsCustomPayload.CODEC
static final PacketCodec
<PacketByteBuf, DebugWorldgenAttemptCustomPayload> DebugWorldgenAttemptCustomPayload.CODEC
static final PacketCodec
<RegistryByteBuf, DebugGameEventListenersCustomPayload> DebugGameEventListenersCustomPayload.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.s2c.login
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, LoginCompressionS2CPacket> LoginCompressionS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, LoginDisconnectS2CPacket> LoginDisconnectS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, LoginHelloS2CPacket> LoginHelloS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, LoginQueryRequestS2CPacket> LoginQueryRequestS2CPacket.CODEC
static final PacketCodec
<ByteBuf, LoginSuccessS2CPacket> LoginSuccessS2CPacket.CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, AdvancementUpdateS2CPacket> AdvancementUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, BlockBreakingProgressS2CPacket> BlockBreakingProgressS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, BlockEntityUpdateS2CPacket> BlockEntityUpdateS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, BlockEventS2CPacket> BlockEventS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, BlockUpdateS2CPacket> BlockUpdateS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, BossBarS2CPacket> BossBarS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChangeUnlockedRecipesS2CPacket> ChangeUnlockedRecipesS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ChatMessageS2CPacket> ChatMessageS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChatSuggestionsS2CPacket> ChatSuggestionsS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChunkBiomeDataS2CPacket> ChunkBiomeDataS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ChunkDataS2CPacket> ChunkDataS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChunkDeltaUpdateS2CPacket> ChunkDeltaUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChunkLoadDistanceS2CPacket> ChunkLoadDistanceS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChunkRenderDistanceCenterS2CPacket> ChunkRenderDistanceCenterS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ChunkSentS2CPacket> ChunkSentS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ClearTitleS2CPacket> ClearTitleS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, CloseScreenS2CPacket> CloseScreenS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, CommandSuggestionsS2CPacket> CommandSuggestionsS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, CommandSuggestionsS2CPacket.Suggestion> CommandSuggestionsS2CPacket.Suggestion.CODEC
static final PacketCodec
<PacketByteBuf, CommandTreeS2CPacket> CommandTreeS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, CooldownUpdateS2CPacket> CooldownUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, CraftFailedResponseS2CPacket> CraftFailedResponseS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, DamageTiltS2CPacket> DamageTiltS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, DeathMessageS2CPacket> DeathMessageS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, DebugSampleS2CPacket> DebugSampleS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, DifficultyS2CPacket> DifficultyS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EndCombatS2CPacket> EndCombatS2CPacket.CODEC
static final PacketCodec
<ByteBuf, EnterCombatS2CPacket> EnterCombatS2CPacket.CODEC
static final PacketCodec
<ByteBuf, EnterReconfigurationS2CPacket> EnterReconfigurationS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntitiesDestroyS2CPacket> EntitiesDestroyS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityAnimationS2CPacket> EntityAnimationS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityAttachS2CPacket> EntityAttachS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, EntityAttributesS2CPacket> EntityAttributesS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, EntityAttributesS2CPacket.Entry> EntityAttributesS2CPacket.Entry.CODEC
static final PacketCodec
<RegistryByteBuf, EntityDamageS2CPacket> EntityDamageS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, EntityEquipmentUpdateS2CPacket> EntityEquipmentUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityPassengersSetS2CPacket> EntityPassengersSetS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityPositionS2CPacket> EntityPositionS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityS2CPacket.MoveRelative> EntityS2CPacket.MoveRelative.CODEC
static final PacketCodec
<PacketByteBuf, EntityS2CPacket.Rotate> EntityS2CPacket.Rotate.CODEC
static final PacketCodec
<PacketByteBuf, EntityS2CPacket.RotateAndMoveRelative> EntityS2CPacket.RotateAndMoveRelative.CODEC
static final PacketCodec
<PacketByteBuf, EntitySetHeadYawS2CPacket> EntitySetHeadYawS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, EntitySpawnS2CPacket> EntitySpawnS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, EntityStatusEffectS2CPacket> EntityStatusEffectS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityStatusS2CPacket> EntityStatusS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, EntityTrackerUpdateS2CPacket> EntityTrackerUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, EntityVelocityUpdateS2CPacket> EntityVelocityUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ExperienceBarUpdateS2CPacket> ExperienceBarUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ExperienceOrbSpawnS2CPacket> ExperienceOrbSpawnS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ExplosionS2CPacket> ExplosionS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, GameJoinS2CPacket> GameJoinS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, GameMessageS2CPacket> GameMessageS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, GameStateChangeS2CPacket> GameStateChangeS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, HealthUpdateS2CPacket> HealthUpdateS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, InventoryS2CPacket> InventoryS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ItemPickupAnimationS2CPacket> ItemPickupAnimationS2CPacket.CODEC
private static final PacketCodec
<ByteBuf, byte[]> LightData.CODEC
static final PacketCodec
<PacketByteBuf, LightUpdateS2CPacket> LightUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, LookAtS2CPacket> LookAtS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, MapUpdateS2CPacket> MapUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, NbtQueryResponseS2CPacket> NbtQueryResponseS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, OpenHorseScreenS2CPacket> OpenHorseScreenS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, OpenScreenS2CPacket> OpenScreenS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, OpenWrittenBookS2CPacket> OpenWrittenBookS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, OverlayMessageS2CPacket> OverlayMessageS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ParticleS2CPacket> ParticleS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerAbilitiesS2CPacket> PlayerAbilitiesS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerActionResponseS2CPacket> PlayerActionResponseS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, PlayerListHeaderS2CPacket> PlayerListHeaderS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, PlayerListS2CPacket> PlayerListS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerPositionLookS2CPacket> PlayerPositionLookS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerRemoveS2CPacket> PlayerRemoveS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, PlayerRespawnS2CPacket> PlayerRespawnS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, PlayerSpawnPositionS2CPacket> PlayerSpawnPositionS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, PlaySoundFromEntityS2CPacket> PlaySoundFromEntityS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, PlaySoundS2CPacket> PlaySoundS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ProfilelessChatMessageS2CPacket> ProfilelessChatMessageS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ProjectilePowerS2CPacket> ProjectilePowerS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, RemoveEntityStatusEffectS2CPacket> RemoveEntityStatusEffectS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, RemoveMessageS2CPacket> RemoveMessageS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ScoreboardDisplayS2CPacket> ScoreboardDisplayS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ScoreboardObjectiveUpdateS2CPacket> ScoreboardObjectiveUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ScoreboardScoreResetS2CPacket> ScoreboardScoreResetS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ScoreboardScoreUpdateS2CPacket> ScoreboardScoreUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, ScreenHandlerPropertyUpdateS2CPacket> ScreenHandlerPropertyUpdateS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, ScreenHandlerSlotUpdateS2CPacket> ScreenHandlerSlotUpdateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, SelectAdvancementTabS2CPacket> SelectAdvancementTabS2CPacket.CODEC
static final PacketCodec
<ByteBuf, ServerMetadataS2CPacket> ServerMetadataS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, SetCameraEntityS2CPacket> SetCameraEntityS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, SetTradeOffersS2CPacket> SetTradeOffersS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, SignEditorOpenS2CPacket> SignEditorOpenS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, SimulationDistanceS2CPacket> SimulationDistanceS2CPacket.CODEC
static final PacketCodec
<ByteBuf, StartChunkSendS2CPacket> StartChunkSendS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, StatisticsS2CPacket> StatisticsS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, StopSoundS2CPacket> StopSoundS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, SubtitleS2CPacket> SubtitleS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, SynchronizeRecipesS2CPacket> SynchronizeRecipesS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, TeamS2CPacket> TeamS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, TickStepS2CPacket> TickStepS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, TitleFadeS2CPacket> TitleFadeS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, TitleS2CPacket> TitleS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, UnloadChunkS2CPacket> UnloadChunkS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateSelectedSlotS2CPacket> UpdateSelectedSlotS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, UpdateTickRateS2CPacket> UpdateTickRateS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, VehicleMoveS2CPacket> VehicleMoveS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldBorderCenterChangedS2CPacket> WorldBorderCenterChangedS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldBorderInitializeS2CPacket> WorldBorderInitializeS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldBorderInterpolateSizeS2CPacket> WorldBorderInterpolateSizeS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldBorderSizeChangedS2CPacket> WorldBorderSizeChangedS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldBorderWarningBlocksChangedS2CPacket> WorldBorderWarningBlocksChangedS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldBorderWarningTimeChangedS2CPacket> WorldBorderWarningTimeChangedS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldEventS2CPacket> WorldEventS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, WorldTimeUpdateS2CPacket> WorldTimeUpdateS2CPacket.CODEC
static final PacketCodec
<RegistryByteBuf, List<ChunkData.BlockEntityData>> ChunkData.BlockEntityData.LIST_PACKET_CODEC
static final PacketCodec
<ByteBuf, EntityAttributeModifier> EntityAttributesS2CPacket.Entry.MODIFIER_CODEC
static final PacketCodec
<RegistryByteBuf, ChunkData.BlockEntityData> ChunkData.BlockEntityData.PACKET_CODEC
private static final PacketCodec
<RegistryByteBuf, Object2IntMap<Stat<?>>> StatisticsS2CPacket.STAT_MAP_CODEC
-
Uses of PacketCodec in net.minecraft.network.packet.s2c.query
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PingResultS2CPacket> PingResultS2CPacket.CODEC
static final PacketCodec
<PacketByteBuf, QueryResponseS2CPacket> QueryResponseS2CPacket.CODEC
-
Uses of PacketCodec in net.minecraft.particle
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, DustColorTransitionParticleEffect> DustColorTransitionParticleEffect.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, DustParticleEffect> DustParticleEffect.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ParticleEffect> ParticleTypes.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, SculkChargeParticleEffect> SculkChargeParticleEffect.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ShriekParticleEffect> ShriekParticleEffect.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, VibrationParticleEffect> VibrationParticleEffect.PACKET_CODEC
private final PacketCodec
<RegistryByteBuf, SimpleParticleType> SimpleParticleType.packetCodec
Modifier and TypeMethodDescriptionstatic PacketCodec
<? super RegistryByteBuf, BlockStateParticleEffect> BlockStateParticleEffect.createPacketCodec
(ParticleType<BlockStateParticleEffect> type) static PacketCodec
<? super ByteBuf, EntityEffectParticleEffect> EntityEffectParticleEffect.createPacketCodec
(ParticleType<EntityEffectParticleEffect> type) static PacketCodec
<? super RegistryByteBuf, ItemStackParticleEffect> ItemStackParticleEffect.createPacketCodec
(ParticleType<ItemStackParticleEffect> type) abstract PacketCodec
<? super RegistryByteBuf, T> ParticleType.getPacketCodec()
SimpleParticleType.getPacketCodec()
-
Uses of PacketCodec in net.minecraft.potion
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<Potion>> Potion.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, BlockPredicate> BlockPredicate.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ComponentPredicate> ComponentPredicate.PACKET_CODEC
static final PacketCodec
<ByteBuf, NbtPredicate> NbtPredicate.PACKET_CODEC
static final PacketCodec
<ByteBuf, StatePredicate.Condition> StatePredicate.Condition.PACKET_CODEC
static final PacketCodec
<ByteBuf, StatePredicate.ExactValueMatcher> StatePredicate.ExactValueMatcher.PACKET_CODEC
static final PacketCodec
<ByteBuf, StatePredicate> StatePredicate.PACKET_CODEC
static final PacketCodec
<ByteBuf, StatePredicate.RangedValueMatcher> StatePredicate.RangedValueMatcher.PACKET_CODEC
static final PacketCodec
<ByteBuf, StatePredicate.ValueMatcher> StatePredicate.ValueMatcher.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.recipe
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Ingredient> Ingredient.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RawShapedRecipe> RawShapedRecipe.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Recipe<?>> Recipe.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, RecipeEntry<?>> RecipeEntry.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ShapedRecipe> ShapedRecipe.Serializer.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, ShapelessRecipe> ShapelessRecipe.Serializer.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, SmithingTransformRecipe> SmithingTransformRecipe.Serializer.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, SmithingTrimRecipe> SmithingTrimRecipe.Serializer.PACKET_CODEC
private final PacketCodec
<RegistryByteBuf, T> CookingRecipeSerializer.packetCodec
private final PacketCodec
<RegistryByteBuf, T> CuttingRecipe.Serializer.packetCodec
private final PacketCodec
<RegistryByteBuf, T> SpecialRecipeSerializer.packetCodec
Modifier and TypeMethodDescriptionCookingRecipeSerializer.packetCodec()
CuttingRecipe.Serializer.packetCodec()
RecipeSerializer.packetCodec()
ShapedRecipe.Serializer.packetCodec()
ShapelessRecipe.Serializer.packetCodec()
SmithingTransformRecipe.Serializer.packetCodec()
SmithingTrimRecipe.Serializer.packetCodec()
SpecialRecipeSerializer.packetCodec()
-
Uses of PacketCodec in net.minecraft.recipe.book
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, CraftingRecipeCategory> CraftingRecipeCategory.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, SerializableRegistries.SerializedRegistryEntry> SerializableRegistries.SerializedRegistryEntry.PACKET_CODEC
static final PacketCodec
<ByteBuf, VersionedIdentifier> VersionedIdentifier.PACKET_CODEC
Modifier and TypeMethodDescriptionstatic <T> PacketCodec
<ByteBuf, RegistryKey<T>> RegistryKey.createPacketCodec
(RegistryKey<? extends Registry<T>> registry) -
Uses of PacketCodec in net.minecraft.scoreboard.number
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Optional<NumberFormat>> NumberFormatTypes.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, NumberFormat> NumberFormatTypes.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.sound
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<SoundEvent>> SoundEvent.ENTRY_PACKET_CODEC
static final PacketCodec
<ByteBuf, SoundEvent> SoundEvent.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.stat
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Stat<?>> Stat.PACKET_CODEC
private final PacketCodec
<RegistryByteBuf, Stat<T>> StatType.packetCodec
-
Uses of PacketCodec in net.minecraft.text
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Optional<Text>> TextCodecs.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Optional<Text>> TextCodecs.OPTIONAL_UNLIMITED_REGISTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Decoration> Decoration.PACKET_CODEC
static final PacketCodec
<ByteBuf, Decoration.Parameter> Decoration.Parameter.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Style> Style.Codecs.PACKET_CODEC
static final PacketCodec
<ByteBuf, Text> TextCodecs.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Text> TextCodecs.REGISTRY_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Text> TextCodecs.UNLIMITED_REGISTRY_PACKET_CODEC
Modifier and TypeMethodDescriptionstatic <B extends ByteBuf,
T>
PacketCodec<B, RawFilteredPair<T>> RawFilteredPair.createPacketCodec
(PacketCodec<B, T> basePacketCodec) Modifier and TypeMethodDescriptionstatic <B extends ByteBuf,
T>
PacketCodec<B, RawFilteredPair<T>> RawFilteredPair.createPacketCodec
(PacketCodec<B, T> basePacketCodec) -
Uses of PacketCodec in net.minecraft.util
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, DyeColor> DyeColor.PACKET_CODEC
static final PacketCodec
<ByteBuf, Identifier> Identifier.PACKET_CODEC
static final PacketCodec
<ByteBuf, Rarity> Rarity.PACKET_CODEC
static final PacketCodec
<ByteBuf, UUID> Uuids.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.util.math
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, BlockPos> BlockPos.PACKET_CODEC
static final PacketCodec
<ByteBuf, Direction> Direction.PACKET_CODEC
static final PacketCodec
<ByteBuf, EulerAngle> EulerAngle.PACKET_CODEC
static final PacketCodec
<ByteBuf, GlobalPos> GlobalPos.PACKET_CODEC
static final PacketCodec
<ByteBuf, ImmutableBlockBox> ImmutableBlockBox.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.village
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, Optional<TradedItem>> TradedItem.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, TradedItem> TradedItem.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, TradeOffer> TradeOffer.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, TradeOfferList> TradeOfferList.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, VillagerData> VillagerData.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, RegistryEntry<DimensionType>> DimensionType.PACKET_CODEC
-
Uses of PacketCodec in net.minecraft.world.event
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, BlockPositionSource> BlockPositionSource.PACKET_CODEC
static final PacketCodec
<ByteBuf, EntityPositionSource> EntityPositionSource.PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, PositionSource> PositionSource.PACKET_CODEC
Modifier and TypeMethodDescriptionBlockPositionSource.Type.getPacketCodec()
EntityPositionSource.Type.getPacketCodec()
PacketCodec
<? super RegistryByteBuf, T> PositionSourceType.getPacketCodec()