• 1.7k views 1 today
  • save_alt 50 downloads
Compatibility
Minecraft 1.20
Changes include
  • Functions
Mr_Chibi
Lvl 64High Grandmaster Programmer
167

Loot NPC


Loot NPC is a minecraft datapack! It's Singleplayer & Multiplayer Friendly!

How to setup NPC?

  1. When pack installed! There's "2" Admin Commands (Build & Remove)

  2. OP'd player will have do command: "/function loot_npc:commands/build" to place down minigame. It's directional based.

  3. If you make a mistake do NOT punch chests or NPC just use following command: "/function loot_npc:commands/build" and stand 1-3 blocks next to NPC.

  4. Player's can type command or Optional get a "command block" and paste this code inside: "/execute as @p at @s run trigger trade_loot_npc"

  5. If you go with optional route place it infront villager on ground with pressure plate ontop command block.

How Do I Edit Loot tables / Add more?


How Do I play?

  • Player, requires 1 "minecraft:gold_block" to play!

  • Stand next NPC 1-2 block distance and type in command: "/trigger trade_loot_npc"

  • Optional have server operator place a command block underground and pressure plate on top.

  • Then, stand 1-2 blocks near 3 chests and pick one then, "Right Click".

  • Game will tell you if you won or lost. If you won you'll be granted a random reward!

What Unique Features does pack offer?

  • Random Puzzle Solving game with chests.
  • Player's are granted random rewards if they guess correct chest!

How it was written in:

  • Json
  • Mcfunction

More like this

  Have something to say?

ryan_qzy
01/21/2024 11:22 am
Level 1 : New Miner
/trigger trade_loot_npc doesnt work
1

Welcome