Elder Guardian appearance API
This commit is contained in:
@@ -3295,6 +3295,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
}
|
}
|
||||||
// Paper end
|
// Paper end
|
||||||
|
|
||||||
|
// Paper start
|
||||||
|
@Override
|
||||||
|
public void showElderGuardian(boolean silent) {
|
||||||
|
if (getHandle().connection != null) getHandle().connection.send(new ClientboundGameEventPacket(ClientboundGameEventPacket.GUARDIAN_ELDER_EFFECT, silent ? 0F : 1F));
|
||||||
|
}
|
||||||
|
// Paper end
|
||||||
|
|
||||||
public Player.Spigot spigot()
|
public Player.Spigot spigot()
|
||||||
{
|
{
|
||||||
return this.spigot;
|
return this.spigot;
|
||||||
|
|||||||
Reference in New Issue
Block a user