FourKit 1469f90c
The LCE C# Server Plugin API
Loading...
Searching...
No Matches
Minecraft.Server.FourKit.Entity Namespace Reference

Classes

class  Damageable
 Represents an Entity that can take damage and has health. More...
class  Entity
 Represents a base entity in the world. More...
class  HumanEntity
 Represents a human entity in the world (e.g. a player). More...
class  Item
 Represents a dropped item on the ground. More...
class  LivingEntity
 Represents a living entity in the world that has health and can take damage. More...
interface  OfflinePlayer
 Represents a player identity that may or may not currently be online. More...
class  Player
 Represents a player connected to the server. More...

Enumerations

enum  DisconnectReason {
  NONE = 0 , QUITTING = 1 , CLOSED = 2 , LOGIN_TOO_LONG = 3 ,
  ILLEGAL_STANCE = 4 , ILLEGAL_POSITION = 5 , MOVED_TOO_QUICKLY = 6 , NO_FLYING = 7 ,
  KICKED = 8 , TIME_OUT = 9 , OVERFLOW = 10 , END_OF_STREAM = 11 ,
  SERVER_FULL = 12 , OUTDATED_SERVER = 13 , OUTDATED_CLIENT = 14 , UNEXPECTED_PACKET = 15 ,
  CONNECTION_CREATION_FAILED = 16 , NO_MULTIPLAYER_PRIVILEGES_HOST = 17 , NO_MULTIPLAYER_PRIVILEGES_JOIN = 18 , NO_UGC_ALL_LOCAL = 19 ,
  NO_UGC_SINGLE_LOCAL = 20 , CONTENT_RESTRICTED_ALL_LOCAL = 21 , CONTENT_RESTRICTED_SINGLE_LOCAL = 22 , NO_UGC_REMOTE = 23 ,
  NO_FRIENDS_IN_GAME = 24 , BANNED = 25 , NOT_FRIENDS_WITH_HOST = 26 , NAT_MISMATCH = 27
}
 Enum representing the reason a player was disconnected from the server. mirrored from DisconnectPacket::eDisconnectReason. More...
enum  EntityType {
  ARROW , BAT , BLAZE , BOAT ,
  CAVE_SPIDER , CHICKEN , COMPLEX_PART , COW ,
  CREEPER , DROPPED_ITEM , EGG , ENDER_CRYSTAL ,
  ENDER_DRAGON , ENDER_PEARL , ENDER_SIGNAL , ENDERMAN ,
  EXPERIENCE_ORB , FALLING_BLOCK , FIREBALL , FIREWORK ,
  FISHING_HOOK , GHAST , GIANT , HORSE ,
  IRON_GOLEM , ITEM_FRAME , LEASH_HITCH , LIGHTNING ,
  MAGMA_CUBE , MINECART , MINECART_CHEST , MINECART_COMMAND ,
  MINECART_FURNACE , MINECART_HOPPER , MINECART_MOB_SPAWNER , MINECART_TNT ,
  MUSHROOM_COW , OCELOT , PAINTING , PIG ,
  PIG_ZOMBIE , PLAYER , PRIMED_TNT , SHEEP ,
  SILVERFISH , SKELETON , SLIME , SMALL_FIREBALL ,
  SNOWBALL , SNOWMAN , SPIDER , SPLASH_POTION ,
  SQUID , THROWN_EXP_BOTTLE , UNKNOWN , VILLAGER ,
  WEATHER , WITCH , WITHER , WITHER_SKULL ,
  WOLF , ZOMBIE
}
 Represents the type of an Entity. More...

Enumeration Type Documentation

◆ DisconnectReason

Enum representing the reason a player was disconnected from the server. mirrored from DisconnectPacket::eDisconnectReason.

Enumerator
NONE 

No specific reason.

QUITTING 

The player quit voluntarily.

CLOSED 

The connection was closed.

LOGIN_TOO_LONG 

The login took too long.

ILLEGAL_STANCE 

The player had an illegal stance.

ILLEGAL_POSITION 

The player had an illegal position.

MOVED_TOO_QUICKLY 

The player moved too quickly.

NO_FLYING 

The player was flying when not allowed.

KICKED 

