Minecraft Data Packs / Game Mechanic

Supply Drops [1.21.3]

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 2,688 views, 2 today
  • 298 downloads, 0 today
  • 11
  • 10
  • 1
rwh4
Level 12 : Journeyman System
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

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

Functions
  • /function supplydrops:_dev/help
    A written book that contains all the functions as executable text
  • /function supplydrops:_dev/give_flare
    Gives a "Supply Drop Flare" that will call for a supply drop when placed
  • /function supplydrops:_dev/toggle_flare
    Turns on/off the smoke flare left from calling in supply drops
  • /function supplydrops:_dev/toggle_message
    Turns on/off chat alert for incoming supply drops  
  • /function supplydrops:_dev/modify_timer
    Gives you a chat prompt for customizing timer
    Can be edited using scoreboard commands:
      /scoreboard players set limit SupplyDrops_Minutes #
      /scoreboard players set limit SupplyDrops_Seconds #
  • /function supplydrops:_dev/land_all
    Lands all pending supply drops
  • /function supplydrops:_dev/uninstall
    Removes all scoreboards in case you wish to remove the datapack

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

Modifying Loot Table
  • Navigate to "SupplyDrops\data\supplydrop\loot_table\"
  • Open file "supply_drop_loot.json"
  • Modify/replace existing loot table to fit your needs
CompatibilityMinecraft 1.21
Tags

2 Update Logs

1.21.2+ Support : by rwh4 10/31/2024 10:25:18 pmOct 31st, 2024

I updated it to support 1.21
  • Supply drop flare changed from blaze powder you right-click to a redstone torch you place on the ground
  • Removed the scoreboard that keeps track of opened drops
LOAD MORE LOGS

Create an account or sign in to comment.

Brostick Gamer
05/27/2024 12:31 am
Level 16 : Journeyman Miner
hmm you can use block bench to make 3d model for flare
2

Welcome