• check_circle Functions
  • 1,315 views, 4 today
  • 37 downloads, 0 today
Mr_Chibi's Avatar Mr_Chibi
Level 60 : High Grandmaster Programmer
145

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
CompatibilityMinecraft 1.20
Tags

Create an account or sign in to comment.

1
01/21/2024 11:22 am
Level 1 : New Miner
ryan_qzy
ryan_qzy's Avatar
/trigger trade_loot_npc doesnt work
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome