Class GenericMappedEntity
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.GenericMappedEntity
- All Implemented Interfaces:
MappedEntity,StaticMappedEntity
-
Constructor Summary
ConstructorsConstructorDescriptionGenericMappedEntity(int id) GenericMappedEntity(ClientVersion ignoredVersion, int id) -
Method Summary
Modifier and TypeMethodDescriptionstatic GenericMappedEntitygetById(ClientVersion version, int id) intgetId()getName()static GenericMappedEntityread(PacketWrapper<?> wrapper) static voidwrite(PacketWrapper<?> wrapper, GenericMappedEntity entity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
isRegisteredMethods 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:
getIdin interfaceStaticMappedEntity
-
getName
- Specified by:
getNamein interfaceMappedEntity
-