Compare commits

...

2 Commits

Author SHA1 Message Date
2ca55f3b48 Implement Vertical Slabs
Still have some bugs such as waterlogging not working and not all 1.17 blocks have been added
2021-11-08 20:19:43 -05:00
c1e1065c3b Fixed OreGen and Enchanted Apples not Glowing 2021-11-08 19:16:21 -05:00
212 changed files with 2350 additions and 14 deletions

View File

@ -1,5 +1,5 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx2G
#org.gradle.jvmargs=-Xmx2G
# Fabric Properties
# check these on https://fabricmc.net/versions.html
@ -8,7 +8,7 @@ yarn_mappings=1.17.1+build.63
loader_version=0.11.7
# Mod Properties
mod_version = 1.0.0
mod_version = 0.2.0
maven_group = tech.nevets
archives_base_name = vplus

View File

@ -6,6 +6,7 @@ import tech.nevets.vplus.blocks.VPBlocks;
import tech.nevets.vplus.food.VPFood;
import tech.nevets.vplus.items.VPItems;
import tech.nevets.vplus.misc.VPFuels;
import tech.nevets.vplus.misc.VPOreGen;
import tech.nevets.vplus.misc.VPZoom;
import tech.nevets.vplus.tools.VPTools;
@ -18,6 +19,7 @@ public class Main implements ModInitializer {
VPFood.vpFood();
VPTools.vpTools();
VPArmor.vpArmor();
VPOreGen.vpOres();
VPFuels.vpFuels();
VPZoom.vpZoom();
}

View File

