generated from GenerationsMod/GenerationsModuleTemplateOld
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
509 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...essors/structure_processors/shrines/burnedTower/BurnedTowerShrineRandomizerProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package generations.gg.generations.structures.generationsstructures.processors.structure_processors.shrines.burnedTower; | ||
|
||
import com.mojang.serialization.Codec; | ||
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.LevelReader; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class BurnedTowerShrineRandomizerProcessor extends StructureProcessor { | ||
|
||
public static final BurnedTowerShrineRandomizerProcessor INSTANCE = new BurnedTowerShrineRandomizerProcessor(); | ||
public static final Codec<BurnedTowerShrineRandomizerProcessor> CODEC = Codec.unit(() -> INSTANCE); | ||
|
||
|
||
@Nullable | ||
@Override | ||
public StructureTemplate.StructureBlockInfo processBlock(@NotNull LevelReader level, @NotNull BlockPos blockPos, @NotNull BlockPos pos, StructureTemplate.@NotNull StructureBlockInfo blockInfo, StructureTemplate.@NotNull StructureBlockInfo relativeBlockInfo, @NotNull StructurePlaceSettings settings) { | ||
// Block block = relativeBlockInfo.state().getBlock(); | ||
// if (GenerationsStructures.CONFIG.randomization.randomizeStaticShrineBlocks) | ||
|
||
return relativeBlockInfo; | ||
} | ||
|
||
|
||
|
||
@Override | ||
protected @NotNull StructureProcessorType<?> getType() { | ||
return StructureProcessors.BURNED_TOWER_SHRINE_RANDOMIZER_PROCESSOR; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...sors/structure_processors/shrines/creationTrio/CreationTrioShrineRandomizerProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package generations.gg.generations.structures.generationsstructures.processors.structure_processors.shrines.creationTrio; | ||
|
||
import com.mojang.serialization.Codec; | ||
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.LevelReader; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class CreationTrioShrineRandomizerProcessor extends StructureProcessor { | ||
|
||
public static final CreationTrioShrineRandomizerProcessor INSTANCE = new CreationTrioShrineRandomizerProcessor(); | ||
public static final Codec<CreationTrioShrineRandomizerProcessor> CODEC = Codec.unit(() -> INSTANCE); | ||
|
||
|
||
@Nullable | ||
@Override | ||
public StructureTemplate.StructureBlockInfo processBlock(@NotNull LevelReader level, @NotNull BlockPos blockPos, @NotNull BlockPos pos, StructureTemplate.@NotNull StructureBlockInfo blockInfo, StructureTemplate.@NotNull StructureBlockInfo relativeBlockInfo, @NotNull StructurePlaceSettings settings) { | ||
// Block block = relativeBlockInfo.state().getBlock(); | ||
// if (GenerationsStructures.CONFIG.randomization.randomizeStaticShrineBlocks) | ||
|
||
return relativeBlockInfo; | ||
} | ||
|
||
|
||
|
||
@Override | ||
protected @NotNull StructureProcessorType<?> getType() { | ||
return StructureProcessors.CREATION_TRIO_SHRINE_RANDOMIZER_PROCESSOR; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
.../structure_processors/shrines/forcesOfNature/ForcesOfNatureShrineRandomizerProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package generations.gg.generations.structures.generationsstructures.processors.structure_processors.shrines.forcesOfNature; | ||
|
||
import com.mojang.serialization.Codec; | ||
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.LevelReader; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class ForcesOfNatureShrineRandomizerProcessor extends StructureProcessor { | ||
|
||
public static final ForcesOfNatureShrineRandomizerProcessor INSTANCE = new ForcesOfNatureShrineRandomizerProcessor(); | ||
public static final Codec<ForcesOfNatureShrineRandomizerProcessor> CODEC = Codec.unit(() -> INSTANCE); | ||
|
||
|
||
@Nullable | ||
@Override | ||
public StructureTemplate.StructureBlockInfo processBlock(@NotNull LevelReader level, @NotNull BlockPos blockPos, @NotNull BlockPos pos, StructureTemplate.@NotNull StructureBlockInfo blockInfo, StructureTemplate.@NotNull StructureBlockInfo relativeBlockInfo, @NotNull StructurePlaceSettings settings) { | ||
// Block block = relativeBlockInfo.state().getBlock(); | ||
// if (GenerationsStructures.CONFIG.randomization.randomizeStaticShrineBlocks) | ||
|
||
return relativeBlockInfo; | ||
} | ||
|
||
|
||
|
||
@Override | ||
protected @NotNull StructureProcessorType<?> getType() { | ||
return StructureProcessors.FORCES_OF_NATURE_SHRINE_RANDOMIZER_PROCESSOR; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...res/processors/structure_processors/shrines/groudon/GroudonShrineRandomizerProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package generations.gg.generations.structures.generationsstructures.processors.structure_processors.shrines.groudon; | ||
|
||
import com.mojang.serialization.Codec; | ||
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.LevelReader; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class GroudonShrineRandomizerProcessor extends StructureProcessor { | ||
|
||
public static final GroudonShrineRandomizerProcessor INSTANCE = new GroudonShrineRandomizerProcessor(); | ||
public static final Codec<GroudonShrineRandomizerProcessor> CODEC = Codec.unit(() -> INSTANCE); | ||
|
||
|
||
@Nullable | ||
@Override | ||
public StructureTemplate.StructureBlockInfo processBlock(@NotNull LevelReader level, @NotNull BlockPos blockPos, @NotNull BlockPos pos, StructureTemplate.@NotNull StructureBlockInfo blockInfo, StructureTemplate.@NotNull StructureBlockInfo relativeBlockInfo, @NotNull StructurePlaceSettings settings) { | ||
// Block block = relativeBlockInfo.state().getBlock(); | ||
// if (GenerationsStructures.CONFIG.randomization.randomizeStaticShrineBlocks) | ||
|
||
return relativeBlockInfo; | ||
} | ||
|
||
|
||
|
||
@Override | ||
protected @NotNull StructureProcessorType<?> getType() { | ||
return StructureProcessors.GROUDON_SHRINE_RANDOMIZER_PROCESSOR; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...tures/processors/structure_processors/shrines/kyogre/KyogreShrineRandomizerProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package generations.gg.generations.structures.generationsstructures.processors.structure_processors.shrines.kyogre; | ||
|
||
import com.mojang.serialization.Codec; | ||
import generations.gg.generations.structures.generationsstructures.processors.StructureProcessors; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.LevelReader; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorType; | ||
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
public class KyogreShrineRandomizerProcessor extends StructureProcessor { | ||
|
||
public static final KyogreShrineRandomizerProcessor INSTANCE = new KyogreShrineRandomizerProcessor(); | ||
public static final Codec<KyogreShrineRandomizerProcessor> CODEC = Codec.unit(() -> INSTANCE); | ||
|
||
|
||
@Nullable | ||
@Override | ||
public StructureTemplate.StructureBlockInfo processBlock(@NotNull LevelReader level, @NotNull BlockPos blockPos, @NotNull BlockPos pos, StructureTemplate.@NotNull StructureBlockInfo blockInfo, StructureTemplate.@NotNull StructureBlockInfo relativeBlockInfo, @NotNull StructurePlaceSettings settings) { | ||
// Block block = relativeBlockInfo.state().getBlock(); | ||
// if (GenerationsStructures.CONFIG.randomization.randomizeStaticShrineBlocks) | ||
|
||
return relativeBlockInfo; | ||
} | ||
|
||
|
||
|
||
@Override | ||
protected @NotNull StructureProcessorType<?> getType() { | ||
return StructureProcessors.KYOGRE_SHRINE_RANDOMIZER_PROCESSOR; | ||
} | ||
} |
Oops, something went wrong.