Skip to content

Commit

Permalink
fix(textures): correct block texture path in ModAdvancements
Browse files Browse the repository at this point in the history
The path to the neutron block texture within the ModAdvancements.java file was
incorrectly specified as "textures/blocks/resource/neutron.png". This commit changes
it to the correct path, "textures/block/resource/neutron.png", ensuring the display
criterion for the diamond lattice advancement now properly references the intended
texture.
  • Loading branch information
cnlimiter committed Aug 2, 2024
1 parent b3a6aeb commit 4f19133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void generate(HolderLookup.@NotNull Provider registries, @NotNull Consume
Advancement root = Advancement.Builder.advancement()
.display(ModItems.diamond_lattice.get(), Component.translatable("advancements.avaritia.diamond_lattice.title"),
Component.translatable("advancements.avaritia.diamond_lattice.desc"),
new ResourceLocation(Static.MOD_ID, "textures/blocks/resource/neutron.png"), FrameType.TASK, false, false, false)
new ResourceLocation(Static.MOD_ID, "textures/block/resource/neutron.png"), FrameType.TASK, false, false, false)
.addCriterion("main", InventoryChangeTrigger.TriggerInstance.hasItems(ModItems.diamond_lattice.get()))
.requirements(RequirementsStrategy.OR)
.save(consumer, Static.MOD_ID + ":main/root");
Expand Down

0 comments on commit 4f19133

Please sign in to comment.