This plugin is based on the Sky Factory Ex Nihilo sieve without having the modpack and customizable for your needs!
Note: It doesn't look exactly the same because there is no way for me to replicate the texture without having a texturepack. But, the mechanics are essentially similar.
Features:
- Adds Sieve block. (In this plugin, it is a glass with armor stand inside as progress indicator)
- Configure sift-able blocks and what they drop.
- Configure your own custom crafting recipe for the sieve.
- More coming soon!
Crafting Recipe:
Any plank type works in the recipe. (This recipe can be changed at config.yml)
Commands:
/sieve addhand [sift-able item] [chance] - Adds the item currently in your hand to the sift-able item drop table with given chance. If the indicated [sift-able item] is not in config, it will be added by the command. ( Note: The amount of items that will drop is based on the amount of items in your hand)
/sieve reload - Reloads the plugin config.yml
Permissions:
sieve.addhand - Allows the user to use /sieve addhand
sieve.reload - Allows the user to use /sieve reload
sieve.* - Allows the user to use all commands under /sieve
How the block works:
When players put down the Sieve block, a glass block with a small armor stand inside will spawn. Players can then right click sift-able blocks into the Sieve which will begin the sifting process. Once finished, drops chances are calculated separately for each item in the loot table and they pop out the sieve.
config.yml guide:
Note: If you have the name tags enabled on the block, older blocks without the name tag will not appear to have the name tag. However, the mechanics are still going to work.
Sieve Block Configuration
sieve:
sound-enabled: true # Enables sound for sifting.
sound-interact: BLOCK_GRAVEL_HIT # Available sounds at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
sound-finish: BLOCK_GRAVEL_BREAK
sound-volume: 1
sound-pitch: 1
particle-enabled: true # Enables particle effects for sifting
particle: GRAVEL # Available particles at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
particle-count: 10
show-tag: false # Enable name tag on top of the block.
tag-text: Sieve # Shows this text if name tag is enabled.
# Crafting recipe for the Sieve block
# You can indicate "all_logs" or "all_planks" for all types of logs/planks. Put 'air' for empty slot.
recipe:
- all_planks, STRING, all_planks
- all_planks, STRING, all_planks
- STICK, GLASS, STICKLoot Table Configuration
item-drop:
# Here you can add new sift-able blocks.
dirt:
# Here is the drop table for the block (in this case, dirt).
# The chances node contain the percentage chance out of 100 that the block in items node will drop.
chances:
- '25.0'
- '50.0'
- '0.50'
- '3.0'
# Here is the item that will drop based on the chance above (by order).
# For example, 1 Coal has a 25% chance to drop, 2 Wheat seeds has a 3% chance to drop, and so on...
items:
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: COAL
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: DIRT
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: DIAMOND
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: WHEAT_SEEDS
amount: 2
gravel:
chances:
- '25.0'
- '50.0'
items:
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: SAND
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: FLINT
sand:
# An example of a custom item drop added using /sieve addhand sand 0.3 with the custom item in hand.
chances:
- '0.3'
items:
- ==: org.bukkit.inventory.ItemStack
v: 2227
type: TRIPWIRE_HOOK
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: §9§lDungeon Key
lore:
- §1§lUse in the DungeonQuestions you might have:
Why not use a scaffold block since it looks more like a sieve?
Unfortunately, I have tried doing this and it was impossible for me to remove the behavior of the scaffold block. For now, the glass block will do.
Support:
If you have any suggestions or bug reports, please post in the discussion thread.
If you like the plugin, consider leaving a review.
Donations are highly appreciated :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta