mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
24 lines
1.4 KiB
Plaintext
24 lines
1.4 KiB
Plaintext
++++ REJECTED HUNK: 1
|
|
@@ -324,15 +324,18 @@
|
|
}
|
|
|
|
public static ModelLayerLocation createStandingSignModelName(final WoodType type) {
|
|
- return createLocation("sign/standing/" + type.name(), "main");
|
|
+ Identifier location = Identifier.parse(type.name());
|
|
+ return new ModelLayerLocation(Identifier.fromNamespaceAndPath(location.getNamespace(), "sign/standing/" + location.getPath()), "main");
|
|
}
|
|
|
|
public static ModelLayerLocation createWallSignModelName(final WoodType type) {
|
|
- return createLocation("sign/wall/" + type.name(), "main");
|
|
+ Identifier location = Identifier.parse(type.name());
|
|
+ return new ModelLayerLocation(Identifier.fromNamespaceAndPath(location.getNamespace(), "sign/wall/" + location.getPath()), "main");
|
|
}
|
|
|
|
public static ModelLayerLocation createHangingSignModelName(final WoodType type, final HangingSignBlock.Attachment attachmentType) {
|
|
- return createLocation("hanging_sign/" + type.name() + "/" + attachmentType.getSerializedName(), "main");
|
|
+ Identifier location = Identifier.parse(type.name());
|
|
+ return new ModelLayerLocation(Identifier.fromNamespaceAndPath(location.getNamespace(), "hanging_sign/" + location.getPath() + "/" + attachmentType.getSerializedName()), "main");
|
|
}
|
|
|
|
public static Stream<ModelLayerLocation> getKnownLocations() {
|
|
++++ END HUNK |