雪玉が貫通されない

そもそもon projectile collideがキャンセル不可な可能性もありますけどね
on projectile collide:
if event-entity is an armor stand:
if metadata "color" of event-entity contain metadata "color" of event-projectile:
cancel event
on projectile collide:
if event-entity is an armor stand:
if metadata "color" of event-entity contain metadata "color" of event-projectile:
cancel event
7 Replies
nennneko5787
nennneko5787OP2y ago
これはひどいかも 雪玉が当たっても、防具立てって判定されない時がある
mirageeeeeeeeeeeeeeeeeeeeeeeeeee
collideイベントの中では当たったエンティティはprojectile targetらしい
nennneko5787
nennneko5787OP2y ago
on projectile collide:
broadcast "c"
if projectile target is an armor stand:
broadcast "b"
if metadata "color" of projectile target contain metadata "color" of event-projectile:
broadcast "a"
cancel event
on projectile collide:
broadcast "c"
if projectile target is an armor stand:
broadcast "b"
if metadata "color" of projectile target contain metadata "color" of event-projectile:
broadcast "a"
cancel event
やっぱりだめでした cとしか出力されません
mirageeeeeeeeeeeeeeeeeeeeeeeeeee
projectile targetを出力したらなんて出る
nennneko5787
nennneko5787OP2y ago
armor stand
mirageeeeeeeeeeeeeeeeeeeeeeeeeee
じゃあ動いてないの条件じゃん」 type of projectile targetとか "%projectile target%" is "armor stand"とか 色々試そう
nennneko5787
nennneko5787OP2y ago
ok
Want results from more Discord servers?
Add your server