You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RequestNetworkSettingsPacket - this is now the first packet in a session, instead of LoginPacket
ServerStatsPacket
Removed packets
AdventureSettingsPacket
Packet changes
NetworkSettingsPacket has new fields int $compressionAlgorithm, bool $enableClientThrottling, int $clientThrottleThreshold, float $clientThrottleScalar
StructureBlockUpdatePacket has a new field bool $waterlogged
TextPacket has a new type TYPE_JSON_ANNOUNCEMENT
New enums
CompressionType - used by NetworkSettingsPacket
Other changes
RecipeIngredient now accepts an ItemDescriptor instead of ID+meta. This enables more features like selecting items based on tags, Molang code, or other conditions. The types of descriptors currently supported are:
IntIdMetaItemDescriptor - this is used by all current vanilla recipes and is essentially the same as what we had to begin with
MolangItemDescriptor - allows selecting compatible items based on a Molang code predicate
StringIdMetaItemDescriptor - same as IntIdMetaItemDescriptor, but uses string IDs and doesn't allow negative meta values (?)
TagItemDescriptor - allows selecting compatible items based on their type tags, like in Java (see the wiki)