TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

MC_PRE_ENTITY_SPAWN and MC_PRE_ROOM_ENTITY_SPAWN should be able to accept a boolean return value to prevent the entity from spawning entirely

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

callback request enhancement
Dominant language
C++
Stars
345
Forks
51
Avg merge
11h 2m
Merged PRs (30d)
4

Description

This issue has no description.

Contributor guide

No contributing guide indexed for this repository

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

Locate the implementations and dispatch paths for MC_PRE_ENTITY_SPAWN and MC_PRE_ROOM_ENTITY_SPAWN, then inspect how their Lua callback return values are handled. Define and implement the boolean-return behavior so a false result prevents the entity from spawning entirely, and verify both events reject the spawn as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.