Minecraft Slot Machine Without Command Blocks

This Minecraft tutorial explains how to craft a command block with screenshots and step-by-step instructions.

So I'll explain the third method. The one command block machines generates a bunch of FallingSand Entities riding each other or minecarts with command blocks but I prefer the falling sand one. So here is one of these machines created by me.

In Minecraft, a command block is an item that you can not make with a crafting table or furnace and it is not available through the Creative Inventory menu. You can only add a command block to your inventory using a game command.

Let's explore how to add a command block to your inventory.

Supported Platforms

A command block is available in the following versions of Minecraft:

PlatformSupported (Version*)
Java Edition (PC/Mac)Yes
Pocket Edition (PE)Yes (1.0.5)
Xbox 360No
Xbox OneYes (1.2)
PS3No
PS4Yes (1.14.0)
Wii UNo
Nintendo SwitchYes (1.5.0)
Windows 10 EditionYes (1.0.5)
Education EditionYes (1.0.18)

* The version that it was added or removed, if applicable.
NOTE: Pocket Edition (PE), Xbox One, PS4, Nintendo Switch, and Windows 10 Edition are now called Bedrock Edition. We will continue to show them individually for version history.

Requirements

To run game commands in Minecraft, you have to turn cheats on in your world.

Give Command for Command Block

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Give Command in Minecraft Java Edition (PC/Mac)

In Minecraft Java Edition (PC/Mac), the syntax to give a player a command block using the /give command is:

Definitions

  • targets is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Pocket Edition (PE)

In Minecraft Pocket Edition (PE), the syntax to give a player a command block using the /give command is:

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Xbox One Edition

In Minecraft Xbox One Edition, the syntax to give a player a command block using the /give command is:

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft PS4 Edition

In Minecraft PS4 Edition, the syntax to give a player a command block using the /give command is:

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Nintendo Switch

In Minecraft Nintendo Switch Edition, the syntax to give a player a command block using the /give command is:

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Windows 10 Edition

In Minecraft Windows 10 Edition, the syntax to give a player a command block using the /give command is:

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Give Command in Minecraft Education Edition

In Minecraft Education Edition, the syntax to give a player a command block using the /give command is:

Definitions

  • player is the name of the player (or a target selector) that you wish to give the command block to.
  • amount is the number of command blocks that you want to give. If you don't specify an amount, the player will be given 1 command block.

Examples

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Example in Java Edition (PC/Mac)

To give 1 command block to the player named DigMinecraft:

To give 64 command blocks to the nearest player:

To give 3 command blocks to all players:

Example in Pocket Edition (PE)

To give 1 command block to the player named Axe2Grind:

To give 64 command blocks to all players:

Example in Xbox One Edition

To give 1 command block to the player named TheEarthMover:

To give 8 command blocks to all players:

Example in PS4 Edition

To give 1 command block to the player named DigMinecraft:

To give 2 command blocks to all players:

Example in Nintendo Switch Edition

To give 1 command block to the player named DigMinecraft:

To give 2 command blocks to all players:

Example in Windows 10 Edition

To give 1 command block to the player named TheExcavator:

To give 10 command blocks to the nearest player:

Example in Education Edition

To give 1 command block to the player named TheEarthMover:

To give 64 command blocks to the nearest player:

How to Enter the Command

1. Open the Chat Window

The easiest way to run a command in Minecraft is within the chat window. The game control to open the chat window depends on the version of Minecraft:

  • For Java Edition (PC/Mac), press the T key to open the chat window.
  • For Pocket Edition (PE), tap on the chat button at the top of the screen.
  • For Xbox One, press the D-Pad (right) on the controller.
  • For PS4, press the D-Pad (right) on the controller.
  • For Nintendo Switch, press the right arrow button on the controller.
  • For Windows 10 Edition, press the T key to open the chat window.
  • For Education Edition, press the T key to open the chat window.

