Skip to content

Commit c70cd2e

Browse files
committed
Fix potted motif flower textures
1 parent 272fd90 commit c70cd2e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Xplat/src/generated/resources/.cache/4ea35d134be4e4108e8123569b7df0f8d3dbc940

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xplat/src/generated/resources/assets/botania/models/block/potted_daybloom_motif.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xplat/src/generated/resources/assets/botania/models/block/potted_hydroangeas_motif.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xplat/src/generated/resources/assets/botania/models/block/potted_nightshade_motif.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xplat/src/main/java/vazkii/botania/data/PottedPlantModelProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public CompletableFuture<?> run(CachedOutput cache) {
4141
ResourceLocation blockId = BuiltInRegistries.BLOCK.getKey(b);
4242
if (LibMisc.MOD_ID.equals(blockId.getNamespace()) && b instanceof FlowerPotBlock) {
4343
String name = blockId.getPath();
44-
String nonPotted = name.replace(LibBlockNames.POTTED_PREFIX, "");
44+
String nonPotted = name.replace(LibBlockNames.POTTED_PREFIX, "").replace("_motif", "");
4545

4646
JsonObject obj = new JsonObject();
4747
obj.addProperty("parent", "minecraft:block/flower_pot_cross");

0 commit comments

Comments
 (0)