add glowstone loot and force 3x3loot to always spawn, even at size limit

This commit is contained in:
George Paton 2025-02-10 12:21:45 +11:00
parent 8994d2e0b1
commit 0dea47ff87
3 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public class StructureManager {
public static final NBTStructure meteor_3_book = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/meteor/loot3x3/meteor-3-book.nbt"));
public static final NBTStructure meteor_3_mku = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/meteor/loot3x3/meteor-3-mku.nbt"));
public static final NBTStructure meteor_3_statue = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/meteor/loot3x3/meteor-3-statue.nbt"));
public static final NBTStructure meteor_3_glow = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/meteor/loot3x3/meteor-3-glow.nbt"));
public static final NBTStructure meteor_room_base_end = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/meteor/room10/room-base-end.nbt"));
public static final NBTStructure meteor_room_base_thru = new NBTStructure(new ResourceLocation(RefStrings.MODID, "structures/meteor/room10/room-base-thru.nbt"));

View File

@ -122,6 +122,8 @@ public class NTMWorldGenerator implements IWorldGenerator {
add(new JigsawPiece("meteor_3_book", StructureManager.meteor_3_book), 1);
add(new JigsawPiece("meteor_3_mku", StructureManager.meteor_3_mku), 1);
add(new JigsawPiece("meteor_3_statue", StructureManager.meteor_3_statue), 1);
add(new JigsawPiece("meteor_3_glow", StructureManager.meteor_3_glow), 1);
fallback = "3x3loot"; // generate loot even if we're at the size limit
}});
put("headloot", new JigsawPool() {{
add(new JigsawPiece("meteor_dragon_chest", StructureManager.meteor_dragon_chest) {{ blockTable = crates; }}, 1);