Class GenericMappedEntity
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.GenericMappedEntity
- All Implemented Interfaces:
MappedEntity
,StaticMappedEntity
-
Constructor Summary
ConstructorDescriptionGenericMappedEntity
(int id) GenericMappedEntity
(ClientVersion ignoredVersion, int id) -
Method Summary
Modifier and TypeMethodDescriptionstatic GenericMappedEntity
getById
(ClientVersion version, int id) int
getId()
getName()
static GenericMappedEntity
read
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, GenericMappedEntity entity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
isRegistered
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.StaticMappedEntity
getId
-
Constructor Details
-
GenericMappedEntity
-
GenericMappedEntity
public GenericMappedEntity(int id)
-
-
Method Details
-
getById
-
read
-
write
-
getId
public int getId()- Specified by:
getId
in interfaceStaticMappedEntity
-
getName
- Specified by:
getName
in interfaceMappedEntity
-