Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,Criterion> |
Criterion.criteriaFromNetwork(PacketBuffer bus) |
static Criterion |
Criterion.criterionFromNetwork(PacketBuffer p_192146_0_) |
static AdvancementProgress |
AdvancementProgress.fromNetwork(PacketBuffer p_192100_0_) |
static DisplayInfo |
DisplayInfo.read(PacketBuffer buf) |
static CriterionProgress |
CriterionProgress.read(PacketBuffer buf) |
static Advancement.Builder |
Advancement.Builder.readFrom(PacketBuffer buf) |
static void |
Criterion.serializeToNetwork(java.util.Map<java.lang.String,Criterion> criteria,
PacketBuffer buf) |
void |
Criterion.serializeToNetwork(PacketBuffer p_192140_1_) |
void |
AdvancementProgress.serializeToNetwork(PacketBuffer p_192104_1_) |
void |
DisplayInfo.write(PacketBuffer buf) |
void |
CriterionProgress.write(PacketBuffer buf) |
void |
Advancement.Builder.writeTo(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
Chunk |
ClientChunkProvider.loadChunk(int chunkX,
int chunkZ,
BiomeContainer biomeContainerIn,
PacketBuffer packetIn,
CompoundNBT nbtTagIn,
int sizeIn) |
Modifier and Type | Method and Description |
---|---|
static com.mojang.brigadier.arguments.ArgumentType<?> |
ArgumentTypes.deserialize(PacketBuffer buffer) |
ScoreHolderArgument |
ScoreHolderArgument.Serializer.read(PacketBuffer buffer) |
T |
ArgumentSerializer.read(PacketBuffer buffer) |
T |
IArgumentSerializer.read(PacketBuffer buffer) |
IRangeArgument.FloatRange |
IRangeArgument.FloatRange.Serializer.read(PacketBuffer buffer) |
IRangeArgument.IntRange |
IRangeArgument.IntRange.Serializer.read(PacketBuffer buffer) |
EntityArgument |
EntityArgument.Serializer.read(PacketBuffer buffer) |
static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> |
ArgumentTypes.serialize(PacketBuffer buffer,
T type) |
void |
EntityArgument.Serializer.write(EntityArgument argument,
PacketBuffer buffer) |
void |
ScoreHolderArgument.Serializer.write(ScoreHolderArgument argument,
PacketBuffer buffer) |
void |
ArgumentSerializer.write(T argument,
PacketBuffer buffer) |
void |
IArgumentSerializer.write(T argument,
PacketBuffer buffer) |
void |
IRangeArgument.Serializer.write(T argument,
PacketBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
com.mojang.brigadier.arguments.LongArgumentType |
LongArgumentSerializer.read(PacketBuffer buffer) |
com.mojang.brigadier.arguments.IntegerArgumentType |
IntArgumentSerializer.read(PacketBuffer buffer) |
com.mojang.brigadier.arguments.FloatArgumentType |
FloatArgumentSerializer.read(PacketBuffer buffer) |
com.mojang.brigadier.arguments.StringArgumentType |
StringArgumentSerializer.read(PacketBuffer buffer) |
com.mojang.brigadier.arguments.DoubleArgumentType |
DoubleArgumentSerializer.read(PacketBuffer buffer) |
void |
DoubleArgumentSerializer.write(com.mojang.brigadier.arguments.DoubleArgumentType argument,
PacketBuffer buffer) |
void |
FloatArgumentSerializer.write(com.mojang.brigadier.arguments.FloatArgumentType argument,
PacketBuffer buffer) |
void |
IntArgumentSerializer.write(com.mojang.brigadier.arguments.IntegerArgumentType argument,
PacketBuffer buffer) |
void |
LongArgumentSerializer.write(com.mojang.brigadier.arguments.LongArgumentType argument,
PacketBuffer buffer) |
void |
StringArgumentSerializer.write(com.mojang.brigadier.arguments.StringArgumentType argument,
PacketBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
T |
ContainerType.create(int windowId,
PlayerInventory playerInv,
PacketBuffer extraData) |
Modifier and Type | Method and Description |
---|---|
static MerchantOffers |
MerchantOffers.read(PacketBuffer p_222198_0_) |
void |
MerchantOffers.write(PacketBuffer p_222196_1_) |
Modifier and Type | Method and Description |
---|---|
static Ingredient |
Ingredient.read(PacketBuffer buffer) |
T |
SpecialRecipeSerializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
T |
IRecipeSerializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
T |
SingleItemRecipe.Serializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
ShapedRecipe |
ShapedRecipe.Serializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
ShapelessRecipe |
ShapelessRecipe.Serializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
T |
CookingRecipeSerializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
void |
Ingredient.write(PacketBuffer buffer) |
void |
ShapedRecipe.Serializer.write(PacketBuffer buffer,
ShapedRecipe recipe) |
void |
ShapelessRecipe.Serializer.write(PacketBuffer buffer,
ShapelessRecipe recipe) |
void |
SpecialRecipeSerializer.write(PacketBuffer buffer,
T recipe) |
void |
IRecipeSerializer.write(PacketBuffer buffer,
T recipe) |
void |
SingleItemRecipe.Serializer.write(PacketBuffer buffer,
T recipe) |
void |
CookingRecipeSerializer.write(PacketBuffer buffer,
T recipe) |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
PacketBuffer.writeBlockPos(BlockPos pos) |
PacketBuffer |
PacketBuffer.writeByteArray(byte[] array) |
PacketBuffer |
PacketBuffer.writeCompoundTag(CompoundNBT nbt) |
PacketBuffer |
PacketBuffer.writeEnumValue(java.lang.Enum<?> value) |
PacketBuffer |
PacketBuffer.writeItemStack(ItemStack stack) |
PacketBuffer |
PacketBuffer.writeItemStack(ItemStack stack,
boolean limitedTag)
Most ItemStack serialization is Server to Client,and doesn't need to know the FULL tag details.
|
PacketBuffer |
PacketBuffer.writeLongArray(long[] array) |
PacketBuffer |
PacketBuffer.writeResourceLocation(ResourceLocation resourceLocationIn) |
PacketBuffer |
PacketBuffer.writeString(java.lang.String string) |
PacketBuffer |
PacketBuffer.writeString(java.lang.String string,
int maxLength) |
PacketBuffer |
PacketBuffer.writeTextComponent(ITextComponent component) |
PacketBuffer |
PacketBuffer.writeTime(java.util.Date time) |
PacketBuffer |
PacketBuffer.writeUniqueId(java.util.UUID uuid) |
PacketBuffer |
PacketBuffer.writeVarInt(int input) |
PacketBuffer |
PacketBuffer.writeVarIntArray(int[] array) |
PacketBuffer |
PacketBuffer.writeVarLong(long value) |
Modifier and Type | Method and Description |
---|---|
private static void |
DebugPacketSender.func_229753_a_(ServerWorld p_229753_0_,
PacketBuffer p_229753_1_,
ResourceLocation p_229753_2_) |
void |
IPacket.readPacketData(PacketBuffer buf) |
void |
IPacket.writePacketData(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
private static <T> EntityDataManager.DataEntry<T> |
EntityDataManager.makeDataEntry(PacketBuffer bufferIn,
int idIn,
IDataSerializer<T> serializerIn) |
T |
IDataSerializer.read(PacketBuffer buf) |
static java.util.List<EntityDataManager.DataEntry<?>> |
EntityDataManager.readEntries(PacketBuffer buf) |
void |
IDataSerializer.write(PacketBuffer buf,
T value) |
static void |
EntityDataManager.writeEntries(java.util.List<EntityDataManager.DataEntry<?>> entriesIn,
PacketBuffer buf) |
private static <T> void |
EntityDataManager.writeEntry(PacketBuffer buf,
EntityDataManager.DataEntry<T> entry) |
Modifier and Type | Method and Description |
---|---|
void |
CHandshakePacket.readPacketData(PacketBuffer buf) |
void |
CHandshakePacket.writePacketData(PacketBuffer buf) |
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
CCustomPayloadLoginPacket.payload |
Modifier and Type | Method and Description |
---|---|
void |
CEncryptionResponsePacket.readPacketData(PacketBuffer buf) |
void |
CLoginStartPacket.readPacketData(PacketBuffer buf) |
void |
CCustomPayloadLoginPacket.readPacketData(PacketBuffer buf) |
void |
CEncryptionResponsePacket.writePacketData(PacketBuffer buf) |
void |
CLoginStartPacket.writePacketData(PacketBuffer buf) |
void |
CCustomPayloadLoginPacket.writePacketData(PacketBuffer buf) |
Constructor and Description |
---|
CCustomPayloadLoginPacket(int p_i49516_1_,
PacketBuffer p_i49516_2_) |
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
SCustomPayloadLoginPacket.payload |
Modifier and Type | Method and Description |
---|---|
void |
SEncryptionRequestPacket.readPacketData(PacketBuffer buf) |
void |
SLoginSuccessPacket.readPacketData(PacketBuffer buf) |
void |
SCustomPayloadLoginPacket.readPacketData(PacketBuffer buf) |
void |
SDisconnectLoginPacket.readPacketData(PacketBuffer buf) |
void |
SEnableCompressionPacket.readPacketData(PacketBuffer buf) |
void |
SEncryptionRequestPacket.writePacketData(PacketBuffer buf) |
void |
SLoginSuccessPacket.writePacketData(PacketBuffer buf) |
void |
SCustomPayloadLoginPacket.writePacketData(PacketBuffer buf) |
void |
SDisconnectLoginPacket.writePacketData(PacketBuffer buf) |
void |
SEnableCompressionPacket.writePacketData(PacketBuffer buf) |
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
CCustomPayloadPacket.data |
Modifier and Type | Method and Description |
---|---|
void |
CEditBookPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerPacket.PositionPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerPacket.PositionRotationPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerPacket.RotationPacket.readPacketData(PacketBuffer buf) |
void |
CKeepAlivePacket.readPacketData(PacketBuffer buf) |
void |
CCloseWindowPacket.readPacketData(PacketBuffer buf) |
void |
CEnchantItemPacket.readPacketData(PacketBuffer buf) |
void |
CSetDifficultyPacket.readPacketData(PacketBuffer buf) |
void |
CSteerBoatPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerTryUseItemOnBlockPacket.readPacketData(PacketBuffer buf) |
void |
CSpectatePacket.readPacketData(PacketBuffer buf) |
void |
CUpdateBeaconPacket.readPacketData(PacketBuffer buf) |
void |
CRenameItemPacket.readPacketData(PacketBuffer buf) |
void |
CUpdateMinecartCommandBlockPacket.readPacketData(PacketBuffer buf) |
void |
CUpdateCommandBlockPacket.readPacketData(PacketBuffer buf) |
void |
CSeenAdvancementsPacket.readPacketData(PacketBuffer buf) |
void |
CPickItemPacket.readPacketData(PacketBuffer buf) |
void |
CSelectTradePacket.readPacketData(PacketBuffer buf) |
void |
CResourcePackStatusPacket.readPacketData(PacketBuffer buf) |
void |
CUpdateSignPacket.readPacketData(PacketBuffer buf) |
void |
CCreativeInventoryActionPacket.readPacketData(PacketBuffer buf) |
void |
CConfirmTransactionPacket.readPacketData(PacketBuffer buf) |
void |
CQueryTileEntityNBTPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerAbilitiesPacket.readPacketData(PacketBuffer buf) |
void |
CHeldItemChangePacket.readPacketData(PacketBuffer buf) |
void |
CTabCompletePacket.readPacketData(PacketBuffer buf) |
void |
CPlaceRecipePacket.readPacketData(PacketBuffer buf) |
void |
CChatMessagePacket.readPacketData(PacketBuffer buf) |
void |
CPlayerTryUseItemPacket.readPacketData(PacketBuffer buf) |
void |
CClientSettingsPacket.readPacketData(PacketBuffer buf) |
void |
CUpdateJigsawBlockPacket.readPacketData(PacketBuffer buf) |
void |
CInputPacket.readPacketData(PacketBuffer buf) |
void |
CLockDifficultyPacket.readPacketData(PacketBuffer buf) |
void |
CMoveVehiclePacket.readPacketData(PacketBuffer buf) |
void |
CConfirmTeleportPacket.readPacketData(PacketBuffer buf) |
void |
CClickWindowPacket.readPacketData(PacketBuffer buf) |
void |
CUseEntityPacket.readPacketData(PacketBuffer buf) |
void |
CCustomPayloadPacket.readPacketData(PacketBuffer buf) |
void |
CPlayerDiggingPacket.readPacketData(PacketBuffer buf) |
void |
CEntityActionPacket.readPacketData(PacketBuffer buf) |
void |
CClientStatusPacket.readPacketData(PacketBuffer buf) |
void |
CUpdateStructureBlockPacket.readPacketData(PacketBuffer buf) |
void |
CAnimateHandPacket.readPacketData(PacketBuffer buf) |
void |
CQueryEntityNBTPacket.readPacketData(PacketBuffer buf) |
void |
CRecipeInfoPacket.readPacketData(PacketBuffer buf) |
void |
CEditBookPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerPacket.PositionPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerPacket.PositionRotationPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerPacket.RotationPacket.writePacketData(PacketBuffer buf) |
void |
CKeepAlivePacket.writePacketData(PacketBuffer buf) |
void |
CCloseWindowPacket.writePacketData(PacketBuffer buf) |
void |
CEnchantItemPacket.writePacketData(PacketBuffer buf) |
void |
CSetDifficultyPacket.writePacketData(PacketBuffer buf) |
void |
CSteerBoatPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerTryUseItemOnBlockPacket.writePacketData(PacketBuffer buf) |
void |
CSpectatePacket.writePacketData(PacketBuffer buf) |
void |
CUpdateBeaconPacket.writePacketData(PacketBuffer buf) |
void |
CRenameItemPacket.writePacketData(PacketBuffer buf) |
void |
CUpdateMinecartCommandBlockPacket.writePacketData(PacketBuffer buf) |
void |
CUpdateCommandBlockPacket.writePacketData(PacketBuffer buf) |
void |
CSeenAdvancementsPacket.writePacketData(PacketBuffer buf) |
void |
CPickItemPacket.writePacketData(PacketBuffer buf) |
void |
CSelectTradePacket.writePacketData(PacketBuffer buf) |
void |
CResourcePackStatusPacket.writePacketData(PacketBuffer buf) |
void |
CUpdateSignPacket.writePacketData(PacketBuffer buf) |
void |
CCreativeInventoryActionPacket.writePacketData(PacketBuffer buf) |
void |
CConfirmTransactionPacket.writePacketData(PacketBuffer buf) |
void |
CQueryTileEntityNBTPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerAbilitiesPacket.writePacketData(PacketBuffer buf) |
void |
CHeldItemChangePacket.writePacketData(PacketBuffer buf) |
void |
CTabCompletePacket.writePacketData(PacketBuffer buf) |
void |
CPlaceRecipePacket.writePacketData(PacketBuffer buf) |
void |
CChatMessagePacket.writePacketData(PacketBuffer buf) |
void |
CPlayerTryUseItemPacket.writePacketData(PacketBuffer buf) |
void |
CClientSettingsPacket.writePacketData(PacketBuffer buf) |
void |
CUpdateJigsawBlockPacket.writePacketData(PacketBuffer buf) |
void |
CInputPacket.writePacketData(PacketBuffer buf) |
void |
CLockDifficultyPacket.writePacketData(PacketBuffer buf) |
void |
CMoveVehiclePacket.writePacketData(PacketBuffer buf) |
void |
CConfirmTeleportPacket.writePacketData(PacketBuffer buf) |
void |
CClickWindowPacket.writePacketData(PacketBuffer buf) |
void |
CUseEntityPacket.writePacketData(PacketBuffer buf) |
void |
CCustomPayloadPacket.writePacketData(PacketBuffer buf) |
void |
CPlayerDiggingPacket.writePacketData(PacketBuffer buf) |
void |
CEntityActionPacket.writePacketData(PacketBuffer buf) |
void |
CClientStatusPacket.writePacketData(PacketBuffer buf) |
void |
CUpdateStructureBlockPacket.writePacketData(PacketBuffer buf) |
void |
CAnimateHandPacket.writePacketData(PacketBuffer buf) |
void |
CQueryEntityNBTPacket.writePacketData(PacketBuffer buf) |
void |
CRecipeInfoPacket.writePacketData(PacketBuffer buf) |
Constructor and Description |
---|
CCustomPayloadPacket(ResourceLocation channelIn,
PacketBuffer dataIn) |
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
SCustomPayloadPlayPacket.data |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
SCustomPayloadPlayPacket.getBufferData() |
PacketBuffer |
SChunkDataPacket.getReadBuffer() |
Modifier and Type | Method and Description |
---|---|
int |
SChunkDataPacket.extractChunkData(PacketBuffer buf,
Chunk chunkIn,
int writeSkylight) |
static <T extends IRecipe<?>> |
SUpdateRecipesPacket.func_218771_a(T p_218771_0_,
PacketBuffer p_218771_1_) |
static IRecipe<?> |
SUpdateRecipesPacket.func_218772_c(PacketBuffer p_218772_0_) |
private com.mojang.brigadier.builder.ArgumentBuilder<ISuggestionProvider,?> |
SCommandListPacket.readArgumentBuilder(PacketBuffer buf,
byte flags) |
private SCommandListPacket.Entry |
SCommandListPacket.readEntry(PacketBuffer buf) |
void |
SPlayerAbilitiesPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateViewDistancePacket.readPacketData(PacketBuffer buf) |
void |
SPlaceGhostRecipePacket.readPacketData(PacketBuffer buf) |
void |
SSpawnPaintingPacket.readPacketData(PacketBuffer buf) |
void |
SStopSoundPacket.readPacketData(PacketBuffer buf) |
void |
SMapDataPacket.readPacketData(PacketBuffer buf) |
void |
SCooldownPacket.readPacketData(PacketBuffer buf) |
void |
SCombatPacket.readPacketData(PacketBuffer buf) |
void |
SMountEntityPacket.readPacketData(PacketBuffer buf) |
void |
SRespawnPacket.readPacketData(PacketBuffer buf) |
void |
SEntityVelocityPacket.readPacketData(PacketBuffer buf) |
void |
SAdvancementInfoPacket.readPacketData(PacketBuffer buf) |
void |
SBlockActionPacket.readPacketData(PacketBuffer buf) |
void |
STeamsPacket.readPacketData(PacketBuffer buf) |
void |
SPlayerDiggingPacket.readPacketData(PacketBuffer buf) |
void |
SChatPacket.readPacketData(PacketBuffer buf) |
void |
SEntityHeadLookPacket.readPacketData(PacketBuffer buf) |
void |
SSetPassengersPacket.readPacketData(PacketBuffer buf) |
void |
SOpenWindowPacket.readPacketData(PacketBuffer buf) |
void |
SHeldItemChangePacket.readPacketData(PacketBuffer buf) |
void |
SAnimateHandPacket.readPacketData(PacketBuffer buf) |
void |
SPlaySoundPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnMovingSoundEffectPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateBossInfoPacket.readPacketData(PacketBuffer buf) |
void |
SSetExperiencePacket.readPacketData(PacketBuffer buf) |
void |
STitlePacket.readPacketData(PacketBuffer buf) |
void |
SSelectAdvancementsTabPacket.readPacketData(PacketBuffer buf) |
void |
SEntityEquipmentPacket.readPacketData(PacketBuffer buf) |
void |
SCollectItemPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnGlobalEntityPacket.readPacketData(PacketBuffer buf) |
void |
SKeepAlivePacket.readPacketData(PacketBuffer buf) |
void |
SWorldBorderPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateScorePacket.readPacketData(PacketBuffer buf) |
void |
SSetSlotPacket.readPacketData(PacketBuffer buf) |
void |
SDisconnectPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateTimePacket.readPacketData(PacketBuffer buf) |
void |
SPlayerPositionLookPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnPositionPacket.readPacketData(PacketBuffer buf) |
void |
SConfirmTransactionPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateLightPacket.readPacketData(PacketBuffer buf) |
void |
SPlaySoundEffectPacket.readPacketData(PacketBuffer buf) |
void |
SJoinGamePacket.readPacketData(PacketBuffer buf) |
void |
SDisplayObjectivePacket.readPacketData(PacketBuffer buf) |
void |
SWindowItemsPacket.readPacketData(PacketBuffer buf) |
void |
SRemoveEntityEffectPacket.readPacketData(PacketBuffer buf) |
void |
SChunkDataPacket.readPacketData(PacketBuffer buf) |
void |
SOpenHorseWindowPacket.readPacketData(PacketBuffer buf) |
void |
SEntityPropertiesPacket.readPacketData(PacketBuffer buf) |
void |
SMoveVehiclePacket.readPacketData(PacketBuffer buf) |
void |
SOpenBookWindowPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnObjectPacket.readPacketData(PacketBuffer buf) |
void |
SSendResourcePackPacket.readPacketData(PacketBuffer buf) |
void |
SMultiBlockChangePacket.readPacketData(PacketBuffer buf) |
void |
SUpdateHealthPacket.readPacketData(PacketBuffer buf) |
void |
SChangeGameStatePacket.readPacketData(PacketBuffer buf) |
void |
SAnimateBlockBreakPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateChunkPositionPacket.readPacketData(PacketBuffer buf) |
void |
STagsListPacket.readPacketData(PacketBuffer buf) |
void |
SEntityMetadataPacket.readPacketData(PacketBuffer buf) |
void |
SEntityTeleportPacket.readPacketData(PacketBuffer buf) |
void |
SWindowPropertyPacket.readPacketData(PacketBuffer buf) |
void |
SChangeBlockPacket.readPacketData(PacketBuffer buf) |
void |
SUnloadChunkPacket.readPacketData(PacketBuffer buf) |
void |
SPlayerLookPacket.readPacketData(PacketBuffer buf) |
void |
SRecipeBookPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnPlayerPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnMobPacket.readPacketData(PacketBuffer buf) |
void |
SScoreboardObjectivePacket.readPacketData(PacketBuffer buf) |
void |
SStatisticsPacket.readPacketData(PacketBuffer buf) |
void |
SDestroyEntitiesPacket.readPacketData(PacketBuffer buf) |
void |
SEntityPacket.readPacketData(PacketBuffer buf) |
void |
SEntityPacket.LookPacket.readPacketData(PacketBuffer buf) |
void |
SEntityPacket.MovePacket.readPacketData(PacketBuffer buf) |
void |
SEntityPacket.RelativeMovePacket.readPacketData(PacketBuffer buf) |
void |
SExplosionPacket.readPacketData(PacketBuffer buf) |
void |
SPlayerListItemPacket.readPacketData(PacketBuffer buf) |
void |
SCloseWindowPacket.readPacketData(PacketBuffer buf) |
void |
STabCompletePacket.readPacketData(PacketBuffer buf) |
void |
SPlaySoundEventPacket.readPacketData(PacketBuffer buf) |
void |
SCustomPayloadPlayPacket.readPacketData(PacketBuffer buf) |
void |
SServerDifficultyPacket.readPacketData(PacketBuffer buf) |
void |
SCommandListPacket.readPacketData(PacketBuffer buf) |
void |
SUpdateRecipesPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnParticlePacket.readPacketData(PacketBuffer buf) |
void |
SUpdateTileEntityPacket.readPacketData(PacketBuffer buf) |
void |
SOpenSignMenuPacket.readPacketData(PacketBuffer buf) |
void |
SMerchantOffersPacket.readPacketData(PacketBuffer buf) |
void |
SCameraPacket.readPacketData(PacketBuffer buf) |
void |
SQueryNBTResponsePacket.readPacketData(PacketBuffer buf) |
void |
SEntityStatusPacket.readPacketData(PacketBuffer buf) |
void |
SSpawnExperienceOrbPacket.readPacketData(PacketBuffer buf) |
void |
SPlayEntityEffectPacket.readPacketData(PacketBuffer buf) |
void |
SPlayerListHeaderFooterPacket.readPacketData(PacketBuffer buf) |
private <T extends IParticleData> |
SSpawnParticlePacket.readParticle(PacketBuffer p_199855_1_,
ParticleType<T> p_199855_2_) |
private <T> void |
SStatisticsPacket.readValues(StatType<T> p_197684_1_,
PacketBuffer p_197684_2_) |
private void |
SCommandListPacket.writeCommandNode(PacketBuffer buf,
com.mojang.brigadier.tree.CommandNode<ISuggestionProvider> node,
java.util.Map<com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>,java.lang.Integer> nodeIds) |
void |
SPlayerAbilitiesPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateViewDistancePacket.writePacketData(PacketBuffer buf) |
void |
SPlaceGhostRecipePacket.writePacketData(PacketBuffer buf) |
void |
SSpawnPaintingPacket.writePacketData(PacketBuffer buf) |
void |
SStopSoundPacket.writePacketData(PacketBuffer buf) |
void |
SMapDataPacket.writePacketData(PacketBuffer buf) |
void |
SCooldownPacket.writePacketData(PacketBuffer buf) |
void |
SCombatPacket.writePacketData(PacketBuffer buf) |
void |
SMountEntityPacket.writePacketData(PacketBuffer buf) |
void |
SRespawnPacket.writePacketData(PacketBuffer buf) |
void |
SEntityVelocityPacket.writePacketData(PacketBuffer buf) |
void |
SAdvancementInfoPacket.writePacketData(PacketBuffer buf) |
void |
SBlockActionPacket.writePacketData(PacketBuffer buf) |
void |
STeamsPacket.writePacketData(PacketBuffer buf) |
void |
SPlayerDiggingPacket.writePacketData(PacketBuffer buf) |
void |
SChatPacket.writePacketData(PacketBuffer buf) |
void |
SEntityHeadLookPacket.writePacketData(PacketBuffer buf) |
void |
SSetPassengersPacket.writePacketData(PacketBuffer buf) |
void |
SOpenWindowPacket.writePacketData(PacketBuffer buf) |
void |
SHeldItemChangePacket.writePacketData(PacketBuffer buf) |
void |
SAnimateHandPacket.writePacketData(PacketBuffer buf) |
void |
SPlaySoundPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnMovingSoundEffectPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateBossInfoPacket.writePacketData(PacketBuffer buf) |
void |
SSetExperiencePacket.writePacketData(PacketBuffer buf) |
void |
STitlePacket.writePacketData(PacketBuffer buf) |
void |
SSelectAdvancementsTabPacket.writePacketData(PacketBuffer buf) |
void |
SEntityEquipmentPacket.writePacketData(PacketBuffer buf) |
void |
SCollectItemPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnGlobalEntityPacket.writePacketData(PacketBuffer buf) |
void |
SKeepAlivePacket.writePacketData(PacketBuffer buf) |
void |
SWorldBorderPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateScorePacket.writePacketData(PacketBuffer buf) |
void |
SSetSlotPacket.writePacketData(PacketBuffer buf) |
void |
SDisconnectPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateTimePacket.writePacketData(PacketBuffer buf) |
void |
SPlayerPositionLookPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnPositionPacket.writePacketData(PacketBuffer buf) |
void |
SConfirmTransactionPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateLightPacket.writePacketData(PacketBuffer buf) |
void |
SPlaySoundEffectPacket.writePacketData(PacketBuffer buf) |
void |
SJoinGamePacket.writePacketData(PacketBuffer buf) |
void |
SDisplayObjectivePacket.writePacketData(PacketBuffer buf) |
void |
SWindowItemsPacket.writePacketData(PacketBuffer buf) |
void |
SRemoveEntityEffectPacket.writePacketData(PacketBuffer buf) |
void |
SChunkDataPacket.writePacketData(PacketBuffer buf) |
void |
SOpenHorseWindowPacket.writePacketData(PacketBuffer buf) |
void |
SEntityPropertiesPacket.writePacketData(PacketBuffer buf) |
void |
SMoveVehiclePacket.writePacketData(PacketBuffer buf) |
void |
SOpenBookWindowPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnObjectPacket.writePacketData(PacketBuffer buf) |
void |
SSendResourcePackPacket.writePacketData(PacketBuffer buf) |
void |
SMultiBlockChangePacket.writePacketData(PacketBuffer buf) |
void |
SUpdateHealthPacket.writePacketData(PacketBuffer buf) |
void |
SChangeGameStatePacket.writePacketData(PacketBuffer buf) |
void |
SAnimateBlockBreakPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateChunkPositionPacket.writePacketData(PacketBuffer buf) |
void |
STagsListPacket.writePacketData(PacketBuffer buf) |
void |
SEntityMetadataPacket.writePacketData(PacketBuffer buf) |
void |
SEntityTeleportPacket.writePacketData(PacketBuffer buf) |
void |
SWindowPropertyPacket.writePacketData(PacketBuffer buf) |
void |
SChangeBlockPacket.writePacketData(PacketBuffer buf) |
void |
SUnloadChunkPacket.writePacketData(PacketBuffer buf) |
void |
SPlayerLookPacket.writePacketData(PacketBuffer buf) |
void |
SRecipeBookPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnPlayerPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnMobPacket.writePacketData(PacketBuffer buf) |
void |
SScoreboardObjectivePacket.writePacketData(PacketBuffer buf) |
void |
SStatisticsPacket.writePacketData(PacketBuffer buf) |
void |
SDestroyEntitiesPacket.writePacketData(PacketBuffer buf) |
void |
SEntityPacket.writePacketData(PacketBuffer buf) |
void |
SEntityPacket.LookPacket.writePacketData(PacketBuffer buf) |
void |
SEntityPacket.MovePacket.writePacketData(PacketBuffer buf) |
void |
SEntityPacket.RelativeMovePacket.writePacketData(PacketBuffer buf) |
void |
SExplosionPacket.writePacketData(PacketBuffer buf) |
void |
SPlayerListItemPacket.writePacketData(PacketBuffer buf) |
void |
SCloseWindowPacket.writePacketData(PacketBuffer buf) |
void |
STabCompletePacket.writePacketData(PacketBuffer buf) |
void |
SPlaySoundEventPacket.writePacketData(PacketBuffer buf) |
void |
SCustomPayloadPlayPacket.writePacketData(PacketBuffer buf) |
void |
SServerDifficultyPacket.writePacketData(PacketBuffer buf) |
void |
SCommandListPacket.writePacketData(PacketBuffer buf) |
void |
SUpdateRecipesPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnParticlePacket.writePacketData(PacketBuffer buf) |
void |
SUpdateTileEntityPacket.writePacketData(PacketBuffer buf) |
void |
SOpenSignMenuPacket.writePacketData(PacketBuffer buf) |
void |
SMerchantOffersPacket.writePacketData(PacketBuffer buf) |
void |
SCameraPacket.writePacketData(PacketBuffer buf) |
void |
SQueryNBTResponsePacket.writePacketData(PacketBuffer buf) |
void |
SEntityStatusPacket.writePacketData(PacketBuffer buf) |
void |
SSpawnExperienceOrbPacket.writePacketData(PacketBuffer buf) |
void |
SPlayEntityEffectPacket.writePacketData(PacketBuffer buf) |
void |
SPlayerListHeaderFooterPacket.writePacketData(PacketBuffer buf) |
Constructor and Description |
---|
SCustomPayloadPlayPacket(ResourceLocation channelIn,
PacketBuffer dataIn) |
Modifier and Type | Method and Description |
---|---|
void |
CPingPacket.readPacketData(PacketBuffer buf) |
void |
CServerQueryPacket.readPacketData(PacketBuffer buf) |
void |
CPingPacket.writePacketData(PacketBuffer buf) |
void |
CServerQueryPacket.writePacketData(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
SServerInfoPacket.readPacketData(PacketBuffer buf) |
void |
SPongPacket.readPacketData(PacketBuffer buf) |
void |
SServerInfoPacket.writePacketData(PacketBuffer buf) |
void |
SPongPacket.writePacketData(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
T |
IParticleData.IDeserializer.read(ParticleType<T> particleTypeIn,
PacketBuffer buffer) |
void |
RedstoneParticleData.write(PacketBuffer buffer) |
void |
ItemParticleData.write(PacketBuffer buffer) |
void |
BasicParticleType.write(PacketBuffer buffer) |
void |
BlockParticleData.write(PacketBuffer buffer) |
void |
IParticleData.write(PacketBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
static PathPoint |
PathPoint.createFromBuffer(PacketBuffer buf) |
static FlaggedPathPoint |
FlaggedPathPoint.func_224760_c(PacketBuffer p_224760_0_) |
static Path |
Path.read(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
NetworkTagCollection.read(PacketBuffer buf) |
static NetworkTagManager |
NetworkTagManager.read(PacketBuffer buffer) |
void |
NetworkTagCollection.write(PacketBuffer buf) |
void |
NetworkTagManager.write(PacketBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
PaletteHashMap.read(PacketBuffer buf) |
void |
PalettedContainer.read(PacketBuffer buf) |
void |
PaletteArray.read(PacketBuffer buf) |
void |
IPalette.read(PacketBuffer buf) |
void |
PaletteIdentity.read(PacketBuffer buf) |
void |
PaletteHashMap.write(PacketBuffer buf) |
void |
PalettedContainer.write(PacketBuffer buf) |
void |
PaletteArray.write(PacketBuffer buf) |
void |
IPalette.write(PacketBuffer buf) |
void |
PaletteIdentity.write(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
BiomeContainer.writeToBuf(PacketBuffer buf) |
Constructor and Description |
---|
BiomeContainer(PacketBuffer packetBufferIn) |
Modifier and Type | Method and Description |
---|---|
void |
Chunk.read(BiomeContainer biomeContainerIn,
PacketBuffer packetBufferIn,
CompoundNBT nbtIn,
int availableSections) |
void |
ChunkSection.read(PacketBuffer packetBufferIn) |
void |
ChunkSection.write(PacketBuffer packetBufferIn) |
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
DimensionType.data |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
DimensionType.getData() |
Constructor and Description |
---|
DimensionType(int p_i225789_1_,
java.lang.String p_i225789_2_,
java.lang.String p_i225789_3_,
java.util.function.BiFunction<World,DimensionType,? extends Dimension> p_i225789_4_,
boolean p_i225789_5_,
IBiomeMagnifier p_i225789_6_,
ModDimension modType,
PacketBuffer data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ModDimension.read(PacketBuffer buffer,
boolean network)
Deserialize any necessary data, this is called both when saving the world on the server.
|
static DimensionType |
DimensionManager.registerDimension(ResourceLocation name,
ModDimension type,
PacketBuffer data,
boolean hasSkyLight)
Registers a real unique dimension, Should be called on server init, or when the dimension is created.
|
static DimensionType |
DimensionManager.registerDimensionInternal(int id,
ResourceLocation name,
ModDimension type,
PacketBuffer data,
boolean hasSkyLight) |
static DimensionType |
DimensionManager.registerOrGetDimension(ResourceLocation name,
ModDimension type,
PacketBuffer data,
boolean hasSkyLight)
Register or get the existing dimension type for the given dimtype name.
|
void |
ModDimension.write(PacketBuffer buffer,
boolean network)
Serialize any necessary data, this is called both when saving the world on the server.
|
Modifier and Type | Method and Description |
---|---|
static Ingredient |
CraftingHelper.getIngredient(ResourceLocation type,
PacketBuffer buffer) |
CompoundIngredient |
CompoundIngredient.Serializer.parse(PacketBuffer buffer) |
Ingredient |
VanillaIngredientSerializer.parse(PacketBuffer buffer) |
T |
IIngredientSerializer.parse(PacketBuffer buffer) |
NBTIngredient |
NBTIngredient.Serializer.parse(PacketBuffer buffer) |
T |
ConditionalRecipe.Serializer.read(ResourceLocation recipeId,
PacketBuffer buffer) |
void |
CompoundIngredient.Serializer.write(PacketBuffer buffer,
CompoundIngredient ingredient) |
void |
VanillaIngredientSerializer.write(PacketBuffer buffer,
Ingredient ingredient) |
void |
NBTIngredient.Serializer.write(PacketBuffer buffer,
NBTIngredient ingredient) |
void |
IIngredientSerializer.write(PacketBuffer buffer,
T ingredient) |
void |
ConditionalRecipe.Serializer.write(PacketBuffer buffer,
T recipe) |
static <T extends Ingredient> |
CraftingHelper.write(PacketBuffer buffer,
T ingredient) |
Modifier and Type | Method and Description |
---|---|
default PacketBuffer |
IForgePacketBuffer.getBuffer() |
Modifier and Type | Method and Description |
---|---|
T |
IForgeContainerType.create(int windowId,
PlayerInventory playerInv,
PacketBuffer extraData) |
Constructor and Description |
---|
TestContainer(int windowId,
PlayerInventory playerInv,
PacketBuffer extraData) |
Modifier and Type | Method and Description |
---|---|
static FluidStack |
FluidStack.readFromPacket(PacketBuffer buf) |
void |
FluidStack.writeToPacket(PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
IEntityAdditionalSpawnData.readSpawnData(PacketBuffer additionalData)
Called by the client when it receives a Entity spawn packet.
|
void |
IEntityAdditionalSpawnData.writeSpawnData(PacketBuffer buffer)
Called by the server when constructing the spawn packet.
|
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
FMLPlayMessages.OpenContainer.additionalData |
private PacketBuffer |
FMLPlayMessages.SpawnEntity.buf |
private PacketBuffer |
NetworkRegistry.LoginPayload.data
The data for sending
|
private PacketBuffer |
FMLPlayMessages.DimensionInfoMessage.extraData |
private PacketBuffer |
NetworkEvent.payload |
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> |
PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier |
(package private) java.util.function.BiConsumer<ResourceLocation,PacketBuffer> |
PacketDispatcher.packetSink |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
FMLPlayMessages.SpawnEntity.getAdditionalData() |
PacketBuffer |
FMLPlayMessages.OpenContainer.getAdditionalData() |
PacketBuffer |
NetworkRegistry.LoginPayload.getData() |
default PacketBuffer |
ICustomPacket.getInternalData() |
PacketBuffer |
NetworkEvent.getPayload() |
private PacketBuffer |
FMLLoginWrapper.wrapPacket(ResourceLocation rl,
PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
void |
NetworkEvent.GatherLoginPayloadsEvent.add(PacketBuffer buffer,
ResourceLocation channelName,
java.lang.String context) |
T |
IContainerFactory.create(int windowId,
PlayerInventory inv,
PacketBuffer data) |
static FMLHandshakeMessages.S2CModList |
FMLHandshakeMessages.S2CModList.decode(PacketBuffer input) |
static FMLHandshakeMessages.C2SModListReply |
FMLHandshakeMessages.C2SModListReply.decode(PacketBuffer input) |
static FMLHandshakeMessages.C2SAcknowledge |
FMLHandshakeMessages.C2SAcknowledge.decode(PacketBuffer buf) |
static FMLHandshakeMessages.S2CRegistry |
FMLHandshakeMessages.S2CRegistry.decode(PacketBuffer buffer) |
static FMLHandshakeMessages.S2CConfigData |
FMLHandshakeMessages.S2CConfigData.decode(PacketBuffer buffer) |
static FMLPlayMessages.SpawnEntity |
FMLPlayMessages.SpawnEntity.decode(PacketBuffer buf) |
static FMLPlayMessages.OpenContainer |
FMLPlayMessages.OpenContainer.decode(PacketBuffer buf) |
static FMLPlayMessages.DimensionInfoMessage |
FMLPlayMessages.DimensionInfoMessage.decode(PacketBuffer buffer) |
private void |
PacketDispatcher.NetworkManagerDispatcher.dispatchPacket(ResourceLocation resourceLocation,
PacketBuffer buffer) |
static void |
FMLPlayMessages.DimensionInfoMessage.encode(FMLPlayMessages.DimensionInfoMessage message,
PacketBuffer buffer) |
static void |
FMLPlayMessages.OpenContainer.encode(FMLPlayMessages.OpenContainer msg,
PacketBuffer buf) |
static void |
FMLPlayMessages.SpawnEntity.encode(FMLPlayMessages.SpawnEntity msg,
PacketBuffer buf) |
void |
FMLHandshakeMessages.S2CModList.encode(PacketBuffer output) |
void |
FMLHandshakeMessages.C2SModListReply.encode(PacketBuffer output) |
void |
FMLHandshakeMessages.C2SAcknowledge.encode(PacketBuffer buf) |
(package private) void |
FMLHandshakeMessages.S2CRegistry.encode(PacketBuffer buffer) |
(package private) void |
FMLHandshakeMessages.S2CConfigData.encode(PacketBuffer buffer) |
void |
PacketDispatcher.sendPacket(ResourceLocation resourceLocation,
PacketBuffer buffer) |
(package private) void |
FMLLoginWrapper.sendServerToClientLoginPacket(ResourceLocation resourceLocation,
PacketBuffer buffer,
int index,
NetworkManager manager) |
default void |
ICustomPacket.setData(PacketBuffer buffer) |
void |
FMLMCRegisterPacketHandler.ChannelList.updateFrom(java.util.function.Supplier<NetworkEvent.Context> source,
PacketBuffer buffer,
NetworkEvent.RegistrationChangeType changeType) |
private PacketBuffer |
FMLLoginWrapper.wrapPacket(ResourceLocation rl,
PacketBuffer buf) |
Modifier and Type | Method and Description |
---|---|
<T extends IPacket<?>> |
NetworkDirection.buildPacket(org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer> packetData,
ResourceLocation channelName) |
static void |
NetworkHooks.openGui(ServerPlayerEntity player,
INamedContainerProvider containerSupplier,
java.util.function.Consumer<PacketBuffer> extraDataWriter)
Request to open a GUI on the client, from the server
Refer to
net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume
these GUI requests on the client. |
Constructor and Description |
---|
DimensionInfoMessage(int dimId,
ResourceLocation dimname,
ResourceLocation modDimensionName,
boolean skylight,
PacketBuffer extraData) |
LoginPayload(PacketBuffer buffer,
ResourceLocation channelName,
java.lang.String messageContext) |
LoginPayloadEvent(PacketBuffer payload,
java.util.function.Supplier<NetworkEvent.Context> source,
int loginIndex) |
NetworkEvent(PacketBuffer payload,
java.util.function.Supplier<NetworkEvent.Context> source,
int loginIndex) |
OpenContainer(ContainerType<?> id,
int windowId,
ITextComponent name,
PacketBuffer additionalData) |
OpenContainer(int id,
int windowId,
ITextComponent name,
PacketBuffer additionalData) |
SpawnEntity(int typeId,
int entityId,
java.util.UUID uuid,
double posX,
double posY,
double posZ,
byte pitch,
byte yaw,
byte headYaw,
int velX,
int velY,
int velZ,
PacketBuffer buf) |
Constructor and Description |
---|
NetworkManagerDispatcher(NetworkManager manager,
int packetIndex,
java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier) |
PacketDispatcher(java.util.function.BiConsumer<ResourceLocation,PacketBuffer> packetSink) |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<PacketBuffer,MSG> |
SimpleChannel.MessageBuilder.decoder |
private java.util.Optional<java.util.function.Function<PacketBuffer,MSG>> |
IndexedMessageCodec.MessageHandler.decoder |
private java.util.function.BiConsumer<MSG,PacketBuffer> |
SimpleChannel.MessageBuilder.encoder |
private java.util.Optional<java.util.function.BiConsumer<MSG,PacketBuffer>> |
IndexedMessageCodec.MessageHandler.encoder |
Modifier and Type | Method and Description |
---|---|
private <MSG> org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer> |
SimpleChannel.toBuffer(MSG msg) |
Modifier and Type | Method and Description |
---|---|
<MSG> int |
IndexedMessageCodec.build(MSG message,
PacketBuffer target) |
(package private) void |
IndexedMessageCodec.consume(PacketBuffer payload,
int payloadIndex,
java.util.function.Supplier<NetworkEvent.Context> context) |
<MSG> int |
SimpleChannel.encodeMessage(MSG message,
PacketBuffer target) |
private static <M> void |
IndexedMessageCodec.tryDecode(PacketBuffer payload,
java.util.function.Supplier<NetworkEvent.Context> context,
int payloadIndex,
IndexedMessageCodec.MessageHandler<M> codec) |
private static <M> int |
IndexedMessageCodec.tryEncode(PacketBuffer target,
M message,
IndexedMessageCodec.MessageHandler<M> codec) |
Modifier and Type | Method and Description |
---|---|
(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG> |
IndexedMessageCodec.addCodecIndex(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG> |
IndexedMessageCodec.addCodecIndex(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
SimpleChannel.MessageBuilder<MSG> |
SimpleChannel.MessageBuilder.decoder(java.util.function.Function<PacketBuffer,MSG> decoder) |
SimpleChannel.MessageBuilder<MSG> |
SimpleChannel.MessageBuilder.encoder(java.util.function.BiConsumer<MSG,PacketBuffer> encoder) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
SimpleChannel.registerMessage(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
SimpleChannel.registerMessage(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
SimpleChannel.registerMessage(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
SimpleChannel.registerMessage(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
Constructor and Description |
---|
MessageHandler(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
MessageHandler(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
Modifier and Type | Field and Description |
---|---|
private PacketBuffer |
ForgeRegistry.Snapshot.binary |
Modifier and Type | Method and Description |
---|---|
PacketBuffer |
ForgeRegistry.Snapshot.getPacketData() |
Modifier and Type | Method and Description |
---|---|
static ForgeRegistry.Snapshot |
ForgeRegistry.Snapshot.read(PacketBuffer buff) |