月猫ch
月猫ch
PDCPlayerRealms developerS Community
Created by 月猫ch on 1/6/2025 in #help-forum
[作成依頼] entityのrotateを変えるpacketを送る関数
No description
8 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 1/5/2025 in #help-forum
name of ITEM が挙動不審
No description
51 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 1/1/2025 in #help-forum
画面の視野角?をいじりたい
No description
26 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 12/10/2024 in #help-forum
skBeeの spawn with nbt 構文が動かない
No description
4 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 12/4/2024 in #help-forum
コマンドの引数をリスト変数から選択できるようにしたい
on load:
set {list::*} to "arg1", "arg2", "arg3"

command /test <{list::*}>:
trigger:
if arg is {list::1}:
if arg is {list::2}:
if arg is {list::3}:
on load:
set {list::*} to "arg1", "arg2", "arg3"

command /test <{list::*}>:
trigger:
if arg is {list::1}:
if arg is {list::2}:
if arg is {list::3}:
みたいなことできませんか? ご存じの方構文教えてほしいです ver1165 sk2.9.5です 必要なアドオンは応じて導入します
10 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 11/23/2024 in #help-forum
条件分岐における and or の仕様
すまんしょうもない質問なんやけど if "a b c d e" doesn't contain "a", "b", "c" or "d": という条件分岐、俺の勝手なイメージで "a"~"b"のどれも含んでいない場合true って意味なんだけど、実際はどうなん もしかして "a"~"b" のどれか一つがランダムに選ばれて そこから初めてそれが含まれているかどうかチェックしてる? あと "a b c d e" に"a"~"d"どれか含まれていればtrue/false って条件分岐の描き方を教えてほしい
17 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 11/15/2024 in #help-forum
アーマーによる軽減を無効化したい
No description
45 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 11/5/2024 in #help-forum
変数に入ったブロックのfacingを変更したい
set {_b} to BLOCK_TYPE
set block at {_loc} to {_b}
set {_b} to BLOCK_TYPE
set block at {_loc} to {_b}
{_b}に入れたブロックを、set block 前にfacing変更してから 初めてset block at {_loc} to {_b} したいです set block した後にfacingを変更すると ベッドの片割れなどが自動でもう片方を生成して 結果画像みたいな状態が生まれてしまいます set block 前にfacingを変更する方法はないでしょうか
5 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 10/25/2024 in #help-forum
パーティクルに指向性を持たせたい
んですけど、でふぉるとのskriptの構文で実現可能ですかね… 2.9.xの1.16.5環境です。 良ければ構文を教えて欲しいです…
8 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 9/18/2024 in #help-forum
爆破で壊されたブロックを取得したい
https://skripthub.net/docs/?id=1027 こいつではblockが取得できなさそうなので 方法しってる方いたら教えてほしいです
5 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 9/11/2024 in #help-forum
2点間の障害物(ブロック)の有無を、低負荷でチェックしたい
No description
9 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 6/12/2024 in #help-forum
1.16.5のskript構成
とりあえずこれは入れとけっていう 1.16.5におけるskriptの構成教えてください ver付だと助かります
5 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 5/15/2024 in #help-forum
tabで出てくるplayer listに架空の名前を追加
ってskriptで出来ますか? もし良ければ方法も教えて欲しいです
4 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 5/1/2024 in #help-forum
茶色いキノコ入りのflower pot を設置
茶色いキノコが入った状態のflower potを調べても data値もblock typeも empty flower potのままで 茶色いキノコが入った状態 というのの再現方法がわかりません どなたかご存じないでしょうか
4 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 3/26/2024 in #help-forum
Bossbarを使いたい
No description
29 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 3/19/2024 in #help-forum
本の編集をskでやりたい
No description
34 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 3/17/2024 in #help-forum
skによるリソパ読み込みの動作不良
No description
12 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 3/13/2024 in #help-forum
自作投げナイフにおける与ダメの数値設定の動作不良
on right click:
cooldown of diamond sword of player <= 0
set {_k} to player's tool
name of {_k} contains "Knife"
type of {_k} is diamond sword
if name of {_k} contains "Survival":
set {_damage} to 25
set {_name} to name of player's tool
# 名前から残段数とか取得する処理
# 文字数過多のため省略
if {_n} > 0:
set name of player's tool to "%{_n1}%«%{_n}-1%»%{_n2}%"
else if {_n} is 0:
add -1 to item amount of player's tool
play sound "entity.player.attack.sweep" with volume 1.2 and pitch 1.5 at {_loc}
set cooldown of diamond sword of player to 2
set {_p} to player
if {_p} is set:
set {_vec} to entityHeadVec({_p})
set {_loc} to location at {_p}'s head ~ {_vec}
set normal length of {_vec} to 0.9
set yaw of {_loc} to yaw of player's head
set pitch of {_loc} to pitch of player's head
spawn armor stand at {_loc} ~ vector 0,-1,0 with nbt "{Invisible:true,Small:true,NoBasePlate:true,Pose:{Head:[%pitch of player%f,0f,0f]}}"
#spawn armor stand at {_loc} ~ vector 0,-1,0 with nbt "{Small:true,NoBasePlate:true,Pose:{Head:[%pitch of player%f,0f,0f]}}"
set {_knife} to last spawned entity
#set {_knife}'s gravity to false
#set shooter of {_knife} to player
set metadata "damage" of {_knife} to {_damage}
set metadata "shooter" of {_knife} to player
loop 350 times:
if {_knife} is not alive:
exit 2 sections
delete velocity of {_knife}
set {_l} to {_loc}
set {_loc} to {_loc} ~ {_vec}
set {_loc} to {_loc} ~ vector 0,-0.01,0
set {_vec} to vector from {_l} to {_loc}
push {_knife} {_vec}
wait 1 tick
loop-num is 1
set {_knife}'s helmet to {_k}
on right click:
cooldown of diamond sword of player <= 0
set {_k} to player's tool
name of {_k} contains "Knife"
type of {_k} is diamond sword
if name of {_k} contains "Survival":
set {_damage} to 25
set {_name} to name of player's tool
# 名前から残段数とか取得する処理
# 文字数過多のため省略
if {_n} > 0:
set name of player's tool to "%{_n1}%«%{_n}-1%»%{_n2}%"
else if {_n} is 0:
add -1 to item amount of player's tool
play sound "entity.player.attack.sweep" with volume 1.2 and pitch 1.5 at {_loc}
set cooldown of diamond sword of player to 2
set {_p} to player
if {_p} is set:
set {_vec} to entityHeadVec({_p})
set {_loc} to location at {_p}'s head ~ {_vec}
set normal length of {_vec} to 0.9
set yaw of {_loc} to yaw of player's head
set pitch of {_loc} to pitch of player's head
spawn armor stand at {_loc} ~ vector 0,-1,0 with nbt "{Invisible:true,Small:true,NoBasePlate:true,Pose:{Head:[%pitch of player%f,0f,0f]}}"
#spawn armor stand at {_loc} ~ vector 0,-1,0 with nbt "{Small:true,NoBasePlate:true,Pose:{Head:[%pitch of player%f,0f,0f]}}"
set {_knife} to last spawned entity
#set {_knife}'s gravity to false
#set shooter of {_knife} to player
set metadata "damage" of {_knife} to {_damage}
set metadata "shooter" of {_knife} to player
loop 350 times:
if {_knife} is not alive:
exit 2 sections
delete velocity of {_knife}
set {_l} to {_loc}
set {_loc} to {_loc} ~ {_vec}
set {_loc} to {_loc} ~ vector 0,-0.01,0
set {_vec} to vector from {_l} to {_loc}
push {_knife} {_vec}
wait 1 tick
loop-num is 1
set {_knife}'s helmet to {_k}
20 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 3/5/2024 in #help-forum
on chest close みたいなことがしたい
チェストの開閉を検知したいです ひとしきり調べてみたのですが いい方法が思い浮かびませんでした なにとぞ知恵をお貸しください…
38 replies
PDCPlayerRealms developerS Community
Created by 月猫ch on 2/22/2024 in #help-forum
show TEMP の挙動の相談
sk 2.5.3 です show crit with speed 1 at location at {_loc} 上記構文でエフェクトを表示させると vector 1,1,1 方向にだけ飛ぶエフェクトになってしまいます show 3 crit with speed 1 at location at {_loc} こうすると、3つのcritが {_loc}を中心に 1m範囲内?でランダムな位置に生成されます critを、{_loc}を中央とした花火のように ランダムな方向に広がるように表示できていた記憶があるのですが そのようにすることは可能でしょうか バニラコマンドでいうところの /particle endRod X Y Z 0 0 0 0.1 10 みたいな感じで表示させたいです ※補足 lava popとかblock breakは全方向にランダムに広がってました これは多分パーティクルのデフォルトの動きがこうなのだと思います
9 replies