public class Sponge4ArmorListener extends ViaListener
| Constructor and Description |
|---|
Sponge4ArmorListener() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getEntityId(org.spongepowered.api.entity.living.player.Player p) |
void |
onInteract(org.spongepowered.api.event.action.InteractEvent event,
org.spongepowered.api.entity.living.player.Player player) |
void |
onInventoryClick(org.spongepowered.api.event.item.inventory.ClickInventoryEvent e,
org.spongepowered.api.entity.living.player.Player player) |
void |
onJoin(org.spongepowered.api.event.network.ClientConnectionEvent.Join e) |
void |
onRespawn(org.spongepowered.api.event.entity.living.humanoid.player.RespawnPlayerEvent e) |
void |
onWorldChange(DisplaceEntityEvent.Teleport e) |
void |
register()
Register the event
|
void |
sendArmorUpdate(org.spongepowered.api.entity.living.player.Player player) |
void |
sendDelayedArmorUpdate(org.spongepowered.api.entity.living.player.Player player) |
getRequiredPipeline, getUserConnection, isOnPipe, isRegistered, setRegisteredpublic void sendArmorUpdate(org.spongepowered.api.entity.living.player.Player player)
public void onInventoryClick(org.spongepowered.api.event.item.inventory.ClickInventoryEvent e,
org.spongepowered.api.entity.living.player.Player player)
public void onInteract(org.spongepowered.api.event.action.InteractEvent event,
org.spongepowered.api.entity.living.player.Player player)
public void onJoin(org.spongepowered.api.event.network.ClientConnectionEvent.Join e)
public void onRespawn(org.spongepowered.api.event.entity.living.humanoid.player.RespawnPlayerEvent e)
public void onWorldChange(DisplaceEntityEvent.Teleport e)
public void sendDelayedArmorUpdate(org.spongepowered.api.entity.living.player.Player player)
public void register()
ViaListenerregister in class ViaListenerprotected int getEntityId(org.spongepowered.api.entity.living.player.Player p)
Copyright © 2016–2021. All rights reserved.