⏳
Loading cheatsheet...
Minecraft Java & Bedrock, redstone, commands, crafting, server setup — Minecraft mastery.
| Key | Action |
|---|---|
| W / A / S / D | Move forward / left / backward / right |
| Space | Jump (double-tap: fly up in creative) |
| Shift | Sneak / descend in fly mode |
| Ctrl | Sprint (hold while moving) |
| Left Click | Break block / attack |
| Right Click | Place block / use item / interact |
| E | Open inventory |
| 1-9 | Select hotbar slot |
| Q | Drop held item |
| F | Swap item between hands |
| Scroll Wheel | Cycle hotbar slots |
| Key | Action |
|---|---|
| Left Click (hold) | Attack with weapon |
| Right Click | Block with shield / use item |
| F5 | Toggle third-person view |
| F5 (2x) | Toggle front-facing third person |
| Tab | Player list (multiplayer) |
| Esc | Open pause menu / release mouse |
| B | Open recipe book in inventory |
| L-Click stack | Pick up half stack (in inventory) |
| Middle Click | Pick up a single item |
| Shift + Click | Move item to/from hotbar |
| Shift + L-Click | Quick-move all of item type |
| Item | Ingredients | Notes |
|---|---|---|
| Crafting Table | 4 Planks (2x2) | Opens 3x3 crafting grid |
| Stick | 2 Planks (vertical) | Foundation for tools |
| Wooden Pickaxe | 3 Planks + 2 Sticks | First pickaxe to mine stone |
| Stone Pickaxe | 3 Cobblestone + 2 Sticks | Mines iron ore |
| Iron Pickaxe | 3 Iron Ingots + 2 Sticks | Mines diamond ore |
| Furnace | 8 Cobblestone (ring) | Smelts ores, cooks food |
| Torch | 1 Coal/Charcoal + 1 Stick | 4 torches per craft |
| Chest | 8 Planks (ring) | Stores 27 stacks of items |
| Bed | 3 Wool + 3 Planks | Skip night, set spawn point |
| Shield | 6 Planks + 1 Iron Ingot | Blocks attacks (right click) |
| Ore | Min Tool | Y-Level (1.18+) | Biome Tips |
|---|---|---|---|
| Coal | Wooden Pick+ | 0-320 (best: 96) | Anywhere underground |
| Iron | Stone Pick+ | -64-320 (best: 16) | Mountains for high gen |
| Gold | Iron Pick+ | -64-32 (best: -16) | Badlands (more) |
| Diamond | Iron Pick+ | -64-16 (best: -59) | Strip mine at Y=-59 |
| Lapis Lazuli | Stone Pick+ | -64-64 (best: 0) | Basalt Deltas (more) |
| Redstone | Iron Pick+ | -64-16 | Deepslate layer |
| Emerald | Iron Pick+ | -16-320 (best: -59) | Mountain biomes |
| Copper | Stone Pick+ | -16-112 (best: 48) | Dripstone caves (more) |
| Ancient Debris | Diamond Pick+ | Y=15 only | Very rare, Nether |
| Nether Quartz | Any Pick+ | 10-117 | Anywhere in Nether |
| Enchantment | Max Level | Best For | Notes |
|---|---|---|---|
| Sharpness | V | Sword | Increases melee damage |
| Smite | V | Sword | Bonus vs undead |
| Knockback | II | Sword | Push enemies back |
| Fire Aspect | II | Sword | Sets target on fire |
| Looting | III | Sword | More mob drops |
| Protection | IV | Armor | Reduces all damage |
| Unbreaking | III | Tools/Armor | Item lasts longer |
| Fortune | III | Pick/Shovel/Axe | More block drops |
| Silk Touch | I | Pickaxe | Mine block itself |
| Efficiency | V | Pickaxe | Faster mining speed |
| Mending | I | All tools | XP repairs items |
| Feather Falling | IV | Boots | Reduces fall damage |
| Lure | III | Fishing Rod | Fish bite faster |
| Luck of the Sea | III | Fishing Rod | Better loot from fishing |
| Rule | Details |
|---|---|
| Light Level 0 | Hostile mobs spawn in darkness |
| Light Level 7+ | Hostiles cannot spawn |
| Player Distance | Must be within 24-128 blocks |
| Pack Size | 1-4 hostile, varies by mob type |
| Spawn Cap | 70 hostile mobs max in loaded chunks |
| Slime Chunks | Slimes spawn in specific chunks (swamp/underground) |
| Warden | Spawns from Sculk Shrieker (deep dark) |
| Surface | Needs grass/dark surface for creepers/skeletons |
| Bedrock Layer | Bedrock at Y=-64 and Y=320 (1.18+) |
| Minecraft Day | 10 minutes daytime, 10 min sunset, 7 min night |
| Control | Action |
|---|---|
| D-Pad (Left) | Movement |
| Jump Button (Right) | Jump |
| Sneak Button | Sneak (hold) |
| Center Screen | Look around (drag) |
| Tap Block | Mine/attack |
| Hold Block | Continuous mining |
| Tap with item | Place block / use item |
| Inventory Icon | Open inventory |
| Crafting Icon | Open crafting |
| Chat Icon | Open chat (multiplayer) |
| Pause (||) | Pause game |
| Crouch Button | Swim down in water |
| Feature | Java | Bedrock |
|---|---|---|
| Multiplayer | LAN, servers, realms | Xbox Live, servers, realms |
| Modding | Forge, Fabric mods | Add-ons, behavior packs |
| Redstone | Full complex circuits | Limited redstone features |
| Commands | /execute, data, loot | Simplified command set |
| Rendering | Full fancy graphics | Simplified graphics engine |
| Performance | Requires strong PC | Optimized for mobile/console |
| World Size | Infinite (practical) | Limited height/border |
| Marketplace | No | Yes (skins, maps, packs) |
| Snapshots | Weekly snapshots | Beta preview program |
| Update Timing | Same time | Slightly later than Java |
| F3 Debug | Full debug screen | Limited attachable logger |
| Spectator Mode | Yes | No (education only) |
| Setting | Options | Recommendation |
|---|---|---|
| Render Distance | 2-32 chunks | 12-16 chunks (balance) |
| Simulation Distance | 4-12 chunks | 8 chunks (default) |
| Max Framerate | Unlimited / VSync | Match your monitor Hz |
| Graphics | Fast / Fancy / Fabulous! | Fancy for good GPUs |
| FOV (Field of View) | 30-110 (default 70) | 90-100 for PvP |
| Brightness | Moody-Bright | Bright for safety |
| Clouds | Off/Fast/Fancy | Fast or Off (perf) |
| Particles | Minimal-All | Decreased (performance) |
| Smooth Lighting | Off/Min/Max | Maximum (looks best) |
| Entity Shadows | On/Off | Off (performance) |
| Biome Blend Radius | 0-15 | 7 (default) |
| Property | Default | Description |
|---|---|---|
| server-port | 25565 | Server port number |
| max-players | 20 | Maximum connected players |
| level-name | world | World directory name |
| gamemode | survival | survival/creative/adventure/spectator |
| difficulty | easy | peaceful/easy/normal/hard |
| pvp | true | Player vs player combat |
| spawn-monsters | true | Hostile mob spawning |
| allow-flight | false | Allow flying (creative) |
| white-list | false | Only whitelisted players |
| online-mode | true | Verify Minecraft accounts |
| motd | A Minecraft Server | Message of the day |
| seed | (random) | World generation seed |
| view-distance | 10 | Render distance in chunks |
| simulation-distance | 10 | Tick distance in chunks |
| Component | Description | Signal |
|---|---|---|
| Redstone Dust | Transmits signal wire | Signal strength 0-15 |
| Redstone Torch | Power source/inverter | Always on (unless powered block) |
| Lever | Toggle switch | On=15, Off=0 |
| Button | Momentary switch | Pulse of 15 (1s stone, 0.5s wood) |
| Pressure Plate | Weight trigger | Stone: items, Wood: all entities |
| Repeater | Delay + direction + boost | 1-4 tick delay, re-boosts to 15 |
| Comparator | Compare signal strengths | Subtract/compare modes |
| Piston | Pushes blocks/mobs | Pushes up to 12 blocks |
| Sticky Piston | Pushes and pulls blocks | Pulls back when retracted |
| Observer | Detects block updates | Pulse output on change |
| Note Block | Plays musical note | Tune with clicks, power with redstone |
| Dispenser | Shoots items/uses items | Different behavior per item |
| Hopper | Moves items into containers | Filter with items in first slot |
| Dropper | Drops items (random slot) | Like dispenser but no special use |
| Gate | Components | How It Works |
|---|---|---|
| NOT (Inverter) | Torch + block | Torch outputs when input is OFF |
| AND | 2 inputs into torch | Output ON only when both inputs ON |
| OR | 2 inputs into dust | Output ON when either input is ON |
| NAND | AND + NOT | Output ON unless both inputs are ON |
| NOR | OR + NOT | Output ON only when both inputs OFF |
| XOR | Repeater + torch bridge | Output ON when inputs differ |
| XNOR | XOR + NOT | Output ON when inputs are same |
| Clock | Repeater loop | Repeater output back to input (oscillates) |
| T-Flip Flop | Comparator + piston | Toggle: each pulse flips state |
| RS Latch | 2 torches | Set/Reset memory (stores 1 bit) |
## Simple Redstone Clock (2-tick)
# Using 2 repeaters in a loop:
# [Repeater(delay=2)] -- redstone dust -- [Repeater(delay=2)]
# | |
# +------ redstone dust (loop) --------+
# Alternative: Comparator clock
# [Comparator in subtract mode] feeding back to itself
## T-Flip Flop (toggle switch)
# 1. Place a block with a button on one side
# 2. Place a sticky piston pointing at the block
# 3. Connect button to piston with redstone
# 4. Button press toggles the block position| Command | Description |
|---|---|
| /gamemode creative | Switch to creative mode |
| /gamemode survival | Switch to survival mode |
| /gamemode adventure | Switch to adventure mode |
| /gamemode spectator | Switch to spectator mode |
| /give @p diamond_sword | Give diamond sword to nearest player |
| /give @p diamond_sword{Enchantments:[{id:"sharpness",lvl:5}]} | Enchanted item |
| /tp @p 100 64 -200 | Teleport to coordinates |
| /tp @a @s | Teleport all players to yourself |
| /time set day | Set time to daytime (1000) |
| /time set night | Set time to night (13000) |
| /weather clear | Clear weather |
| /weather rain | Start rain |
| /difficulty hard | Set difficulty to hard |
| /experience add @p 30 levels | Give 30 experience levels |
| Command | Description |
|---|---|
| /effect give @p speed 60 2 | Speed II for 60 seconds |
| /effect give @p night_vision 99999 | Infinite night vision |
| /effect clear @p | Clear all effects from player |
| /enchant @p sharpness 5 | Enchant held item |
| /enchant @p unbreaking 3 | Unbreaking III on held item |
| /summon zombie ~ ~ ~ | Summon zombie at your location |
| /summon lightning_bolt | Strike lightning at target |
| /setblock ~ ~ ~ minecraft:chest | Place chest at position |
| /fill 0 0 0 10 10 10 air | Clear a 10x10x10 area |
| /clone 0 0 0 10 10 10 20 0 0 | Clone region to new pos |
| Example | Description |
|---|---|
| /execute at @p run say Hello | Run as position of player |
| /execute as @e[type=zombie] run kill @s | Kill all zombies |
| /execute in overworld run tp @s 0 64 0 | TP to overworld spawn |
| /execute positioned 0 100 0 run say hi | Run at specific coords |
| /execute if entity @a run say players | Conditional execution |
| /execute unless entity @a run say none | Unless condition met |
| /execute facing entity @p run say hi | Face towards player |
| Selector | Description |
|---|---|
| @p | Nearest player |
| @a | All players |
| @r | Random player |
| @s | Entity running the command (self) |
| @e | All entities (mobs, items, etc.) |
| @e[type=zombie] | All zombies |
| @a[team=red] | All players on red team |
| @p[distance=..10] | Nearest player within 10 blocks |
| @a[gamemode=survival] | All survival players |
| @e[type=!player] | All non-player entities |
| @p[level=10..] | Player with level 10+ |
| @a[x=0,y=0,z=0,dx=10,dy=10,dz=10] | Box region selector |
op username to give operator status.| Step | Description |
|---|---|
| 1. Install Java | JDK 17+ required for 1.18+ |
| 2. Download server JAR | minecraft.net/download/server |
| 3. Accept EULA | Edit eula.txt: eula=true |
| 4. Start server | java -Xmx2G -Xms2G -jar server.jar nogui |
| 5. Port forward | Forward TCP port 25565 on router |
| 6. Configure | Edit server.properties and ops.json |
| 7. Install mods | Add mod JARs to /mods folder |
| 8. Add plugins | Use Spigot/Paper/Purpur server JAR |
| Type | Performance | Mods | Plugins | Stability |
|---|---|---|---|---|
| Vanilla | Base | No | No | Official |
| Spigot | Good | Limited | Yes | Mature |
| Paper | Best | Yes | Yes | Fast updates |
| Purpur | Best+ | Yes | Yes | Most features |
| Fabric | Good | Yes (Fabric) | No | Mod loader |
| Forge | Moderate | Yes (Forge) | No | Most mods |
| NeoForge | Good | Yes (NeoForge) | No | Forge successor |
| BungeeCord | N/A | N/A | Yes | Proxy (multi-server) |
| Velocity | N/A | N/A | Yes | Modern proxy |
#!/bin/bash
# Minecraft Server Startup Script (Paper/Purpur)
# Configuration
JAR="paper.jar"
MAX_MEM="4G"
MIN_MEM="2G"
# Start the server
echo "Starting Minecraft Server..."
java -Xmx${MAX_MEM} -Xms${MIN_MEM} \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:MaxGCPauseMillis=200 \
-XX:+UnlockExperimentalVMOptions \
-XX:+DisableExplicitGC \
-XX:+AlwaysPreTouch \
-jar ${JAR} nogui
# Common server.properties edits:
# view-distance=12
# simulation-distance=8
# network-compression-threshold=256
# sync-chunk-writes=false| Plugin | Purpose |
|---|---|
| EssentialsX | Kits, homes, warps, teleport, economy |
| WorldEdit | In-game map editor (selection, paste) |
| WorldGuard | Region protection and flags |
| LuckPerms | Advanced permissions management |
| Vault | Economy/chat/permissions API bridge |
| CoreProtect | Block logging and rollback |
| GriefPrevention | Claim-based land protection |
| LWC | Lock chests, doors, furnaces |
| dynmap | Web-based world map renderer |
| ProtocolLib | Packet manipulation library |
| PlaceholderAPI | Placeholder system for plugins |
| SkinsRestorer | Skin management for players |