Browse Source

initial commit

main 0.0.1
James Fenn 5 months ago
commit
27b76a72d0
8 changed files with 41 additions and 0 deletions
  1. +2
    -0
      .gitignore
  2. +15
    -0
      Makefile
  3. +4
    -0
      package.yml
  4. +8
    -0
      resourcepack/minecraft/blockstates/acacia_leaves.json
  5. +6
    -0
      resourcepack/minecraft/models/block/acacia_leaves.json
  6. +6
    -0
      resourcepack/minecraft/models/block/acacia_leaves_variant.json
  7. BIN
      resourcepack/minecraft/textures/block/acacia_leaves.png
  8. BIN
      resourcepack/minecraft/textures/block/acacia_leaves_variant.png

+ 2
- 0
.gitignore View File

@@ -0,0 +1,2 @@
_out/
*.zip

+ 15
- 0
Makefile View File

@@ -0,0 +1,15 @@
.PHONY: all nvm datapack resourcepack install clean

all: install

nvm:
source $(HOME)/.nvm/nvm.sh && nvm use 12.17.0

build: nvm
minecraft-packager build --resourcepack

install: build
minecraft-packager install --resourcepack

clean:
rm -rf _out/

+ 4
- 0
package.yml View File

@@ -0,0 +1,4 @@
name: Flowering Acacia
version: 0.0.1
description: Adds variated orange flowers to acacia tree leaves!
author: James Fenn <me@jfenn.me>

+ 8
- 0
resourcepack/minecraft/blockstates/acacia_leaves.json View File

@@ -0,0 +1,8 @@
{
"variants": {
"": [
{"model": "minecraft:block/acacia_leaves", "weight": 5},
{"model": "minecraft:block/acacia_leaves_variant"}
]
}
}

+ 6
- 0
resourcepack/minecraft/models/block/acacia_leaves.json View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "minecraft:block/acacia_leaves"
}
}

+ 6
- 0
resourcepack/minecraft/models/block/acacia_leaves_variant.json View File

@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/cube_all",
"textures": {
"all": "minecraft:block/acacia_leaves_variant"
}
}

BIN
resourcepack/minecraft/textures/block/acacia_leaves.png View File

Before After
Width: 16  |  Height: 16  |  Size: 397 B

BIN
resourcepack/minecraft/textures/block/acacia_leaves_variant.png View File

Before After
Width: 16  |  Height: 16  |  Size: 504 B

Loading…
Cancel
Save