labubu funk

This commit is contained in:
Lazzzycatwastaken 2025-08-27 15:28:38 +02:00
parent 7084dc919a
commit c8bf809e9f
3 changed files with 69 additions and 69 deletions

View File

@ -40,7 +40,7 @@ public class HbmWorld {
private static void registerNTMFeatures() { private static void registerNTMFeatures() {
CivilianFeatures.registerComponents(); CivilianFeatures.registerComponents();
OfficeFeatures.registerComponents(); OfficeFeatures.registerComponents();
RuinFeatures.registerComponents(); // RuinFeatures.registerComponents();
BunkerComponents.registerComponents(); BunkerComponents.registerComponents();
MapGenStructureIO.func_143031_a(SiloComponent.class, "NTMSiloComponent"); MapGenStructureIO.func_143031_a(SiloComponent.class, "NTMSiloComponent");
} }

View File

@ -15,10 +15,10 @@ import com.hbm.world.gen.component.CivilianFeatures.NTMLab2;
import com.hbm.world.gen.component.CivilianFeatures.RuralHouse1; import com.hbm.world.gen.component.CivilianFeatures.RuralHouse1;
import com.hbm.world.gen.component.OfficeFeatures.LargeOffice; import com.hbm.world.gen.component.OfficeFeatures.LargeOffice;
import com.hbm.world.gen.component.OfficeFeatures.LargeOfficeCorner; import com.hbm.world.gen.component.OfficeFeatures.LargeOfficeCorner;
import com.hbm.world.gen.component.RuinFeatures.NTMRuin1; //import com.hbm.world.gen.component.RuinFeatures.NTMRuin1;
import com.hbm.world.gen.component.RuinFeatures.NTMRuin2; //import com.hbm.world.gen.component.RuinFeatures.NTMRuin2;
import com.hbm.world.gen.component.RuinFeatures.NTMRuin3; //import com.hbm.world.gen.component.RuinFeatures.NTMRuin3;
import com.hbm.world.gen.component.RuinFeatures.NTMRuin4; //import com.hbm.world.gen.component.RuinFeatures.NTMRuin4;
import com.hbm.world.gen.component.SiloComponent; import com.hbm.world.gen.component.SiloComponent;
import net.minecraft.world.World; import net.minecraft.world.World;
@ -124,26 +124,26 @@ public class MapGenNTMFeatures extends MapGenStructure {
*/ */
//TODO: Do something about this so it's nice-looking and easily readable. Plus, test compatibility against mods like BoP //TODO: Do something about this so it's nice-looking and easily readable. Plus, test compatibility against mods like BoP
if(rand.nextInt(3) == 0) { //Empty Ruin Structures // if(rand.nextInt(3) == 0) { //Empty Ruin Structures
switch(rand.nextInt(4)) { // switch(rand.nextInt(4)) {
case 0: // case 0:
NTMRuin1 ruin1 = new NTMRuin1(rand, i, j); // NTMRuin1 ruin1 = new NTMRuin1(rand, i, j);
this.components.add(ruin1); // this.components.add(ruin1);
break; // break;
case 1: // case 1:
NTMRuin2 ruin2 = new NTMRuin2(rand, i, j); // NTMRuin2 ruin2 = new NTMRuin2(rand, i, j);
this.components.add(ruin2); // this.components.add(ruin2);
break; // break;
case 2: // case 2:
NTMRuin3 ruin3 = new NTMRuin3(rand, i, j); // NTMRuin3 ruin3 = new NTMRuin3(rand, i, j);
this.components.add(ruin3); // this.components.add(ruin3);
break; // break;
case 3: // case 3:
NTMRuin4 ruin4 = new NTMRuin4(rand, i, j); // NTMRuin4 ruin4 = new NTMRuin4(rand, i, j);
this.components.add(ruin4); // this.components.add(ruin4);
} // }
} else if(biome.heightVariation <= 0.25F && rand.nextInt(10) == 0) { //for now our only restriction is kinda-flat biomes. that and chance might change idk if(biome.heightVariation <= 0.25F && rand.nextInt(10) == 0) { //for now our only restriction is kinda-flat biomes. that and chance might change idk
SiloComponent silo = new SiloComponent(rand, i, j); SiloComponent silo = new SiloComponent(rand, i, j);
this.components.add(silo); this.components.add(silo);
} else if(biome.temperature >= 1.0 && biome.rainfall == 0 && !(biome instanceof BiomeGenMesa)) { //Desert & Savannah } else if(biome.temperature >= 1.0 && biome.rainfall == 0 && !(biome instanceof BiomeGenMesa)) { //Desert & Savannah

View File

@ -8,7 +8,7 @@ import net.minecraft.init.Blocks;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraft.world.gen.structure.MapGenStructureIO; import net.minecraft.world.gen.structure.MapGenStructureIO;
import net.minecraft.world.gen.structure.StructureBoundingBox; import net.minecraft.world.gen.structure.StructureBoundingBox;
// Idk what i should do with these if you read this bob do whatever since it's not used anywhere
public class RuinFeatures { public class RuinFeatures {
public static void registerComponents() { public static void registerComponents() {