diff --git a/bukkit/loader/src/main/resources/resources/default/configuration/plants.yml b/bukkit/loader/src/main/resources/resources/default/configuration/plants.yml index 46421ed0c..988d348dd 100644 --- a/bukkit/loader/src/main/resources/resources/default/configuration/plants.yml +++ b/bukkit/loader/src/main/resources/resources/default/configuration/plants.yml @@ -224,17 +224,17 @@ blocks: models: - path: "minecraft:block/custom/ender_pearl_crop_stage1" generation: - parent: "minecraft:block/crop" + parent: "minecraft:block/custom/tinted_cross" textures: - "crop": "minecraft:block/custom/ender_pearl_crop_stage1" + "cross": "minecraft:block/custom/ender_pearl_crop_stage1" ripe: state: "sugar_cane:4" models: - path: "minecraft:block/custom/ender_pearl_crop_stage2" generation: - parent: "minecraft:block/crop" + parent: "minecraft:block/custom/tinted_cross" textures: - "crop": "minecraft:block/custom/ender_pearl_crop_stage2" + "cross": "minecraft:block/custom/ender_pearl_crop_stage2" variants: age=0: appearance: default diff --git a/bukkit/loader/src/main/resources/resources/default/resourcepack/assets/minecraft/models/block/custom/tinted_cross.json b/bukkit/loader/src/main/resources/resources/default/resourcepack/assets/minecraft/models/block/custom/tinted_cross.json new file mode 100644 index 000000000..37c8b09f2 --- /dev/null +++ b/bukkit/loader/src/main/resources/resources/default/resourcepack/assets/minecraft/models/block/custom/tinted_cross.json @@ -0,0 +1,26 @@ +{ + "ambientocclusion": false, + "textures": { + "particle": "#cross" + }, + "elements": [ + { "from": [ 0.8, 0, 8 ], + "to": [ 15.2, 16, 8 ], + "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true }, + "shade": false, + "faces": { + "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }, + "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" } + } + }, + { "from": [ 8, 0, 0.8 ], + "to": [ 8, 16, 15.2 ], + "rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true }, + "shade": false, + "faces": { + "west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }, + "east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" } + } + } + ] +}