Release Highlights
- New Skript Syntax
- API Changes
- Bug Fixes
Skript Changes
- Updated to
Skript v2.14.0
- Added
Player's Selected Active Part to get the selected active part of a player
Code:
set {_activepart} to player's selected part
- Added
Rotate Active Group/Part to update the axis rotation of an active group/part, in degrees.
Code:
deu rotate y of {_activegroup} by 45
deu rotate z of {_activepart} by 20
deu rotate world y of {_activepart} by 90

API Changes
DisplayGroupManager Changes
[!IMPORTANT]
Many changes have been made regarding how a group is retrieved from an entity, a location, chunk, or world
Group From Location
-
#getSpawnedGroups() - get all spawned groups registered in the current play session
-
#getSpawnedGroups(World) - get all spawned groups registered in a world
-
#getSpawnedGroups(Chunk) - get all spawned groups registered in a chunk
-
#getSpawnedGroupsByCreationTime(Chunk) - get all spawned groups registered in a chunk, keyed in a map by group creation time
-
#getNearbySpawnedGroups(Location, double) - get all nearby registered spawned groups in a radius
-
#getOrCreateNearestSpawnedGroup(Location, radius) - get and/or create many registered spawned groups in a radius
-
#getNearestSpawnedGroup(Location) - get the nearest registered spawned group in a radius
-
#getOrCreateNearestSpawnedGroup(Location, radius) - get and/or create the nearest registered spawned group in a radius
Group From Entity
-
#getSpawnedGroup(Display) - get a registered spawned group that a given
Display is part of
-
#getOrCreateSpawnedGroup(Display) - get and/or create a registered spawned group that a given
Display is part of
-
#getSpawnedGroup(Entity, radius) - get a registered spawned group that an eligible part entity is part of (
Interaction,
Mannequin)
Bug Fixes / QOL
- Improved speed of group detection when a chunk loads for the first time
- Fixed per-player animations not working
- Fixed logic of
AcitvePart#rotateDisplay
- Fixed non-display parts (
Interaction,
Mannequin) becoming ungrouped after their chunk unloads and loads again
- Fixed a memory leak related to group detection during chunk loads
What's Changed
* 3.4.3 by @PZDonny in
https://github.com/PZDonny/DisplayEntityUtils/pull/67
Full Changelog:
https://github.com/PZDonny/DisplayEntityUtils/compare/3.4.2...3.4.3