Update to BCLib 0.3.0
This commit is contained in:
parent
1a52251af0
commit
b2431153dc
294 changed files with 7484 additions and 1440 deletions
|
@ -10,7 +10,11 @@ public class EndAttributes {
|
|||
public final static Attribute BLINDNESS_RESISTANCE = registerAttribute("generic.blindness_resistance", 0.0, true);
|
||||
|
||||
public static Attribute registerAttribute(String name, double value, boolean syncable) {
|
||||
return Registry.register(Registry.ATTRIBUTE, BetterEnd.makeID(name), new EndAttribute("attribute.name." + name, value).setSyncable(syncable));
|
||||
return Registry.register(
|
||||
Registry.ATTRIBUTE,
|
||||
BetterEnd.makeID(name),
|
||||
new EndAttribute("attribute.name." + name, value).setSyncable(syncable)
|
||||
);
|
||||
}
|
||||
|
||||
public static AttributeSupplier.Builder addLivingEntityAttributes(AttributeSupplier.Builder builder) {
|
||||
|
|
|
@ -135,8 +135,13 @@ public class EndBiomes {
|
|||
biomeRegistry.forEach((biome) -> {
|
||||
if (biome.getBiomeCategory() == BiomeCategory.THEEND) {
|
||||
ResourceLocation id = biomeRegistry.getKey(biome);
|
||||
if (!id.getNamespace().equals("ultra_amplified_dimension") && Configs.BIOME_CONFIG.getBoolean(id, "enabled", true)) {
|
||||
if (!LAND_BIOMES.containsImmutable(id) && !VOID_BIOMES.containsImmutable(id) && !SUBBIOMES_UNMUTABLES.contains(id)) {
|
||||
if (!id.getNamespace().equals("ultra_amplified_dimension") && Configs.BIOME_CONFIG.getBoolean(
|
||||
id,
|
||||
"enabled",
|
||||
true
|
||||
)) {
|
||||
if (!LAND_BIOMES.containsImmutable(id) && !VOID_BIOMES.containsImmutable(id) && !SUBBIOMES_UNMUTABLES
|
||||
.contains(id)) {
|
||||
JsonObject config = configs.get(id.getNamespace());
|
||||
if (config == null) {
|
||||
config = loadJsonConfig(id.getNamespace());
|
||||
|
|
|
@ -15,11 +15,26 @@ import ru.betterend.blocks.entities.InfusionPedestalEntity;
|
|||
import ru.betterend.blocks.entities.PedestalBlockEntity;
|
||||
|
||||
public class EndBlockEntities {
|
||||
public final static BlockEntityType<EndStoneSmelterBlockEntity> END_STONE_SMELTER = registerBlockEntity(EndStoneSmelter.ID, FabricBlockEntityTypeBuilder.create(EndStoneSmelterBlockEntity::new, EndBlocks.END_STONE_SMELTER));
|
||||
public final static BlockEntityType<PedestalBlockEntity> PEDESTAL = registerBlockEntity("pedestal", FabricBlockEntityTypeBuilder.create(PedestalBlockEntity::new, getPedestals()));
|
||||
public final static BlockEntityType<EternalPedestalEntity> ETERNAL_PEDESTAL = registerBlockEntity("eternal_pedestal", FabricBlockEntityTypeBuilder.create(EternalPedestalEntity::new, EndBlocks.ETERNAL_PEDESTAL));
|
||||
public final static BlockEntityType<InfusionPedestalEntity> INFUSION_PEDESTAL = registerBlockEntity("infusion_pedestal", FabricBlockEntityTypeBuilder.create(InfusionPedestalEntity::new, EndBlocks.INFUSION_PEDESTAL));
|
||||
public final static BlockEntityType<BlockEntityHydrothermalVent> HYDROTHERMAL_VENT = registerBlockEntity("hydrother_malvent", FabricBlockEntityTypeBuilder.create(BlockEntityHydrothermalVent::new, EndBlocks.HYDROTHERMAL_VENT));
|
||||
public final static BlockEntityType<EndStoneSmelterBlockEntity> END_STONE_SMELTER = registerBlockEntity(
|
||||
EndStoneSmelter.ID,
|
||||
FabricBlockEntityTypeBuilder.create(EndStoneSmelterBlockEntity::new, EndBlocks.END_STONE_SMELTER)
|
||||
);
|
||||
public final static BlockEntityType<PedestalBlockEntity> PEDESTAL = registerBlockEntity(
|
||||
"pedestal",
|
||||
FabricBlockEntityTypeBuilder.create(PedestalBlockEntity::new, getPedestals())
|
||||
);
|
||||
public final static BlockEntityType<EternalPedestalEntity> ETERNAL_PEDESTAL = registerBlockEntity(
|
||||
"eternal_pedestal",
|
||||
FabricBlockEntityTypeBuilder.create(EternalPedestalEntity::new, EndBlocks.ETERNAL_PEDESTAL)
|
||||
);
|
||||
public final static BlockEntityType<InfusionPedestalEntity> INFUSION_PEDESTAL = registerBlockEntity(
|
||||
"infusion_pedestal",
|
||||
FabricBlockEntityTypeBuilder.create(InfusionPedestalEntity::new, EndBlocks.INFUSION_PEDESTAL)
|
||||
);
|
||||
public final static BlockEntityType<BlockEntityHydrothermalVent> HYDROTHERMAL_VENT = registerBlockEntity(
|
||||
"hydrother_malvent",
|
||||
FabricBlockEntityTypeBuilder.create(BlockEntityHydrothermalVent::new, EndBlocks.HYDROTHERMAL_VENT)
|
||||
);
|
||||
|
||||
public static <T extends BlockEntity> BlockEntityType<T> registerBlockEntity(String id, FabricBlockEntityTypeBuilder<T> builder) {
|
||||
return Registry.register(Registry.BLOCK_ENTITY_TYPE, BetterEnd.makeID(id), builder.build(null));
|
||||
|
@ -31,6 +46,9 @@ public class EndBlockEntities {
|
|||
}
|
||||
|
||||
static Block[] getPedestals() {
|
||||
return EndBlocks.getModBlocks().stream().filter(block -> block instanceof PedestalBlock && !((PedestalBlock) block).hasUniqueEntity()).toArray(Block[]::new);
|
||||
return EndBlocks.getModBlocks()
|
||||
.stream()
|
||||
.filter(block -> block instanceof PedestalBlock && !((PedestalBlock) block).hasUniqueEntity())
|
||||
.toArray(Block[]::new);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -125,7 +125,16 @@ import ru.betterend.blocks.UmbrellaTreeClusterEmptyBlock;
|
|||
import ru.betterend.blocks.UmbrellaTreeMembraneBlock;
|
||||
import ru.betterend.blocks.UmbrellaTreeSaplingBlock;
|
||||
import ru.betterend.blocks.VentBubbleColumnBlock;
|
||||
import ru.betterend.blocks.basis.*;
|
||||
import ru.betterend.blocks.basis.EndAnvilBlock;
|
||||
import ru.betterend.blocks.basis.EndTerrainBlock;
|
||||
import ru.betterend.blocks.basis.EndTripleTerrain;
|
||||
import ru.betterend.blocks.basis.EndUnderwaterWallPlantBlock;
|
||||
import ru.betterend.blocks.basis.EndWallMushroom;
|
||||
import ru.betterend.blocks.basis.EndWallPlantBlock;
|
||||
import ru.betterend.blocks.basis.FurBlock;
|
||||
import ru.betterend.blocks.basis.PottableCropBlock;
|
||||
import ru.betterend.blocks.basis.PottableLeavesBlock;
|
||||
import ru.betterend.blocks.basis.StoneLanternBlock;
|
||||
import ru.betterend.blocks.complex.ColoredMaterial;
|
||||
import ru.betterend.blocks.complex.CrystalSubblocksMaterial;
|
||||
import ru.betterend.blocks.complex.MetalMaterial;
|
||||
|
@ -142,22 +151,37 @@ import java.util.stream.Collectors;
|
|||
public class EndBlocks extends BlocksRegistry {
|
||||
// Terrain //
|
||||
public static final Block ENDSTONE_DUST = registerBlock("endstone_dust", new EndstoneDustBlock());
|
||||
public static final Block END_MYCELIUM = registerBlock("end_mycelium", new EndTerrainBlock(MaterialColor.COLOR_LIGHT_BLUE));
|
||||
public static final Block END_MYCELIUM = registerBlock(
|
||||
"end_mycelium",
|
||||
new EndTerrainBlock(MaterialColor.COLOR_LIGHT_BLUE)
|
||||
);
|
||||
public static final Block END_MOSS = registerBlock("end_moss", new EndTerrainBlock(MaterialColor.COLOR_CYAN));
|
||||
public static final Block CHORUS_NYLIUM = registerBlock("chorus_nylium", new EndTerrainBlock(MaterialColor.COLOR_MAGENTA));
|
||||
public static final Block CHORUS_NYLIUM = registerBlock(
|
||||
"chorus_nylium",
|
||||
new EndTerrainBlock(MaterialColor.COLOR_MAGENTA)
|
||||
);
|
||||
public static final Block CAVE_MOSS = registerBlock("cave_moss", new EndTripleTerrain(MaterialColor.COLOR_PURPLE));
|
||||
public static final Block CRYSTAL_MOSS = registerBlock("crystal_moss", new EndTerrainBlock(MaterialColor.COLOR_PINK));
|
||||
public static final Block CRYSTAL_MOSS = registerBlock(
|
||||
"crystal_moss",
|
||||
new EndTerrainBlock(MaterialColor.COLOR_PINK)
|
||||
);
|
||||
public static final Block SHADOW_GRASS = registerBlock("shadow_grass", new ShadowGrassBlock());
|
||||
public static final Block PINK_MOSS = registerBlock("pink_moss", new EndTerrainBlock(MaterialColor.COLOR_PINK));
|
||||
public static final Block AMBER_MOSS = registerBlock("amber_moss", new EndTerrainBlock(MaterialColor.COLOR_ORANGE));
|
||||
public static final Block JUNGLE_MOSS = registerBlock("jungle_moss", new EndTerrainBlock(MaterialColor.COLOR_GREEN));
|
||||
public static final Block JUNGLE_MOSS = registerBlock(
|
||||
"jungle_moss",
|
||||
new EndTerrainBlock(MaterialColor.COLOR_GREEN)
|
||||
);
|
||||
public static final Block SANGNUM = registerBlock("sangnum", new EndTerrainBlock(MaterialColor.COLOR_RED));
|
||||
public static final Block RUTISCUS = registerBlock("rutiscus", new EndTerrainBlock(MaterialColor.COLOR_ORANGE));
|
||||
|
||||
// Roads //
|
||||
public static final Block END_MYCELIUM_PATH = registerBlock("end_mycelium_path", new BasePathBlock(END_MYCELIUM));
|
||||
public static final Block END_MOSS_PATH = registerBlock("end_moss_path", new BasePathBlock(END_MOSS));
|
||||
public static final Block CHORUS_NYLIUM_PATH = registerBlock("chorus_nylium_path", new BasePathBlock(CHORUS_NYLIUM));
|
||||
public static final Block CHORUS_NYLIUM_PATH = registerBlock(
|
||||
"chorus_nylium_path",
|
||||
new BasePathBlock(CHORUS_NYLIUM)
|
||||
);
|
||||
public static final Block CAVE_MOSS_PATH = registerBlock("cave_moss_path", new BasePathBlock(CAVE_MOSS));
|
||||
public static final Block CRYSTAL_MOSS_PATH = registerBlock("crystal_moss_path", new BasePathBlock(CRYSTAL_MOSS));
|
||||
public static final Block SHADOW_GRASS_PATH = registerBlock("shadow_grass_path", new BasePathBlock(SHADOW_GRASS));
|
||||
|
@ -168,9 +192,18 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final Block RUTISCUS_PATH = registerBlock("rutiscus_path", new BasePathBlock(RUTISCUS));
|
||||
|
||||
public static final Block MOSSY_OBSIDIAN = registerBlock("mossy_obsidian", new MossyObsidian());
|
||||
public static final Block DRAGON_BONE_BLOCK = registerBlock("dragon_bone_block", new BaseRotatedPillarBlock(Blocks.BONE_BLOCK));
|
||||
public static final Block DRAGON_BONE_STAIRS = registerBlock("dragon_bone_stairs", new BaseStairsBlock(DRAGON_BONE_BLOCK));
|
||||
public static final Block DRAGON_BONE_SLAB = registerBlock("dragon_bone_slab", new BaseSlabBlock(DRAGON_BONE_BLOCK));
|
||||
public static final Block DRAGON_BONE_BLOCK = registerBlock(
|
||||
"dragon_bone_block",
|
||||
new BaseRotatedPillarBlock(Blocks.BONE_BLOCK)
|
||||
);
|
||||
public static final Block DRAGON_BONE_STAIRS = registerBlock(
|
||||
"dragon_bone_stairs",
|
||||
new BaseStairsBlock(DRAGON_BONE_BLOCK)
|
||||
);
|
||||
public static final Block DRAGON_BONE_SLAB = registerBlock(
|
||||
"dragon_bone_slab",
|
||||
new BaseSlabBlock(DRAGON_BONE_BLOCK)
|
||||
);
|
||||
public static final Block MOSSY_DRAGON_BONE = registerBlock("mossy_dragon_bone", new MossyDragonBoneBlock());
|
||||
|
||||
// Rocks //
|
||||
|
@ -178,82 +211,203 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final StoneMaterial VIOLECITE = new StoneMaterial("violecite", MaterialColor.COLOR_PURPLE);
|
||||
public static final StoneMaterial SULPHURIC_ROCK = new StoneMaterial("sulphuric_rock", MaterialColor.COLOR_BROWN);
|
||||
public static final StoneMaterial VIRID_JADESTONE = new StoneMaterial("virid_jadestone", MaterialColor.COLOR_GREEN);
|
||||
public static final StoneMaterial AZURE_JADESTONE = new StoneMaterial("azure_jadestone", MaterialColor.COLOR_LIGHT_BLUE);
|
||||
public static final StoneMaterial SANDY_JADESTONE = new StoneMaterial("sandy_jadestone", MaterialColor.COLOR_YELLOW);
|
||||
public static final StoneMaterial AZURE_JADESTONE = new StoneMaterial(
|
||||
"azure_jadestone",
|
||||
MaterialColor.COLOR_LIGHT_BLUE
|
||||
);
|
||||
public static final StoneMaterial SANDY_JADESTONE = new StoneMaterial(
|
||||
"sandy_jadestone",
|
||||
MaterialColor.COLOR_YELLOW
|
||||
);
|
||||
public static final StoneMaterial UMBRALITH = new StoneMaterial("umbralith", MaterialColor.DEEPSLATE);
|
||||
public static final Block BRIMSTONE = registerBlock("brimstone", new BrimstoneBlock());
|
||||
public static final Block SULPHUR_CRYSTAL = registerBlock("sulphur_crystal", new SulphurCrystalBlock());
|
||||
public static final Block MISSING_TILE = registerBlock("missing_tile", new MissingTileBlock());
|
||||
public static final Block ENDSTONE_FLOWER_POT = registerBlock("endstone_flower_pot", new FlowerPotBlock(Blocks.END_STONE));
|
||||
public static final Block ENDSTONE_FLOWER_POT = registerBlock(
|
||||
"endstone_flower_pot",
|
||||
new FlowerPotBlock(Blocks.END_STONE)
|
||||
);
|
||||
|
||||
public static final Block FLAVOLITE_RUNED = registerBlock("flavolite_runed", new RunedFlavolite(false));
|
||||
public static final Block FLAVOLITE_RUNED_ETERNAL = registerBlock("flavolite_runed_eternal", new RunedFlavolite(true));
|
||||
public static final Block FLAVOLITE_RUNED_ETERNAL = registerBlock(
|
||||
"flavolite_runed_eternal",
|
||||
new RunedFlavolite(true)
|
||||
);
|
||||
|
||||
public static final Block ANDESITE_PEDESTAL = registerBlock("andesite_pedestal", new PedestalVanilla(Blocks.ANDESITE));
|
||||
public static final Block ANDESITE_PEDESTAL = registerBlock(
|
||||
"andesite_pedestal",
|
||||
new PedestalVanilla(Blocks.ANDESITE)
|
||||
);
|
||||
public static final Block DIORITE_PEDESTAL = registerBlock("diorite_pedestal", new PedestalVanilla(Blocks.DIORITE));
|
||||
public static final Block GRANITE_PEDESTAL = registerBlock("granite_pedestal", new PedestalVanilla(Blocks.GRANITE));
|
||||
public static final Block QUARTZ_PEDESTAL = registerBlock("quartz_pedestal", new PedestalVanilla(Blocks.QUARTZ_BLOCK));
|
||||
public static final Block PURPUR_PEDESTAL = registerBlock("purpur_pedestal", new PedestalVanilla(Blocks.PURPUR_BLOCK));
|
||||
public static final Block QUARTZ_PEDESTAL = registerBlock(
|
||||
"quartz_pedestal",
|
||||
new PedestalVanilla(Blocks.QUARTZ_BLOCK)
|
||||
);
|
||||
public static final Block PURPUR_PEDESTAL = registerBlock(
|
||||
"purpur_pedestal",
|
||||
new PedestalVanilla(Blocks.PURPUR_BLOCK)
|
||||
);
|
||||
|
||||
public static final Block HYDROTHERMAL_VENT = registerBlock("hydrothermal_vent", new HydrothermalVentBlock());
|
||||
public static final Block VENT_BUBBLE_COLUMN = registerEndBlockOnly("vent_bubble_column", new VentBubbleColumnBlock());
|
||||
public static final Block VENT_BUBBLE_COLUMN = registerEndBlockOnly(
|
||||
"vent_bubble_column",
|
||||
new VentBubbleColumnBlock()
|
||||
);
|
||||
|
||||
public static final Block DENSE_SNOW = registerBlock("dense_snow", new DenseSnowBlock());
|
||||
public static final Block EMERALD_ICE = registerBlock("emerald_ice", new EmeraldIceBlock());
|
||||
public static final Block DENSE_EMERALD_ICE = registerBlock("dense_emerald_ice", new DenseEmeraldIceBlock());
|
||||
public static final Block ANCIENT_EMERALD_ICE = registerBlock("ancient_emerald_ice", new AncientEmeraldIceBlock());
|
||||
|
||||
public static final Block END_STONE_STALACTITE = registerBlock("end_stone_stalactite", new StalactiteBlock(Blocks.END_STONE));
|
||||
public static final Block END_STONE_STALACTITE_CAVEMOSS = registerBlock("end_stone_stalactite_cavemoss", new StalactiteBlock(CAVE_MOSS));
|
||||
public static final Block END_STONE_STALACTITE = registerBlock(
|
||||
"end_stone_stalactite",
|
||||
new StalactiteBlock(Blocks.END_STONE)
|
||||
);
|
||||
public static final Block END_STONE_STALACTITE_CAVEMOSS = registerBlock(
|
||||
"end_stone_stalactite_cavemoss",
|
||||
new StalactiteBlock(CAVE_MOSS)
|
||||
);
|
||||
|
||||
// Wooden Materials And Trees //
|
||||
public static final Block MOSSY_GLOWSHROOM_SAPLING = registerBlock("mossy_glowshroom_sapling", new MossyGlowshroomSaplingBlock());
|
||||
public static final Block MOSSY_GLOWSHROOM_CAP = registerBlock("mossy_glowshroom_cap", new MossyGlowshroomCapBlock());
|
||||
public static final Block MOSSY_GLOWSHROOM_HYMENOPHORE = registerBlock("mossy_glowshroom_hymenophore", new GlowingHymenophoreBlock());
|
||||
public static final Block MOSSY_GLOWSHROOM_FUR = registerBlock("mossy_glowshroom_fur", new FurBlock(MOSSY_GLOWSHROOM_SAPLING, 15, 16, true));
|
||||
public static final WoodenMaterial MOSSY_GLOWSHROOM = new WoodenMaterial("mossy_glowshroom", MaterialColor.COLOR_GRAY, MaterialColor.WOOD);
|
||||
public static final Block MOSSY_GLOWSHROOM_SAPLING = registerBlock(
|
||||
"mossy_glowshroom_sapling",
|
||||
new MossyGlowshroomSaplingBlock()
|
||||
);
|
||||
public static final Block MOSSY_GLOWSHROOM_CAP = registerBlock(
|
||||
"mossy_glowshroom_cap",
|
||||
new MossyGlowshroomCapBlock()
|
||||
);
|
||||
public static final Block MOSSY_GLOWSHROOM_HYMENOPHORE = registerBlock(
|
||||
"mossy_glowshroom_hymenophore",
|
||||
new GlowingHymenophoreBlock()
|
||||
);
|
||||
public static final Block MOSSY_GLOWSHROOM_FUR = registerBlock(
|
||||
"mossy_glowshroom_fur",
|
||||
new FurBlock(MOSSY_GLOWSHROOM_SAPLING, 15, 16, true)
|
||||
);
|
||||
public static final WoodenMaterial MOSSY_GLOWSHROOM = new WoodenMaterial(
|
||||
"mossy_glowshroom",
|
||||
MaterialColor.COLOR_GRAY,
|
||||
MaterialColor.WOOD
|
||||
);
|
||||
|
||||
public static final Block PYTHADENDRON_SAPLING = registerBlock("pythadendron_sapling", new PythadendronSaplingBlock());
|
||||
public static final Block PYTHADENDRON_LEAVES = registerBlock("pythadendron_leaves", new PottableLeavesBlock(PYTHADENDRON_SAPLING, MaterialColor.COLOR_MAGENTA));
|
||||
public static final WoodenMaterial PYTHADENDRON = new WoodenMaterial("pythadendron", MaterialColor.COLOR_MAGENTA, MaterialColor.COLOR_PURPLE);
|
||||
public static final Block PYTHADENDRON_SAPLING = registerBlock(
|
||||
"pythadendron_sapling",
|
||||
new PythadendronSaplingBlock()
|
||||
);
|
||||
public static final Block PYTHADENDRON_LEAVES = registerBlock(
|
||||
"pythadendron_leaves",
|
||||
new PottableLeavesBlock(PYTHADENDRON_SAPLING, MaterialColor.COLOR_MAGENTA)
|
||||
);
|
||||
public static final WoodenMaterial PYTHADENDRON = new WoodenMaterial(
|
||||
"pythadendron",
|
||||
MaterialColor.COLOR_MAGENTA,
|
||||
MaterialColor.COLOR_PURPLE
|
||||
);
|
||||
|
||||
public static final Block END_LOTUS_SEED = registerBlock("end_lotus_seed", new EndLotusSeedBlock());
|
||||
public static final Block END_LOTUS_STEM = registerBlock("end_lotus_stem", new EndLotusStemBlock());
|
||||
public static final Block END_LOTUS_LEAF = registerEndBlockOnly("end_lotus_leaf", new EndLotusLeafBlock());
|
||||
public static final Block END_LOTUS_FLOWER = registerEndBlockOnly("end_lotus_flower", new EndLotusFlowerBlock());
|
||||
public static final WoodenMaterial END_LOTUS = new WoodenMaterial("end_lotus", MaterialColor.COLOR_LIGHT_BLUE, MaterialColor.COLOR_CYAN);
|
||||
public static final WoodenMaterial END_LOTUS = new WoodenMaterial(
|
||||
"end_lotus",
|
||||
MaterialColor.COLOR_LIGHT_BLUE,
|
||||
MaterialColor.COLOR_CYAN
|
||||
);
|
||||
|
||||
public static final Block LACUGROVE_SAPLING = registerBlock("lacugrove_sapling", new LacugroveSaplingBlock());
|
||||
public static final Block LACUGROVE_LEAVES = registerBlock("lacugrove_leaves", new PottableLeavesBlock(LACUGROVE_SAPLING, MaterialColor.COLOR_CYAN));
|
||||
public static final WoodenMaterial LACUGROVE = new WoodenMaterial("lacugrove", MaterialColor.COLOR_BROWN, MaterialColor.COLOR_YELLOW);
|
||||
public static final Block LACUGROVE_LEAVES = registerBlock(
|
||||
"lacugrove_leaves",
|
||||
new PottableLeavesBlock(LACUGROVE_SAPLING, MaterialColor.COLOR_CYAN)
|
||||
);
|
||||
public static final WoodenMaterial LACUGROVE = new WoodenMaterial(
|
||||
"lacugrove",
|
||||
MaterialColor.COLOR_BROWN,
|
||||
MaterialColor.COLOR_YELLOW
|
||||
);
|
||||
|
||||
public static final Block DRAGON_TREE_SAPLING = registerBlock("dragon_tree_sapling", new DragonTreeSaplingBlock());
|
||||
public static final Block DRAGON_TREE_LEAVES = registerBlock("dragon_tree_leaves", new PottableLeavesBlock(DRAGON_TREE_SAPLING, MaterialColor.COLOR_MAGENTA));
|
||||
public static final WoodenMaterial DRAGON_TREE = new WoodenMaterial("dragon_tree", MaterialColor.COLOR_BLACK, MaterialColor.COLOR_MAGENTA);
|
||||
public static final Block DRAGON_TREE_LEAVES = registerBlock(
|
||||
"dragon_tree_leaves",
|
||||
new PottableLeavesBlock(DRAGON_TREE_SAPLING, MaterialColor.COLOR_MAGENTA)
|
||||
);
|
||||
public static final WoodenMaterial DRAGON_TREE = new WoodenMaterial(
|
||||
"dragon_tree",
|
||||
MaterialColor.COLOR_BLACK,
|
||||
MaterialColor.COLOR_MAGENTA
|
||||
);
|
||||
|
||||
public static final Block TENANEA_SAPLING = registerBlock("tenanea_sapling", new TenaneaSaplingBlock());
|
||||
public static final Block TENANEA_LEAVES = registerBlock("tenanea_leaves", new PottableLeavesBlock(TENANEA_SAPLING, MaterialColor.COLOR_PINK));
|
||||
public static final Block TENANEA_LEAVES = registerBlock(
|
||||
"tenanea_leaves",
|
||||
new PottableLeavesBlock(TENANEA_SAPLING, MaterialColor.COLOR_PINK)
|
||||
);
|
||||
public static final Block TENANEA_FLOWERS = registerBlock("tenanea_flowers", new TenaneaFlowersBlock());
|
||||
public static final Block TENANEA_OUTER_LEAVES = registerBlock("tenanea_outer_leaves", new FurBlock(TENANEA_SAPLING, 32));
|
||||
public static final WoodenMaterial TENANEA = new WoodenMaterial("tenanea", MaterialColor.COLOR_BROWN, MaterialColor.COLOR_PINK);
|
||||
public static final Block TENANEA_OUTER_LEAVES = registerBlock(
|
||||
"tenanea_outer_leaves",
|
||||
new FurBlock(TENANEA_SAPLING, 32)
|
||||
);
|
||||
public static final WoodenMaterial TENANEA = new WoodenMaterial(
|
||||
"tenanea",
|
||||
MaterialColor.COLOR_BROWN,
|
||||
MaterialColor.COLOR_PINK
|
||||
);
|
||||
|
||||
public static final Block HELIX_TREE_SAPLING = registerBlock("helix_tree_sapling", new HelixTreeSaplingBlock());
|
||||
public static final Block HELIX_TREE_LEAVES = registerBlock("helix_tree_leaves", new HelixTreeLeavesBlock());
|
||||
public static final WoodenMaterial HELIX_TREE = new WoodenMaterial("helix_tree", MaterialColor.COLOR_GRAY, MaterialColor.COLOR_ORANGE);
|
||||
public static final WoodenMaterial HELIX_TREE = new WoodenMaterial(
|
||||
"helix_tree",
|
||||
MaterialColor.COLOR_GRAY,
|
||||
MaterialColor.COLOR_ORANGE
|
||||
);
|
||||
|
||||
public static final Block UMBRELLA_TREE_SAPLING = registerBlock("umbrella_tree_sapling", new UmbrellaTreeSaplingBlock());
|
||||
public static final Block UMBRELLA_TREE_MEMBRANE = registerBlock("umbrella_tree_membrane", new UmbrellaTreeMembraneBlock());
|
||||
public static final Block UMBRELLA_TREE_CLUSTER = registerBlock("umbrella_tree_cluster", new UmbrellaTreeClusterBlock());
|
||||
public static final Block UMBRELLA_TREE_CLUSTER_EMPTY = registerBlock("umbrella_tree_cluster_empty", new UmbrellaTreeClusterEmptyBlock());
|
||||
public static final WoodenMaterial UMBRELLA_TREE = new WoodenMaterial("umbrella_tree", MaterialColor.COLOR_BLUE, MaterialColor.COLOR_GREEN);
|
||||
public static final Block UMBRELLA_TREE_SAPLING = registerBlock(
|
||||
"umbrella_tree_sapling",
|
||||
new UmbrellaTreeSaplingBlock()
|
||||
);
|
||||
public static final Block UMBRELLA_TREE_MEMBRANE = registerBlock(
|
||||
"umbrella_tree_membrane",
|
||||
new UmbrellaTreeMembraneBlock()
|
||||
);
|
||||
public static final Block UMBRELLA_TREE_CLUSTER = registerBlock(
|
||||
"umbrella_tree_cluster",
|
||||
new UmbrellaTreeClusterBlock()
|
||||
);
|
||||
public static final Block UMBRELLA_TREE_CLUSTER_EMPTY = registerBlock(
|
||||
"umbrella_tree_cluster_empty",
|
||||
new UmbrellaTreeClusterEmptyBlock()
|
||||
);
|
||||
public static final WoodenMaterial UMBRELLA_TREE = new WoodenMaterial(
|
||||
"umbrella_tree",
|
||||
MaterialColor.COLOR_BLUE,
|
||||
MaterialColor.COLOR_GREEN
|
||||
);
|
||||
|
||||
public static final Block JELLYSHROOM_CAP_PURPLE = registerBlock("jellyshroom_cap_purple", new JellyshroomCapBlock(217, 142, 255, 164, 0, 255));
|
||||
public static final WoodenMaterial JELLYSHROOM = new WoodenMaterial("jellyshroom", MaterialColor.COLOR_PURPLE, MaterialColor.COLOR_LIGHT_BLUE);
|
||||
public static final Block JELLYSHROOM_CAP_PURPLE = registerBlock(
|
||||
"jellyshroom_cap_purple",
|
||||
new JellyshroomCapBlock(217, 142, 255, 164, 0, 255)
|
||||
);
|
||||
public static final WoodenMaterial JELLYSHROOM = new WoodenMaterial(
|
||||
"jellyshroom",
|
||||
MaterialColor.COLOR_PURPLE,
|
||||
MaterialColor.COLOR_LIGHT_BLUE
|
||||
);
|
||||
|
||||
public static final Block LUCERNIA_SAPLING = registerBlock("lucernia_sapling", new LucerniaSaplingBlock());
|
||||
public static final Block LUCERNIA_LEAVES = registerBlock("lucernia_leaves", new PottableLeavesBlock(LUCERNIA_SAPLING, MaterialColor.COLOR_ORANGE));
|
||||
public static final Block LUCERNIA_OUTER_LEAVES = registerBlock("lucernia_outer_leaves", new FurBlock(LUCERNIA_SAPLING, 32));
|
||||
public static final WoodenMaterial LUCERNIA = new WoodenMaterial("lucernia", MaterialColor.COLOR_ORANGE, MaterialColor.COLOR_ORANGE);
|
||||
public static final Block LUCERNIA_LEAVES = registerBlock(
|
||||
"lucernia_leaves",
|
||||
new PottableLeavesBlock(LUCERNIA_SAPLING, MaterialColor.COLOR_ORANGE)
|
||||
);
|
||||
public static final Block LUCERNIA_OUTER_LEAVES = registerBlock(
|
||||
"lucernia_outer_leaves",
|
||||
new FurBlock(LUCERNIA_SAPLING, 32)
|
||||
);
|
||||
public static final WoodenMaterial LUCERNIA = new WoodenMaterial(
|
||||
"lucernia",
|
||||
MaterialColor.COLOR_ORANGE,
|
||||
MaterialColor.COLOR_ORANGE
|
||||
);
|
||||
|
||||
// Small Plants //
|
||||
public static final Block UMBRELLA_MOSS = registerBlock("umbrella_moss", new UmbrellaMossBlock());
|
||||
|
@ -265,15 +419,27 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final Block SHADOW_PLANT = registerBlock("shadow_plant", new TerrainPlantBlock(SHADOW_GRASS));
|
||||
public static final Block BUSHY_GRASS = registerBlock("bushy_grass", new TerrainPlantBlock(PINK_MOSS));
|
||||
public static final Block AMBER_GRASS = registerBlock("amber_grass", new TerrainPlantBlock(AMBER_MOSS));
|
||||
public static final Block TWISTED_UMBRELLA_MOSS = registerBlock("twisted_umbrella_moss", new TwistedUmbrellaMossBlock());
|
||||
public static final Block TWISTED_UMBRELLA_MOSS_TALL = registerBlock("twisted_umbrella_moss_tall", new TwistedUmbrellaMossTallBlock());
|
||||
public static final Block TWISTED_UMBRELLA_MOSS = registerBlock(
|
||||
"twisted_umbrella_moss",
|
||||
new TwistedUmbrellaMossBlock()
|
||||
);
|
||||
public static final Block TWISTED_UMBRELLA_MOSS_TALL = registerBlock(
|
||||
"twisted_umbrella_moss_tall",
|
||||
new TwistedUmbrellaMossTallBlock()
|
||||
);
|
||||
public static final Block JUNGLE_GRASS = registerBlock("jungle_grass", new TerrainPlantBlock(JUNGLE_MOSS));
|
||||
public static final Block BLOOMING_COOKSONIA = registerBlock("blooming_cooksonia", new TerrainPlantBlock(END_MOSS));
|
||||
public static final Block SALTEAGO = registerBlock("salteago", new TerrainPlantBlock(END_MOSS));
|
||||
public static final Block VAIOLUSH_FERN = registerBlock("vaiolush_fern", new TerrainPlantBlock(END_MOSS));
|
||||
public static final Block FRACTURN = registerBlock("fracturn", new TerrainPlantBlock(END_MOSS));
|
||||
public static final Block CLAWFERN = registerBlock("clawfern", new TerrainPlantBlock(SANGNUM, MOSSY_OBSIDIAN, MOSSY_DRAGON_BONE));
|
||||
public static final Block GLOBULAGUS = registerBlock("globulagus", new TerrainPlantBlock(SANGNUM, MOSSY_OBSIDIAN, MOSSY_DRAGON_BONE));
|
||||
public static final Block CLAWFERN = registerBlock(
|
||||
"clawfern",
|
||||
new TerrainPlantBlock(SANGNUM, MOSSY_OBSIDIAN, MOSSY_DRAGON_BONE)
|
||||
);
|
||||
public static final Block GLOBULAGUS = registerBlock(
|
||||
"globulagus",
|
||||
new TerrainPlantBlock(SANGNUM, MOSSY_OBSIDIAN, MOSSY_DRAGON_BONE)
|
||||
);
|
||||
public static final Block ORANGO = registerBlock("orango", new TerrainPlantBlock(RUTISCUS));
|
||||
public static final Block AERIDIUM = registerBlock("aeridium", new TerrainPlantBlock(RUTISCUS));
|
||||
public static final Block LUTEBUS = registerBlock("lutebus", new TerrainPlantBlock(RUTISCUS));
|
||||
|
@ -282,15 +448,27 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final Block BLUE_VINE_SEED = registerBlock("blue_vine_seed", new BlueVineSeedBlock());
|
||||
public static final Block BLUE_VINE = registerEndBlockOnly("blue_vine", new BlueVineBlock());
|
||||
public static final Block BLUE_VINE_LANTERN = registerBlock("blue_vine_lantern", new BlueVineLanternBlock());
|
||||
public static final Block BLUE_VINE_FUR = registerBlock("blue_vine_fur", new FurBlock(BLUE_VINE_SEED, 15, 3, false));
|
||||
public static final Block BLUE_VINE_FUR = registerBlock(
|
||||
"blue_vine_fur",
|
||||
new FurBlock(BLUE_VINE_SEED, 15, 3, false)
|
||||
);
|
||||
|
||||
public static final Block LANCELEAF_SEED = registerBlock("lanceleaf_seed", new LanceleafSeedBlock());
|
||||
public static final Block LANCELEAF = registerEndBlockOnly("lanceleaf", new LanceleafBlock());
|
||||
|
||||
public static final Block GLOWING_PILLAR_SEED = registerBlock("glowing_pillar_seed", new GlowingPillarSeedBlock());
|
||||
public static final Block GLOWING_PILLAR_ROOTS = registerEndBlockOnly("glowing_pillar_roots", new GlowingPillarRootsBlock());
|
||||
public static final Block GLOWING_PILLAR_LUMINOPHOR = registerBlock("glowing_pillar_luminophor", new GlowingPillarLuminophorBlock());
|
||||
public static final Block GLOWING_PILLAR_LEAVES = registerBlock("glowing_pillar_leaves", new FurBlock(GLOWING_PILLAR_SEED, 15, 3, false));
|
||||
public static final Block GLOWING_PILLAR_ROOTS = registerEndBlockOnly(
|
||||
"glowing_pillar_roots",
|
||||
new GlowingPillarRootsBlock()
|
||||
);
|
||||
public static final Block GLOWING_PILLAR_LUMINOPHOR = registerBlock(
|
||||
"glowing_pillar_luminophor",
|
||||
new GlowingPillarLuminophorBlock()
|
||||
);
|
||||
public static final Block GLOWING_PILLAR_LEAVES = registerBlock(
|
||||
"glowing_pillar_leaves",
|
||||
new FurBlock(GLOWING_PILLAR_SEED, 15, 3, false)
|
||||
);
|
||||
|
||||
public static final Block SMALL_JELLYSHROOM = registerBlock("small_jellyshroom", new SmallJellyshroomBlock());
|
||||
public static final Block BOLUX_MUSHROOM = registerBlock("bolux_mushroom", new BoluxMushroomBlock());
|
||||
|
@ -298,25 +476,52 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final Block LUMECORN_SEED = registerBlock("lumecorn_seed", new LumecornSeedBlock());
|
||||
public static final Block LUMECORN = registerEndBlockOnly("lumecorn", new LumecornBlock());
|
||||
|
||||
public static final Block SMALL_AMARANITA_MUSHROOM = registerBlock("small_amaranita_mushroom", new SmallAmaranitaBlock());
|
||||
public static final Block LARGE_AMARANITA_MUSHROOM = registerEndBlockOnly("large_amaranita_mushroom", new LargeAmaranitaBlock());
|
||||
public static final Block SMALL_AMARANITA_MUSHROOM = registerBlock(
|
||||
"small_amaranita_mushroom",
|
||||
new SmallAmaranitaBlock()
|
||||
);
|
||||
public static final Block LARGE_AMARANITA_MUSHROOM = registerEndBlockOnly(
|
||||
"large_amaranita_mushroom",
|
||||
new LargeAmaranitaBlock()
|
||||
);
|
||||
public static final Block AMARANITA_STEM = registerBlock("amaranita_stem", new AmaranitaStemBlock());
|
||||
public static final Block AMARANITA_HYPHAE = registerBlock("amaranita_hyphae", new AmaranitaStemBlock());
|
||||
public static final Block AMARANITA_HYMENOPHORE = registerBlock("amaranita_hymenophore", new AmaranitaHymenophoreBlock());
|
||||
public static final Block AMARANITA_HYMENOPHORE = registerBlock(
|
||||
"amaranita_hymenophore",
|
||||
new AmaranitaHymenophoreBlock()
|
||||
);
|
||||
public static final Block AMARANITA_LANTERN = registerBlock("amaranita_lantern", new GlowingHymenophoreBlock());
|
||||
public static final Block AMARANITA_FUR = registerBlock("amaranita_fur", new FurBlock(SMALL_AMARANITA_MUSHROOM, 15, 4, true));
|
||||
public static final Block AMARANITA_FUR = registerBlock(
|
||||
"amaranita_fur",
|
||||
new FurBlock(SMALL_AMARANITA_MUSHROOM, 15, 4, true)
|
||||
);
|
||||
public static final Block AMARANITA_CAP = registerBlock("amaranita_cap", new AmaranitaCapBlock());
|
||||
|
||||
public static final Block NEON_CACTUS = registerBlock("neon_cactus", new NeonCactusPlantBlock());
|
||||
public static final Block NEON_CACTUS_BLOCK = registerBlock("neon_cactus_block", new NeonCactusBlock());
|
||||
public static final Block NEON_CACTUS_BLOCK_STAIRS = registerBlock("neon_cactus_stairs", new BaseStairsBlock(NEON_CACTUS_BLOCK));
|
||||
public static final Block NEON_CACTUS_BLOCK_SLAB = registerBlock("neon_cactus_slab", new BaseSlabBlock(NEON_CACTUS_BLOCK));
|
||||
public static final Block NEON_CACTUS_BLOCK_STAIRS = registerBlock(
|
||||
"neon_cactus_stairs",
|
||||
new BaseStairsBlock(NEON_CACTUS_BLOCK)
|
||||
);
|
||||
public static final Block NEON_CACTUS_BLOCK_SLAB = registerBlock(
|
||||
"neon_cactus_slab",
|
||||
new BaseSlabBlock(NEON_CACTUS_BLOCK)
|
||||
);
|
||||
|
||||
// Crops
|
||||
public static final Block SHADOW_BERRY = registerBlock("shadow_berry", new ShadowBerryBlock());
|
||||
public static final Block BLOSSOM_BERRY = registerBlock("blossom_berry_seed", new PottableCropBlock(EndItems.BLOSSOM_BERRY, PINK_MOSS));
|
||||
public static final Block AMBER_ROOT = registerBlock("amber_root_seed", new PottableCropBlock(EndItems.AMBER_ROOT_RAW, AMBER_MOSS));
|
||||
public static final Block CHORUS_MUSHROOM = registerBlock("chorus_mushroom_seed", new PottableCropBlock(EndItems.CHORUS_MUSHROOM_RAW, CHORUS_NYLIUM));
|
||||
public static final Block BLOSSOM_BERRY = registerBlock(
|
||||
"blossom_berry_seed",
|
||||
new PottableCropBlock(EndItems.BLOSSOM_BERRY, PINK_MOSS)
|
||||
);
|
||||
public static final Block AMBER_ROOT = registerBlock(
|
||||
"amber_root_seed",
|
||||
new PottableCropBlock(EndItems.AMBER_ROOT_RAW, AMBER_MOSS)
|
||||
);
|
||||
public static final Block CHORUS_MUSHROOM = registerBlock(
|
||||
"chorus_mushroom_seed",
|
||||
new PottableCropBlock(EndItems.CHORUS_MUSHROOM_RAW, CHORUS_NYLIUM)
|
||||
);
|
||||
//public static final Block PEARLBERRY = registerBlock("pearlberry_seed", new PottableCropBlock(EndItems.BLOSSOM_BERRY, END_MOSS, END_MYCELIUM));
|
||||
public static final Block CAVE_PUMPKIN_SEED = registerBlock("cave_pumpkin_seed", new CavePumpkinVineBlock());
|
||||
public static final Block CAVE_PUMPKIN = registerBlock("cave_pumpkin", new CavePumpkinBlock());
|
||||
|
@ -338,13 +543,20 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final Block HYDRALUX_SAPLING = registerBlock("hydralux_sapling", new HydraluxSaplingBlock());
|
||||
public static final Block HYDRALUX = registerEndBlockOnly("hydralux", new HydraluxBlock());
|
||||
public static final Block HYDRALUX_PETAL_BLOCK = registerBlock("hydralux_petal_block", new HydraluxPetalBlock());
|
||||
public static final ColoredMaterial HYDRALUX_PETAL_BLOCK_COLORED = new ColoredMaterial(HydraluxPetalColoredBlock::new, HYDRALUX_PETAL_BLOCK, true);
|
||||
public static final ColoredMaterial HYDRALUX_PETAL_BLOCK_COLORED = new ColoredMaterial(
|
||||
HydraluxPetalColoredBlock::new,
|
||||
HYDRALUX_PETAL_BLOCK,
|
||||
true
|
||||
);
|
||||
|
||||
public static final Block POND_ANEMONE = registerBlock("pond_anemone", new PondAnemoneBlock());
|
||||
|
||||
public static final Block FLAMAEA = registerBlock("flamaea", new FlamaeaBlock());
|
||||
|
||||
public static final Block CAVE_BUSH = registerBlock("cave_bush", new SimpleLeavesBlock(MaterialColor.COLOR_MAGENTA));
|
||||
public static final Block CAVE_BUSH = registerBlock(
|
||||
"cave_bush",
|
||||
new SimpleLeavesBlock(MaterialColor.COLOR_MAGENTA)
|
||||
);
|
||||
|
||||
public static final Block MURKWEED = registerBlock("murkweed", new MurkweedBlock());
|
||||
public static final Block NEEDLEGRASS = registerBlock("needlegrass", new NeedlegrassBlock());
|
||||
|
@ -381,37 +593,83 @@ public class EndBlocks extends BlocksRegistry {
|
|||
public static final Block AMBER_ORE = registerBlock("amber_ore", new BaseOreBlock(EndItems.RAW_AMBER, 1, 2, 4));
|
||||
|
||||
// Materials //
|
||||
public static final MetalMaterial THALLASIUM = MetalMaterial.makeNormal("thallasium", MaterialColor.COLOR_BLUE, EndToolMaterial.THALLASIUM, EndArmorMaterial.THALLASIUM);
|
||||
public static final MetalMaterial TERMINITE = MetalMaterial.makeOreless("terminite", MaterialColor.WARPED_WART_BLOCK, 7F, 9F, EndToolMaterial.TERMINITE, EndArmorMaterial.TERMINITE);
|
||||
public static final MetalMaterial THALLASIUM = MetalMaterial.makeNormal(
|
||||
"thallasium",
|
||||
MaterialColor.COLOR_BLUE,
|
||||
EndToolMaterial.THALLASIUM,
|
||||
EndArmorMaterial.THALLASIUM
|
||||
);
|
||||
public static final MetalMaterial TERMINITE = MetalMaterial.makeOreless(
|
||||
"terminite",
|
||||
MaterialColor.WARPED_WART_BLOCK,
|
||||
7F,
|
||||
9F,
|
||||
EndToolMaterial.TERMINITE,
|
||||
EndArmorMaterial.TERMINITE
|
||||
);
|
||||
public static final Block AETERNIUM_BLOCK = registerBlock("aeternium_block", new AeterniumBlock());
|
||||
public static final Block CHARCOAL_BLOCK = registerBlock("charcoal_block", new CharcoalBlock());
|
||||
|
||||
public static final Block ENDER_BLOCK = registerBlock("ender_block", new EnderBlock());
|
||||
public static final Block AURORA_CRYSTAL = registerBlock("aurora_crystal", new AuroraCrystalBlock());
|
||||
public static final Block AMBER_BLOCK = registerBlock("amber_block", new AmberBlock());
|
||||
public static final Block SMARAGDANT_CRYSTAL_SHARD = registerBlock("smaragdant_crystal_shard", new SmaragdantCrystalShardBlock());
|
||||
public static final Block SMARAGDANT_CRYSTAL_SHARD = registerBlock(
|
||||
"smaragdant_crystal_shard",
|
||||
new SmaragdantCrystalShardBlock()
|
||||
);
|
||||
public static final Block SMARAGDANT_CRYSTAL = registerBlock("smaragdant_crystal", new SmaragdantCrystalBlock());
|
||||
public static final CrystalSubblocksMaterial SMARAGDANT_SUBBLOCKS = new CrystalSubblocksMaterial("smaragdant_crystal", SMARAGDANT_CRYSTAL);
|
||||
public static final CrystalSubblocksMaterial SMARAGDANT_SUBBLOCKS = new CrystalSubblocksMaterial(
|
||||
"smaragdant_crystal",
|
||||
SMARAGDANT_CRYSTAL
|
||||
);
|
||||
|
||||
public static final Block RESPAWN_OBELISK = registerBlock("respawn_obelisk", new RespawnObeliskBlock());
|
||||
|
||||
// Lanterns
|
||||
public static final Block ANDESITE_LANTERN = registerBlock("andesite_lantern", new StoneLanternBlock(Blocks.ANDESITE));
|
||||
public static final Block ANDESITE_LANTERN = registerBlock(
|
||||
"andesite_lantern",
|
||||
new StoneLanternBlock(Blocks.ANDESITE)
|
||||
);
|
||||
public static final Block DIORITE_LANTERN = registerBlock("diorite_lantern", new StoneLanternBlock(Blocks.DIORITE));
|
||||
public static final Block GRANITE_LANTERN = registerBlock("granite_lantern", new StoneLanternBlock(Blocks.GRANITE));
|
||||
public static final Block QUARTZ_LANTERN = registerBlock("quartz_lantern", new StoneLanternBlock(Blocks.QUARTZ_BLOCK));
|
||||
public static final Block PURPUR_LANTERN = registerBlock("purpur_lantern", new StoneLanternBlock(Blocks.PURPUR_BLOCK));
|
||||
public static final Block END_STONE_LANTERN = registerBlock("end_stone_lantern", new StoneLanternBlock(Blocks.END_STONE));
|
||||
public static final Block BLACKSTONE_LANTERN = registerBlock("blackstone_lantern", new StoneLanternBlock(Blocks.BLACKSTONE));
|
||||
public static final Block QUARTZ_LANTERN = registerBlock(
|
||||
"quartz_lantern",
|
||||
new StoneLanternBlock(Blocks.QUARTZ_BLOCK)
|
||||
);
|
||||
public static final Block PURPUR_LANTERN = registerBlock(
|
||||
"purpur_lantern",
|
||||
new StoneLanternBlock(Blocks.PURPUR_BLOCK)
|
||||
);
|
||||
public static final Block END_STONE_LANTERN = registerBlock(
|
||||
"end_stone_lantern",
|
||||
new StoneLanternBlock(Blocks.END_STONE)
|
||||
);
|
||||
public static final Block BLACKSTONE_LANTERN = registerBlock(
|
||||
"blackstone_lantern",
|
||||
new StoneLanternBlock(Blocks.BLACKSTONE)
|
||||
);
|
||||
|
||||
public static final Block IRON_BULB_LANTERN = registerBlock("iron_bulb_lantern", new BulbVineLanternBlock());
|
||||
public static final ColoredMaterial IRON_BULB_LANTERN_COLORED = new ColoredMaterial(BulbVineLanternColoredBlock::new, IRON_BULB_LANTERN, false);
|
||||
public static final ColoredMaterial IRON_BULB_LANTERN_COLORED = new ColoredMaterial(
|
||||
BulbVineLanternColoredBlock::new,
|
||||
IRON_BULB_LANTERN,
|
||||
false
|
||||
);
|
||||
|
||||
public static final Block IRON_CHANDELIER = EndBlocks.registerBlock("iron_chandelier", new ChandelierBlock(Blocks.GOLD_BLOCK));
|
||||
public static final Block GOLD_CHANDELIER = EndBlocks.registerBlock("gold_chandelier", new ChandelierBlock(Blocks.GOLD_BLOCK));
|
||||
public static final Block IRON_CHANDELIER = EndBlocks.registerBlock(
|
||||
"iron_chandelier",
|
||||
new ChandelierBlock(Blocks.GOLD_BLOCK)
|
||||
);
|
||||
public static final Block GOLD_CHANDELIER = EndBlocks.registerBlock(
|
||||
"gold_chandelier",
|
||||
new ChandelierBlock(Blocks.GOLD_BLOCK)
|
||||
);
|
||||
|
||||
// Blocks With Entity //
|
||||
public static final Block END_STONE_FURNACE = registerBlock("end_stone_furnace", new BaseFurnaceBlock(Blocks.END_STONE));
|
||||
public static final Block END_STONE_FURNACE = registerBlock(
|
||||
"end_stone_furnace",
|
||||
new BaseFurnaceBlock(Blocks.END_STONE)
|
||||
);
|
||||
public static final Block END_STONE_SMELTER = registerBlock("end_stone_smelter", new EndStoneSmelter());
|
||||
public static final Block ETERNAL_PEDESTAL = registerBlock("eternal_pedestal", new EternalPedestal());
|
||||
public static final Block INFUSION_PEDESTAL = registerBlock("infusion_pedestal", new InfusionPedestal());
|
||||
|
@ -427,9 +685,12 @@ public class EndBlocks extends BlocksRegistry {
|
|||
}
|
||||
|
||||
public static List<Block> getModBlocks() {
|
||||
return getModBlocks(BetterEnd.MOD_ID).stream().filter(BlockItem.class::isInstance).map(item -> ((BlockItem) item).getBlock()).collect(Collectors.toList());
|
||||
return getModBlocks(BetterEnd.MOD_ID).stream()
|
||||
.filter(BlockItem.class::isInstance)
|
||||
.map(item -> ((BlockItem) item).getBlock())
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
public static Block registerAnvil(String name, EndAnvilBlock anvilBlock) {
|
||||
if (!Configs.BLOCK_CONFIG.getBooleanRoot(name, true)) {
|
||||
return anvilBlock;
|
||||
|
|
|
@ -23,12 +23,72 @@ import ru.betterend.entity.SilkMothEntity;
|
|||
import ru.betterend.util.SpawnHelper;
|
||||
|
||||
public class EndEntities {
|
||||
public static final EntityType<DragonflyEntity> DRAGONFLY = register("dragonfly", MobCategory.AMBIENT, 0.6F, 0.5F, DragonflyEntity::new, DragonflyEntity.createMobAttributes(), true, ColorUtil.color(32, 42, 176), ColorUtil.color(115, 225, 249));
|
||||
public static final EntityType<EndSlimeEntity> END_SLIME = register("end_slime", MobCategory.MONSTER, 2F, 2F, EndSlimeEntity::new, EndSlimeEntity.createMobAttributes(), false, ColorUtil.color(28, 28, 28), ColorUtil.color(99, 11, 99));
|
||||
public static final EntityType<EndFishEntity> END_FISH = register("end_fish", MobCategory.WATER_AMBIENT, 0.5F, 0.5F, EndFishEntity::new, EndFishEntity.createMobAttributes(), true, ColorUtil.color(3, 50, 76), ColorUtil.color(120, 206, 255));
|
||||
public static final EntityType<ShadowWalkerEntity> SHADOW_WALKER = register("shadow_walker", MobCategory.MONSTER, 0.6F, 1.95F, ShadowWalkerEntity::new, ShadowWalkerEntity.createMobAttributes(), true, ColorUtil.color(30, 30, 30), ColorUtil.color(5, 5, 5));
|
||||
public static final EntityType<CubozoaEntity> CUBOZOA = register("cubozoa", MobCategory.WATER_AMBIENT, 0.6F, 1F, CubozoaEntity::new, CubozoaEntity.createMobAttributes(), true, ColorUtil.color(151, 77, 181), ColorUtil.color(93, 176, 238));
|
||||
public static final EntityType<SilkMothEntity> SILK_MOTH = register("silk_moth", MobCategory.AMBIENT, 0.6F, 0.6F, SilkMothEntity::new, SilkMothEntity.createMobAttributes(), true, ColorUtil.color(198, 138, 204), ColorUtil.color(242, 220, 236));
|
||||
public static final EntityType<DragonflyEntity> DRAGONFLY = register(
|
||||
"dragonfly",
|
||||
MobCategory.AMBIENT,
|
||||
0.6F,
|
||||
0.5F,
|
||||
DragonflyEntity::new,
|
||||
DragonflyEntity.createMobAttributes(),
|
||||
true,
|
||||
ColorUtil.color(32, 42, 176),
|
||||
ColorUtil.color(115, 225, 249)
|
||||
);
|
||||
public static final EntityType<EndSlimeEntity> END_SLIME = register(
|
||||
"end_slime",
|
||||
MobCategory.MONSTER,
|
||||
2F,
|
||||
2F,
|
||||
EndSlimeEntity::new,
|
||||
EndSlimeEntity.createMobAttributes(),
|
||||
false,
|
||||
ColorUtil.color(28, 28, 28),
|
||||
ColorUtil.color(99, 11, 99)
|
||||
);
|
||||
public static final EntityType<EndFishEntity> END_FISH = register(
|
||||
"end_fish",
|
||||
MobCategory.WATER_AMBIENT,
|
||||
0.5F,
|
||||
0.5F,
|
||||
EndFishEntity::new,
|
||||
EndFishEntity.createMobAttributes(),
|
||||
true,
|
||||
ColorUtil.color(3, 50, 76),
|
||||
ColorUtil.color(120, 206, 255)
|
||||
);
|
||||
public static final EntityType<ShadowWalkerEntity> SHADOW_WALKER = register(
|
||||
"shadow_walker",
|
||||
MobCategory.MONSTER,
|
||||
0.6F,
|
||||
1.95F,
|
||||
ShadowWalkerEntity::new,
|
||||
ShadowWalkerEntity.createMobAttributes(),
|
||||
true,
|
||||
ColorUtil.color(30, 30, 30),
|
||||
ColorUtil.color(5, 5, 5)
|
||||
);
|
||||
public static final EntityType<CubozoaEntity> CUBOZOA = register(
|
||||
"cubozoa",
|
||||
MobCategory.WATER_AMBIENT,
|
||||
0.6F,
|
||||
1F,
|
||||
CubozoaEntity::new,
|
||||
CubozoaEntity.createMobAttributes(),
|
||||
true,
|
||||
ColorUtil.color(151, 77, 181),
|
||||
ColorUtil.color(93, 176, 238)
|
||||
);
|
||||
public static final EntityType<SilkMothEntity> SILK_MOTH = register(
|
||||
"silk_moth",
|
||||
MobCategory.AMBIENT,
|
||||
0.6F,
|
||||
0.6F,
|
||||
SilkMothEntity::new,
|
||||
SilkMothEntity.createMobAttributes(),
|
||||
true,
|
||||
ColorUtil.color(198, 138, 204),
|
||||
ColorUtil.color(242, 220, 236)
|
||||
);
|
||||
|
||||
public static void register() {
|
||||
SpawnHelper.restrictionAir(DRAGONFLY, DragonflyEntity::canSpawn);
|
||||
|
@ -41,7 +101,9 @@ public class EndEntities {
|
|||
|
||||
protected static <T extends Entity> EntityType<T> register(String name, MobCategory group, float width, float height, EntityFactory<T> entity) {
|
||||
ResourceLocation id = BetterEnd.makeID(name);
|
||||
EntityType<T> type = FabricEntityTypeBuilder.<T>create(group, entity).dimensions(EntityDimensions.fixed(width, height)).build();
|
||||
EntityType<T> type = FabricEntityTypeBuilder.<T>create(group, entity)
|
||||
.dimensions(EntityDimensions.fixed(width, height))
|
||||
.build();
|
||||
if (Configs.ENTITY_CONFIG.getBooleanRoot(id.getPath(), true)) {
|
||||
return Registry.register(Registry.ENTITY_TYPE, id, type);
|
||||
}
|
||||
|
@ -50,7 +112,12 @@ public class EndEntities {
|
|||
|
||||
private static <T extends Mob> EntityType<T> register(String name, MobCategory group, float width, float height, EntityFactory<T> entity, Builder attributes, boolean fixedSize, int eggColor, int dotsColor) {
|
||||
ResourceLocation id = BetterEnd.makeID(name);
|
||||
EntityType<T> type = FabricEntityTypeBuilder.<T>create(group, entity).dimensions(fixedSize ? EntityDimensions.fixed(width, height) : EntityDimensions.scalable(width, height)).build();
|
||||
EntityType<T> type = FabricEntityTypeBuilder.<T>create(group, entity)
|
||||
.dimensions(fixedSize ? EntityDimensions.fixed(
|
||||
width,
|
||||
height
|
||||
) : EntityDimensions.scalable(width, height))
|
||||
.build();
|
||||
if (Configs.ENTITY_CONFIG.getBooleanRoot(id.getPath(), true)) {
|
||||
FabricDefaultAttributeRegistry.register(type, attributes);
|
||||
EndItems.registerEndEgg("spawn_egg_" + name, type, eggColor, dotsColor);
|
||||
|
|
|
@ -50,15 +50,24 @@ public class EndEntitiesRenders {
|
|||
register(EndEntities.SILK_MOTH, SilkMothEntityRenderer.class);
|
||||
|
||||
EntityModelLayerRegistry.registerModelLayer(DRAGONFLY_MODEL, DragonflyEntityModel::getTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(END_SLIME_SHELL_MODEL, EndSlimeEntityModel::getShellOnlyTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(
|
||||
END_SLIME_SHELL_MODEL,
|
||||
EndSlimeEntityModel::getShellOnlyTexturedModelData
|
||||
);
|
||||
EntityModelLayerRegistry.registerModelLayer(END_SLIME_MODEL, EndSlimeEntityModel::getCompleteTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(END_FISH_MODEL, EndFishEntityModel::getTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(CUBOZOA_MODEL, CubozoaEntityModel::getTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(SILK_MOTH_MODEL, SilkMothEntityModel::getTexturedModelData);
|
||||
|
||||
EntityModelLayerRegistry.registerModelLayer(ARMORED_ELYTRA, ArmoredElytraModel::getTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(CRYSTALITE_CHESTPLATE, CrystaliteChestplateModel::getRegularTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(CRYSTALITE_CHESTPLATE_THIN, CrystaliteChestplateModel::getThinTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(
|
||||
CRYSTALITE_CHESTPLATE,
|
||||
CrystaliteChestplateModel::getRegularTexturedModelData
|
||||
);
|
||||
EntityModelLayerRegistry.registerModelLayer(
|
||||
CRYSTALITE_CHESTPLATE_THIN,
|
||||
CrystaliteChestplateModel::getThinTexturedModelData
|
||||
);
|
||||
EntityModelLayerRegistry.registerModelLayer(CRYSTALITE_HELMET, CrystaliteHelmetModel::getTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(CRYSTALITE_LEGGINGS, CrystaliteLeggingsModel::getTexturedModelData);
|
||||
EntityModelLayerRegistry.registerModelLayer(CRYSTALITE_BOOTS, CrystaliteBootsModel::getTexturedModelData);
|
||||
|
|
|
@ -83,114 +83,401 @@ import java.util.function.Supplier;
|
|||
|
||||
public class EndFeatures {
|
||||
// Trees //
|
||||
public static final BCLFeature MOSSY_GLOWSHROOM = redisterVegetation("mossy_glowshroom", new MossyGlowshroomFeature(), 3);
|
||||
public static final BCLFeature PYTHADENDRON_TREE = redisterVegetation("pythadendron_tree", new PythadendronTreeFeature(), 2);
|
||||
public static final BCLFeature MOSSY_GLOWSHROOM = redisterVegetation(
|
||||
"mossy_glowshroom",
|
||||
new MossyGlowshroomFeature(),
|
||||
3
|
||||
);
|
||||
public static final BCLFeature PYTHADENDRON_TREE = redisterVegetation(
|
||||
"pythadendron_tree",
|
||||
new PythadendronTreeFeature(),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature LACUGROVE = redisterVegetation("lacugrove", new LacugroveFeature(), 4);
|
||||
public static final BCLFeature DRAGON_TREE = redisterVegetation("dragon_tree", new DragonTreeFeature(), 3);
|
||||
public static final BCLFeature TENANEA = redisterVegetation("tenanea", new TenaneaFeature(), 3);
|
||||
public static final BCLFeature HELIX_TREE = redisterVegetation("helix_tree", new HelixTreeFeature(), 2);
|
||||
public static final BCLFeature UMBRELLA_TREE = redisterVegetation("umbrella_tree", new UmbrellaTreeFeature(), 4);
|
||||
public static final BCLFeature JELLYSHROOM = redisterVegetation("jellyshroom", new JellyshroomFeature(), 3);
|
||||
public static final BCLFeature GIGANTIC_AMARANITA = redisterVegetation("gigantic_amaranita", new GiganticAmaranitaFeature(), 1);
|
||||
public static final BCLFeature GIGANTIC_AMARANITA = redisterVegetation(
|
||||
"gigantic_amaranita",
|
||||
new GiganticAmaranitaFeature(),
|
||||
1
|
||||
);
|
||||
public static final BCLFeature LUCERNIA = redisterVegetation("lucernia", new LucerniaFeature(), 3);
|
||||
|
||||
// Bushes //
|
||||
public static final BCLFeature PYTHADENDRON_BUSH = redisterVegetation("pythadendron_bush", new BushFeature(EndBlocks.PYTHADENDRON_LEAVES, EndBlocks.PYTHADENDRON.bark), 4);
|
||||
public static final BCLFeature DRAGON_TREE_BUSH = redisterVegetation("dragon_tree_bush", new BushFeature(EndBlocks.DRAGON_TREE_LEAVES, EndBlocks.DRAGON_TREE.bark), 15);
|
||||
public static final BCLFeature PYTHADENDRON_BUSH = redisterVegetation(
|
||||
"pythadendron_bush",
|
||||
new BushFeature(EndBlocks.PYTHADENDRON_LEAVES, EndBlocks.PYTHADENDRON.bark),
|
||||
4
|
||||
);
|
||||
public static final BCLFeature DRAGON_TREE_BUSH = redisterVegetation(
|
||||
"dragon_tree_bush",
|
||||
new BushFeature(EndBlocks.DRAGON_TREE_LEAVES, EndBlocks.DRAGON_TREE.bark),
|
||||
15
|
||||
);
|
||||
public static final BCLFeature TENANEA_BUSH = redisterVegetation("tenanea_bush", new TenaneaBushFeature(), 10);
|
||||
public static final BCLFeature LUMECORN = redisterVegetation("lumecorn", new Lumecorn(), 5);
|
||||
public static final BCLFeature LARGE_AMARANITA = redisterVegetation("large_amaranita", new LargeAmaranitaFeature(), 5);
|
||||
public static final BCLFeature LUCERNIA_BUSH = redisterVegetation("lucernia_bush", new BushWithOuterFeature(EndBlocks.LUCERNIA_LEAVES, EndBlocks.LUCERNIA_OUTER_LEAVES, EndBlocks.LUCERNIA.bark), 10);
|
||||
public static final BCLFeature LUCERNIA_BUSH_RARE = redisterVegetation("lucernia_bush_rare", new BushWithOuterFeature(EndBlocks.LUCERNIA_LEAVES, EndBlocks.LUCERNIA_OUTER_LEAVES, EndBlocks.LUCERNIA.bark), 1);
|
||||
public static final BCLFeature LARGE_AMARANITA = redisterVegetation(
|
||||
"large_amaranita",
|
||||
new LargeAmaranitaFeature(),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature LUCERNIA_BUSH = redisterVegetation(
|
||||
"lucernia_bush",
|
||||
new BushWithOuterFeature(EndBlocks.LUCERNIA_LEAVES, EndBlocks.LUCERNIA_OUTER_LEAVES, EndBlocks.LUCERNIA.bark),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature LUCERNIA_BUSH_RARE = redisterVegetation(
|
||||
"lucernia_bush_rare",
|
||||
new BushWithOuterFeature(EndBlocks.LUCERNIA_LEAVES, EndBlocks.LUCERNIA_OUTER_LEAVES, EndBlocks.LUCERNIA.bark),
|
||||
1
|
||||
);
|
||||
public static final BCLFeature NEON_CACTUS = redisterVegetation("neon_cactus", new NeonCactusFeature(), 2);
|
||||
|
||||
// Plants //
|
||||
public static final BCLFeature UMBRELLA_MOSS = redisterVegetation("umbrella_moss", new DoublePlantFeature(EndBlocks.UMBRELLA_MOSS, EndBlocks.UMBRELLA_MOSS_TALL, 5), 5);
|
||||
public static final BCLFeature CREEPING_MOSS = redisterVegetation("creeping_moss", new SinglePlantFeature(EndBlocks.CREEPING_MOSS, 5), 5);
|
||||
public static final BCLFeature UMBRELLA_MOSS = redisterVegetation(
|
||||
"umbrella_moss",
|
||||
new DoublePlantFeature(EndBlocks.UMBRELLA_MOSS, EndBlocks.UMBRELLA_MOSS_TALL, 5),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature CREEPING_MOSS = redisterVegetation(
|
||||
"creeping_moss",
|
||||
new SinglePlantFeature(EndBlocks.CREEPING_MOSS, 5),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature BLUE_VINE = redisterVegetation("blue_vine", new BlueVineFeature(), 1);
|
||||
public static final BCLFeature CHORUS_GRASS = redisterVegetation("chorus_grass", new SinglePlantFeature(EndBlocks.CHORUS_GRASS, 4), 5);
|
||||
public static final BCLFeature CRYSTAL_GRASS = redisterVegetation("crystal_grass", new SinglePlantFeature(EndBlocks.CRYSTAL_GRASS, 8, false), 5);
|
||||
public static final BCLFeature SHADOW_PLANT = redisterVegetation("shadow_plant", new SinglePlantFeature(EndBlocks.SHADOW_PLANT, 6), 9);
|
||||
public static final BCLFeature MURKWEED = redisterVegetation("murkweed", new SinglePlantFeature(EndBlocks.MURKWEED, 3), 2);
|
||||
public static final BCLFeature NEEDLEGRASS = redisterVegetation("needlegrass", new SinglePlantFeature(EndBlocks.NEEDLEGRASS, 3), 2);
|
||||
public static final BCLFeature SHADOW_BERRY = redisterVegetation("shadow_berry", new SinglePlantFeature(EndBlocks.SHADOW_BERRY, 2), 1);
|
||||
public static final BCLFeature BUSHY_GRASS = redisterVegetation("bushy_grass", new SinglePlantFeature(EndBlocks.BUSHY_GRASS, 8, false), 20);
|
||||
public static final BCLFeature BUSHY_GRASS_WG = redisterVegetation("bushy_grass_wg", new SinglePlantFeature(EndBlocks.BUSHY_GRASS, 5), 10);
|
||||
public static final BCLFeature AMBER_GRASS = redisterVegetation("amber_grass", new SinglePlantFeature(EndBlocks.AMBER_GRASS, 6), 9);
|
||||
public static final BCLFeature CHORUS_GRASS = redisterVegetation(
|
||||
"chorus_grass",
|
||||
new SinglePlantFeature(EndBlocks.CHORUS_GRASS, 4),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature CRYSTAL_GRASS = redisterVegetation(
|
||||
"crystal_grass",
|
||||
new SinglePlantFeature(EndBlocks.CRYSTAL_GRASS, 8, false),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature SHADOW_PLANT = redisterVegetation(
|
||||
"shadow_plant",
|
||||
new SinglePlantFeature(EndBlocks.SHADOW_PLANT, 6),
|
||||
9
|
||||
);
|
||||
public static final BCLFeature MURKWEED = redisterVegetation(
|
||||
"murkweed",
|
||||
new SinglePlantFeature(EndBlocks.MURKWEED, 3),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature NEEDLEGRASS = redisterVegetation(
|
||||
"needlegrass",
|
||||
new SinglePlantFeature(EndBlocks.NEEDLEGRASS, 3),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature SHADOW_BERRY = redisterVegetation(
|
||||
"shadow_berry",
|
||||
new SinglePlantFeature(EndBlocks.SHADOW_BERRY, 2),
|
||||
1
|
||||
);
|
||||
public static final BCLFeature BUSHY_GRASS = redisterVegetation(
|
||||
"bushy_grass",
|
||||
new SinglePlantFeature(EndBlocks.BUSHY_GRASS, 8, false),
|
||||
20
|
||||
);
|
||||
public static final BCLFeature BUSHY_GRASS_WG = redisterVegetation(
|
||||
"bushy_grass_wg",
|
||||
new SinglePlantFeature(EndBlocks.BUSHY_GRASS, 5),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature AMBER_GRASS = redisterVegetation(
|
||||
"amber_grass",
|
||||
new SinglePlantFeature(EndBlocks.AMBER_GRASS, 6),
|
||||
9
|
||||
);
|
||||
public static final BCLFeature LANCELEAF = redisterVegetation("lanceleaf", new LanceleafFeature(), 3);
|
||||
public static final BCLFeature GLOW_PILLAR = redisterVegetation("glow_pillar", new GlowPillarFeature(), 1);
|
||||
public static final BCLFeature TWISTED_UMBRELLA_MOSS = redisterVegetation("twisted_umbrella_moss", new DoublePlantFeature(EndBlocks.TWISTED_UMBRELLA_MOSS, EndBlocks.TWISTED_UMBRELLA_MOSS_TALL, 6), 5);
|
||||
public static final BCLFeature JUNGLE_GRASS = redisterVegetation("jungle_grass", new SinglePlantFeature(EndBlocks.JUNGLE_GRASS, 7, 3), 8);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_FLOOR = redisterVegetation("small_jellyshroom_floor", new SinglePlantFeature(EndBlocks.SMALL_JELLYSHROOM, 5, 5), 4);
|
||||
public static final BCLFeature BLOSSOM_BERRY = redisterVegetation("blossom_berry", new SinglePlantFeature(EndBlocks.BLOSSOM_BERRY, 3, 3), 2);
|
||||
public static final BCLFeature BLOOMING_COOKSONIA = redisterVegetation("blooming_cooksonia", new SinglePlantFeature(EndBlocks.BLOOMING_COOKSONIA, 5), 5);
|
||||
public static final BCLFeature SALTEAGO = redisterVegetation("salteago", new SinglePlantFeature(EndBlocks.SALTEAGO, 5), 5);
|
||||
public static final BCLFeature VAIOLUSH_FERN = redisterVegetation("vaiolush_fern", new SinglePlantFeature(EndBlocks.VAIOLUSH_FERN, 5), 5);
|
||||
public static final BCLFeature FRACTURN = redisterVegetation("fracturn", new SinglePlantFeature(EndBlocks.FRACTURN, 5), 5);
|
||||
public static final BCLFeature UMBRELLA_MOSS_RARE = redisterVegetation("umbrella_moss_rare", new SinglePlantFeature(EndBlocks.UMBRELLA_MOSS, 3), 2);
|
||||
public static final BCLFeature CREEPING_MOSS_RARE = redisterVegetation("creeping_moss_rare", new SinglePlantFeature(EndBlocks.CREEPING_MOSS, 3), 2);
|
||||
public static final BCLFeature TWISTED_UMBRELLA_MOSS_RARE = redisterVegetation("twisted_umbrella_moss_rare", new SinglePlantFeature(EndBlocks.TWISTED_UMBRELLA_MOSS, 3), 2);
|
||||
public static final BCLFeature ORANGO = redisterVegetation("orango", new SinglePlantFeature(EndBlocks.ORANGO, 5), 6);
|
||||
public static final BCLFeature AERIDIUM = redisterVegetation("aeridium", new SinglePlantFeature(EndBlocks.AERIDIUM, 5, 4), 5);
|
||||
public static final BCLFeature LUTEBUS = redisterVegetation("lutebus", new SinglePlantFeature(EndBlocks.LUTEBUS, 5, 2), 5);
|
||||
public static final BCLFeature LAMELLARIUM = redisterVegetation("lamellarium", new SinglePlantFeature(EndBlocks.LAMELLARIUM, 5), 6);
|
||||
public static final BCLFeature SMALL_AMARANITA = redisterVegetation("small_amaranita", new SinglePlantFeature(EndBlocks.SMALL_AMARANITA_MUSHROOM, 5, 5), 4);
|
||||
public static final BCLFeature GLOBULAGUS = redisterVegetation("globulagus", new SinglePlantFeature(EndBlocks.GLOBULAGUS, 5, 3), 6);
|
||||
public static final BCLFeature CLAWFERN = redisterVegetation("clawfern", new SinglePlantFeature(EndBlocks.CLAWFERN, 5, 4), 5);
|
||||
public static final BCLFeature BOLUX_MUSHROOM = redisterVegetation("bolux_mushroom", new SinglePlantFeature(EndBlocks.BOLUX_MUSHROOM, 5, 5), 2);
|
||||
public static final BCLFeature CHORUS_MUSHROOM = redisterVegetation("chorus_mushroom", new SinglePlantFeature(EndBlocks.CHORUS_MUSHROOM, 5, 5), 1);
|
||||
public static final BCLFeature AMBER_ROOT = redisterVegetation("amber_root", new SinglePlantFeature(EndBlocks.AMBER_ROOT, 5, 5), 1);
|
||||
public static final BCLFeature TWISTED_UMBRELLA_MOSS = redisterVegetation(
|
||||
"twisted_umbrella_moss",
|
||||
new DoublePlantFeature(EndBlocks.TWISTED_UMBRELLA_MOSS, EndBlocks.TWISTED_UMBRELLA_MOSS_TALL, 6),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature JUNGLE_GRASS = redisterVegetation(
|
||||
"jungle_grass",
|
||||
new SinglePlantFeature(EndBlocks.JUNGLE_GRASS, 7, 3),
|
||||
8
|
||||
);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_FLOOR = redisterVegetation(
|
||||
"small_jellyshroom_floor",
|
||||
new SinglePlantFeature(EndBlocks.SMALL_JELLYSHROOM, 5, 5),
|
||||
4
|
||||
);
|
||||
public static final BCLFeature BLOSSOM_BERRY = redisterVegetation(
|
||||
"blossom_berry",
|
||||
new SinglePlantFeature(EndBlocks.BLOSSOM_BERRY, 3, 3),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature BLOOMING_COOKSONIA = redisterVegetation(
|
||||
"blooming_cooksonia",
|
||||
new SinglePlantFeature(EndBlocks.BLOOMING_COOKSONIA, 5),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature SALTEAGO = redisterVegetation(
|
||||
"salteago",
|
||||
new SinglePlantFeature(EndBlocks.SALTEAGO, 5),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature VAIOLUSH_FERN = redisterVegetation(
|
||||
"vaiolush_fern",
|
||||
new SinglePlantFeature(EndBlocks.VAIOLUSH_FERN, 5),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature FRACTURN = redisterVegetation(
|
||||
"fracturn",
|
||||
new SinglePlantFeature(EndBlocks.FRACTURN, 5),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature UMBRELLA_MOSS_RARE = redisterVegetation(
|
||||
"umbrella_moss_rare",
|
||||
new SinglePlantFeature(EndBlocks.UMBRELLA_MOSS, 3),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature CREEPING_MOSS_RARE = redisterVegetation(
|
||||
"creeping_moss_rare",
|
||||
new SinglePlantFeature(EndBlocks.CREEPING_MOSS, 3),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature TWISTED_UMBRELLA_MOSS_RARE = redisterVegetation(
|
||||
"twisted_umbrella_moss_rare",
|
||||
new SinglePlantFeature(EndBlocks.TWISTED_UMBRELLA_MOSS, 3),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature ORANGO = redisterVegetation(
|
||||
"orango",
|
||||
new SinglePlantFeature(EndBlocks.ORANGO, 5),
|
||||
6
|
||||
);
|
||||
public static final BCLFeature AERIDIUM = redisterVegetation(
|
||||
"aeridium",
|
||||
new SinglePlantFeature(EndBlocks.AERIDIUM, 5, 4),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature LUTEBUS = redisterVegetation(
|
||||
"lutebus",
|
||||
new SinglePlantFeature(EndBlocks.LUTEBUS, 5, 2),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature LAMELLARIUM = redisterVegetation(
|
||||
"lamellarium",
|
||||
new SinglePlantFeature(EndBlocks.LAMELLARIUM, 5),
|
||||
6
|
||||
);
|
||||
public static final BCLFeature SMALL_AMARANITA = redisterVegetation(
|
||||
"small_amaranita",
|
||||
new SinglePlantFeature(EndBlocks.SMALL_AMARANITA_MUSHROOM, 5, 5),
|
||||
4
|
||||
);
|
||||
public static final BCLFeature GLOBULAGUS = redisterVegetation(
|
||||
"globulagus",
|
||||
new SinglePlantFeature(EndBlocks.GLOBULAGUS, 5, 3),
|
||||
6
|
||||
);
|
||||
public static final BCLFeature CLAWFERN = redisterVegetation(
|
||||
"clawfern",
|
||||
new SinglePlantFeature(EndBlocks.CLAWFERN, 5, 4),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature BOLUX_MUSHROOM = redisterVegetation(
|
||||
"bolux_mushroom",
|
||||
new SinglePlantFeature(EndBlocks.BOLUX_MUSHROOM, 5, 5),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature CHORUS_MUSHROOM = redisterVegetation(
|
||||
"chorus_mushroom",
|
||||
new SinglePlantFeature(EndBlocks.CHORUS_MUSHROOM, 5, 5),
|
||||
1
|
||||
);
|
||||
public static final BCLFeature AMBER_ROOT = redisterVegetation(
|
||||
"amber_root",
|
||||
new SinglePlantFeature(EndBlocks.AMBER_ROOT, 5, 5),
|
||||
1
|
||||
);
|
||||
//public static final BCLFeature PEARLBERRY = redisterVegetation("pearlberry", new SinglePlantFeature(EndBlocks.PEARLBERRY, 5, 5), 1);
|
||||
|
||||
// Vines //
|
||||
public static final BCLFeature DENSE_VINE = redisterVegetation("dense_vine", new VineFeature(EndBlocks.DENSE_VINE, 24), 3);
|
||||
public static final BCLFeature TWISTED_VINE = redisterVegetation("twisted_vine", new VineFeature(EndBlocks.TWISTED_VINE, 24), 3);
|
||||
public static final BCLFeature BULB_VINE = redisterVegetation("bulb_vine", new VineFeature(EndBlocks.BULB_VINE, 24), 5);
|
||||
public static final BCLFeature JUNGLE_VINE = redisterVegetation("jungle_vine", new VineFeature(EndBlocks.JUNGLE_VINE, 24), 5);
|
||||
public static final BCLFeature DENSE_VINE = redisterVegetation(
|
||||
"dense_vine",
|
||||
new VineFeature(EndBlocks.DENSE_VINE, 24),
|
||||
3
|
||||
);
|
||||
public static final BCLFeature TWISTED_VINE = redisterVegetation(
|
||||
"twisted_vine",
|
||||
new VineFeature(EndBlocks.TWISTED_VINE, 24),
|
||||
3
|
||||
);
|
||||
public static final BCLFeature BULB_VINE = redisterVegetation(
|
||||
"bulb_vine",
|
||||
new VineFeature(EndBlocks.BULB_VINE, 24),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature JUNGLE_VINE = redisterVegetation(
|
||||
"jungle_vine",
|
||||
new VineFeature(EndBlocks.JUNGLE_VINE, 24),
|
||||
5
|
||||
);
|
||||
|
||||
// Ceil plants
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_CEIL = redisterVegetation("small_jellyshroom_ceil", new SingleInvertedScatterFeature(EndBlocks.SMALL_JELLYSHROOM, 8), 8);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_CEIL = redisterVegetation(
|
||||
"small_jellyshroom_ceil",
|
||||
new SingleInvertedScatterFeature(EndBlocks.SMALL_JELLYSHROOM, 8),
|
||||
8
|
||||
);
|
||||
|
||||
// Wall Plants //
|
||||
public static final BCLFeature PURPLE_POLYPORE = redisterVegetation("purple_polypore", new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 3), 5);
|
||||
public static final BCLFeature AURANT_POLYPORE = redisterVegetation("aurant_polypore", new WallPlantOnLogFeature(EndBlocks.AURANT_POLYPORE, 3), 5);
|
||||
public static final BCLFeature TAIL_MOSS = redisterVegetation("tail_moss", new WallPlantFeature(EndBlocks.TAIL_MOSS, 3), 15);
|
||||
public static final BCLFeature CYAN_MOSS = redisterVegetation("cyan_moss", new WallPlantFeature(EndBlocks.CYAN_MOSS, 3), 15);
|
||||
public static final BCLFeature TAIL_MOSS_WOOD = redisterVegetation("tail_moss_wood", new WallPlantOnLogFeature(EndBlocks.TAIL_MOSS, 4), 25);
|
||||
public static final BCLFeature CYAN_MOSS_WOOD = redisterVegetation("cyan_moss_wood", new WallPlantOnLogFeature(EndBlocks.CYAN_MOSS, 4), 25);
|
||||
public static final BCLFeature TWISTED_MOSS = redisterVegetation("twisted_moss", new WallPlantFeature(EndBlocks.TWISTED_MOSS, 6), 15);
|
||||
public static final BCLFeature TWISTED_MOSS_WOOD = redisterVegetation("twisted_moss_wood", new WallPlantOnLogFeature(EndBlocks.TWISTED_MOSS, 6), 25);
|
||||
public static final BCLFeature BULB_MOSS = redisterVegetation("bulb_moss", new WallPlantFeature(EndBlocks.BULB_MOSS, 6), 1);
|
||||
public static final BCLFeature BULB_MOSS_WOOD = redisterVegetation("bulb_moss_wood", new WallPlantOnLogFeature(EndBlocks.BULB_MOSS, 6), 15);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_WALL = redisterVegetation("small_jellyshroom_wall", new WallPlantFeature(EndBlocks.SMALL_JELLYSHROOM, 4), 4);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_WOOD = redisterVegetation("small_jellyshroom_wood", new WallPlantOnLogFeature(EndBlocks.SMALL_JELLYSHROOM, 4), 8);
|
||||
public static final BCLFeature JUNGLE_FERN_WOOD = redisterVegetation("jungle_fern_wood", new WallPlantOnLogFeature(EndBlocks.JUNGLE_FERN, 3), 12);
|
||||
public static final BCLFeature PURPLE_POLYPORE = redisterVegetation(
|
||||
"purple_polypore",
|
||||
new WallPlantOnLogFeature(EndBlocks.PURPLE_POLYPORE, 3),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature AURANT_POLYPORE = redisterVegetation(
|
||||
"aurant_polypore",
|
||||
new WallPlantOnLogFeature(EndBlocks.AURANT_POLYPORE, 3),
|
||||
5
|
||||
);
|
||||
public static final BCLFeature TAIL_MOSS = redisterVegetation(
|
||||
"tail_moss",
|
||||
new WallPlantFeature(EndBlocks.TAIL_MOSS, 3),
|
||||
15
|
||||
);
|
||||
public static final BCLFeature CYAN_MOSS = redisterVegetation(
|
||||
"cyan_moss",
|
||||
new WallPlantFeature(EndBlocks.CYAN_MOSS, 3),
|
||||
15
|
||||
);
|
||||
public static final BCLFeature TAIL_MOSS_WOOD = redisterVegetation(
|
||||
"tail_moss_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.TAIL_MOSS, 4),
|
||||
25
|
||||
);
|
||||
public static final BCLFeature CYAN_MOSS_WOOD = redisterVegetation(
|
||||
"cyan_moss_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.CYAN_MOSS, 4),
|
||||
25
|
||||
);
|
||||
public static final BCLFeature TWISTED_MOSS = redisterVegetation(
|
||||
"twisted_moss",
|
||||
new WallPlantFeature(EndBlocks.TWISTED_MOSS, 6),
|
||||
15
|
||||
);
|
||||
public static final BCLFeature TWISTED_MOSS_WOOD = redisterVegetation(
|
||||
"twisted_moss_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.TWISTED_MOSS, 6),
|
||||
25
|
||||
);
|
||||
public static final BCLFeature BULB_MOSS = redisterVegetation(
|
||||
"bulb_moss",
|
||||
new WallPlantFeature(EndBlocks.BULB_MOSS, 6),
|
||||
1
|
||||
);
|
||||
public static final BCLFeature BULB_MOSS_WOOD = redisterVegetation(
|
||||
"bulb_moss_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.BULB_MOSS, 6),
|
||||
15
|
||||
);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_WALL = redisterVegetation(
|
||||
"small_jellyshroom_wall",
|
||||
new WallPlantFeature(EndBlocks.SMALL_JELLYSHROOM, 4),
|
||||
4
|
||||
);
|
||||
public static final BCLFeature SMALL_JELLYSHROOM_WOOD = redisterVegetation(
|
||||
"small_jellyshroom_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.SMALL_JELLYSHROOM, 4),
|
||||
8
|
||||
);
|
||||
public static final BCLFeature JUNGLE_FERN_WOOD = redisterVegetation(
|
||||
"jungle_fern_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.JUNGLE_FERN, 3),
|
||||
12
|
||||
);
|
||||
public static final BCLFeature RUSCUS = redisterVegetation("ruscus", new WallPlantFeature(EndBlocks.RUSCUS, 6), 10);
|
||||
public static final BCLFeature RUSCUS_WOOD = redisterVegetation("ruscus_wood", new WallPlantOnLogFeature(EndBlocks.RUSCUS, 6), 10);
|
||||
public static final BCLFeature RUSCUS_WOOD = redisterVegetation(
|
||||
"ruscus_wood",
|
||||
new WallPlantOnLogFeature(EndBlocks.RUSCUS, 6),
|
||||
10
|
||||
);
|
||||
|
||||
// Sky plants
|
||||
public static final BCLFeature FILALUX = redisterVegetation("filalux", new FilaluxFeature(), 1);
|
||||
|
||||
// Water //
|
||||
public static final BCLFeature BUBBLE_CORAL = redisterVegetation("bubble_coral", new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 6), 10);
|
||||
public static final BCLFeature BUBBLE_CORAL_RARE = redisterVegetation("bubble_coral_rare", new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 3), 4);
|
||||
public static final BCLFeature BUBBLE_CORAL = redisterVegetation(
|
||||
"bubble_coral",
|
||||
new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 6),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature BUBBLE_CORAL_RARE = redisterVegetation(
|
||||
"bubble_coral_rare",
|
||||
new UnderwaterPlantFeature(EndBlocks.BUBBLE_CORAL, 3),
|
||||
4
|
||||
);
|
||||
public static final BCLFeature END_LILY = redisterVegetation("end_lily", new EndLilyFeature(6), 10);
|
||||
public static final BCLFeature END_LILY_RARE = redisterVegetation("end_lily_rare", new EndLilyFeature(3), 4);
|
||||
public static final BCLFeature END_LOTUS = redisterVegetation("end_lotus", new EndLotusFeature(7), 5);
|
||||
public static final BCLFeature END_LOTUS_LEAF = redisterVegetation("end_lotus_leaf", new EndLotusLeafFeature(20), 25);
|
||||
public static final BCLFeature END_LOTUS_LEAF = redisterVegetation(
|
||||
"end_lotus_leaf",
|
||||
new EndLotusLeafFeature(20),
|
||||
25
|
||||
);
|
||||
public static final BCLFeature HYDRALUX = redisterVegetation("hydralux", new HydraluxFeature(5), 5);
|
||||
public static final BCLFeature POND_ANEMONE = redisterVegetation("pond_anemone", new UnderwaterPlantFeature(EndBlocks.POND_ANEMONE, 6), 10);
|
||||
public static final BCLFeature POND_ANEMONE = redisterVegetation(
|
||||
"pond_anemone",
|
||||
new UnderwaterPlantFeature(EndBlocks.POND_ANEMONE, 6),
|
||||
10
|
||||
);
|
||||
|
||||
public static final BCLFeature CHARNIA_RED = redisterVegetation("charnia_red", new CharniaFeature(EndBlocks.CHARNIA_RED), 10);
|
||||
public static final BCLFeature CHARNIA_PURPLE = redisterVegetation("charnia_purple", new CharniaFeature(EndBlocks.CHARNIA_PURPLE), 10);
|
||||
public static final BCLFeature CHARNIA_CYAN = redisterVegetation("charnia_cyan", new CharniaFeature(EndBlocks.CHARNIA_CYAN), 10);
|
||||
public static final BCLFeature CHARNIA_LIGHT_BLUE = redisterVegetation("charnia_light_blue", new CharniaFeature(EndBlocks.CHARNIA_LIGHT_BLUE), 10);
|
||||
public static final BCLFeature CHARNIA_ORANGE = redisterVegetation("charnia_orange", new CharniaFeature(EndBlocks.CHARNIA_ORANGE), 10);
|
||||
public static final BCLFeature CHARNIA_GREEN = redisterVegetation("charnia_green", new CharniaFeature(EndBlocks.CHARNIA_GREEN), 10);
|
||||
public static final BCLFeature CHARNIA_RED = redisterVegetation(
|
||||
"charnia_red",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_RED),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature CHARNIA_PURPLE = redisterVegetation(
|
||||
"charnia_purple",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_PURPLE),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature CHARNIA_CYAN = redisterVegetation(
|
||||
"charnia_cyan",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_CYAN),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature CHARNIA_LIGHT_BLUE = redisterVegetation(
|
||||
"charnia_light_blue",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_LIGHT_BLUE),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature CHARNIA_ORANGE = redisterVegetation(
|
||||
"charnia_orange",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_ORANGE),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature CHARNIA_GREEN = redisterVegetation(
|
||||
"charnia_green",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_GREEN),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature MENGER_SPONGE = redisterVegetation("menger_sponge", new MengerSpongeFeature(5), 1);
|
||||
public static final BCLFeature CHARNIA_RED_RARE = redisterVegetation("charnia_red_rare", new CharniaFeature(EndBlocks.CHARNIA_RED), 2);
|
||||
public static final BCLFeature BIOME_ISLAND = BCLFeature.makeFeatureConfigured(BetterEnd.makeID("overworld_island"), new BiomeIslandFeature());
|
||||
public static final BCLFeature FLAMAEA = redisterVegetation("flamaea", new SinglePlantFeature(EndBlocks.FLAMAEA, 12, false, 5), 20);
|
||||
public static final BCLFeature CHARNIA_RED_RARE = redisterVegetation(
|
||||
"charnia_red_rare",
|
||||
new CharniaFeature(EndBlocks.CHARNIA_RED),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature BIOME_ISLAND = BCLFeature.makeFeatureConfigured(
|
||||
BetterEnd.makeID("overworld_island"),
|
||||
new BiomeIslandFeature()
|
||||
);
|
||||
public static final BCLFeature FLAMAEA = redisterVegetation(
|
||||
"flamaea",
|
||||
new SinglePlantFeature(EndBlocks.FLAMAEA, 12, false, 5),
|
||||
20
|
||||
);
|
||||
|
||||
// Terrain //
|
||||
public static final BCLFeature END_LAKE = registerLake("end_lake", new EndLakeFeature(), 4);
|
||||
|
@ -202,22 +489,63 @@ public class EndFeatures {
|
|||
public static final BCLFeature FLOATING_SPIRE = registerRawGen("floating_spire", new FloatingSpireFeature(), 8);
|
||||
public static final BCLFeature GEYSER = registerRawGen("geyser", new GeyserFeature(), 8);
|
||||
public static final BCLFeature SULPHURIC_LAKE = registerLake("sulphuric_lake", new SulphuricLakeFeature(), 8);
|
||||
public static final BCLFeature SULPHURIC_CAVE = BCLFeature.makeCountRawFeature(BetterEnd.makeID("sulphuric_cave"), new SulphuricCaveFeature(), 2);
|
||||
public static final BCLFeature SULPHURIC_CAVE = BCLFeature.makeCountRawFeature(
|
||||
BetterEnd.makeID("sulphuric_cave"),
|
||||
new SulphuricCaveFeature(),
|
||||
2
|
||||
);
|
||||
public static final BCLFeature ICE_STAR = registerRawGen("ice_star", new IceStarFeature(5, 15, 10, 25), 15);
|
||||
public static final BCLFeature ICE_STAR_SMALL = registerRawGen("ice_star_small", new IceStarFeature(3, 5, 7, 12), 8);
|
||||
public static final BCLFeature ICE_STAR_SMALL = registerRawGen(
|
||||
"ice_star_small",
|
||||
new IceStarFeature(3, 5, 7, 12),
|
||||
8
|
||||
);
|
||||
public static final BCLFeature SURFACE_VENT = registerChanced("surface_vent", new SurfaceVentFeature(), 4);
|
||||
public static final BCLFeature SULPHUR_HILL = registerChanced("sulphur_hill", new SulphurHillFeature(), 8);
|
||||
public static final BCLFeature OBSIDIAN_PILLAR_BASEMENT = registerChanced("obsidian_pillar_basement", new ObsidianPillarBasementFeature(), 8);
|
||||
public static final BCLFeature OBSIDIAN_BOULDER = registerChanced("obsidian_boulder", new ObsidianBoulderFeature(), 10);
|
||||
public static final BCLFeature OBSIDIAN_PILLAR_BASEMENT = registerChanced(
|
||||
"obsidian_pillar_basement",
|
||||
new ObsidianPillarBasementFeature(),
|
||||
8
|
||||
);
|
||||
public static final BCLFeature OBSIDIAN_BOULDER = registerChanced(
|
||||
"obsidian_boulder",
|
||||
new ObsidianBoulderFeature(),
|
||||
10
|
||||
);
|
||||
public static final BCLFeature FALLEN_PILLAR = registerChanced("fallen_pillar", new FallenPillarFeature(), 20);
|
||||
public static final BCLFeature TUNEL_CAVE = BCLFeature.makeChunkFeature(BetterEnd.makeID("tunel_cave"), new TunelCaveFeature());
|
||||
public static final BCLFeature TUNEL_CAVE = BCLFeature.makeChunkFeature(
|
||||
BetterEnd.makeID("tunel_cave"),
|
||||
new TunelCaveFeature()
|
||||
);
|
||||
|
||||
// Ores //
|
||||
public static final BCLFeature THALLASIUM_ORE = registerOre("thallasium_ore", EndBlocks.THALLASIUM.ore, 24, 8, 0, 5, 128);
|
||||
public static final BCLFeature THALLASIUM_ORE = registerOre(
|
||||
"thallasium_ore",
|
||||
EndBlocks.THALLASIUM.ore,
|
||||
24,
|
||||
8,
|
||||
0,
|
||||
5,
|
||||
128
|
||||
);
|
||||
public static final BCLFeature ENDER_ORE = registerOre("ender_ore", EndBlocks.ENDER_ORE, 12, 4, 0, 5, 128);
|
||||
public static final BCLFeature AMBER_ORE = registerOre("amber_ore", EndBlocks.AMBER_ORE, 24, 6, 0, 5, 128);
|
||||
public static final BCLFeature VIOLECITE_LAYER = registerLayer("violecite_layer", EndBlocks.VIOLECITE, 15, 16, 128, 8);
|
||||
public static final BCLFeature FLAVOLITE_LAYER = registerLayer("flavolite_layer", EndBlocks.FLAVOLITE, 12, 16, 128, 6);
|
||||
public static final BCLFeature VIOLECITE_LAYER = registerLayer(
|
||||
"violecite_layer",
|
||||
EndBlocks.VIOLECITE,
|
||||
15,
|
||||
16,
|
||||
128,
|
||||
8
|
||||
);
|
||||
public static final BCLFeature FLAVOLITE_LAYER = registerLayer(
|
||||
"flavolite_layer",
|
||||
EndBlocks.FLAVOLITE,
|
||||
12,
|
||||
16,
|
||||
128,
|
||||
6
|
||||
);
|
||||
|
||||
// Buildings
|
||||
public static final BCLFeature CRASHED_SHIP = registerChanced("crashed_ship", new CrashedShipFeature(), 500);
|
||||
|
@ -233,10 +561,27 @@ public class EndFeatures {
|
|||
public static final DefaultFeature CAVE_GRASS = new SingleBlockFeature(EndBlocks.CAVE_GRASS);
|
||||
public static final DefaultFeature RUBINEA = new VineFeature(EndBlocks.RUBINEA, 8);
|
||||
public static final DefaultFeature MAGNULA = new VineFeature(EndBlocks.MAGNULA, 8);
|
||||
public static final DefaultFeature END_STONE_STALACTITE = new StalactiteFeature(true, EndBlocks.END_STONE_STALACTITE, Blocks.END_STONE);
|
||||
public static final DefaultFeature END_STONE_STALAGMITE = new StalactiteFeature(false, EndBlocks.END_STONE_STALACTITE, Blocks.END_STONE);
|
||||
public static final DefaultFeature END_STONE_STALACTITE_CAVEMOSS = new StalactiteFeature(true, EndBlocks.END_STONE_STALACTITE_CAVEMOSS, Blocks.END_STONE, EndBlocks.CAVE_MOSS);
|
||||
public static final DefaultFeature END_STONE_STALAGMITE_CAVEMOSS = new StalactiteFeature(false, EndBlocks.END_STONE_STALACTITE_CAVEMOSS, EndBlocks.CAVE_MOSS);
|
||||
public static final DefaultFeature END_STONE_STALACTITE = new StalactiteFeature(
|
||||
true,
|
||||
EndBlocks.END_STONE_STALACTITE,
|
||||
Blocks.END_STONE
|
||||
);
|
||||
public static final DefaultFeature END_STONE_STALAGMITE = new StalactiteFeature(
|
||||
false,
|
||||
EndBlocks.END_STONE_STALACTITE,
|
||||
Blocks.END_STONE
|
||||
);
|
||||
public static final DefaultFeature END_STONE_STALACTITE_CAVEMOSS = new StalactiteFeature(
|
||||
true,
|
||||
EndBlocks.END_STONE_STALACTITE_CAVEMOSS,
|
||||
Blocks.END_STONE,
|
||||
EndBlocks.CAVE_MOSS
|
||||
);
|
||||
public static final DefaultFeature END_STONE_STALAGMITE_CAVEMOSS = new StalactiteFeature(
|
||||
false,
|
||||
EndBlocks.END_STONE_STALACTITE_CAVEMOSS,
|
||||
EndBlocks.CAVE_MOSS
|
||||
);
|
||||
public static final DefaultFeature CAVE_PUMPKIN = new CavePumpkinFeature();
|
||||
|
||||
private static BCLFeature redisterVegetation(String name, Feature<NoneFeatureConfiguration> feature, int density) {
|
||||
|
@ -262,7 +607,9 @@ public class EndFeatures {
|
|||
|
||||
private static BCLFeature registerLayer(String name, Block block, float radius, int minY, int maxY, int count) {
|
||||
OreLayerFeature layer = new OreLayerFeature(block.defaultBlockState(), radius, minY, maxY);
|
||||
ConfiguredFeature<?, ?> configured = layer.configured(FeatureConfiguration.NONE).decorated(FeatureDecorator.COUNT.configured(new CountConfiguration(count)));
|
||||
ConfiguredFeature<?, ?> configured = layer.configured(FeatureConfiguration.NONE)
|
||||
.decorated(FeatureDecorator.COUNT.configured(new CountConfiguration(
|
||||
count)));
|
||||
return new BCLFeature(BetterEnd.makeID(name), layer, GenerationStep.Decoration.UNDERGROUND_ORES, configured);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,13 +17,11 @@ import net.minecraft.world.item.Items;
|
|||
import net.minecraft.world.item.TieredItem;
|
||||
import net.minecraft.world.item.Tiers;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import ru.bclib.items.BaseAnvilItem;
|
||||
import ru.bclib.items.BaseArmorItem;
|
||||
import ru.bclib.items.tool.BaseAxeItem;
|
||||
import ru.bclib.items.tool.BaseHoeItem;
|
||||
import ru.bclib.items.tool.BaseShovelItem;
|
||||
import ru.bclib.items.tool.BaseSwordItem;
|
||||
import ru.bclib.registry.BaseRegistry;
|
||||
import ru.bclib.registry.ItemsRegistry;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.config.Configs;
|
||||
|
@ -66,33 +64,88 @@ public class EndItems extends ItemsRegistry {
|
|||
public final static Item SILK_FIBER = registerEndItem("silk_fiber");
|
||||
public final static Item LUMECORN_ROD = registerEndItem("lumecorn_rod");
|
||||
public final static Item SILK_MOTH_MATRIX = registerEndItem("silk_moth_matrix");
|
||||
public final static Item ENCHANTED_MEMBRANE = registerEndItem("enchanted_membrane", new EnchantedItem(Items.PHANTOM_MEMBRANE));
|
||||
public final static Item ENCHANTED_MEMBRANE = registerEndItem(
|
||||
"enchanted_membrane",
|
||||
new EnchantedItem(Items.PHANTOM_MEMBRANE)
|
||||
);
|
||||
|
||||
// Music Discs
|
||||
public final static Item MUSIC_DISC_STRANGE_AND_ALIEN = registerEndDisc("music_disc_strange_and_alien", 0, EndSounds.RECORD_STRANGE_AND_ALIEN);
|
||||
public final static Item MUSIC_DISC_GRASPING_AT_STARS = registerEndDisc("music_disc_grasping_at_stars", 0, EndSounds.RECORD_GRASPING_AT_STARS);
|
||||
public final static Item MUSIC_DISC_ENDSEEKER = registerEndDisc("music_disc_endseeker", 0, EndSounds.RECORD_ENDSEEKER);
|
||||
public final static Item MUSIC_DISC_EO_DRACONA = registerEndDisc("music_disc_eo_dracona", 0, EndSounds.RECORD_EO_DRACONA);
|
||||
public final static Item MUSIC_DISC_STRANGE_AND_ALIEN = registerEndDisc(
|
||||
"music_disc_strange_and_alien",
|
||||
0,
|
||||
EndSounds.RECORD_STRANGE_AND_ALIEN
|
||||
);
|
||||
public final static Item MUSIC_DISC_GRASPING_AT_STARS = registerEndDisc(
|
||||
"music_disc_grasping_at_stars",
|
||||
0,
|
||||
EndSounds.RECORD_GRASPING_AT_STARS
|
||||
);
|
||||
public final static Item MUSIC_DISC_ENDSEEKER = registerEndDisc(
|
||||
"music_disc_endseeker",
|
||||
0,
|
||||
EndSounds.RECORD_ENDSEEKER
|
||||
);
|
||||
public final static Item MUSIC_DISC_EO_DRACONA = registerEndDisc(
|
||||
"music_disc_eo_dracona",
|
||||
0,
|
||||
EndSounds.RECORD_EO_DRACONA
|
||||
);
|
||||
|
||||
// Armor //
|
||||
public static final Item AETERNIUM_HELMET = registerEndItem("aeternium_helmet", new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.HEAD, makeEndItemSettings().fireResistant()));
|
||||
public static final Item AETERNIUM_CHESTPLATE = registerEndItem("aeternium_chestplate", new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.CHEST, makeEndItemSettings().fireResistant()));
|
||||
public static final Item AETERNIUM_LEGGINGS = registerEndItem("aeternium_leggings", new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.LEGS, makeEndItemSettings().fireResistant()));
|
||||
public static final Item AETERNIUM_BOOTS = registerEndItem("aeternium_boots", new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.FEET, makeEndItemSettings().fireResistant()));
|
||||
public static final Item AETERNIUM_HELMET = registerEndItem(
|
||||
"aeternium_helmet",
|
||||
new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.HEAD, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final Item AETERNIUM_CHESTPLATE = registerEndItem(
|
||||
"aeternium_chestplate",
|
||||
new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.CHEST, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final Item AETERNIUM_LEGGINGS = registerEndItem(
|
||||
"aeternium_leggings",
|
||||
new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.LEGS, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final Item AETERNIUM_BOOTS = registerEndItem(
|
||||
"aeternium_boots",
|
||||
new BaseArmorItem(EndArmorMaterial.AETERNIUM, EquipmentSlot.FEET, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final Item CRYSTALITE_HELMET = registerEndItem("crystalite_helmet", new CrystaliteHelmet());
|
||||
public static final Item CRYSTALITE_CHESTPLATE = registerEndItem("crystalite_chestplate", new CrystaliteChestplate());
|
||||
public static final Item CRYSTALITE_CHESTPLATE = registerEndItem(
|
||||
"crystalite_chestplate",
|
||||
new CrystaliteChestplate()
|
||||
);
|
||||
public static final Item CRYSTALITE_LEGGINGS = registerEndItem("crystalite_leggings", new CrystaliteLeggings());
|
||||
public static final Item CRYSTALITE_BOOTS = registerEndItem("crystalite_boots", new CrystaliteBoots());
|
||||
public static final Item ARMORED_ELYTRA = registerEndItem("elytra_armored", new ArmoredElytra("elytra_armored", EndArmorMaterial.AETERNIUM, Items.PHANTOM_MEMBRANE, 900, 0.975D, true));
|
||||
public static final Item ARMORED_ELYTRA = registerEndItem(
|
||||
"elytra_armored",
|
||||
new ArmoredElytra("elytra_armored", EndArmorMaterial.AETERNIUM, Items.PHANTOM_MEMBRANE, 900, 0.975D, true)
|
||||
);
|
||||
public static final Item CRYSTALITE_ELYTRA = registerEndItem("elytra_crystalite", new CrystaliteElytra(650, 0.99D));
|
||||
|
||||
// Tools //
|
||||
public static final TieredItem AETERNIUM_SHOVEL = registerEndTool("aeternium_shovel", new BaseShovelItem(EndToolMaterial.AETERNIUM, 1.5F, -3.0F, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem AETERNIUM_SWORD = registerEndTool("aeternium_sword", new BaseSwordItem(EndToolMaterial.AETERNIUM, 3, -2.4F, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem AETERNIUM_PICKAXE = registerEndTool("aeternium_pickaxe", new EndPickaxe(EndToolMaterial.AETERNIUM, 1, -2.8F, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem AETERNIUM_AXE = registerEndTool("aeternium_axe", new BaseAxeItem(EndToolMaterial.AETERNIUM, 5.0F, -3.0F, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem AETERNIUM_HOE = registerEndTool("aeternium_hoe", new BaseHoeItem(EndToolMaterial.AETERNIUM, -3, 0.0F, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem AETERNIUM_HAMMER = registerEndTool("aeternium_hammer", new EndHammerItem(EndToolMaterial.AETERNIUM, 6.0F, -3.0F, 0.3D, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem AETERNIUM_SHOVEL = registerEndTool(
|
||||
"aeternium_shovel",
|
||||
new BaseShovelItem(EndToolMaterial.AETERNIUM, 1.5F, -3.0F, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final TieredItem AETERNIUM_SWORD = registerEndTool(
|
||||
"aeternium_sword",
|
||||
new BaseSwordItem(EndToolMaterial.AETERNIUM, 3, -2.4F, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final TieredItem AETERNIUM_PICKAXE = registerEndTool(
|
||||
"aeternium_pickaxe",
|
||||
new EndPickaxe(EndToolMaterial.AETERNIUM, 1, -2.8F, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final TieredItem AETERNIUM_AXE = registerEndTool(
|
||||
"aeternium_axe",
|
||||
new BaseAxeItem(EndToolMaterial.AETERNIUM, 5.0F, -3.0F, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final TieredItem AETERNIUM_HOE = registerEndTool(
|
||||
"aeternium_hoe",
|
||||
new BaseHoeItem(EndToolMaterial.AETERNIUM, -3, 0.0F, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
public static final TieredItem AETERNIUM_HAMMER = registerEndTool(
|
||||
"aeternium_hammer",
|
||||
new EndHammerItem(EndToolMaterial.AETERNIUM, 6.0F, -3.0F, 0.3D, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
|
||||
// Toolparts //
|
||||
public final static Item AETERNIUM_SHOVEL_HEAD = registerEndItem("aeternium_shovel_head");
|
||||
|
@ -104,20 +157,40 @@ public class EndItems extends ItemsRegistry {
|
|||
public final static Item AETERNIUM_SWORD_HANDLE = registerEndItem("aeternium_sword_handle");
|
||||
|
||||
// Hammers //
|
||||
public static final TieredItem IRON_HAMMER = registerEndTool("iron_hammer", new EndHammerItem(Tiers.IRON, 5.0F, -3.2F, 0.2D, makeEndItemSettings()));
|
||||
public static final TieredItem GOLDEN_HAMMER = registerEndTool("golden_hammer", new EndHammerItem(Tiers.GOLD, 4.5F, -3.4F, 0.3D, makeEndItemSettings()));
|
||||
public static final TieredItem DIAMOND_HAMMER = registerEndTool("diamond_hammer", new EndHammerItem(Tiers.DIAMOND, 5.5F, -3.1F, 0.2D, makeEndItemSettings()));
|
||||
public static final TieredItem NETHERITE_HAMMER = registerEndTool("netherite_hammer", new EndHammerItem(Tiers.NETHERITE, 5.0F, -3.0F, 0.2D, makeEndItemSettings().fireResistant()));
|
||||
public static final TieredItem IRON_HAMMER = registerEndTool(
|
||||
"iron_hammer",
|
||||
new EndHammerItem(Tiers.IRON, 5.0F, -3.2F, 0.2D, makeEndItemSettings())
|
||||
);
|
||||
public static final TieredItem GOLDEN_HAMMER = registerEndTool(
|
||||
"golden_hammer",
|
||||
new EndHammerItem(Tiers.GOLD, 4.5F, -3.4F, 0.3D, makeEndItemSettings())
|
||||
);
|
||||
public static final TieredItem DIAMOND_HAMMER = registerEndTool(
|
||||
"diamond_hammer",
|
||||
new EndHammerItem(Tiers.DIAMOND, 5.5F, -3.1F, 0.2D, makeEndItemSettings())
|
||||
);
|
||||
public static final TieredItem NETHERITE_HAMMER = registerEndTool(
|
||||
"netherite_hammer",
|
||||
new EndHammerItem(Tiers.NETHERITE, 5.0F, -3.0F, 0.2D, makeEndItemSettings().fireResistant())
|
||||
);
|
||||
|
||||
// Food //
|
||||
public final static Item SHADOW_BERRY_RAW = registerEndFood("shadow_berry_raw", 4, 0.5F);
|
||||
public final static Item SHADOW_BERRY_COOKED = registerEndFood("shadow_berry_cooked", 6, 0.7F);
|
||||
public final static Item END_FISH_RAW = registerEndFood("end_fish_raw", Foods.SALMON);
|
||||
public final static Item END_FISH_COOKED = registerEndFood("end_fish_cooked", Foods.COOKED_SALMON);
|
||||
public final static Item BUCKET_END_FISH = registerEndItem("bucket_end_fish", new EndBucketItem(EndEntities.END_FISH));
|
||||
public final static Item BUCKET_END_FISH = registerEndItem(
|
||||
"bucket_end_fish",
|
||||
new EndBucketItem(EndEntities.END_FISH)
|
||||
);
|
||||
public final static Item BUCKET_CUBOZOA = registerEndItem("bucket_cubozoa", new EndBucketItem(EndEntities.CUBOZOA));
|
||||
public final static Item SWEET_BERRY_JELLY = registerEndFood("sweet_berry_jelly", 8, 0.7F);
|
||||
public final static Item SHADOW_BERRY_JELLY = registerEndFood("shadow_berry_jelly", 6, 0.8F, new MobEffectInstance(MobEffects.NIGHT_VISION, 400));
|
||||
public final static Item SHADOW_BERRY_JELLY = registerEndFood(
|
||||
"shadow_berry_jelly",
|
||||
6,
|
||||
0.8F,
|
||||
new MobEffectInstance(MobEffects.NIGHT_VISION, 400)
|
||||
);
|
||||
public final static Item BLOSSOM_BERRY_JELLY = registerEndFood("blossom_berry_jelly", 8, 0.7F);
|
||||
public final static Item BLOSSOM_BERRY = registerEndFood("blossom_berry", Foods.APPLE);
|
||||
public final static Item AMBER_ROOT_RAW = registerEndFood("amber_root_raw", 2, 0.8F);
|
||||
|
|
|
@ -23,7 +23,10 @@ import ru.betterend.particle.SmaragdantParticle;
|
|||
public class EndParticles {
|
||||
public static final SimpleParticleType GLOWING_SPHERE = register("glowing_sphere");
|
||||
public static final SimpleParticleType PORTAL_SPHERE = register("portal_sphere");
|
||||
public static final ParticleType<InfusionParticleType> INFUSION = register("infusion", FabricParticleTypes.complex(InfusionParticleType.PARAMETERS_FACTORY));
|
||||
public static final ParticleType<InfusionParticleType> INFUSION = register(
|
||||
"infusion",
|
||||
FabricParticleTypes.complex(InfusionParticleType.PARAMETERS_FACTORY)
|
||||
);
|
||||
public static final SimpleParticleType SULPHUR_PARTICLE = register("sulphur_particle");
|
||||
public static final SimpleParticleType GEYSER_PARTICLE = registerFar("geyser_particle");
|
||||
public static final SimpleParticleType SNOWFLAKE = register("snowflake");
|
||||
|
|
|
@ -104,7 +104,13 @@ public class EndPortals {
|
|||
}
|
||||
|
||||
private static PortalInfo makeDefault() {
|
||||
return new PortalInfo(new ResourceLocation("minecraft:overworld"), BetterEnd.makeID("eternal_crystal"), 255, 255, 255);
|
||||
return new PortalInfo(
|
||||
new ResourceLocation("minecraft:overworld"),
|
||||
BetterEnd.makeID("eternal_crystal"),
|
||||
255,
|
||||
255,
|
||||
255
|
||||
);
|
||||
}
|
||||
|
||||
private static class PortalInfo {
|
||||
|
@ -114,7 +120,13 @@ public class EndPortals {
|
|||
private ServerLevel world;
|
||||
|
||||
PortalInfo(JsonObject obj) {
|
||||
this(new ResourceLocation(JsonFactory.getString(obj, "dimension", "minecraft:overworld")), new ResourceLocation(JsonFactory.getString(obj, "item", "betterend:eternal_crystal")), JsonFactory.getInt(obj, "colorRed", 255), JsonFactory.getInt(obj, "colorGreen", 255), JsonFactory.getInt(obj, "colorBlue", 255));
|
||||
this(
|
||||
new ResourceLocation(JsonFactory.getString(obj, "dimension", "minecraft:overworld")),
|
||||
new ResourceLocation(JsonFactory.getString(obj, "item", "betterend:eternal_crystal")),
|
||||
JsonFactory.getInt(obj, "colorRed", 255),
|
||||
JsonFactory.getInt(obj, "colorGreen", 255),
|
||||
JsonFactory.getInt(obj, "colorBlue", 255)
|
||||
);
|
||||
}
|
||||
|
||||
PortalInfo(ResourceLocation dimension, ResourceLocation item, int r, int g, int b) {
|
||||
|
|
|
@ -30,16 +30,51 @@ public class EndStructures {
|
|||
public static final StructurePieceType MOUNTAIN_PIECE = register("mountain_piece", CrystalMountainPiece::new);
|
||||
public static final StructurePieceType CAVE_PIECE = register("cave_piece", CavePiece::new);
|
||||
public static final StructurePieceType LAKE_PIECE = register("lake_piece", LakePiece::new);
|
||||
public static final StructurePieceType PAINTED_MOUNTAIN_PIECE = register("painted_mountain_piece", PaintedMountainPiece::new);
|
||||
public static final StructurePieceType PAINTED_MOUNTAIN_PIECE = register(
|
||||
"painted_mountain_piece",
|
||||
PaintedMountainPiece::new
|
||||
);
|
||||
public static final StructurePieceType NBT_PIECE = register("nbt_piece", NBTPiece::new);
|
||||
|
||||
public static final BCLStructureFeature GIANT_MOSSY_GLOWSHROOM = new BCLStructureFeature(BetterEnd.makeID("giant_mossy_glowshroom"), new GiantMossyGlowshroomStructure(), Decoration.SURFACE_STRUCTURES, 16, 8);
|
||||
public static final BCLStructureFeature MEGALAKE = new BCLStructureFeature(BetterEnd.makeID("megalake"), new MegaLakeStructure(), Decoration.RAW_GENERATION, 4, 1);
|
||||
public static final BCLStructureFeature MEGALAKE_SMALL = new BCLStructureFeature(BetterEnd.makeID("megalake_small"), new MegaLakeSmallStructure(), Decoration.RAW_GENERATION, 4, 1);
|
||||
public static final BCLStructureFeature MOUNTAIN = new BCLStructureFeature(BetterEnd.makeID("mountain"), new MountainStructure(), Decoration.RAW_GENERATION, 3, 2);
|
||||
public static final BCLStructureFeature PAINTED_MOUNTAIN = new BCLStructureFeature(BetterEnd.makeID("painted_mountain"), new PaintedMountainStructure(), Decoration.RAW_GENERATION, 3, 2);
|
||||
public static final BCLStructureFeature ETERNAL_PORTAL = new BCLStructureFeature(BetterEnd.makeID("eternal_portal"), new EternalPortalStructure(), Decoration.SURFACE_STRUCTURES, 16, 6);
|
||||
public static final BCLStructureFeature GIANT_ICE_STAR = new BCLStructureFeature(BetterEnd.makeID("giant_ice_star"), new GiantIceStarStructure(), Decoration.SURFACE_STRUCTURES, 16, 8);
|
||||
public static final BCLStructureFeature GIANT_MOSSY_GLOWSHROOM = new BCLStructureFeature(BetterEnd.makeID(
|
||||
"giant_mossy_glowshroom"), new GiantMossyGlowshroomStructure(), Decoration.SURFACE_STRUCTURES, 16, 8);
|
||||
public static final BCLStructureFeature MEGALAKE = new BCLStructureFeature(
|
||||
BetterEnd.makeID("megalake"),
|
||||
new MegaLakeStructure(),
|
||||
Decoration.RAW_GENERATION,
|
||||
4,
|
||||
1
|
||||
);
|
||||
public static final BCLStructureFeature MEGALAKE_SMALL = new BCLStructureFeature(
|
||||
BetterEnd.makeID("megalake_small"),
|
||||
new MegaLakeSmallStructure(),
|
||||
Decoration.RAW_GENERATION,
|
||||
4,
|
||||
1
|
||||
);
|
||||
public static final BCLStructureFeature MOUNTAIN = new BCLStructureFeature(
|
||||
BetterEnd.makeID("mountain"),
|
||||
new MountainStructure(),
|
||||
Decoration.RAW_GENERATION,
|
||||
3,
|
||||
2
|
||||
);
|
||||
public static final BCLStructureFeature PAINTED_MOUNTAIN = new BCLStructureFeature(BetterEnd.makeID(
|
||||
"painted_mountain"), new PaintedMountainStructure(), Decoration.RAW_GENERATION, 3, 2);
|
||||
public static final BCLStructureFeature ETERNAL_PORTAL = new BCLStructureFeature(
|
||||
BetterEnd.makeID("eternal_portal"),
|
||||
new EternalPortalStructure(),
|
||||
Decoration.SURFACE_STRUCTURES,
|
||||
16,
|
||||
6
|
||||
);
|
||||
public static final BCLStructureFeature GIANT_ICE_STAR = new BCLStructureFeature(
|
||||
BetterEnd.makeID("giant_ice_star"),
|
||||
new GiantIceStarStructure(),
|
||||
Decoration.SURFACE_STRUCTURES,
|
||||
16,
|
||||
8
|
||||
);
|
||||
|
||||
public static void register() {
|
||||
}
|
||||
|
|
|
@ -110,12 +110,28 @@ public class EndTags {
|
|||
ToolManagerImpl.tag(TagAPI.HAMMERS).register(new ModdedToolsVanillaBlocksToolHandler(hammers));
|
||||
TagHelper.addTag(TagAPI.HAMMERS, EndItems.AETERNIUM_HAMMER);
|
||||
|
||||
TagHelper.addTag(TagAPI.GEN_TERRAIN, EndBlocks.ENDER_ORE, EndBlocks.FLAVOLITE.stone, EndBlocks.VIOLECITE.stone, EndBlocks.SULPHURIC_ROCK.stone, EndBlocks.BRIMSTONE, EndBlocks.VIRID_JADESTONE.stone, EndBlocks.AZURE_JADESTONE.stone, EndBlocks.SANDY_JADESTONE.stone);
|
||||
TagHelper.addTag(
|
||||
TagAPI.GEN_TERRAIN,
|
||||
EndBlocks.ENDER_ORE,
|
||||
EndBlocks.FLAVOLITE.stone,
|
||||
EndBlocks.VIOLECITE.stone,
|
||||
EndBlocks.SULPHURIC_ROCK.stone,
|
||||
EndBlocks.BRIMSTONE,
|
||||
EndBlocks.VIRID_JADESTONE.stone,
|
||||
EndBlocks.AZURE_JADESTONE.stone,
|
||||
EndBlocks.SANDY_JADESTONE.stone
|
||||
);
|
||||
TagHelper.addTag(TagAPI.END_GROUND, EndBlocks.SULPHURIC_ROCK.stone, EndBlocks.BRIMSTONE);
|
||||
TagHelper.addTag(BlockTags.ANVIL, EndBlocks.AETERNIUM_ANVIL);
|
||||
TagHelper.addTag(BlockTags.BEACON_BASE_BLOCKS, EndBlocks.AETERNIUM_BLOCK);
|
||||
TagHelper.addTag(ItemTags.BEACON_PAYMENT_ITEMS, EndItems.AETERNIUM_INGOT);
|
||||
TagHelper.addTag(TagAPI.DRAGON_IMMUNE, EndBlocks.ENDER_ORE, EndBlocks.ETERNAL_PEDESTAL, EndBlocks.FLAVOLITE_RUNED_ETERNAL, EndBlocks.FLAVOLITE_RUNED);
|
||||
TagHelper.addTag(
|
||||
TagAPI.DRAGON_IMMUNE,
|
||||
EndBlocks.ENDER_ORE,
|
||||
EndBlocks.ETERNAL_PEDESTAL,
|
||||
EndBlocks.FLAVOLITE_RUNED_ETERNAL,
|
||||
EndBlocks.FLAVOLITE_RUNED
|
||||
);
|
||||
TagHelper.addTag(TagAPI.IRON_INGOTS, EndBlocks.THALLASIUM.ingot);
|
||||
|
||||
TagHelper.addTag(ALLOYING_IRON, Items.IRON_ORE, Items.DEEPSLATE_IRON_ORE, Items.RAW_IRON);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue