geforkt von Mirrors/Paper
SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
55523cfcfc
Commit
c3487bf220
@ -56,7 +56,8 @@ public interface Skull extends BlockState {
|
|||||||
public void setOwningPlayer(OfflinePlayer player);
|
public void setOwningPlayer(OfflinePlayer player);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the rotation of the skull in the world
|
* Gets the rotation of the skull in the world (or facing direction if this
|
||||||
|
* is a wall mounted skull).
|
||||||
*
|
*
|
||||||
* @return the rotation of the skull
|
* @return the rotation of the skull
|
||||||
* @deprecated use {@link BlockData}
|
* @deprecated use {@link BlockData}
|
||||||
@ -65,7 +66,8 @@ public interface Skull extends BlockState {
|
|||||||
public BlockFace getRotation();
|
public BlockFace getRotation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the rotation of the skull in the world
|
* Sets the rotation of the skull in the world (or facing direction if this
|
||||||
|
* is a wall mounted skull).
|
||||||
*
|
*
|
||||||
* @param rotation the rotation of the skull
|
* @param rotation the rotation of the skull
|
||||||
* @deprecated use {@link BlockData}
|
* @deprecated use {@link BlockData}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren