ModAdapter
Provides an adapter for converting Mod/NMS objects to BetterModel platform objects.
This class implements PlatformAdapter and offers static utility methods for adapting entities, players, items, and worlds.
Since
2.0.0
Companion functions
Link copied to clipboard
Adapts a GameProfile to a PlatformOfflinePlayer.
Adapts a UUID to a PlatformOfflinePlayer.
Adapts an NMS server player to a PlatformPlayer.
@NotNull
Adapts an NMS player connection to a PlatformPlayer.
Adapts an NMS entity to a PlatformEntity.
Adapts an NMS living entity to a PlatformLivingEntity.
Adapts an NMS item stack to a PlatformItemStack.
Adapts an NMS level to a PlatformWorld.