[Change] Bring back parts of BYG integration
This commit is contained in:
parent
a6ad8b689f
commit
de7b6afb5d
3 changed files with 16 additions and 9 deletions
|
@ -2,6 +2,12 @@ package org.betterx.betterend.integration.byg;
|
|||
|
||||
import org.betterx.bclib.integration.ModIntegration;
|
||||
import org.betterx.betterend.integration.EndBiomeIntegration;
|
||||
import org.betterx.betterend.integration.Integrations;
|
||||
import org.betterx.betterend.integration.byg.features.BYGFeatures;
|
||||
import org.betterx.worlds.together.tag.v3.CommonBlockTags;
|
||||
import org.betterx.worlds.together.tag.v3.TagManager;
|
||||
|
||||
import net.minecraft.world.level.block.Block;
|
||||
|
||||
public class BYGIntegration extends ModIntegration implements EndBiomeIntegration {
|
||||
public BYGIntegration() {
|
||||
|
@ -10,13 +16,13 @@ public class BYGIntegration extends ModIntegration implements EndBiomeIntegratio
|
|||
|
||||
@Override
|
||||
public void init() {
|
||||
/*Block block = Integrations.BYG.getBlock("ivis_phylium");
|
||||
if (block != null) {
|
||||
TagManager.addTags(block, CommonBlockTags.END_STONES, CommonBlockTags.GEN_END_STONES);
|
||||
}
|
||||
BYGBlocks.register();
|
||||
BYGFeatures.register();
|
||||
BYGBiomes.register();*/
|
||||
Block block = Integrations.BYG.getBlock("ivis_phylium");
|
||||
if (block != null) {
|
||||
TagManager.BLOCKS.add(block, CommonBlockTags.END_STONES, CommonBlockTags.GEN_END_STONES);
|
||||
}
|
||||
BYGBlocks.register();
|
||||
BYGFeatures.register();
|
||||
//BYGBiomes.register();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -36,7 +36,8 @@ public class OldBulbisGardens extends EndBiome.Config {
|
|||
BiomeSpecialEffects effects = biome.value().getSpecialEffects();
|
||||
|
||||
Block ivis = Integrations.BYG.getBlock("ivis_phylium");
|
||||
// Block origin = biome.getGenerationSettings()
|
||||
// Block origin = biome.value()
|
||||
// .getGenerationSettings()
|
||||
// .getSurfaceBuilderConfig()
|
||||
// .getTopMaterial()
|
||||
// .getBlock();
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
"bclib": "<2.0.13"
|
||||
},
|
||||
"suggests": {
|
||||
"byg": ">=1.1.3",
|
||||
"byg": ">=2.0.0",
|
||||
"blockus": ">=2.0.2",
|
||||
"nourish": ">=1.2.0",
|
||||
"colored_lights": ">=1.0.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue