Registry API for supported Mob Variants (#12417)
--------- Co-authored-by: Bjarne Koll <git@lynxplay.dev>
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user