Rubber fence and fence gate. Some work on #1739
This commit is contained in:
parent
7defc53242
commit
f38b87996a
46 changed files with 249 additions and 116 deletions
|
@ -1,38 +0,0 @@
|
|||
/*
|
||||
* This file is part of TechReborn, licensed under the MIT License (MIT).
|
||||
*
|
||||
* Copyright (c) 2018 TechReborn
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package techreborn.blocks.misc;
|
||||
|
||||
import net.fabricmc.fabric.api.block.FabricBlockSettings;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.MaterialColor;
|
||||
import net.minecraft.block.SlabBlock;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
|
||||
public class BlockRubberPlankSlab extends SlabBlock {
|
||||
|
||||
public BlockRubberPlankSlab() {
|
||||
super(FabricBlockSettings.of(Material.WOOD, MaterialColor.SPRUCE).strength(2.0F, 15.0F).sounds(BlockSoundGroup.WOOD).build());
|
||||
}
|
||||
}
|
|
@ -24,9 +24,16 @@
|
|||
|
||||
package techreborn.events;
|
||||
|
||||
import net.fabricmc.fabric.api.block.FabricBlockSettings;
|
||||
import net.minecraft.block.FenceBlock;
|
||||
import net.minecraft.block.FenceGateBlock;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.block.MaterialColor;
|
||||
import net.minecraft.block.SlabBlock;
|
||||
import net.minecraft.entity.EquipmentSlot;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.Item.Settings;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import reborncore.RebornRegistry;
|
||||
import techreborn.TechReborn;
|
||||
import techreborn.blocks.misc.BlockComputerCube;
|
||||
|
@ -36,7 +43,6 @@ import techreborn.blocks.misc.BlockReinforcedGlass;
|
|||
import techreborn.blocks.misc.BlockRubberLeaves;
|
||||
import techreborn.blocks.misc.BlockRubberLog;
|
||||
import techreborn.blocks.misc.BlockRubberPlank;
|
||||
import techreborn.blocks.misc.BlockRubberPlankSlab;
|
||||
import techreborn.blocks.misc.BlockRubberPlankStair;
|
||||
import techreborn.blocks.misc.BlockRubberSapling;
|
||||
import techreborn.config.TechRebornConfig;
|
||||
|
@ -107,9 +113,23 @@ public class ModRegistry {
|
|||
RebornRegistry.registerBlock(TRContent.RUBBER_LOG = InitUtils.setup(new BlockRubberLog(), "rubber_log"), itemGroup);
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_PLANKS = InitUtils.setup(new BlockRubberPlank(), "rubber_planks"), itemGroup);
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_SAPLING = InitUtils.setup(new BlockRubberSapling(), "rubber_sapling"), itemGroup);
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_PLANK_SLAB = InitUtils.setup(new BlockRubberPlankSlab(), "rubber_plank_slab"), itemGroup);
|
||||
RebornRegistry.registerBlock(
|
||||
TRContent.RUBBER_PLANK_SLAB = InitUtils
|
||||
.setup(new SlabBlock(FabricBlockSettings.of(Material.WOOD, MaterialColor.SPRUCE)
|
||||
.strength(2.0F, 15.0F).sounds(BlockSoundGroup.WOOD).build()), "rubber_plank_slab"),
|
||||
itemGroup);
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_PLANK_STAIR = InitUtils.setup(new BlockRubberPlankStair(), "rubber_plank_stair"), itemGroup);
|
||||
|
||||
RebornRegistry.registerBlock(
|
||||
TRContent.RUBBER_FENCE = InitUtils
|
||||
.setup(new FenceBlock(FabricBlockSettings.of(Material.WOOD, MaterialColor.SPRUCE)
|
||||
.strength(2.0F, 15.0F).sounds(BlockSoundGroup.WOOD).build()), "rubber_fence"),
|
||||
itemGroup);
|
||||
RebornRegistry.registerBlock(
|
||||
TRContent.RUBBER_FENCE_GATE = InitUtils
|
||||
.setup(new FenceGateBlock(FabricBlockSettings.of(Material.WOOD, MaterialColor.SPRUCE)
|
||||
.strength(2.0F, 15.0F).sounds(BlockSoundGroup.WOOD).build()), "rubber_fence_gate"),
|
||||
itemGroup);
|
||||
|
||||
TechReborn.LOGGER.debug("TechReborns Blocks Loaded");
|
||||
}
|
||||
|
||||
|
|
|
@ -86,6 +86,8 @@ public class TRContent {
|
|||
public static Block RUBBER_PLANK_STAIR;
|
||||
public static Block RUBBER_PLANKS;
|
||||
public static Block RUBBER_SAPLING;
|
||||
public static Block RUBBER_FENCE;
|
||||
public static Block RUBBER_FENCE_GATE;
|
||||
|
||||
// Armor
|
||||
public static Item CLOAKING_DEVICE;
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"multipart": [
|
||||
{ "apply": { "model": "techreborn:block/rubber/rubber_fence_post" }},
|
||||
{ "when": { "north": "true" },
|
||||
"apply": { "model": "techreborn:block/rubber/rubber_fence_side", "uvlock": true }
|
||||
},
|
||||
{ "when": { "east": "true" },
|
||||
"apply": { "model": "techreborn:block/rubber/rubber_fence_side", "y": 90, "uvlock": true }
|
||||
},
|
||||
{ "when": { "south": "true" },
|
||||
"apply": { "model": "techreborn:block/rubber/rubber_fence_side", "y": 180, "uvlock": true }
|
||||
},
|
||||
{ "when": { "west": "true" },
|
||||
"apply": { "model": "techreborn:block/rubber/rubber_fence_side", "y": 270, "uvlock": true }
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=south,in_wall=false,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate", "uvlock": true },
|
||||
"facing=west,in_wall=false,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate", "uvlock": true, "y": 90 },
|
||||
"facing=north,in_wall=false,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate", "uvlock": true, "y": 180 },
|
||||
"facing=east,in_wall=false,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate", "uvlock": true, "y": 270 },
|
||||
"facing=south,in_wall=false,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_open", "uvlock": true },
|
||||
"facing=west,in_wall=false,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_open", "uvlock": true, "y": 90 },
|
||||
"facing=north,in_wall=false,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_open", "uvlock": true, "y": 180 },
|
||||
"facing=east,in_wall=false,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_open", "uvlock": true, "y": 270 },
|
||||
"facing=south,in_wall=true,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate_wall", "uvlock": true },
|
||||
"facing=west,in_wall=true,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate_wall", "uvlock": true, "y": 90 },
|
||||
"facing=north,in_wall=true,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate_wall", "uvlock": true, "y": 180 },
|
||||
"facing=east,in_wall=true,open=false": { "model": "techreborn:block/rubber/rubber_fence_gate_wall", "uvlock": true, "y": 270 },
|
||||
"facing=south,in_wall=true,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_wall_open", "uvlock": true },
|
||||
"facing=west,in_wall=true,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_wall_open", "uvlock": true, "y": 90 },
|
||||
"facing=north,in_wall=true,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_wall_open", "uvlock": true, "y": 180 },
|
||||
"facing=east,in_wall=true,open=true": { "model": "techreborn:block/rubber/rubber_fence_gate_wall_open", "uvlock": true, "y": 270 }
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "techreborn:block/rubber_leaves" }
|
||||
"": { "model": "techreborn:block/rubber/rubber_leaves" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
{
|
||||
"variants": {
|
||||
"axis=y,facing=east,hassap=false": { "model": "techreborn:block/rubber_log" },
|
||||
"axis=z,facing=east,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=east,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=south,hassap=false": { "model": "techreborn:block/rubber_log" },
|
||||
"axis=z,facing=south,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=south,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=west,hassap=false": { "model": "techreborn:block/rubber_log" },
|
||||
"axis=z,facing=west,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=west,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=north,hassap=false": { "model": "techreborn:block/rubber_log" },
|
||||
"axis=z,facing=north,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=north,hassap=false": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=east,hassap=true": { "model": "techreborn:block/rubber_log_with_sap", "y": 90 },
|
||||
"axis=z,facing=east,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=east,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=south,hassap=true": { "model": "techreborn:block/rubber_log_with_sap", "y": 180 },
|
||||
"axis=z,facing=south,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=south,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=west,hassap=true": { "model": "techreborn:block/rubber_log_with_sap", "y": 270 },
|
||||
"axis=z,facing=west,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=west,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=north,hassap=true": { "model": "techreborn:block/rubber_log_with_sap" },
|
||||
"axis=z,facing=north,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90 },
|
||||
"axis=x,facing=north,hassap=true": { "model": "techreborn:block/rubber_log", "x": 90, "y": 90 }
|
||||
"axis=y,facing=east,hassap=false": { "model": "techreborn:block/rubber/rubber_log" },
|
||||
"axis=z,facing=east,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=east,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=south,hassap=false": { "model": "techreborn:block/rubber/rubber_log" },
|
||||
"axis=z,facing=south,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=south,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=west,hassap=false": { "model": "techreborn:block/rubber/rubber_log" },
|
||||
"axis=z,facing=west,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=west,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=north,hassap=false": { "model": "techreborn:block/rubber/rubber_log" },
|
||||
"axis=z,facing=north,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=north,hassap=false": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=east,hassap=true": { "model": "techreborn:block/rubber/rubber_log_with_sap", "y": 90 },
|
||||
"axis=z,facing=east,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=east,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=south,hassap=true": { "model": "techreborn:block/rubber/rubber_log_with_sap", "y": 180 },
|
||||
"axis=z,facing=south,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=south,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=west,hassap=true": { "model": "techreborn:block/rubber/rubber_log_with_sap", "y": 270 },
|
||||
"axis=z,facing=west,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=west,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 },
|
||||
"axis=y,facing=north,hassap=true": { "model": "techreborn:block/rubber/rubber_log_with_sap" },
|
||||
"axis=z,facing=north,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90 },
|
||||
"axis=x,facing=north,hassap=true": { "model": "techreborn:block/rubber/rubber_log", "x": 90, "y": 90 }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"variants": {
|
||||
"type=bottom": { "model": "techreborn:block/rubber_plank_slab" },
|
||||
"type=top": { "model": "techreborn:block/rubber_plank_slab_top" },
|
||||
"type=double": { "model": "techreborn:block/rubber_planks" }
|
||||
"type=bottom": { "model": "techreborn:block/rubber/rubber_plank_slab" },
|
||||
"type=top": { "model": "techreborn:block/rubber/rubber_plank_slab_top" },
|
||||
"type=double": { "model": "techreborn:block/rubber/rubber_planks" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,44 +1,44 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=bottom,shape=straight": { "model": "techreborn:block/rubber_plank_stair" },
|
||||
"facing=west,half=bottom,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "y": 180, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "y": 90, "uvlock": true },
|
||||
"facing=north,half=bottom,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "y": 270, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer" },
|
||||
"facing=west,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "y": 180, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "y": 90, "uvlock": true },
|
||||
"facing=north,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "y": 270, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "y": 270, "uvlock": true },
|
||||
"facing=west,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "y": 90, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer" },
|
||||
"facing=north,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "y": 180, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner" },
|
||||
"facing=west,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "y": 180, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "y": 90, "uvlock": true },
|
||||
"facing=north,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "y": 270, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "y": 270, "uvlock": true },
|
||||
"facing=west,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "y": 90, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner" },
|
||||
"facing=north,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "y": 180, "uvlock": true },
|
||||
"facing=east,half=top,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "x": 180, "uvlock": true },
|
||||
"facing=west,half=top,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=south,half=top,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=north,half=top,shape=straight": { "model": "techreborn:block/rubber_plank_stair", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=east,half=top,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=west,half=top,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=south,half=top,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=north,half=top,shape=outer_right": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "uvlock": true },
|
||||
"facing=east,half=top,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "uvlock": true },
|
||||
"facing=west,half=top,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=south,half=top,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=north,half=top,shape=outer_left": { "model": "techreborn:block/rubber_plank_stair_outer", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=east,half=top,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=west,half=top,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=south,half=top,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=north,half=top,shape=inner_right": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "uvlock": true },
|
||||
"facing=east,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "uvlock": true },
|
||||
"facing=west,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=south,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=north,half=top,shape=inner_left": { "model": "techreborn:block/rubber_plank_stair_inner", "x": 180, "y": 270, "uvlock": true }
|
||||
"facing=east,half=bottom,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair" },
|
||||
"facing=west,half=bottom,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "y": 180, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "y": 90, "uvlock": true },
|
||||
"facing=north,half=bottom,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "y": 270, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer" },
|
||||
"facing=west,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "y": 180, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "y": 90, "uvlock": true },
|
||||
"facing=north,half=bottom,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "y": 270, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "y": 270, "uvlock": true },
|
||||
"facing=west,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "y": 90, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer" },
|
||||
"facing=north,half=bottom,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "y": 180, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner" },
|
||||
"facing=west,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "y": 180, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "y": 90, "uvlock": true },
|
||||
"facing=north,half=bottom,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "y": 270, "uvlock": true },
|
||||
"facing=east,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "y": 270, "uvlock": true },
|
||||
"facing=west,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "y": 90, "uvlock": true },
|
||||
"facing=south,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner" },
|
||||
"facing=north,half=bottom,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "y": 180, "uvlock": true },
|
||||
"facing=east,half=top,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "x": 180, "uvlock": true },
|
||||
"facing=west,half=top,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=south,half=top,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=north,half=top,shape=straight": { "model": "techreborn:block/rubber/rubber_plank_stair", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=east,half=top,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=west,half=top,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=south,half=top,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=north,half=top,shape=outer_right": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "uvlock": true },
|
||||
"facing=east,half=top,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "uvlock": true },
|
||||
"facing=west,half=top,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=south,half=top,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=north,half=top,shape=outer_left": { "model": "techreborn:block/rubber/rubber_plank_stair_outer", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=east,half=top,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=west,half=top,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "y": 270, "uvlock": true },
|
||||
"facing=south,half=top,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=north,half=top,shape=inner_right": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "uvlock": true },
|
||||
"facing=east,half=top,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "uvlock": true },
|
||||
"facing=west,half=top,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "y": 180, "uvlock": true },
|
||||
"facing=south,half=top,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "y": 90, "uvlock": true },
|
||||
"facing=north,half=top,shape=inner_left": { "model": "techreborn:block/rubber/rubber_plank_stair_inner", "x": 180, "y": 270, "uvlock": true }
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "techreborn:block/rubber_planks" }
|
||||
"": { "model": "techreborn:block/rubber/rubber_planks" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "techreborn:block/rubber_sapling" }
|
||||
"": { "model": "techreborn:block/rubber/rubber_sapling" }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,6 +88,8 @@
|
|||
"block.techreborn.rubber_plank_stair": "Rubber Plank Stair",
|
||||
"block.techreborn.rubber_leaves": "Rubber Leaves",
|
||||
"block.techreborn.rubber_sapling": "Rubber Sapling",
|
||||
"block.techreborn.rubber_fence": "Rubber Fence",
|
||||
"block.techreborn.rubber_fence_gate": "Rubber Fence Gate",
|
||||
"block.techreborn.refined_iron_fence": "Iron Fence",
|
||||
"block.techreborn.reinforced_glass": "Reinforced Glass",
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_fence_gate",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_fence_gate_open",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_fence_gate_wall",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_fence_gate_wall_open",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/fence_inventory",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/fence_post",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "minecraft:block/fence_side",
|
||||
"textures": {
|
||||
"texture": "techreborn:block/rubber_planks"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber/rubber_fence_inventory"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber/rubber_fence_gate"
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber_leaves"
|
||||
"parent": "techreborn:block/rubber/rubber_leaves"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber_log"
|
||||
"parent": "techreborn:block/rubber/rubber_log"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber_plank_slab"
|
||||
"parent": "techreborn:block/rubber/rubber_plank_slab"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber_plank_stair"
|
||||
"parent": "techreborn:block/rubber/rubber_plank_stair"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"parent": "techreborn:block/rubber_planks"
|
||||
"parent": "techreborn:block/rubber/rubber_planks"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_fence",
|
||||
"techreborn:refined_iron_fence"
|
||||
]
|
||||
}
|
6
src/main/resources/data/minecraft/tags/blocks/slabs.json
Normal file
6
src/main/resources/data/minecraft/tags/blocks/slabs.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_plank_slab"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_fence"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_plank_slab"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_plank_stair"
|
||||
]
|
||||
}
|
7
src/main/resources/data/minecraft/tags/items/fences.json
Normal file
7
src/main/resources/data/minecraft/tags/items/fences.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_fence",
|
||||
"techreborn:refined_iron_fence"
|
||||
]
|
||||
}
|
6
src/main/resources/data/minecraft/tags/items/slabs.json
Normal file
6
src/main/resources/data/minecraft/tags/items/slabs.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_plank_slab"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_fence"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_plank_slab"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:rubber_plank_stair"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue