我的世界1.11现已正式发布,Bukkit API草案在今日也已公布,按照以往的情况来看,和预计20日发布的正式版并不会有太大差距。那么BukkitAPI1.10到1.11有哪些方面的改动呢?
具体改动如下:
Block(方块):
新增:ShulkerBox(继承了BlockState, InventoryHolder, Lockable)
Command(命令):
删除:删除了早已处于Deprecated状态的tabComplete(CommandSender sender, String[] args)
Enchantment(附魔):
新增:BINDING_CURSE(内部ID:10)
新增:VANISHING_CURSE(内部ID:71)
Entity(实体):
新增:AbstractHorse接口(马),继承Animals, Vehicle, InventoryHolder, Tameable
新增:ChestedHorse接口,继承AbstractHorse,内部方法有isCarryingChest(是否装备了箱子)、setCarryingChest(设置是否装备箱子)
新增:Donkey接口(驴),继承ChestedHorse
新增:ElderGuardian接口(深海守卫者),继承Guardian
新增:Evoker接口,继承Monster
新增:EvokerFangs接口,继承Entity
删除:FallingSand(坠落中的沙子)
新增:Husk接口,继承Zombie
新增:Llama接口(羊驼),继承ChestedHorse
新增:LlamaSpit接口(羊驼的口水),继承Projectile
新增:Mule接口(骡子),继承ChestedHorse
删除:PoweredMinecart接口
新增:SkeletonHorse接口(骷髅马),继承AbstractHorse
删除:StorageMinecart接口
新增:Stray接口,继承Skeleton
新增:Vex接口,继承Monster
新增:Vindicator接口,继承Monster
新增:WitherSkeleton接口,继承Skeleton
新增:ZombieHorse接口(僵尸马),继承AbstractHorse
新增:ZombieVillager接口(僵尸村民),继承Zombie
Event(事件):
Block(方块):
删除:删除了早已Deprecated的BlockIgniteEvent(final Block theBlock, final IgniteCause cause, final Player thePlayer)
Entity(实体):
删除:删除了CreatureSpawnEvent中实体生成的来源:Bed(玩家睡觉时生成)
删除:删除了EntityChangeBlockEvent中早已Deprecated的EntityChangeBlockEvent(final LivingEntity what, final Block block, final Material to)
删除:删除了EntityDamageByBlockEvent中早已Deprecated的EntityDamageByBlockEvent(final Block damager, final Entity damagee, final DamageCause cause, final int damage)
删除:删除了EntityDamageByEntityEvent中早已Deprecated的EntityDamageByEntityEvent(final Entity damager, final Entity damagee, final DamageCause cause, final int damage)
删除:删除了EntityDamageEvent中早已Deprecated的EntityDamageEvent(final Entity damagee, final DamageCause cause, final int damage)
新增:在EntityDamageEvent中新增了伤害的来源:CRAMMING
删除:删除了EntityRegainHealthEvent中早已Deprecated的EntityRegainHealthEvent(final Entity entity, final int amount, final RegainReason regainReason)
Entity - Inventory(容器):
删除:删除了CraftItemEvent中早已Deprecated的CraftItemEvent(Recipe recipe, InventoryView what, SlotType type, int slot, boolean right, boolean shift)
删除:删除了InventoryClickEvent中早已Deprecated的InventoryClickEvent(InventoryView view, SlotType type, int slot, boolean right, boolean shift)
Entity - Player(玩家):
删除:删除了PlayerCommandPreprocessEvent中的setFormat和getFormat方法
删除:删除了PlayerFishEvent中早已Deprecated的PlayerFishEvent(final Player player, final Entity entity, final State state)
删除:删除了PlayerInventoryEvent整个事件
删除:删除了PlayerLoginEvent中早已Deprecated的PlayerLoginEvent(final Player player)、PlayerLoginEvent(final Player player, final String
hostname)、PlayerLoginEvent(final Player player, final Result result, final String message)
Inventory(容器):
新增:LlamaInventory(羊驼的背包)
by_jiongjionger
|