2. Type the Command

In this example, we will give 1 command block to the player called DigMinecraft with the following command:

Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command.

Once the cheat has been entered, the command block will be added to the player's inventory.

You will see the message 'Given [Command Block] x 1 to DigMinecraft' appear in the lower left corner of the game window. You have now given 1 command block to the player called DigMinecraft.

Congratulations, you have learned how to craft a command block using the /give command in Minecraft.

Item ID and Name

  • Java
  • PE
  • Xbox
  • PS
  • Nintendo
  • Win10
  • Edu

Minecraft Java Edition (PC/Mac)

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 Java Edition (PC/Mac)1.8 - 1.12
Command Block
(minecraft:command_block)
137 Java Edition (PC/Mac)1.13 - 1.17

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Pocket Edition (PE)

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 Pocket Edition (PE)1.0.5 - 1.16.100

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Xbox One

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 Xbox One1.6.0 - 1.16.100

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft PS4

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 PS41.14.0 - 1.16.100

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Nintendo Switch

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 Nintendo Switch1.6.0 - 1.16.100
Minecraft Slot Machine Without Command Blocks

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Windows 10 Edition

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 Windows 10 Edition1.0.5 - 1.16.100

See a complete list of Minecraft IDs that is interactive and searchable.

Minecraft Education Edition

In Minecraft, a command block has the following Name, ID and DataValue:

ItemDescription
(Minecraft ID Name)
Minecraft
ID
Minecraft
Data
Value
PlatformVersion(s)
Command Block
(minecraft:command_block)
1370 Education Edition1.0.18 - 1.14.31

See a complete list of Minecraft IDs that is interactive and searchable.

Definitions

  • Description is what the item is called and (Minecraft ID Name) is the string value that is used in game commands.
  • Minecraft ID is the Internal number for the item.
  • Minecraft DataValue (or damage value) identifies the variation of the block if more than one type exists for the Minecraft ID.
  • Platform is the platform that applies.
  • Version(s) is the Minecraft version numbers that the Minecraft ID and Name are valid for.

Minecraft Slot Machine Without Command Blocks Linux

Other Command Blocks

You can make other command blocks in Minecraft such as:

Things to Do with Command Blocks

Here are some activities that you can do with command blocks in Minecraft:

Command Generators

If you need help, you can use these tools to automatically generate commands in Minecraft:

Lucker
The slot machine for lucky people

Lucker is a slot machine for Skript I made a while ago.

I decided to translate it to English, so here we go.

First of all, Lucker needs these plugins:
Skript: http://dev.bukkit.org/bukkit-plugins/skript/
Wildskript: http://dev.bukkit.org/bukkit-plugins/wildskript/
SkQuery: http://dev.bukkit.org/bukkit-plugins/skquery/

Test server: kopsukkatest.net9.fi

Minecraft Slot Machine Mod


But Kopsukka, this is so unoriginal.
I tried to make some extra content,
including the fact that everything can be configured.
Also, there's an option to only allow a single user to use one machine at a time.
So it's configurable? What an original feature!
Well, take a look at this then:

One Command Block Machines


