Compare commits
3 Commits
f32a1bf5db
...
1.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 081b744755 | |||
| 2ca55f3b48 | |||
| c1e1065c3b |
2
.idea/compiler.xml
generated
2
.idea/compiler.xml
generated
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="CompilerConfiguration">
|
<component name="CompilerConfiguration">
|
||||||
<bytecodeTargetLevel target="16" />
|
<bytecodeTargetLevel target="17" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@@ -4,7 +4,7 @@
|
|||||||
<component name="FrameworkDetectionExcludesConfiguration">
|
<component name="FrameworkDetectionExcludesConfiguration">
|
||||||
<file type="web" url="file://$PROJECT_DIR$" />
|
<file type="web" url="file://$PROJECT_DIR$" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_16" default="true" project-jdk-name="azul-16" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="azul-16" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
10
.idea/runConfigurations.xml
generated
10
.idea/runConfigurations.xml
generated
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="RunConfigurationProducerService">
|
|
||||||
<option name="ignoredProducers">
|
|
||||||
<set>
|
|
||||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
|
||||||
</set>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'fabric-loom' version '0.9-SNAPSHOT'
|
id 'fabric-loom' version '0.10-SNAPSHOT'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_16
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_16
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
|
|
||||||
archivesBaseName = project.archives_base_name
|
archivesBaseName = project.archives_base_name
|
||||||
version = project.mod_version
|
version = project.mod_version
|
||||||
@@ -32,7 +32,7 @@ processResources {
|
|||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = "UTF-8"
|
it.options.encoding = "UTF-8"
|
||||||
it.options.release = 16
|
it.options.release = 17
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
# Done to increase the memory available to gradle.
|
# Done to increase the memory available to gradle.
|
||||||
org.gradle.jvmargs=-Xmx2G
|
org.gradle.jvmargs=-Xmx4G
|
||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/versions.html
|
# check these on https://fabricmc.net/versions.html
|
||||||
minecraft_version=1.17.1
|
minecraft_version=1.18.1
|
||||||
yarn_mappings=1.17.1+build.63
|
yarn_mappings=1.18.1+build.1
|
||||||
loader_version=0.11.7
|
loader_version=0.12.12
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.0.0
|
mod_version = 1.1.1
|
||||||
maven_group = tech.nevets
|
maven_group = tech.nevets
|
||||||
archives_base_name = vplus
|
archives_base_name = vplus
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.41.0+1.17
|
fabric_version=0.44.0+1.18
|
||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import tech.nevets.vplus.blocks.VPBlocks;
|
|||||||
import tech.nevets.vplus.food.VPFood;
|
import tech.nevets.vplus.food.VPFood;
|
||||||
import tech.nevets.vplus.items.VPItems;
|
import tech.nevets.vplus.items.VPItems;
|
||||||
import tech.nevets.vplus.misc.VPFuels;
|
import tech.nevets.vplus.misc.VPFuels;
|
||||||
|
import tech.nevets.vplus.misc.VPOreGen;
|
||||||
import tech.nevets.vplus.misc.VPZoom;
|
import tech.nevets.vplus.misc.VPZoom;
|
||||||
import tech.nevets.vplus.tools.VPTools;
|
import tech.nevets.vplus.tools.VPTools;
|
||||||
|
|
||||||
@@ -18,7 +19,7 @@ public class Main implements ModInitializer {
|
|||||||
VPFood.vpFood();
|
VPFood.vpFood();
|
||||||
VPTools.vpTools();
|
VPTools.vpTools();
|
||||||
VPArmor.vpArmor();
|
VPArmor.vpArmor();
|
||||||
|
VPOreGen.vpOres();
|
||||||
VPFuels.vpFuels();
|
VPFuels.vpFuels();
|
||||||
VPZoom.vpZoom();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ import tech.nevets.vplus.items.VPItems;
|
|||||||
import java.util.function.Supplier;
|
import java.util.function.Supplier;
|
||||||
|
|
||||||
public enum ArmorMaterials implements ArmorMaterial {
|
public enum ArmorMaterials implements ArmorMaterial {
|
||||||
|
COPPER("copper", 13, new int[]{2, 4, 5, 2}, 20, SoundEvents.ITEM_ARMOR_EQUIP_IRON, 0.0F, 0.0F, () -> {
|
||||||
|
return Ingredient.ofItems(new ItemConvertible[]{Items.COPPER_INGOT});
|
||||||
|
}),
|
||||||
EMERALD("emerald", 30, new int[]{2, 6, 8, 2}, 30, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 1.0F, 0.0F, () -> {
|
EMERALD("emerald", 30, new int[]{2, 6, 8, 2}, 30, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 1.0F, 0.0F, () -> {
|
||||||
return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD});
|
return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD});
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import net.minecraft.util.registry.Registry;
|
|||||||
|
|
||||||
public class VPArmor {
|
public class VPArmor {
|
||||||
|
|
||||||
|
public static final ArmorMaterial COPPER_ARMOR = ArmorMaterials.COPPER;
|
||||||
public static final ArmorMaterial EMERALD_ARMOR = ArmorMaterials.EMERALD;
|
public static final ArmorMaterial EMERALD_ARMOR = ArmorMaterials.EMERALD;
|
||||||
public static final ArmorMaterial PLATINUM_ARMOR = ArmorMaterials.PLATINUM;
|
public static final ArmorMaterial PLATINUM_ARMOR = ArmorMaterials.PLATINUM;
|
||||||
public static final ArmorMaterial RUBY_ARMOR = ArmorMaterials.RUBY;
|
public static final ArmorMaterial RUBY_ARMOR = ArmorMaterials.RUBY;
|
||||||
@@ -19,24 +20,28 @@ public class VPArmor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeHelmet() {
|
public static void initializeHelmet() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_helmet"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.HEAD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_helmet"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.HEAD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_helmet"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.HEAD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_helmet"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.HEAD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_helmet"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.HEAD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_helmet"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.HEAD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_helmet"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.HEAD));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeChestplates() {
|
public static void initializeChestplates() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_chestplate"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.CHEST));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_chestplate"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.CHEST));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_chestplate"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.CHEST));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_chestplate"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.CHEST));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_chestplate"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.CHEST));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_chestplate"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.CHEST));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_chestplate"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.CHEST));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initialzeLeggings() {
|
public static void initialzeLeggings() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_leggings"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.LEGS));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_leggings"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.LEGS));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_leggings"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.LEGS));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_leggings"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.LEGS));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_leggings"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.LEGS));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_leggings"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.LEGS));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_leggings"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.LEGS));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeBoots() {
|
public static void initializeBoots() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_boots"), new BaseArmor(COPPER_ARMOR, EquipmentSlot.FEET));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_boots"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.FEET));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_boots"), new BaseArmor(EMERALD_ARMOR, EquipmentSlot.FEET));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_boots"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.FEET));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_boots"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.FEET));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_boots"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.FEET));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_boots"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.FEET));
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
|
|||||||
import net.minecraft.block.Material;
|
import net.minecraft.block.Material;
|
||||||
import net.minecraft.sound.BlockSoundGroup;
|
import net.minecraft.sound.BlockSoundGroup;
|
||||||
|
|
||||||
|
//TODO Change platinum to saphire
|
||||||
public class PlatinumBlock extends Block {
|
public class PlatinumBlock extends Block {
|
||||||
public PlatinumBlock() {
|
public PlatinumBlock() {
|
||||||
super(FabricBlockSettings.of(Material.STONE).breakByHand(false).breakByTool(FabricToolTags.PICKAXES).sounds(BlockSoundGroup.METAL).strength(30, 1000f));
|
super(FabricBlockSettings.of(Material.STONE).breakByHand(false).breakByTool(FabricToolTags.PICKAXES).sounds(BlockSoundGroup.METAL).strength(30, 1000f));
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ public class VPBlocks {
|
|||||||
initializeBlocks();
|
initializeBlocks();
|
||||||
initializeBlockItems();
|
initializeBlockItems();
|
||||||
initializeTorches();
|
initializeTorches();
|
||||||
|
VPVerticalSlabs.vpVerticalSlabs();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeBlocks() {
|
public static void initializeBlocks() {
|
||||||
|
|||||||
180
src/main/java/tech/nevets/vplus/blocks/VPVerticalSlabs.java
Normal file
180
src/main/java/tech/nevets/vplus/blocks/VPVerticalSlabs.java
Normal 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));
|
||||||
|
}
|
||||||
|
}
|
||||||
86
src/main/java/tech/nevets/vplus/blocks/VerticalSlabs.java
Normal file
86
src/main/java/tech/nevets/vplus/blocks/VerticalSlabs.java
Normal 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];
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package tech.nevets.vplus.mixin;
|
package tech.nevets.vplus.clientmixin;
|
||||||
|
|
||||||
import net.fabricmc.api.EnvType;
|
import net.fabricmc.api.EnvType;
|
||||||
import net.fabricmc.api.Environment;
|
import net.fabricmc.api.Environment;
|
||||||
@@ -13,7 +13,7 @@ import tech.nevets.vplus.misc.VPZoom;
|
|||||||
@Environment(EnvType.CLIENT)
|
@Environment(EnvType.CLIENT)
|
||||||
@Mixin(GameRenderer.class)
|
@Mixin(GameRenderer.class)
|
||||||
public class ZoomMixin {
|
public class ZoomMixin {
|
||||||
@Inject(method = "getFov(Lnet/minecraft/client/render/Camera;FZ)D", at = @At("HEAD"), cancellable = true)
|
@Inject(method = "getFov(Lnet/minecraft/client/render/Camera;FZ)D", at = @At("RETURN"), cancellable = true)
|
||||||
public void getZoomLevel(CallbackInfoReturnable<Double> callbackInfo) {
|
public void getZoomLevel(CallbackInfoReturnable<Double> callbackInfo) {
|
||||||
if(ZoomInit.isZooming()) {
|
if(ZoomInit.isZooming()) {
|
||||||
callbackInfo.setReturnValue(VPZoom.zoomLevel);
|
callbackInfo.setReturnValue(VPZoom.zoomLevel);
|
||||||
13
src/main/java/tech/nevets/vplus/food/CopperApple.java
Normal file
13
src/main/java/tech/nevets/vplus/food/CopperApple.java
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
package tech.nevets.vplus.food;
|
||||||
|
|
||||||
|
import net.minecraft.entity.effect.StatusEffectInstance;
|
||||||
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
|
import net.minecraft.item.FoodComponent;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
|
public class CopperApple extends Item {
|
||||||
|
public CopperApple() {
|
||||||
|
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(12).saturationModifier(16).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 5),1f).build()));
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package tech.nevets.vplus.food;
|
||||||
|
|
||||||
|
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 EnchantedCopperApple extends Item {
|
||||||
|
public EnchantedCopperApple() {
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
|||||||
import net.minecraft.entity.effect.StatusEffects;
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
import net.minecraft.item.FoodComponent;
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import tech.nevets.vplus.items.VPItemGroups;
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
public class EnchantedDiamondApple extends Item {
|
public class EnchantedDiamondApple extends Item {
|
||||||
public EnchantedDiamondApple() {
|
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()));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
|||||||
import net.minecraft.entity.effect.StatusEffects;
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
import net.minecraft.item.FoodComponent;
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import tech.nevets.vplus.items.VPItemGroups;
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
public class EnchantedEmeraldApple extends Item {
|
public class EnchantedEmeraldApple extends Item {
|
||||||
public EnchantedEmeraldApple() {
|
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()));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
|||||||
import net.minecraft.entity.effect.StatusEffects;
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
import net.minecraft.item.FoodComponent;
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import tech.nevets.vplus.items.VPItemGroups;
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
public class EnchantedIronApple extends Item {
|
public class EnchantedIronApple extends Item {
|
||||||
public EnchantedIronApple() {
|
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()));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
|||||||
import net.minecraft.entity.effect.StatusEffects;
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
import net.minecraft.item.FoodComponent;
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import tech.nevets.vplus.items.VPItemGroups;
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
public class EnchantedNetheriteApple extends Item {
|
public class EnchantedNetheriteApple extends Item {
|
||||||
public EnchantedNetheriteApple() {
|
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()));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
|||||||
import net.minecraft.entity.effect.StatusEffects;
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
import net.minecraft.item.FoodComponent;
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import tech.nevets.vplus.items.VPItemGroups;
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
public class EnchantedPlatinumApple extends Item {
|
public class EnchantedPlatinumApple extends Item {
|
||||||
public EnchantedPlatinumApple() {
|
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()));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,15 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
|||||||
import net.minecraft.entity.effect.StatusEffects;
|
import net.minecraft.entity.effect.StatusEffects;
|
||||||
import net.minecraft.item.FoodComponent;
|
import net.minecraft.item.FoodComponent;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
import tech.nevets.vplus.items.VPItemGroups;
|
import tech.nevets.vplus.items.VPItemGroups;
|
||||||
|
|
||||||
public class EnchantedRubyApple extends Item {
|
public class EnchantedRubyApple extends Item {
|
||||||
public EnchantedRubyApple() {
|
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()));
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -8,6 +8,8 @@ public class VPFood {
|
|||||||
|
|
||||||
public static final Item IRONAPPLE = new IronApple();
|
public static final Item IRONAPPLE = new IronApple();
|
||||||
public static final Item ENCHANTEDIRONAPPLE = new EnchantedIronApple();
|
public static final Item ENCHANTEDIRONAPPLE = new EnchantedIronApple();
|
||||||
|
public static final Item COPPERAPPLE = new CopperApple();
|
||||||
|
public static final Item ENCHANTEDCOPPERAPPLE = new EnchantedCopperApple();
|
||||||
public static final Item DIAMONDAPPLE = new DiamondApple();
|
public static final Item DIAMONDAPPLE = new DiamondApple();
|
||||||
public static final Item ENCHANTEDDIAMONDAPPLE = new EnchantedDiamondApple();
|
public static final Item ENCHANTEDDIAMONDAPPLE = new EnchantedDiamondApple();
|
||||||
public static final Item EMERALDAPPLE = new EmeraldApple();
|
public static final Item EMERALDAPPLE = new EmeraldApple();
|
||||||
@@ -27,6 +29,8 @@ public class VPFood {
|
|||||||
public static void initializeApples() {
|
public static void initializeApples() {
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "iron_apple"), IRONAPPLE);
|
Registry.register(Registry.ITEM, new Identifier("vplus", "iron_apple"), IRONAPPLE);
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_iron_apple"), ENCHANTEDIRONAPPLE);
|
Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_iron_apple"), ENCHANTEDIRONAPPLE);
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_apple"), COPPERAPPLE);
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_copper_apple"), ENCHANTEDCOPPERAPPLE);
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "diamond_apple"), DIAMONDAPPLE);
|
Registry.register(Registry.ITEM, new Identifier("vplus", "diamond_apple"), DIAMONDAPPLE);
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_diamond_apple"), ENCHANTEDDIAMONDAPPLE);
|
Registry.register(Registry.ITEM, new Identifier("vplus", "enchanted_diamond_apple"), ENCHANTEDDIAMONDAPPLE);
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_apple"), EMERALDAPPLE);
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_apple"), EMERALDAPPLE);
|
||||||
|
|||||||
12
src/main/java/tech/nevets/vplus/init/ClientInit.java
Normal file
12
src/main/java/tech/nevets/vplus/init/ClientInit.java
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
package tech.nevets.vplus.init;
|
||||||
|
|
||||||
|
import net.fabricmc.api.ClientModInitializer;
|
||||||
|
import tech.nevets.vplus.misc.VPZoom;
|
||||||
|
|
||||||
|
public class ClientInit implements ClientModInitializer {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onInitializeClient() {
|
||||||
|
VPZoom.vpZoom();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -27,5 +27,9 @@ public class VPItemGroups {
|
|||||||
//Food Tab
|
//Food Tab
|
||||||
public static final ItemGroup FOOD = FabricItemGroupBuilder.build(
|
public static final ItemGroup FOOD = FabricItemGroupBuilder.build(
|
||||||
new Identifier("vplus", "food"),
|
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));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,37 +1,48 @@
|
|||||||
package tech.nevets.vplus.misc;
|
package tech.nevets.vplus.misc;
|
||||||
|
|
||||||
import net.minecraft.world.gen.decorator.Decorator;
|
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
|
||||||
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
|
||||||
import net.minecraft.world.gen.feature.Feature;
|
import net.minecraft.util.Identifier;
|
||||||
import net.minecraft.world.gen.feature.OreFeatureConfig;
|
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.*;
|
||||||
|
import net.minecraft.world.gen.feature.*;
|
||||||
import tech.nevets.vplus.blocks.VPBlocks;
|
import tech.nevets.vplus.blocks.VPBlocks;
|
||||||
|
|
||||||
public class VPOreGen {
|
public class VPOreGen {
|
||||||
|
|
||||||
/*
|
private static ConfiguredFeature<?, ?> ORE_PLATINUM_OVERWORLD_CONFIGURED = Feature.ORE
|
||||||
private static ConfiguredFeature<?, ?> ORE_PLATINUM_OVERWORLD = Feature.ORE
|
|
||||||
.configure(new OreFeatureConfig(
|
.configure(new OreFeatureConfig(
|
||||||
OreFeatureConfig.Rules.BASE_STONE_OVERWORLD,
|
OreConfiguredFeatures.BASE_STONE_OVERWORLD,
|
||||||
VPBlocks.PLATINUMORE.getDefaultState(),
|
VPBlocks.PLATINUMORE.getDefaultState(),
|
||||||
3)) // vein size
|
3)); // vein size
|
||||||
.decorate(Decorator.RANGE.configure(new RangeDecoratorConfig(
|
public static PlacedFeature ORE_PLATINUM_OVERWORLD_PLACED = ORE_PLATINUM_OVERWORLD_CONFIGURED.withPlacement(
|
||||||
0, // bottom offset
|
CountPlacementModifier.of(2), // number of veins per chunk
|
||||||
0, // min y level
|
SquarePlacementModifier.of(),
|
||||||
15))) // max y level
|
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(15))
|
||||||
.spreadHorizontally()
|
);
|
||||||
.repeat(2); // number of veins per chunk
|
|
||||||
|
|
||||||
private static ConfiguredFeature<?, ?> ORE_RUBY_OVERWORLD = Feature.ORE
|
private static ConfiguredFeature<?, ?> ORE_RUBY_OVERWORLD_CONFIGURED = Feature.ORE
|
||||||
.configure(new OreFeatureConfig(
|
.configure(new OreFeatureConfig(
|
||||||
OreFeatureConfig.Rules.BASE_STONE_OVERWORLD,
|
OreConfiguredFeatures.BASE_STONE_OVERWORLD,
|
||||||
VPBlocks.RUBYORE.getDefaultState(),
|
VPBlocks.PLATINUMORE.getDefaultState(),
|
||||||
1)) // vein size
|
1)); // vein size
|
||||||
.decorate(Decorator.RANGE.configure(new RangeDecoratorConfig(
|
public static PlacedFeature ORE_RUBY_OVERWORLD_PLACED = ORE_PLATINUM_OVERWORLD_CONFIGURED.withPlacement(
|
||||||
0, // bottom offset
|
CountPlacementModifier.of(8), // number of veins per chunk
|
||||||
0, // min y level
|
SquarePlacementModifier.of(),
|
||||||
256))) // max y level
|
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(15))
|
||||||
.spreadHorizontally()
|
);
|
||||||
.repeat(8); // number of veins per chunk
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
public static void vpOres() {
|
||||||
|
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, new Identifier("vplus", "platinum_ore"), ORE_PLATINUM_OVERWORLD_CONFIGURED);
|
||||||
|
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("vplus", "platinum_ore"), ORE_PLATINUM_OVERWORLD_PLACED);
|
||||||
|
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, RegistryKey.of(Registry.PLACED_FEATURE_KEY, new Identifier("vplus", "platinum_ore")));
|
||||||
|
|
||||||
|
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, new Identifier("vplus", "ruby_ore"), ORE_RUBY_OVERWORLD_CONFIGURED);
|
||||||
|
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("vplus", "ruby_ore"), ORE_RUBY_OVERWORLD_PLACED);
|
||||||
|
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, RegistryKey.of(Registry.PLACED_FEATURE_KEY, new Identifier("vplus", "ruby_ore")));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ import net.minecraft.util.Lazy;
|
|||||||
import tech.nevets.vplus.items.VPItems;
|
import tech.nevets.vplus.items.VPItems;
|
||||||
|
|
||||||
public enum ToolMaterials implements ToolMaterial {
|
public enum ToolMaterials implements ToolMaterial {
|
||||||
|
COPPER (2, 200, 5.0F, 3.0F, 20, () -> {
|
||||||
|
return Ingredient.ofItems(new ItemConvertible[]{Items.COPPER_INGOT});
|
||||||
|
}),
|
||||||
EMERALD(3, 750, 7.0F, 4.0F, 30, () -> {
|
EMERALD(3, 750, 7.0F, 4.0F, 30, () -> {
|
||||||
return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD});
|
return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD});
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -14,30 +14,35 @@ public class VPTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeAxes() {
|
public static void initializeAxes() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_axe"), new AxeBase(ToolMaterials.COPPER));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_axe"), new AxeBase(ToolMaterials.EMERALD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_axe"), new AxeBase(ToolMaterials.EMERALD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_axe"), new AxeBase(ToolMaterials.PLATINUM));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_axe"), new AxeBase(ToolMaterials.PLATINUM));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_axe"), new AxeBase(ToolMaterials.RUBY));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_axe"), new AxeBase(ToolMaterials.RUBY));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeHoes() {
|
public static void initializeHoes() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_hoe"), new HoeBase(ToolMaterials.COPPER));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_hoe"), new HoeBase(ToolMaterials.EMERALD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_hoe"), new HoeBase(ToolMaterials.EMERALD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_hoe"), new HoeBase(ToolMaterials.PLATINUM));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_hoe"), new HoeBase(ToolMaterials.PLATINUM));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_hoe"), new HoeBase(ToolMaterials.RUBY));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_hoe"), new HoeBase(ToolMaterials.RUBY));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializePickaxes() {
|
public static void initializePickaxes() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_pickaxe"), new PickaxeBase(ToolMaterials.COPPER));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_pickaxe"), new PickaxeBase(ToolMaterials.EMERALD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_pickaxe"), new PickaxeBase(ToolMaterials.EMERALD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_pickaxe"), new PickaxeBase(ToolMaterials.PLATINUM));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_pickaxe"), new PickaxeBase(ToolMaterials.PLATINUM));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_pickaxe"), new PickaxeBase(ToolMaterials.RUBY));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_pickaxe"), new PickaxeBase(ToolMaterials.RUBY));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeShovels() {
|
public static void initializeShovels() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_shovel"), new ShovelBase(ToolMaterials.COPPER));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_shovel"), new ShovelBase(ToolMaterials.EMERALD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_shovel"), new ShovelBase(ToolMaterials.EMERALD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_shovel"), new ShovelBase(ToolMaterials.PLATINUM));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_shovel"), new ShovelBase(ToolMaterials.PLATINUM));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_shovel"), new ShovelBase(ToolMaterials.RUBY));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_shovel"), new ShovelBase(ToolMaterials.RUBY));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void initializeSwords() {
|
public static void initializeSwords() {
|
||||||
|
Registry.register(Registry.ITEM, new Identifier("vplus", "copper_sword"), new SwordBase(ToolMaterials.COPPER));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_sword"), new SwordBase(ToolMaterials.EMERALD));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "emerald_sword"), new SwordBase(ToolMaterials.EMERALD));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_sword"), new SwordBase(ToolMaterials.PLATINUM));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "platinum_sword"), new SwordBase(ToolMaterials.PLATINUM));
|
||||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_sword"), new SwordBase(ToolMaterials.RUBY));
|
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_sword"), new SwordBase(ToolMaterials.RUBY));
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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 }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
"itemGroup.vplus.combat": "Combat",
|
"itemGroup.vplus.combat": "Combat",
|
||||||
"itemGroup.vplus.tools": "Tools",
|
"itemGroup.vplus.tools": "Tools",
|
||||||
"itemGroup.vplus.food": "Food",
|
"itemGroup.vplus.food": "Food",
|
||||||
|
"itemGroup.vplus.vert_slabs": "Vertical Slabs",
|
||||||
|
|
||||||
"block.vplus.lava_sponge": "Lava Sponge",
|
"block.vplus.lava_sponge": "Lava Sponge",
|
||||||
"block.vplus.saturated_lava_sponge": "Saturated Lava Sponge",
|
"block.vplus.saturated_lava_sponge": "Saturated Lava Sponge",
|
||||||
@@ -18,10 +19,15 @@
|
|||||||
"item.vplus.platinum_nugget": "Platinum Nugget",
|
"item.vplus.platinum_nugget": "Platinum Nugget",
|
||||||
"item.vplus.ruby": "Ruby",
|
"item.vplus.ruby": "Ruby",
|
||||||
|
|
||||||
|
"item.vplus.copper_sword": "Copper Sword",
|
||||||
"item.vplus.emerald_sword": "Emerald Sword",
|
"item.vplus.emerald_sword": "Emerald Sword",
|
||||||
"item.vplus.platinum_sword": "Platinum Sword",
|
"item.vplus.platinum_sword": "Platinum Sword",
|
||||||
"item.vplus.ruby_sword": "Ruby Sword",
|
"item.vplus.ruby_sword": "Ruby Sword",
|
||||||
|
|
||||||
|
"item.vplus.copper_helmet": "Copper Helmet",
|
||||||
|
"item.vplus.copper_chestplate": "Copper Chestplate",
|
||||||
|
"item.vplus.copper_leggings": "Copper Leggings",
|
||||||
|
"item.vplus.copper_boots": "Copper Boots",
|
||||||
"item.vplus.emerald_helmet": "Emerald Helmet",
|
"item.vplus.emerald_helmet": "Emerald Helmet",
|
||||||
"item.vplus.emerald_chestplate": "Emerald Chestplate",
|
"item.vplus.emerald_chestplate": "Emerald Chestplate",
|
||||||
"item.vplus.emerald_leggings": "Emerald Leggings",
|
"item.vplus.emerald_leggings": "Emerald Leggings",
|
||||||
@@ -35,6 +41,10 @@
|
|||||||
"item.vplus.ruby_leggings": "Ruby Leggings",
|
"item.vplus.ruby_leggings": "Ruby Leggings",
|
||||||
"item.vplus.ruby_boots": "Ruby Boots",
|
"item.vplus.ruby_boots": "Ruby Boots",
|
||||||
|
|
||||||
|
"item.vplus.copper_pickaxe": "Copper Pickaxe",
|
||||||
|
"item.vplus.copper_axe": "Copper Axe",
|
||||||
|
"item.vplus.copper_shovel": "Copper Shovel",
|
||||||
|
"item.vplus.copper_hoe": "Copper Hoe",
|
||||||
"item.vplus.emerald_pickaxe": "Emerald Pickaxe",
|
"item.vplus.emerald_pickaxe": "Emerald Pickaxe",
|
||||||
"item.vplus.emerald_axe": "Emerald Axe",
|
"item.vplus.emerald_axe": "Emerald Axe",
|
||||||
"item.vplus.emerald_shovel": "Emerald Shovel",
|
"item.vplus.emerald_shovel": "Emerald Shovel",
|
||||||
@@ -50,14 +60,56 @@
|
|||||||
|
|
||||||
"item.vplus.iron_apple": "Iron Apple",
|
"item.vplus.iron_apple": "Iron Apple",
|
||||||
"item.vplus.enchanted_iron_apple": "Enchanted Iron Apple",
|
"item.vplus.enchanted_iron_apple": "Enchanted Iron Apple",
|
||||||
|
"item.vplus.copper_apple": "Copper Apple",
|
||||||
|
"item.vplus.enchanted_copper_apple": "Enchanted Copper Apple",
|
||||||
"item.vplus.diamond_apple": "Diamond Apple",
|
"item.vplus.diamond_apple": "Diamond Apple",
|
||||||
"item.vplus.enchanted_diamond_apple": "Enchanted Diamond Apple",
|
"item.vplus.enchanted_diamond_apple": "Enchanted Diamond Apple",
|
||||||
"item.vplus.emerald_apple": "Emerald Apple",
|
"item.vplus.emerald_apple": "Emerald Apple",
|
||||||
"item.vplus.enchanted_emerald_apple": "Enchanted Emerald Apple",
|
"item.vplus.enchanted_emerald_apple": "Enchanted Emerald Apple",
|
||||||
"item.vplus.netherite_apple": "Netherite Apple",
|
"item.vplus.netherite_apple": "Netherite Apple",
|
||||||
"item.vplus.enchanted_Netherite_apple": "Enchanted Netherite Apple",
|
"item.vplus.enchanted_netherite_apple": "Enchanted Netherite Apple",
|
||||||
"item.vplus.platinum_apple": "Platinum Apple",
|
"item.vplus.platinum_apple": "Platinum Apple",
|
||||||
"item.vplus.enchanted_platinum_apple": "Enchanted Platinum Apple",
|
"item.vplus.enchanted_platinum_apple": "Enchanted Platinum Apple",
|
||||||
"item.vplus.ruby_apple": "Ruby 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"
|
||||||
}
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/andesite",
|
||||||
|
"top": "minecraft:block/andesite",
|
||||||
|
"side": "minecraft:block/andesite"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/blackstone_top",
|
||||||
|
"top": "minecraft:block/blackstone_top",
|
||||||
|
"side": "minecraft:block/blackstone"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/bricks",
|
||||||
|
"top": "minecraft:block/bricks",
|
||||||
|
"side": "minecraft:block/bricks"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/cobblestone",
|
||||||
|
"top": "minecraft:block/cobblestone",
|
||||||
|
"side": "minecraft:block/cobblestone"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/diorite",
|
||||||
|
"top": "minecraft:block/diorite",
|
||||||
|
"side": "minecraft:block/diorite"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/granite",
|
||||||
|
"top": "minecraft:block/granite",
|
||||||
|
"side": "minecraft:block/granite"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "vplus:block/vertical_slab",
|
||||||
|
"textures": {
|
||||||
|
"bottom": "minecraft:block/prismarine",
|
||||||
|
"top": "minecraft:block/prismarine",
|
||||||
|
"side": "minecraft:block/prismarine"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user