Skip to content

Conversation

@NonSwag
Copy link
Member

@NonSwag NonSwag commented Sep 30, 2025

Closes #98
Closes #61

  • Replace player characters with mannequins

@NonSwag NonSwag self-assigned this Sep 30, 2025
@NonSwag NonSwag added the enhancement New feature or request label Sep 30, 2025
renovate bot and others added 27 commits October 9, 2025 21:37
Update the paper-api dependency to use the correct version 1.21.9-pre2-R0.1-SNAPSHOT.
- Introduce methods to create and spawn Mannequin characters in `CharacterController`.
- Update `PaperCharacter` to handle Mannequin-specific attributes and profiles.
- Refactor argument types and commands to accommodate Mannequin characters.
- Implement serialization for `ResolvableProfile` to manage character skins.
Change the character type filter in MannequinCharacterArgumentType to only suggest characters of type MANNEQUIN instead of PLAYER.
Remove unused methods and fields related to pathfinding.
Update scoreboard name handling to use entity-specific names.
Adjust character creation to default to Mannequin type.
Introduce new entity codecs for handling the main hand and immovable properties of the Mannequin class in the EntityCodecs.
Enhance the loadCharacter method to update team options
before adjusting visibility for the player.
- Remove unused `skinPartBuilder` method from `SkinFactory` and `PaperSkinFactory`
- Update skin parts handling in `EntityCodecs` and `CharacterSkinLayerCommand`
- Rename `SkinLayer` class to `plugin.model` package
- Change `despawn` method to void and update its implementation.
- Modify `spawn` and `respawn` methods to return the spawned entity.
- Update `getCharacters` method to return a stream instead of a list.
- Introduce chunk-based character loading in `ChunkListener`.
- Set entities to non-persistent on spawn
- Prevent LivingEntity from being removed when far away
- Reset pose for entities in DYING state to STANDING
Implement event handling for entity damage to ensure characters respect their invulnerability state. Refactor player interaction method names for clarity.
Enhance error messages for spawn state validation
by including character name and spawn location details.
Ensure that the character's spawn location is in the same world as the chunk being processed to prevent mismatches.
Implement loading and setting of spawn location for characters.
Log warnings for any failures during location parsing.
Enhance character loading process to check for existing characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1.21.9 plans NPC knockback and fall damage

2 participants