[/CENTER]
version: 1.1 #do not change or it will create an endless loop
luckerprefix: &9Lucker >> #Prefix for commands and messages
commandaliases: luck, slots #Commands you'd like to use, also the /lucker is always active.
noPerms: &cSorry, you don't have access to this command. :(
commandHeader: &6&l&m-------------------&6 Lucker &6&l&m-------------------
commandFooter: &6&l&m-------------------&6 Lucker &6&l&m-------------------
commandUpdateInfo: &6/lucker update&e: Updates to the latest version
commandReloadInfo: &6/lucker reload&e: Reloads changes made to the config
commandWandInfo: &6/lucker wand&e: Gives the Lucker creation wand
updatenotify: &aA new update found! Please use &c/lucker update&f. #Message when joining and there's a new update - Requires permission lucker.update
updatingmsg: &aLucker is updating.. Sorry about possible lag. :( #Message when updating, is a broadcast.
updatedmsg: &aLucker has been updated! Thanks :) #Message when update is done, also a broadcast
signStatusAvailable: &9Available #If the machine is not in use, this is the first line.
signStatusRolling: &9Rolling.. #If the machine is rolling, this is the first line.
signStatusRolled: &9Game over! #Line 1 when the rolling ends
signLine4: &9» &3Lucker &9« #Line 4, is always that one
slotsLineColor: &9 #Color for line 2, where the slots spin
signOnWin: &9You won! #Sign text on win
signAfterWin: &9Previous won! #OnWin-text changes to this later
signOnLose: &9You lost! #Sign text on lose
signAfterLose: &9Previous lost! #OnLose-text changes to this later
signOnJackpot: &9Jackpot! #Sign text on jackpot
signAfterJackpot: &9Previous won #OnJackpot-text changes to this later
signJackpotMark: &2✪ #Used in the jackpot win things
signActivate: Lucker Activate #When creating a sign with this on the second line, creates a lucker machine
cost: 1 gold ingot #what does the machine cost? You can also use multiple items, ex. 2 diamonds and 3 gold ingots
limitMachine: false #If true, player can only play on one machine at a time.
messageRolling: &aRolling! #continues with the cost-option inside (). Message on roll
messageLimit: &cYou are already rolling. #Requires limitMachine to be true
messageWin0: &aYou won with the code 0|0|0 #Message when winning with that code
messageWin1: &aYou won with the code 1|1|1 #Message when winning with that code
messageLose: &aYou lost :( #Message on lose
messageJackpot: &aYou won the jackpot! #Message on jackpot
messageRestarting: &aPlease wait, the machine is restarting. #On rightclick when is restarting (the part after rolling)
messageOnUse: &aSomeone is already using this machine. #On rightclick when machine is on
messageNoMoney: &aSorry, but you don't have #continues with the cost-option, says if doesn't have enough items
soundRolling: note.hat #Sounds on roll
soundLastroll: note.snare #Last roll before the win/lose
soundWin: random.orb #spams this sound on win
soundJackpot: random.orb #spams this sound on jackpot
soundLose: note.bassattack #sound on lose, executes 2 times with a different pitch
soundReset: note.bassattack #sound when resetting the machine
prizeOnWin0: 5 gold ingots and 2 diamonds #What you get, when the last combination is 000
prizeOnWin1: 3 gold ingots and 1 diamond #What you get, when the last combination is 111
prizeOnJackpot: 8 gold ingots and 4 diamonds #What you get, when you get a jackpot
wand: a blaze rod named '&a&lLucker Wand &7&l&m-&a Create Luckers easily!' #Right click a sign with this wand -> Lucker machine
wandReceiveMsg: &aYou received a wand, so you are able to create Lucker machines.
[CENTER]
As you saw, everything is possible to configure.
Setup
I also made the setup smooth.
You can either create a sign with text 'Lucker Activate' (configurable)
on the second line, or you can take the creation wand and
rightclick a sign with that. Easy, huh?

Minecraft Slot Machine Without Command Blocks Mod

Commands
There are also some commands.
/lucker update updates this skript
to the latest version.

Slot Machine Minecraft Tutorial


/lucker reload reloads the skript.
/lucker wand gives you a wand
which allows you to create these machines
by right clicking signs

Permissions
Updating the plugin with /lucker update and
viewing the update notifier: lucker.update
Reloading the file with /lucker reload: lucker.reload
Making Luckers with the text on the second line of
the sign and usage of the wand
with /lucker wand: lucker.activate

How to install?
Install Skript, SkQuery and WildSkript (Links above)

Move the .sk file to /plugins/Skript/scripts

Enjoy!

Also, sorry for it being so simple.
It's my first public script afterall.