Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
706167bca2 | |||
081b744755 | |||
2ca55f3b48 | |||
c1e1065c3b |
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="16" />
|
||||
<bytecodeTargetLevel target="17" />
|
||||
</component>
|
||||
</project>
|
@ -29,7 +29,12 @@
|
||||
<remote-repository>
|
||||
<option name="id" value="UserLocalRemappedMods" />
|
||||
<option name="name" value="UserLocalRemappedMods" />
|
||||
<option name="url" value="file:/$PROJECT_DIR$/../../../Minecraft%20Mods%20and%20Plugins/Fabric/VanillaPlus/.gradle/loom-cache/remapped_mods/" />
|
||||
<option name="url" value="file:/$USER_HOME$/Minecraft%20Mods%20and%20Plugins/Fabric/VanillaPlus/.gradle/loom-cache/remapped_mods/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="UserLocalRemappedMods" />
|
||||
<option name="name" value="UserLocalRemappedMods" />
|
||||
<option name="url" value="file:/$PROJECT_DIR$/.gradle/loom-cache/remapped_mods/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
@ -4,7 +4,7 @@
|
||||
<component name="FrameworkDetectionExcludesConfiguration">
|
||||
<file type="web" url="file://$PROJECT_DIR$" />
|
||||
</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" default="true" project-jdk-name="temurin-17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -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>
|
15
build.gradle
15
build.gradle
@ -1,10 +1,10 @@
|
||||
plugins {
|
||||
id 'fabric-loom' version '0.9-SNAPSHOT'
|
||||
id 'fabric-loom' version '0.12-SNAPSHOT'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_16
|
||||
targetCompatibility = JavaVersion.VERSION_16
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version
|
||||
@ -22,6 +22,10 @@ dependencies {
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
}
|
||||
|
||||
loom {
|
||||
accessWidenerPath = file("src/main/resources/vplus.accesswidener")
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
|
||||
@ -32,7 +36,7 @@ processResources {
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.encoding = "UTF-8"
|
||||
it.options.release = 16
|
||||
it.options.release = 17
|
||||
}
|
||||
|
||||
java {
|
||||
@ -43,4 +47,5 @@ jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_${project.archivesBaseName}"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
# Done to increase the memory available to gradle.
|
||||
org.gradle.jvmargs=-Xmx2G
|
||||
org.gradle.jvmargs=-Xmx4G
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/versions.html
|
||||
minecraft_version=1.17.1
|
||||
yarn_mappings=1.17.1+build.63
|
||||
loader_version=0.11.7
|
||||
minecraft_version=1.19
|
||||
yarn_mappings=1.19+build.1
|
||||
loader_version=0.14.6
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.0.0
|
||||
mod_version = 1.1.2
|
||||
maven_group = tech.nevets
|
||||
archives_base_name = vplus
|
||||
|
||||
# Dependencies
|
||||
fabric_version=0.41.0+1.17
|
||||
fabric_version=0.55.1+1.19
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
@ -6,8 +6,8 @@ import tech.nevets.vplus.blocks.VPBlocks;
|
||||
import tech.nevets.vplus.food.VPFood;
|
||||
import tech.nevets.vplus.items.VPItems;
|
||||
import tech.nevets.vplus.misc.VPFuels;
|
||||
import tech.nevets.vplus.misc.VPZoom;
|
||||
import tech.nevets.vplus.tools.VPTools;
|
||||
import tech.nevets.vplus.worldgen.features.VPOreConfiguredFeatures;
|
||||
|
||||
public class Main implements ModInitializer {
|
||||
|
||||
@ -18,7 +18,8 @@ public class Main implements ModInitializer {
|
||||
VPFood.vpFood();
|
||||
VPTools.vpTools();
|
||||
VPArmor.vpArmor();
|
||||
new VPOreConfiguredFeatures();
|
||||
//VPOreGen.vpOres();
|
||||
VPFuels.vpFuels();
|
||||
VPZoom.vpZoom();
|
||||
}
|
||||
}
|
||||
|
48
src/main/java/tech/nevets/vplus/VPBlocks.java
Normal file
48
src/main/java/tech/nevets/vplus/VPBlocks.java
Normal file
@ -0,0 +1,48 @@
|
||||
package tech.nevets.vplus;
|
||||
|
||||
import net.minecraft.block.*;
|
||||
import net.minecraft.item.BlockItem;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemGroup;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.math.intprovider.IntProvider;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class VPBlocks extends Blocks {
|
||||
public static final List<Block> BLOCKS = new ArrayList<>();
|
||||
public static final Block SAPPHIRE_ORE;
|
||||
public static final Block RUBY_ORE;
|
||||
public static final Block JADE_ORE;
|
||||
|
||||
public VPBlocks() {
|
||||
}
|
||||
|
||||
static {
|
||||
SAPPHIRE_ORE = register("sapphire_ore", new OreBlock(AbstractBlock.Settings.of(Material.STONE).requiresTool().strength(3.0F, 3.0F)), VPItemGroups.ALL).getBlock();
|
||||
RUBY_ORE = register("ruby_ore", new OreBlock(AbstractBlock.Settings.of(Material.STONE).requiresTool().strength(3.0F, 3.0F)), VPItemGroups.ALL).getBlock();
|
||||
JADE_ORE = register("jade_ore", new OreBlock(AbstractBlock.Settings.of(Material.STONE).requiresTool().strength(3.0F, 3.0F)), VPItemGroups.ALL).getBlock();
|
||||
|
||||
///////////////////\\\\ITERATOR////\\\\\\\\\\\\\\\\\\\
|
||||
|
||||
for (Block block : BLOCKS) {
|
||||
for (BlockState blockState : block.getStateManager().getStates()) {
|
||||
Block.STATE_IDS.add(blockState);
|
||||
}
|
||||
block.getLootTableId();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Use blockItem.getBlock(); to get instance of the block if needed
|
||||
*/
|
||||
private static BlockItem register(String id, Block block, ItemGroup group) {
|
||||
BLOCKS.add(block);
|
||||
Registry.register(Registry.BLOCK, new Identifier("vplus", id), block);
|
||||
return Registry.register(Registry.ITEM, new Identifier("vplus", id), new BlockItem(block, new Item.Settings().group(group)));
|
||||
}
|
||||
|
||||
}
|
@ -15,15 +15,10 @@ import tech.nevets.vplus.items.VPItems;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public enum ArmorMaterials implements ArmorMaterial {
|
||||
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});
|
||||
}),
|
||||
PLATINUM("platinum", 40, new int[]{6, 8, 10, 6}, 40, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 1.0F, 0.5F, () -> {
|
||||
return Ingredient.ofItems(new ItemConvertible[]{VPItems.PLATINUMINGOT});
|
||||
}),
|
||||
RUBY("ruby", 75, new int[]{10, 15, 20, 10}, 100, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 4.0F, 1.0F, () -> {
|
||||
return Ingredient.ofItems(new ItemConvertible[]{VPItems.RUBY});
|
||||
});
|
||||
COPPER("copper", 13, new int[]{2, 4, 5, 2}, 20, SoundEvents.ITEM_ARMOR_EQUIP_IRON, 0.0F, 0.0F, () -> Ingredient.ofItems(Items.COPPER_INGOT)),
|
||||
EMERALD("emerald", 30, new int[]{2, 6, 8, 2}, 30, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 1.0F, 0.0F, () -> Ingredient.ofItems(Items.EMERALD)),
|
||||
PLATINUM("platinum", 40, new int[]{6, 8, 10, 6}, 40, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 1.0F, 0.5F, () -> Ingredient.ofItems(VPItems.PLATINUMINGOT)),
|
||||
RUBY("ruby", 75, new int[]{10, 15, 20, 10}, 100, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 4.0F, 1.0F, () -> Ingredient.ofItems(VPItems.RUBY));
|
||||
|
||||
private static final int[] BASE_DURABILITY = new int[]{13, 15, 16, 11};
|
||||
private final String name;
|
||||
@ -35,7 +30,7 @@ public enum ArmorMaterials implements ArmorMaterial {
|
||||
private final float knockbackResistance;
|
||||
private final Lazy<Ingredient> repairIngredientSupplier;
|
||||
|
||||
private ArmorMaterials(String name, int durabilityMultiplier, int[] protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier) {
|
||||
ArmorMaterials(String name, int durabilityMultiplier, int[] protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier) {
|
||||
this.name = name;
|
||||
this.durabilityMultiplier = durabilityMultiplier;
|
||||
this.protectionAmounts = protectionAmounts;
|
||||
@ -63,7 +58,7 @@ public enum ArmorMaterials implements ArmorMaterial {
|
||||
}
|
||||
|
||||
public Ingredient getRepairIngredient() {
|
||||
return (Ingredient)this.repairIngredientSupplier.get();
|
||||
return this.repairIngredientSupplier.get();
|
||||
}
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
|
@ -7,6 +7,7 @@ import net.minecraft.util.registry.Registry;
|
||||
|
||||
public class VPArmor {
|
||||
|
||||
public static final ArmorMaterial COPPER_ARMOR = ArmorMaterials.COPPER;
|
||||
public static final ArmorMaterial EMERALD_ARMOR = ArmorMaterials.EMERALD;
|
||||
public static final ArmorMaterial PLATINUM_ARMOR = ArmorMaterials.PLATINUM;
|
||||
public static final ArmorMaterial RUBY_ARMOR = ArmorMaterials.RUBY;
|
||||
@ -19,24 +20,28 @@ public class VPArmor {
|
||||
}
|
||||
|
||||
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", "platinum_helmet"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.HEAD));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_helmet"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.HEAD));
|
||||
}
|
||||
|
||||
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", "platinum_chestplate"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.CHEST));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_chestplate"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.CHEST));
|
||||
}
|
||||
|
||||
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", "platinum_leggings"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.LEGS));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_leggings"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.LEGS));
|
||||
}
|
||||
|
||||
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", "platinum_boots"), new BaseArmor(PLATINUM_ARMOR, EquipmentSlot.FEET));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_boots"), new BaseArmor(RUBY_ARMOR, EquipmentSlot.FEET));
|
||||
|
@ -37,9 +37,9 @@ public class ColorTorchBlock extends Block {
|
||||
}
|
||||
|
||||
public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) {
|
||||
double d = (double)pos.getX() + 0.5D;
|
||||
double e = (double)pos.getY() + 0.7D;
|
||||
double f = (double)pos.getZ() + 0.5D;
|
||||
double d = (double) pos.getX() + 0.5D;
|
||||
double e = (double) pos.getY() + 0.7D;
|
||||
double f = (double) pos.getZ() + 0.5D;
|
||||
world.addParticle(ParticleTypes.SMOKE, d, e, f, 0.0D, 0.0D, 0.0D);
|
||||
world.addParticle(this.particle, d, e, f, 0.0D, 0.0D, 0.0D);
|
||||
}
|
||||
|
@ -8,7 +8,6 @@ import net.minecraft.particle.ParticleEffect;
|
||||
import net.minecraft.particle.ParticleTypes;
|
||||
import net.minecraft.state.StateManager;
|
||||
import net.minecraft.state.property.DirectionProperty;
|
||||
import net.minecraft.state.property.Property;
|
||||
import net.minecraft.util.BlockMirror;
|
||||
import net.minecraft.util.BlockRotation;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
@ -30,7 +29,7 @@ public class ColorWallTorchBlock extends TorchBlock {
|
||||
|
||||
protected ColorWallTorchBlock(Settings settings, ParticleEffect particleEffect) {
|
||||
super(settings, particleEffect);
|
||||
this.setDefaultState((BlockState)((BlockState)this.stateManager.getDefaultState()).with(FACING, Direction.NORTH));
|
||||
this.setDefaultState(this.stateManager.getDefaultState().with(FACING, Direction.NORTH));
|
||||
}
|
||||
|
||||
public String getTranslationKey() {
|
||||
@ -42,11 +41,11 @@ public class ColorWallTorchBlock extends TorchBlock {
|
||||
}
|
||||
|
||||
public static VoxelShape getBoundingShape(BlockState state) {
|
||||
return (VoxelShape)BOUNDING_SHAPES.get(state.get(FACING));
|
||||
return BOUNDING_SHAPES.get(state.get(FACING));
|
||||
}
|
||||
|
||||
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos) {
|
||||
Direction direction = (Direction)state.get(FACING);
|
||||
Direction direction = state.get(FACING);
|
||||
BlockPos blockPos = pos.offset(direction.getOpposite());
|
||||
BlockState blockState = world.getBlockState(blockPos);
|
||||
return blockState.isSideSolidFullSquare(world, blockPos, direction);
|
||||
@ -65,7 +64,7 @@ public class ColorWallTorchBlock extends TorchBlock {
|
||||
Direction direction = var6[var8];
|
||||
if (direction.getAxis().isHorizontal()) {
|
||||
Direction direction2 = direction.getOpposite();
|
||||
blockState = (BlockState)blockState.with(FACING, direction2);
|
||||
blockState = blockState.with(FACING, direction2);
|
||||
if (blockState.canPlaceAt(worldView, blockPos)) {
|
||||
return blockState;
|
||||
}
|
||||
@ -80,7 +79,7 @@ public class ColorWallTorchBlock extends TorchBlock {
|
||||
}
|
||||
|
||||
public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random) {
|
||||
Direction direction = (Direction)state.get(FACING);
|
||||
Direction direction = state.get(FACING);
|
||||
double d = (double)pos.getX() + 0.5D;
|
||||
double e = (double)pos.getY() + 0.7D;
|
||||
double f = (double)pos.getZ() + 0.5D;
|
||||
@ -92,15 +91,15 @@ public class ColorWallTorchBlock extends TorchBlock {
|
||||
}
|
||||
|
||||
public BlockState rotate(BlockState state, BlockRotation rotation) {
|
||||
return (BlockState)state.with(FACING, rotation.rotate((Direction)state.get(FACING)));
|
||||
return state.with(FACING, rotation.rotate(state.get(FACING)));
|
||||
}
|
||||
|
||||
public BlockState mirror(BlockState state, BlockMirror mirror) {
|
||||
return state.rotate(mirror.getRotation((Direction)state.get(FACING)));
|
||||
return state.rotate(mirror.getRotation(state.get(FACING)));
|
||||
}
|
||||
|
||||
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
|
||||
builder.add(new Property[]{FACING});
|
||||
builder.add(FACING);
|
||||
}
|
||||
|
||||
static {
|
||||
|
@ -45,7 +45,7 @@ public class LavaSpongeBlock extends Block {
|
||||
int i = 0;
|
||||
|
||||
while(!queue.isEmpty()) {
|
||||
Pair<BlockPos, Integer> pair = (Pair)queue.poll();
|
||||
Pair pair = queue.poll();
|
||||
BlockPos blockPos = (BlockPos)pair.getLeft();
|
||||
int j = (Integer)pair.getRight();
|
||||
Direction[] var8 = Direction.values();
|
||||
|
@ -1,13 +1,13 @@
|
||||
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.sound.BlockSoundGroup;
|
||||
|
||||
//TODO Change platinum to saphire
|
||||
public class PlatinumBlock extends Block {
|
||||
public PlatinumBlock() {
|
||||
super(FabricBlockSettings.of(Material.STONE).breakByHand(false).breakByTool(FabricToolTags.PICKAXES).sounds(BlockSoundGroup.METAL).strength(30, 1000f));
|
||||
super(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.METAL).strength(30, 1000f));
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
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.BlockState;
|
||||
import net.minecraft.block.Material;
|
||||
@ -12,17 +11,17 @@ import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.util.math.random.Random;
|
||||
|
||||
public class PlatinumOre extends Block {
|
||||
public PlatinumOre() {
|
||||
super(FabricBlockSettings.of(Material.STONE).breakByTool(FabricToolTags.PICKAXES, 3).sounds(BlockSoundGroup.STONE).strength(3, 1500f));
|
||||
super(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).strength(3, 1500f));
|
||||
}
|
||||
protected int getExperienceWhenMined(Random random) {
|
||||
return MathHelper.nextInt(random, 3, 7);
|
||||
}
|
||||
|
||||
/*
|
||||
public void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) {
|
||||
super.onStacksDropped(state, world, pos, stack);
|
||||
if (EnchantmentHelper.getLevel(Enchantments.SILK_TOUCH, stack) == 0) {
|
||||
@ -31,6 +30,6 @@ public class PlatinumOre extends Block {
|
||||
this.dropExperience(world, pos, i);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
@ -1,13 +1,12 @@
|
||||
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.sound.BlockSoundGroup;
|
||||
|
||||
public class RubyBlock extends Block {
|
||||
public RubyBlock() {
|
||||
super(FabricBlockSettings.of(Material.STONE).breakByHand(false).breakByTool(FabricToolTags.PICKAXES).sounds(BlockSoundGroup.METAL).strength(5, 6.0f));
|
||||
super(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.METAL).strength(5, 6.0f));
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
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.BlockState;
|
||||
import net.minecraft.block.Material;
|
||||
@ -12,17 +11,17 @@ import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
|
||||
import java.util.Random;
|
||||
import net.minecraft.util.math.random.Random;
|
||||
|
||||
public class RubyOre extends Block {
|
||||
public RubyOre() {
|
||||
super(FabricBlockSettings.of(Material.STONE).breakByTool(FabricToolTags.PICKAXES, 3).sounds(BlockSoundGroup.STONE).strength(3, 1500f));
|
||||
super(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).strength(3, 1500f));
|
||||
}
|
||||
protected int getExperienceWhenMined(Random random) {
|
||||
return MathHelper.nextInt(random, 3, 7);
|
||||
}
|
||||
|
||||
/*
|
||||
public void onStacksDropped(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack) {
|
||||
super.onStacksDropped(state, world, pos, stack);
|
||||
if (EnchantmentHelper.getLevel(Enchantments.SILK_TOUCH, stack) == 0) {
|
||||
@ -32,4 +31,5 @@ public class RubyOre extends Block {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
@ -10,10 +10,9 @@ import net.minecraft.particle.ParticleTypes;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.Direction;
|
||||
import net.minecraft.util.math.random.Random;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class SaturatedLavaSpongeBlock extends Block {
|
||||
|
||||
public SaturatedLavaSpongeBlock() {
|
||||
|
@ -22,6 +22,7 @@ public class VPBlocks {
|
||||
initializeBlocks();
|
||||
initializeBlockItems();
|
||||
initializeTorches();
|
||||
VPVerticalSlabs.vpVerticalSlabs();
|
||||
}
|
||||
|
||||
public static void initializeBlocks() {
|
||||
@ -43,7 +44,7 @@ public class VPBlocks {
|
||||
}
|
||||
|
||||
public static void initializeTorches() {
|
||||
Registry.register(Registry.BLOCK, new Identifier("vplus", "green_torch"), new ColorTorchBlock(AbstractBlock.Settings.of(Material.DECORATION).noCollision().breakInstantly().luminance((state) -> {return 14;}).sounds(BlockSoundGroup.WOOD), ParticleTypes.FLAME));
|
||||
Registry.register(Registry.BLOCK, new Identifier("vplus", "green_wall_torch"), new ColorWallTorchBlock(AbstractBlock.Settings.of(Material.DECORATION).noCollision().breakInstantly().luminance((state) -> {return 14;}).sounds(BlockSoundGroup.WOOD).dropsLike(Blocks.TORCH), ParticleTypes.FLAME));
|
||||
Registry.register(Registry.BLOCK, new Identifier("vplus", "green_torch"), new ColorTorchBlock(AbstractBlock.Settings.of(Material.DECORATION).noCollision().breakInstantly().luminance((state) -> 14).sounds(BlockSoundGroup.WOOD), ParticleTypes.FLAME));
|
||||
Registry.register(Registry.BLOCK, new Identifier("vplus", "green_wall_torch"), new ColorWallTorchBlock(AbstractBlock.Settings.of(Material.DECORATION).noCollision().breakInstantly().luminance((state) -> 14).sounds(BlockSoundGroup.WOOD).dropsLike(Blocks.TORCH), ParticleTypes.FLAME));
|
||||
}
|
||||
}
|
||||
|
181
src/main/java/tech/nevets/vplus/blocks/VPVerticalSlabs.java
Normal file
181
src/main/java/tech/nevets/vplus/blocks/VPVerticalSlabs.java
Normal file
@ -0,0 +1,181 @@
|
||||
package tech.nevets.vplus.blocks;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
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
|
||||
//TODO add new 1.18 blocks
|
||||
//TODO add new 1.19 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));
|
||||
VERTICAL_SPRUCE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_BIRCH_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_JUNGLE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_ACACIA_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_DARK_OAK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_CRIMSON_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_WARPED_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.WOOD).sounds(BlockSoundGroup.WOOD).hardness(2.0F));
|
||||
VERTICAL_STONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_SMOOTH_STONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_CUT_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_COBBLESTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_STONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_NETHER_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_QUARTZ_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_RED_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_CUT_RED_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_PURPUR_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_PRISMARINE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_PRISMARINE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_DARK_PRISMARINE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_POLISHED_GRANITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_SMOOTH_RED_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_MOSSY_STONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_POLISHED_DIORITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_MOSSY_COBBLESTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_END_STONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_SMOOTH_SANDSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_SMOOTH_QUARTZ_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_GRANITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_ANDESITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_RED_NETHER_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_POLISHED_ANDESITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_DIORITE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_BLACKSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_POLISHED_BLACKSTONE_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
VERTICAL_POLISHED_BLACKSTONE_BRICK_SLAB = new VerticalSlabs(FabricBlockSettings.of(Material.STONE).sounds(BlockSoundGroup.STONE).hardness(2.0F));
|
||||
}
|
||||
}
|
85
src/main/java/tech/nevets/vplus/blocks/VerticalSlabs.java
Normal file
85
src/main/java/tech/nevets/vplus/blocks/VerticalSlabs.java
Normal file
@ -0,0 +1,85 @@
|
||||
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) {
|
||||
return blockState.get(WATERLOGGED) ? Fluids.WATER.getStill(false) : super.getFluidState(blockState);
|
||||
}
|
||||
|
||||
@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.Environment;
|
||||
@ -13,7 +13,7 @@ import tech.nevets.vplus.misc.VPZoom;
|
||||
@Environment(EnvType.CLIENT)
|
||||
@Mixin(GameRenderer.class)
|
||||
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) {
|
||||
if(ZoomInit.isZooming()) {
|
||||
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,19 @@
|
||||
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()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasGlint(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
}
|
@ -4,10 +4,16 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class EnchantedDiamondApple extends Item {
|
||||
public EnchantedDiamondApple() {
|
||||
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(8).saturationModifier(14).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 4),1f).build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasGlint(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
}
|
@ -4,10 +4,16 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class EnchantedEmeraldApple extends Item {
|
||||
public EnchantedEmeraldApple() {
|
||||
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(12).saturationModifier(16).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 6),1f).build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasGlint(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
}
|
@ -4,10 +4,16 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class EnchantedIronApple extends Item {
|
||||
public EnchantedIronApple() {
|
||||
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(6).saturationModifier(10).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 2),1f).build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasGlint(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
}
|
@ -4,10 +4,16 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class EnchantedNetheriteApple extends Item {
|
||||
public EnchantedNetheriteApple() {
|
||||
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(14).saturationModifier(18).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 8),1f).build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasGlint(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
}
|
@ -4,10 +4,16 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class EnchantedPlatinumApple extends Item {
|
||||
public EnchantedPlatinumApple() {
|
||||
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(16).saturationModifier(20).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 10),1f).build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasGlint(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
}
|
@ -4,10 +4,16 @@ import net.minecraft.entity.effect.StatusEffectInstance;
|
||||
import net.minecraft.entity.effect.StatusEffects;
|
||||
import net.minecraft.item.FoodComponent;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class EnchantedRubyApple extends Item {
|
||||
public EnchantedRubyApple() {
|
||||
super(new Settings().group(VPItemGroups.FOOD).food(new FoodComponent.Builder().hunger(18).saturationModifier(22).alwaysEdible().statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 20*120, 12),1f).build()));
|
||||
}
|
||||
|
||||
@Override
|
||||
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 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 ENCHANTEDDIAMONDAPPLE = new EnchantedDiamondApple();
|
||||
public static final Item EMERALDAPPLE = new EmeraldApple();
|
||||
@ -27,6 +29,8 @@ public class VPFood {
|
||||
public static void initializeApples() {
|
||||
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", "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", "enchanted_diamond_apple"), ENCHANTEDDIAMONDAPPLE);
|
||||
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
|
||||
public static final ItemGroup FOOD = FabricItemGroupBuilder.build(
|
||||
new Identifier("vplus", "food"),
|
||||
() -> new ItemStack((Items.ENCHANTED_GOLDEN_APPLE)));
|
||||
() -> new ItemStack(Items.ENCHANTED_GOLDEN_APPLE));
|
||||
//Vertical Slabs Tab
|
||||
public static final ItemGroup VERTICAL_SLABS = FabricItemGroupBuilder.build(
|
||||
new Identifier("vplus", "vert_slabs"),
|
||||
() -> new ItemStack(Items.BRICK_SLAB));
|
||||
}
|
||||
|
@ -1,37 +0,0 @@
|
||||
package tech.nevets.vplus.misc;
|
||||
|
||||
import net.minecraft.world.gen.decorator.Decorator;
|
||||
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.gen.feature.Feature;
|
||||
import net.minecraft.world.gen.feature.OreFeatureConfig;
|
||||
import tech.nevets.vplus.blocks.VPBlocks;
|
||||
|
||||
public class VPOreGen {
|
||||
|
||||
/*
|
||||
private static ConfiguredFeature<?, ?> ORE_PLATINUM_OVERWORLD = Feature.ORE
|
||||
.configure(new OreFeatureConfig(
|
||||
OreFeatureConfig.Rules.BASE_STONE_OVERWORLD,
|
||||
VPBlocks.PLATINUMORE.getDefaultState(),
|
||||
3)) // vein size
|
||||
.decorate(Decorator.RANGE.configure(new RangeDecoratorConfig(
|
||||
0, // bottom offset
|
||||
0, // min y level
|
||||
15))) // max y level
|
||||
.spreadHorizontally()
|
||||
.repeat(2); // number of veins per chunk
|
||||
|
||||
private static ConfiguredFeature<?, ?> ORE_RUBY_OVERWORLD = Feature.ORE
|
||||
.configure(new OreFeatureConfig(
|
||||
OreFeatureConfig.Rules.BASE_STONE_OVERWORLD,
|
||||
VPBlocks.RUBYORE.getDefaultState(),
|
||||
1)) // vein size
|
||||
.decorate(Decorator.RANGE.configure(new RangeDecoratorConfig(
|
||||
0, // bottom offset
|
||||
0, // min y level
|
||||
256))) // max y level
|
||||
.spreadHorizontally()
|
||||
.repeat(8); // number of veins per chunk
|
||||
*/
|
||||
|
||||
}
|
@ -5,7 +5,7 @@ import net.minecraft.item.ToolMaterial;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class AxeBase extends AxeItem {
|
||||
public AxeBase(ToolMaterial toolMaterial_1) {
|
||||
super(toolMaterial_1, 5, -3.0f, new Settings().group(VPItemGroups.TOOLS));
|
||||
public AxeBase(ToolMaterial toolMaterial) {
|
||||
super(toolMaterial, 5, -3.0f, new Settings().group(VPItemGroups.TOOLS));
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import net.minecraft.item.ToolMaterial;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class HoeBase extends HoeItem {
|
||||
public HoeBase(ToolMaterial toolMaterial_1) {
|
||||
super(toolMaterial_1, -3, 0f, new Settings().group(VPItemGroups.TOOLS));
|
||||
public HoeBase(ToolMaterial toolMaterial) {
|
||||
super(toolMaterial, -3, 0f, new Settings().group(VPItemGroups.TOOLS));
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import net.minecraft.item.ToolMaterial;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class PickaxeBase extends PickaxeItem {
|
||||
public PickaxeBase(ToolMaterial toolMaterial_1) {
|
||||
super(toolMaterial_1, 1, -2.8f, new Settings().group(VPItemGroups.TOOLS));
|
||||
public PickaxeBase(ToolMaterial toolMaterial) {
|
||||
super(toolMaterial, 1, -2.8f, new Settings().group(VPItemGroups.TOOLS));
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import net.minecraft.item.ToolMaterial;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class ShovelBase extends ShovelItem {
|
||||
public ShovelBase(ToolMaterial toolMaterial_1) {
|
||||
super(toolMaterial_1, 1, -3f, new Settings().group(VPItemGroups.TOOLS));
|
||||
public ShovelBase(ToolMaterial toolMaterial) {
|
||||
super(toolMaterial, 1, -3f, new Settings().group(VPItemGroups.TOOLS));
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import net.minecraft.item.ToolMaterial;
|
||||
import tech.nevets.vplus.items.VPItemGroups;
|
||||
|
||||
public class SwordBase extends SwordItem {
|
||||
public SwordBase(ToolMaterial toolMaterial_1) {
|
||||
super(toolMaterial_1, 2, -2.4f, new Settings().group(VPItemGroups.COMBAT));
|
||||
public SwordBase(ToolMaterial toolMaterial) {
|
||||
super(toolMaterial, 2, -2.4f, new Settings().group(VPItemGroups.COMBAT));
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package tech.nevets.vplus.tools;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
import net.minecraft.item.ItemConvertible;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.item.ToolMaterial;
|
||||
import net.minecraft.recipe.Ingredient;
|
||||
@ -9,15 +8,10 @@ import net.minecraft.util.Lazy;
|
||||
import tech.nevets.vplus.items.VPItems;
|
||||
|
||||
public enum ToolMaterials implements ToolMaterial {
|
||||
EMERALD(3, 750, 7.0F, 4.0F, 30, () -> {
|
||||
return Ingredient.ofItems(new ItemConvertible[]{Items.EMERALD});
|
||||
}),
|
||||
PLATINUM(4, 3000, 10.0F, 6.0F, 40, () -> {
|
||||
return Ingredient.ofItems(new ItemConvertible[]{VPItems.PLATINUMINGOT});
|
||||
}),
|
||||
RUBY(4, 5000, 12.0F, 10.0F, 100, () -> {
|
||||
return Ingredient.ofItems(new ItemConvertible[]{VPItems.RUBY});
|
||||
});
|
||||
COPPER (2, 200, 5.0F, 3.0F, 20, () -> Ingredient.ofItems(Items.COPPER_INGOT)),
|
||||
EMERALD(3, 750, 7.0F, 4.0F, 30, () -> Ingredient.ofItems(Items.EMERALD)),
|
||||
PLATINUM(4, 3000, 10.0F, 6.0F, 40, () -> Ingredient.ofItems(VPItems.PLATINUMINGOT)),
|
||||
RUBY(4, 5000, 12.0F, 10.0F, 100, () -> Ingredient.ofItems(VPItems.RUBY));
|
||||
|
||||
private final int miningLevel;
|
||||
private final int itemDurability;
|
||||
@ -25,7 +19,7 @@ public enum ToolMaterials implements ToolMaterial {
|
||||
private final float attackDamage;
|
||||
private final int enchantability;
|
||||
private final Lazy<Ingredient> repairIngredient;
|
||||
private ToolMaterials(int miningLevel, int itemDurability, float miningSpeed, float attackDamage, int enchantability, Supplier<Ingredient> repairIngredient) {
|
||||
ToolMaterials(int miningLevel, int itemDurability, float miningSpeed, float attackDamage, int enchantability, Supplier<Ingredient> repairIngredient) {
|
||||
this.miningLevel = miningLevel;
|
||||
this.itemDurability = itemDurability;
|
||||
this.miningSpeed = miningSpeed;
|
||||
|
@ -14,30 +14,35 @@ public class VPTools {
|
||||
}
|
||||
|
||||
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", "platinum_axe"), new AxeBase(ToolMaterials.PLATINUM));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_axe"), new AxeBase(ToolMaterials.RUBY));
|
||||
}
|
||||
|
||||
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", "platinum_hoe"), new HoeBase(ToolMaterials.PLATINUM));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_hoe"), new HoeBase(ToolMaterials.RUBY));
|
||||
}
|
||||
|
||||
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", "platinum_pickaxe"), new PickaxeBase(ToolMaterials.PLATINUM));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_pickaxe"), new PickaxeBase(ToolMaterials.RUBY));
|
||||
}
|
||||
|
||||
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", "platinum_shovel"), new ShovelBase(ToolMaterials.PLATINUM));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_shovel"), new ShovelBase(ToolMaterials.RUBY));
|
||||
}
|
||||
|
||||
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", "platinum_sword"), new SwordBase(ToolMaterials.PLATINUM));
|
||||
Registry.register(Registry.ITEM, new Identifier("vplus", "ruby_sword"), new SwordBase(ToolMaterials.RUBY));
|
||||
|
10
src/main/java/tech/nevets/vplus/worldgen/VPOreGen.java
Normal file
10
src/main/java/tech/nevets/vplus/worldgen/VPOreGen.java
Normal file
@ -0,0 +1,10 @@
|
||||
package tech.nevets.vplus.worldgen;
|
||||
|
||||
public class VPOreGen {
|
||||
|
||||
public VPOreGen() {
|
||||
}
|
||||
|
||||
public static void generateOres() {
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package tech.nevets.vplus.worldgen.features;
|
||||
|
||||
import net.minecraft.util.registry.RegistryEntry;
|
||||
import net.minecraft.world.gen.feature.*;
|
||||
import tech.nevets.vplus.VPBlocks;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class VPOreConfiguredFeatures extends OreConfiguredFeatures {
|
||||
public static final List<OreFeatureConfig.Target> SAPPHIRE_ORES;
|
||||
public static final List<OreFeatureConfig.Target> RUBY_ORES;
|
||||
public static final List<OreFeatureConfig.Target> JADE_ORES;
|
||||
public static final RegistryEntry<ConfiguredFeature<OreFeatureConfig, ?>> ORE_SAPPHIRE;
|
||||
public static final RegistryEntry<ConfiguredFeature<OreFeatureConfig, ?>> ORE_RUBY;
|
||||
public static final RegistryEntry<ConfiguredFeature<OreFeatureConfig, ?>> ORE_JADE;
|
||||
|
||||
public VPOreConfiguredFeatures() {
|
||||
}
|
||||
|
||||
static {
|
||||
SAPPHIRE_ORES = List.of(OreFeatureConfig.createTarget(STONE_ORE_REPLACEABLES, VPBlocks.SAPPHIRE_ORE.getDefaultState()));
|
||||
RUBY_ORES = List.of(OreFeatureConfig.createTarget(STONE_ORE_REPLACEABLES, VPBlocks.RUBY_ORE.getDefaultState()));
|
||||
JADE_ORES = List.of(OreFeatureConfig.createTarget(STONE_ORE_REPLACEABLES, VPBlocks.RUBY_ORE.getDefaultState()));
|
||||
ORE_SAPPHIRE = ConfiguredFeatures.register("ore_sapphire", Feature.ORE, new OreFeatureConfig(List.of(OreFeatureConfig.createTarget(STONE_ORE_REPLACEABLES, VPBlocks.SAPPHIRE_ORE.getDefaultState())), 4));
|
||||
ORE_RUBY = ConfiguredFeatures.register("ore_ruby", Feature.ORE, new OreFeatureConfig(List.of(OreFeatureConfig.createTarget(STONE_ORE_REPLACEABLES, VPBlocks.RUBY_ORE.getDefaultState())), 3));
|
||||
ORE_JADE = ConfiguredFeatures.register("ore_jade", Feature.ORE, new OreFeatureConfig(List.of(OreFeatureConfig.createTarget(STONE_ORE_REPLACEABLES, VPBlocks.JADE_ORE.getDefaultState())), 2));
|
||||
}
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package tech.nevets.vplus.worldgen.features;
|
||||
|
||||
import net.minecraft.util.registry.RegistryEntry;
|
||||
import net.minecraft.world.gen.YOffset;
|
||||
import net.minecraft.world.gen.feature.OrePlacedFeatures;
|
||||
import net.minecraft.world.gen.feature.PlacedFeature;
|
||||
import net.minecraft.world.gen.feature.PlacedFeatures;
|
||||
import net.minecraft.world.gen.placementmodifier.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class VPPlacedFeatures extends OrePlacedFeatures {
|
||||
public static final RegistryEntry<PlacedFeature> ORE_SAPPHIRE;
|
||||
public static final RegistryEntry<PlacedFeature> ORE_RUBY;
|
||||
public static final RegistryEntry<PlacedFeature> ORE_JADE;
|
||||
|
||||
public VPPlacedFeatures() {
|
||||
}
|
||||
|
||||
private static List<PlacementModifier> modifiers(PlacementModifier countModifier, PlacementModifier heightModifier) {
|
||||
return List.of(countModifier, SquarePlacementModifier.of(), heightModifier, BiomePlacementModifier.of());
|
||||
}
|
||||
|
||||
private static List<PlacementModifier> modifiersWithCount(int count, PlacementModifier heightModifier) {
|
||||
return modifiers(CountPlacementModifier.of(count), heightModifier);
|
||||
}
|
||||
|
||||
private static List<PlacementModifier> modifiersWithRarity(int chance, PlacementModifier heightModifier) {
|
||||
return modifiers(RarityFilterPlacementModifier.of(chance), heightModifier);
|
||||
}
|
||||
|
||||
static {
|
||||
ORE_SAPPHIRE = PlacedFeatures.register("ore_sapphire", VPOreConfiguredFeatures.ORE_SAPPHIRE, modifiersWithCount(4, HeightRangePlacementModifier.trapezoid(YOffset.fixed(0), YOffset.fixed(24))));
|
||||
ORE_RUBY = PlacedFeatures.register("ore_ruby", VPOreConfiguredFeatures.ORE_RUBY, modifiersWithCount(3, HeightRangePlacementModifier.uniform(YOffset.fixed(-12), YOffset.fixed(0))));
|
||||
ORE_JADE = PlacedFeatures.register("ore_jade", VPOreConfiguredFeatures.ORE_SAPPHIRE, modifiersWithCount(2, HeightRangePlacementModifier.trapezoid(YOffset.fixed(-24), YOffset.fixed(-12))));
|
||||
}
|
||||
}
|
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.tools": "Tools",
|
||||
"itemGroup.vplus.food": "Food",
|
||||
"itemGroup.vplus.vert_slabs": "Vertical Slabs",
|
||||
|
||||
"block.vplus.lava_sponge": "Lava Sponge",
|
||||
"block.vplus.saturated_lava_sponge": "Saturated Lava Sponge",
|
||||
@ -18,10 +19,15 @@
|
||||
"item.vplus.platinum_nugget": "Platinum Nugget",
|
||||
"item.vplus.ruby": "Ruby",
|
||||
|
||||
"item.vplus.copper_sword": "Copper Sword",
|
||||
"item.vplus.emerald_sword": "Emerald Sword",
|
||||
"item.vplus.platinum_sword": "Platinum 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_chestplate": "Emerald Chestplate",
|
||||
"item.vplus.emerald_leggings": "Emerald Leggings",
|
||||
@ -35,6 +41,10 @@
|
||||
"item.vplus.ruby_leggings": "Ruby Leggings",
|
||||
"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_axe": "Emerald Axe",
|
||||
"item.vplus.emerald_shovel": "Emerald Shovel",
|
||||
@ -50,14 +60,56 @@
|
||||
|
||||
"item.vplus.iron_apple": "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.enchanted_diamond_apple": "Enchanted Diamond Apple",
|
||||
"item.vplus.emerald_apple": "Emerald Apple",
|
||||
"item.vplus.enchanted_emerald_apple": "Enchanted Emerald 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.enchanted_platinum_apple": "Enchanted Platinum Apple",
|
||||
"item.vplus.ruby_apple": "Ruby Apple",
|
||||
"item.vplus.enchanted_ruby_apple": "Enchanted Ruby Apple"
|
||||
"item.vplus.enchanted_ruby_apple": "Enchanted Ruby Apple",
|
||||
|
||||
"block.vplus.vertical_oak_slab":"Vertical Oak Slab",
|
||||
"block.vplus.vertical_spruce_slab":"Vertical Spruce Slab",
|
||||
"block.vplus.vertical_birch_slab":"Vertical Birch Slab",
|
||||
"block.vplus.vertical_jungle_slab":"Vertical Jungle Slab",
|
||||
"block.vplus.vertical_acacia_slab":"Vertical Acacia Slab",
|
||||
"block.vplus.vertical_dark_oak_slab":"Vertical Dark Oak Slab",
|
||||
"block.vplus.vertical_crimson_slab":"Vertical Crimson Slab",
|
||||
"block.vplus.vertical_warped_slab":"Vertical Warped Slab",
|
||||
"block.vplus.vertical_stone_slab":"Vertical Stone Slab",
|
||||
"block.vplus.vertical_smooth_stone_slab":"Vertical Smooth Stone Slab",
|
||||
"block.vplus.vertical_sandstone_slab":"Vertical Sandstone Slab",
|
||||
"block.vplus.vertical_cut_sandstone_slab":"Vertical Cut Sandstone Slab",
|
||||
"block.vplus.vertical_cobblestone_slab":"Vertical Cobblestone Slab",
|
||||
"block.vplus.vertical_brick_slab":"Vertical Brick Slab",
|
||||
"block.vplus.vertical_stone_brick_slab":"Vertical Stone Brick Slab",
|
||||
"block.vplus.vertical_nether_brick_slab":"Vertical Nether Brick Slab",
|
||||
"block.vplus.vertical_quartz_slab":"Vertical Quartz Slab",
|
||||
"block.vplus.vertical_red_sandstone_slab":"Vertical Red Sandstone Slab",
|
||||
"block.vplus.vertical_cut_red_sandstone_slab":"Vertical Cut Red Sandstone Slab",
|
||||
"block.vplus.vertical_purpur_slab":"Vertical Purpur Slab",
|
||||
"block.vplus.vertical_prismarine_slab":"Vertical Prismarine Slab",
|
||||
"block.vplus.vertical_prismarine_brick_slab":"Vertical Prismarine Brick Slab",
|
||||
"block.vplus.vertical_dark_prismarine_slab":"Vertical Dark Prismarine Slab",
|
||||
"block.vplus.vertical_polished_granite_slab":"Vertical Polished Granite Slab",
|
||||
"block.vplus.vertical_smooth_red_sandstone_slab":"Vertical Smooth Red Sandstone Slab",
|
||||
"block.vplus.vertical_mossy_stone_brick_slab":"Vertical Mossy Stone Brick Slab",
|
||||
"block.vplus.vertical_polished_diorite_slab":"Vertical Polished Diorite Slab",
|
||||
"block.vplus.vertical_mossy_cobblestone_slab":"Vertical Mossy Cobblestone Slab",
|
||||
"block.vplus.vertical_end_stone_brick_slab":"Vertical End Stone Brick Slab",
|
||||
"block.vplus.vertical_smooth_sandstone_slab":"Vertical Smooth Sandstone Slab",
|
||||
"block.vplus.vertical_smooth_quartz_slab":"Vertical Smooth Quartz Slab",
|
||||
"block.vplus.vertical_granite_slab":"Vertical Granite Slab",
|
||||
"block.vplus.vertical_andesite_slab":"Vertical Andesite Slab",
|
||||
"block.vplus.vertical_red_nether_brick_slab":"Vertical Red Nether Brick Slab",
|
||||
"block.vplus.vertical_polished_andesite_slab":"Vertical Polished Andesite Slab",
|
||||
"block.vplus.vertical_diorite_slab":"Vertical Diorite Slab",
|
||||
"block.vplus.vertical_blackstone_slab":"Vertical Blackstone Slab",
|
||||
"block.vplus.vertical_polished_blackstone_slab":"Vertical Polished Blackstone Slab",
|
||||
"block.vplus.vertical_polished_blackstone_brick_slab":"Vertical Polished Blackstone Brick Slab"
|
||||
}
|
@ -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"
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user