@ -6,6 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.sound.BlockSoundGroup;
//TODO Change platinum to saphire
public class PlatinumBlock extends Block {
public PlatinumBlock() {
super(FabricBlockSettings.of(Material.STONE).breakByHand(false).breakByTool(FabricToolTags.PICKAXES).sounds(BlockSoundGroup.METAL).strength(30, 1000f));

View File

@ -22,6 +22,7 @@ public class VPBlocks {
initializeBlocks();
initializeBlockItems();
initializeTorches();
VPVerticalSlabs.vpVerticalSlabs();
}
public static void initializeBlocks() {

View File

@ -0,0 +1,180 @@
package tech.nevets.vplus.blocks;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags;
import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
import tech.nevets.vplus.items.VPItemGroups;
public class VPVerticalSlabs {
//TODO add new 1.17 blocks
public static final Block VERTICAL_OAK_SLAB;
public static final Block VERTICAL_SPRUCE_SLAB;
public static final Block VERTICAL_BIRCH_SLAB;
public static final Block VERTICAL_JUNGLE_SLAB;
public static final Block VERTICAL_ACACIA_SLAB;
public static final Block VERTICAL_DARK_OAK_SLAB;
public static final Block VERTICAL_CRIMSON_SLAB;
public static final Block VERTICAL_WARPED_SLAB;
public static final Block VERTICAL_STONE_SLAB;
public static final Block VERTICAL_SMOOTH_STONE_SLAB;
public static final Block VERTICAL_SANDSTONE_SLAB;
public static final Block VERTICAL_CUT_SANDSTONE_SLAB;
public static final Block VERTICAL_COBBLESTONE_SLAB;
public static final Block VERTICAL_BRICK_SLAB;
public static final Block VERTICAL_STONE_BRICK_SLAB;
public static final Block VERTICAL_NETHER_BRICK_SLAB;
public static final Block VERTICAL_QUARTZ_SLAB;
public static final Block VERTICAL_RED_SANDSTONE_SLAB;
public static final Block VERTICAL_CUT_RED_SANDSTONE_SLAB;
public static final Block VERTICAL_PURPUR_SLAB;
public static final Block VERTICAL_PRISMARINE_SLAB;
public static final Block VERTICAL_PRISMARINE_BRICK_SLAB;
public static final Block VERTICAL_DARK_PRISMARINE_SLAB;
public static final Block VERTICAL_POLISHED_GRANITE_SLAB;
public static final Block VERTICAL_SMOOTH_RED_SANDSTONE_SLAB;
public static final Block VERTICAL_MOSSY_STONE_BRICK_SLAB;
public static final Block VERTICAL_POLISHED_DIORITE_SLAB;
public static final Block VERTICAL_MOSSY_COBBLESTONE_SLAB;
public static final Block VERTICAL_END_STONE_BRICK_SLAB;
public static final Block VERTICAL_SMOOTH_SANDSTONE_SLAB;
public static final Block VERTICAL_SMOOTH_QUARTZ_SLAB;
public static final Block VERTICAL_GRANITE_SLAB;
public static final Block VERTICAL_ANDESITE_SLAB;
public static final Block VERTICAL_RED_NETHER_BRICK_SLAB;
public static final Block VERTICAL_POLISHED_ANDESITE_SLAB;
public static final Block VERTICAL_DIORITE_SLAB;
public static final Block VERTICAL_BLACKSTONE_SLAB;
public static final Block VERTICAL_POLISHED_BLACKSTONE_SLAB;
public static final Block VERTICAL_POLISHED_BLACKSTONE_BRICK_SLAB;
public static void vpVerticalSlabs() {
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_oak_slab"), VERTICAL_OAK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_oak_slab"), new BlockItem(VERTICAL_OAK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_spruce_slab"), VERTICAL_SPRUCE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_spruce_slab"), new BlockItem(VERTICAL_SPRUCE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_birch_slab"), VERTICAL_BIRCH_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_birch_slab"), new BlockItem(VERTICAL_BIRCH_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_jungle_slab"), VERTICAL_JUNGLE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_jungle_slab"), new BlockItem(VERTICAL_JUNGLE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_acacia_slab"), VERTICAL_ACACIA_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_acacia_slab"), new BlockItem(VERTICAL_ACACIA_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_dark_oak_slab"), VERTICAL_DARK_OAK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_dark_oak_slab"), new BlockItem(VERTICAL_DARK_OAK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_crimson_slab"), VERTICAL_CRIMSON_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_crimson_slab"), new BlockItem(VERTICAL_CRIMSON_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_warped_slab"), VERTICAL_WARPED_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_warped_slab"), new BlockItem(VERTICAL_WARPED_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_stone_slab"), VERTICAL_STONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_stone_slab"), new BlockItem(VERTICAL_STONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_smooth_stone_slab"), VERTICAL_SMOOTH_STONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_smooth_stone_slab"), new BlockItem(VERTICAL_SMOOTH_STONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_sandstone_slab"), VERTICAL_SANDSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_sandstone_slab"), new BlockItem(VERTICAL_SANDSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_cut_sandstone_slab"), VERTICAL_CUT_SANDSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_cut_sandstone_slab"), new BlockItem(VERTICAL_CUT_SANDSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_cobblestone_slab"), VERTICAL_COBBLESTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_cobblestone_slab"), new BlockItem(VERTICAL_COBBLESTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_brick_slab"), VERTICAL_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_brick_slab"), new BlockItem(VERTICAL_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_stone_brick_slab"), VERTICAL_STONE_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_stone_brick_slab"), new BlockItem(VERTICAL_STONE_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_nether_brick_slab"), VERTICAL_NETHER_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_nether_brick_slab"), new BlockItem(VERTICAL_NETHER_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_quartz_slab"), VERTICAL_QUARTZ_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_quartz_slab"), new BlockItem(VERTICAL_QUARTZ_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_red_sandstone_slab"), VERTICAL_RED_SANDSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_red_sandstone_slab"), new BlockItem(VERTICAL_RED_SANDSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_cut_red_sandstone_slab"), VERTICAL_CUT_RED_SANDSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_cut_red_sandstone_slab"), new BlockItem(VERTICAL_CUT_RED_SANDSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_purpur_slab"), VERTICAL_PURPUR_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_purpur_slab"), new BlockItem(VERTICAL_PURPUR_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_prismarine_slab"), VERTICAL_PRISMARINE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_prismarine_slab"), new BlockItem(VERTICAL_PRISMARINE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_prismarine_brick_slab"), VERTICAL_PRISMARINE_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_prismarine_brick_slab"), new BlockItem(VERTICAL_PRISMARINE_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_dark_prismarine_slab"), VERTICAL_DARK_PRISMARINE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_dark_prismarine_slab"), new BlockItem(VERTICAL_DARK_PRISMARINE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_polished_granite_slab"), VERTICAL_POLISHED_GRANITE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_polished_granite_slab"), new BlockItem(VERTICAL_POLISHED_GRANITE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_smooth_red_sandstone_slab"), VERTICAL_SMOOTH_RED_SANDSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_smooth_red_sandstone_slab"), new BlockItem(VERTICAL_SMOOTH_RED_SANDSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_mossy_stone_brick_slab"), VERTICAL_MOSSY_STONE_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_mossy_stone_brick_slab"), new BlockItem(VERTICAL_MOSSY_STONE_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_polished_diorite_slab"), VERTICAL_POLISHED_DIORITE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_polished_diorite_slab"), new BlockItem(VERTICAL_POLISHED_DIORITE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_mossy_cobblestone_slab"), VERTICAL_MOSSY_COBBLESTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_mossy_cobblestone_slab"), new BlockItem(VERTICAL_MOSSY_COBBLESTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_end_stone_brick_slab"), VERTICAL_END_STONE_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_end_stone_brick_slab"), new BlockItem(VERTICAL_END_STONE_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_smooth_sandstone_slab"), VERTICAL_SMOOTH_SANDSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_smooth_sandstone_slab"), new BlockItem(VERTICAL_SMOOTH_SANDSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_smooth_quartz_slab"), VERTICAL_SMOOTH_QUARTZ_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_smooth_quartz_slab"), new BlockItem(VERTICAL_SMOOTH_QUARTZ_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_granite_slab"), VERTICAL_GRANITE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_granite_slab"), new BlockItem(VERTICAL_GRANITE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_andesite_slab"), VERTICAL_ANDESITE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_andesite_slab"), new BlockItem(VERTICAL_ANDESITE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_red_nether_brick_slab"), VERTICAL_RED_NETHER_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_red_nether_brick_slab"), new BlockItem(VERTICAL_RED_NETHER_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_polished_andesite_slab"), VERTICAL_POLISHED_ANDESITE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_polished_andesite_slab"), new BlockItem(VERTICAL_POLISHED_ANDESITE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_diorite_slab"), VERTICAL_DIORITE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_diorite_slab"), new BlockItem(VERTICAL_DIORITE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_blackstone_slab"), VERTICAL_BLACKSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_blackstone_slab"), new BlockItem(VERTICAL_BLACKSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_polished_blackstone_slab"), VERTICAL_POLISHED_BLACKSTONE_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_polished_blackstone_slab"), new BlockItem(VERTICAL_POLISHED_BLACKSTONE_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
Registry.register(Registry.BLOCK, new Identifier("vplus","vertical_polished_blackstone_brick_slab"), VERTICAL_POLISHED_BLACKSTONE_BRICK_SLAB);
Registry.register(Registry.ITEM, new Identifier("vplus","vertical_polished_blackstone_brick_slab"), new BlockItem(VERTICAL_POLISHED_BLACKSTONE_BRICK_SLAB, new Item.Settings().group(VPItemGroups.VERTICAL_SLABS)));
}
static {
VERTICAL_OAK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_SPRUCE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_BIRCH_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_JUNGLE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_ACACIA_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_DARK_OAK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_CRIMSON_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_WARPED_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F).breakByTool(FabricToolTags.AXES));
VERTICAL_STONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_SMOOTH_STONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_CUT_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_COBBLESTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_STONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_NETHER_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_QUARTZ_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_RED_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_CUT_RED_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_PURPUR_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_PRISMARINE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_PRISMARINE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_DARK_PRISMARINE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_POLISHED_GRANITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_SMOOTH_RED_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_MOSSY_STONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_POLISHED_DIORITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_MOSSY_COBBLESTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_END_STONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_SMOOTH_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_SMOOTH_QUARTZ_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_GRANITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_ANDESITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_RED_NETHER_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_POLISHED_ANDESITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_DIORITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_BLACKSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_POLISHED_BLACKSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
VERTICAL_POLISHED_BLACKSTONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F).breakByHand(false).breakByTool(FabricToolTags.PICKAXES));
}
}

