程序包的使用
org.bukkit.entity
使用org.bukkit.entity的程序包
程序包
说明
Bukkit的常用类.
用于操作在
世界
内的三位像素(方块),包括一些特定的状态.致力于简化玩家与插件的直接通信的类(玩家与插件的对话,典型的场景比如操作的确认、提供插件所需数据).
为在
世界
内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.为不同种类的
矿车
提供的接口.与服务器程序状态变化有关的
事件
.与天气状态变化相关的
事件
.参与操作玩家物品栏和物品交互的类.
用于操作可以被存储在
物品堆
的额外数据的接口.用于简化处理
地图
显示内容的类.代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
用于设定插件至客户端的消息传输协议的类.
代表每种
药水
属性和操作的类的集合.代表一个抛射物的抛射源的类的集合.
提供多种目的和单一目的的类以简化各种编程概念.
-
类说明表示一只箭矢.Represents a base entity in the worldRepresents a falling blockRepresents an Item.代表雷击的实例,可能会或者不会造成伤害。代表一个生物实体,如一只怪物或一名玩家。玩家对象
-
-
-
-
类说明Represents a Horse-like creature.代表一个有年龄和繁殖能力的实体.代表环境生物(只有蝙蝠属于这一行列).代表动物.表示一只箭矢.表示此箭矢的拾取状态.Represents Horse-like creatures which can carry an inventory.Represents a single part of a
ComplexLivingEntity
Represents a complex living entity - one that is made up of various smaller parts代表牛.Represents a Creature.表示一个有生命值和可以被伤害的实体(Entity
)。Represents an Ender DragonRepresents a phase or action that an Ender Dragon can perform.Represents a base entity in the world已过时。future versions of Minecraft have additional spell casting entities.A representation of an explosive entityRepresents a Fireball.Represents a fishing hook.代表能飞行的实体.一个可以伤害敌人的傀儡.代表悬挂实体.表示马拥有的基本颜色.代表马的花纹图案.已过时。不同的种类对应不同的类.代表人类实体, 比如一个NPC或一名玩家Represents a type of "Illager".代表一个生物实体,如一只怪物或一名玩家。代表羊驼的颜色.代表怪物.代表非玩家角色.代表不同的猫的种类.Represents the variant of a parrot - ie its color.玩家对象Represents a shootable entity.代表不同种类的兔子.An animal that can sit still.代表骷髅.已过时。代表史莱姆.Represents a spell casting "Illager".Represents the current spell the entity is using.代表蜘蛛.Represents a thrown potion bottleRepresents a vehicle entity.Represents a villager NPCThe Career of this Villager.Represents the various different Villager professions there may be.代表海洋生物.代表与天气有关的实体,例如雷暴.代表僵尸. -
-
-
-
类说明Represents a Horse-like creature.代表一片即将对处于其中的生物施加药水效果的区域效果云 (即喷溅药水使用后形成的雾).代表爬行者.Represents an Ender DragonRepresents a phase or action that an Ender Dragon can perform.Represents a base entity in the worldA representation of an explosive entity代表人类实体, 比如一个NPC或一名玩家Represents an Item.代表雷击的实例,可能会或者不会造成伤害。Represents a thrown lingering potion bottle代表一个生物实体,如一只怪物或一名玩家。代表猪.代表僵尸猪人.玩家对象Represents a shootable entity.代表羊.代表史莱姆.代表抛出的附魔之瓶.Represents a thrown potion bottleRepresents a villager NPC
-
-
-
类说明表示一只箭矢.代表抛出的鸡蛋.Represents a base entity in the worldRepresents an Experience Orb.已过时。赞成使用
FishHook
Represents an Item.玩家对象 -
-
类说明Represents a base entity in the world代表一个生物实体,如一只怪物或一名玩家。Represents a vehicle entity.
-
-
-
-
-
-
-
-
-
-