Remove old scripts that were used to generate a lot of the existing data.
If needed again they should be rewritten using the datagen mod.
This commit is contained in:
parent
89b47b33fd
commit
58423c560d
31 changed files with 0 additions and 819 deletions
30
build.gradle
30
build.gradle
|
@ -359,36 +359,6 @@ task github(dependsOn: remapJar) {
|
|||
}
|
||||
github.dependsOn(project(":RebornCore").getTasks().getByName("remapJar"))
|
||||
|
||||
task compileRecipes {
|
||||
description "Generate recipe JSON for similar recipes"
|
||||
def jsonSlurper = new JsonSlurper()
|
||||
def recipePath = "build/resources/main/data/techreborn/recipes"
|
||||
|
||||
def smeltingPath = recipePath + "/smelting"
|
||||
def blastingPath = recipePath + "/blasting"
|
||||
|
||||
doLast {
|
||||
// Add any recipe filenames that don't match the regex here
|
||||
String[] whitelist = []
|
||||
def pattern = ~'^\\w+_(ingot)\\w*\\.json$'
|
||||
|
||||
file(smeltingPath).eachFileRecurse(groovy.io.FileType.FILES) {
|
||||
if (whitelist.contains(it.name) || it.name ==~ pattern) {
|
||||
def recipe = jsonSlurper.parseText(it.text)
|
||||
|
||||
// Final failsafe
|
||||
if (["smelting", "minecraft:smelting"].contains(recipe.type)) {
|
||||
recipe.type = "minecraft:blasting"
|
||||
recipe.cookingtime = recipe.cookingtime / 2
|
||||
|
||||
File output = file(new File(blastingPath, it.name))
|
||||
output.write(JsonOutput.prettyPrint(JsonOutput.toJson(recipe)))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// A task to ensure that the version being released has not already been released.
|
||||
task checkVersion {
|
||||
doFirst {
|
||||
|
|
|
@ -1,120 +0,0 @@
|
|||
/*
|
||||
This is some awful script I made to convert none tagged items to use tags in recipes.
|
||||
Its awful but works, I dont know JS so its cobbled togeather from stackoverflow posts :P (It would be even if I knew js tho :P)
|
||||
|
||||
npm install file
|
||||
node makeTags.js
|
||||
|
||||
*/
|
||||
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const file = require("file")
|
||||
|
||||
//Enable to actaully fix recipes
|
||||
const fixRecipes = true;
|
||||
|
||||
console.log("generating tags")
|
||||
|
||||
function generate(tags){
|
||||
console.log("Found " + tags.length + " tags")
|
||||
|
||||
tags.forEach(tag => {
|
||||
|
||||
var fileName = tag.replace("_storage", "") + ".json"
|
||||
var tagJson = {
|
||||
"replace": false,
|
||||
"values": [
|
||||
"techreborn:" + tag
|
||||
]
|
||||
}
|
||||
|
||||
var jsonStr = JSON.stringify(tagJson, null, 4);
|
||||
fs.writeFileSync('data/c/tags/blocks/' + fileName, jsonStr, 'utf8', err => {});
|
||||
fs.writeFileSync('data/c/tags/items/' + fileName, jsonStr, 'utf8', err => {});
|
||||
|
||||
|
||||
replaceInRecipes(tag)
|
||||
})
|
||||
}
|
||||
|
||||
function replaceInRecipes(tag){
|
||||
file.walkSync("data/techreborn/recipes", (dirPath, dirs, files) => {
|
||||
|
||||
files.forEach(f => {
|
||||
try {
|
||||
replaceInRecipe(tag, dirPath + "\\" + f)
|
||||
} catch(err) {
|
||||
console.error("Failed to read " + dirPath + "\\" + f);
|
||||
throw err
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
function replaceInRecipe(tag, f){
|
||||
var item = "techreborn:" + tag;
|
||||
var tag = "c:" + tag.replace("_storage", "");
|
||||
|
||||
let fileContents = fs.readFileSync(f);
|
||||
let recipe = JSON.parse(fileContents);
|
||||
|
||||
var changed = false;
|
||||
|
||||
var checkEntries = (entries, parent) => {
|
||||
entries.forEach(entry => {
|
||||
if (typeof entry[1] === 'string'){
|
||||
if(entry[1] === item){
|
||||
if(entry[0] === "item"){
|
||||
console.log(entry[0] + " = " + entry[1])
|
||||
|
||||
parent.tag = tag
|
||||
delete parent.item
|
||||
|
||||
changed = true;
|
||||
}
|
||||
}
|
||||
|
||||
} else if (typeof entry[1] === 'object') {
|
||||
var key = entry[0];
|
||||
if(key === 'results' || key === 'result' || key === 'tank'){
|
||||
//Dont repalce tags here
|
||||
} else {
|
||||
checkEntries(Object.entries(entry[1]), entry[1])
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const entries = Object.entries(recipe)
|
||||
checkEntries(entries, recipe);
|
||||
|
||||
if (changed && fixRecipes) {
|
||||
var jsonStr = JSON.stringify(recipe, null, 4);
|
||||
//console.log(jsonStr + " -> " + f)
|
||||
fs.writeFileSync(f, jsonStr, err => {
|
||||
if (err){
|
||||
console.log("error")
|
||||
throw err;
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
var dirs = ['assets/techreborn/models/block/ore/', 'assets/techreborn/models/block/storage/']
|
||||
var tags = []
|
||||
|
||||
dirs.forEach(dir => {
|
||||
file.walkSync(dir, (dirPath, dirs, files) => {
|
||||
console.log(dirPath)
|
||||
files.forEach(f => {
|
||||
tags.push(f.substring(0, f.length - 5))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
console.log(tags)
|
||||
generate(tags)
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"variants": {
|
||||
"": { "model": "techreborn:block/storage/%name%" }
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "techreborn:block/storage/%name%"
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "techreborn:%name%"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_all",
|
||||
"textures": {
|
||||
"all": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"files" : [
|
||||
{
|
||||
"from" : "block/blockstate.json",
|
||||
"to" : "assets/techreborn/blockstates/%name%.json"
|
||||
},
|
||||
{
|
||||
"from" : "stair/blockstate_stair.json",
|
||||
"to" : "assets/techreborn/blockstates/%name%_stairs.json"
|
||||
},
|
||||
{
|
||||
"from" : "slab/blockstate_slab.json",
|
||||
"to" : "assets/techreborn/blockstates/%name%_slab.json"
|
||||
},
|
||||
{
|
||||
"from" : "wall/blockstate_wall.json",
|
||||
"to" : "assets/techreborn/blockstates/%name%_wall.json"
|
||||
},
|
||||
|
||||
{
|
||||
"from" : "block/model.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%.json"
|
||||
},
|
||||
{
|
||||
"from" : "stair/model_stair.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_stairs.json"
|
||||
},
|
||||
{
|
||||
"from" : "stair/model_stair_inner.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_stairs_inner.json"
|
||||
},
|
||||
{
|
||||
"from" : "stair/model_stair_outer.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_stairs_outer.json"
|
||||
},
|
||||
{
|
||||
"from" : "slab/model_slab.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_slab.json"
|
||||
},
|
||||
{
|
||||
"from" : "slab/model_slab_top.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_slab_top.json"
|
||||
},
|
||||
{
|
||||
"from" : "wall/model_wall_inventory.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_wall_inventory.json"
|
||||
},
|
||||
{
|
||||
"from" : "wall/model_wall_post.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_wall_post.json"
|
||||
},
|
||||
{
|
||||
"from" : "wall/model_wall_side.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_wall_side.json"
|
||||
},
|
||||
{
|
||||
"from" : "wall/model_wall_side_tall.json",
|
||||
"to" : "assets/techreborn/models/block/storage/%name%_wall_side_tall.json"
|
||||
},
|
||||
|
||||
{
|
||||
"from" : "block/item_model.json",
|
||||
"to" : "assets/techreborn/models/item/%name%.json"
|
||||
},
|
||||
{
|
||||
"from" : "stair/item_model_stair.json",
|
||||
"to" : "assets/techreborn/models/item/%name%_stairs.json"
|
||||
},
|
||||
{
|
||||
"from" : "slab/item_model_slab.json",
|
||||
"to" : "assets/techreborn/models/item/%name%_slab.json"
|
||||
},
|
||||
{
|
||||
"from" : "wall/item_model_wall.json",
|
||||
"to" : "assets/techreborn/models/item/%name%_wall.json"
|
||||
},
|
||||
|
||||
{
|
||||
"from" : "recipes/slab.json",
|
||||
"to" : "data/techreborn/recipes/crafting_table/storage_block/%name%_slab.json"
|
||||
},
|
||||
{
|
||||
"from" : "recipes/slab_stonecutting.json",
|
||||
"to" : "data/techreborn/recipes/crafting_table/storage_block/%name%_slab_stonecutting.json"
|
||||
},
|
||||
{
|
||||
"from" : "recipes/stair.json",
|
||||
"to" : "data/techreborn/recipes/crafting_table/storage_block/%name%_stair.json"
|
||||
},
|
||||
{
|
||||
"from" : "recipes/stair_stonecutting.json",
|
||||
"to" : "data/techreborn/recipes/crafting_table/storage_block/%name%_stair_stonecutting.json"
|
||||
},
|
||||
{
|
||||
"from" : "recipes/wall.json",
|
||||
"to" : "data/techreborn/recipes/crafting_table/storage_block/%name%_wall.json"
|
||||
},
|
||||
{
|
||||
"from" : "recipes/wall_stonecutting.json",
|
||||
"to" : "data/techreborn/recipes/crafting_table/storage_block/%name%_wall_stonecutting.json"
|
||||
},
|
||||
|
||||
{
|
||||
"from": "block/loot_block.json",
|
||||
"to": "data/techreborn/loot_tables/blocks/%name%.json"
|
||||
},
|
||||
{
|
||||
"from": "slab/loot_slab.json",
|
||||
"to": "data/techreborn/loot_tables/blocks/%name%_slab.json"
|
||||
},
|
||||
{
|
||||
"from": "stair/loot_stair.json",
|
||||
"to": "data/techreborn/loot_tables/blocks/%name%_stairs.json"
|
||||
},
|
||||
{
|
||||
"from": "wall/loot_wall.json",
|
||||
"to": "data/techreborn/loot_tables/blocks/%name%_wall.json"
|
||||
}
|
||||
|
||||
|
||||
]
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "techreborn:%name%"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:%name%_slab",
|
||||
"count": 6
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:stonecutting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:%name%"
|
||||
},
|
||||
"result": "techreborn:%name%_slab",
|
||||
"count": 2
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"# ",
|
||||
"## ",
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "techreborn:%name%"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:%name%_stairs",
|
||||
"count": 4
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:stonecutting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:%name%"
|
||||
},
|
||||
"result": "techreborn:%name%_stairs",
|
||||
"count": 1
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:crafting_shaped",
|
||||
"pattern": [
|
||||
"###",
|
||||
"###"
|
||||
],
|
||||
"key": {
|
||||
"#": {
|
||||
"item": "techreborn:%name%"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "techreborn:%name%_wall",
|
||||
"count": 6
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:stonecutting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:%name%"
|
||||
},
|
||||
"result": "techreborn:%name%_wall",
|
||||
"count": 1
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"variants": {
|
||||
"type=bottom": {
|
||||
"model": "techreborn:block/storage/%name%_slab"
|
||||
},
|
||||
"type=double": {
|
||||
"model": "techreborn:block/storage/%name%"
|
||||
},
|
||||
"type=top": {
|
||||
"model": "techreborn:block/storage/%name%_slab_top"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "techreborn:block/storage/%name%_slab"
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "techreborn:%name%_slab"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/slab",
|
||||
"textures": {
|
||||
"bottom": "techreborn:block/storage/%name%",
|
||||
"top": "techreborn:block/storage/%name%",
|
||||
"side": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/slab_top",
|
||||
"textures": {
|
||||
"bottom": "techreborn:block/storage/%name%",
|
||||
"top": "techreborn:block/storage/%name%",
|
||||
"side": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,209 +0,0 @@
|
|||
{
|
||||
"variants": {
|
||||
"facing=east,half=bottom,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=east,half=bottom,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner"
|
||||
},
|
||||
"facing=east,half=bottom,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=east,half=bottom,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer"
|
||||
},
|
||||
"facing=east,half=bottom,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs"
|
||||
},
|
||||
"facing=east,half=top,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=east,half=top,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=east,half=top,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=east,half=top,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=east,half=top,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"x": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=bottom,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=bottom,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=bottom,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=bottom,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=bottom,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=top,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=top,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=top,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=top,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=north,half=top,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"x": 180,
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=bottom,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner"
|
||||
},
|
||||
"facing=south,half=bottom,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=bottom,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer"
|
||||
},
|
||||
"facing=south,half=bottom,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=bottom,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=top,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=top,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=top,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=top,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=south,half=top,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"x": 180,
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=bottom,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=bottom,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=bottom,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=bottom,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=bottom,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=top,shape=inner_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=top,shape=inner_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_inner",
|
||||
"x": 180,
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=top,shape=outer_left": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=top,shape=outer_right": {
|
||||
"model": "techreborn:block/storage/%name%_stairs_outer",
|
||||
"x": 180,
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
},
|
||||
"facing=west,half=top,shape=straight": {
|
||||
"model": "techreborn:block/storage/%name%_stairs",
|
||||
"x": 180,
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "techreborn:block/storage/%name%_stairs"
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "techreborn:%name%_stairs"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/stairs",
|
||||
"textures": {
|
||||
"bottom": "techreborn:block/storage/%name%",
|
||||
"top": "techreborn:block/storage/%name%",
|
||||
"side": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/inner_stairs",
|
||||
"textures": {
|
||||
"bottom": "techreborn:block/storage/%name%",
|
||||
"top": "techreborn:block/storage/%name%",
|
||||
"side": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/outer_stairs",
|
||||
"textures": {
|
||||
"bottom": "techreborn:block/storage/%name%",
|
||||
"top": "techreborn:block/storage/%name%",
|
||||
"side": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,90 +0,0 @@
|
|||
{
|
||||
"multipart": [
|
||||
{
|
||||
"when": {
|
||||
"up": "true"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_post"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"north": "low"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side",
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"east": "low"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"south": "low"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"west": "low"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"north": "tall"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side_tall",
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"east": "tall"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side_tall",
|
||||
"y": 90,
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"south": "tall"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side_tall",
|
||||
"y": 180,
|
||||
"uvlock": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"west": "tall"
|
||||
},
|
||||
"apply": {
|
||||
"model": "techreborn:block/storage/%name%_wall_side_tall",
|
||||
"y": 270,
|
||||
"uvlock": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"parent": "techreborn:block/storage/%name%_wall_inventory"
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "techreborn:%name%_wall"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/wall_inventory",
|
||||
"textures": {
|
||||
"wall": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_wall_post",
|
||||
"textures": {
|
||||
"wall": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_wall_side",
|
||||
"textures": {
|
||||
"wall": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"parent": "minecraft:block/template_wall_side_tall",
|
||||
"textures": {
|
||||
"wall": "techreborn:block/storage/%name%"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue