Using Parts (Group Entities)
Getting the Parts (entities) of an ActiveGroup
ActiveGroup<?> group = yourMethodToGetAGroup();
SpawnedDisplayEntityGroup spawnedGroup; //subclass of ActiveGroup
PacketDisplayEntityGroup packetGroup; //subclass of ActiveGroup
//Get all parts in a group
List<ActivePart> parts = group.getParts();
//Get a list of parts by their part type
SpawnedDisplayEntityPart.PartType itemType = SpawnedDisplayEntityPart.PartType.ITEM;
List<ActivePart> itemParts = group.geParts(type);
//Get a list of all display entity parts (BLOCK, ITEM, TEXT)
List<ActivePart> displayEntityParts = group.getDisplayParts();
//Get a list of all parts with a specified part tag
List<ActivePart> taggedParts = group.getParts("tag");
//Get a list of all parts containing at least one of the part tags in a given collection
Collection<String> tags = List.of("tag1", "tag2");
List<ActivePart> multiTaggedParts = group.getParts(tags);Add/Remove a part to/from a group
Manipulate Any Part Entity (Some Methods)
Manipulate Display Entities (Some Methods)
Manipulate Interaction Entities
Manipulate Mannequin Entities (Some Methods)
Last updated
