• check_circle Functions
  • check_circle Loot Tables
  • 818 views, 10 today
  • 81 downloads, 3 today
  • 9
  • 5
  • 1
rwh4's Avatar rwh4
Level 5 : Apprentice Engineer
0
This was my first data pack attempt and I have since updated it slightly. This is meant for a specific map I'm working on, however, the loot table can be modified to whatever you want. This was made intended for mini-games and not for survival mode.


Features:
  • Supply drops that fall from the sky
  • Modifiable timer for how long it takes for a supply drop to arrive
  • Toggles for the smoke flare and chat alert
  • Modifiable single loot table
  • Scoreboard keeping track of supply drops opened (supply_drops_opened_X).

How to Use
  • Run command "/function supplydrop:help" to receive a book that is used for initial setup
  • The flare is meant to be distributed throughout a survival games map or sold by villagers for different game modes

Functions
  • /function supplydrop:help
    A written book that contains all function as executable text
  • /function supplydrop:feather
    sets a chest at your feet with a supply drop flare-feather
    (I had an issue with the give command where a supply drop would get summoned)
  • /function supplydrop:toggle_flare
    Turns on/off the smoke flare left from call in supply drops
  • /function supplydrop:toggle_message
    Turns on/off chat alert for incoming supply drops  
  • /function supplydrop:modify_timer
    Gives you chat prompt for customizing timer
    Can be edited using scoreboard commands:
      /scoreboard players set limit Minutes #
      /scoreboard players set limit Seconds #
  • /function supplydrop:drop_now
    drops all pending supply drops

Limitations
  • The way I have it set up, the loot table is specific to my map (however it can be modified)
  • Supply drops are limited to the 9-slots of a dispenser
  • The flare is uncraftable
  • There is no randomly-spawning supply drop feature
  • Supply will be summoned when dropped on ground (hard to give to another player without a chest)

Modifying Loot Table
  • Navigate to "SupplyDrop\data\supplydrop\loot_tables\drops"
  • Open file "supply_drop_loot.json"
  • Modify/replace existing loot table to fit your needs


This data pack was made using mcbuild
CompatibilityMinecraft 1.21
Tags

Create an account or sign in to comment.

Brostick Gamer
05/27/2024 12:31 am
Level 9 : Apprentice Miner
Brostick Gamer's Avatar
hmm you can use block bench to make 3d model for flare
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome