Can you make a lootdrop plugin with detailed animations make the lootbox a barrel and maybe a parachute if you can make this plugin work for 1.21.11 paper java 21-25
Create the Paper/Gradle project for Java 21+ and Paper 1.21.11.
Add configurable weighted loot, automatic/manual drops, and barrel claim protection.
Add a server-side animation system with descending barrel display, parachute particles, landing effects, and claim effects.
Register commands, listeners, persistence markers, and cleanup behavior.
[Generation stopped]
Can you make a lootdrop plugin with detailed animations make the lootbox a barrel and maybe a parachute if you can make this plugin work for 1.21.11 paper java 21-25 I Want a configurable ingame lootbox config and the config should include what items should be inside of random lootboxes and u can manage their chances You cant break the lootbox or right click it and just take everything you need to hit it a configurable of times Lootboxes dont spawn randomly they have to be spawned by admins to a specific coordinates setted by the admins
Inspect the existing loot-drop implementation and build configuration.
Add admin-placed lootbox locations with configurable hit-to-open behavior and protection.
Add weighted random loot configuration and reward delivery.
Complete barrel/parachute animations, commands, persistence, and cleanup for Paper 1.21.11 / Java 21–25.
Protected barrel interaction is now hit-based: left-clicks advance a configurable counter, right-clicks never open it, and only the final hit starts the claim animation.
Admin drops now require explicit world/X/Y/Z coordinates, with automatic random spawning disabled and exact-Y placement enabled.
I’m tightening the configurable loot and protection behavior next, including chance-based entries and non-player destruction paths.
Implemented the LootDrop plugin for Paper 1.21.11 with Java 21 compatibility.
Features added:
Admin-only coordinate spawning:
Plain Text/lootdrop drop <world> <x> <y> <z>Random/automatic spawning removed.
Barrel lootboxes with configurable hit requirements:
YAMLsettings: required-hits: 5Left-clicking the barrel counts as a hit.
Right-clicking cannot open or access the barrel.
Configurable weighted loot using
chance:YAMLloot: diamonds: material: DIAMOND min: 2 max: 8 chance: 6Rewards are randomly selected according to their configured chances.
Loot is stored inside the protected barrel until successfully claimed.
Barrel cannot be:
Broken by players
Opened as an inventory
Destroyed by explosions
Moved by pistons
Drained by hoppers
Hit progress survives reloads and server restarts.
Lootboxes are recovered after restarting the server.
Animated barrel descent using
BlockDisplay.Configurable parachute particle canopy and support lines.
Landing particle and sound effects.
Hit sounds and claim animation.
Configurable claim animation duration.
Loot timeout support.
Exact admin coordinates are respected with:
YAMLsettings: use-highest-block: false
The main configuration is in:
src/main/resources/config.yml
The project is configured for:
Paper 1.21.11
Java 21 bytecode
Compatible with Java 21–25 runtimes
the white dust effect is not alligned perfectly and also make it broadcast the cords to everyone and make the hits text a bar like an actual bar and make it detailed when you hit the lootbox maybe size up the lootbox eachtime you hit and also the hit counter is not accurate and yea theres no /lootdrop config command that lets you change the config inside of minecraft
Fix the parachute/dust geometry so the visual effects stay centered on the barrel.
Broadcast exact lootbox coordinates when an admin spawns one.
Replace hit progress with an accurate configurable bar and add stronger per-hit scaling/feedback.
Add
/lootdrop configsubcommands for in-game configuration changes and reload support.
The parachute ring and support lines are currently derived from the display entity origin, while the barrel’s visual center is half a block above that origin. I’m centralizing all descent particles on one exact barrel-center anchor so the white canopy and lines share the same X/Z and connect at the same Y.
Admin-created drops will now announce the actual resolved landing coordinates to every online player, including the world name. I’ll use the manager’s landing location so the broadcast remains correct when “use highest block” is enabled.
The hit count can overshoot because it increments before the completion branch, and interaction events can be emitted for both hands. I’m clamping hits to the required total, processing only the main hand, showing a proportional action-bar progress bar, and adding a short scaled barrel display plus expanding particle/sound feedback on every valid hit.
The in-game configuration command will support generic path edits without requiring a restart: get, set, reload, and save. This lets admins change hit counts, animation values, and loot chances such as /lootdrop config set loot.diamonds.chance 10; values are parsed as booleans/numbers when appropriate and saved immediately.
Implemented:
Aligned parachute effects: all white smoke, canopy, support lines, and barrel particles now use one exact barrel-center anchor.
Global coordinate broadcast: admin drops broadcast the resolved landing coordinates to everyone:
Plain TextA supply drop is descending to world X Y Z!Accurate hit counter:
Only main-hand interactions count.
Hits are clamped to the required amount.
Progress persists correctly.
Action-bar progress bar displays like:
Plain TextLootbox [████████░░░░░░░░░░░░] 8/20
Detailed hit animation:
Expanding particle ring.
Hit sound with changing pitch.
Temporary barrel scaling animation.
Final-hit title and securing animation.
In-game config management:
Plain Text/lootdrop config get settings.required-hits /lootdrop config set settings.required-hits 10 /lootdrop config set loot.diamonds.chance 12 /lootdrop config set loot.diamonds.min 5 /lootdrop config set animation.parachute true /lootdrop config reload /lootdrop config save
All /lootdrop config commands require the existing lootdrop.admin permission. Configuration changes are saved immediately and apply dynamically where possible.
nooo i want a dialog or a inventory gui
The generation was stopped before any content could be produced.
nooo i want a dialog or an inventory gui since its needed for the lootdrop items to be configurable easily and make everything configurable easily too
Replace the text-only configuration flow with an inventory GUI for admins.
Add GUI navigation for global settings and weighted loot entries.
Add item editing controls, chance/min/max controls, and save/reload actions.
Register the GUI listener and preserve the existing drop, hit, protection, and animation behavior.
Implemented an inventory-based admin configuration GUI.
Open the GUI
/lootdrop config
or:
/lootdrop config gui
Main settings GUI
Admins can now configure by clicking buttons:
Required hits
Landed timeout
Use highest block
Hit-bar length
Descent duration
Descent height
Parachute on/off
Claim animation duration
Save configuration
Reload configuration
Changes save directly to config.yml.
Loot editor GUI
The loot menu allows admins to:
View all configured loot entries
Add loot by holding an item and clicking Add loot from hand
Copy the held item’s:
Material
Display name
Lore
Edit minimum amount
Edit maximum amount
Edit weighted chance
Delete loot entries
Example workflow:
/lootdrop config
→ Loot items
→ Add loot from hand
The existing text commands still work for console and advanced configuration paths, but admins can now manage the important settings and loot table entirely through the inventory GUI.
hey man the lootbox animation when hitting it doesnt work maybe just remove the scale up effect and add a entity.wither.break.block playsound whenever hitting the lootbox and also the fucking parachute effect is not in the middle of the blocks bro and also add a sound effect when the lootbox is coming down and also make it so theres a title bar above every players that broadcast the cords of where the lootbox is
Remove the unreliable hit scaling, add the Wither block-break hit sound, and add a descent sound.
Re-center the parachute and landing particles on the barrel’s actual block center.
Add a synchronized coordinate title/subtitle announcement for every player during the drop.
The hit animation no longer spawns a temporary scaling display; each valid hit now uses the Wither block-break sound. I also corrected the drop’s location model so the barrel center is not offset by an extra half-block, and the descent sound now uses valid Minecraft sound keys.
Removed the unreliable barrel scaling animation.
Added
entity.wither.break_blockon every valid hit.Fixed the parachute and particle positioning by removing the extra half-block coordinate offset.
Added descent sounds using
entity.phantom.flap, both when spawning and periodically during descent.Added a global title announcement for every online player:
Title:
SUPPLY DROP INCOMINGSubtitle: world and exact coordinates
Added configurable title timing:
YAMLanimation: announcement-title: fade-in: 10 stay: 70 fade-out: 15Added configurable title messages:
YAMLmessages: drop-title: '&bSUPPLY DROP INCOMING' drop-title-subtitle: '&fCoordinates: &e%world% &f%x% %y% %z%'
can you make the paracute effect in the center of the lootbox
Fixed the parachute alignment.
The falling lootbox display was offset by half a block, while the particle effects were centered on the actual barrel block. The display now uses the block’s corner position while all parachute particles and support lines use the exact barrel center, keeping everything aligned during descent.
can you add configurable rarities and also the parachute only has white on it isnt there supposed to be red white red white red white
and also
common is a barrel 5 hits uncommon is a green concrete 10 hits rare is an ice block 20 hits epic is an amethyst block 35 hits legendary is a resin block 50 hits mythic is a netherite block 67 hits
Add configurable rarity tiers with the requested block types and hit requirements, and connect rarity selection to loot drops.
Alternate the parachute canopy particles red/white around the full canopy.
[Generation stopped]
can you add configurable rarities and also the parachute only has white on it isnt there supposed to be red white red white red white
and also
common is a barrel 5 hits uncommon is a green concrete 10 hits rare is an ice block 20 hits epic is an amethyst block 35 hits legendary is a resin block 50 hits mythic is a netherwart block 67 hits extra tier is netherite is a netherite block 150 hhits
Add configurable rarity tiers with the requested blocks and hit counts, and wire rarity selection into lootbox behavior.
Alternate red and white particles across the parachute canopy.
Rarity will be selected by configurable weights for each drop. The tier’s block will identify the drop visually, and its hit requirement will control unlocking; the placed loot container remains a barrel internally so its inventory, hit tracking, and recovery continue to work. The rarity editor will be accessible directly from /lootdrop config and let admins adjust hit counts, weights, and block materials.
The tier configuration and editor are in place. I’m updating the canopy ring now so adjacent points alternate red dust and the configured white particle around the full parachute.
Added configurable rarity tiers. Open /lootdrop config → Rarity tiers to adjust each tier’s hit count, spawn weight, and block material (hold a block and click Set block from hand).
Defaults are common—Barrel, 5 hits; uncommon—Green Concrete, 10; rare—Ice, 20; epic—Amethyst Block, 35; legendary—Resin Block, 50; mythic—Nether Wart Block, 67; and extra—Netherite Block, 150. Drops are selected by weight; the defaults favor common tiers.
The parachute canopy now alternates red dust and the configured white particle around the ring. Tier blocks are the visible drop model; a barrel remains underneath to store loot and hit progress.
when a rarity drops down and hits its cords it turns into a barrel
Fixed: when the drop lands, its configured rarity block now stays in the world instead of being replaced by a barrel. Hit tracking, claiming, and block protection still work on the rarity block.
make rarity items configurable bro
The generation was stopped before any content could be produced.
make rarity items configurable bro and can you make it so admins can choose what rarity to drop down and also can you make it so others can hit the lootdrop too not just one and first one to end it gets it
Make each rarity’s loot items configurable in the config GUI.
Let admins choose a rarity when spawning a drop.
Allow everyone to contribute hits; the first player to finish claims it.
Per-rarity loot editing is wired up; tiers with no custom entries continue to use the global loot table. Next I’m adding admin-selected rarity spawning.
Admins can now force a tier with /lootdrop drop <world> <x> <y> <z> <rarity>; leaving off rarity still picks by weight. I’m checking hit and claim ownership for the shared-progress behavior.
Rarity loot: In
/lootdrop config→ Rarity tiers → select a tier → Configure rarity loot, admins can add and edit that tier’s weighted reward items. Tiers without custom loot still use the global loot table.Choose a drop tier: Use
/lootdrop drop <world> <x> <y> <z> <rarity>. Tab completion suggests configured rarities; omit the rarity to keep random weighted selection.Shared hits and winner: Any player can contribute to the drop’s shared hit count. Nearby players now see the shared progress, and the player who lands the final hit gets the loot after the claim animation.
you fucking piece of shit you cant even interact with the loot rarity table sincce its quote unquote empty then how do you put the lloot items you dumb shit
Fixed the rarity loot editor: clicking Configure rarity loot was immediately reopening the rarity screen, so the empty loot table never stayed open.
To add rewards, hold the item in your main hand, open that rarity’s loot table, then click Add loot from hand. The empty table now shows that instruction too.
btw can you fix everything since i dont want the loot thingy not just rarity but commonly loot table to put stuff you have to hold something in your hand to put it in but thats too time consuming
Make the common loot table accept items directly from the player inventory, without requiring them in hand.
Apply the same quicker item-entry flow to each rarity’s loot table.
Updated both the common and per-rarity loot tables: click an item in your inventory while the table is open to add it, then edit its settings. The item stays in your inventory; its current stack size becomes the reward amount.
when putting in an enchanted item it unenchants
The generation was stopped before any content could be produced.
when putting in an enchanted item it unenchants and also can you make the breaking sound the block's breaking sound like whatever the block's breaking soundd is and also can you also add a landing down sound and also make everything 50x better and not time consuming
Preserve enchantments and full item metadata when adding loot.
Play each block’s own break sound and add a configurable landing sound.
Make the loot-editing flow faster without disrupting existing settings.
Full item metadata is now saved with loot entries, so enchantments survive reward generation. I’m updating the drop’s impact sounds next.
Rarity blocks now use their own break sound on hits and their fall sound on landing; custom hit/landing sounds remain available in config. I’m removing the forced editor detour so multiple rewards can be added in one pass.
Enchanted items now keep their enchantments and other metadata when added as loot and when generated as rewards.
Loot drops play the rarity block’s break sound on hits and its fall sound when landing. Custom hit and landing sounds can still be set in config;
autouses the block’s sounds.Faster loot setup: click items in your inventory to add them, and the loot list stays open so you can add more without reopening it. Click an entry later to edit it; its icon also shows the saved item metadata.
package com.kodari.lootdrop;
import com.kodari.lootdrop.command.LootDropCommand;
import com.kodari.lootdrop.gui.LootDropConfigGui;
import com.kodari.lootdrop.listener.LootDropListener;
import com.kodari.lootdrop.listener.LootDropGuiListener;
import com.kodari.lootdrop.manager.LootDropConfig;
import com.kodari.lootdrop.manager.LootDropManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class LootDropPlugin extends JavaPlugin {
private LootDropConfig lootDropConfig;
private LootDropManager lootDropManager;
@Override
public void onEnable() {
saveDefaultConfig();
this.lootDropConfig = new LootDropConfig(this);
this.lootDropManager = new LootDropManager(this, lootDropConfig);
this.lootDropManager.start();
LootDropCommand command = new LootDropCommand(this, lootDropManager, lootDropConfig);
if (getCommand("lootdrop") != null) {
getCommand("lootdrop").setExecutor(command);
getCommand("lootdrop").setTabCompleter(command);
}
Bukkit.getPluginManager().registerEvents(new LootDropListener(lootDropManager, lootDropConfig), this);
Bukkit.getPluginManager().registerEvents(new LootDropGuiListener(new LootDropConfigGui(this)), this);
}
@Override
public void onDisable() {
if (lootDropManager != null) {
lootDropManager.shutdown();
}
}
public void reloadLootDropConfig() {
reloadConfig();
}
}