Minecraft Data Packs / Other

Flaming Pumpkins Random Event! v1.3.1

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 5,878 views, 6 today
  • 680 downloads, 0 today
  • 38
  • 34
  • 12
uBiuui's Avatar uBiuui
Level 35 : Artisan Fish
14
Flaming Pumpkins Random Event Datapack! v1.3.1

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 datapack with the various trigger commands included!

For Minecraft Java versions: MC 1.13.x - 1.20.x


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

(It is strongly recommended to uninstall the datapack 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 datapack.
/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

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

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 datapack
3. Run: /reload (singleplayer)
3. Restart the server (multiplayer)

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

Datapack by uBiuui.
CreditOriginal idea by Mineplex, Revamped by uBiuui
CompatibilityMinecraft 1.13
toMinecraft 1.20
Tags

6 Update Logs

v1.3.1 : by uBiuui 11/02/2023 4:27:30 pmNov 2nd, 2023

- Fixed loot effects working incorrectly in certain situations. Improved Root Beer Float's empty bottle detection.
- Fixed flaming pumpkins not being able to blink if spawned in certain blocks.
- Fixed flaming pumpkins result text staying in world if the event was disabled while they were still active.
- Trading multiple stacks of items at a time no longer spams nearby player's chats.
- Various minor fixes.
[Supported versions: 1.13.X - 1.20.X]
LOAD MORE LOGS

Create an account or sign in to comment.

1
10/29/2023 11:15 pm
Level 1 : New Miner
chud
chud's Avatar
an item description mentions trading is that a real thing?
2
10/30/2023 9:24 am
Level 35 : Artisan Fish
uBiuui
uBiuui's Avatar
For some items, yes.
1
11/01/2023 6:26 pm
Level 1 : New Miner
chud
chud's Avatar
where do i trade and what is the witches totem?
1
11/02/2023 10:12 am
Level 35 : Artisan Fish
uBiuui
uBiuui's Avatar
You can trade with certain NPCs. The Witches' Totem will periodically clear you of your illnesses (poison & wither) when holding it.
10/24/2021 8:27 am
This reply was removed by the poster or a moderator.
10/24/2021 5:25 pm
This reply was removed by the poster or a moderator.
2
10/21/2021 3:46 pm
Level 39 : Artisan Herobrine
Ribinator
Ribinator's Avatar
Cool
3
09/27/2021 12:26 pm
Level 8 : Apprentice System
cirignanoz
cirignanoz's Avatar
this gives me extreme deja vu to mineplex's old halloween events with the pumpkins you could break for items or a very rare chance for a rank.
2
09/29/2021 6:07 pm
Level 35 : Artisan Fish
uBiuui
uBiuui's Avatar
I must've smashed at least 500 pumpkins trying to get that dang rank lol
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome