diff --git a/kubejs/startup_scripts/wheat_plus.js b/kubejs/startup_scripts/wheat_plus.js new file mode 100644 index 0000000..98ab628 --- /dev/null +++ b/kubejs/startup_scripts/wheat_plus.js @@ -0,0 +1,210 @@ +// priority: 0 + +console.info(`${global.LOG_PREFIX} 注册 wheat_plus 相关内容`); + +/** 模组 ID */ +const modID = 'wheat_plus'; + +/** + * @description 设置方块碰撞箱属性 + * @param {Internal.BlockBuilder} block + * @param {'full'|'half'} type + */ +const setBlockBoxProps = function (block, type) { + if (type === 'full') { + block.box(0, 0, 0, 16, 16, 16, true); + block.fullBlock(true); + block.opaque(true); + } else if (type === 'half') { + block.box(0, 0, 0, 16, 8, 16, true); + block.fullBlock(false); + block.opaque(false); + } +}; + +// 注册方块 +onEvent('block.registry', (event) => { + + console.info(`${global.LOG_PREFIX} 注册方块 - 开始`); + + /** 模型文件基础路径 */ + const modelPathBase = `${modID}:block/`; + + /** 纹理文件基础路径 */ + const texturePathBase = `${modID}:block/`; + + /** 路方块基础属性 */ + const roadBlockAttrs = { + hardness: 8.0, + lightLevel: 0, + material: 'rock', + renderType: 'cutout', + resistance: 16.0, + }; + + /** 普通路方块 */ + const roadBlocksNormal = [ + { + name: 'road_blank', + label: '路 - 空白', + texturePath: 'transparent', + hasNormal: true, + hasSlant: false, + }, + { + name: 'road_line_single_white', + label: '路 - 单白线', + texturePath: 'road/line/single_white', + hasNormal: true, + hasSlant: true, + }, + { + name: 'road_line_single_yellow', + label: '路 - 单黄线', + texturePath: 'road/line/single_yellow', + hasNormal: true, + hasSlant: true, + }, + { + name: 'road_line_double_white', + label: '路 - 双白线', + texturePath: 'road/line/double_white', + hasNormal: true, + hasSlant: true, + }, + { + name: 'road_line_double_yellow', + label: '路 - 双黄线', + texturePath: 'road/line/double_yellow', + hasNormal: true, + hasSlant: true, + }, + ]; + + roadBlocksNormal.forEach((config) => { + + /** 方块 ID,包含模组 ID */ + const id = `${modID}:${config.name}`; + + /** 方块名称文本 */ + const label = (config.label || 'Unknown'); + + /** 纹理文件相对路径 */ + const texturePath = config.texturePath; + + // 完整,直线 + if (config.hasNormal) { + + const block = event.create(`${id}_full`, 'basic'); + + block.displayName(`${label},完整,直线`); + + setBlockBoxProps(block, 'full'); + + if (texturePath) { + block.modelJson = { + parent: `${modelPathBase}road/base_full`, + textures: { + content: `${texturePathBase}${texturePath}`, + side: `${texturePathBase}${texturePath}` + } + }; + } + + for (let attr in roadBlockAttrs) { + block[attr](roadBlockAttrs[attr]); + } + + } + + // 完整,斜线 + if (config.hasSlant) { + + const block = event.create(`${id}_full_slant`, 'basic'); + + block.displayName(`${label},完整,斜线`); + + setBlockBoxProps(block, 'full'); + + if (texturePath) { + block.modelJson = { + parent: `${modelPathBase}road/base_full`, + textures: { + content: `${texturePathBase}${texturePath}_slant`, + side: `${texturePathBase}${texturePath}` + } + }; + } + + for (let attr in roadBlockAttrs) { + block[attr](roadBlockAttrs[attr]); + } + + } + + // 一半,直线 + if (config.hasNormal) { + + const block = event.create(`${id}_half`, 'basic'); + + block.displayName(`${label},一半,直线`); + + setBlockBoxProps(block, 'half'); + + if (texturePath) { + block.modelJson = { + parent: `${modelPathBase}road/base_half`, + textures: { + content: `${texturePathBase}${texturePath}`, + side: `${texturePathBase}${texturePath}` + } + }; + } + + for (let attr in roadBlockAttrs) { + block[attr](roadBlockAttrs[attr]); + } + + } + + // 一半,斜线 + if (config.hasSlant) { + + const block = event.create(`${id}_half_slant`, 'basic'); + + block.displayName(`${label},一半,斜线`); + + setBlockBoxProps(block, 'half'); + + if (texturePath) { + block.modelJson = { + parent: `${modelPathBase}road/base_half`, + textures: { + content: `${texturePathBase}${texturePath}_slant`, + side: `${texturePathBase}${texturePath}` + } + }; + } + + for (let attr in roadBlockAttrs) { + block[attr](roadBlockAttrs[attr]); + } + + } + + }); + + console.info(`${global.LOG_PREFIX} 注册方块 - 完成`); + +}); + +// 注册物品 +onEvent('item.registry', (event) => { + + console.info(`${global.LOG_PREFIX} 注册物品 - 开始`); + + // event.create('example_item').displayName('Example Item'); + + console.info(`${global.LOG_PREFIX} 注册物品 - 完成`); + +}); diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/0.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/0.png new file mode 100644 index 0000000..e824724 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/0.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/1.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/1.png new file mode 100644 index 0000000..75100e4 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/1.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/2.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/2.png new file mode 100644 index 0000000..3cf011c Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/2.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/3.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/3.png new file mode 100644 index 0000000..18f0830 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/3.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/4.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/4.png new file mode 100644 index 0000000..75100e4 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/4.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/bl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/bl.png new file mode 100644 index 0000000..b5d99e6 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/bl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/br.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/br.png new file mode 100644 index 0000000..a0dbe16 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/br.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/c_normal.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/c_normal.properties new file mode 100644 index 0000000..a3549b2 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/c_normal.properties @@ -0,0 +1,13 @@ +matchTiles=wheat_plus:block/road/line/double_white +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/c_slant.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/c_slant.properties new file mode 100644 index 0000000..5e40034 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/c_slant.properties @@ -0,0 +1,19 @@ +matchTiles=wheat_plus:block/road/line/double_white_slant +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 + +# corner +ctm.4=5 +ctm.5=6 +ctm.16=7 +ctm.17=8 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/tl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/tl.png new file mode 100644 index 0000000..44d5949 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/tl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/tr.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/tr.png new file mode 100644 index 0000000..7235b58 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_white/tr.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/0.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/0.png new file mode 100644 index 0000000..eb9e961 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/0.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/1.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/1.png new file mode 100644 index 0000000..7dc200e Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/1.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/2.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/2.png new file mode 100644 index 0000000..8460c99 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/2.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/3.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/3.png new file mode 100644 index 0000000..91a1b06 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/3.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/4.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/4.png new file mode 100644 index 0000000..7dc200e Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/4.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/bl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/bl.png new file mode 100644 index 0000000..9179c95 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/bl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/br.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/br.png new file mode 100644 index 0000000..d4bb057 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/br.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/c_normal.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/c_normal.properties new file mode 100644 index 0000000..f359247 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/c_normal.properties @@ -0,0 +1,13 @@ +matchTiles=wheat_plus:block/road/line/double_yellow +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/c_slant.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/c_slant.properties new file mode 100644 index 0000000..8756917 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/c_slant.properties @@ -0,0 +1,19 @@ +matchTiles=wheat_plus:block/road/line/double_yellow_slant +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 + +# corner +ctm.4=5 +ctm.5=6 +ctm.16=7 +ctm.17=8 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/tl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/tl.png new file mode 100644 index 0000000..382a305 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/tl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/tr.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/tr.png new file mode 100644 index 0000000..3e9ad49 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_double_yellow/tr.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/0.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/0.png new file mode 100644 index 0000000..04f17ec Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/0.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/1.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/1.png new file mode 100644 index 0000000..f027c3a Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/1.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/2.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/2.png new file mode 100644 index 0000000..74a43d8 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/2.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/3.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/3.png new file mode 100644 index 0000000..d8e3263 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/3.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/4.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/4.png new file mode 100644 index 0000000..f027c3a Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/4.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/bl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/bl.png new file mode 100644 index 0000000..7f4630b Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/bl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/br.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/br.png new file mode 100644 index 0000000..fe9e41d Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/br.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/c_normal.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/c_normal.properties new file mode 100644 index 0000000..9e9b5c1 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/c_normal.properties @@ -0,0 +1,13 @@ +matchTiles=wheat_plus:block/road/line/single_white +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/c_slant.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/c_slant.properties new file mode 100644 index 0000000..3399e89 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/c_slant.properties @@ -0,0 +1,19 @@ +matchTiles=wheat_plus:block/road/line/single_white_slant +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 + +# corner +ctm.4=5 +ctm.5=6 +ctm.16=7 +ctm.17=8 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/tl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/tl.png new file mode 100644 index 0000000..d41c137 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/tl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/tr.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/tr.png new file mode 100644 index 0000000..85b8169 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_white/tr.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/0.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/0.png new file mode 100644 index 0000000..cc667b0 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/0.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/1.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/1.png new file mode 100644 index 0000000..d2c0c9d Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/1.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/2.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/2.png new file mode 100644 index 0000000..3ce6ec3 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/2.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/3.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/3.png new file mode 100644 index 0000000..c654739 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/3.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/4.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/4.png new file mode 100644 index 0000000..d2c0c9d Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/4.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/bl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/bl.png new file mode 100644 index 0000000..81abcde Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/bl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/br.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/br.png new file mode 100644 index 0000000..7c18194 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/br.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/c_normal.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/c_normal.properties new file mode 100644 index 0000000..3adfb05 --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/c_normal.properties @@ -0,0 +1,13 @@ +matchTiles=wheat_plus:block/road/line/single_yellow +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/c_slant.properties b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/c_slant.properties new file mode 100644 index 0000000..aed9bdf --- /dev/null +++ b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/c_slant.properties @@ -0,0 +1,19 @@ +matchTiles=wheat_plus:block/road/line/single_yellow_slant +method=ctm_compact +faces=top + +# tile index: +# 0-4,5, 6, 7, 8 +tiles=0-4,tl,tr,bl,br + +# side +ctm.1=3 +ctm.3=3 +ctm.12=2 +ctm.36=2 + +# corner +ctm.4=5 +ctm.5=6 +ctm.16=7 +ctm.17=8 diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/tl.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/tl.png new file mode 100644 index 0000000..6a61915 Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/tl.png differ diff --git a/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/tr.png b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/tr.png new file mode 100644 index 0000000..56f6f5c Binary files /dev/null and b/resourcepack/assets/minecraft/optifine/ctm/road_line_single_yellow/tr.png differ diff --git a/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel.json b/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel.json new file mode 100644 index 0000000..25cf90c --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel.json @@ -0,0 +1,41 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "wheat_plus:block/road/base", + "texture": "wheat_plus:block/road/base", + "side": "wheat_plus:block/road/base_bevel_side", + "content": "wheat_plus:block/road/content" + }, + "elements": [ + { + "name": "Content", + "from": [0, -1.9, -2], + "to": [16, -1.9, 14], + "rotation": {"angle": -45, "axis": "x", "origin": [0, 0, 0], "rescale": true}, + "faces": { + "up": {"uv": [0, 0, 16, 16], "rotation": 180, "texture": "#content"} + } + }, + { + "name": "Bevel", + "from": [0, -2, -2], + "to": [16, -2, 14], + "rotation": {"angle": -45, "axis": "x", "origin": [0, 0, 0], "rescale": true}, + "faces": { + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + }, + { + "name": "Main", + "from": [0, -4, 0], + "to": [16, 12, 16], + "faces": { + "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "west": {"uv": [0, 0, 16, 16], "rotation": 270, "texture": "#side"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel_inner.json b/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel_inner.json new file mode 100644 index 0000000..a7c542e --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel_inner.json @@ -0,0 +1,41 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "wheat_plus:block/road/base", + "texture": "wheat_plus:block/road/base", + "side": "wheat_plus:block/road/base_bevel_side" + }, + "elements": [ + { + "name": "Bevel", + "from": [0, -2, -2], + "to": [16, -2, 14], + "rotation": {"angle": -45, "axis": "x", "origin": [0, 0, 0], "rescale": true}, + "faces": { + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + }, + { + "name": "Bevel", + "from": [-6, 6, 0], + "to": [10, 6, 16], + "rotation": {"angle": -45, "axis": "z", "origin": [0, 0, 0], "rescale": true}, + "faces": { + "up": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + }, + { + "name": "Main", + "from": [0, -4, 0], + "to": [16, 12, 16], + "faces": { + "north": {"uv": [0, 0, 16, 16], "rotation": 270, "texture": "#side"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#texture"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel_outer.json b/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel_outer.json new file mode 100644 index 0000000..9a48566 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/road/_unused_/base_bevel_outer.json @@ -0,0 +1,39 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "textures": { + "particle": "wheat_plus:block/road/base", + "texture": "wheat_plus:block/road/base", + "side": "wheat_plus:block/road/base_bevel_side" + }, + "elements": [ + { + "name": "Bevel", + "from": [-6, 6, 0], + "to": [10, 6, 16], + "rotation": {"angle": -45, "axis": "z", "origin": [0, 0, 0], "rescale": true}, + "faces": { + "up": {"uv": [0, 0, 16, 16], "rotation": 270, "texture": "#side"} + } + }, + { + "name": "Bevel", + "from": [0, -2, -2], + "to": [16, -2, 14], + "rotation": {"angle": -45, "axis": "x", "origin": [0, 0, 0], "rescale": true}, + "faces": { + "up": {"uv": [0, 0, 16, 16], "rotation": 90, "texture": "#side"} + } + }, + { + "name": "Main", + "from": [0, -4, 0], + "to": [16, 12, 16], + "faces": { + "south": {"uv": [0, 0, 16, 16], "texture": "#side"}, + "west": {"uv": [0, 0, 16, 16], "rotation": 270, "texture": "#side"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#texture"} + } + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/road/base_full.json b/resourcepack/assets/wheat_plus/models/block/road/base_full.json new file mode 100644 index 0000000..5c5e639 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/road/base_full.json @@ -0,0 +1,76 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "wheat_plus:block/road/base", + "base": "wheat_plus:block/road/base", + "content": "wheat_plus:block/road/content", + "side": "wheat_plus:block/transparent" + }, + "elements": [ + { + "name": "content", + "from": [0, 16.1, 0], + "to": [16, 16.1, 16], + "faces": { + "up": {"uv": [0, 0, 16, 16], "texture": "#content"} + } + }, + { + "name": "base", + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#base", "cullface": "north"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#base", "cullface": "east"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#base", "cullface": "south"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#base", "cullface": "west"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#base"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#base", "cullface": "down"} + } + }, + { + "name": "north", + "from": [0, 0, -0.1], + "to": [16, 16, -0.1], + "faces": { + "north": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "north"} + } + }, + { + "name": "south", + "from": [0, 0, 16.1], + "to": [16, 16, 16.1], + "faces": { + "south": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "south"} + } + }, + { + "name": "west", + "from": [-0.1, 0, 0], + "to": [-0.1, 16, 16], + "faces": { + "west": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "west"} + } + }, + { + "name": "east", + "from": [16.1, 0, 0], + "to": [16.1, 16, 16], + "faces": { + "east": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "east"} + } + } + ], + "groups": [ + 0, + 1, + { + "name": "side", + "origin": [0, 0, 0], + "color": 0, + "children": [2, 3, 4, 5] + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/models/block/road/base_half.json b/resourcepack/assets/wheat_plus/models/block/road/base_half.json new file mode 100644 index 0000000..28c7657 --- /dev/null +++ b/resourcepack/assets/wheat_plus/models/block/road/base_half.json @@ -0,0 +1,76 @@ +{ + "credit": "Created by Frost-ZX using Blockbench.", + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "wheat_plus:block/road/base", + "base": "wheat_plus:block/road/base", + "content": "wheat_plus:block/road/content", + "side": "wheat_plus:block/transparent" + }, + "elements": [ + { + "name": "content", + "from": [0, 8.1, 0], + "to": [16, 8.1, 16], + "faces": { + "up": {"uv": [0, 0, 16, 16], "texture": "#content"} + } + }, + { + "name": "base", + "from": [0, 0, 0], + "to": [16, 8, 16], + "faces": { + "north": {"uv": [0, 8, 16, 16], "texture": "#base", "cullface": "north"}, + "east": {"uv": [0, 8, 16, 16], "texture": "#base", "cullface": "east"}, + "south": {"uv": [0, 8, 16, 16], "texture": "#base", "cullface": "south"}, + "west": {"uv": [0, 8, 16, 16], "texture": "#base", "cullface": "west"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#base"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#base", "cullface": "down"} + } + }, + { + "name": "north", + "from": [0, 0, -0.1], + "to": [16, 8, -0.1], + "faces": { + "north": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "north"} + } + }, + { + "name": "south", + "from": [0, 0, 16.1], + "to": [16, 8, 16.1], + "faces": { + "south": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "south"} + } + }, + { + "name": "west", + "from": [-0.1, 0, 0], + "to": [-0.1, 8, 16], + "faces": { + "west": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "west"} + } + }, + { + "name": "east", + "from": [16.1, 0, 0], + "to": [16.1, 8, 16], + "faces": { + "east": {"uv": [0, 8, 16, 16], "texture": "#side", "cullface": "east"} + } + } + ], + "groups": [ + 0, + 1, + { + "name": "side", + "origin": [0, 0, 0], + "color": 0, + "children": [2, 3, 4, 5] + } + ] +} \ No newline at end of file diff --git a/resourcepack/assets/wheat_plus/textures/block/road/_unused_/base_bevel_side.png b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/base_bevel_side.png new file mode 100644 index 0000000..71d3345 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/base_bevel_side.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/_unused_/base_bevel_side_concrete.png b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/base_bevel_side_concrete.png new file mode 100644 index 0000000..3493348 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/base_bevel_side_concrete.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_gray.png b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_gray.png new file mode 100644 index 0000000..765cac0 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_gray.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_white.png b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_white.png new file mode 100644 index 0000000..9821fcb Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_white.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_yellow.png b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_yellow.png new file mode 100644 index 0000000..ba4e4d6 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/_unused_/concrete_yellow.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/base.png b/resourcepack/assets/wheat_plus/textures/block/road/base.png new file mode 100644 index 0000000..9728ccf Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/base.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/content.png b/resourcepack/assets/wheat_plus/textures/block/road/content.png new file mode 100644 index 0000000..9821fcb Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/content.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/double_white.png b/resourcepack/assets/wheat_plus/textures/block/road/line/double_white.png new file mode 100644 index 0000000..1764df8 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/double_white.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/double_white_slant.png b/resourcepack/assets/wheat_plus/textures/block/road/line/double_white_slant.png new file mode 100644 index 0000000..44d5949 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/double_white_slant.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/double_yellow.png b/resourcepack/assets/wheat_plus/textures/block/road/line/double_yellow.png new file mode 100644 index 0000000..84eac68 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/double_yellow.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/double_yellow_slant.png b/resourcepack/assets/wheat_plus/textures/block/road/line/double_yellow_slant.png new file mode 100644 index 0000000..382a305 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/double_yellow_slant.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/single_white.png b/resourcepack/assets/wheat_plus/textures/block/road/line/single_white.png new file mode 100644 index 0000000..3981ef6 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/single_white.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/single_white_slant.png b/resourcepack/assets/wheat_plus/textures/block/road/line/single_white_slant.png new file mode 100644 index 0000000..d41c137 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/single_white_slant.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/single_yellow.png b/resourcepack/assets/wheat_plus/textures/block/road/line/single_yellow.png new file mode 100644 index 0000000..b1e3524 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/single_yellow.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/road/line/single_yellow_slant.png b/resourcepack/assets/wheat_plus/textures/block/road/line/single_yellow_slant.png new file mode 100644 index 0000000..6a61915 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/road/line/single_yellow_slant.png differ diff --git a/resourcepack/assets/wheat_plus/textures/block/transparent.png b/resourcepack/assets/wheat_plus/textures/block/transparent.png new file mode 100644 index 0000000..af78123 Binary files /dev/null and b/resourcepack/assets/wheat_plus/textures/block/transparent.png differ