Events
Last updated
Last updated
事件描述了某事发生的时间。 当事件被触发时,你可以让事情发生(动作)(播放声音、执行命令等)
block_break
attack
kill
interact.entity
interact.left
interact.left_shift
interact.right
interact.right_shift
interact_mainhand.left
interact_mainhand.left_shift
interact_mainhand.right
interact_mainhand.right_shift
interact_offhand.left
interact_offhand.left_shift
interact_offhand.right
interact_offhand.right_shift
drop
pickup
eat
drink
bow_shot
gun_shot
gun_no_ammo
gun_reload
book_write
book_read
fishing_start
fishing_caught
fishing_failed
fishing_cancel
fishing_bite
fishing_in_ground
wear
unwear
held
held_offhand
unheld
unheld_offhand
item_throw
item_hit_ground
item_hit_entity
placed_block.interact
placed_block.break
placed_armorstand.interact
placed_armorstand.break
placed_itemframe.interact
placed_itemframe.break
holding_item.player_damaged_by_entity
holding_item_offhand.player_damaged_by_entity
equipped_armor_item.player_damaged_by_entity
bucket_empty
bucket_fill
为什么写成 interact (.) right
?下面是一个如何正确写入你的物品配置的小例子。