NBTがわからない

Skript 2.3.6 SkBee 1.10.2 アーマースタンドにタグ付けてスポーンさせたいけど、構文がことごとくバージョン上なので、どうすればいいか教えていただきたい
4 Replies
Melonium
Melonium12mo ago
2.5.3にはしましょう 2.3.6は古い
ふぁたおくん
command /bugsloc [<text>]:
permission: *
trigger:
add location of the player to {bugspawn::%arg-1%}
command /bugsloc [<text>]:
permission: *
trigger:
add location of the player to {bugspawn::%arg-1%}
これでプレイヤーの立ってるところを変数に格納して
command /armorstand [<text>]:
trigger:
spawn armor stand at {bugspawn::%arg-1%}
add "{ArmorItems:[{},{},{},{id:""46""}]}" to nbt of last spawned entity
command /armorstand [<text>]:
trigger:
spawn armor stand at {bugspawn::%arg-1%}
add "{ArmorItems:[{},{},{},{id:""46""}]}" to nbt of last spawned entity
これでnbt付きアーマースタンドをさっきの場所にスポーンさせたい エラーは出ないけど動かない
Melonium
Melonium12mo ago
最初は
set {bugspawn::%arg-1%} to location of player
set {bugspawn::%arg-1%} to location of player
yukkina
yukkina12mo ago
2.3.6は1.12.2〜1.13.2で使うのにおいては安定版ロングサポートみたいな感じやろ!!ロングサポートはないけど
Want results from more Discord servers?
Add your server
More Posts
skriptver 2.5.2 -> 2.6.4 で on region enter/leave が死亡タイトルの通り https://skripthub.net/docs/?id=1099 ⇧の構文でcan't under(ry されます というかregion周り全部死にました これってver戻す以外set damage to %integer% が使えないset damage to 0などとすると use attacker or victim in ~~~ とエラーします...location(x,y,z,world "world")でworldが動いてないサーバーのメインワールドは`w-lobby-new` mvでworldを増やし ```set {_loc} to location(x,y,z,world "w-lobby") teleport plMinecraftHeadsなどで気に入った頭を装備したアーマースタンドを頭を傾けた状態でスポーンさせる方法NBTを使えばいけそうな感じっていうのはわかるんですが、NBTで頭を指定する方法がよくわかってないのでご教示願いたいです。雪玉が貫通されないそもそも``on projectile collide``がキャンセル不可な可能性もありますけどね ``` on projectile collide: if event-entity is armor standの頭だけを発光させたい``` set {_pLoc} to player's head's location spawn armor stand at ({_pLoc} ~ vector(0, -1.125銃skの改善点指摘してほしい初心者のぼくが初めてまともに書いたskということで30発入りSMGを3発ずつ撃ててリロードもできるskです。一応動きます。 変数の使い方とかマジで色々汚いと思いますが「こう書いたらいいよ」とか温かく教vectorの使い方vectorの使い方がぜんっぜんわかりませんsorted LIST のなぞきょどうについて``` set {_sortedKey::*} to indexes of {_areaIDs::*} set {_sortedKey::*} to sorted {アマスタの完全透明化{Invisible:1b,Marker:1b}のnbtをつけたアマスタをプレイヤーに乗せているのですが、スペクテイターにすると見えてしまいます これを見えなくする方法を教えてください PR 1.12