mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Bulk addition of constant visibilities
thanks PhpStorm inspections plugin for annoying the shit out of me until I did this.
This commit is contained in:
@ -29,56 +29,56 @@ namespace pocketmine\network\mcpe\protocol;
|
||||
use pocketmine\network\mcpe\NetworkSession;
|
||||
|
||||
class EntityEventPacket extends DataPacket{
|
||||
const NETWORK_ID = ProtocolInfo::ENTITY_EVENT_PACKET;
|
||||
public const NETWORK_ID = ProtocolInfo::ENTITY_EVENT_PACKET;
|
||||
|
||||
const HURT_ANIMATION = 2;
|
||||
const DEATH_ANIMATION = 3;
|
||||
const ARM_SWING = 4;
|
||||
public const HURT_ANIMATION = 2;
|
||||
public const DEATH_ANIMATION = 3;
|
||||
public const ARM_SWING = 4;
|
||||
|
||||
const TAME_FAIL = 6;
|
||||
const TAME_SUCCESS = 7;
|
||||
const SHAKE_WET = 8;
|
||||
const USE_ITEM = 9;
|
||||
const EAT_GRASS_ANIMATION = 10;
|
||||
const FISH_HOOK_BUBBLE = 11;
|
||||
const FISH_HOOK_POSITION = 12;
|
||||
const FISH_HOOK_HOOK = 13;
|
||||
const FISH_HOOK_TEASE = 14;
|
||||
const SQUID_INK_CLOUD = 15;
|
||||
const ZOMBIE_VILLAGER_CURE = 16;
|
||||
public const TAME_FAIL = 6;
|
||||
public const TAME_SUCCESS = 7;
|
||||
public const SHAKE_WET = 8;
|
||||
public const USE_ITEM = 9;
|
||||
public const EAT_GRASS_ANIMATION = 10;
|
||||
public const FISH_HOOK_BUBBLE = 11;
|
||||
public const FISH_HOOK_POSITION = 12;
|
||||
public const FISH_HOOK_HOOK = 13;
|
||||
public const FISH_HOOK_TEASE = 14;
|
||||
public const SQUID_INK_CLOUD = 15;
|
||||
public const ZOMBIE_VILLAGER_CURE = 16;
|
||||
|
||||
const RESPAWN = 18;
|
||||
const IRON_GOLEM_OFFER_FLOWER = 19;
|
||||
const IRON_GOLEM_WITHDRAW_FLOWER = 20;
|
||||
const LOVE_PARTICLES = 21; //breeding
|
||||
public const RESPAWN = 18;
|
||||
public const IRON_GOLEM_OFFER_FLOWER = 19;
|
||||
public const IRON_GOLEM_WITHDRAW_FLOWER = 20;
|
||||
public const LOVE_PARTICLES = 21; //breeding
|
||||
|
||||
const WITCH_SPELL_PARTICLES = 24;
|
||||
const FIREWORK_PARTICLES = 25;
|
||||
public const WITCH_SPELL_PARTICLES = 24;
|
||||
public const FIREWORK_PARTICLES = 25;
|
||||
|
||||
const SILVERFISH_SPAWN_ANIMATION = 27;
|
||||
public const SILVERFISH_SPAWN_ANIMATION = 27;
|
||||
|
||||
const WITCH_DRINK_POTION = 29;
|
||||
const WITCH_THROW_POTION = 30;
|
||||
const MINECART_TNT_PRIME_FUSE = 31;
|
||||
public const WITCH_DRINK_POTION = 29;
|
||||
public const WITCH_THROW_POTION = 30;
|
||||
public const MINECART_TNT_PRIME_FUSE = 31;
|
||||
|
||||
const PLAYER_ADD_XP_LEVELS = 34;
|
||||
const ELDER_GUARDIAN_CURSE = 35;
|
||||
const AGENT_ARM_SWING = 36;
|
||||
const ENDER_DRAGON_DEATH = 37;
|
||||
const DUST_PARTICLES = 38; //not sure what this is
|
||||
public const PLAYER_ADD_XP_LEVELS = 34;
|
||||
public const ELDER_GUARDIAN_CURSE = 35;
|
||||
public const AGENT_ARM_SWING = 36;
|
||||
public const ENDER_DRAGON_DEATH = 37;
|
||||
public const DUST_PARTICLES = 38; //not sure what this is
|
||||
|
||||
const EATING_ITEM = 57;
|
||||
public const EATING_ITEM = 57;
|
||||
|
||||
const BABY_ANIMAL_FEED = 60; //green particles, like bonemeal on crops
|
||||
const DEATH_SMOKE_CLOUD = 61;
|
||||
const COMPLETE_TRADE = 62;
|
||||
const REMOVE_LEASH = 63; //data 1 = cut leash
|
||||
public const BABY_ANIMAL_FEED = 60; //green particles, like bonemeal on crops
|
||||
public const DEATH_SMOKE_CLOUD = 61;
|
||||
public const COMPLETE_TRADE = 62;
|
||||
public const REMOVE_LEASH = 63; //data 1 = cut leash
|
||||
|
||||
const CONSUME_TOTEM = 65;
|
||||
const PLAYER_CHECK_TREASURE_HUNTER_ACHIEVEMENT = 66; //mojang...
|
||||
const ENTITY_SPAWN = 67; //used for MinecraftEventing stuff, not needed
|
||||
const DRAGON_PUKE = 68; //they call this puke particles
|
||||
const ITEM_ENTITY_MERGE = 69;
|
||||
public const CONSUME_TOTEM = 65;
|
||||
public const PLAYER_CHECK_TREASURE_HUNTER_ACHIEVEMENT = 66; //mojang...
|
||||
public const ENTITY_SPAWN = 67; //used for MinecraftEventing stuff, not needed
|
||||
public const DRAGON_PUKE = 68; //they call this puke particles
|
||||
public const ITEM_ENTITY_MERGE = 69;
|
||||
|
||||
//TODO: add more events
|
||||
|
||||
|
Reference in New Issue
Block a user