View File

@ -0,0 +1,86 @@
package tech.nevets.vplus.blocks;
import net.minecraft.block.*;
import net.minecraft.fluid.FluidState;
import net.minecraft.fluid.Fluids;
import net.minecraft.item.ItemPlacementContext;
import net.minecraft.state.StateManager;
import net.minecraft.state.property.BooleanProperty;
import net.minecraft.state.property.Properties;
import net.minecraft.tag.FluidTags;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.util.shape.VoxelShape;
import net.minecraft.util.shape.VoxelShapes;
import net.minecraft.world.BlockView;
public class VerticalSlabs extends HorizontalFacingBlock {
private static final VoxelShape NORTH_SHAPE;
private static final VoxelShape EAST_SHAPE;
private static final VoxelShape SOUTH_SHAPE;
private static final VoxelShape WEST_SHAPE;
public static final BooleanProperty WATERLOGGED = Properties.WATERLOGGED;
public VerticalSlabs(Settings settings){
super(settings);
this.setDefaultState(this.stateManager.getDefaultState().with(WATERLOGGED, true).with(FACING, Direction.NORTH));
}
//TODO Fix Waterlogging
@Override
public FluidState getFluidState(BlockState blockState_1) {
return (Boolean)blockState_1.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(blockState_1);
}
@Override
public BlockRenderType getRenderType(BlockState blockState_1) {
return BlockRenderType.MODEL;
}
@Override
public BlockState getPlacementState(ItemPlacementContext itemPlacementContext) {
FluidState fluidState = itemPlacementContext.getWorld().getFluidState(itemPlacementContext.getBlockPos());
boolean waterLog = fluidState.isIn(FluidTags.WATER) && fluidState.getLevel() == 8;
return super.getPlacementState(itemPlacementContext).with(WATERLOGGED, waterLog)
.with(FACING, itemPlacementContext.getPlayerFacing().getOpposite());
}
@Override
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
builder.add(WATERLOGGED, FACING);
}
@Override
public VoxelShape getOutlineShape(BlockState state, BlockView view, BlockPos pos, ShapeContext context) {
switch(state.get(FACING)) {
case NORTH: return NORTH_SHAPE;
case EAST: return EAST_SHAPE;
case SOUTH: return SOUTH_SHAPE;
case WEST: return WEST_SHAPE;
default: return super.getOutlineShape(state, view, pos, context);
}
}
static {
VoxelShape shape = createCuboidShape(0.0D, 0.0D, 0.0D, 8.0D, 16.0D, 16.0D);
EAST_SHAPE = shape;
NORTH_SHAPE = rotate(Direction.EAST, Direction.NORTH, shape);
SOUTH_SHAPE = rotate(Direction.EAST, Direction.SOUTH, shape);
WEST_SHAPE = rotate(Direction.EAST, Direction.WEST, shape);
}
private static VoxelShape rotate(Direction from, Direction to, VoxelShape shape) {
VoxelShape[] buffer = new VoxelShape[]{ shape, VoxelShapes.empty() };
int times = (to.getHorizontal() - from.getHorizontal() + 4) % 4;
for (int i = 0; i < times; i++) {
buffer[0].forEachBox((minX, minY, minZ, maxX, maxY, maxZ) -> buffer[1] = VoxelShapes.union(buffer[1], VoxelShapes.cuboid(1-maxZ, minY, minX, 1-minZ, maxY, maxX)));
buffer[0] = buffer[1];
buffer[1] = VoxelShapes.empty();
}
return buffer[0];
}
}

View File

@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import tech.nevets.vplus.items.VPItemGroups;
public class EnchantedDiamondApple extends Item {
public EnchantedDiamondApple() {
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(8).saturationModifier(14).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 4),1f).build()));
}
public boolean hasGlint(ItemStack stack) {
return true;
}
}

View File

@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import tech.nevets.vplus.items.VPItemGroups;
public class EnchantedEmeraldApple extends Item {
public EnchantedEmeraldApple() {
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(12).saturationModifier(16).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 6),1f).build()));
}
public boolean hasGlint(ItemStack stack) {
return true;
}
}

View File

@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import tech.nevets.vplus.items.VPItemGroups;
public class EnchantedIronApple extends Item {
public EnchantedIronApple() {
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(6).saturationModifier(10).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 2),1f).build()));
}
public boolean hasGlint(ItemStack stack) {
return true;
}
}

View File

@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import tech.nevets.vplus.items.VPItemGroups;
public class EnchantedNetheriteApple extends Item {
public EnchantedNetheriteApple() {
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(14).saturationModifier(18).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 8),1f).build()));
}
public boolean hasGlint(ItemStack stack) {
return true;
}
}

View File

@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import tech.nevets.vplus.items.VPItemGroups;
public class EnchantedPlatinumApple extends Item {
public EnchantedPlatinumApple() {
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(16).saturationModifier(20).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 10),1f).build()));
}
public boolean hasGlint(ItemStack stack) {
return true;
}
}

