project - icon

Entity Information

Server mod

ℹ️ Displays entity information on hit with the Information Stick. Useful for debugging and developing.

Utility

18 downloads 0 followers
Created a month ago
Updated 2 days ago

External resources



Project members

profile-picture

Owner


Technical information

License
Client side
optional
Server side
required
Project ID
8SrsIkt3



Requires the library mod Collective.

Entity Information adds displaying entity information by using the Information Stick. It gives a mod developer an easy way of getting information on an entity, both from the vanilla game and other mods.


The Information Stick may be received by entering the command /informationstick or /ist

After hitting an entity with the stick, various useful information will be sent. It can be used for debugging or developing other mods.

Explanation of variables: (Entity entity = e.getEntity());
Name (1.12): entity.getName();
Name (1.13+): entity.getName().getString();
EntityName: entity.toString().split("\\[")[0];
EntityId: entity.getEntityId();
UUID: entity.getUniqueID();
Position: entity.getPosition().toString().replace("BlockPos{", "").replace("}", "");
isSilent: entity.isSilent();
ticksExisted: entity.ticksExisted;


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!