TreeLopper nbt and metadata specific tools

Open
#1,165 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
game-dev

Research direction

Start by locating the TreeLopper configuration's tool-list handling and item-matching entry point, then compare its metadata and name checks with the custom crafting syntax referenced in the report. Done means configured axes with the shown durability and display-name metadata are distinguished from other axes, with the behavior verified.

Written by the indexing model from the issue text.

Description

status:accepted type:feature-request version:five

CRAFTBOOK-3458 - Reported by shazbotpolska

so basically I would like to create lumber axes but when I was defining in config the very items with all of their properties
The TREE LOPPER wants to use all of the axes instead of the lumber ones
I am sure that I've written proper item syntax for them because it was copied from custom crafting and I guess you use the same type of syntax all over the plugin.

heres a tree lopper config I am using:
TreeLopper: block-list: - minecraft:acacia_log - minecraft:acacia_wood - minecraft:birch_log - minecraft:birch_wood - minecraft:dark_oak_log - minecraft:dark_oak_wood - minecraft:jungle_log - minecraft:jungle_wood - minecraft:oak_log - minecraft:oak_wood - minecraft:spruce_log - minecraft:spruce_wood - minecraft:stripped_acacia_log - minecraft:stripped_acacia_wood - minecraft:stripped_birch_log - minecraft:stripped_birch_wood - minecraft:stripped_dark_oak_log - minecraft:stripped_dark_oak_wood - minecraft:stripped_jungle_log - minecraft:stripped_jungle_wood - minecraft:stripped_oak_log - minecraft:stripped_oak_wood - minecraft:stripped_spruce_log - minecraft:stripped_spruce_wood tool-list: - 'minecraft:iron_axe;DURABILITY:2|&7Iron &6Lumber&a Drwala ' - 'minecraft:wooden_axe;DURABILITY:3|&0&lStone&f &6Lumber&a Axe ' - 'minecraft:stone_axe;DURABILITY:3|&7&lStone&f &6Lumber&a Axe ' - 'minecraft:diamond_axe;DURABILITY:1|&bDiamond &6Lumber&a Axe ' - 'minecraft:golden_axe;DURABILITY:3|&e&lGolden&f &6Lumber&a Axe ' max-size: 30 allow-diagonals: true place-saplings: true break-leaves: true single-damage-axe: false

Dominant language
Java
Stars
320
Forks
165
Avg merge
6d 21h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EngineHub/CraftBook

All issues in EngineHub/CraftBook

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.