-
Notifications
You must be signed in to change notification settings - Fork 17
Biome Requirement
Biome Requirement is used to make the Custom Machine Recipe work only in some biomes of the world.
The Biome Requirement is an input only requirement, meaning that you don't have to define the mode
property. It is used only to restrict or allow the usage of a recipe in certains biomes of the world.
The type of Biome Requirement is : "custommachinery:biome"
.
The biome requirement have 2 mandatory properties and 1 optional property.
Type
"type": "custommachinery:biome"
Filter
A single or array of Biome ID to check if the machine is in or not.
The biomes ID must mus be like "minecraft:plains" or any custom biomes.
This list may be a whitelist or a blacklist depending of the "blacklist" property.
Empty, so any biomes will be allowed if the filter is a whitelist.
"filter": ["minecraft:savanna"]
The recipe will only run if the machine is in a Savanna biome.
Blacklist
A Boolean value used to define if the "filter" property should be a blacklist instead of a whitelist.
"blacklist": false
The "filter" property will act as a whitelist.
"blacklist": true
The "filter" property will act as a blacklist.
A biome requirement that will make the recipe works in all biomes but the vanilla plains :
{
"type": "custommachinery:biome",
"filter": "minecraft:plains",
"blacklist": true
}
3. Machine GUI
- Dump Element
- Energy Element
- Fluid Element
- Fuel Element
- Player Inventory Element
- Progress Bar Element
- Reset Element
- Slot Element
- Status Element
- Text Element
- Texture Element
5. Catalysts
- Biome Requirement
- Block Requirement
- Command Requirement
- Dimension Requirement
- Drop Requirement
- Durability Requirement
- Effect Requirement
- Energy Requirement
- Energy Per Tick Requirement
- Entity Requirement
- Fluid Requirement
- Fluid Per Tick Requirement
- Fuel Requirement
- Item Requirement
- Light Requirement
- Loot Table Requirement
- Position Requirement
- Structure Requirement
- Redstone Requirement
- Time Requirement
- Weather Requirement