sisoaz
sisoaz
PDCPlayerRealms developerS Community
Created by sisoaz on 2/3/2024 in #help-forum
耕して湿った土が乾くのを防ぎたい
どのイベントを使えばいいのかわからない!
on entity change block:
if event-block is wet farmland or soil block:
cancel event

on block trample:
if event-block is wet farmland or soil block:
cancel event

on spread:
message "%event-block% spread." to console
cancel event

on form:
message "%event-block% formed." to console
cancel event

on fade:
message "%event-block% faded." to console
cancel event
on entity change block:
if event-block is wet farmland or soil block:
cancel event

on block trample:
if event-block is wet farmland or soil block:
cancel event

on spread:
message "%event-block% spread." to console
cancel event

on form:
message "%event-block% formed." to console
cancel event

on fade:
message "%event-block% faded." to console
cancel event
これらを試しました 他にプラグインとかで対応できたらそれでもいいです でもできればskriptがいいです
56 replies
PDCPlayerRealms developerS Community
Created by sisoaz on 1/18/2024 in #help-forum
チェストブロックに名前を付けられない
set {_block} to block at {_loc}
set {_inv} to {_block}'s inventory
set name of {_inv} to "a"
set {_block} to block at {_loc}
set {_inv} to {_block}'s inventory
set name of {_inv} to "a"
わからない inventory name of {_inv}もダメだった
34 replies
PDCPlayerRealms developerS Community
Created by sisoaz on 1/17/2024 in #help-forum
アイテムが入っているチェストをコピーできない
{a}はアイテムが入っているチェストです /random2で{a}のチェストをコピーしようとしてますが、ブロックのみが置かれて、アイテムの中身が入っていません アイテムが入った状態のチェストをそのままコピーする方法を教えてください
on chat:
set {a} to target block
send {a}

command /random2:
trigger:
set {_loc} to player's location
set block at {_loc} to {a}
set {_block} to block at {_loc}
set {_block}'s inventory to {a}'s inventory
on chat:
set {a} to target block
send {a}

command /random2:
trigger:
set {_loc} to player's location
set block at {_loc} to {a}
set {_block} to block at {_loc}
set {_block}'s inventory to {a}'s inventory
7 replies