public CityStructure(Level level, BlockPosition pos) { this.level = level; this.pos = pos; }
// Building.java package com.example.minecraft.feature;
// CityStructure.java package com.example.minecraft.feature; Minecraft v1.19.1
import net.minecraft.core.Holder; import net.minecraft.core.Registry; import net.minecraft.world.level.levelgen.feature.ConfiguredFeature; import net.minecraft.world.level.levelgen.feature.Feature; import net.minecraft.world.level.levelgen.feature.configurations.StructureFeatureConfiguration; import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplateManager;
import java.util.Random;
import net.minecraft.core.BlockPosition; import net.minecraft.core.Holder; import net.minecraft.world.level.Level; import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate; import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplateManager;
// CityFeature.java package com.example.minecraft.feature; public CityStructure(Level level, BlockPosition pos) { this
public Building(Level level, BlockPosition pos, int districtIndex, int buildingIndex) { this.level = level; this.pos = pos; this.districtIndex = districtIndex; this.buildingIndex = buildingIndex; }