View File

@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import tech.nevets.vplus.items.VPItemGroups;
public class EnchantedRubyApple extends Item {
public EnchantedRubyApple() {
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(18).saturationModifier(22).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 12),1f).build()));
}
public boolean hasGlint(ItemStack stack) {
return true;
}
}

View File

@ -27,5 +27,9 @@ public class VPItemGroups {
//Food Tab
public static final ItemGroup FOOD = FabricItemGroupBuilder.build(
new Identifier("vplus", "food"),
() -> new ItemStack((Items.ENCHANTED_GOLDEN_APPLE)));
() -> new ItemStack(Items.ENCHANTED_GOLDEN_APPLE));
//Vertical Slabs Tab
public static final ItemGroup VERTICAL_SLABS = FabricItemGroupBuilder.build(
new Identifier("vplus", "vert_slabs"),
() -> new ItemStack(Items.BRICK_SLAB));
}

View File

@ -1,23 +1,30 @@
package tech.nevets.vplus.misc;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.util.registry.Registry;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.YOffset;
import net.minecraft.world.gen.decorator.Decorator;
import net.minecraft.world.gen.decorator.RangeDecoratorConfig;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import net.minecraft.world.gen.feature.Feature;
import net.minecraft.world.gen.feature.OreFeatureConfig;
import net.minecraft.world.gen.heightprovider.UniformHeightProvider;
import tech.nevets.vplus.blocks.VPBlocks;
public class VPOreGen {
/*
private static ConfiguredFeature<?, ?> ORE_PLATINUM_OVERWORLD = Feature.ORE
.configure(new OreFeatureConfig(
OreFeatureConfig.Rules.BASE_STONE_OVERWORLD,
VPBlocks.PLATINUMORE.getDefaultState(),
3)) // vein size
.decorate(Decorator.RANGE.configure(new RangeDecoratorConfig(
0, // bottom offset
0, // min y level
15))) // max y level
.range(new RangeDecoratorConfig(
UniformHeightProvider.create(YOffset.aboveBottom(0), YOffset.fixed(15))))
.spreadHorizontally()
.repeat(2); // number of veins per chunk
@ -26,12 +33,20 @@ public class VPOreGen {
OreFeatureConfig.Rules.BASE_STONE_OVERWORLD,
VPBlocks.RUBYORE.getDefaultState(),
1)) // vein size
.decorate(Decorator.RANGE.configure(new RangeDecoratorConfig(
0, // bottom offset
0, // min y level
256))) // max y level
.range(new RangeDecoratorConfig(
UniformHeightProvider.create(YOffset.aboveBottom(0), YOffset.fixed(256))))
.spreadHorizontally()
.repeat(8); // number of veins per chunk
*/
public static void vpOres() {
RegistryKey<ConfiguredFeature<?, ?>> platinumOreOverworld = RegistryKey.of(Registry.CONFIGURED_FEATURE_KEY,
new Identifier("vplus", "platinum_ore"));
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, platinumOreOverworld.getValue(), ORE_PLATINUM_OVERWORLD);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, platinumOreOverworld);
RegistryKey<ConfiguredFeature<?, ?>> rubyOreOverworld = RegistryKey.of(Registry.CONFIGURED_FEATURE_KEY,
new Identifier("vplus", "ruby_ore"));
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, rubyOreOverworld.getValue(), ORE_RUBY_OVERWORLD);
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, rubyOreOverworld);
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/acacia_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/acacia_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/acacia_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/acacia_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/andesite_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/andesite_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/andesite_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/andesite_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/birch_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/birch_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/birch_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/birch_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/blackstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/blackstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/blackstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/blackstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/cobblestone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/cobblestone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/cobblestone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/cobblestone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/crimson_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/crimson_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/crimson_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/crimson_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/cut_red_sandstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/cut_red_sandstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/cut_red_sandstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/cut_red_sandstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/cut_sandstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/cut_sandstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/cut_sandstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/cut_sandstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/dark_oak_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/dark_oak_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/dark_oak_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/dark_oak_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/dark_prismarine_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/dark_prismarine_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/dark_prismarine_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/dark_prismarine_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/diorite_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/diorite_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/diorite_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/diorite_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/end_stone_brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/end_stone_brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/end_stone_brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/end_stone_brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/granite_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/granite_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/granite_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/granite_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/jungle_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/jungle_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/jungle_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/jungle_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/mossy_cobblestone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/mossy_cobblestone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/mossy_cobblestone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/mossy_cobblestone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/mossy_stone_brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/mossy_stone_brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/mossy_stone_brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/mossy_stone_brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/nether_brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/nether_brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/nether_brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/nether_brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/oak_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/oak_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/oak_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/oak_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/polished_andesite_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/polished_andesite_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/polished_andesite_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/polished_andesite_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/polished_blackstone_brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/polished_blackstone_brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/polished_blackstone_brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/polished_blackstone_brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/polished_blackstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/polished_blackstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/polished_blackstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/polished_blackstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/polished_diorite_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/polished_diorite_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/polished_diorite_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/polished_diorite_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/polished_granite_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/polished_granite_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/polished_granite_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/polished_granite_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/prismarine_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/prismarine_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/prismarine_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/prismarine_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/prismarine_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/prismarine_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/prismarine_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/prismarine_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/purpur_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/purpur_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/purpur_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/purpur_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/quartz_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/quartz_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/quartz_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/quartz_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/red_nether_brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/red_nether_brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/red_nether_brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/red_nether_brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/red_sandstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/red_sandstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/red_sandstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/red_sandstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/sandstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/sandstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/sandstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/sandstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/smooth_quartz_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/smooth_quartz_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/smooth_quartz_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/smooth_quartz_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/smooth_red_sandstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/smooth_red_sandstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/smooth_red_sandstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/smooth_red_sandstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/smooth_sandstone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/smooth_sandstone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/smooth_sandstone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/smooth_sandstone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/smooth_stone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/smooth_stone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/smooth_stone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/smooth_stone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/spruce_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/spruce_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/spruce_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/spruce_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/stone_brick_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/stone_brick_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/stone_brick_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/stone_brick_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/stone_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/stone_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/stone_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/stone_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -0,0 +1,8 @@
{
"variants": {
"facing=north": { "model": "block/warped_slab", "x": 90, "uvlock": true },
"facing=east": { "model": "block/warped_slab", "x": 90, "y": 90, "uvlock": true },
"facing=south": { "model": "block/warped_slab", "x": 90, "y": 180, "uvlock": true },
"facing=west": { "model": "block/warped_slab", "x": 90, "y": 270, "uvlock": true }
}
}

