Skip to content

Commit

Permalink
Added Radiant Hands to the End Wilds
Browse files Browse the repository at this point in the history
  • Loading branch information
Forstride committed Jan 15, 2024
1 parent ffb29cd commit 29fb28c
Show file tree
Hide file tree
Showing 37 changed files with 472 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-01-15T12:56:55.8947933 Registries
// 1.20.4 2024-01-15T17:30:15.1076266 Registries
bec08031dc5126119d3c7a1033703f8235bdf56e data/biomesoplenty/damage_type/bramble.json
41f8df67f585538edc9847b6754275d24b813e06 data/biomesoplenty/damage_type/fumarole.json
1db19ce8d33b8c131955b60ed830200bbee6a912 data/biomesoplenty/worldgen/biome/aspen_glade.json
Expand All @@ -15,7 +15,7 @@ d0c0bdd9fc7b09e7d046e35faea8cc6d752b468a data/biomesoplenty/worldgen/biome/crag.
d4a9226ceaef3cf4eed45892e027c1eabf9fcd72 data/biomesoplenty/worldgen/biome/dune_beach.json
a7750ccecb4f2b9cceb60bc237458b6c0650c149 data/biomesoplenty/worldgen/biome/end_corruption.json
32b9b82ab839f70df725c3aceaf2ea2a0bb2cbd3 data/biomesoplenty/worldgen/biome/end_reef.json
38c7df0391f6c076440791154d7ea693ccb5befe data/biomesoplenty/worldgen/biome/end_wilds.json
c8da42275f3e77f30df81eea9d0cfcf22f00cde1 data/biomesoplenty/worldgen/biome/end_wilds.json
a89d541384f1a879bb82d9c984d98c512474d27c data/biomesoplenty/worldgen/biome/erupting_inferno.json
d662a9e04a7840345595d343cc34426393c04699 data/biomesoplenty/worldgen/biome/field.json
0ca60f25f9961787ec5f174f8be6f29463c4decc data/biomesoplenty/worldgen/biome/fir_clearing.json
Expand Down Expand Up @@ -248,6 +248,7 @@ eb73d3141aa51f279ed8394438edf5fb43556c05 data/biomesoplenty/worldgen/configured_
bac760298359836e67dd72154b54143838a39d5b data/biomesoplenty/worldgen/configured_feature/porous_flesh.json
cce4300d986eb4f0b18571aa6f90d35c9ac391bb data/biomesoplenty/worldgen/configured_feature/pumpkin_patch.json
a8bd5758feb35be56e16a2173b52e322fa5650bd data/biomesoplenty/worldgen/configured_feature/pus_bubbles.json
2d9ab6be532a12aa88233665fec32eff1fbdb072 data/biomesoplenty/worldgen/configured_feature/radiant_hands.json
49ebda4cdc7b79ad0092b447062bc1d2996134e0 data/biomesoplenty/worldgen/configured_feature/rainbow_birch_tree.json
da5c3cbdc433227b19d5c658b734b81f147c52a6 data/biomesoplenty/worldgen/configured_feature/rainforest_cliffs_vines.json
ef3b4755f3a08311557b110c0b1d74e66a382de1 data/biomesoplenty/worldgen/configured_feature/redwood_tree.json
Expand Down Expand Up @@ -552,6 +553,7 @@ aa0d904e7a1f35d576717565f0442d01000453cc data/biomesoplenty/worldgen/placed_feat
51bf1f3cd23c08e9fa2c2189d39fd90371762bc3 data/biomesoplenty/worldgen/placed_feature/porous_flesh.json
5778dd543e43fb9e71c08554abb7f350253643cf data/biomesoplenty/worldgen/placed_feature/pumpkin_patch.json
db09e9654c16f52e231da2d5b8f06e7939ea5d69 data/biomesoplenty/worldgen/placed_feature/pus_bubbles.json
fcdffc2c2a3ff4d45d0a2855b4efb0fd1bbd664c data/biomesoplenty/worldgen/placed_feature/radiant_hands.json
717eb46bdca44e52128033b627f0fb8aefe886a8 data/biomesoplenty/worldgen/placed_feature/rainbow_birch_tree.json
87d9d03e05cd26120e64be061b4133c09059aa1b data/biomesoplenty/worldgen/placed_feature/rainforest_cliffs_vines.json
11e26339d0c1be09f94db502d5da6a780af69e7d data/biomesoplenty/worldgen/placed_feature/redwood_tree.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
[
"biomesoplenty:trees_end_wilds",
"biomesoplenty:flower_end_wilds",
"biomesoplenty:patch_enderphytes"
"biomesoplenty:patch_enderphytes",
"biomesoplenty:radiant_hands"
]
],
"has_precipitation": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "biomesoplenty:radiant_hands",
"config": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"feature": "biomesoplenty:radiant_hands",
"placement": [
{
"type": "minecraft:rarity_filter",
"chance": 2
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "MOTION_BLOCKING"
},
{
"type": "minecraft:biome"
}
]
}
2 changes: 2 additions & 0 deletions common/src/main/java/biomesoplenty/api/block/BOPBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ public class BOPBlocks
public static Block DEAD_GRASS;
public static Block TUNDRA_SHRUB;
public static Block ENDERPHYTE;
public static Block RADIANT_HANDS;
public static Block RADIANT_HANDS_PLANT;
public static Block BARLEY;
public static Block SEA_OATS;
public static Block CATTAIL;
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/java/biomesoplenty/api/item/BOPItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ public class BOPItems
public static Item DEAD_GRASS;
public static Item TUNDRA_SHRUB;
public static Item ENDERPHYTE;
public static Item RADIANT_HANDS;
public static Item RADIANT_HANDS_PLANT;
public static Item BARLEY;
public static Item SEA_OATS;
public static Item CATTAIL;
Expand Down
1 change: 1 addition & 0 deletions common/src/main/java/biomesoplenty/biome/BOPEndBiomes.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public static Biome endWilds(HolderGetter<PlacedFeature> placedFeatureGetter, Ho
biomeBuilder.addFeature(GenerationStep.Decoration.VEGETAL_DECORATION, BOPEndPlacements.TREES_END_WILDS);
biomeBuilder.addFeature(GenerationStep.Decoration.VEGETAL_DECORATION, BOPEndPlacements.FLOWER_END_WILDS);
biomeBuilder.addFeature(GenerationStep.Decoration.VEGETAL_DECORATION, BOPEndPlacements.PATCH_ENDERPHYTES);
biomeBuilder.addFeature(GenerationStep.Decoration.VEGETAL_DECORATION, BOPEndPlacements.RADIANT_HANDS);
return baseEndBiome(biomeBuilder);
}

