[FEAT] Re-Add Jack-o-Lantern Trios
This commit is contained in:
@@ -29,6 +29,11 @@ public class HyperLightingClientConfig extends ModuleConfig {
|
||||
@SubConfig
|
||||
public CandleConfig candleConfig = new CandleConfig();
|
||||
|
||||
@Path("pumpkinTrioConfig")
|
||||
@SpecComment("Pumpkin Trio Configuration")
|
||||
@SubConfig
|
||||
public PumpkinTrioConfig pumpkinTrioConfig = new PumpkinTrioConfig();
|
||||
|
||||
public HyperLightingClientConfig() {
|
||||
super(Constants.MOD_ID, "hyperlighting-client");
|
||||
registerAndSetup(this);
|
||||
@@ -94,4 +99,18 @@ public class HyperLightingClientConfig extends ModuleConfig {
|
||||
@SpecComment("Should Candles emit colored Lighting when SHIMMER is installed")
|
||||
public boolean coloredLighting = true;
|
||||
}
|
||||
|
||||
public static class PumpkinTrioConfig {
|
||||
@Path("litByDefault")
|
||||
@SpecComment("Should Pumpkin Trios be lit by default when placed")
|
||||
public boolean litByDefault = false;
|
||||
|
||||
@Path("requiresTool")
|
||||
@SpecComment("Is the Torch Lighter tool needed to light Pumpkin Trios")
|
||||
public boolean requiresTool = true;
|
||||
|
||||
@Path("coloredLighting")
|
||||
@SpecComment("Should Pumpkin Trios emit colored Lighting when SHIMMER is installed")
|
||||
public boolean coloredLighting = true;
|
||||
}
|
||||
}
|
||||
|
@@ -0,0 +1,73 @@
|
||||
package me.hypherionmc.hyperlighting.common.blocks;
|
||||
|
||||
import me.hypherionmc.craterlib.systems.internal.CreativeTabRegistry;
|
||||
import me.hypherionmc.craterlib.util.BlockStateUtils;
|
||||
import me.hypherionmc.hyperlighting.api.LightableBlock;
|
||||
import me.hypherionmc.hyperlighting.common.init.CommonRegistration;
|
||||
import me.hypherionmc.hyperlighting.common.init.HLItems;
|
||||
import me.hypherionmc.hyperlighting.common.init.HLSounds;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.core.Direction;
|
||||
import net.minecraft.sounds.SoundEvents;
|
||||
import net.minecraft.sounds.SoundSource;
|
||||
import net.minecraft.world.item.BlockItem;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.context.BlockPlaceContext;
|
||||
import net.minecraft.world.level.BlockGetter;
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.SoundType;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.block.state.StateDefinition;
|
||||
import net.minecraft.world.level.block.state.properties.BlockStateProperties;
|
||||
import net.minecraft.world.level.block.state.properties.BooleanProperty;
|
||||
import net.minecraft.world.level.block.state.properties.DirectionProperty;
|
||||
import net.minecraft.world.level.material.Material;
|
||||
import net.minecraft.world.phys.shapes.CollisionContext;
|
||||
import net.minecraft.world.phys.shapes.VoxelShape;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class PumpkinTrioBlock extends Block implements LightableBlock {
|
||||
|
||||
public static final BooleanProperty LIT = BlockStateProperties.LIT;
|
||||
public static final DirectionProperty FACING = BlockStateProperties.HORIZONTAL_FACING;
|
||||
private static final VoxelShape BOUNDING_BOX = Block.box(0, 0, 0, 16, 0.256, 16);
|
||||
|
||||
public PumpkinTrioBlock(String name) {
|
||||
super(Properties.of(Material.VEGETABLE).sound(SoundType.LILY_PAD).lightLevel(BlockStateUtils.createLightLevelFromLitBlockState(10)));
|
||||
this.registerDefaultState(this.defaultBlockState().setValue(LIT, CommonRegistration.config.pumpkinTrioConfig.litByDefault).setValue(FACING, Direction.NORTH));
|
||||
|
||||
CreativeTabRegistry.setCreativeTab(CommonRegistration.LIGHTS_TAB, HLItems.register(name, () -> new BlockItem(this, new Item.Properties())));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toggleLight(Level worldIn, BlockState state, BlockPos pos) {
|
||||
state = state.setValue(LIT, !state.getValue(LIT));
|
||||
worldIn.setBlock(pos, state, 2);
|
||||
if (!state.getValue(LIT)) {
|
||||
worldIn.playSound(null, pos, SoundEvents.FIRE_EXTINGUISH, SoundSource.BLOCKS, 0.3f, 1.0f);
|
||||
} else {
|
||||
worldIn.playSound(null, pos, HLSounds.TORCH_IGNITE.get(), SoundSource.BLOCKS, 0.3f, 1.0f);
|
||||
}
|
||||
worldIn.blockUpdated(pos, this);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> builder) {
|
||||
builder.add(FACING, LIT);
|
||||
super.createBlockStateDefinition(builder);
|
||||
}
|
||||
|
||||
@Override
|
||||
public VoxelShape getShape(BlockState state, BlockGetter worldIn, BlockPos pos, CollisionContext context) {
|
||||
return BOUNDING_BOX;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public BlockState getStateForPlacement(BlockPlaceContext context) {
|
||||
Direction face = context.getPlayer().getDirection();
|
||||
return this.defaultBlockState().setValue(FACING, face).setValue(LIT, CommonRegistration.config.pumpkinTrioConfig.litByDefault);
|
||||
}
|
||||
}
|
@@ -32,7 +32,8 @@ public class HLBlocks {
|
||||
|
||||
/* Other */
|
||||
public static BlockRegistryObject<Block> BATTERY_NEON = register("battery_neon", () -> new BatteryNeon("battery_neon"));
|
||||
|
||||
public static BlockRegistryObject<Block> PUMPKIN_TRIO = register("pumpkin_trio", () -> new PumpkinTrioBlock("pumpkin_trio"));
|
||||
public static BlockRegistryObject<Block> PUMPKIN_TRIO_INVERTED = register("pumpkin_trio_inverted", () -> new PumpkinTrioBlock("pumpkin_trio_inverted"));
|
||||
|
||||
public static void loadAll() {}
|
||||
|
||||
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio", "y": 180 },
|
||||
"facing=south,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio" },
|
||||
"facing=east,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio", "y": 270 },
|
||||
"facing=west,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio", "y": 90 },
|
||||
"facing=north,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio", "y": 180 },
|
||||
"facing=south,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio" },
|
||||
"facing=east,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio", "y": 270 },
|
||||
"facing=west,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio", "y": 90 }
|
||||
}
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"variants": {
|
||||
"facing=north,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio_inverted", "y": 180 },
|
||||
"facing=south,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio_inverted" },
|
||||
"facing=east,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio_inverted", "y": 270 },
|
||||
"facing=west,lit=true": { "model": "hyperlighting:block/jack_o_lantern_trio_inverted", "y": 90 },
|
||||
"facing=north,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio_inverted", "y": 180 },
|
||||
"facing=south,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio_inverted" },
|
||||
"facing=east,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio_inverted", "y": 270 },
|
||||
"facing=west,lit=false": { "model": "hyperlighting:block/carved_pumpkin_trio_inverted", "y": 90 }
|
||||
}
|
||||
}
|
@@ -5,6 +5,8 @@
|
||||
"block.hyperlighting.advanced_campfire": "Advanced Campfire (%s)",
|
||||
"block.hyperlighting.solar_panel": "Solar Panel",
|
||||
"block.hyperlighting.battery_neon": "Battery Fluorescent Light",
|
||||
"block.hyperlighting.pumpkin_trio": "Jack-o'-Lantern Trio",
|
||||
"block.hyperlighting.pumpkin_trio_inverted": "Jack-o'-Lantern Trio (Inverted)",
|
||||
|
||||
"item.hyperlighting.lighter_tool": "Torch Lighter Tool",
|
||||
"item.hyperlighting.wireless_battery": "Wireless Battery",
|
||||
|
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "minecraft:block/oak_planks",
|
||||
"2": "hyperlighting:block/small_carved_pumpkin",
|
||||
"3": "minecraft:block/hay_block_top",
|
||||
"particle": "minecraft:block/hay_block_top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Left Pumpkin",
|
||||
"from": [8, 1, 2],
|
||||
"to": [14, 7, 8],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Right Pumpkin",
|
||||
"from": [2, 1, 6],
|
||||
"to": [8, 7, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [5, 0, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Top Pumpkin",
|
||||
"from": [7, 7, 7],
|
||||
"to": [13, 13, 13],
|
||||
"rotation": {"angle": 22.5, "axis": "y", "origin": [10, 6, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [0, 6, 6, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stand",
|
||||
"from": [9, 1, 10],
|
||||
"to": [12, 7, 13],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [13, 3, 16, 9], "texture": "#1"},
|
||||
"east": {"uv": [4, 3, 7, 9], "texture": "#1"},
|
||||
"south": {"uv": [10, 3, 13, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 3, 3, 9], "texture": "#1"},
|
||||
"up": {"uv": [0, 0, 3, 3], "texture": "#1"},
|
||||
"down": {"uv": [0, 0, 3, 3], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Straw",
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"east": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"south": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"west": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#3"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [75, 45, 0],
|
||||
"translation": [0, 2.5, 0],
|
||||
"scale": [0.375, 0.375, 0.375]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [75, 45, 0],
|
||||
"translation": [0, 2.5, 0],
|
||||
"scale": [0.375, 0.375, 0.375]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, 45, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, 225, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 3, 0],
|
||||
"scale": [0.25, 0.25, 0.25]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 180, 0]
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "minecraft:block/oak_planks",
|
||||
"2": "hyperlighting:block/small_carved_pumpkin",
|
||||
"3": "minecraft:block/hay_block_top",
|
||||
"particle": "block/hay_block_top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Left Pumpkin",
|
||||
"from": [8, 1, 2],
|
||||
"to": [14, 7, 8],
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [5, 0, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Right Pumpkin",
|
||||
"from": [2, 1, 6],
|
||||
"to": [8, 7, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Top Pumpkin",
|
||||
"from": [7, 7, 7],
|
||||
"to": [13, 13, 13],
|
||||
"rotation": {"angle": -22.5, "axis": "y", "origin": [10, 6, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [0, 6, 6, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stand",
|
||||
"from": [9, 1, 10],
|
||||
"to": [12, 7, 13],
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [9, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [13, 3, 16, 9], "texture": "#1"},
|
||||
"east": {"uv": [4, 3, 7, 9], "texture": "#1"},
|
||||
"south": {"uv": [10, 3, 13, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 3, 3, 9], "texture": "#1"},
|
||||
"up": {"uv": [0, 0, 3, 3], "texture": "#1"},
|
||||
"down": {"uv": [0, 0, 3, 3], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Straw",
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"east": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"south": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"west": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#3"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [75, 45, 0],
|
||||
"translation": [0, 2.5, 0],
|
||||
"scale": [0.375, 0.375, 0.375]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [75, 45, 0],
|
||||
"translation": [0, 2.5, 0],
|
||||
"scale": [0.375, 0.375, 0.375]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, 45, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, 225, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 3, 0],
|
||||
"scale": [0.25, 0.25, 0.25]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 180, 0]
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "minecraft:block/oak_planks",
|
||||
"2": "hyperlighting:block/small_jack_o_lantern",
|
||||
"3": "minecraft:block/hay_block_top",
|
||||
"particle": "minecraft:block/hay_block_top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Left Pumpkin",
|
||||
"from": [8, 1, 2],
|
||||
"to": [14, 7, 8],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Right Pumpkin",
|
||||
"from": [2, 1, 6],
|
||||
"to": [8, 7, 12],
|
||||
"rotation": {"angle": 45, "axis": "y", "origin": [5, 0, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Top Pumpkin",
|
||||
"from": [7, 7, 7],
|
||||
"to": [13, 13, 13],
|
||||
"rotation": {"angle": 22.5, "axis": "y", "origin": [10, 6, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [0, 6, 6, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stand",
|
||||
"from": [9, 1, 10],
|
||||
"to": [12, 7, 13],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [9, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [13, 3, 16, 9], "texture": "#1"},
|
||||
"east": {"uv": [4, 3, 7, 9], "texture": "#1"},
|
||||
"south": {"uv": [10, 3, 13, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 3, 3, 9], "texture": "#1"},
|
||||
"up": {"uv": [0, 0, 3, 3], "texture": "#1"},
|
||||
"down": {"uv": [0, 0, 3, 3], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Straw",
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"east": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"south": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"west": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#3"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [
|
||||
75,
|
||||
45,
|
||||
0
|
||||
],
|
||||
"translation": [
|
||||
0,
|
||||
2.5,
|
||||
0
|
||||
],
|
||||
"scale": [
|
||||
0.375,
|
||||
0.375,
|
||||
0.375
|
||||
]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [
|
||||
75,
|
||||
45,
|
||||
0
|
||||
],
|
||||
"translation": [
|
||||
0,
|
||||
2.5,
|
||||
0
|
||||
],
|
||||
"scale": [
|
||||
0.375,
|
||||
0.375,
|
||||
0.375
|
||||
]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [
|
||||
0,
|
||||
45,
|
||||
0
|
||||
],
|
||||
"scale": [
|
||||
0.4,
|
||||
0.4,
|
||||
0.4
|
||||
]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [
|
||||
0,
|
||||
225,
|
||||
0
|
||||
],
|
||||
"scale": [
|
||||
0.4,
|
||||
0.4,
|
||||
0.4
|
||||
]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [
|
||||
0,
|
||||
3,
|
||||
0
|
||||
],
|
||||
"scale": [
|
||||
0.25,
|
||||
0.25,
|
||||
0.25
|
||||
]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [
|
||||
0,
|
||||
180,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "minecraft:block/oak_planks",
|
||||
"2": "hyperlighting:block/small_jack_o_lantern",
|
||||
"3": "minecraft:block/hay_block_top",
|
||||
"particle": "minecraft:block/hay_block_top"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Left Pumpkin",
|
||||
"from": [8, 1, 2],
|
||||
"to": [14, 7, 8],
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [5, 0, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Right Pumpkin",
|
||||
"from": [2, 1, 6],
|
||||
"to": [8, 7, 12],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [5, 0, 9]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [6, 6, 12, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Top Pumpkin",
|
||||
"from": [7, 7, 7],
|
||||
"to": [13, 13, 13],
|
||||
"rotation": {"angle": -22.5, "axis": "y", "origin": [10, 6, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 6], "texture": "#2"},
|
||||
"east": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"south": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"west": {"uv": [6, 0, 12, 6], "texture": "#2"},
|
||||
"up": {"uv": [0, 6, 6, 12], "texture": "#2"},
|
||||
"down": {"uv": [0, 6, 6, 12], "texture": "#2"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Stand",
|
||||
"from": [9, 1, 10],
|
||||
"to": [12, 7, 13],
|
||||
"rotation": {"angle": -45, "axis": "y", "origin": [9, 0, 10]},
|
||||
"faces": {
|
||||
"north": {"uv": [13, 3, 16, 9], "texture": "#1"},
|
||||
"east": {"uv": [4, 3, 7, 9], "texture": "#1"},
|
||||
"south": {"uv": [10, 3, 13, 9], "texture": "#1"},
|
||||
"west": {"uv": [0, 3, 3, 9], "texture": "#1"},
|
||||
"up": {"uv": [0, 0, 3, 3], "texture": "#1"},
|
||||
"down": {"uv": [0, 0, 3, 3], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Straw",
|
||||
"from": [0, 0, 0],
|
||||
"to": [16, 1, 16],
|
||||
"faces": {
|
||||
"north": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"east": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"south": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"west": {"uv": [0, 15, 16, 16], "texture": "#3"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
|
||||
"down": {"uv": [0, 0, 16, 16], "texture": "#3"}
|
||||
}
|
||||
}
|
||||
],
|
||||
"display": {
|
||||
"thirdperson_righthand": {
|
||||
"rotation": [75, 45, 0],
|
||||
"translation": [0, 2.5, 0],
|
||||
"scale": [0.375, 0.375, 0.375]
|
||||
},
|
||||
"thirdperson_lefthand": {
|
||||
"rotation": [75, 45, 0],
|
||||
"translation": [0, 2.5, 0],
|
||||
"scale": [0.375, 0.375, 0.375]
|
||||
},
|
||||
"firstperson_righthand": {
|
||||
"rotation": [0, 45, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"firstperson_lefthand": {
|
||||
"rotation": [0, 225, 0],
|
||||
"scale": [0.4, 0.4, 0.4]
|
||||
},
|
||||
"ground": {
|
||||
"translation": [0, 3, 0],
|
||||
"scale": [0.25, 0.25, 0.25]
|
||||
},
|
||||
"gui": {
|
||||
"rotation": [0, 180, 0]
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "hyperlighting:block/jack_o_lantern_trio"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "hyperlighting:block/jack_o_lantern_trio_inverted"
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 877 B |
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Reference in New Issue
Block a user