Skip to content

Commit

Permalink
Backport to 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Feb 9, 2024
1 parent 30d4f14 commit 9ce76e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ org.gradle.daemon=false

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.15.1
fabric_version=0.91.1+1.20.2
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.9
loader_version=0.14.21
fabric_version=0.85.0+1.20.1

# Mod Properties
group=com.minelittlepony
Expand All @@ -15,9 +15,9 @@ org.gradle.daemon=false
description=Json-based entity models. Mson.

# Publishing
minecraft_version_range=>=1.20.2
minecraft_version_range=1.20.1
modrinth_loader_type=fabric
modrinth_project_id=

# Dependencies
modmenu_version=8.0.0
modmenu_version=7.0.0-beta.2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public interface EntityRendererRegistry {
*/
@Deprecated
default <T extends PlayerEntityRenderer> void registerPlayerRenderer(String skinType, Function<EntityRendererFactory.Context, T> constructor) {
registerPlayerRenderer(new Identifier(skinType), player -> player.getSkinTextures().model().getName().equalsIgnoreCase(skinType), constructor);
registerPlayerRenderer(new Identifier(skinType), player -> player.getModel().equalsIgnoreCase(skinType), constructor);
}
/**
* Adds a custom player renderer.
Expand Down

0 comments on commit 9ce76e7

Please sign in to comment.