コマンドを書いけるようにする。
どうも皆さんこんにちは dfsa0420です。
ていうことでコマンドを書いていきます。
今回のコマンドはこれです:
- time
- clear
- tag
- team
- effect
- give
初心者向けのコマンドです
上級者に向けて3のコマンド:
- execute
- scoreboard
- data
TIME コマンド
/time set
day [朝日]
night [夜]
で基本操作
朝日
/time set day
[夜]
/time set night
clear コマンド
/clear
全部のアイテムが消える
/clear dirt
で土が消える
あおとあ英語で消したいアイテムの名前を入れる
tag コマンド
tagはgiveとかKILLコマンドとかで使うよ
tag add @p [入力]
入力の場所に好きな文字を入れていいよ
team コマンド
team add [入力]
入力の場所に好きな文字を入れていいよ
team join [入力した名前]
team modify [入力した名前] color red
チーム 変更 [入力した名前] 色 赤
赤の場所は何色でもいいよ
effect コマンド
effect give @a minecraft:absorption infinite 255 true
エッフェクト 挙げる@ALL[ぜいん] 吸収 無限 255 真
という感じあとはコメントで
give コマンド
give @P dirt
挙げる @P「最も近い人」土
難しいのはエンチャント LORE etc...
上級者 コマンド
execute
scoreboard
data
- execute if
- execute at
- execute as
- execute unless
- execute run
etc...
今回紹介する物は
execute at @p run command
execute as @p run command
@p run[入力したコマンド]で実行
@p run [入力したコマンド]として実行
data modify entity @e[limit=1,type=creeper] Health set value 0
データ変更エンティティ @e[limit=1,type=creeper] ヘルス設定値 0
limit=1は絶対に必要だよ。
Health set value 1でもいいよ
体制を変更することをできる
他にもいろいろあるけど。。。。
scoreboard objectives add [入力した名前] deathCount "入力した名前"
****回数を数えてくれる。
MCStacker [コマンドを生成ツール]
コマンドを生成ツールです!!!!!!
簡単にコマンドを生成することができます!
youtube channel
datapck