makaronipizaa
makaronipizaa
PDCPlayerRealms developerS Community
Created by makaronipizaa on 2/3/2024 in #help-forum
プレイヤーの頭を設置する方法
プレイヤーの頭を設置する方法ってありますか?できれば向いている方向も指定できると助かります
35 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 2/3/2024 in #help-forum
パーティクルをプレイヤーを中心とした円状に表示させる方法
調べてもでてこない...............
115 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 1/20/2024 in #help-forum
殴ると4回追加攻撃が入るsk
みなさんならどう書くのかと思いました 詳細 ダメージを与えた時、30tickごとに10ダメージが入る。 例 1(素手)→10→10→10→10 発動中、もう一度同じ敵にダメージを与えてもダメージの重複はしないがダメージを与えた時点から4回となる。
15 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 12/28/2023 in #help-forum
範囲内のプレイヤーに1秒に1回チャットを5秒間送る
loop all players in radius 4 around player:
loop 5 times:
send "test" to loop-player
wait 1 second
loop all players in radius 4 around player:
loop 5 times:
send "test" to loop-player
wait 1 second
23 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 12/22/2023 in #help-forum
条件をつけると機能しない
on join:
set {centhe2.skill.%player%} to 1

on damage:
if 0 < {centhe2.skill.%attacker%}:
if attacker is not a player:
send "A" to victim
set {_fd} to damage
set damage to {_fd} * 0.1
if attacker is player:
send "B" to attacker
on join:
set {centhe2.skill.%player%} to 1

