事件监听大典 : Bukkit API 文档中文翻译(事件部分)
- 2023-04-19 10:48:53
- William_Shi
- 3799
温馨提示: 这篇文章于540天前编写,现在可能不再适用或落后.
《癸卯重修增廣箋註<事件監聽大典>》
2018 年不才曾在 PVPIN 社区利用 Google Blockly 编辑器编纂过一个小项目。拙作以事件监听器积木的形式列出了时为最新的 1.12.2 版本中所有事件的全限定名、触发时机,并对事件类所提供的方法作注。随着 PVPIN 的瓦解,该项目已经亡佚不存。现基于 1.16.5 版本的 Spigot API 对原作予以重修增广。
本项目主要以对 JavaDoc 的翻译为主,同时旁缀补缺,添加译注,以便读者查阅。然而事件细节实在非我一人所能穷尽,我自知才疏学浅,见识粗鄙,故而仅能抛砖引玉,尚要仰仗各位道席予以雅正。
如您发现翻译不确切、译注脱离实情等一应问题,烦请在 GitHub 项目(https://github.com/William-Shi233/EventListeners)提出 Issue 或发送 Pull Request 斧正。如您有不刊之论愿意赐教,望您于 QQ 群 681811254 启沃为盼,诠才不胜屏营感激之至,顿首顿首。
目录
Block 方块事件
- BlockBreakEvent
- BlockBurnEvent
- BlockCanBuildEvent
- BlockCookEvent
- BlockDamageEvent
- BlockDispenseArmorEvent
- BlockDispenseEvent
- BlockDropItemEvent
- BlockEvent
- BlockExpEvent
- BlockExplodeEvent
- BlockFadeEvent
- BlockFertilizeEvent
- BlockFormEvent
- BlockFromToEvent
- BlockGrowEvent
- BlockIgniteEvent
- BlockMultiPlaceEvent
- BlockPhysicsEvent
- BlockPistonEvent
- BlockPistonExtendEvent
- BlockPistonRetractEvent
- BlockPlaceEvent
- BlockRedstoneEvent
- BlockShearEntityEvent
- BlockSpreadEvent
- CauldronLevelChangeEvent
- EntityBlockFormEvent
- FluidLevelChangeEvent
- LeavesDecayEvent
- MoistureChangeEvent
- NotePlayEvent
- SignChangeEvent
- SpongeAbsorbEvent
Enchantment 附魔事件
Entity 实体事件
- AreaEffectCloudApplyEvent
- ArrowBodyCountChangeEvent
- BatToggleSleepEvent
- CreatureSpawnEvent
- CreeperPowerEvent
- EnderDragonChangePhaseEvent
- EntityAirChangeEvent
- EntityBreakDoorEvent
- EntityBreedEvent
- EntityChangeBlockEvent
- EntityCombustByBlockEvent
- EntityCombustByEntityEvent
- EntityCombustEvent
- EntityCreatePortalEvent
- EntityDamageByBlockEvent
- EntityDamageByEntityEvent
- EntityDamageEvent
- EntityDeathEvent
- EntityDismountEvent
- EntityDropItemEvent
- EntityEnterBlockEvent
- EntityEnterLoveModeEvent
- EntityEvent
- EntityExhaustionEvent
- EntityExplodeEvent
- EntityInteractEvent
- EntityMountEvent
- EntityPickupItemEvent
- EntityPlaceEvent
- EntityPortalEnterEvent
- EntityPortalEvent
- EntityPortalExitEvent
- EntityPoseChangeEvent
- EntityPotionEffectEvent
- EntityRegainHealthEvent
- EntityResurrectEvent
- EntityShootBowEvent
- EntitySpawnEvent
- EntitySpellCastEvent
- EntityTameEvent
- EntityTargetEvent
- EntityTargetLivingEntityEvent
- EntityTeleportEvent
- EntityToggleGlideEvent
- EntityToggleSwimEvent
- EntityTransformEvent
- EntityUnleashEvent
- ExpBottleEvent
- ExplosionPrimeEvent
- FireworkExplodeEvent
- FoodLevelChangeEvent
- HorseJumpEvent
- ItemDespawnEvent
- ItemMergeEvent
- ItemSpawnEvent
- LingeringPotionSplashEvent
- PigZapEvent
- PigZombieAngerEvent
- PiglinBarterEvent
- PlayerDeathEvent
- PlayerLeashEntityEvent
- PotionSplashEvent
- ProjectileHitEvent
- ProjectileLaunchEvent
- SheepDyeWoolEvent
- SheepRegrowWoolEvent
- SlimeSplitEvent
- SpawnerSpawnEvent
- StriderTemperatureChangeEvent
- VillagerAcquireTradeEvent
- VillagerCareerChangeEvent
- VillagerReplenishTradeEvent
Hanging 悬挂物事件
Inventory 物品栏事件
- BrewEvent
- BrewingStandFuelEvent
- CraftItemEvent
- FurnaceBurnEvent
- FurnaceExtractEvent
- FurnaceSmeltEvent
- InventoryClickEvent
- InventoryCloseEvent
- InventoryCreativeEvent
- InventoryDragEvent
- InventoryEvent
- InventoryInteractEvent
- InventoryMoveItemEvent
- InventoryOpenEvent
- InventoryPickupItemEvent
- PrepareAnvilEvent
- PrepareItemCraftEvent
- PrepareSmithingEvent
- SmithItemEvent
- TradeSelectEvent
Player 玩家事件
- AsyncPlayerChatEvent
- AsyncPlayerPreLoginEvent
- PlayerAdvancementDoneEvent
- PlayerAnimationEvent
- PlayerArmorStandManipulateEvent
- PlayerBedEnterEvent
- PlayerBedLeaveEvent
- PlayerBucketEmptyEvent
- PlayerBucketEntityEvent
- PlayerBucketEvent
- PlayerBucketFillEvent
- PlayerBucketFishEvent
- PlayerChangedMainHandEvent
- PlayerChangedWorldEvent
- PlayerChannelEvent
- PlayerChatEvent
- PlayerChatTabCompleteEvent
- PlayerCommandPreprocessEvent
- PlayerCommandSendEvent
- PlayerDropItemEvent
- PlayerEditBookEvent
- PlayerEggThrowEvent
- PlayerEvent
- PlayerExpChangeEvent
- PlayerFishEvent
- PlayerGameModeChangeEvent
- PlayerHarvestBlockEvent
- PlayerInteractAtEntityEvent
- PlayerInteractEntityEvent
- PlayerInteractEvent
- PlayerItemBreakEvent
- PlayerItemConsumeEvent
- PlayerItemDamageEvent
- PlayerItemHeldEvent
- PlayerItemMendEvent
- PlayerJoinEvent
- PlayerKickEvent
- PlayerLevelChangeEvent
- PlayerLocaleChangeEvent
- PlayerLoginEvent
- PlayerMoveEvent
- PlayerPickupArrowEvent
- PlayerPickupItemEvent
- PlayerPortalEvent
- PlayerPreLoginEvent
- PlayerQuitEvent
- PlayerRecipeDiscoverEvent
- PlayerRegisterChannelEvent
- PlayerResourcePackStatusEvent
- PlayerRespawnEvent
- PlayerRiptideEvent
- PlayerShearEntityEvent
- PlayerSpawnLocationEvent
- PlayerStatisticIncrementEvent
- PlayerSwapHandItemsEvent
- PlayerTakeLecternBookEvent
- PlayerTeleportEvent
- PlayerToggleFlightEvent
- PlayerToggleSneakEvent
- PlayerToggleSprintEvent
- PlayerUnleashEntityEvent
- PlayerUnregisterChannelEvent
- PlayerVelocityEvent
Raid 袭击事件
Server 服务器事件
- BroadcastMessageEvent
- MapInitializeEvent
- PluginDisableEvent
- PluginEnableEvent
- PluginEvent
- RemoteServerCommandEvent
- ServerCommandEvent
- ServerEvent
- ServerListPingEvent
- ServerLoadEvent
- ServiceEvent
- ServiceRegisterEvent
- ServiceUnregisterEvent
- TabCompleteEvent
Vehicle 载具事件
- VehicleBlockCollisionEvent
- VehicleCollisionEvent
- VehicleCreateEvent
- VehicleDamageEvent
- VehicleDestroyEvent
- VehicleEnterEvent
- VehicleEntityCollisionEvent
- VehicleEvent
- VehicleExitEvent
- VehicleMoveEvent
- VehicleUpdateEvent
Weather 天气事件
World 世界事件
下一篇
阁下需要登录后才可以查看评论哦~