public interface ITeleporter
Teleporter
class, which has
been patched to implement this interface, for a vanilla example.Modifier and Type | Method and Description |
---|---|
default boolean |
isVanilla() |
void |
placeEntity(World world,
Entity entity,
float yaw)
Called to handle placing the entity in the new world.
|
void placeEntity(World world, Entity entity, float yaw)
WorldProvider.getMovementFactor()
).
Note that the supplied entity has not yet been spawned
in the destination world at the time.world
- the entity's destinationentity
- the entity to be placedyaw
- the suggested yaw value to applydefault boolean isVanilla()