PaperMC / PaperMC/Paper

Add CopperGolemTransportItemEvent for detect when golem pick/put item from/to chest/copper chest

Open
#13,440 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage
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 want to detect an event when the golem interacts with items in chests because none of the existing events fit my situation

Describe the solution you'd like.

Add an event like "CopperGolemTransportItemEvent" or "CopperGolemInteractItemEvent" with getters: getBlock(), getInteractedItem() (returns ItemStack in chest) getItem() (returns ItemStack in hand after interacting)

Describe alternatives you've considered.

EntityInteractEvent, ItemTransportingEntityValidateTargetEvent

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

Review the existing EntityInteractEvent and ItemTransportingEntityValidateTargetEvent first; no source files or tests are named. Done means an event covers copper-golem item transfers involving chests or copper chests and exposes the requested block and item-stack getters.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.