This is the 1.18.2 Fabric Port of https://www.curseforge.com/minecraft/mc-mods/create-sifting
Below is the original information:
A simple sifter for the amazing create mod. This mod it's meant to be used in modpacks. Only contains very basic ore recipes.
Heavily inspired on ex nihilo sieve.
> Works with the sifter or in hand (like create sandpaper) - Tiers: String, Andesite, Zinc, Brass - When in hand it sifts the block in the off-hand.
> Automated sifting. Based on the Millstone block works more or less in the same way. You can toss items on top or feed it with any item automated way (hoppers, funnels, chute...) - Right Click with a mesh to add it. - Recipes can have a mesh, but it's not required.
ingredients, in any order.results is a list of itemsprocessingTime is 200. You can override this value in the recipe.Default waterlogged is false. You can override this value in the recipe.
Example: {
"type": "createsifter:sifting",
"ingredients": [
{
"item": "createsifter:andesite_mesh"
},
{
"item": "minecraft:gravel"
}
],
"results": [
{
"item": "create:copper_nugget",
"chance": 0.1
},
{
"item": "create:zinc_nugget",
"chance": 0.1
},
{
"item": "minecraft:iron_nugget",
"chance": 0.05
},
{
"item": "minecraft:gold_nugget",
"chance": 0.15
},
{
"item": "minecraft:coal",
"chance": 0.1
},
{
"item": "minecraft:flint",
"chance": 0.1
}
],
"processingTime": 500
}
Waterlogged Example: {
"type": "createsifter:sifting",
"ingredients": [
{
"item": "createsifter:string_mesh"
},
{
"item": "minecraft:dirt"
}
],
"results": [
{
"item": "minecraft:kelp",
"chance": 0.1
}
],
"processingTime": 500,
"waterlogged": true
}
Code inspiration from Create Craft & Additions and the Create mod itself.
1.18.2``` // event.recipes.createsifterSifting(output[], input[]) // Optional .waterlogged() .processingTime(int time)
// Basic Example event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson(),Item.of('minecraft:redstone').withChance(0.1).toJson()], ['minecraft:sand','createsifter:string_mesh'])
//Waterlogged example event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson()], ['minecraft:sand','createsifter:string_mesh']).waterlogged() ```
event.create('example_mesh','createsifter:mesh').displayName('Example mesh')
1902.6.0-build.121 version)1.19.2withChance method needs toJson to work properly.``` // event.recipes.createsifterSifting(output[], input[]) // Optional .waterlogged() .processingTime(int time)
// Basic Example event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson(),Item.of('minecraft:redstone').withChance(0.1).toJson()], ['minecraft:sand','createsifter:string_mesh'])
// Waterlogged example event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson()], ['minecraft:sand','createsifter:string_mesh']).waterlogged()
// Custom mesh example. Custom mesh ID comes from the Startup Script event.recipes.createsifterSifting([Item.of('minecraft:glowstonedust').withChance(0.5).toJson(),Item.of('minecraft:redstone').withChance(0.1).toJson()], ['minecraft:sand','kubejs:examplemesh'])
```
event.create('example_mesh','createsifter:mesh').displayName('Example mesh')
No files available for download.