Package com.minecolonies.core.structures
Class MineColoniesStructures
java.lang.Object
com.minecolonies.core.structures.MineColoniesStructures
Thanks to: https://github.com/TelepathicGrunt/StructureTutorialMod/tree/1.18.x-Forge-Jigsaw
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.neoforged.neoforge.registries.DeferredRegister<net.minecraft.world.level.levelgen.structure.StructureType<?>> We are using the Deferred Registry system to register our structure as this is the preferred way on Forge.static final net.neoforged.neoforge.registries.DeferredHolder<net.minecraft.world.level.levelgen.structure.StructureType<?>, net.minecraft.world.level.levelgen.structure.StructureType<EmptyColonyStructure>> Empty colony structure. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFERRED_REGISTRY_STRUCTURE
public static final net.neoforged.neoforge.registries.DeferredRegister<net.minecraft.world.level.levelgen.structure.StructureType<?>> DEFERRED_REGISTRY_STRUCTUREWe are using the Deferred Registry system to register our structure as this is the preferred way on Forge. This will handle registering the base structure for us at the correct time so we don't have to handle it ourselves. -
EMPTY_COLONY
public static final net.neoforged.neoforge.registries.DeferredHolder<net.minecraft.world.level.levelgen.structure.StructureType<?>,net.minecraft.world.level.levelgen.structure.StructureType<EmptyColonyStructure>> EMPTY_COLONYEmpty colony structure.
-
-
Constructor Details
-
MineColoniesStructures
public MineColoniesStructures()
-