![]() |
FourKit 1469f90c
The LCE C# Server Plugin API
|
| CAttribute | |
| CMinecraft.Server.FourKit.Event.EventHandlerAttribute | Marks a method inside a Listener as an event handler. This class is not named "EventHandler" due to a naming conflict with the existing System.EventHandler |
| CMinecraft.Server.FourKit.Block.Block | Represents a block. This is a live object, and only one Block may exist for any given location in a world |
| CMinecraft.Server.FourKit.Event.Cancellable | Interface for events that can be cancelled by a plugin. When cancelled, the server will skip the default action |
| CMinecraft.Server.FourKit.Event.Block.BlockBreakEvent | Called when a block is broken by a player |
| CMinecraft.Server.FourKit.Event.Block.BlockPlaceEvent | Called when a block is placed by a player |
| CMinecraft.Server.FourKit.Event.Block.SignChangeEvent | Called when a sign is changed by a player |
| CMinecraft.Server.FourKit.Event.Entity.EntityDamageEvent | Stores data for damage events |
| CMinecraft.Server.FourKit.Event.Entity.EntityDamageByEntityEvent | Called when an entity is damaged by an entity |
| CMinecraft.Server.FourKit.Event.Inventory.InventoryInteractEvent | An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory |
| CMinecraft.Server.FourKit.Event.Inventory.InventoryClickEvent | This event is called when a player clicks a slot in an inventory |
| CMinecraft.Server.FourKit.Event.Inventory.InventoryOpenEvent | Called when a player opens an inventory. Cancelling this event will prevent the inventory screen from showing |
| CMinecraft.Server.FourKit.Event.Player.PlayerChatEvent | Fired when a player sends a chat message |
| CMinecraft.Server.FourKit.Event.Player.PlayerDropItemEvent | Fired when a player drops an item from their inventory. If cancelled, the item will not be dropped and the player keeps it. The dropped item can be modified by plugins |
| CMinecraft.Server.FourKit.Event.Player.PlayerInteractEntityEvent | Represents an event that is called when a player right clicks an entity |
| CMinecraft.Server.FourKit.Event.Player.PlayerInteractEvent | Called when a player interacts with an object or air |
| CMinecraft.Server.FourKit.Event.Player.PlayerKickEvent | Fired when a player is kicked from the server. If cancelled, the kick will not take place and the player remains connected. Plugins may modify the kick reason and the leave message broadcast to all online players |
| CMinecraft.Server.FourKit.Event.Player.PlayerMoveEvent | Fired when a player moves. Plugins may modify the destination or cancel the movement entirely |
| CMinecraft.Server.FourKit.Event.Player.PlayerTeleportEvent | Holds information for player teleport events |
| CMinecraft.Server.FourKit.Event.Player.PlayerPortalEvent | Called when a player is about to teleport because it is in contact with a portal |
| CMinecraft.Server.FourKit.Event.Player.PlayerPickupItemEvent | Thrown when a player picks an item up from the ground. If cancelled the item will not be picked up |
| CMinecraft.Server.FourKit.Command.Command | Represents a Command, which executes various tasks upon user input |
| CMinecraft.Server.FourKit.Command.PluginCommand | Represents a Command belonging to a plugin |
| CMinecraft.Server.FourKit.Command.CommandExecutor | Represents a class which contains a single method for executing commands |
| CMinecraft.Server.FourKit.Command.CommandSender | Represents something that can send commands and receive messages |
| CMinecraft.Server.FourKit.Command.ConsoleCommandSender | Represents the server console as a command sender |
| CMinecraft.Server.FourKit.Entity.Player | Represents a player connected to the server |
| CMinecraft.Server.FourKit.Entity.Entity | Represents a base entity in the world |
| CMinecraft.Server.FourKit.Entity.Damageable | Represents an Entity that can take damage and has health |
| CMinecraft.Server.FourKit.Entity.LivingEntity | Represents a living entity in the world that has health and can take damage |
| CMinecraft.Server.FourKit.Entity.HumanEntity | Represents a human entity in the world (e.g. a player) |
| CMinecraft.Server.FourKit.Entity.Player | Represents a player connected to the server |
| CMinecraft.Server.FourKit.Entity.Item | Represents a dropped item on the ground |
| CMinecraft.Server.FourKit.Event.Event | Base class for all events dispatched by the server |
| CMinecraft.Server.FourKit.Event.Block.BlockEvent | Represents a Block-related event |
| CMinecraft.Server.FourKit.Event.Block.BlockExpEvent | An event that is called when a block yields experience |
| CMinecraft.Server.FourKit.Event.Block.BlockBreakEvent | Called when a block is broken by a player |
| CMinecraft.Server.FourKit.Event.Block.BlockPlaceEvent | Called when a block is placed by a player |
| CMinecraft.Server.FourKit.Event.Block.SignChangeEvent | Called when a sign is changed by a player |
| CMinecraft.Server.FourKit.Event.Entity.EntityEvent | Represents an Entity-related event |
| CMinecraft.Server.FourKit.Event.Entity.EntityDamageEvent | Stores data for damage events |
| CMinecraft.Server.FourKit.Event.Entity.EntityDeathEvent | Thrown whenever a LivingEntity dies |
| CMinecraft.Server.FourKit.Event.Entity.PlayerDeathEvent | Thrown whenever a Player dies |
| CMinecraft.Server.FourKit.Event.Inventory.InventoryEvent | Represents a player related inventory event |
| CMinecraft.Server.FourKit.Event.Inventory.InventoryInteractEvent | An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory |
| CMinecraft.Server.FourKit.Event.Inventory.InventoryOpenEvent | Called when a player opens an inventory. Cancelling this event will prevent the inventory screen from showing |
| CMinecraft.Server.FourKit.Event.Player.PlayerEvent | Base class for events related to a FourKit.Player |
| CMinecraft.Server.FourKit.Event.Player.PlayerChatEvent | Fired when a player sends a chat message |
| CMinecraft.Server.FourKit.Event.Player.PlayerDropItemEvent | Fired when a player drops an item from their inventory. If cancelled, the item will not be dropped and the player keeps it. The dropped item can be modified by plugins |
| CMinecraft.Server.FourKit.Event.Player.PlayerInteractEntityEvent | Represents an event that is called when a player right clicks an entity |
| CMinecraft.Server.FourKit.Event.Player.PlayerInteractEvent | Called when a player interacts with an object or air |
| CMinecraft.Server.FourKit.Event.Player.PlayerJoinEvent | Called when a player joins a server |
| CMinecraft.Server.FourKit.Event.Player.PlayerKickEvent | Fired when a player is kicked from the server. If cancelled, the kick will not take place and the player remains connected. Plugins may modify the kick reason and the leave message broadcast to all online players |
| CMinecraft.Server.FourKit.Event.Player.PlayerMoveEvent | Fired when a player moves. Plugins may modify the destination or cancel the movement entirely |
| CMinecraft.Server.FourKit.Event.Player.PlayerPickupItemEvent | Thrown when a player picks an item up from the ground. If cancelled the item will not be picked up |
| CMinecraft.Server.FourKit.Event.Player.PlayerQuitEvent | Fired when a player disconnects from the server. Plugins may read or modify the quit message that is broadcast to all online players |
| CIEnumerable | |
| CMinecraft.Server.FourKit.Inventory.Inventory | Represents an inventory containing items. Behavior relating to Material.AIR is unspecified |
| CMinecraft.Server.FourKit.Inventory.BeaconInventory | Represents the inventory of a Beacon. Single slot at index 0 |
| CMinecraft.Server.FourKit.Inventory.DoubleChestInventory | Represents the inventory of a Double Chest. 54 slots total — left side is slots 0–26, right side is slots 27–53 |
| CMinecraft.Server.FourKit.Inventory.EnchantingInventory | Represents the inventory of an Enchanting Table. Single slot at index 0 |
| CMinecraft.Server.FourKit.Inventory.FurnaceInventory | Represents the inventory of a Furnace. Slot layout: 0 = smelting input, 1 = fuel, 2 = result |
| CMinecraft.Server.FourKit.Inventory.HorseInventory | Represents the inventory of a Horse. Slot layout: 0 = saddle, 1 = armor, 2+ = chest slots |
| CMinecraft.Server.FourKit.Inventory.PlayerInventory | Represents a player's inventory, including armor slots and the held item |
| CMinecraft.Server.FourKit.Net.InetAddress | Represents an Internet Protocol (IP) address |
| CMinecraft.Server.FourKit.Net.InetSocketAddress | Represents an IP Socket Address (IP address + port number) |
| CMinecraft.Server.FourKit.Inventory.InventoryHolder | |
| CMinecraft.Server.FourKit.Entity.HumanEntity | Represents a human entity in the world (e.g. a player) |
| CMinecraft.Server.FourKit.Inventory.InventoryView | Represents a view linking two inventories and a single player (whose inventory may or may not be one of the two) |
| CMinecraft.Server.FourKit.Inventory.ItemStack | Represents a stack of items |
| CMinecraft.Server.FourKit.Event.Listener | Simple interface for tagging all EventListeners Register instances with FourKit.addListener(Listener) |
| CMinecraft.Server.FourKit.Location | Represents a 3-dimensional position in a world |
| CMinecraft.Server.FourKit.Entity.OfflinePlayer | Represents a player identity that may or may not currently be online |
| CMinecraft.Server.FourKit.Entity.Player | Represents a player connected to the server |
| CMinecraft.Server.FourKit.Plugin.ServerPlugin | Base class that every plugin must extend |
| CMinecraft.Server.FourKit.World | Represents a world, which may contain entities, chunks and blocks |