The player was kicked by an operator or plugin.

TIME_OUT 

The connection timed out.

OVERFLOW 

Packet overflow.

END_OF_STREAM 

End of stream reached unexpectedly.

SERVER_FULL 

The server is full.

OUTDATED_SERVER 

The server is outdated.

OUTDATED_CLIENT 

The client is outdated.

UNEXPECTED_PACKET 

An unexpected packet was received.

CONNECTION_CREATION_FAILED 

Connection creation failed.

NO_MULTIPLAYER_PRIVILEGES_HOST 

The host does not have multiplayer privileges.

NO_MULTIPLAYER_PRIVILEGES_JOIN 

The joining player does not have multiplayer privileges.

NO_UGC_ALL_LOCAL 

All local players lack UGC permissions.

NO_UGC_SINGLE_LOCAL 

A single local player lacks UGC permissions.

CONTENT_RESTRICTED_ALL_LOCAL 

All local players have content restrictions.

CONTENT_RESTRICTED_SINGLE_LOCAL 

A single local player has content restrictions.

NO_UGC_REMOTE 

A remote player lacks UGC permissions.

NO_FRIENDS_IN_GAME 

No friends in the game.

BANNED 

The player was banned.

NOT_FRIENDS_WITH_HOST 

The player is not friends with the host.

NAT_MISMATCH 

NAT type mismatch.

◆ EntityType

Represents the type of an Entity.

Enumerator
ARROW 

An arrow projectile; may get stuck in the ground.

BAT 

A bat.

BLAZE 

A blaze.

BOAT 

A placed boat.

CAVE_SPIDER 

A cave spider.

CHICKEN 

A chicken.

COMPLEX_PART 

A complex entity part.

COW 

A cow.

CREEPER 

A creeper.

DROPPED_ITEM 

An item resting on the ground.

EGG 

A flying chicken egg.

ENDER_CRYSTAL 

An ender crystal.

ENDER_DRAGON 

An ender dragon.

ENDER_PEARL 

A flying ender pearl.

ENDER_SIGNAL 

An ender eye signal.

ENDERMAN 

An enderman.

EXPERIENCE_ORB 

An experience orb.

FALLING_BLOCK 

A block that is going to or is about to fall.

FIREBALL 

A flying large fireball, as thrown by a Ghast for example.

FIREWORK 

A firework rocket.

FISHING_HOOK 

A fishing line and bobber.

GHAST 

A ghast.

GIANT 

A giant.

HORSE 

A horse.

IRON_GOLEM 

An iron golem.

ITEM_FRAME 

An item frame on a wall.

LEASH_HITCH 

A leash attached to a fencepost.

LIGHTNING 

A bolt of lightning.

MAGMA_CUBE 

A magma cube.

MINECART 

A minecart.

MINECART_CHEST 

A minecart with a chest.

MINECART_COMMAND 

A minecart with a command block.

MINECART_FURNACE 

A minecart with a furnace.

MINECART_HOPPER 

A minecart with a hopper.

MINECART_MOB_SPAWNER 

A minecart with a mob spawner.

MINECART_TNT 

A minecart with TNT.

MUSHROOM_COW 

A mooshroom.

OCELOT 

An ocelot.

PAINTING 

A painting on a wall.

PIG 

A pig.

PIG_ZOMBIE 

A zombie pigman.

PLAYER 

A player.

PRIMED_TNT 

Primed TNT that is about to explode.

SHEEP 

A sheep.

SILVERFISH 

A silverfish.

SKELETON 

A skeleton.

SLIME 

A slime.

SMALL_FIREBALL 

A flying small fireball, such as thrown by a Blaze or player.

SNOWBALL 

A flying snowball.

SNOWMAN 

A snowman.

SPIDER 

A spider.

SPLASH_POTION 

A flying splash potion.

SQUID 

A squid.

THROWN_EXP_BOTTLE 

A flying experience bottle.

UNKNOWN 

An unknown entity without an Entity Class.

VILLAGER 

A villager.

WEATHER 

A weather entity.

WITCH 

A witch.

WITHER 

A wither.

WITHER_SKULL 

A flying wither skull projectile.

WOLF 

A wolf.

ZOMBIE 

A zombie.