PaperMC / PaperMC/Paper

More Events for Recipe related stuff

Open
#12,012 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: api
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Is your feature request related to a problem?

I'm currently developing an API allowing recipes with custom items as input, but there isn't any way to do the following:

  • Start smelting an item if a condition is met
  • Modify the result for the Crafter Block (not only if a valid recipe is given)
Describe the solution you'd like.

For the furnace:
An event triggered every tick, right before the furnace checks if it can smelt the given item.
This event should allow modifying the total cooking time required and provide a method to explicitly indicate whether the item can be smelted.

For the Crafter:
An event that's similar to PrepareItemCraftEvent.

Describe alternatives you've considered.

I tried mixins, but they don't work when only using PaperMC

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

No files or tests are named. Start by tracing the furnace smelting check and the Crafter preparation path in the Paper API and server code; done means both requested events exist with the described controls and are covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.