From 3dcafa522c0aad75d07569caeb041c3ffb2959af Mon Sep 17 00:00:00 2001 From: paulevsGitch Date: Sat, 20 Mar 2021 06:13:11 +0300 Subject: [PATCH] Cave pumpkin --- .../ru/betterend/blocks/BlockProperties.java | 2 + .../ru/betterend/blocks/CapsacisCapBlock.java | 35 ------- .../ru/betterend/blocks/CavePumpkinBlock.java | 65 +++++++++++++ .../blocks/CavePumpkinVineBlock.java | 70 ++++++++++++++ .../blocks/basis/EndPlantWithAgeBlock.java | 3 +- .../basis/UnderwaterPlantWithAgeBlock.java | 3 +- .../java/ru/betterend/item/EndArmorItem.java | 5 +- .../mixin/common/ArmorItemAccessor.java | 12 ++- .../mixin/common/EndPortalFeatureMixin.java | 2 +- .../mixin/common/EndSpikeFeatureMixin.java | 21 +++- .../mixin/common/ServerWorldMixin.java | 2 +- .../ru/betterend/recipe/CraftingRecipes.java | 2 + .../java/ru/betterend/registry/EndBlocks.java | 4 + .../java/ru/betterend/registry/EndItems.java | 1 + .../java/ru/betterend/util/WorldDataUtil.java | 16 ++++ .../world/generator/TerrainGenerator.java | 4 +- .../betterend/blockstates/cave_pumpkin.json | 6 ++ .../blockstates/cave_pumpkin_seed.json | 20 ++++ .../materialmaps/block/cave_pumpkin.json | 14 +++ .../betterend/models/block/cave_pumpkin.json | 89 +++++++++++++++++ .../models/block/cave_pumpkin_small.json | 90 ++++++++++++++++++ .../models/block/cave_pumpkin_vine_1.json | 6 ++ .../models/block/cave_pumpkin_vine_2.json | 6 ++ .../models/block/cave_pumpkin_vine_3.json | 6 ++ .../models/block/cave_pumpkin_vine_4.json | 6 ++ .../models/block/cave_pumpkin_vine_5.json | 6 ++ .../models/block/cave_pumpkin_vine_6.json | 6 ++ .../models/block/cave_pumpkin_vine_7.json | 6 ++ .../models/block/cave_pumpkin_vine_8.json | 6 ++ .../betterend/models/item/cave_pumpkin.json | 3 + .../models/item/cave_pumpkin_seed.json | 6 ++ .../block/cave_pumpkin_lantern_side.png | Bin 225 -> 227 bytes .../textures/block/cave_pumpkin_side.png | Bin 219 -> 231 bytes .../textures/block/cave_pumpkin_stem_0.png | Bin 0 -> 388 bytes .../textures/block/cave_pumpkin_stem_1.png | Bin 0 -> 244 bytes .../textures/block/cave_pumpkin_stem_2.png | Bin 0 -> 245 bytes .../textures/block/cave_pumpkin_stem_3.png | Bin 0 -> 248 bytes .../textures/item/cave_pumpkin_pipe.png | Bin 0 -> 240 bytes .../textures/item/cave_pumpkin_seed.png | Bin 0 -> 283 bytes .../textures/item/shadow_berry_seeds.png | Bin 212 -> 199 bytes 40 files changed, 474 insertions(+), 49 deletions(-) delete mode 100644 src/main/java/ru/betterend/blocks/CapsacisCapBlock.java create mode 100644 src/main/java/ru/betterend/blocks/CavePumpkinBlock.java create mode 100644 src/main/java/ru/betterend/blocks/CavePumpkinVineBlock.java create mode 100644 src/main/resources/assets/betterend/blockstates/cave_pumpkin.json create mode 100644 src/main/resources/assets/betterend/blockstates/cave_pumpkin_seed.json create mode 100644 src/main/resources/assets/betterend/materialmaps/block/cave_pumpkin.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_small.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_1.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_2.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_3.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_4.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_5.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_6.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_7.json create mode 100644 src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_8.json create mode 100644 src/main/resources/assets/betterend/models/item/cave_pumpkin.json create mode 100644 src/main/resources/assets/betterend/models/item/cave_pumpkin_seed.json create mode 100644 src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_0.png create mode 100644 src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_1.png create mode 100644 src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_2.png create mode 100644 src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_3.png create mode 100644 src/main/resources/assets/betterend/textures/item/cave_pumpkin_pipe.png create mode 100644 src/main/resources/assets/betterend/textures/item/cave_pumpkin_seed.png diff --git a/src/main/java/ru/betterend/blocks/BlockProperties.java b/src/main/java/ru/betterend/blocks/BlockProperties.java index 0e461467..331980be 100644 --- a/src/main/java/ru/betterend/blocks/BlockProperties.java +++ b/src/main/java/ru/betterend/blocks/BlockProperties.java @@ -18,6 +18,7 @@ public class BlockProperties { public static final BooleanProperty IS_FLOOR = BooleanProperty.of("is_floor"); public static final BooleanProperty NATURAL = BooleanProperty.of("natural"); public static final BooleanProperty ACTIVE = BooleanProperty.of("active"); + public static final BooleanProperty SMALL = BooleanProperty.of("small"); public static final IntProperty DESTRUCTION_LONG = IntProperty.of("destruction", 0, 8); public static final IntProperty DESTRUCTION = IntProperty.of("destruction", 0, 2); @@ -26,6 +27,7 @@ public class BlockProperties { public static final IntProperty COLOR = IntProperty.of("color", 0, 7); public static final IntProperty PORTAL = IntProperty.of("portal", 0, EndPortals.getCount()); public static final IntProperty SIZE = IntProperty.of("size", 0, 7); + public static final IntProperty AGE = IntProperty.of("age", 0, 3); public static enum TripleShape implements StringIdentifiable { TOP("top"), diff --git a/src/main/java/ru/betterend/blocks/CapsacisCapBlock.java b/src/main/java/ru/betterend/blocks/CapsacisCapBlock.java deleted file mode 100644 index a0ed6f46..00000000 --- a/src/main/java/ru/betterend/blocks/CapsacisCapBlock.java +++ /dev/null @@ -1,35 +0,0 @@ -package ru.betterend.blocks; - -import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; -import net.minecraft.block.Block; -import net.minecraft.block.BlockState; -import net.minecraft.block.Blocks; -import net.minecraft.block.MaterialColor; -import net.minecraft.item.ItemPlacementContext; -import net.minecraft.state.StateManager; -import net.minecraft.state.property.IntProperty; -import ru.betterend.blocks.basis.BlockBase; -import ru.betterend.noise.OpenSimplexNoise; -import ru.betterend.util.MHelper; - -public class CapsacisCapBlock extends BlockBase { - private static final OpenSimplexNoise NOISE = new OpenSimplexNoise(0); - public static final IntProperty COLOR = BlockProperties.COLOR; - - public CapsacisCapBlock() { - super(FabricBlockSettings.copyOf(Blocks.NETHER_WART_BLOCK).materialColor(MaterialColor.MAGENTA)); - } - - @Override - protected void appendProperties(StateManager.Builder stateManager) { - stateManager.add(COLOR); - } - - @Override - public BlockState getPlacementState(ItemPlacementContext ctx) { - double px = ctx.getBlockPos().getX() * 0.1; - double py = ctx.getBlockPos().getY() * 0.1; - double pz = ctx.getBlockPos().getZ() * 0.1; - return this.getDefaultState().with(COLOR, MHelper.floor(NOISE.eval(px, py, pz) * 3.5 + 4)); - } -} diff --git a/src/main/java/ru/betterend/blocks/CavePumpkinBlock.java b/src/main/java/ru/betterend/blocks/CavePumpkinBlock.java new file mode 100644 index 00000000..9cc43f34 --- /dev/null +++ b/src/main/java/ru/betterend/blocks/CavePumpkinBlock.java @@ -0,0 +1,65 @@ +package ru.betterend.blocks; + +import java.util.Collections; +import java.util.List; + +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.block.ShapeContext; +import net.minecraft.item.ItemStack; +import net.minecraft.loot.context.LootContext; +import net.minecraft.state.StateManager; +import net.minecraft.state.property.BooleanProperty; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.shape.VoxelShape; +import net.minecraft.util.shape.VoxelShapes; +import net.minecraft.world.BlockView; +import ru.betterend.blocks.basis.BlockBaseNotFull; +import ru.betterend.client.render.ERenderLayer; +import ru.betterend.interfaces.IRenderTypeable; +import ru.betterend.registry.EndBlocks; + +public class CavePumpkinBlock extends BlockBaseNotFull implements IRenderTypeable { + public static final BooleanProperty SMALL = BlockProperties.SMALL; + private static final VoxelShape SHAPE_SMALL; + private static final VoxelShape SHAPE_BIG; + + public CavePumpkinBlock() { + super(FabricBlockSettings.copyOf(Blocks.PUMPKIN).luminance((state) -> state.get(SMALL) ? 10 : 15)); + setDefaultState(getDefaultState().with(SMALL, false)); + } + + @Override + protected void appendProperties(StateManager.Builder stateManager) { + stateManager.add(SMALL); + } + + @Override + public ERenderLayer getRenderLayer() { + return ERenderLayer.CUTOUT; + } + + @Override + public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) { + return state.get(SMALL) ? SHAPE_SMALL : SHAPE_BIG; + } + + @Override + public List getDroppedStacks(BlockState state, LootContext.Builder builder) { + return state.get(SMALL) ? Collections.singletonList(new ItemStack(EndBlocks.CAVE_PUMPKIN_SEED)) : Collections.singletonList(new ItemStack(this)); + } + + static { + VoxelShape lantern = Block.createCuboidShape(1, 0, 1, 15, 13, 15); + VoxelShape cap = Block.createCuboidShape(0, 12, 0, 16, 15, 16); + VoxelShape top = Block.createCuboidShape(5, 15, 5, 11, 16, 11); + SHAPE_BIG = VoxelShapes.union(lantern, cap, top); + + lantern = Block.createCuboidShape(1, 7, 1, 15, 13, 15); + cap = Block.createCuboidShape(4, 12, 4, 12, 15, 12); + top = Block.createCuboidShape(6, 15, 6, 10, 16, 10); + SHAPE_SMALL = VoxelShapes.union(lantern, cap, top); + } +} diff --git a/src/main/java/ru/betterend/blocks/CavePumpkinVineBlock.java b/src/main/java/ru/betterend/blocks/CavePumpkinVineBlock.java new file mode 100644 index 00000000..732497db --- /dev/null +++ b/src/main/java/ru/betterend/blocks/CavePumpkinVineBlock.java @@ -0,0 +1,70 @@ +package ru.betterend.blocks; + +import java.util.Random; + +import net.minecraft.block.AbstractBlock; +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.ShapeContext; +import net.minecraft.server.world.ServerWorld; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.Direction; +import net.minecraft.util.shape.VoxelShape; +import net.minecraft.world.BlockView; +import net.minecraft.world.StructureWorldAccess; +import net.minecraft.world.WorldAccess; +import net.minecraft.world.WorldView; +import ru.betterend.blocks.basis.EndPlantWithAgeBlock; +import ru.betterend.registry.EndBlocks; + +public class CavePumpkinVineBlock extends EndPlantWithAgeBlock { + private static final VoxelShape SHAPE = Block.createCuboidShape(4, 0, 4, 12, 16, 12); + + @Override + public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) { + BlockState down = world.getBlockState(pos.up()); + return isTerrain(down); + } + + @Override + public void grow(ServerWorld world, Random random, BlockPos pos, BlockState state) { + int age = state.get(AGE); + BlockState down = world.getBlockState(pos.down()); + if (down.getMaterial().isReplaceable() || (down.isOf(EndBlocks.CAVE_PUMPKIN) && down.get(BlockProperties.SMALL))) { + if (age < 3) { + world.setBlockState(pos, state.with(AGE, age + 1)); + } + if (age == 2) { + world.setBlockState(pos.down(), EndBlocks.CAVE_PUMPKIN.getDefaultState().with(BlockProperties.SMALL, true)); + } + else if (age == 3) { + world.setBlockState(pos.down(), EndBlocks.CAVE_PUMPKIN.getDefaultState()); + } + } + } + + @Override + public void growAdult(StructureWorldAccess world, Random random, BlockPos pos) {} + + @Override + public BlockState getStateForNeighborUpdate(BlockState state, Direction facing, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) { + state = super.getStateForNeighborUpdate(state, facing, neighborState, world, pos, neighborPos); + if (state.isOf(this) && state.get(BlockProperties.AGE) > 1) { + BlockState down = world.getBlockState(pos.down()); + if (!down.isOf(EndBlocks.CAVE_PUMPKIN)) { + state = state.with(BlockProperties.AGE, 1); + } + } + return state; + } + + @Override + public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, ShapeContext ePos) { + return SHAPE; + } + + @Override + public AbstractBlock.OffsetType getOffsetType() { + return AbstractBlock.OffsetType.NONE; + } +} diff --git a/src/main/java/ru/betterend/blocks/basis/EndPlantWithAgeBlock.java b/src/main/java/ru/betterend/blocks/basis/EndPlantWithAgeBlock.java index 2d370940..b255d50b 100644 --- a/src/main/java/ru/betterend/blocks/basis/EndPlantWithAgeBlock.java +++ b/src/main/java/ru/betterend/blocks/basis/EndPlantWithAgeBlock.java @@ -14,9 +14,10 @@ import net.minecraft.state.property.IntProperty; import net.minecraft.util.math.BlockPos; import net.minecraft.world.StructureWorldAccess; import net.minecraft.world.World; +import ru.betterend.blocks.BlockProperties; public abstract class EndPlantWithAgeBlock extends EndPlantBlock { - public static final IntProperty AGE = IntProperty.of("age", 0, 3); + public static final IntProperty AGE = BlockProperties.AGE; public EndPlantWithAgeBlock() { this(FabricBlockSettings.of(Material.PLANT) diff --git a/src/main/java/ru/betterend/blocks/basis/UnderwaterPlantWithAgeBlock.java b/src/main/java/ru/betterend/blocks/basis/UnderwaterPlantWithAgeBlock.java index 363bad5e..db52390d 100644 --- a/src/main/java/ru/betterend/blocks/basis/UnderwaterPlantWithAgeBlock.java +++ b/src/main/java/ru/betterend/blocks/basis/UnderwaterPlantWithAgeBlock.java @@ -13,9 +13,10 @@ import net.minecraft.state.StateManager; import net.minecraft.state.property.IntProperty; import net.minecraft.util.math.BlockPos; import net.minecraft.world.StructureWorldAccess; +import ru.betterend.blocks.BlockProperties; public abstract class UnderwaterPlantWithAgeBlock extends UnderwaterPlantBlock { - public static final IntProperty AGE = IntProperty.of("age", 0, 3); + public static final IntProperty AGE = BlockProperties.AGE; public UnderwaterPlantWithAgeBlock() { super(FabricBlockSettings.of(Material.UNDERWATER_PLANT) diff --git a/src/main/java/ru/betterend/item/EndArmorItem.java b/src/main/java/ru/betterend/item/EndArmorItem.java index 58688011..dc298f2f 100644 --- a/src/main/java/ru/betterend/item/EndArmorItem.java +++ b/src/main/java/ru/betterend/item/EndArmorItem.java @@ -1,7 +1,10 @@ package ru.betterend.item; +import java.util.UUID; + import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Multimap; + import net.minecraft.entity.EquipmentSlot; import net.minecraft.entity.attribute.EntityAttribute; import net.minecraft.entity.attribute.EntityAttributeModifier; @@ -13,8 +16,6 @@ import ru.betterend.mixin.common.ArmorItemAccessor; import ru.betterend.patterns.Patterned; import ru.betterend.patterns.Patterns; -import java.util.UUID; - public class EndArmorItem extends ArmorItem implements Patterned { public EndArmorItem(ArmorMaterial material, EquipmentSlot slot, Item.Settings settings) { super(material, slot, settings); diff --git a/src/main/java/ru/betterend/mixin/common/ArmorItemAccessor.java b/src/main/java/ru/betterend/mixin/common/ArmorItemAccessor.java index 39046ec7..8a02ed79 100644 --- a/src/main/java/ru/betterend/mixin/common/ArmorItemAccessor.java +++ b/src/main/java/ru/betterend/mixin/common/ArmorItemAccessor.java @@ -1,13 +1,15 @@ package ru.betterend.mixin.common; -import com.google.common.collect.Multimap; -import net.minecraft.entity.attribute.EntityAttribute; -import net.minecraft.entity.attribute.EntityAttributeModifier; -import net.minecraft.item.ArmorItem; +import java.util.UUID; + import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; -import java.util.UUID; +import com.google.common.collect.Multimap; + +import net.minecraft.entity.attribute.EntityAttribute; +import net.minecraft.entity.attribute.EntityAttributeModifier; +import net.minecraft.item.ArmorItem; @Mixin(ArmorItem.class) public interface ArmorItemAccessor { diff --git a/src/main/java/ru/betterend/mixin/common/EndPortalFeatureMixin.java b/src/main/java/ru/betterend/mixin/common/EndPortalFeatureMixin.java index fc69f5a8..b874e9b8 100644 --- a/src/main/java/ru/betterend/mixin/common/EndPortalFeatureMixin.java +++ b/src/main/java/ru/betterend/mixin/common/EndPortalFeatureMixin.java @@ -14,8 +14,8 @@ import net.minecraft.nbt.NbtHelper; import net.minecraft.structure.Structure; import net.minecraft.structure.StructurePlacementData; import net.minecraft.util.math.BlockPos; -import net.minecraft.world.StructureWorldAccess; import net.minecraft.world.Heightmap.Type; +import net.minecraft.world.StructureWorldAccess; import net.minecraft.world.gen.chunk.ChunkGenerator; import net.minecraft.world.gen.feature.DefaultFeatureConfig; import net.minecraft.world.gen.feature.EndPortalFeature; diff --git a/src/main/java/ru/betterend/mixin/common/EndSpikeFeatureMixin.java b/src/main/java/ru/betterend/mixin/common/EndSpikeFeatureMixin.java index 35d70225..44f69e31 100644 --- a/src/main/java/ru/betterend/mixin/common/EndSpikeFeatureMixin.java +++ b/src/main/java/ru/betterend/mixin/common/EndSpikeFeatureMixin.java @@ -13,6 +13,7 @@ import net.minecraft.block.Blocks; import net.minecraft.block.PaneBlock; import net.minecraft.entity.EntityType; import net.minecraft.entity.decoration.EndCrystalEntity; +import net.minecraft.nbt.CompoundTag; import net.minecraft.structure.Structure; import net.minecraft.structure.StructurePlacementData; import net.minecraft.util.math.BlockPos; @@ -27,6 +28,7 @@ import net.minecraft.world.gen.feature.EndSpikeFeatureConfig; import ru.betterend.BetterEnd; import ru.betterend.util.BlocksHelper; import ru.betterend.util.StructureHelper; +import ru.betterend.util.WorldDataUtil; import ru.betterend.world.generator.GeneratorOptions; @Mixin(EndSpikeFeature.class) @@ -43,7 +45,24 @@ public class EndSpikeFeatureMixin { int x = spike.getCenterX(); int z = spike.getCenterZ(); int radius = spike.getRadius(); - int minY = world.getChunk(x >> 4, z >> 4).sampleHeightmap(Type.WORLD_SURFACE, x & 15, z); + int minY = 0; + + long lx = (long) x; + long lz = (long) z; + if (lx * lx + lz * lz < 10000) { + String pillarID = String.format("%d_%d", x, z); + CompoundTag pillar = WorldDataUtil.getCompoundTag("pillars"); + boolean haveValue = pillar.contains(pillarID); + minY = haveValue ? pillar.getInt(pillarID) : world.getChunk(x >> 4, z >> 4).sampleHeightmap(Type.WORLD_SURFACE, x & 15, z); + if (!haveValue) { + pillar.putInt(pillarID, minY); + WorldDataUtil.saveFile(); + } + } + else { + minY = world.getChunk(x >> 4, z >> 4).sampleHeightmap(Type.WORLD_SURFACE, x & 15, z); + } + int maxY = minY + spike.getHeight() - 64; if (GeneratorOptions.replacePillars() && be_radiusInRange(radius)) { diff --git a/src/main/java/ru/betterend/mixin/common/ServerWorldMixin.java b/src/main/java/ru/betterend/mixin/common/ServerWorldMixin.java index afc357d1..0aab95ac 100644 --- a/src/main/java/ru/betterend/mixin/common/ServerWorldMixin.java +++ b/src/main/java/ru/betterend/mixin/common/ServerWorldMixin.java @@ -34,7 +34,7 @@ import ru.betterend.world.generator.GeneratorOptions; public class ServerWorldMixin { @Inject(method = "*", at = @At("TAIL")) private void be_onServerWorldInit(MinecraftServer server, Executor workerExecutor, LevelStorage.Session session, ServerWorldProperties properties, RegistryKey registryKey, DimensionType dimensionType, WorldGenerationProgressListener worldGenerationProgressListener, ChunkGenerator chunkGenerator, boolean debugWorld, long l, List list, boolean bl, CallbackInfo info) { - File beData = new File(FabricLoader.getInstance().getGameDir().getParent().toString(), "saves/" + properties.getLevelName() + "/betterend_data.nbt"); + File beData = new File(FabricLoader.getInstance().getGameDir().getParent().toString(), "saves/" + properties.getLevelName() + "/data/betterend_data.nbt"); ModMetadata meta = FabricLoader.getInstance().getModContainer(BetterEnd.MOD_ID).get().getMetadata(); String version = BetterEnd.isDevEnvironment() ? "development" : meta.getVersion().toString(); diff --git a/src/main/java/ru/betterend/recipe/CraftingRecipes.java b/src/main/java/ru/betterend/recipe/CraftingRecipes.java index 42e5d801..e510cdc5 100644 --- a/src/main/java/ru/betterend/recipe/CraftingRecipes.java +++ b/src/main/java/ru/betterend/recipe/CraftingRecipes.java @@ -191,6 +191,8 @@ public class CraftingRecipes { GridRecipe.make("filalux_lantern", EndBlocks.FILALUX_LANTERN).setShape("###", "###", "###").addMaterial('#', EndBlocks.FILALUX).build(); GridRecipe.make("silk_moth_hive", EndBlocks.SILK_MOTH_HIVE).setShape("#L#", "LML", "#L#").addMaterial('#', EndBlocks.TENANEA.planks).addMaterial('L', EndBlocks.TENANEA_LEAVES).addMaterial('M', EndItems.SILK_MOTH_MATRIX).build(); + GridRecipe.make("cave_pumpkin_pie", EndItems.CAVE_PUMPKIN_PIE).setShape(" B ", "BPB", " B ").addMaterial('P', EndBlocks.CAVE_PUMPKIN).addMaterial('B', EndItems.BLOSSOM_BERRY, EndItems.SHADOW_BERRY_RAW).build(); + GridRecipe.make("cave_pumpkin_seeds", EndBlocks.CAVE_PUMPKIN_SEED).setOutputCount(4).setList("#").addMaterial('#', EndBlocks.CAVE_PUMPKIN).build(); } private static void registerLantern(String name, Block lantern, Block slab) { diff --git a/src/main/java/ru/betterend/registry/EndBlocks.java b/src/main/java/ru/betterend/registry/EndBlocks.java index 1fac2cb8..f2186f82 100644 --- a/src/main/java/ru/betterend/registry/EndBlocks.java +++ b/src/main/java/ru/betterend/registry/EndBlocks.java @@ -27,6 +27,8 @@ import ru.betterend.blocks.BulbVineBlock; import ru.betterend.blocks.BulbVineLanternBlock; import ru.betterend.blocks.BulbVineLanternColoredBlock; import ru.betterend.blocks.BulbVineSeedBlock; +import ru.betterend.blocks.CavePumpkinBlock; +import ru.betterend.blocks.CavePumpkinVineBlock; import ru.betterend.blocks.ChandelierBlock; import ru.betterend.blocks.CharcoalBlock; import ru.betterend.blocks.CharniaBlock; @@ -302,6 +304,8 @@ public class EndBlocks { public static final Block AMBER_ROOT = registerBlock("amber_root_seed", new EndCropBlock(EndItems.AMBER_ROOT_RAW, AMBER_MOSS)); public static final Block CHORUS_MUSHROOM = registerBlock("chorus_mushroom_seed", new EndCropBlock(EndItems.CHORUS_MUSHROOM_RAW, CHORUS_NYLIUM)); public static final Block PEARLBERRY = registerBlock("pearlberry_seed", new EndCropBlock(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()); // Water plants public static final Block BUBBLE_CORAL = registerBlock("bubble_coral", new BubbleCoralBlock()); diff --git a/src/main/java/ru/betterend/registry/EndItems.java b/src/main/java/ru/betterend/registry/EndItems.java index d8365766..ab3ed31d 100644 --- a/src/main/java/ru/betterend/registry/EndItems.java +++ b/src/main/java/ru/betterend/registry/EndItems.java @@ -122,6 +122,7 @@ public class EndItems { public final static Item CHORUS_MUSHROOM_RAW = registerFood("chorus_mushroom_raw", 3, 0.5F); public final static Item CHORUS_MUSHROOM_COOKED = registerFood("chorus_mushroom_cooked", FoodComponents.MUSHROOM_STEW); public final static Item BOLUX_MUSHROOM_COOKED = registerFood("bolux_mushroom_cooked", FoodComponents.MUSHROOM_STEW); + public final static Item CAVE_PUMPKIN_PIE = registerFood("cave_pumpkin_pie", FoodComponents.PUMPKIN_PIE); // Drinks // public final static Item UMBRELLA_CLUSTER_JUICE = registerDrink("umbrella_cluster_juice", 5, 0.7F); diff --git a/src/main/java/ru/betterend/util/WorldDataUtil.java b/src/main/java/ru/betterend/util/WorldDataUtil.java index 4ba51df2..cb6b1816 100644 --- a/src/main/java/ru/betterend/util/WorldDataUtil.java +++ b/src/main/java/ru/betterend/util/WorldDataUtil.java @@ -30,6 +30,22 @@ public class WorldDataUtil { return root; } + public static CompoundTag getCompoundTag(String path) { + String[] parts = path.split("\\."); + CompoundTag tag = root; + for (String part: parts) { + if (tag.contains(part)) { + tag = tag.getCompound(part); + } + else { + CompoundTag t = new CompoundTag(); + tag.put(part, t); + tag = t; + } + } + return tag; + } + public static void saveFile() { try { NbtIo.write(root, saveFile); diff --git a/src/main/java/ru/betterend/world/generator/TerrainGenerator.java b/src/main/java/ru/betterend/world/generator/TerrainGenerator.java index e055fdaa..6c72f3cf 100644 --- a/src/main/java/ru/betterend/world/generator/TerrainGenerator.java +++ b/src/main/java/ru/betterend/world/generator/TerrainGenerator.java @@ -11,7 +11,7 @@ public class TerrainGenerator { private static final ReentrantLock LOCKER = new ReentrantLock(); private static final double SCALE_XZ = 8.0; private static final double SCALE_Y = 4.0; - private static final int CENTER = MHelper.floor(500 / SCALE_XZ); + //private static final int CENTER = MHelper.floor(500 / SCALE_XZ); private static IslandLayer largeIslands; private static IslandLayer mediumIslands; @@ -20,7 +20,7 @@ public class TerrainGenerator { private static OpenSimplexNoise noise2; public static boolean canGenerate(int x, int z) { - return GeneratorOptions.noRingVoid() || (long) x + (long) z > CENTER; + return GeneratorOptions.noRingVoid()/* || (long) x + (long) z > CENTER*/; } public static void initNoise(long seed) { diff --git a/src/main/resources/assets/betterend/blockstates/cave_pumpkin.json b/src/main/resources/assets/betterend/blockstates/cave_pumpkin.json new file mode 100644 index 00000000..a845138f --- /dev/null +++ b/src/main/resources/assets/betterend/blockstates/cave_pumpkin.json @@ -0,0 +1,6 @@ +{ + "variants": { + "small=true": { "model": "betterend:block/cave_pumpkin_small" }, + "small=false": { "model": "betterend:block/cave_pumpkin" } + } +} diff --git a/src/main/resources/assets/betterend/blockstates/cave_pumpkin_seed.json b/src/main/resources/assets/betterend/blockstates/cave_pumpkin_seed.json new file mode 100644 index 00000000..05b1ecce --- /dev/null +++ b/src/main/resources/assets/betterend/blockstates/cave_pumpkin_seed.json @@ -0,0 +1,20 @@ +{ + "variants": { + "age=0": [ + { "model": "betterend:block/cave_pumpkin_vine_1" }, + { "model": "betterend:block/cave_pumpkin_vine_2" } + ], + "age=1": [ + { "model": "betterend:block/cave_pumpkin_vine_3" }, + { "model": "betterend:block/cave_pumpkin_vine_4" } + ], + "age=2": [ + { "model": "betterend:block/cave_pumpkin_vine_5" }, + { "model": "betterend:block/cave_pumpkin_vine_6" } + ], + "age=3": [ + { "model": "betterend:block/cave_pumpkin_vine_7" }, + { "model": "betterend:block/cave_pumpkin_vine_8" } + ] + } +} diff --git a/src/main/resources/assets/betterend/materialmaps/block/cave_pumpkin.json b/src/main/resources/assets/betterend/materialmaps/block/cave_pumpkin.json new file mode 100644 index 00000000..256acaf2 --- /dev/null +++ b/src/main/resources/assets/betterend/materialmaps/block/cave_pumpkin.json @@ -0,0 +1,14 @@ +{ + "defaultMap": { + "spriteMap": [ + { + "sprite": "betterend:block/cave_pumpkin_lantern_side", + "material": "betterend:glow_inc" + }, + { + "sprite": "betterend:block/cave_pumpkin_lantern_bottom", + "material": "betterend:glow_inc" + } + ] + } +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin.json new file mode 100644 index 00000000..aa035548 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin.json @@ -0,0 +1,89 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "parent": "block/block", + "textures": { + "particle": "betterend:block/cave_pumpkin_lantern_side", + "lantern_side": "betterend:block/cave_pumpkin_lantern_side", + "lantern_bottom": "betterend:block/cave_pumpkin_lantern_bottom", + "top": "betterend:block/cave_pumpkin_top", + "side": "betterend:block/cave_pumpkin_side" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 1, 0, 1 ], + "to": [ 15, 13, 15 ], + "shade": false, + "faces": { + "down": { "uv": [ 1, 1, 15, 15 ], "texture": "#lantern_bottom" }, + "north": { "uv": [ 1, 3, 15, 16 ], "texture": "#lantern_side" }, + "south": { "uv": [ 1, 3, 15, 16 ], "texture": "#lantern_side" }, + "west": { "uv": [ 1, 3, 15, 16 ], "texture": "#lantern_side" }, + "east": { "uv": [ 1, 3, 15, 16 ], "texture": "#lantern_side" } + } + }, + { + "__comment": "Box2", + "from": [ 0, 13, 0 ], + "to": [ 16, 15, 16 ], + "shade": false, + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" } + } + }, + { + "__comment": "PlaneX3", + "from": [ 0, 10, 0 ], + "to": [ 0.001, 15, 16 ], + "shade": false, + "faces": { + "west": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" }, + "east": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" } + } + }, + { + "__comment": "PlaneX3", + "from": [ 16, 10, 0 ], + "to": [ 16.001, 15, 16 ], + "shade": false, + "faces": { + "west": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" }, + "east": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" } + } + }, + { + "__comment": "PlaneZ5", + "from": [ 0, 10, 16 ], + "to": [ 16, 15, 16.001 ], + "shade": false, + "faces": { + "north": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" }, + "south": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" } + } + }, + { + "__comment": "PlaneZ5", + "from": [ 0, 10, 0 ], + "to": [ 16, 15, 0.001 ], + "shade": false, + "faces": { + "north": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" }, + "south": { "uv": [ 0, 1, 16, 6 ], "texture": "#side" } + } + }, + { + "__comment": "Box7", + "from": [ 5, 15, 5 ], + "to": [ 11, 16, 11 ], + "shade": false, + "faces": { + "up": { "uv": [ 5, 10, 11, 16 ], "texture": "#side" }, + "north": { "uv": [ 5, 0, 11, 1 ], "texture": "#side" }, + "south": { "uv": [ 5, 0, 11, 1 ], "texture": "#side" }, + "west": { "uv": [ 5, 0, 11, 1 ], "texture": "#side" }, + "east": { "uv": [ 5, 0, 11, 1 ], "texture": "#side" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_small.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_small.json new file mode 100644 index 00000000..dc0b57ca --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_small.json @@ -0,0 +1,90 @@ +{ + "__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio", + "parent": "block/block", + "textures": { + "particle": "betterend:block/cave_pumpkin_lantern_side", + "lantern_side": "betterend:block/cave_pumpkin_lantern_side", + "lantern_bottom": "betterend:block/cave_pumpkin_lantern_bottom", + "top": "betterend:block/cave_pumpkin_top", + "side": "betterend:block/cave_pumpkin_side" + }, + "elements": [ + { + "__comment": "Box8", + "from": [ 5, 7, 5 ], + "to": [ 11, 13, 11 ], + "shade": false, + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#lantern_bottom" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#lantern_side" }, + "north": { "uv": [ 5, 10, 11, 16 ], "texture": "#lantern_side" }, + "south": { "uv": [ 5, 10, 11, 16 ], "texture": "#lantern_side" }, + "west": { "uv": [ 5, 10, 11, 16 ], "texture": "#lantern_side" }, + "east": { "uv": [ 5, 10, 11, 16 ], "texture": "#lantern_side" } + } + }, + { + "__comment": "Box9", + "from": [ 4, 13, 4 ], + "to": [ 12, 15, 12 ], + "shade": false, + "faces": { + "down": { "uv": [ 4, 4, 12, 12 ], "texture": "#top" }, + "up": { "uv": [ 4, 4, 12, 12 ], "texture": "#top" } + } + }, + { + "__comment": "PlaneX12", + "from": [ 12, 10, 4 ], + "to": [ 12.001, 15, 12 ], + "shade": false, + "faces": { + "west": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" }, + "east": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" } + } + }, + { + "__comment": "PlaneX12", + "from": [ 4, 10, 4 ], + "to": [ 4.001, 15, 12 ], + "shade": false, + "faces": { + "west": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" }, + "east": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" } + } + }, + { + "__comment": "PlaneZ14", + "from": [ 4, 10, 4 ], + "to": [ 12, 15, 4.001 ], + "shade": false, + "faces": { + "north": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" }, + "south": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" } + } + }, + { + "__comment": "PlaneZ14", + "from": [ 4, 10, 12 ], + "to": [ 12, 15, 12.001 ], + "shade": false, + "faces": { + "north": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" }, + "south": { "uv": [ 4, 1, 12, 6 ], "texture": "#side" } + } + }, + { + "__comment": "Box16", + "from": [ 6, 15, 6 ], + "to": [ 10, 16, 10 ], + "shade": false, + "faces": { + "up": { "uv": [ 6, 11, 10, 15 ], "texture": "#side" }, + "north": { "uv": [ 6, 0, 10, 1 ], "texture": "#side" }, + "south": { "uv": [ 6, 0, 10, 1 ], "texture": "#side" }, + "west": { "uv": [ 6, 0, 10, 1 ], "texture": "#side" }, + "east": { "uv": [ 6, 0, 10, 1 ], "texture": "#side" } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_1.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_1.json new file mode 100644 index 00000000..9083c228 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_1.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_0" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_2.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_2.json new file mode 100644 index 00000000..8c145e38 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_2.json @@ -0,0 +1,6 @@ +{ + "parent": "betterend:block/cross_inverted", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_0" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_3.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_3.json new file mode 100644 index 00000000..ebc4a4f6 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_3.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_1" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_4.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_4.json new file mode 100644 index 00000000..6d1d460a --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_4.json @@ -0,0 +1,6 @@ +{ + "parent": "betterend:block/cross_inverted", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_1" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_5.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_5.json new file mode 100644 index 00000000..e338603f --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_5.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_2" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_6.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_6.json new file mode 100644 index 00000000..c4d07a60 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_6.json @@ -0,0 +1,6 @@ +{ + "parent": "betterend:block/cross_inverted", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_2" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_7.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_7.json new file mode 100644 index 00000000..bdfc11b9 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_7.json @@ -0,0 +1,6 @@ +{ + "parent": "block/cross", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_3" + } +} diff --git a/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_8.json b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_8.json new file mode 100644 index 00000000..7c379921 --- /dev/null +++ b/src/main/resources/assets/betterend/models/block/cave_pumpkin_vine_8.json @@ -0,0 +1,6 @@ +{ + "parent": "betterend:block/cross_inverted", + "textures": { + "cross": "betterend:block/cave_pumpkin_stem_3" + } +} diff --git a/src/main/resources/assets/betterend/models/item/cave_pumpkin.json b/src/main/resources/assets/betterend/models/item/cave_pumpkin.json new file mode 100644 index 00000000..30275dee --- /dev/null +++ b/src/main/resources/assets/betterend/models/item/cave_pumpkin.json @@ -0,0 +1,3 @@ +{ + "parent": "betterend:block/cave_pumpkin" +} diff --git a/src/main/resources/assets/betterend/models/item/cave_pumpkin_seed.json b/src/main/resources/assets/betterend/models/item/cave_pumpkin_seed.json new file mode 100644 index 00000000..c285f463 --- /dev/null +++ b/src/main/resources/assets/betterend/models/item/cave_pumpkin_seed.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "betterend:item/cave_pumpkin_seed" + } +} diff --git a/src/main/resources/assets/betterend/textures/block/cave_pumpkin_lantern_side.png b/src/main/resources/assets/betterend/textures/block/cave_pumpkin_lantern_side.png index ede349994d40ed2fd16b2103addac5b7eaaefb10..96e2e1f4dd678058ebee20402e3fb7fabc3f4dca 100644 GIT binary patch delta 117 zcmV-*0E++N0pkIXb#7TnL_t&-m7UK^4uCKS1W-VjQ0{+VXEd&CVq#lD`WAf5ejNAE z)r-RgiAHu`Nf5bKGqM>$$kBgBGD#>x35rlV009CJu!HX!ueOmuYtrVVaqkk(F79>$ X_~itkNGhrP00000NkvXXu0mjfD-$qw delta 115 zcmV-(0F3|R0pS6Vb!=BjL_t&-m7UK~3V=We1klxV7`^|2bE=P^AZT3>-iMBB{di`s z()Y~-0U*eu3H%N|5M7Mwu3&Wx7!XVbU;TWZhy9+vd7s0NKnB4BkuJ^ag)F8%e!;raiAm5a UY~$N$K${pmUHx3vIVCg!05r@?Pyhe` delta 178 zcmaFPc$;y8VZB^{Plzi614Da++mfQd13l5TVs~)E};hXv(y(Tn%&%FT38@{5vR zyj`^UvP+PdjcePo2?@Lt)J3-$1V4R06J-Wq#URR6%N`enNB7K!_Btp6$W{*+x6 ZL&XxtI}#j6{{U@Z@O1TaS?83{1OS!PNYnrT diff --git a/src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_0.png b/src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_0.png new file mode 100644 index 0000000000000000000000000000000000000000..01b6a719511b6e5a6df12e7e1363b43f4952b4fb GIT binary patch literal 388 zcmV-~0ek+5P)Px$K1oDDR5*?8k-tjMoV`KFbR)&-e2_&-+NYXw=F=Q-h4gHl=z~ zGO9(9(!$(#`y8HMOYVBveX)0PB>@bEHULp2#N)*)xwgV-q99fZP7?*e*_4;z`&_8| z!z8wK^4X+EBD=%7KTJFmA=g$gszm`X+L7tBECOnbd^Wkb11B6%W3azQN(*CDi()Xe zv1WZfdd~ou>5BMO;DkFZi*9cMKu+HRU|NtdZy$KNdn2BS%rifJ)l64}HS2TGxsd=? zZNMY=j!`X&s1ia`gXE7c7uI>U;NXOvQT{C0RDAQ(Jl^%}f2E*QZ%Wbrf~zFRFPPy!4AgasgaJkKJY5_^ zB&Nptaq=B7;8^s^=HLH^f$7uoRC=2{SbZ1_p9-&FOz3xyjZNFt&=VkbK|R}l(IxZc zR~M^?L^Zf?dt~XABDwwL8Hss+CI?P0_Xw+0PZqeH@vErKa-KB5$Nh=~=`SJ``|5m> ezC{bk)-gLqG5&eKP4+#|W(H4JKbLh*2~7aLdReFd literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_2.png b/src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_2.png new file mode 100644 index 0000000000000000000000000000000000000000..7944679baf5ada5c93543fd8ed7f4d6e2f672ecd GIT binary patch literal 245 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~xd5LKS0Ftx z#cfGZ;O2&~13l5TVsbrf~zFRFPPy!4AgasgaJkKJzX3_ zB&MeJGx9krayV-%9Q_?%!8&>V+kTfucgEIsMzM9t2K}9l`*Kd!hX$tXP`I*X*Qwx} zJC~f~bh#mSQfiXw*|YwuZcb~;T6%{scgr-cE0%Lk-bm?lnp>Xu>D-gro5?%l8Gf+8 h=KVF>{#pMc=9bw^S)wl=OaxlZ;OXk;vd$@?2>|6wU!DK} literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_3.png b/src/main/resources/assets/betterend/textures/block/cave_pumpkin_stem_3.png new file mode 100644 index 0000000000000000000000000000000000000000..9b3607bd000b87f4b9a18e8e7f037efd3da855de GIT binary patch literal 248 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~xd5LKS0Ftx z#cfGZ;O2&~13l5TVsbrf~zFRFPPy!4AgasgaJj1JY5_^ zB&O#2Uld|CVDS#T`2YXI*1YoC8P={U8a6x|3U(f}QDgtLap{kez?2;h9$R*u4!*f{ z#YxYW4a$>DJ*HV~x6|CHt9sR^RrXefuV}#Y0=4AHmOPs84?UUdxyJH+`p*5|?Vi;) je7zR*C10+|{fDbv`!=Sg=9Ak&wljFT`njxgN@xNAOif^F literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/betterend/textures/item/cave_pumpkin_pipe.png b/src/main/resources/assets/betterend/textures/item/cave_pumpkin_pipe.png new file mode 100644 index 0000000000000000000000000000000000000000..d24ce1532a255cea726484dc6842b1d03a0cfcd3 GIT binary patch literal 240 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~^#Gp`S0LRU z;RZxYiUK#)haKpNzObeF#);`SPfovod-aQ_hdzF|1wp00@|Fbo1vC6d0=g`Y zYk?ARo-U3d5>w~)TJs$+;5hop$PXeYj!y z+jTlZ#@?3|yH~myx+J{ZGPiuey_M@MlB5{lF+|tQ669)VdYPZ^ujI35UiR|3LdL#h WOmDin);|T>#Ng@b=d#Wzp$Pz=uwgC$ literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/betterend/textures/item/cave_pumpkin_seed.png b/src/main/resources/assets/betterend/textures/item/cave_pumpkin_seed.png new file mode 100644 index 0000000000000000000000000000000000000000..f49ede5bb66292f00ab9602eaf6749344eb45a78 GIT binary patch literal 283 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|u6nvShFJ6_ zCrI3T(3bz|Kl@A5{~uQ-9#Y-7Q}NAz?%(-5_Ve~0$>!wNJG;kb4bS}jf6^?@{S{cx zXc7D2=jr@5ZF4(=kaahXdTe5pxBr{=3EtSo8h1GnZ0zl0@{$#m z5t1@q(-yrr_>whc!@S>$hmZU3m$a+@d3M7R4S}Po5_%RFg#XTOY;1IVq#(}RKE z&>68Evs7Ih|I6F|?h?||VAIj$`g8vL@lyv5FmSR@zOBR~H9P(BSGBg3>XzH}k(zmI eC9~TM85kZ!1~XczPS*f>kipZ{&t;ucLK6UdqIW9* literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/betterend/textures/item/shadow_berry_seeds.png b/src/main/resources/assets/betterend/textures/item/shadow_berry_seeds.png index 89c2a68bfb6385152dc62d3f7209a2fcfa902313..20afce5bc35c410b435f4dba9d7a22fe40a1102c 100644 GIT binary patch delta 182 zcmcb@c${&9WIZzj1A~Sxe=v|@EDmyaVpw-h<|U9L6yOu$3Zz@=5<8kwr}h`knO3!I zK`VRunU6qGwvr&fV21x7P*wThA5bLF)5S4FVrpq$ARmJxi}S@@|EEq*HTN;9dop#4 z=uV!BO}CTE6AWH1S;wAKv}aFFM3U6@Ao0cJ`jeV87Mt}6>t0V^b5m*BU&k<8_X3UG dZ7&WM%hgR_cx|aJr3N&e!PC{xWt~$(69A?xMe+au delta 195 zcmV;!06hQ40n`DI8Gi-<001BJ|6u?C0GmlfK~#9!WBC97KLaHgucWoP>VGIE-2jlr zyEhL0KXZIFUPB0K-m`TAX$F84gEYc4uUt@0x&a`K=$c6}06FmBn$g4w8h{O>1S(bo zaM+49P%#XE1s+Htx-(&N$l-$30FVM~hQJKK79%JIfE2(CK|D7AIX&Pq0B#5@9iW8= xO4#5s03{vZ2vFSV09$+`c>`-=VxTlT0|1+}TX6I~Mppm;002ovPDHLkV1gI}NPYkS