Data Packs Other

Flaming Pumpkins Random Event! v1.5

  • 7.9k views 1 today
  • save_alt 884 downloads
Compatibility
Minecraft 1.21
Changes include
    Added CreditOriginal idea by Mineplex, Revamped by ubiuui
    • 41
    • 39
    • 19
    ubiuui
    Lvl 38Artisan Fish
    17
    Flaming Pumpkins Random Event Data Pack! v1.5

    Random flaming pumpkins will spawn around your world; smash them to receive a trick or a treat!

    Singleplayer and multiplayer compatible! Both players in survival mode and adventure mode can break flaming pumpkins! Works on any difficulty! Customize the data pack with the various trigger commands included!

    For Minecraft Java versions: 1.21.5 - 1.21.10


    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    How to install/update:
    ~~~~~~~~~~~~~~~~~~~~
    1. Download the data pack.
    2. Drag the data pack into your world's "datapacks" folder.

    (It is recommended to uninstall the data pack before moving to a newer version. See the uninstall section at the bottom.)


    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    Player trigger commands:
    ~~~~~~~~~~~~~~~~~~~~~~~
    /trigger FPRE_broke_countView the number of flaming pumpkins you have broken and the total broken by all players.

    Admin trigger commands:
    ~~~~~~~~~~~~~~~~~~~~~~~
    /trigger FPRE_commands
    Lists all trigger commands for this data pack.
    /trigger FPRE_delay_scale set <value>Change the rate that flaming pumpkins spawn. Positive values make them spawn faster, and negative values make them spawn slower. (Default: 0)
    /trigger FPRE_emit_lightToggle whether flaming pumpkins emit light. Disabling can increase performance depending on how many flaming pumpkins there are. (Default: enabled)
    /trigger FPRE_kill_all
    Kills all currently spawned flaming pumpkins without dropping any loot.
    /trigger FPRE_loot_allSmashes all currently spawned flaming pumpkins and drops the loot from them.
    /trigger FPRE_loot_chance set <value>The chance (percentage wise) that treats/good loot will spawn when breaking a flaming pumpkin. Set value to a number from 0 to 100.
    /trigger FPRE_max_life set <value>Change the time it takes flaming pumpkins to despawn. Set value to 0 or higher, a value of 600 = 1 minute. (Default: 1500 (2 mins, 30 secs))
    /trigger FPRE_reset_totalReset the total count of flaming pumpkins smashed.
    /trigger FPRE_reveal_allReveals all current flaming pumpkins by giving them a glowing effect you can see through walls.
    /trigger FPRE_reveal_noneRemoves reveal effect from all current flaming pumpkins that are revealed.
    /trigger FPRE_spawn_here
    Spawns a flaming pumpkin at the position of the player.
    /trigger FPRE_spawn_nowForces the next flaming pumpkin's spawn delay to be over.
    /trigger FPRE_statsDisplays the current information about the event.
    /trigger FPRE_toggleEnables/disables the Flaming Pumpkin Random Event. Disabling the event prevents flaming pumpkins from spawning and kills any current ones. (Enabled by default)

    In order to use the above admin trigger commands, you must first give yourself permission by doing:

    /tag <PLAYER_NAME> add FPRE_admin

    You can remove this permission by doing:
    /tag <PLAYER_NAME> remove FPRE_admin

    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    Extra Configuring:
    ~~~~~~~~~~~~~~~~~~~~
    You can configure extra things to occur (add your own commands) when a player smashes a flaming pumpkin.

    To edit these configuration files:
    1. Extract the data pack (delete the .zip file).
    2. Navigate to "data\fpre\function\".
    3. Edit either/both "conf_extra_X.mcfunction" files.
    "conf_extra_fp.mcfunction" - Commands in here execute as and at flaming pumpkins when they get smashed.
    "conf_extra_player.mcfunction" - Commands in here execute as and at players when they smash a flaming pumpkin.
    4. Save and reload the data pack for changes to take effect.

    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠

    Server usage:
    ~~~~~~~~~~~~~~~~~~~~
    - Make sure "spawn-animals" and "spawn-monsters" are set to true in your "server.properties" file.

    - If you are using plugins like Essentials that override vanilla Minecraft commands,
    make sure to modify "command-block-overrides" in your "commands.yml" file to look like this:
    command-block-overrides:
    - "*"

    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    View flaming pumpkin's trick & treat loot drop rates here:
    https://docs.google.com/spreadsheets/d/1PWvcdBrO_yU-yg9fS-In7k48JPWt6Tos-D_hsh6YS08/

    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    To ignore players from having flaming pumpkins randomly spawn near them, use:
    /tag <PLAYER_NAME> add FPRE_dont_spawn

    To unignore players, use:
    /tag <PLAYER_NAME> remove FPRE_dont_spawn

    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    How to uninstall:
    ~~~~~~~~~~~~~~~~~~~~
    1. Run: /function fpre:uninstall
    2. Delete the data pack
    3. Run: /reload (singleplayer)
    3. Restart the server (multiplayer)

    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
    Legacy versions:
    > v1.4.3 (MC 1.13 - 1.21.2) - https://uii.io/AQtBhdlIeBX7nP
    > v1.4.2 (MC 1.13 - 1.21.2) - https://uii.io/ZPYI2McMhYGz
    > v1.4.1 (MC 1.13 - 1.21.2) - https://uii.io/Gse1a9Cqj
    > v1.4.0 (MC 1.13 - 1.21.2) - https://uii.io/1QJqWyLG
    > v1.3.1 (MC 1.13 - 1.20.2) - https://uii.io/0S3w581r
    > v1.3.0 (MC 1.13 - 1.20.2) - https://uii.io/aZbVgnc
    > v1.2.0 (MC 1.13 - 1.19.4) - https://uii.io/5evLoaAo
    > v1.1.1 (MC 1.13 - 1.18.2) - https://uii.io/vxVE4mDkbhvww1e
    > v1.1.0 (MC 1.14 - 1.18.2) - https://uii.io/6kBC
    > v1.0.0 (MC 1.17 - 1.18.2) - https://uii.io/Ww4aDeJTJc


    ☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠

    Data pack by ubiuui.

    11 Update Logs

    v1.5 : by ubiuui 10/24/2025 4:18:21 pmOctober 24, 2025 @ 8:18 pm UTC

    - Added support for MC 1.21.5 - 1.21.10. Dropped support for legacy MC versions; this comes with many performance improvements. All legacy releases can now be found in the description and Readme file.
    - Added loot effects for: Bat Hide, Caramel Square, Pop, Old Hard Candy, and Vampire Breath.
    - Added burp particle effect for Root Beer Float.
    - Added lores to Charcoal & Rotten Potato.
    - Added default values to failed trigger command messages.
    - Replaced end rods with light blocks for blinking effect.
    - Fixed Paper servers throwing warning messages when players trade items.
    - Updated compatibility with Nice Mobs Remastered data pack.
    - Various minor fixes.
    [Supported MC versions: 1.21.5 - 1.21.10]
    LOAD MORE LOGS

    More like this

      Have something to say?

    FamigosFq
    10/20/2024 4:32 am
    Level 1 : New Miner
    Hello! I really liked your datapack. I installed it on my server and would like to add the following functionality to it: when you break a pumpkin that appears, the server enters a command, for example “/xp @s add 100”. How can I implement this?
    3
    ubiuui
    10/20/2024 4:35 pm
    Level 38 : Artisan Fish
    Added the ability to do this in the latest update, thanks for the suggestion!

    Look under the "Extra Configuring" section to see how.
    2
    ChrissyMC
    10/12/2024 11:32 pm
    Level 1 : New Miner
    Super cute, but sometimes it seems like the pumpkins wont smash and I have to hit it from the bottom and break a few blocks. Not the worst thing but yeah overall I like it !
    2
    ubiuui
    10/14/2024 12:43 am
    Level 38 : Artisan Fish
    history
    Glad you like it!

    I will look into fixing that bug. If you could provide the following info, it will be really helpful:
    1. What version of Minecraft does it take place on?
    2. Where does it take place: singleplayer, multiplayer, or LAN?
    3. What other data packs/mods/plugins are installed, if any?
    2
    ChrissyMC
    10/19/2024 4:07 pm
    Level 1 : New Miner
    history
    I love it! And heres some more specific information after a few tests.

    In Multiplayer
    , it runs flawlessly without any compatibility issues among the datapacks listed below. The only minor bug is that sometimes the pumpkin needs to be broken from below, requiring a bit of block breaking. When the datapack is by itself in multiplayer, it behaves normally, and can be broken from any direction.

    In Singleplayer, it behaves the same way as in Multiplayer. However, in a Singleplayer world with no other datapacks besides this one, the pumpkins can be broken normally from any direction, without needing to be broken from the bottom.

    Hypothesis: It seems that the Nice Mobs Remastered (NMR) datapack, or another mob/altering one, was causing interference with the flaming pumpkin mechanic.

    After testing in a separate world with all the other datapacks except for NMR, the pumpkin behaved as expected. NMR seems to add variants to shulker sizes and colors, which I believe was triggering smaller shulkers and causing issues with the FPRE datapack. :)

    My Datapacks
    - More Mobs
    - Nice Mobs Remastered
    - Nice Villagers Remastered
    - MCS Better Allay
    - Yegor's Dodo Birds
    - Terralith
    - Just Another Structure Pack
    - Katters Structures
    - Lukis Grand Capitals
    - Revamped Shipwrecks
    - Unwrecked Ships
    - Structory
    - Structory Towers
    - Towers of the Wild
    - Immersive Structures
    - Flaming Pumpkin
    - Wanted
    - Midnight Menaces
    - Mysterious Midnights
    - Mine Treasure
    - Halloween Stonecutter
    - Piston Shrinking
    - Particle Expansion
    - Kawa Waystones
    - Vanilla Refresh
    - Mob Heads
    - Fruitiful
    - Sgraves
    - Vanilla Fireflies
    - Arboria Saplings
    - Custom Trees
    - Better Hanging Signs
    - Doorbells
    - Enchantments Encore
    2
    ubiuui
    10/19/2024 9:09 pm
    Level 38 : Artisan Fish
    Fixed it, thanks for the help!
    2
    ChrissyMC
    10/19/2024 10:50 pm
    Level 1 : New Miner
    Yay ! No problem! And thank you ^^
    1
    chud
    10/29/2023 11:15 pm
    Level 1 : New Miner
    an item description mentions trading is that a real thing?
    1
    ubiuui
    10/30/2023 9:24 am
    Level 38 : Artisan Fish
    For some items, yes.
    2
    chud
    11/01/2023 6:26 pm
    Level 1 : New Miner
    where do i trade and what is the witches totem?
    1

    Welcome