Class CustomEntity
java.lang.Object
net.raphimc.viabedrock.api.model.entity.Entity
net.raphimc.viabedrock.api.model.entity.CustomEntity
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.raphimc.viabedrock.api.model.entity.Entity
age, entityData, hasBossBar, hasNectar, javaId, javaType, javaUuid, mountRuntimeId, name, onGround, passengers, position, rotation, runtimeId, type, uniqueId, user -
Constructor Summary
ConstructorsConstructorDescriptionCustomEntity(com.viaversion.viaversion.api.connection.UserConnection user, long uniqueId, long runtimeId, String type, int javaId, EntityDefinitions.EntityDefinition entityDefinition) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidremove()voidsetPosition(Position3f position) voidsetRotation(Position3f rotation) Methods inherited from class net.raphimc.viabedrock.api.model.entity.Entity
addPassenger, addPrimaryPassenger, age, entityData, entityFlags, eyeOffset, getJavaEntityDataIndex, hasBossBar, hasNectar, isOffhandShield, isOnGround, javaId, javaType, javaUuid, mountEntityRuntimeId, name, passengers, playSound, position, removePassenger, rotation, runtimeId, setHasBossBar, setHasNectar, setMountEntityRuntimeId, setName, setOffhandShield, setOnGround, tick, translateEntityData, translateEntityProperties, type, uniqueId, updateEntityData, updateEntityData, updateEntityData
-
Constructor Details
-
CustomEntity
public CustomEntity(com.viaversion.viaversion.api.connection.UserConnection user, long uniqueId, long runtimeId, String type, int javaId, EntityDefinitions.EntityDefinition entityDefinition)
-
-
Method Details
-
setPosition
- Overrides:
setPositionin classEntity
-
setRotation
- Overrides:
setRotationin classEntity
-
remove
public void remove() -
onEntityDataChanged
protected void onEntityDataChanged()- Overrides:
onEntityDataChangedin classEntity
-