Registry API for supported Mob Variants (#12417)

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
This commit is contained in:
Bert Towne
2025-05-06 16:13:00 -05:00
committed by GitHub
parent 753cff7c8a
commit e2da5d2f0a
20 changed files with 1027 additions and 14 deletions

View File

@ -0,0 +1,10 @@
--- a/net/minecraft/core/ClientAsset.java
+++ b/net/minecraft/core/ClientAsset.java
@@ -12,6 +_,6 @@
public static final StreamCodec<ByteBuf, ClientAsset> STREAM_CODEC = StreamCodec.composite(ResourceLocation.STREAM_CODEC, ClientAsset::id, ClientAsset::new);
public ClientAsset(ResourceLocation id) {
- this(id, id.withPath(string -> "textures/" + string + ".png"));
+ this(id, id.withPath(string -> "textures/" + string + ".png")); // Paper - diff on change - io.papermc.paper.registry.data.client.ClientAssetImpl#pathFromIdentifier
}
}