Interface EntityFactory<T extends Entity>
public interface EntityFactory<T extends Entity>
Represents a constructor to create an entity.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(GeyserSession session, int javaId, long bedrockId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
-
Method Details
-
create
T create(GeyserSession session, int javaId, long bedrockId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
-