Minecraft Data Packs / Other

Flaming Pumpkins Random Event! v1.4.3

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 6,925 views, 1 today
  • 821 downloads, 0 today
  • 41
  • 36
  • 19
uBiuui
Level 36 : Artisan Fish
15
Flaming Pumpkins Random Event Data Pack! v1.4.3

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.13 - 1.21.2


☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
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. If your world is running MC 1.21.0+: Navigate to "data\fpre\function\".
2. If your world is running MC 1.20.5-: Navigate to "data\fpre\functions\".
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)

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

Data pack by uBiuui.
CreditOriginal idea by Mineplex, Revamped by uBiuui
CompatibilityMinecraft 1.13
toMinecraft 1.21
Tags

10 Update Logs

v1.4.3 : by uBiuui 10/20/2024 4:32:04 pmOct 20th

- You can now configure your own commands to run when a player smashes a flaming pumpkin (thanks to FamigosFq for the suggestion!). See the "Extra Configuring" section of the readme or the PMC description for more details.
- Fixed version resolver not resetting when going from MC 1.21.2 to a lower 1.21.X version.
- Various minor fixes.
[Supported MC versions: 1.13 - 1.21.2]
LOAD MORE LOGS

Create an account or sign in to comment.

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 36 : 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 36 : 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 36 : 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 36 : 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