View File

@ -6,6 +6,7 @@
"itemGroup.vplus.combat": "Combat",
"itemGroup.vplus.tools": "Tools",
"itemGroup.vplus.food": "Food",
"itemGroup.vplus.vert_slabs": "Vertical Slabs",
"block.vplus.lava_sponge": "Lava Sponge",
"block.vplus.saturated_lava_sponge": "Saturated Lava Sponge",
@ -59,5 +60,45 @@
"item.vplus.platinum_apple": "Platinum Apple",
"item.vplus.enchanted_platinum_apple": "Enchanted Platinum Apple",
"item.vplus.ruby_apple": "Ruby Apple",
"item.vplus.enchanted_ruby_apple": "Enchanted Ruby Apple"
"item.vplus.enchanted_ruby_apple": "Enchanted Ruby Apple",
"block.vplus.vertical_oak_slab":"Vertical Oak Slab",
"block.vplus.vertical_spruce_slab":"Vertical Spruce Slab",
"block.vplus.vertical_birch_slab":"Vertical Birch Slab",
"block.vplus.vertical_jungle_slab":"Vertical Jungle Slab",
"block.vplus.vertical_acacia_slab":"Vertical Acacia Slab",
"block.vplus.vertical_dark_oak_slab":"Vertical Dark Oak Slab",
"block.vplus.vertical_crimson_slab":"Vertical Crimson Slab",
"block.vplus.vertical_warped_slab":"Vertical Warped Slab",
"block.vplus.vertical_stone_slab":"Vertical Stone Slab",
"block.vplus.vertical_smooth_stone_slab":"Vertical Smooth Stone Slab",
"block.vplus.vertical_sandstone_slab":"Vertical Sandstone Slab",
"block.vplus.vertical_cut_sandstone_slab":"Vertical Cut Sandstone Slab",
"block.vplus.vertical_cobblestone_slab":"Vertical Cobblestone Slab",
"block.vplus.vertical_brick_slab":"Vertical Brick Slab",
"block.vplus.vertical_stone_brick_slab":"Vertical Stone Brick Slab",
"block.vplus.vertical_nether_brick_slab":"Vertical Nether Brick Slab",
"block.vplus.vertical_quartz_slab":"Vertical Quartz Slab",
"block.vplus.vertical_red_sandstone_slab":"Vertical Red Sandstone Slab",
"block.vplus.vertical_cut_red_sandstone_slab":"Vertical Cut Red Sandstone Slab",
"block.vplus.vertical_purpur_slab":"Vertical Purpur Slab",
"block.vplus.vertical_prismarine_slab":"Vertical Prismarine Slab",
"block.vplus.vertical_prismarine_brick_slab":"Vertical Prismarine Brick Slab",
"block.vplus.vertical_dark_prismarine_slab":"Vertical Dark Prismarine Slab",
"block.vplus.vertical_polished_granite_slab":"Vertical Polished Granite Slab",
"block.vplus.vertical_smooth_red_sandstone_slab":"Vertical Smooth Red Sandstone Slab",
"block.vplus.vertical_mossy_stone_brick_slab":"Vertical Mossy Stone Brick Slab",
"block.vplus.vertical_polished_diorite_slab":"Vertical Polished Diorite Slab",
"block.vplus.vertical_mossy_cobblestone_slab":"Vertical Mossy Cobblestone Slab",
"block.vplus.vertical_end_stone_brick_slab":"Vertical End Stone Brick Slab",
"block.vplus.vertical_smooth_sandstone_slab":"Vertical Smooth Sandstone Slab",
"block.vplus.vertical_smooth_quartz_slab":"Vertical Smooth Quartz Slab",
"block.vplus.vertical_granite_slab":"Vertical Granite Slab",
"block.vplus.vertical_andesite_slab":"Vertical Andesite Slab",
"block.vplus.vertical_red_nether_brick_slab":"Vertical Red Nether Brick Slab",
"block.vplus.vertical_polished_andesite_slab":"Vertical Polished Andesite Slab",
"block.vplus.vertical_diorite_slab":"Vertical Diorite Slab",
"block.vplus.vertical_blackstone_slab":"Vertical Blackstone Slab",
"block.vplus.vertical_polished_blackstone_slab":"Vertical Polished Blackstone Slab",
"block.vplus.vertical_polished_blackstone_brick_slab":"Vertical Polished Blackstone Brick Slab"
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/acacia_planks",
"top": "minecraft:block/acacia_planks",
"side": "minecraft:block/acacia_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/andesite",
"top": "minecraft:block/andesite",
"side": "minecraft:block/andesite"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/birch_planks",
"top": "minecraft:block/birch_planks",
"side": "minecraft:block/birch_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/blackstone_top",
"top": "minecraft:block/blackstone_top",
"side": "minecraft:block/blackstone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/bricks",
"top": "minecraft:block/bricks",
"side": "minecraft:block/bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/cobblestone",
"top": "minecraft:block/cobblestone",
"side": "minecraft:block/cobblestone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/crimson_planks",
"top": "minecraft:block/crimson_planks",
"side": "minecraft:block/crimson_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/red_sandstone_top",
"top": "minecraft:block/red_sandstone_top",
"side": "minecraft:block/cut_red_sandstone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/sandstone_top",
"top": "minecraft:block/sandstone_top",
"side": "minecraft:block/cut_sandstone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/dark_oak_planks",
"top": "minecraft:block/dark_oak_planks",
"side": "minecraft:block/dark_oak_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/dark_prismarine",
"top": "minecraft:block/dark_prismarine",
"side": "minecraft:block/dark_prismarine"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/diorite",
"top": "minecraft:block/diorite",
"side": "minecraft:block/diorite"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/end_stone_bricks",
"top": "minecraft:block/end_stone_bricks",
"side": "minecraft:block/end_stone_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/granite",
"top": "minecraft:block/granite",
"side": "minecraft:block/granite"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/jungle_planks",
"top": "minecraft:block/jungle_planks",
"side": "minecraft:block/jungle_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/mossy_cobblestone",
"top": "minecraft:block/mossy_cobblestone",
"side": "minecraft:block/mossy_cobblestone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/mossy_stone_bricks",
"top": "minecraft:block/mossy_stone_bricks",
"side": "minecraft:block/mossy_stone_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/nether_bricks",
"top": "minecraft:block/nether_bricks",
"side": "minecraft:block/nether_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/oak_planks",
"top": "minecraft:block/oak_planks",
"side": "minecraft:block/oak_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/oak_planks",
"top": "minecraft:block/oak_planks",
"side": "minecraft:block/oak_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/polished_andesite",
"top": "minecraft:block/polished_andesite",
"side": "minecraft:block/polished_andesite"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/polished_blackstone_bricks",
"top": "minecraft:block/polished_blackstone_bricks",
"side": "minecraft:block/polished_blackstone_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/polished_blackstone",
"top": "minecraft:block/polished_blackstone",
"side": "minecraft:block/polished_blackstone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/polished_diorite",
"top": "minecraft:block/polished_diorite",
"side": "minecraft:block/polished_diorite"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/polished_granite",
"top": "minecraft:block/polished_granite",
"side": "minecraft:block/polished_granite"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/prismarine_bricks",
"top": "minecraft:block/prismarine_bricks",
"side": "minecraft:block/prismarine_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/prismarine",
"top": "minecraft:block/prismarine",
"side": "minecraft:block/prismarine"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/purpur_block",
"top": "minecraft:block/purpur_block",
"side": "minecraft:block/purpur_block"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/quartz_block_top",
"top": "minecraft:block/quartz_block_top",
"side": "minecraft:block/quartz_block_side"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/red_nether_bricks",
"top": "minecraft:block/red_nether_bricks",
"side": "minecraft:block/red_nether_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/red_sandstone_bottom",
"top": "minecraft:block/red_sandstone_top",
"side": "minecraft:block/red_sandstone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/sandstone_bottom",
"top": "minecraft:block/sandstone_top",
"side": "minecraft:block/sandstone"
}
}

