Skip to content

Add support for custom entities in the API#3754

Closed
Redned235 wants to merge 5 commits intomasterfrom
feature/new-custom-entity-api
Closed

Add support for custom entities in the API#3754
Redned235 wants to merge 5 commits intomasterfrom
feature/new-custom-entity-api

Conversation

@Redned235
Copy link
Copy Markdown
Member

@Redned235 Redned235 commented May 9, 2023

These changes are adopted from some older code, but the code in this PR introduces support for creating custom entity definitions upon registration as well as support for modifying existing entity spawns to use custom entity identifiers.

TO-DO's:

  • allowing registering non-vanilla entities (requires changes in mcpl!)
  • remove per-session functionality
  • allow custom entity properties to work for custom entity definitions
  • figure out separation between custom entities and entity types... there's no guarantee that they'll match

Allows for creating custom entity definitions upon registration as well as modifying existing entity spawns to use custom entity identifiers.
@Konicai Konicai added PR: Feature When a PR implements a new feature Extensions labels May 14, 2023
@matsyyy

This comment was marked as spam.

rtm516 and others added 4 commits March 24, 2024 15:38
…m-entity-api

# Conflicts:
#	core/src/main/java/org/geysermc/geyser/GeyserImpl.java
#	core/src/main/java/org/geysermc/geyser/entity/EntityDefinition.java
#	core/src/main/java/org/geysermc/geyser/registry/Registries.java
#	core/src/main/java/org/geysermc/geyser/registry/loader/ProviderRegistryLoader.java
#	core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
#	core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/JavaAddEntityTranslator.java
#	core/src/main/java/org/geysermc/geyser/util/EntityUtils.java
@onebeastchris
Copy link
Copy Markdown
Member

Superseded by #6010

@onebeastchris onebeastchris deleted the feature/new-custom-entity-api branch February 4, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Extensions PR: Feature When a PR implements a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants