Hydralux blocks
This commit is contained in:
parent
fa3f8afed4
commit
2a0c3ee1e0
17 changed files with 668 additions and 0 deletions
41
src/main/java/ru/betterend/blocks/BlockHydralux.java
Normal file
41
src/main/java/ru/betterend/blocks/BlockHydralux.java
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
package ru.betterend.blocks;
|
||||||
|
|
||||||
|
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||||
|
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.block.Material;
|
||||||
|
import net.minecraft.sound.BlockSoundGroup;
|
||||||
|
import net.minecraft.state.property.EnumProperty;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.WorldView;
|
||||||
|
import ru.betterend.blocks.BlockProperties.HydraluxShape;
|
||||||
|
import ru.betterend.blocks.basis.BlockUnderwaterPlant;
|
||||||
|
import ru.betterend.registry.EndBlocks;
|
||||||
|
|
||||||
|
public class BlockHydralux extends BlockUnderwaterPlant {
|
||||||
|
public static final EnumProperty<HydraluxShape> SHAPE = BlockProperties.HYDRALUX_SHAPE;
|
||||||
|
|
||||||
|
public BlockHydralux() {
|
||||||
|
super(FabricBlockSettings.of(Material.UNDERWATER_PLANT)
|
||||||
|
.breakByTool(FabricToolTags.SHEARS)
|
||||||
|
.sounds(BlockSoundGroup.WET_GRASS)
|
||||||
|
.breakByHand(true)
|
||||||
|
.luminance((state) -> { return state.get(SHAPE).hasGlow() ? 15 : 0; })
|
||||||
|
.noCollision());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
|
||||||
|
BlockState down = world.getBlockState(pos.down());
|
||||||
|
HydraluxShape shape = state.get(SHAPE);
|
||||||
|
if (shape == HydraluxShape.FLOWER_BIG_TOP || shape == HydraluxShape.FLOWER_SMALL_TOP) {
|
||||||
|
return down.isOf(this);
|
||||||
|
}
|
||||||
|
else if (shape == HydraluxShape.ROOTS) {
|
||||||
|
return down.isOf(EndBlocks.SULPHURIC_ROCK.stone) && world.getBlockState(pos.up()).isOf(this);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return down.isOf(this) && world.getBlockState(pos.up()).isOf(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
44
src/main/java/ru/betterend/blocks/BlockHydraluxSpore.java
Normal file
44
src/main/java/ru/betterend/blocks/BlockHydraluxSpore.java
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
package ru.betterend.blocks;
|
||||||
|
|
||||||
|
import java.util.Random;
|
||||||
|
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.block.Blocks;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.util.math.BlockPos.Mutable;
|
||||||
|
import net.minecraft.world.StructureWorldAccess;
|
||||||
|
import ru.betterend.blocks.BlockProperties.HydraluxShape;
|
||||||
|
import ru.betterend.blocks.basis.BlockUnderwaterPlantWithAge;
|
||||||
|
import ru.betterend.registry.EndBlocks;
|
||||||
|
import ru.betterend.util.BlocksHelper;
|
||||||
|
import ru.betterend.util.MHelper;
|
||||||
|
|
||||||
|
public class BlockHydraluxSpore extends BlockUnderwaterPlantWithAge {
|
||||||
|
@Override
|
||||||
|
public void grow(StructureWorldAccess world, Random random, BlockPos pos) {
|
||||||
|
int h = MHelper.randRange(4, 8, random);
|
||||||
|
Mutable mut = new Mutable().set(pos);
|
||||||
|
|
||||||
|
for (int i = 1; i < h; i++) {
|
||||||
|
mut.setY(pos.getY() + i);
|
||||||
|
if (!world.getBlockState(mut).isOf(Blocks.WATER)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mut.setY(pos.getY());
|
||||||
|
BlockState state = EndBlocks.HYDRALUX.getDefaultState();
|
||||||
|
BlocksHelper.setWithoutUpdate(world, pos, state.with(BlockProperties.HYDRALUX_SHAPE, HydraluxShape.ROOTS));
|
||||||
|
for (int i = 1; i < h - 2; i++) {
|
||||||
|
mut.setY(pos.getY() + i);
|
||||||
|
BlocksHelper.setWithoutUpdate(world, pos, state.with(BlockProperties.HYDRALUX_SHAPE, HydraluxShape.VINE));
|
||||||
|
}
|
||||||
|
|
||||||
|
mut.setY(mut.getY() + 1);
|
||||||
|
boolean big = random.nextBoolean();
|
||||||
|
BlocksHelper.setWithoutUpdate(world, pos, state.with(BlockProperties.HYDRALUX_SHAPE, big ? HydraluxShape.FLOWER_BIG_BOTTOM : HydraluxShape.FLOWER_SMALL_BOTTOM));
|
||||||
|
|
||||||
|
mut.setY(mut.getY() + 1);
|
||||||
|
BlocksHelper.setWithoutUpdate(world, pos, state.with(BlockProperties.HYDRALUX_SHAPE, big ? HydraluxShape.FLOWER_BIG_TOP : HydraluxShape.FLOWER_SMALL_TOP));
|
||||||
|
}
|
||||||
|
}
|
|
@ -7,6 +7,7 @@ import net.minecraft.util.StringIdentifiable;
|
||||||
public class BlockProperties {
|
public class BlockProperties {
|
||||||
public static final EnumProperty<TripleShape> TRIPLE_SHAPE = EnumProperty.of("shape", TripleShape.class);
|
public static final EnumProperty<TripleShape> TRIPLE_SHAPE = EnumProperty.of("shape", TripleShape.class);
|
||||||
public final static EnumProperty<PedestalState> PEDESTAL_STATE = EnumProperty.of("state", PedestalState.class);
|
public final static EnumProperty<PedestalState> PEDESTAL_STATE = EnumProperty.of("state", PedestalState.class);
|
||||||
|
public static final EnumProperty<HydraluxShape> HYDRALUX_SHAPE = EnumProperty.of("shape", HydraluxShape.class);
|
||||||
public static final BooleanProperty HAS_ITEM = BooleanProperty.of("has_item");
|
public static final BooleanProperty HAS_ITEM = BooleanProperty.of("has_item");
|
||||||
public static final BooleanProperty HAS_LIGHT = BooleanProperty.of("has_light");
|
public static final BooleanProperty HAS_LIGHT = BooleanProperty.of("has_light");
|
||||||
public static final BooleanProperty ACTIVATED = BooleanProperty.of("active");
|
public static final BooleanProperty ACTIVATED = BooleanProperty.of("active");
|
||||||
|
@ -57,4 +58,35 @@ public class BlockProperties {
|
||||||
return this.name;
|
return this.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static enum HydraluxShape implements StringIdentifiable {
|
||||||
|
FLOWER_BIG_BOTTOM("flower_big_bottom", true),
|
||||||
|
FLOWER_BIG_TOP("flower_big_top", true),
|
||||||
|
FLOWER_SMALL_BOTTOM("flower_small_bottom", true),
|
||||||
|
FLOWER_SMALL_TOP("flower_small_top", true),
|
||||||
|
VINE("vine", false),
|
||||||
|
ROOTS("roots", false);
|
||||||
|
|
||||||
|
private final String name;
|
||||||
|
private final boolean glow;
|
||||||
|
|
||||||
|
HydraluxShape(String name, boolean glow) {
|
||||||
|
this.name = name;
|
||||||
|
this.glow = glow;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String asString() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean hasGlow() {
|
||||||
|
return glow;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,6 +28,8 @@ import ru.betterend.blocks.BlockEndLotusSeed;
|
||||||
import ru.betterend.blocks.BlockEndLotusStem;
|
import ru.betterend.blocks.BlockEndLotusStem;
|
||||||
import ru.betterend.blocks.BlockEndstoneDust;
|
import ru.betterend.blocks.BlockEndstoneDust;
|
||||||
import ru.betterend.blocks.BlockGlowingMoss;
|
import ru.betterend.blocks.BlockGlowingMoss;
|
||||||
|
import ru.betterend.blocks.BlockHydralux;
|
||||||
|
import ru.betterend.blocks.BlockHydraluxSpore;
|
||||||
import ru.betterend.blocks.BlockHydrothermalVent;
|
import ru.betterend.blocks.BlockHydrothermalVent;
|
||||||
import ru.betterend.blocks.BlockLacugroveSapling;
|
import ru.betterend.blocks.BlockLacugroveSapling;
|
||||||
import ru.betterend.blocks.BlockMossyGlowshroomCap;
|
import ru.betterend.blocks.BlockMossyGlowshroomCap;
|
||||||
|
@ -164,6 +166,9 @@ public class EndBlocks {
|
||||||
public static final Block END_LILY = registerBlockNI("end_lily", new BlockEndLily());
|
public static final Block END_LILY = registerBlockNI("end_lily", new BlockEndLily());
|
||||||
public static final Block END_LILY_SEED = registerBlock("end_lily_seed", new BlockEndLilySeed());
|
public static final Block END_LILY_SEED = registerBlock("end_lily_seed", new BlockEndLilySeed());
|
||||||
|
|
||||||
|
public static final Block HYDRALUX_SPORE = registerBlock("hydralux_spore", new BlockHydraluxSpore());
|
||||||
|
public static final Block HYDRALUX = registerBlock("hydralux", new BlockHydralux());
|
||||||
|
|
||||||
public static final Block CAVE_BUSH = registerBlock("cave_bush", new BlockSimpleLeaves(MaterialColor.MAGENTA));
|
public static final Block CAVE_BUSH = registerBlock("cave_bush", new BlockSimpleLeaves(MaterialColor.MAGENTA));
|
||||||
|
|
||||||
public static final Block MURKWEED = registerBlock("murkweed", new BlockMurkweed());
|
public static final Block MURKWEED = registerBlock("murkweed", new BlockMurkweed());
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"shape=flower_big_bottom": [
|
||||||
|
{ "model": "betterend:block/hydralux_flower_big_1_bottom" },
|
||||||
|
{ "model": "betterend:block/hydralux_flower_big_2_bottom" },
|
||||||
|
{ "model": "betterend:block/hydralux_flower_big_3_bottom" }
|
||||||
|
],
|
||||||
|
"shape=flower_big_top": { "model": "betterend:block/hydralux_flower_big_top" },
|
||||||
|
"shape=flower_small_bottom": { "model": "betterend:block/hydrothermal_vent" },
|
||||||
|
"shape=flower_small_top": { "model": "betterend:block/hydralux_flower_small_bottom" },
|
||||||
|
"shape=vine": { "model": "betterend:block/hydralux_vine" },
|
||||||
|
"shape=roots": { "model": "betterend:block/hydralux_roots" }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"age=0": { "model": "betterend:block/hydralux_spore" },
|
||||||
|
"age=1": { "model": "betterend:block/hydralux_spore" },
|
||||||
|
"age=2": { "model": "betterend:block/hydralux_spore" },
|
||||||
|
"age=3": { "model": "betterend:block/hydralux_spore" }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,105 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"texture": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"petal_bottom": "betterend:block/hydralux_flower_bud_petal_bottom",
|
||||||
|
"petal_side": "betterend:block/hydralux_flower_bud_petal_side",
|
||||||
|
"petal": "betterend:block/hydralux_flower_petal",
|
||||||
|
"top": "betterend:block/hydralux_bloom_top"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 2.375, 0, 2.25 ],
|
||||||
|
"to": [ 2.376, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 2.375, 0, 2.25 ], "axis": "y", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 13.75, 0, 2.25 ],
|
||||||
|
"to": [ 13.751, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 13.75, 0, 2.25 ], "axis": "y", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box3",
|
||||||
|
"from": [ 4, 6, 4 ],
|
||||||
|
"to": [ 12, 8, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#petal_bottom" },
|
||||||
|
"north": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box4",
|
||||||
|
"from": [ 3, 8, 3 ],
|
||||||
|
"to": [ 13, 16, 13 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 3, 3, 13, 13 ], "texture": "#top" },
|
||||||
|
"north": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY5",
|
||||||
|
"from": [ 0, 16, 13 ],
|
||||||
|
"to": [ 16, 16.001, 29 ],
|
||||||
|
"rotation": { "origin": [ 0, 16, 13 ], "axis": "x", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal" },
|
||||||
|
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 180 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY5",
|
||||||
|
"from": [ 0, 0, 3 ],
|
||||||
|
"to": [ 16, 16, 3.001 ],
|
||||||
|
"rotation": { "origin": [ 0, 16, 3 ], "axis": "x", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"north": { "uv": [ 0, 16, 16, 0 ], "texture": "#petal" },
|
||||||
|
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 180 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY7",
|
||||||
|
"from": [ 13, 16, 0 ],
|
||||||
|
"to": [ 29, 16.001, 16 ],
|
||||||
|
"rotation": { "origin": [ 13, 16, 0 ], "axis": "z", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 90 },
|
||||||
|
"up": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal", "rotation": 90 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY7",
|
||||||
|
"from": [ 3, 0, 0 ],
|
||||||
|
"to": [ 3.001, 16, 16 ],
|
||||||
|
"rotation": { "origin": [ 3, 16, 0 ], "axis": "z", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 16, 16, 0, 0 ], "texture": "#petal" },
|
||||||
|
"east": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal", "rotation": 180 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,102 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"texture": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"petal_bottom": "betterend:block/hydralux_flower_bud_petal_bottom",
|
||||||
|
"petal_side": "betterend:block/hydralux_flower_bud_petal_side",
|
||||||
|
"petal": "betterend:block/hydralux_flower_petal",
|
||||||
|
"top": "betterend:block/hydralux_bloom_top"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 2.375, 0, 2.25 ],
|
||||||
|
"to": [ 2.376, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 2.375, 0, 2.25 ], "axis": "y", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 13.75, 0, 2.25 ],
|
||||||
|
"to": [ 13.751, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 13.75, 0, 2.25 ], "axis": "y", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box3",
|
||||||
|
"from": [ 4, 6, 4 ],
|
||||||
|
"to": [ 12, 8, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#petal_bottom" },
|
||||||
|
"north": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box4",
|
||||||
|
"from": [ 3, 8, 3 ],
|
||||||
|
"to": [ 13, 16, 13 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 3, 3, 13, 13 ], "texture": "#top" },
|
||||||
|
"north": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY5",
|
||||||
|
"from": [ 0, 16, 13 ],
|
||||||
|
"to": [ 16, 16.001, 29 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal" },
|
||||||
|
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 180 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY5",
|
||||||
|
"from": [ 0, 15.9989, -13 ],
|
||||||
|
"to": [ 16, 15.9999, 3 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY7",
|
||||||
|
"from": [ 13, 16, 0 ],
|
||||||
|
"to": [ 29, 16.001, 16 ],
|
||||||
|
"rotation": { "origin": [ 13, 16, 0 ], "axis": "z", "angle": 0 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 90 },
|
||||||
|
"up": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal", "rotation": 90 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY7",
|
||||||
|
"from": [ -13, 15.9989, 0 ],
|
||||||
|
"to": [ 3, 15.9999, 16 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 270 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,105 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"texture": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"petal_bottom": "betterend:block/hydralux_flower_bud_petal_bottom",
|
||||||
|
"petal_side": "betterend:block/hydralux_flower_bud_petal_side",
|
||||||
|
"petal": "betterend:block/hydralux_flower_petal",
|
||||||
|
"top": "betterend:block/hydralux_bloom_top"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 2.375, 0, 2.25 ],
|
||||||
|
"to": [ 2.376, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 2.375, 0, 2.25 ], "axis": "y", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 13.75, 0, 2.25 ],
|
||||||
|
"to": [ 13.751, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 13.75, 0, 2.25 ], "axis": "y", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box3",
|
||||||
|
"from": [ 4, 6, 4 ],
|
||||||
|
"to": [ 12, 8, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#petal_bottom" },
|
||||||
|
"north": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box4",
|
||||||
|
"from": [ 3, 8, 3 ],
|
||||||
|
"to": [ 13, 16, 13 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 3, 3, 13, 13 ], "texture": "#top" },
|
||||||
|
"north": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 3, 0, 13, 8 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY5",
|
||||||
|
"from": [ 0, 16, 13 ],
|
||||||
|
"to": [ 16, 16.001, 29 ],
|
||||||
|
"rotation": { "origin": [ 0, 16, 13 ], "axis": "x", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal" },
|
||||||
|
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 180 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY5",
|
||||||
|
"from": [ 0, 15.9989, -13 ],
|
||||||
|
"to": [ 16, 15.9999, 3 ],
|
||||||
|
"rotation": { "origin": [ 0, 16, 3 ], "axis": "x", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY7",
|
||||||
|
"from": [ 13, 16, 0 ],
|
||||||
|
"to": [ 29, 16.001, 16 ],
|
||||||
|
"rotation": { "origin": [ 13, 16, 0 ], "axis": "z", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 90 },
|
||||||
|
"up": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal", "rotation": 90 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneY7",
|
||||||
|
"from": [ -13, 15.9989, 0 ],
|
||||||
|
"to": [ 3, 15.9999, 16 ],
|
||||||
|
"rotation": { "origin": [ 3, 16, 0 ], "axis": "z", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 16, 0, 0, 16 ], "texture": "#petal", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#petal", "rotation": 270 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_flower_bud",
|
||||||
|
"texture": "betterend:block/hydralux_flower_bud"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Box3",
|
||||||
|
"from": [ 4, 0, 4 ],
|
||||||
|
"to": [ 12, 3, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"up": { "uv": [ 0, 0, 8, 8 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 0, 8, 8, 11 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 0, 8, 8, 11 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 0, 8, 8, 11 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 8, 8, 11 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX9",
|
||||||
|
"from": [ 5.5, 3, 5.5 ],
|
||||||
|
"to": [ 5.501, 11, 13.5 ],
|
||||||
|
"rotation": { "origin": [ 5.5, 3, 5.5 ], "axis": "y", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 8, 8, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 8, 8, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX9",
|
||||||
|
"from": [ 10.5, 3, 5.5 ],
|
||||||
|
"to": [ 10.501, 11, 13.5 ],
|
||||||
|
"rotation": { "origin": [ 10.5, 3, 5.5 ], "axis": "y", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 8, 8, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 8, 8, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,58 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"texture": "betterend:block/hydralux_flower_bottom",
|
||||||
|
"petal_bottom": "betterend:block/hydralux_flower_bud_petal_bottom",
|
||||||
|
"petal_side": "betterend:block/hydralux_flower_bud_petal_side"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 2.375, 0, 2.25 ],
|
||||||
|
"to": [ 2.376, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 2.375, 0, 2.25 ], "axis": "y", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 13.75, 0, 2.25 ],
|
||||||
|
"to": [ 13.751, 6, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 13.75, 0, 2.25 ], "axis": "y", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 9, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box3",
|
||||||
|
"from": [ 4, 6, 4 ],
|
||||||
|
"to": [ 12, 8, 12 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#petal_bottom" },
|
||||||
|
"north": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 4, 8, 12, 10 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Box4",
|
||||||
|
"from": [ 3, 8, 3 ],
|
||||||
|
"to": [ 13, 16, 13 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 3, 3, 13, 13 ], "texture": "#petal_bottom" },
|
||||||
|
"north": { "uv": [ 3, 8, 13, 16 ], "texture": "#petal_side" },
|
||||||
|
"south": { "uv": [ 3, 8, 13, 16 ], "texture": "#petal_side" },
|
||||||
|
"west": { "uv": [ 3, 8, 13, 16 ], "texture": "#petal_side" },
|
||||||
|
"east": { "uv": [ 3, 8, 13, 16 ], "texture": "#petal_side" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_flower_bud_petal_side",
|
||||||
|
"texture": "betterend:block/hydralux_flower_bud_petal_side",
|
||||||
|
"petal_top": "betterend:block/hydralux_flower_bud_petal_top"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Box4",
|
||||||
|
"from": [ 3, 0, 3 ],
|
||||||
|
"to": [ 13, 8, 13 ],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"up": { "uv": [ 3, 3, 13, 13 ], "texture": "#petal_top" },
|
||||||
|
"north": { "uv": [ 3, 8, 13, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 3, 8, 13, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 3, 8, 13, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 3, 8, 13, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,76 @@
|
||||||
|
{
|
||||||
|
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "betterend:block/hydralux_vine",
|
||||||
|
"texture": "betterend:block/hydralux_vine",
|
||||||
|
"roots": "betterend:block/hydralux_roots"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 2.375, 0, 2.25 ],
|
||||||
|
"to": [ 2.376, 16, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 2.375, 0, 2.25 ], "axis": "y", "angle": 45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX1",
|
||||||
|
"from": [ 13.75, 0, 2.25 ],
|
||||||
|
"to": [ 13.751, 16, 18.25 ],
|
||||||
|
"rotation": { "origin": [ 13.75, 0, 2.25 ], "axis": "y", "angle": -45 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX4",
|
||||||
|
"from": [ 5, 0, 0.5 ],
|
||||||
|
"to": [ 5.001, 16, 16.5 ],
|
||||||
|
"rotation": { "origin": [ 5, 0, 0.5 ], "axis": "y", "angle": 22.5 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" },
|
||||||
|
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneZ5",
|
||||||
|
"from": [ 0.5, 0, 11 ],
|
||||||
|
"to": [ 16.5, 16, 11.001 ],
|
||||||
|
"rotation": { "origin": [ 0.5, 0, 11 ], "axis": "y", "angle": 22.5 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" },
|
||||||
|
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneX4",
|
||||||
|
"from": [ 11, 0, 0.5 ],
|
||||||
|
"to": [ 11.001, 16, 16.5 ],
|
||||||
|
"rotation": { "origin": [ 11, 0, 0.5 ], "axis": "y", "angle": -22.5 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" },
|
||||||
|
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "PlaneZ5",
|
||||||
|
"from": [ 0.5, 0, 5 ],
|
||||||
|
"to": [ 16.5, 16, 5.001 ],
|
||||||
|
"rotation": { "origin": [ 0.5, 0, 5 ], "axis": "y", "angle": -22.5 },
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" },
|
||||||
|
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#roots" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "betterend:block/cross_no_distortion",
|
||||||
|
"textures": {
|
||||||
|
"texture": "betterend:block/hydralux_spore"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"parent": "betterend:block/cross_no_distortion",
|
||||||
|
"textures": {
|
||||||
|
"texture": "betterend:block/hydralux_vine"
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
Loading…
Add table
Add a link
Reference in a new issue