Chandeliers

This commit is contained in:
paulevsGitch 2021-01-25 07:31:55 +03:00
parent 1985750261
commit 5da6976158
34 changed files with 515 additions and 24 deletions

View file

@ -1,5 +1,6 @@
package ru.betterend.blocks; package ru.betterend.blocks;
import java.io.Reader;
import java.util.EnumMap; import java.util.EnumMap;
import com.google.common.collect.Maps; import com.google.common.collect.Maps;
@ -8,20 +9,24 @@ import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.ShapeContext; import net.minecraft.block.ShapeContext;
import net.minecraft.util.Identifier;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction; import net.minecraft.util.math.Direction;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.shape.VoxelShape; import net.minecraft.util.shape.VoxelShape;
import net.minecraft.util.shape.VoxelShapes; import net.minecraft.util.shape.VoxelShapes;
import net.minecraft.world.BlockView; import net.minecraft.world.BlockView;
import ru.betterend.blocks.basis.AttachedBlock; import ru.betterend.blocks.basis.AttachedBlock;
import ru.betterend.client.render.ERenderLayer; import ru.betterend.client.render.ERenderLayer;
import ru.betterend.interfaces.IRenderTypeable; import ru.betterend.interfaces.IRenderTypeable;
import ru.betterend.patterns.BlockPatterned;
import ru.betterend.patterns.Patterns;
public class ChandelierBlock extends AttachedBlock implements IRenderTypeable { public class ChandelierBlock extends AttachedBlock implements IRenderTypeable, BlockPatterned {
private static final EnumMap<Direction, VoxelShape> BOUNDING_SHAPES = Maps.newEnumMap(Direction.class); private static final EnumMap<Direction, VoxelShape> BOUNDING_SHAPES = Maps.newEnumMap(Direction.class);
public ChandelierBlock(FabricBlockSettings settings) { public ChandelierBlock(Block source) {
super(settings.noCollision().nonOpaque().requiresTool().luminance(15)); super(FabricBlockSettings.copyOf(source).noCollision().nonOpaque().requiresTool().luminance(15));
} }
@Override @Override
@ -34,6 +39,34 @@ public class ChandelierBlock extends AttachedBlock implements IRenderTypeable {
return BOUNDING_SHAPES.get(state.get(FACING)); return BOUNDING_SHAPES.get(state.get(FACING));
} }
@Override
public String getStatesPattern(Reader data) {
Identifier blockId = Registry.BLOCK.getId(this);
return Patterns.createJson(data, blockId.getPath(), blockId.getPath());
}
@Override
public String getModelPattern(String block) {
Identifier blockId = Registry.BLOCK.getId(this);
if (block.contains("item")) {
return Patterns.createJson(Patterns.ITEM_GENERATED, "item/" + blockId.getPath());
}
else if (block.contains("ceil")) {
return Patterns.createJson(Patterns.BLOCK_CHANDELIER_CEIL, blockId.getPath());
}
else if (block.contains("wall")) {
return Patterns.createJson(Patterns.BLOCK_CHANDELIER_WALL, blockId.getPath());
}
else {
return Patterns.createJson(Patterns.BLOCK_CHANDELIER_FLOOR, blockId.getPath());
}
}
@Override
public Identifier statePatternId() {
return Patterns.STATE_CHANDELIER;
}
static { static {
BOUNDING_SHAPES.put(Direction.UP, Block.createCuboidShape(5, 0, 5, 11, 13, 11)); BOUNDING_SHAPES.put(Direction.UP, Block.createCuboidShape(5, 0, 5, 11, 13, 11));
BOUNDING_SHAPES.put(Direction.DOWN, Block.createCuboidShape(5, 3, 5, 11, 16, 11)); BOUNDING_SHAPES.put(Direction.DOWN, Block.createCuboidShape(5, 3, 5, 11, 16, 11));

View file

@ -74,7 +74,7 @@ public class MetalMaterial {
chain = EndBlocks.registerBlock(name + "_chain", new EndChainBlock(color)); chain = EndBlocks.registerBlock(name + "_chain", new EndChainBlock(color));
plate = EndBlocks.registerBlock(name + "_plate", new EndWoodenPlateBlock(block)); plate = EndBlocks.registerBlock(name + "_plate", new EndWoodenPlateBlock(block));
chandelier = EndBlocks.registerBlock(name + "_chandelier", new ChandelierBlock(materialBlock)); chandelier = EndBlocks.registerBlock(name + "_chandelier", new ChandelierBlock(block));
bulb_lantern = EndBlocks.registerBlock(name + "_bulb_lantern", new BulbVineLanternBlock(lantern)); bulb_lantern = EndBlocks.registerBlock(name + "_bulb_lantern", new BulbVineLanternBlock(lantern));
bulb_lantern_colored = new ColoredMaterial(BulbVineLanternColoredBlock::new, bulb_lantern, false); bulb_lantern_colored = new ColoredMaterial(BulbVineLanternColoredBlock::new, bulb_lantern, false);

View file

@ -41,6 +41,7 @@ public class Patterns {
public final static Identifier STATE_BARS = BetterEnd.makeID("patterns/blockstate/bars.json"); public final static Identifier STATE_BARS = BetterEnd.makeID("patterns/blockstate/bars.json");
public final static Identifier STATE_ANVIL = BetterEnd.makeID("patterns/blockstate/anvil.json"); public final static Identifier STATE_ANVIL = BetterEnd.makeID("patterns/blockstate/anvil.json");
public final static Identifier STATE_CHAIN = BetterEnd.makeID("patterns/blockstate/chain.json"); public final static Identifier STATE_CHAIN = BetterEnd.makeID("patterns/blockstate/chain.json");
public final static Identifier STATE_CHANDELIER = BetterEnd.makeID("patterns/blockstate/chandelier.json");
//Models Block //Models Block
public final static Identifier BLOCK_EMPTY = BetterEnd.makeID("patterns/block/empty.json"); public final static Identifier BLOCK_EMPTY = BetterEnd.makeID("patterns/block/empty.json");
@ -91,6 +92,9 @@ public class Patterns {
public final static Identifier BLOCK_BARS_SIDE = BetterEnd.makeID("patterns/block/bars_side.json"); public final static Identifier BLOCK_BARS_SIDE = BetterEnd.makeID("patterns/block/bars_side.json");
public final static Identifier BLOCK_ANVIL = BetterEnd.makeID("patterns/block/anvil.json"); public final static Identifier BLOCK_ANVIL = BetterEnd.makeID("patterns/block/anvil.json");
public final static Identifier BLOCK_CHAIN = BetterEnd.makeID("patterns/block/chain.json"); public final static Identifier BLOCK_CHAIN = BetterEnd.makeID("patterns/block/chain.json");
public final static Identifier BLOCK_CHANDELIER_FLOOR = BetterEnd.makeID("patterns/block/chandelier_floor.json");
public final static Identifier BLOCK_CHANDELIER_WALL = BetterEnd.makeID("patterns/block/chandelier_wall.json");
public final static Identifier BLOCK_CHANDELIER_CEIL = BetterEnd.makeID("patterns/block/chandelier_ceil.json");
//Models Item //Models Item
public final static Identifier ITEM_WALL = BetterEnd.makeID("patterns/item/pattern_wall.json"); public final static Identifier ITEM_WALL = BetterEnd.makeID("patterns/item/pattern_wall.json");

View file

@ -196,6 +196,9 @@ public class CraftingRecipes {
.addMaterial('A', EndItems.AMBER_GEM) .addMaterial('A', EndItems.AMBER_GEM)
.addMaterial('P', Items.ENDER_PEARL) .addMaterial('P', Items.ENDER_PEARL)
.build(); .build();
GridRecipe.make("iron_chandelier", EndBlocks.IRON_CHANDELIER).setShape("I#I", " # ").addMaterial('#', Items.IRON_INGOT).addMaterial('I', EndItems.LUMECORN_ROD).setGroup("end_metal_chandelier").build();
GridRecipe.make("gold_chandelier", EndBlocks.GOLD_CHANDELIER).setShape("I#I", " # ").addMaterial('#', Items.GOLD_INGOT).addMaterial('I', EndItems.LUMECORN_ROD).setGroup("end_metal_chandelier").build();
} }
private static void registerLantern(String name, Block lantern, Block slab) { private static void registerLantern(String name, Block lantern, Block slab) {

View file

@ -20,6 +20,7 @@ import ru.betterend.blocks.BulbVineBlock;
import ru.betterend.blocks.BulbVineLanternBlock; import ru.betterend.blocks.BulbVineLanternBlock;
import ru.betterend.blocks.BulbVineLanternColoredBlock; import ru.betterend.blocks.BulbVineLanternColoredBlock;
import ru.betterend.blocks.BulbVineSeedBlock; import ru.betterend.blocks.BulbVineSeedBlock;
import ru.betterend.blocks.ChandelierBlock;
import ru.betterend.blocks.CharniaBlock; import ru.betterend.blocks.CharniaBlock;
import ru.betterend.blocks.ChorusGrassBlock; import ru.betterend.blocks.ChorusGrassBlock;
import ru.betterend.blocks.DenseEmeraldIceBlock; import ru.betterend.blocks.DenseEmeraldIceBlock;
@ -306,6 +307,11 @@ public class EndBlocks {
public static final Block IRON_BULB_LANTERN = registerBlock("iron_bulb_lantern", new BulbVineLanternBlock()); public static final Block IRON_BULB_LANTERN = registerBlock("iron_bulb_lantern", new BulbVineLanternBlock());
public static final ColoredMaterial IRON_BULB_LANTERN_COLORED = new ColoredMaterial(BulbVineLanternColoredBlock::new, IRON_BULB_LANTERN, false); public static final ColoredMaterial IRON_BULB_LANTERN_COLORED = new ColoredMaterial(BulbVineLanternColoredBlock::new, IRON_BULB_LANTERN, false);
public static final Block GOLD_BULB_LANTERN = registerBlock("gold_bulb_lantern", new BulbVineLanternBlock());
public static final ColoredMaterial GOLD_BULB_LANTERN_COLORED = new ColoredMaterial(BulbVineLanternColoredBlock::new, GOLD_BULB_LANTERN, false);
public static final Block IRON_CHANDELIER = EndBlocks.registerBlock("iron_chandelier", new ChandelierBlock(Blocks.GOLD_BLOCK));
public static final Block GOLD_CHANDELIER = EndBlocks.registerBlock("gold_chandelier", new ChandelierBlock(Blocks.GOLD_BLOCK));
// Blocks With Entity // // Blocks With Entity //
public static final Block END_STONE_SMELTER = registerBlock("end_stone_smelter", new EndStoneSmelter()); public static final Block END_STONE_SMELTER = registerBlock("end_stone_smelter", new EndStoneSmelter());

View file

@ -1,10 +0,0 @@
{
"variants": {
"facing=up": { "model": "betterend:block/thallasium_chandelier" },
"facing=down": { "model": "betterend:block/thallasium_chandelier_ceil" },
"facing=north": { "model": "betterend:block/thallasium_chandelier_wall", "y": 180 },
"facing=south": { "model": "betterend:block/thallasium_chandelier_wall" },
"facing=east": { "model": "betterend:block/thallasium_chandelier_wall", "y": 270 },
"facing=west": { "model": "betterend:block/thallasium_chandelier_wall", "y": 90 }
}
}

View file

@ -379,6 +379,24 @@
"block.betterend.iron_bulb_lantern_white": "White Iron Bulb Lantern", "block.betterend.iron_bulb_lantern_white": "White Iron Bulb Lantern",
"block.betterend.iron_bulb_lantern_yellow": "Yellow Iron Bulb Lantern", "block.betterend.iron_bulb_lantern_yellow": "Yellow Iron Bulb Lantern",
"block.betterend.gold_bulb_lantern": "Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_black": "Black Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_blue": "Blue Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_brown": "Brown Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_cyan": "Cyan Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_gray": "Gray Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_green": "Green Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_light_blue": "Light Blue Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_light_gray": "Light Gray Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_lime": "Lime Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_magenta": "Magenta Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_orange": "Orange Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_pink": "Pink Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_purple": "Purple Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_red": "Red Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_white": "White Gold Bulb Lantern",
"block.betterend.gold_bulb_lantern_yellow": "Yellow Gold Bulb Lantern",
"block.betterend.thallasium_bulb_lantern": "Thallasium Bulb Lantern", "block.betterend.thallasium_bulb_lantern": "Thallasium Bulb Lantern",
"block.betterend.thallasium_bulb_lantern_black": "Black Thallasium Bulb Lantern", "block.betterend.thallasium_bulb_lantern_black": "Black Thallasium Bulb Lantern",
"block.betterend.thallasium_bulb_lantern_blue": "Blue Thallasium Bulb Lantern", "block.betterend.thallasium_bulb_lantern_blue": "Blue Thallasium Bulb Lantern",
@ -616,5 +634,9 @@
"block.betterend.thallasium_anvil": "Thallasium Anvil", "block.betterend.thallasium_anvil": "Thallasium Anvil",
"block.betterend.thallasium_chain": "Thallasium Chain", "block.betterend.thallasium_chain": "Thallasium Chain",
"block.betterend.thallasium_slab": "Thallasium Slab", "block.betterend.thallasium_slab": "Thallasium Slab",
"block.betterend.thallasium_stairs": "Thallasium Stairs" "block.betterend.thallasium_stairs": "Thallasium Stairs",
"block.betterend.gold_chandelier": "Gold Chandelier",
"block.betterend.iron_chandelier": "Iron Chandelier",
"item.betterend.thallasium_nugget": "Thallasium Nugget"
} }

View file

@ -381,6 +381,24 @@
"block.betterend.iron_bulb_lantern_white": "Белый железный луковичный фонарь", "block.betterend.iron_bulb_lantern_white": "Белый железный луковичный фонарь",
"block.betterend.iron_bulb_lantern_yellow": "Жёлтый железный луковичный фонарь", "block.betterend.iron_bulb_lantern_yellow": "Жёлтый железный луковичный фонарь",
"block.betterend.gold_bulb_lantern": "Золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_black": "Чёрный золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_blue": "Синий золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_brown": "Коричневый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_cyan": "Циановый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_gray": "Серый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_green": "Зелёный золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_light_blue": "Голубой золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_light_gray": "Светло-серый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_lime": "Лаймовый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_magenta": "Фиолетовый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_orange": "Оранжевый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_pink": "Розовый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_purple": "Пурпурный золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_red": "Красный золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_white": "Белый золотой луковичный фонарь",
"block.betterend.gold_bulb_lantern_yellow": "Жёлтый золотой луковичный фонарь",
"block.betterend.thallasium_bulb_lantern": "Талласиевый луковичный фонарь", "block.betterend.thallasium_bulb_lantern": "Талласиевый луковичный фонарь",
"block.betterend.thallasium_bulb_lantern_black": "Чёрный талласиевый луковичный фонарь", "block.betterend.thallasium_bulb_lantern_black": "Чёрный талласиевый луковичный фонарь",
"block.betterend.thallasium_bulb_lantern_blue": "Синий талласиевый луковичный фонарь", "block.betterend.thallasium_bulb_lantern_blue": "Синий талласиевый луковичный фонарь",
@ -618,5 +636,9 @@
"block.betterend.thallasium_anvil": "Талласиевая наковальня", "block.betterend.thallasium_anvil": "Талласиевая наковальня",
"block.betterend.thallasium_chain": "Талласиевая цепь", "block.betterend.thallasium_chain": "Талласиевая цепь",
"block.betterend.thallasium_slab": "Талласиевая плита", "block.betterend.thallasium_slab": "Талласиевая плита",
"block.betterend.thallasium_stairs": "Талласиевые ступени" "block.betterend.thallasium_stairs": "Талласиевые ступени",
"block.betterend.gold_chandelier": "Золотой канделябр",
"block.betterend.iron_chandelier": "Железный канделябр",
"item.betterend.thallasium_nugget": "Талласиевый самородок"
} }

View file

@ -0,0 +1,7 @@
{
"intensity": 0.2,
"red": 0.5,
"green": 1.0,
"blue": 0.0,
"worksInFluid": true
}

View file

@ -0,0 +1,7 @@
{
"intensity": 0.2,
"red": 0.5,
"green": 1.0,
"blue": 0.0,
"worksInFluid": true
}

View file

@ -1,5 +1,5 @@
{ {
"intensity": 0.5, "intensity": 0.2,
"red": 0.5, "red": 0.5,
"green": 1.0, "green": 1.0,
"blue": 0.0, "blue": 0.0,

View file

@ -0,0 +1,7 @@
{
"intensity": 0.2,
"red": 0.5,
"green": 1.0,
"blue": 0.0,
"worksInFluid": true
}

View file

@ -0,0 +1,3 @@
{
"defaultMaterial": "betterend:glow_green"
}

View file

@ -0,0 +1,3 @@
{
"defaultMaterial": "betterend:glow_green"
}

View file

@ -0,0 +1,3 @@
{
"defaultMaterial": "betterend:glow_green"
}

View file

@ -0,0 +1,3 @@
{
"defaultMaterial": "betterend:glow_green"
}

View file

@ -1 +1,3 @@
{} {
"defaultMaterial": "betterend:glow_green"
}

View file

@ -1,6 +0,0 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "betterend:item/thallasium_chandelier"
}
}

View file

@ -0,0 +1,134 @@
{
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "betterend:block/%texture%_ceil",
"texture": "betterend:block/%texture%_ceil",
"rod": "betterend:block/%texture%_floor"
},
"elements": [
{
"__comment": "Box1",
"from": [ 6, 15, 6 ],
"to": [ 10, 16, 10 ],
"shade": false,
"faces": {
"down": { "uv": [ 0, 0, 4, 4 ], "texture": "#rod" },
"up": { "uv": [ 0, 0, 4, 4 ], "texture": "#rod" },
"north": { "uv": [ 0, 4, 4, 5 ], "texture": "#rod" },
"south": { "uv": [ 0, 4, 4, 5 ], "texture": "#rod" },
"west": { "uv": [ 0, 4, 4, 5 ], "texture": "#rod" },
"east": { "uv": [ 0, 4, 4, 5 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX3",
"from": [ 2, 2, 2 ],
"to": [ 2.001, 15, 19 ],
"rotation": { "origin": [ 2, 2, 2 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 0, 0, 16, 13 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 16, 13 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX3",
"from": [ 14, 2, 2 ],
"to": [ 14.001, 15, 19 ],
"rotation": { "origin": [ 14, 2, 2 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 0, 0, 16, 13 ], "texture": "#texture" },
"east": { "uv": [ 0, 0, 16, 13 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 2, 3, 2 ],
"to": [ 2.001, 9, 7.5 ],
"rotation": { "origin": [ 2, 3, 2 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 6, 3, 2 ],
"to": [ 6.001, 9, 7.5 ],
"rotation": { "origin": [ 6, 3, 2 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 14, 3, 2 ],
"to": [ 14.001, 9, 7.5 ],
"rotation": { "origin": [ 14, 3, 2 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 10, 3, 2 ],
"to": [ 10.001, 9, 7.5 ],
"rotation": { "origin": [ 10, 3, 2 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 2, 3, 10 ],
"to": [ 2.001, 9, 15.5 ],
"rotation": { "origin": [ 2, 3, 10 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 6, 3, 10 ],
"to": [ 6.001, 9, 15.5 ],
"rotation": { "origin": [ 6, 3, 10 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 14, 3, 10 ],
"to": [ 14.001, 9, 15.5 ],
"rotation": { "origin": [ 14, 3, 10 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
},
{
"__comment": "PlaneX5",
"from": [ 10, 3, 10 ],
"to": [ 10.001, 9, 15.5 ],
"rotation": { "origin": [ 10, 3, 10 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" },
"east": { "uv": [ 11, 6, 16, 0 ], "texture": "#rod" }
}
}
]
}

View file

@ -0,0 +1,133 @@
{
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "betterend:block/%texture%_floor",
"texture": "betterend:block/%texture%_floor"
},
"elements": [
{
"__comment": "Box1",
"from": [ 6, 0, 6 ],
"to": [ 10, 1, 10 ],
"shade": false,
"faces": {
"down": { "uv": [ 0, 0, 4, 4 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 4, 4 ], "texture": "#texture" },
"north": { "uv": [ 0, 4, 4, 5 ], "texture": "#texture" },
"south": { "uv": [ 0, 4, 4, 5 ], "texture": "#texture" },
"west": { "uv": [ 0, 4, 4, 5 ], "texture": "#texture" },
"east": { "uv": [ 0, 4, 4, 5 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX3",
"from": [ 2, 1, 2 ],
"to": [ 2.001, 10, 19 ],
"rotation": { "origin": [ 2, 1, 2 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX3",
"from": [ 14, 1, 2 ],
"to": [ 14.001, 10, 19 ],
"rotation": { "origin": [ 14, 1, 2 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 2, 10, 2 ],
"to": [ 2.001, 16, 7.5 ],
"rotation": { "origin": [ 2, 10, 2 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 6, 10, 2 ],
"to": [ 6.001, 16, 7.5 ],
"rotation": { "origin": [ 6, 10, 2 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 10, 10, 2 ],
"to": [ 10.001, 16, 7.5 ],
"rotation": { "origin": [ 10, 10, 2 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 14, 10, 2 ],
"to": [ 14.001, 16, 7.5 ],
"rotation": { "origin": [ 14, 10, 2 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 2, 10, 10 ],
"to": [ 2.001, 16, 15.5 ],
"rotation": { "origin": [ 2, 10, 10 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 6, 10, 10 ],
"to": [ 6.001, 16, 15.5 ],
"rotation": { "origin": [ 6, 10, 10 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 10, 10, 10 ],
"to": [ 10.001, 16, 15.5 ],
"rotation": { "origin": [ 10, 10, 10 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX5",
"from": [ 14, 10, 10 ],
"to": [ 14.001, 16, 15.5 ],
"rotation": { "origin": [ 14, 10, 10 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
}
]
}

View file

@ -0,0 +1,105 @@
{
"__comment": "Designed by Paulevs with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "betterend:block/%texture%_wall",
"texture": "betterend:block/%texture%_wall"
},
"elements": [
{
"__comment": "PlaneZ2",
"from": [ 4, 2, 2 ],
"to": [ 12, 8, 2.001 ],
"shade": false,
"faces": {
"north": { "uv": [ 4, 8, 12, 14 ], "texture": "#texture" },
"south": { "uv": [ 4, 8, 12, 14 ], "texture": "#texture" }
}
},
{
"__comment": "Box3",
"from": [ 7, 3, 0 ],
"to": [ 9, 5, 3 ],
"shade": false,
"faces": {
"down": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"up": { "uv": [ 0, 11, 2, 8 ], "texture": "#texture" },
"north": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" },
"south": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" },
"west": { "uv": [ 0, 11, 2, 8 ], "texture": "#texture", "rotation": 270 },
"east": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture", "rotation": 270 }
}
},
{
"__comment": "Box4",
"from": [ 3, 6, 1 ],
"to": [ 5, 9, 3 ],
"shade": false,
"faces": {
"down": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
"north": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"south": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"west": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"east": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" }
}
},
{
"__comment": "Box4",
"from": [ 11, 6, 1 ],
"to": [ 13, 9, 3 ],
"shade": false,
"faces": {
"down": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
"up": { "uv": [ 0, 12, 2, 14 ], "texture": "#texture" },
"north": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"south": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"west": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" },
"east": { "uv": [ 0, 8, 2, 11 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX6",
"from": [ 2, 9, 0 ],
"to": [ 2.001, 15, 5.5 ],
"rotation": { "origin": [ 2, 9, 0 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX6",
"from": [ 6, 9, 0 ],
"to": [ 6.001, 15, 5.5 ],
"rotation": { "origin": [ 6, 9, 0 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX6",
"from": [ 10, 9, 0 ],
"to": [ 10.001, 15, 5.5 ],
"rotation": { "origin": [ 10, 9, 0 ], "axis": "y", "angle": 45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX6",
"from": [ 14, 9, 0 ],
"to": [ 14.001, 15, 5.5 ],
"rotation": { "origin": [ 14, 9, 0 ], "axis": "y", "angle": -45 },
"shade": false,
"faces": {
"west": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" },
"east": { "uv": [ 11, 0, 16, 6 ], "texture": "#texture" }
}
}
]
}

View file

@ -0,0 +1,10 @@
{
"variants": {
"facing=up": { "model": "betterend:pattern/%block%/%block%_floor" },
"facing=down": { "model": "betterend:pattern/%block%/%block%_ceil" },
"facing=north": { "model": "betterend:pattern/%block%/%block%_wall", "y": 180 },
"facing=south": { "model": "betterend:pattern/%block%/%block%_wall" },
"facing=east": { "model": "betterend:pattern/%block%/%block%_wall", "y": 270 },
"facing=west": { "model": "betterend:pattern/%block%/%block%_wall", "y": 90 }
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 399 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B