-
Notifications
You must be signed in to change notification settings - Fork 17
Dimension Requirement
Dimension Requirement is used to make the Custom Machine Recipe work only in some dimensions of the world.
The Dimension 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 dimensions of the world.
The type of Dimension Requirement is : "custommachinery:dimension"
.
The Dimension Requirement have 2 mandatory properties and 1 optional property.
Type
"type": "custommachinery:dimension"
Filter
A single or array of dimensions ID to check if the machine is in or not.
The dimensions ID must mus be like "minecraft:overworld" or any custom dimensions.
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:overworld"]
The recipe will only run if the machine is in the overworld.
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 dimension requirement that will make the recipe works in all dimensions but the overworld :
{
"type": "custommachinery:dimension",
"filter": "minecraft:overworld",
"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