View File

@ -0,0 +1,25 @@
{ "parent": "block/block",
"textures": {
"particle": "#side"
},
"display": {
"gui": {
"rotation": [ 30, 315, -90 ],
"translation": [ 0, 0, 0],
"scale":[ 0.625, 0.625, 0.625 ]
}
},
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 8, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "rotation": 90, "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top", "rotation": 90},
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "rotation": 270, "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "rotation": 270, "cullface": "south" },
"west": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "west" },
"east": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "east" }
}
}
]
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/quartz_block_bottom",
"top": "minecraft:block/quartz_block_bottom",
"side": "minecraft:block/quartz_block_bottom"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/red_sandstone_top",
"top": "minecraft:block/red_sandstone_top",
"side": "minecraft:block/red_sandstone_top"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/sandstone_top",
"top": "minecraft:block/sandstone_top",
"side": "minecraft:block/sandstone_top"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/smooth_stone",
"top": "minecraft:block/smooth_stone",
"side": "minecraft:block/smooth_stone_slab_side"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/spruce_planks",
"top": "minecraft:block/spruce_planks",
"side": "minecraft:block/spruce_planks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/stone_bricks",
"top": "minecraft:block/stone_bricks",
"side": "minecraft:block/stone_bricks"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/stone",
"top": "minecraft:block/stone",
"side": "minecraft:block/stone"
}
}

View File

@ -0,0 +1,8 @@
{
"parent": "vplus:block/vertical_slab",
"textures": {
"bottom": "minecraft:block/warped_planks",
"top": "minecraft:block/warped_planks",
"side": "minecraft:block/warped_planks"
}
}

View File

@ -0,0 +1,3 @@
{
"parent": "vplus:block/vertical_acacia_slab"
}

View File

@ -0,0 +1,3 @@
{
"parent": "vplus:block/vertical_andesite_slab"
}

View File

@ -0,0 +1,3 @@
{
"parent": "vplus:block/vertical_birch_slab"
}

View File

@ -0,0 +1,3 @@
{
"parent": "vplus:block/vertical_blackstone_slab"
}

View File

@ -0,0 +1,3 @@
{
"parent": "vplus:block/vertical_brick_slab"
}

Some files were not shown because too many files have changed in this diff Show More