PaperMC / PaperMC/Paper

getCreativeCategory() doesn't work correctly

Open
#8,770 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: accepted type: bug version: 1.19
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

Returns the correct CreativeCategory from a Material

Observed/Actual behavior

Allways returns BUILDING_BLOCKS

Steps/models to reproduce

get the CreativeCategory from a Material and check if its the right one

Plugin and Datapack List

FFA(The problematic Plugin), LuckPerms, Multiverse-Core, Plan, WebConsole, Worldedit

Paper version

paper-1.19.3-371

Other

No response

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.

Research direction

Start by locating getCreativeCategory() and the Material implementation in the Paper API, then reproduce the report using paper-1.19.3-371 and a Material whose category is not BUILDING_BLOCKS. Done means the method returns the correct CreativeCategory for each tested Material.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.