Expand Down
124 changes: 124 additions & 0 deletions common/src/main/java/biomesoplenty/block/RadiantHandsBlock.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
/*******************************************************************************
* Copyright 2022, the Glitchfiend Team.
* All rights reserved.
******************************************************************************/
package biomesoplenty.block;

import biomesoplenty.api.block.BOPBlocks;
import com.mojang.serialization.MapCodec;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.server.level.ServerLevel;
import net.minecraft.tags.BlockTags;
import net.minecraft.util.RandomSource;
import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.level.LevelReader;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.GrowingPlantHeadBlock;
import net.minecraft.world.level.block.NetherVines;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.StateDefinition;
import net.minecraft.world.level.block.state.properties.BlockStateProperties;
import net.minecraft.world.level.block.state.properties.BooleanProperty;
import net.minecraft.world.phys.shapes.VoxelShape;

import java.util.function.ToIntFunction;

public class RadiantHandsBlock extends GrowingPlantHeadBlock
{
public static final MapCodec<RadiantHandsBlock> CODEC = simpleCodec(RadiantHandsBlock::new);
public static final BooleanProperty LIT = BlockStateProperties.LIT;
public static final VoxelShape SHAPE = Block.box(1.0D, 0.0D, 1.0D, 15.0D, 16.0D, 15.0D);
public static final int MAX_AGE = 8;
private final double growPerTickProbability;

public RadiantHandsBlock(Properties p_i241195_1_)
{
super(p_i241195_1_, Direction.UP, SHAPE, false, 0.01D);
this.growPerTickProbability = 0.01D;
this.registerDefaultState(this.stateDefinition.any().setValue(AGE, 0).setValue(LIT, false));
}

@Override
public MapCodec<RadiantHandsBlock> codec()
{
return CODEC;
}

@Override
public BlockState getStateForPlacement(LevelAccessor p_53949_)
{
return this.defaultBlockState().setValue(AGE, Integer.valueOf(p_53949_.getRandom().nextInt(MAX_AGE))).setValue(LIT, p_53949_.getRandom().nextInt(7) == 0);
}

@Override
public boolean isRandomlyTicking(BlockState p_53961_) {
return p_53961_.getValue(AGE) < MAX_AGE;
}

@Override
public BlockState getMaxAgeState(BlockState p_187439_) {
return p_187439_.setValue(AGE, Integer.valueOf(MAX_AGE));
}

@Override
public boolean isMaxAge(BlockState p_187441_) {
return p_187441_.getValue(AGE) == MAX_AGE;
}

@Override
protected int getBlocksToGrowWhenBonemealed(RandomSource p_230332_1_) {
return NetherVines.getBlocksToGrowWhenBonemealed(p_230332_1_);
}

@Override
public void performBonemeal(ServerLevel p_221337_, RandomSource p_221338_, BlockPos p_221339_, BlockState p_221340_) {
BlockPos blockpos = p_221339_.relative(this.growthDirection);
int i = Math.min(p_221340_.getValue(AGE) + 1, MAX_AGE);
int j = this.getBlocksToGrowWhenBonemealed(p_221338_);

for(int k = 0; k < j && this.canGrowInto(p_221337_.getBlockState(blockpos)); ++k) {
p_221337_.setBlockAndUpdate(blockpos, p_221340_.setValue(AGE, Integer.valueOf(i)));
blockpos = blockpos.relative(this.growthDirection);
i = Math.min(i + 1, MAX_AGE);
}

}

@Override
protected boolean canGrowInto(BlockState p_230334_1_) {
return NetherVines.isValidGrowthState(p_230334_1_);
}

@Override
protected Block getBodyBlock() {
return BOPBlocks.RADIANT_HANDS_PLANT;
}

@Override
public boolean canSurvive(BlockState p_196260_1_, LevelReader p_196260_2_, BlockPos p_196260_3_)
{
BlockPos blockpos = p_196260_3_.relative(this.growthDirection.getOpposite());
BlockState blockstate = p_196260_2_.getBlockState(blockpos);
Block block = blockstate.getBlock();
if (!this.canAttachTo(blockstate))
{
return false;
}
else
{
return block == this.getHeadBlock() || block == this.getBodyBlock() || block == Blocks.END_STONE || block == BOPBlocks.ALGAL_END_STONE;
}
}

public static ToIntFunction<BlockState> lightLevel(int level)
{
return (state) -> { return state.getValue(LIT) ? level : 0; };
}

@Override
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> p_56651_) {
p_56651_.add(AGE, LIT);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*******************************************************************************
* Copyright 2022, the Glitchfiend Team.
* All rights reserved.
******************************************************************************/
package biomesoplenty.block;

import biomesoplenty.api.block.BOPBlocks;
import com.mojang.serialization.MapCodec;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.tags.BlockTags;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.LevelReader;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.block.GrowingPlantBodyBlock;
import net.minecraft.world.level.block.GrowingPlantHeadBlock;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.StateDefinition;
import net.minecraft.world.level.block.state.properties.BlockStateProperties;
import net.minecraft.world.level.block.state.properties.BooleanProperty;
import net.minecraft.world.phys.shapes.VoxelShape;

import java.util.function.ToIntFunction;

public class RadiantHandsPlantBlock extends GrowingPlantBodyBlock
{
public static final MapCodec<RadiantHandsPlantBlock> CODEC = simpleCodec(RadiantHandsPlantBlock::new);
public static final BooleanProperty LIT = BlockStateProperties.LIT;
public static final VoxelShape SHAPE = Block.box(1.0D, 0.0D, 1.0D, 15.0D, 16.0D, 15.0D);

public RadiantHandsPlantBlock(Properties p_i241195_1_)
{
super(p_i241195_1_, Direction.UP, SHAPE, false);
this.registerDefaultState(this.stateDefinition.any().setValue(LIT, false));
}

@Override
public MapCodec<RadiantHandsPlantBlock> codec()
{
return CODEC;
}

@Override
protected GrowingPlantHeadBlock getHeadBlock() {
return (GrowingPlantHeadBlock) BOPBlocks.RADIANT_HANDS;
}

@Override
public boolean canSurvive(BlockState p_196260_1_, LevelReader p_196260_2_, BlockPos p_196260_3_)
{
BlockPos blockpos = p_196260_3_.relative(this.growthDirection.getOpposite());
BlockState blockstate = p_196260_2_.getBlockState(blockpos);
Block block = blockstate.getBlock();
if (!this.canAttachTo(blockstate))
{
return false;
}
else
{
return block == this.getHeadBlock() || block == this.getBodyBlock() || block == Blocks.END_STONE || block == BOPBlocks.ALGAL_END_STONE;
}
}

public static ToIntFunction<BlockState> lightLevel(int level)
{
return (state) -> { return state.getValue(LIT) ? level : 0; };
}

@Override
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> p_56651_) {
p_56651_.add(LIT);
}
}
2 changes: 2 additions & 0 deletions common/src/main/java/biomesoplenty/init/ModBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,8 @@ private static void registerBlocks(BiConsumer<ResourceLocation, Block> func)
DEAD_GRASS = register(func, new FoliageBlockBOP(BlockBehaviour.Properties.of().pushReaction(PushReaction.DESTROY).mapColor(MapColor.WOOD).replaceable().ignitedByLava().noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XYZ)), "dead_grass");
TUNDRA_SHRUB = register(func, new FoliageBlockBOP(BlockBehaviour.Properties.of().pushReaction(PushReaction.DESTROY).mapColor(MapColor.PLANT).replaceable().ignitedByLava().noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XZ)), "tundra_shrub");
ENDERPHYTE = register(func, new FoliageBlockBOP(BlockBehaviour.Properties.of().pushReaction(PushReaction.DESTROY).mapColor(MapColor.TERRACOTTA_YELLOW).replaceable().ignitedByLava().noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XYZ)), "enderphyte");
RADIANT_HANDS = register(func, new RadiantHandsBlock(BlockBehaviour.Properties.of().mapColor(MapColor.TERRACOTTA_YELLOW).pushReaction(PushReaction.DESTROY).randomTicks().replaceable().ignitedByLava().noCollission().instabreak().sound(SoundType.GRASS).lightLevel(RadiantHandsBlock.lightLevel(10)).offsetType(BlockBehaviour.OffsetType.XZ)), "radiant_hands");
RADIANT_HANDS_PLANT = register(func, new RadiantHandsPlantBlock(BlockBehaviour.Properties.of().mapColor(MapColor.TERRACOTTA_YELLOW).pushReaction(PushReaction.DESTROY).replaceable().ignitedByLava().noCollission().instabreak().sound(SoundType.GRASS).lightLevel(RadiantHandsPlantBlock.lightLevel(10)).offsetType(BlockBehaviour.OffsetType.XZ)), "radiant_hands_plant");
BARLEY = register(func, new DoublePlantBlockBOP(BlockBehaviour.Properties.of().pushReaction(PushReaction.DESTROY).mapColor(MapColor.TERRACOTTA_YELLOW).ignitedByLava().noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XZ)), "barley");
SEA_OATS = register(func, new SeaOatsBlock(BlockBehaviour.Properties.of().pushReaction(PushReaction.DESTROY).mapColor(MapColor.SAND).noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XZ)), "sea_oats");
CATTAIL = register(func, new DoubleWatersidePlantBlock(BlockBehaviour.Properties.of().pushReaction(PushReaction.DESTROY).mapColor(MapColor.DIRT).noCollission().instabreak().sound(SoundType.GRASS).offsetType(BlockBehaviour.OffsetType.XZ)), "cattail");
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/java/biomesoplenty/init/ModClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ public static void setupRenderTypes()
RenderHelper.setRenderType(BLACKSTONE_BULB, cutoutRenderType);
RenderHelper.setRenderType(ENDBLOOM, cutoutRenderType);
RenderHelper.setRenderType(ENDERPHYTE, cutoutRenderType);
RenderHelper.setRenderType(RADIANT_HANDS, cutoutRenderType);
RenderHelper.setRenderType(RADIANT_HANDS_PLANT, cutoutRenderType);
RenderHelper.setRenderType(SPIDER_EGG, cutoutRenderType);