on damage:
if 0 < {centhe2.skill.%attacker%}:
if attacker is not a player:
send "A" to victim
set {_fd} to damage
set damage to {_fd} * 0.1
if attacker is player:
send "B" to attacker
17 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 12/11/2023 in #help-forum
ダイヤモンドを右クリックした後の15秒間、敵にダメージを与えると継続ダメージを与える
on rightclick holding diamond:
set {centhe2.skill.%player%} to 1
set {centhe2.click.%player%} to now
wait 15 seconds
difference between now and {centhe2.click.%player%} > 14 seconds
set {centhe2.skill.%player%} to 0
on damage:
if 1 = {centhe2.skill.%attacker%}:
make attacker damage victim by 5
on rightclick holding diamond:
set {centhe2.skill.%player%} to 1
set {centhe2.click.%player%} to now
wait 15 seconds
difference between now and {centhe2.click.%player%} > 14 seconds
set {centhe2.skill.%player%} to 0
on damage:
if 1 = {centhe2.skill.%attacker%}:
make attacker damage victim by 5
49 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/29/2023 in #help-forum
右クリックを離した時(n秒間右クリックしていない時)を検出する方法
そもそもできるんですかね
8 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/12/2023 in #help-forum
プレイヤーから、プレイヤーの目線の5ブロック先までダメージ判定を与える方法
ビームを作ってみたいのですが、loop entitiesとか使っても上手くできません...毎度の如く、トライアンドエラーで1時間半ぐらい経過して分からなかったので聞きに来ました
51 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/12/2023 in #help-forum
if {test::%player%} is set:でクールタイムを作った時に、waitを使うとバグる
on rightclick holding enchanted book:
if uncoloured name of player's tool is "test":
if {test::%player%} is set:
difference of {test::%player%} and now < 5 seconds
stop
execute console command "playsound minecraft:block.portal.trigger ambient %player% ~ ~ ~ 1 2 1"
set {_countdown} to 10
apply potion of speed 2 without particles to player for 10 seconds
apply potion of jump boost 10 without particles to player for 10 seconds
loop 7 times:
send action bar "&a&l残り時間&c&l%{_countdown}%&a&l秒" to player
execute console command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.5 1"
wait 1 seconds
set {_countdown} to {_countdown} - 1
loop 3 times:
send action bar "&a&l残り時間&c&l%{_countdown}%&a&l秒" to player
execute console command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 1 1 1"
wait 1 seconds
set {_countdown} to {_countdown} - 1
execute console command "/playsound minecraft:entity.ender_dragon.growl ambient %player% ~ ~ ~ 1 1 1"
remove speed from the player
remove jump boost from the player
set {test::%player%} to now
on rightclick holding enchanted book:
if uncoloured name of player's tool is "test":
if {test::%player%} is set:
difference of {test::%player%} and now < 5 seconds
stop
execute console command "playsound minecraft:block.portal.trigger ambient %player% ~ ~ ~ 1 2 1"
set {_countdown} to 10
apply potion of speed 2 without particles to player for 10 seconds
apply potion of jump boost 10 without particles to player for 10 seconds
loop 7 times:
send action bar "&a&l残り時間&c&l%{_countdown}%&a&l秒" to player
execute console command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 1 0.5 1"
wait 1 seconds
set {_countdown} to {_countdown} - 1
loop 3 times:
send action bar "&a&l残り時間&c&l%{_countdown}%&a&l秒" to player
execute console command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 1 1 1"
wait 1 seconds
set {_countdown} to {_countdown} - 1
execute console command "/playsound minecraft:entity.ender_dragon.growl ambient %player% ~ ~ ~ 1 1 1"
remove speed from the player
remove jump boost from the player
set {test::%player%} to now
5 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/12/2023 in #help-forum
テレポートしたとき、元の位置からどれだけ離れたかを変数にぶち込む方法
お願いします
12 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/11/2023 in #help-forum
視点を変えずに視点のところへTPする方法
多分かなり初歩的な質問だと思うのですが、どうしても分からないのでご教授願います。
12 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/9/2023 in #help-forum
Skriptでグラップリングフックの作り方
右クリックした時に上と前側にプッシュされる簡単なやつではなく、Apexのパスファインダーみたいなグラップルが作りたいです。ほぼ制作依頼にはなりますが、何卒よろしくお願いします
13 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/4/2023 in #help-forum
on damageでアタッカーとして敵にダメージを入れたい
on damage:
if uncoloured name of attacker's tool is "護身用短剣":
make attacker damage victim by 3
cancel event
on damage:
if uncoloured name of attacker's tool is "護身用短剣":
make attacker damage victim by 3
cancel event
とすると無限ループしてね?って怒られるのですが、怒られるのを回避する方法ありますか
19 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 11/3/2023 in #help-forum
装備の防御力を無くす方法
on damage of player: if player's helmet is diamond helmet named "20% less damage": set {_fd} to final damage set final damage to {_fd} * 0.8
on damage of player: if player's helmet is diamond helmet named "20% less damage": set {_fd} to final damage set final damage to {_fd} * 0.8
ネットから引っ張ってきたやつなんですけど、これって多分「ダイヤモンドヘルメットで少し軽減したダメージを20%軽減する」ってことになってますよね ダイヤモンドヘルメットは言わば飾りで、受けたダメージを20%軽減する機能だけ欲しいんですけどダイヤモンドヘルメットの防御機能を無くす方法ありますか?
5 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 8/8/2023 in #help-forum
プレイヤーごとに役職を与えたい
今僕はRPGサーバーを作っていて、RPGには欠かせない役職(戦士、魔法使いみたいな)を作りたいです。 具体的にどういう風な構想してるかというと、 村に必ずあるエンチャントテーブルを右クリック→GUIが出てきて、戦士だの魔法使いだの選べる→特定のアイテムは、(スキル本とか)特定の役職でしか使えない
22 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 5/21/2023 in #help-forum
石のナイフという名前のアイテムだと殴ったときの無敵時間が短くなるSK
PVPとかであるNo delayみたいな感じです。できれば完全に無くすのでは無く無敵時間を減らしたいです。
13 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 5/20/2023 in #help-forum
特定アイテムを特定スロットに保持時攻撃力を上昇させる
試行錯誤中のコード↓
67 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 5/19/2023 in #help-forum
HPが半分以下だったら~のSK文
コード明日の朝書いてみますけどこのIF文自体どう書くのか不明なので暖かい目でみてください
6 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 5/19/2023 in #help-forum
プレイヤーのHPを参照し周りのエンティティにダメージを与えるSK
周りのエンティティ~は作れました、10とか20とか具体的な数入れればできるんですけどプレイヤーのHP参照してダメージ与えたいです。
8 replies
PDCPlayerRealms developerS Community
Created by makaronipizaa on 5/18/2023 in #help-forum
アイテム名で判別する方法
初歩的だけどうまくいかん...
26 replies