这是 的 1.18.2 Fabric 移植版。
以下是原始信息:
Create Sifting
一个用于 Create 模组的简易淘洗器。本模组旨在用于整合包,仅包含非常基础的矿石配方。
深受 Ex Nihilo Sieve 启发。
筛网 (Meshes)
> 可在淘洗器或手中使用(类似 Create 的砂纸)- 等级: 线、安山岩、锌、黄铜 - 在手中使用时,会淘洗副手持有的方块。
淘洗器 (Sifter)
> 自动化淘洗。基于磨石方块设计,工作方式大致相同。你可以将物品扔在上面,或通过漏斗、漏斗管、导流槽等方式自动喂入物品 - 右键点击筛网以安装。 - 配方可以指定筛网,但并非必需。
浸水特性
- 淘洗器可以被浸水以获得不同的产出。
- 当玩家处于液体方块中时,手持的筛网相当于被浸水状态。
淘洗配方
- 将筛网和可淘洗的方块放入
ingredients 中,顺序不限。
results 是一个物品列表。
- 默认
processingTime 为 200。你可以在配方中覆盖此值。
-
默认 waterlogged 为 false。你可以在配方中覆盖此值。
-
示例: {
"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
}
-
浸水示例: {
"type": "createsifter:sifting",
"ingredients": [
{
"item": "createsifter:string_mesh"
},
{
"item": "minecraft:dirt"
}
],
"results": [
{
"item": "minecraft:kelp",
"chance": 0.1
}
],
"processingTime": 500,
"waterlogged": true
}
感谢 Create 的创作者。
代码灵感来源于 Create Craft & Additions 和 Create 模组本身。
KubeJS 5 集成:
添加配方(服务器脚本)
``` // event.recipes.createsifterSifting(output[], input[]) // 可选 .waterlogged() .processingTime(int time)
// 基本示例 event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson(),Item.of('minecraft:redstone').withChance(0.1).toJson()], ['minecraft:sand','createsifter:string_mesh'])
// 浸水示例 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')
KubeJS 6 集成(使用 1902.6.0-build.121 版本测试)
- 适用于 Minecraft
1.19.2
- KubeJS 6 正处于非常活跃的开发阶段。可能会发生破坏性更改……请耐心等待。我会尽力跟上更新。
withChance 方法需要配合 toJson 才能正常工作。
添加配方(服务器脚本)
``` // event.recipes.createsifterSifting(output[], input[]) // 可选 .waterlogged() .processingTime(int time)
// 基本示例 event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson(),Item.of('minecraft:redstone').withChance(0.1).toJson()], ['minecraft:sand','createsifter:string_mesh'])
// 浸水示例 event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson()], ['minecraft:sand','createsifter:string_mesh']).waterlogged()
// 自定义筛网示例。自定义筛网 ID 来自启动脚本事件 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')
This is the 1.18.2 Fabric Port of
Below is the original information:
Create Sifting
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.
Meshes
> 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.
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. - Recipes can have a mesh, but it's not required.
Waterlogged feature
- Sifters can be waterlogged to get different output.
- In hand meshes act as waterlogged when the player is in a LiquidBlock
Sifting recipes
- Put the mesh and the siftable block in the
ingredients, in any order.
results is a list of items
- Default
processingTime 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
}
Thanks to the Creators of Create.
Code inspiration from Create Craft & Additions and the Create mod itself.
KubeJS 5 integration:
Adding recipes (server script)
``` // 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() ```
Adding custom meshes (startup script)
event.create('example_mesh','createsifter:mesh').displayName('Example mesh')
KubeJS 6 integration (tested with 1902.6.0-build.121 version)
- For minecraft
1.19.2
- KubeJS 6 is in a very active development phase. Breaking changes may happen... be patient plz. I'll try to keep up with updates.
withChance method needs toJson to work properly.
Adding recipes (server script)
``` // 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'])
```
Adding custom meshes (startup script)
event.create('example_mesh','createsifter:mesh').displayName('Example mesh')
评论 0
登录后参与评分
还没有评论,来抢沙发吧