RenderHelper.setRenderType(FIR_DOOR, cutoutRenderType);
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/java/biomesoplenty/init/ModCreativeTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class ModCreativeTab
public static void registerCreativeTabs(BiConsumer<ResourceLocation, CreativeModeTab> func)
{
List<Item> ITEM_BLACKLIST = ImmutableList.of(BOPItems.BOP_ICON, BOPItems.BLOOD, BOPItems.HIGH_GRASS_PLANT, BOPItems.SPANISH_MOSS_PLANT,
BOPItems.GLOWWORM_SILK_STRAND, BOPItems.HANGING_COBWEB_STRAND, BOPItems.STRINGY_COBWEB, BOPItems.FLESH_TENDONS_STRAND, BOPItems.POTTED_ORIGIN_SAPLING,
BOPItems.POTTED_FLOWERING_OAK_SAPLING, BOPItems.POTTED_SNOWBLOSSOM_SAPLING, BOPItems.POTTED_RAINBOW_BIRCH_SAPLING,
BOPItems.RADIANT_HANDS_PLANT, BOPItems.GLOWWORM_SILK_STRAND, BOPItems.HANGING_COBWEB_STRAND, BOPItems.STRINGY_COBWEB, BOPItems.FLESH_TENDONS_STRAND,
BOPItems.POTTED_ORIGIN_SAPLING, BOPItems.POTTED_FLOWERING_OAK_SAPLING, BOPItems.POTTED_SNOWBLOSSOM_SAPLING, BOPItems.POTTED_RAINBOW_BIRCH_SAPLING,
BOPItems.POTTED_FIR_SAPLING, BOPItems.POTTED_PINE_SAPLING, BOPItems.POTTED_RED_MAPLE_SAPLING, BOPItems.POTTED_ORANGE_MAPLE_SAPLING,
BOPItems.POTTED_YELLOW_MAPLE_SAPLING, BOPItems.POTTED_REDWOOD_SAPLING, BOPItems.POTTED_MAHOGANY_SAPLING, BOPItems.POTTED_JACARANDA_SAPLING,
BOPItems.POTTED_PALM_SAPLING, BOPItems.POTTED_WILLOW_SAPLING, BOPItems.POTTED_DEAD_SAPLING, BOPItems.POTTED_MAGIC_SAPLING,
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/java/biomesoplenty/init/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ public static void registerBlockItems(BiConsumer<ResourceLocation, Item> func)
DEAD_GRASS = register(func, "dead_grass", new BlockItem(BOPBlocks.DEAD_GRASS, new Item.Properties()));
TUNDRA_SHRUB = register(func, "tundra_shrub", new BlockItem(BOPBlocks.TUNDRA_SHRUB, new Item.Properties()));
ENDERPHYTE = register(func, "enderphyte", new BlockItem(BOPBlocks.ENDERPHYTE, new Item.Properties()));
RADIANT_HANDS = register(func, "radiant_hands", new BlockItem(BOPBlocks.RADIANT_HANDS, new Item.Properties()));
RADIANT_HANDS_PLANT = register(func, "radiant_hands_plant", new BlockItem(BOPBlocks.RADIANT_HANDS_PLANT, new Item.Properties()));
BARLEY = register(func, "barley", new BlockItem(BOPBlocks.BARLEY, new Item.Properties()));
SEA_OATS = register(func, "sea_oats", new BlockItem(BOPBlocks.SEA_OATS, new Item.Properties()));
CATTAIL = register(func, "cattail", new BlockItem(BOPBlocks.CATTAIL, new Item.Properties()));
Expand Down
5 changes: 5 additions & 0 deletions common/src/main/java/biomesoplenty/init/ModVanillaCompat.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ public ItemStack execute(BlockSource p_123561_, ItemStack p_123562_) {
registerFlammable(BOPBlocks.DESERT_GRASS, 60, 100);
registerFlammable(BOPBlocks.DEAD_GRASS, 60, 100);
registerFlammable(BOPBlocks.TUNDRA_SHRUB, 60, 100);
registerFlammable(BOPBlocks.ENDERPHYTE, 60, 100);
registerFlammable(BOPBlocks.RADIANT_HANDS, 60, 100);
registerFlammable(BOPBlocks.RADIANT_HANDS_PLANT, 60, 100);
registerFlammable(BOPBlocks.DEAD_BRANCH, 60, 100);
registerFlammable(BOPBlocks.BARLEY, 60, 100);

Expand Down Expand Up @@ -333,6 +336,8 @@ public ItemStack execute(BlockSource p_123561_, ItemStack p_123562_) {

registerCompostable(0.3F, BOPBlocks.ENDBLOOM);
registerCompostable(0.3F, BOPBlocks.ENDERPHYTE);
registerCompostable(0.3F, BOPBlocks.RADIANT_HANDS);
registerCompostable(0.3F, BOPBlocks.RADIANT_HANDS_PLANT);

registerCompostable(0.65F, BOPBlocks.TOADSTOOL);
registerCompostable(0.65F, BOPBlocks.GLOWSHROOM);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class BOPBaseFeatures

public static BOPTreeFeature<BasicTreeConfiguration> BASIC_TREE;
public static Feature<NoneFeatureConfiguration> HIGH_GRASS;
public static Feature<NoneFeatureConfiguration> RADIANT_HANDS;
public static Feature<NoneFeatureConfiguration> ANOMALY;
public static Feature<NoneFeatureConfiguration> BIG_DRIPLEAF;
public static Feature<NoneFeatureConfiguration> BIG_PUMPKIN;
Expand Down Expand Up @@ -97,6 +98,7 @@ public static void registerFeatures(BiConsumer<ResourceLocation, Feature<?>> fun
{
BASIC_TREE = register(func, "basic_tree", new BasicTreeFeature(BasicTreeConfiguration.CODEC));
HIGH_GRASS = register(func, "high_grass", new HighGrassFeature(NoneFeatureConfiguration.CODEC));
RADIANT_HANDS = register(func, "radiant_hands", new RadiantHandsFeature(NoneFeatureConfiguration.CODEC));
ANOMALY = register(func, "anomaly", new AnomalyFeature(NoneFeatureConfiguration.CODEC));
BIG_DRIPLEAF = register(func, "big_dripleaf", new BigDripleafFeature(NoneFeatureConfiguration.CODEC));
BIG_PUMPKIN = register(func, "big_pumpkin", new BigPumpkinFeature(NoneFeatureConfiguration.CODEC));
Expand Down
Loading

0 comments on commit 29fb28c

Please sign in to comment.