Skip to content

oierbravo/createsifter

Repository files navigation

Create Sifting

A simple sifter for the amazing Create mod. This mod it's meant to be used in modpacks.

Heavily inspired on ex nihilo sieve.

1.21.1-2.x Version Requires Mechanicals Lib

Version support & documentation

Meshes

Works with the sifter or in hand (like create sandpaper)

  • String, Andesite, Brass, Sturdy
  • Advanced meshes only work with the brass sifter.
  • Configurable mesh durability.
    • By default, only applies to hand sifting.
    • Enchantable with Unbreaking
  • Added zinc mesh for modpacks.

Sifter

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.
  • Right Click with empty hand to clear inventories.
    1. Output
    2. Input
    3. Shift + right click: Mesh

Brass Sifter

  • High redstone disables processing
  • Output filter.
  • 8x processing per cycle, configurable.
  • Bigger output capaticy, configurable.

Recipes

Waterlogged feature (optional)

  • "waterlogged":"true"
  • Sifters can be waterlogged to get different output.
  • In hand meshes act as waterlogged when the player is in a LiquidBlock

Advanced sifter per recipe (optional)

  • "advancedSifter":"true"
  • Recipes can require brass sifter for normal meshes too.

Compact recipes.

  • Recipes with same mesh and input block gets merged allowing easier compat.
  • Current mods:
    • EnderIO
    • Ars nouveau
    • AE2

Recipes examples

KubeJS 7.1 (Minecraft 1.21.1)

  • Remove al Sifting recipes.
ServerEvents.recipes(event => {
  event.remove({ type: 'createsifter:sifting' })
})
  • Chanced output (binding)
Output.of('minecraft:clay', 0.5)
  • Add recipes
ServerEvents.recipes(event => {
  /** 
    createsifter.sifting(Output[] result, Ingredient ingredient, ItemStack mesh)
    .processingTime(int time) // optional, default: 500
    .waterlogged(true) //optional, default: false
    .advancedSifter(true) //optional, default: false
  **/
  event.recipes.createsifter.sifting([Output.of('minecraft:clay',0.5),Output.of('minecraft:redstone')],'minecraft:sand',"createsifter:andesite_mesh")
})
  • Custom meshes
    • Texture location (for this examples): kubejs/assets/kubejs/textures/item/diamond_mesh.png
StartupEvents.registry('item', event => {
    
    //Basic mesh
	event.create('diamond_mesh','createsifter:mesh')
      .displayName('Diamond Mesh')
      .parentModel("createsifter:block/meshes/mesh")
      .texture("mesh","kubejs:item/diamond_mesh")
      .maxDamage(77) //Mesh durability
	
	//Advanced mesh
	event.create('advanced_diamond_mesh','createsifter:advanced_mesh')
      .displayName('Advanced Diamond Mesh')
      .parentModel("createsifter:block/meshes/mesh")
      .texture("mesh","kubejs:item/diamond_mesh")
      .texture("frame","micraft:block/diamond_block")
      .maxDamage(200) //Mesh durability
	
})

Thanks to the Creators of Create.

About

Create Sifter mod for Forge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages