static class TeleportCommand.Facing
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private EntityAnchorArgument.Type |
anchor |
private Entity |
entity |
private Vec3d |
position |
Constructor and Description |
---|
Facing(Entity entityIn,
EntityAnchorArgument.Type anchorIn) |
Facing(Vec3d positionIn) |
Modifier and Type | Method and Description |
---|---|
void |
updateLook(CommandSource source,
Entity entityIn) |
private final Vec3d position
private final Entity entity
private final EntityAnchorArgument.Type anchor
public Facing(Entity entityIn, EntityAnchorArgument.Type anchorIn)
public Facing(Vec3d positionIn)
public void updateLook(CommandSource source, Entity entityIn)