We thought 1.19.4 will soon come to pre phase, but guess what, we were wrong! From the country of cherry blossom trees, here's the 23w07a weekly snapshot update document.
Fabric API 0.74.1 was released. Object Builder API received some breaking changes, related to block settings, sign types, and entity types.
In addition, other parts of the platform code (such as Mixin and Loader) have received some changes, pending release. These will be released when they are ready.
Obviously, there's some sniffing mob, the second suspicious thing in the game, and a 1m cube of pink stuff, but hey we're talking about modding stuff!
In AbstractBlock.Settings and the Fabric API FabricBlockSettings, offsetType is now specified as an Optional of a callback function, instead of Function<BlockState, AbstractBlock.OffsetType>.
A new material, DECORATED_POT, is also available. It is terracotta red color and destroyed by piston. SignType is renamed to WoodType and takes more parameters; Fabric API's helper function is changed accordingly.
TextRenderermethods now takeTextLayerType, instead of booleanseeThrough.EntityTypeno longer specifies whether the entity is untickable. RIP 23w06a-23w06a- Resource pack load error no longer causes the infinite loading screen.
ServerMetadataS2CPacketnow represents the favicon as an optional byte array, not data uri string.MinecraftServer#getServerMetadatanow returns nullable.
Inventory#canPlayerUseto check if the player can reach the block entity (inBlockEntity#canPlayerUse).SoundEvents#INTENTIONALLY_EMPTY, which is well... empty.NativeImage#readthat takes a byte array.ParticleUtil#spawnParticleoverload.PacketByteBuf#encodeAsJsonanddecodeAsJsonthat serialize the data as JSON.