Skip to content
Commits on Source (10)
.DS_Store
.DS_Store?
._*
*~
*#
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.vscode/
.idea/
pnpm-lock.yaml
package-lock.json
package-install.lock
node_modules/
_out/
*.zip
*.svg
*.bbmodel
image: node:12.17.0
cache:
paths:
- node_modules/
pages:
stage: deploy
script:
- npm install
- npm run build
- mkdir public
- cp -f _out/*.datapack.zip public/datapack.zip || true
- cp -f _out/*.resourcepack.zip public/resourcepack.zip || true
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
v12.17.0
.PHONY: all nvm datapack resourcepack install clean
.PHONY: build dev install clean
.DEFAULT_GOAL := dev
all: install
ifeq ($(shell test -f "$(HOME)/.nvm/nvm.sh"; echo $$?),0)
NVM := . $(HOME)/.nvm/nvm.sh && nvm use &> /dev/null
else
NVM := true
endif
nvm:
source $(HOME)/.nvm/nvm.sh && nvm use 12.17.0
ifeq (,$(shell $(NVM) && which pnpm))
NPM := $(NVM) && npm
else
NPM := $(NVM) && pnpm
endif
build: nvm
minecraft-packager build --resourcepack
build: install
$(NPM) run build
install: build
minecraft-packager install --resourcepack
dev: install
$(NPM) run dev
install: package-install.lock
package-install.lock: package.json
$(NPM) install
touch package-install.lock
clean:
rm -rf _out/
This resource pack adds a variant of acacia leaves that have orange flowers, much like the 1.17 flowering azalea trees.
![A screenshot of a flowering acacia tree.](./.images/acacia.png)
{
"name": "flowering-acacia",
"version": "0.0.4",
"description": "Adds variated orange flowers to acacia tree leaves!",
"scripts": {
"build": "minecraft-packager build",
"dev": "minecraft-packager install"
},
"config": {
"format": "1.20",
"type": "resourcepack",
"supports": ["1.17", "1.18", "1.19", "1.20"]
},
"author": "James Fenn <me@jfenn.me> (https://jfenn.me/)",
"license": "UNLICENSED",
"devDependencies": {
"minecraft-packager": "^1.3.1"
}
}
name: Flowering Acacia
version: 0.0.1
description: Adds variated orange flowers to acacia tree leaves!
author: James Fenn <me@jfenn.me>