But to create those things, you have to use code (because the game doesn't necessarily have everything available). You can use the code from the newsletter, but the commands here are mostly game commands and are quite limited.
So to expand and enhance the commands, the game's developer has come up with a tool called a comman block . Today I will introduce you to a few basic things about the command block and some simple commands that come with it.
Command block is a block used to enter code from simple to complex, to increase the game's appeal. Command block has 3 basic types: Impulse, Chanin, Repeat.
Important Note: Command blocks can only be installed and set up for use in creative mode. In survival mode, you will not be able to create command blocks and use it.
Before using Command Blocks, we must have Command blocks first. We can open Command blocks using commands.
Implementation: First go to the message window of the game (or press the T key ) => and enter the command below => then you will receive them in your inventory immediately .:
/ give @a command_block 64
First, click on Command block => then there will be a place similar to your message window to enter commands there.
When you finish entering commands, choose 1 of 3 Command blocks that match your command.
Next, to activate them you need pedal, buttons, lever, red stone, .
Note that you have to sit down to place levers or buttons on Command blocks. When you're done, just press the button, lever, . to turn them on.
/ gamemode 0: switch to survival
/ gamemode 1: switch to creativity
/ gamemode 2: switch to super hard
/ gamemode 3: move on to adventure
/ kill @ r: kill anyone
/ kill @ e: defeat all living creatures
/ kill @ a: take down all players
/ kill @ p: kill the nearest player
/ time set day: daytime
/ time set night: night
/ time set afternoon: afternoon
/ effect [character name] 1 [seconds] [level 1-255]: speed up movement
/ effect [character name] 2 [seconds] [level 1-255]: running slowly
/ effect [character name] 3 [seconds] [level 1-255]: Go fast
/ effect [character name] [seconds] 4 [level 1-255]: digging slowly
/ effect [character name] 5 [seconds] [level 1-255]: stronger
/ effect [character name] 6 [seconds] [level 1-255]: Instantly reduces health
/ effect [character name] 8 [seconds] [level 1-255]: high jump
/ effect [character name] 9 [seconds] [level 1-255]: nausea
/ effect [character name] 10 [seconds] [level 1-255]: regeneration
/ effect [character name] 11 [seconds] [level 1-255]: restores
/ effect [character name] 12 [seconds] [Level 1-255]: anti-fire
/ effect [character name] 13 [seconds] [level 1-255]: breathing underwater
/ effect [character name] 14 [seconds] [level 1-255]: Invisibility
/ effect [character name] 15 [seconds] [level 1-255]: blind
/ effect [character name] 16 [seconds] [level 1-255]: Look in the dark
/ effect [character name] 17 [seconds] [level 1-255]: hungry food
/ effect [character name] 18 [seconds] [level 1-255]: Strength decrease, weak
/ effect [character name] 19 [seconds] [level 1-255]: hit by poison
/ effect [character name] 20 [seconds] [level 1-255]: withered trees
/ effect [character name] 21 [seconds] [level 1-255]: healing
Note: the commands used in the message window are applicable in Command blocks.
Above are some basic information about Command Blocks and the codes in the game Minecraft . Wish you have fun playing the game and create more interesting things from the commands above