Skip to content

Commit

Permalink
Remove Old Village Generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JT122406 committed Apr 22, 2024
1 parent 948e05b commit 40c4931
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 101 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
accessWidener v2 named

accessible field net/minecraft/data/worldgen/ProcessorLists EMPTY Lnet/minecraft/resources/ResourceKey;
accessible field net/minecraft/world/level/levelgen/structure/pools/StructureTemplatePool templates Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
mutable field net/minecraft/world/level/levelgen/structure/pools/StructureTemplatePool rawTemplates Ljava/util/List;
accessible field net/minecraft/world/level/levelgen/structure/pools/StructureTemplatePool rawTemplates Ljava/util/List;
accessible field net/minecraft/data/worldgen/PlainVillagePools TERMINATORS_KEY Lnet/minecraft/resources/ResourceKey;
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import generations.gg.generations.structures.generationsstructures.GenerationsStructures;
import generations.gg.generations.structures.generationsstructures.integration.Default;
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors;
import generations.gg.generations.structures.generationsstructures.village.PlaceInVillage;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents;

/**
* Fabric initializer for Generations Structures
Expand All @@ -18,6 +16,5 @@ public class GenerationsStructuresFabric implements ModInitializer {
public void onInitialize() {
GenerationsStructures.init(new Default()); //TODO: FabricLoader.getInstance().isModLoaded(potionstudios.byg.BYG.MOD_ID) ? new BYG() : new Default()
StructureProcessors.init();
ServerLifecycleEvents.SERVER_STARTING.register(PlaceInVillage::addStructuresToVillages);
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package generations.gg.generations.structures.generationsstructures.forge;

import generations.gg.generations.structures.generationsstructures.GenerationsStructures;
import generations.gg.generations.structures.generationsstructures.forge.events.LifeCycleEvents;
import generations.gg.generations.structures.generationsstructures.forge.integration.BOP;
import generations.gg.generations.structures.generationsstructures.integration.Default;
import generations.gg.generations.structures.generationsstructures.integration.Integration;
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.ModList;
import net.minecraftforge.fml.common.Mod;
Expand All @@ -28,7 +26,6 @@ public GenerationsStructuresForge() {
GenerationsStructures.init(integration);
IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
bus.addListener(this::commonSetup);
MinecraftForge.EVENT_BUS.addListener(LifeCycleEvents::aboutToStartEvent);
}

/**
Expand Down

This file was deleted.

0 comments on commit 40c4931

Please sign in to comment.