mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-29 19:51:30 +01:00
Elder Guardian appearance API
This commit is contained in:
parent
4f1619700a
commit
7224eecfb1
@ -3295,6 +3295,13 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
}
|
||||
// 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()
|
||||
{
|
||||
return this.spigot;
|
||||
|
Loading…
Reference in New Issue
Block a user