diff --git a/src/main/java/biomesoplenty/api/block/BOPBlocks.java b/src/main/java/biomesoplenty/api/block/BOPBlocks.java index bb8794f01..e0b56e4cc 100644 --- a/src/main/java/biomesoplenty/api/block/BOPBlocks.java +++ b/src/main/java/biomesoplenty/api/block/BOPBlocks.java @@ -68,6 +68,7 @@ public class BOPBlocks public static Block foliage; // leaves + // TODO: fruit tree leaves? public static Block yellow_autumn_leaves; public static Block orange_autumn_leaves; public static Block willow_leaves; @@ -91,5 +92,31 @@ public class BOPBlocks public static Block dark_leaves; public static Block bamboo_leaves; + // saplings + // TODO: fruit try saplings? + public static Block yellow_autumn_sapling; + public static Block orange_autumn_sapling; + public static Block bamboo_sapling; + public static Block magic_sapling; + public static Block dark_sapling; + public static Block dead_sapling; + public static Block fir_sapling; + public static Block ethereal_sapling; + public static Block origin_sapling; + public static Block pink_cherry_sapling; + public static Block white_cherry_sapling; + public static Block maple_sapling; + public static Block hellbark_sapling; + public static Block flowering_sapling; + public static Block jacaranda_sapling; + public static Block sacred_oak_sapling; + public static Block mangrove_sapling; + public static Block palm_sapling; + public static Block redwood_sapling; + public static Block willow_sapling; + public static Block pine_sapling; + public static Block mahogany_sapling; + + } diff --git a/src/main/java/biomesoplenty/common/block/BlockBOPSapling.java b/src/main/java/biomesoplenty/common/block/BlockBOPSapling.java new file mode 100644 index 000000000..a9c484376 --- /dev/null +++ b/src/main/java/biomesoplenty/common/block/BlockBOPSapling.java @@ -0,0 +1,213 @@ +/******************************************************************************* + * Copyright 2014, the Biomes O' Plenty Team + * + * This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License. + * + * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. + ******************************************************************************/ + +package biomesoplenty.common.block; + +import java.util.Random; + +import biomesoplenty.api.block.BOPBlocks; +import net.minecraft.block.Block; +import net.minecraft.block.IGrowable; +import net.minecraft.block.properties.IProperty; +import net.minecraft.block.properties.PropertyInteger; +import net.minecraft.block.state.BlockState; +import net.minecraft.block.state.IBlockState; +import net.minecraft.init.Blocks; +import net.minecraft.util.BlockPos; +import net.minecraft.world.World; +import net.minecraft.world.gen.feature.WorldGenAbstractTree; +import net.minecraft.world.gen.feature.WorldGenerator; + +public class BlockBOPSapling extends BlockDecoration implements IGrowable { + + // add properties + public static final PropertyInteger STAGE = PropertyInteger.create("stage", 0, 1); + @Override + protected BlockState createBlockState() {return new BlockState(this, new IProperty[] { STAGE });} + + protected WorldGenAbstractTree smallTreeGenerator; + protected WorldGenAbstractTree bigTreeGenerator; + protected WorldGenAbstractTree megaTreeGenerator; + + public BlockBOPSapling(WorldGenAbstractTree smallTreeGenerator) + { + this(smallTreeGenerator, null, null); + } + + public BlockBOPSapling(WorldGenAbstractTree smallTreeGenerator, WorldGenAbstractTree bigTreeGenerator) + { + this(smallTreeGenerator, bigTreeGenerator, null); + } + + public BlockBOPSapling(WorldGenAbstractTree smallTreeGenerator, WorldGenAbstractTree bigTreeGenerator, WorldGenAbstractTree megaTreeGenerator) + { + super(); + + this.smallTreeGenerator = smallTreeGenerator; + this.bigTreeGenerator = bigTreeGenerator; + this.megaTreeGenerator = megaTreeGenerator; + + this.setStepSound(Block.soundTypeGrass); + this.setBlockBoundsByRadiusAndHeight(0.4F, 0.8F); + this.setDefaultState(this.blockState.getBaseState().withProperty(STAGE, Integer.valueOf(0))); + } + + + public IBlockState getStateFromMeta(int meta) + { + return this.getDefaultState().withProperty(STAGE, Integer.valueOf(meta)); + } + public int getMetaFromState(IBlockState state) + { + return ((Integer)state.getValue(STAGE)).intValue(); + } + + + // which types of block allow trees + // TODO: override for loftwood + @Override + public boolean canBlockStay(World world, BlockPos pos, IBlockState state) + { + IBlockState groundState = world.getBlockState(pos.down()); + Block groundBlock = groundState.getBlock(); + boolean onFertile = (groundBlock == Blocks.dirt || groundBlock == BOPBlocks.dirt || groundBlock == Blocks.mycelium || groundBlock == Blocks.grass); + if (groundBlock instanceof BlockBOPGrass) + { + switch ((BlockBOPGrass.BOPGrassType) groundState.getValue(BlockBOPGrass.VARIANT)) + { + case SPECTRAL_MOSS: case SMOLDERING: + break; + case LOAMY: case SANDY: case SILTY: case ORIGIN: default: + onFertile = true; + break; + } + } + return onFertile; + } + + @Override + public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand) + { + if (!worldIn.isRemote) + { + super.updateTick(worldIn, pos, state, rand); + if (worldIn.getLightFromNeighbors(pos.up()) >= 9 && rand.nextInt(7) == 0) + { + this.grow(worldIn, rand, pos, state); + } + } + } + + @Override + public int damageDropped(IBlockState state) + { + return 0; + } + + @Override + public boolean canGrow(World worldIn, BlockPos pos, IBlockState state, boolean isClient) + { + return true; + } + + @Override + public boolean canUseBonemeal(World worldIn, Random rand, BlockPos pos, IBlockState state) + { + return (double)worldIn.rand.nextFloat() < 0.45D; + } + + @Override + public void grow(World worldIn, Random rand, BlockPos pos, IBlockState state) + { + if (((Integer)state.getValue(STAGE)).intValue() == 0) + { + worldIn.setBlockState(pos, state.cycleProperty(STAGE), 4); + } + else + { + this.generateTree(worldIn, pos, state, rand); + } + } + + public boolean thisSaplingHere(World world, BlockPos pos) + { + return world.getBlockState(pos).getBlock() == this; + } + + // try to generate a tree at the specified location, return true on success and false on failure + public boolean generateTree(World worldIn, BlockPos pos, IBlockState state, Random rand) + { + if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(worldIn, rand, pos)) {return false;} + + if (this.megaTreeGenerator != null) + { + // if we have 4 saplings in a square, then try to grow a mega tree + int i; + int j; + for (i = 0; i >= -1; --i) + { + for (j = 0; j >= -1; --j) + { + if (this.thisSaplingHere(worldIn, pos.add(i, 0, j)) && this.thisSaplingHere(worldIn, pos.add(i + 1, 0, j)) && this.thisSaplingHere(worldIn, pos.add(i, 0, j + 1)) && this.thisSaplingHere(worldIn, pos.add(i + 1, 0, j + 1))) + { + if (this.generateMegaTree(worldIn, pos.add(i, 0, j), state, rand, this.megaTreeGenerator)) {return true;} + } + } + } + } + if (this.bigTreeGenerator != null) + { + // with a one in 10 chance, try to grow a big tree + if (rand.nextInt(10) == 0) + { + if (this.generateSmallOrBigTree(worldIn, pos, state, rand, this.bigTreeGenerator)) {return true;} + } + } + // otherwise, try to grow a small tree + if (this.smallTreeGenerator != null) + { + if (this.generateSmallOrBigTree(worldIn, pos, state, rand, this.smallTreeGenerator)) {return true;} + } + return false; + } + + public boolean generateSmallOrBigTree(World worldIn, BlockPos pos, IBlockState state, Random rand, WorldGenAbstractTree generator) + { + // remove the sapling + worldIn.setBlockState(pos, Blocks.air.getDefaultState(), 4); + // try to grow the tree + boolean success = ((WorldGenerator)generator).generate(worldIn, rand, pos); + // put the sapling back if we failed + if (!success) {worldIn.setBlockState(pos, state, 4);} + return success; + } + + public boolean generateMegaTree(World worldIn, BlockPos pos, IBlockState state, Random rand, WorldGenAbstractTree generator) + { + // remove the saplings + IBlockState air = Blocks.air.getDefaultState(); + worldIn.setBlockState(pos, air, 4); + worldIn.setBlockState(pos.add(1, 0, 0), air, 4); + worldIn.setBlockState(pos.add(0, 0, 1), air, 4); + worldIn.setBlockState(pos.add(1, 0, 1), air, 4); + // try to grow the tree + boolean success = ((WorldGenerator)generator).generate(worldIn, rand, pos); + if (!success) + { + // put the saplings back if we failed + worldIn.setBlockState(pos, air, 4); + worldIn.setBlockState(pos.add(1, 0, 0), state, 4); + worldIn.setBlockState(pos.add(0, 0, 1), state, 4); + worldIn.setBlockState(pos.add(1, 0, 1), state, 4); + } + return success; + } + + + +} \ No newline at end of file diff --git a/src/main/java/biomesoplenty/common/init/ModBlocks.java b/src/main/java/biomesoplenty/common/init/ModBlocks.java index ac6eb8491..bb1a4ddd2 100644 --- a/src/main/java/biomesoplenty/common/init/ModBlocks.java +++ b/src/main/java/biomesoplenty/common/init/ModBlocks.java @@ -16,12 +16,12 @@ import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemDoor; import net.minecraft.item.ItemStack; +import net.minecraft.world.gen.feature.WorldGenTrees; import net.minecraftforge.fml.common.registry.GameRegistry; import biomesoplenty.api.block.BOPWoodType; import biomesoplenty.api.block.IBOPBlock; @@ -38,6 +38,7 @@ import biomesoplenty.common.block.BlockBOPLeaves; import biomesoplenty.common.block.BlockBOPLilypad; import biomesoplenty.common.block.BlockBOPLog; import biomesoplenty.common.block.BlockBOPMushroom; +import biomesoplenty.common.block.BlockBOPSapling; import biomesoplenty.common.block.BlockBOPStairs; import biomesoplenty.common.block.BlockBOPStone; import biomesoplenty.common.block.BlockBOPVine; @@ -176,32 +177,62 @@ public class ModBlocks foliage = registerBlock( new BlockFoliage(), "foliage" ); + + // saplings + // TODO: implement the tree generators (at the moment all saplings generate vanilla small oak trees) + // TODO: check bamboo implementation + yellow_autumn_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "yellow_autumn_sapling" ); + orange_autumn_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "orange_autumn_sapling" ); + bamboo_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "bamboo_sapling" ); + magic_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "magic_sapling" ); + dark_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "dark_sapling" ); + dead_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "dead_sapling" ); + fir_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "fir_sapling" ); + ethereal_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "ethereal_sapling" ); + origin_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "origin_sapling" ); + pink_cherry_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "pink_cherry_sapling" ); + white_cherry_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "white_cherry_sapling" ); + maple_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "maple_sapling" ); + hellbark_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "hellbark_sapling" ); + flowering_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "flowering_sapling" ); + jacaranda_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "jacaranda_sapling" ); + sacred_oak_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "sacred_oak_sapling" ); + mangrove_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "mangrove_sapling" ); + palm_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "palm_sapling" ); + redwood_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "redwood_sapling" ); + willow_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "willow_sapling" ); + pine_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "pine_sapling" ); + mahogany_sapling = registerBlock( new BlockBOPSapling( new WorldGenTrees(true) ), "mahogany_sapling" ); + + // leaves // TODO: bamboo leaves to grow automatically? - // TODO: add correct saplings // TODO: add correct fruit (or change this implementation completely) - yellow_autumn_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "yellow_autumn_leaves" ); - orange_autumn_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "orange_autumn_leaves" ); - willow_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "willow_leaves" ); - white_cherry_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "white_cherry_leaves" ); - pink_cherry_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "pink_cherry_leaves" ); - sacred_oak_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "sacred_oak_leaves" ); - redwood_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "redwood_leaves" ); - pine_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "pine_leaves" ); - palm_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "palm_leaves" ); - origin_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "origin_leaves" ); - maple_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "maple_leaves" ); - mangrove_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "mangrove_leaves" ); - mahogany_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "mahogany_leaves" ); - magic_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "magic_leaves" ); - jacaranda_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "jacaranda_leaves" ); - hellbark_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, false ), "hellbark_leaves" ); - flowering_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "flowering_leaves" ); - fir_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "fir_leaves" ); - ethereal_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "ethereal_leaves" ); - dead_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "dead_leaves" ); - dark_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "dark_leaves" ); - bamboo_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(Blocks.sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "bamboo_leaves" ); + yellow_autumn_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(yellow_autumn_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "yellow_autumn_leaves" ); + orange_autumn_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(orange_autumn_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "orange_autumn_leaves" ); + willow_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(willow_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "willow_leaves" ); + white_cherry_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(white_cherry_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "white_cherry_leaves" ); + pink_cherry_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(pink_cherry_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "pink_cherry_leaves" ); + sacred_oak_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(sacred_oak_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "sacred_oak_leaves" ); + redwood_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(redwood_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "redwood_leaves" ); + pine_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(pine_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "pine_leaves" ); + palm_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(palm_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "palm_leaves" ); + origin_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(origin_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "origin_leaves" ); + maple_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(maple_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "maple_leaves" ); + mangrove_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(mangrove_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "mangrove_leaves" ); + mahogany_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(mahogany_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "mahogany_leaves" ); + magic_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(magic_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "magic_leaves" ); + jacaranda_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(jacaranda_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "jacaranda_leaves" ); + hellbark_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(hellbark_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, false ), "hellbark_leaves" ); + flowering_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(flowering_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "flowering_leaves" ); + fir_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(fir_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "fir_leaves" ); + ethereal_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(ethereal_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "ethereal_leaves" ); + dead_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(dead_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "dead_leaves" ); + dark_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(dark_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "dark_leaves" ); + bamboo_leaves = registerBlock( new BlockBOPLeaves( new ItemStack(bamboo_sapling, 1, 0), new ItemStack(Items.apple, 1, 0), 20, true ), "bamboo_leaves" ); + + + } diff --git a/src/main/resources/assets/biomesoplenty/blockstates/bamboo_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/bamboo_sapling.json new file mode 100644 index 000000000..3cf5e7c2c --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/bamboo_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:bamboo_sapling" }, + "stage=1": { "model": "biomesoplenty:bamboo_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/dark_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/dark_sapling.json new file mode 100644 index 000000000..5565bf772 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/dark_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:dark_sapling" }, + "stage=1": { "model": "biomesoplenty:dark_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/dead_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/dead_sapling.json new file mode 100644 index 000000000..e8bffa981 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/dead_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:dead_sapling" }, + "stage=1": { "model": "biomesoplenty:dead_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/ethereal_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/ethereal_sapling.json new file mode 100644 index 000000000..beea95fd2 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/ethereal_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:ethereal_sapling" }, + "stage=1": { "model": "biomesoplenty:ethereal_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/fir_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/fir_sapling.json new file mode 100644 index 000000000..c0e5d5f4b --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/fir_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:fir_sapling" }, + "stage=1": { "model": "biomesoplenty:fir_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/flowering_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/flowering_sapling.json new file mode 100644 index 000000000..c098bcbc5 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/flowering_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:flowering_sapling" }, + "stage=1": { "model": "biomesoplenty:flowering_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/hellbark_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/hellbark_sapling.json new file mode 100644 index 000000000..8fc5b3d3f --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/hellbark_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:hellbark_sapling" }, + "stage=1": { "model": "biomesoplenty:hellbark_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/jacaranda_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/jacaranda_sapling.json new file mode 100644 index 000000000..3ac1ef56a --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/jacaranda_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:jacaranda_sapling" }, + "stage=1": { "model": "biomesoplenty:jacaranda_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/magic_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/magic_sapling.json new file mode 100644 index 000000000..e9c89fa47 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/magic_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:magic_sapling" }, + "stage=1": { "model": "biomesoplenty:magic_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/mahogany_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/mahogany_sapling.json new file mode 100644 index 000000000..3258a5659 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/mahogany_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:mahogany_sapling" }, + "stage=1": { "model": "biomesoplenty:mahogany_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/mangrove_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/mangrove_sapling.json new file mode 100644 index 000000000..3ac3d0123 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/mangrove_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:mangrove_sapling" }, + "stage=1": { "model": "biomesoplenty:mangrove_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/maple_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/maple_sapling.json new file mode 100644 index 000000000..166762109 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/maple_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:maple_sapling" }, + "stage=1": { "model": "biomesoplenty:maple_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/orange_autumn_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/orange_autumn_sapling.json new file mode 100644 index 000000000..7598428a8 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/orange_autumn_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:orange_autumn_sapling" }, + "stage=1": { "model": "biomesoplenty:orange_autumn_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/origin_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/origin_sapling.json new file mode 100644 index 000000000..0bb34450a --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/origin_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:origin_sapling" }, + "stage=1": { "model": "biomesoplenty:origin_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/palm_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/palm_sapling.json new file mode 100644 index 000000000..550531571 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/palm_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:palm_sapling" }, + "stage=1": { "model": "biomesoplenty:palm_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/pine_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/pine_sapling.json new file mode 100644 index 000000000..549f81035 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/pine_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:pine_sapling" }, + "stage=1": { "model": "biomesoplenty:pine_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/pink_cherry_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/pink_cherry_sapling.json new file mode 100644 index 000000000..1134924ab --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/pink_cherry_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:pink_cherry_sapling" }, + "stage=1": { "model": "biomesoplenty:pink_cherry_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/redwood_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/redwood_sapling.json new file mode 100644 index 000000000..5a9c2abf9 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/redwood_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:redwood_sapling" }, + "stage=1": { "model": "biomesoplenty:redwood_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/sacred_oak_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/sacred_oak_sapling.json new file mode 100644 index 000000000..7100b47a5 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/sacred_oak_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:sacred_oak_sapling" }, + "stage=1": { "model": "biomesoplenty:sacred_oak_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/white_cherry_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/white_cherry_sapling.json new file mode 100644 index 000000000..4dd6af0a6 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/white_cherry_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:white_cherry_sapling" }, + "stage=1": { "model": "biomesoplenty:white_cherry_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/willow_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/willow_sapling.json new file mode 100644 index 000000000..382684fda --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/willow_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:willow_sapling" }, + "stage=1": { "model": "biomesoplenty:willow_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/blockstates/yellow_autumn_sapling.json b/src/main/resources/assets/biomesoplenty/blockstates/yellow_autumn_sapling.json new file mode 100644 index 000000000..b3fa76042 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/blockstates/yellow_autumn_sapling.json @@ -0,0 +1,6 @@ +{ + "variants": { + "stage=0": { "model": "biomesoplenty:yellow_autumn_sapling" }, + "stage=1": { "model": "biomesoplenty:yellow_autumn_sapling" } + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/bamboo_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/bamboo_sapling.json new file mode 100644 index 000000000..d95902594 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/bamboo_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_bamboo" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/dark_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/dark_sapling.json new file mode 100644 index 000000000..d06aaec3c --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/dark_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_dark" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/dead_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/dead_sapling.json new file mode 100644 index 000000000..992aed4c6 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/dead_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_dead" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/ethereal_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/ethereal_sapling.json new file mode 100644 index 000000000..50fa2d1fe --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/ethereal_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_ethereal" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/fir_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/fir_sapling.json new file mode 100644 index 000000000..4803ef4be --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/fir_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_fir" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/flowering_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/flowering_sapling.json new file mode 100644 index 000000000..a0c0af89b --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/flowering_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_flowering" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/hellbark_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/hellbark_sapling.json new file mode 100644 index 000000000..e04f767c3 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/hellbark_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_hellbark" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/jacaranda_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/jacaranda_sapling.json new file mode 100644 index 000000000..bda31910b --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/jacaranda_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_jacaranda" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/magic_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/magic_sapling.json new file mode 100644 index 000000000..b65482a18 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/magic_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_magic" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/mahogany_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/mahogany_sapling.json new file mode 100644 index 000000000..8f1017e70 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/mahogany_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_mahogany" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/mangrove_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/mangrove_sapling.json new file mode 100644 index 000000000..ef341de00 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/mangrove_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_mangrove" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/maple_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/maple_sapling.json new file mode 100644 index 000000000..2ff449378 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/maple_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_maple" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/orange_autumn_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/orange_autumn_sapling.json new file mode 100644 index 000000000..17ca56494 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/orange_autumn_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_orange_autumn" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/origin_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/origin_sapling.json new file mode 100644 index 000000000..f9a50343c --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/origin_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_origin" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/palm_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/palm_sapling.json new file mode 100644 index 000000000..e9be02f83 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/palm_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_palm" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/pine_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/pine_sapling.json new file mode 100644 index 000000000..f246e28da --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/pine_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_pine" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/pink_cherry_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/pink_cherry_sapling.json new file mode 100644 index 000000000..aab968390 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/pink_cherry_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_pink_cherry" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/redwood_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/redwood_sapling.json new file mode 100644 index 000000000..a6795d62c --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/redwood_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_redwood" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/sacred_oak_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/sacred_oak_sapling.json new file mode 100644 index 000000000..6328085ba --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/sacred_oak_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_sacred_oak" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/white_cherry_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/white_cherry_sapling.json new file mode 100644 index 000000000..774c49d56 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/white_cherry_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_white_cherry" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/willow_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/willow_sapling.json new file mode 100644 index 000000000..11673a8ae --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/willow_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_willow" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/block/yellow_autumn_sapling.json b/src/main/resources/assets/biomesoplenty/models/block/yellow_autumn_sapling.json new file mode 100644 index 000000000..fc4ceeccc --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/block/yellow_autumn_sapling.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "biomesoplenty:blocks/sapling_yellow_autumn" + } +} diff --git a/src/main/resources/assets/biomesoplenty/models/item/bamboo_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/bamboo_sapling.json new file mode 100644 index 000000000..7c6a7b525 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/bamboo_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_bamboo" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/dark_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/dark_sapling.json new file mode 100644 index 000000000..b32810473 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/dark_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_dark" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/dead_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/dead_sapling.json new file mode 100644 index 000000000..4821e08d6 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/dead_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_dead" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/ethereal_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/ethereal_sapling.json new file mode 100644 index 000000000..7115749ac --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/ethereal_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_ethereal" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/fir_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/fir_sapling.json new file mode 100644 index 000000000..f5f33fff8 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/fir_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_fir" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/flowering_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/flowering_sapling.json new file mode 100644 index 000000000..5b7426c02 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/flowering_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_flowering" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/hellbark_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/hellbark_sapling.json new file mode 100644 index 000000000..675572912 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/hellbark_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_hellbark" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/jacaranda_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/jacaranda_sapling.json new file mode 100644 index 000000000..3c92f847c --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/jacaranda_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_jacaranda" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/magic_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/magic_sapling.json new file mode 100644 index 000000000..f4a803aa7 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/magic_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_magic" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/mahogany_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/mahogany_sapling.json new file mode 100644 index 000000000..6b78a0f65 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/mahogany_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_mahogany" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/mangrove_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/mangrove_sapling.json new file mode 100644 index 000000000..0f21ef298 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/mangrove_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_mangrove" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/maple_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/maple_sapling.json new file mode 100644 index 000000000..2241f9e14 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/maple_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_maple" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/orange_autumn_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/orange_autumn_sapling.json new file mode 100644 index 000000000..5d50a8c32 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/orange_autumn_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_orange_autumn" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/origin_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/origin_sapling.json new file mode 100644 index 000000000..e7b8d86c5 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/origin_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_origin" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/palm_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/palm_sapling.json new file mode 100644 index 000000000..3f12f6405 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/palm_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_palm" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/pine_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/pine_sapling.json new file mode 100644 index 000000000..903ae0834 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/pine_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_pine" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/pink_cherry_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/pink_cherry_sapling.json new file mode 100644 index 000000000..cb624d8e6 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/pink_cherry_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_pink_cherry" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/redwood_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/redwood_sapling.json new file mode 100644 index 000000000..c25c43403 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/redwood_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_redwood" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/sacred_oak_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/sacred_oak_sapling.json new file mode 100644 index 000000000..40447d23d --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/sacred_oak_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_sacred_oak" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/white_cherry_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/white_cherry_sapling.json new file mode 100644 index 000000000..6d5e37cb9 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/white_cherry_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_white_cherry" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/willow_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/willow_sapling.json new file mode 100644 index 000000000..b6dafaa96 --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/willow_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_willow" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/models/item/yellow_autumn_sapling.json b/src/main/resources/assets/biomesoplenty/models/item/yellow_autumn_sapling.json new file mode 100644 index 000000000..9b45e07da --- /dev/null +++ b/src/main/resources/assets/biomesoplenty/models/item/yellow_autumn_sapling.json @@ -0,0 +1,19 @@ +{ + "parent": "builtin/generated", + "textures": { + "layer0": "biomesoplenty:blocks/sapling_yellow_autumn" + }, + "display": { + "thirdperson": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 1, -3 ], + "scale": [ 0.55, 0.55, 0.55 ] + }, + "firstperson": { + "rotation": [ 0, -135, 25 ], + "translation": [ 0, 4, 2 ], + "scale": [ 1.7, 1.7, 1.7 ] + } + } +} + diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_bamboo.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_bamboo.png new file mode 100644 index 000000000..475efa4bc Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_bamboo.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_dark.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_dark.png new file mode 100644 index 000000000..652af2349 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_dark.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_dead.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_dead.png new file mode 100644 index 000000000..6483cd633 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_dead.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_ethereal.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_ethereal.png new file mode 100644 index 000000000..fbab9ac8a Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_ethereal.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_fir.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_fir.png new file mode 100644 index 000000000..6f78e32a6 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_fir.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_flowering.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_flowering.png new file mode 100644 index 000000000..e4ee88675 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_flowering.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_hellbark.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_hellbark.png new file mode 100644 index 000000000..9a7be53e0 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_hellbark.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_jacaranda.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_jacaranda.png new file mode 100644 index 000000000..45ce7eed1 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_jacaranda.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_magic.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_magic.png new file mode 100644 index 000000000..ca4b56f0d Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_magic.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_mahogany.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_mahogany.png new file mode 100644 index 000000000..874bac9c0 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_mahogany.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_mangrove.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_mangrove.png new file mode 100644 index 000000000..52b89f735 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_mangrove.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_maple.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_maple.png new file mode 100644 index 000000000..faa1ed1f8 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_maple.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_orange_autumn.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_orange_autumn.png new file mode 100644 index 000000000..9d4442139 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_orange_autumn.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_origin.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_origin.png new file mode 100644 index 000000000..dfb238cd9 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_origin.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_palm.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_palm.png new file mode 100644 index 000000000..c7c7d6553 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_palm.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_pine.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_pine.png new file mode 100644 index 000000000..22ec14ca4 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_pine.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_pink_cherry.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_pink_cherry.png new file mode 100644 index 000000000..1cfe8e21a Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_pink_cherry.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_redwood.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_redwood.png new file mode 100644 index 000000000..d6e2d4069 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_redwood.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_sacred_oak.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_sacred_oak.png new file mode 100644 index 000000000..08e4c2702 Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_sacred_oak.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_white_cherry.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_white_cherry.png new file mode 100644 index 000000000..c15f4a00b Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_white_cherry.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_willow.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_willow.png new file mode 100644 index 000000000..71162514d Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_willow.png differ diff --git a/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_yellow_autumn.png b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_yellow_autumn.png new file mode 100644 index 000000000..78fbf5eee Binary files /dev/null and b/src/main/resources/assets/biomesoplenty/textures/blocks/sapling_yellow_autumn.png differ