-
Notifications
You must be signed in to change notification settings - Fork 0
2. Resource Nodes
Resource Nodes are small patches of ores (and eventually other resources) that spawn throughout the world. They can be extracted indefinitely to provide your factories with renewable resources.
There are currently only iron and copper nodes, both of which spawn about every 500 blocks in the Overworld. Upon creating a new world, a node will attempt to spawn within 100-300 blocks of world spawn.
If you struggle to find a node naturally, check if there are any existing nodes with the /findnode <type> command. If that still fails, it means no known nodes exist and you'll need to load more chunks. If that still doesn't work, use vanilla's /place feature <id> to manually spawn in a node at your position. If this command fails, it's because nodes can only replace certain block types. Try placing a block such as stone below you.
To begin extracting from a node you will need a Miner. The Miner must be placed within a certain range of the node, as indicated by the placement preview. Each node can only support one Miner at a time.
Nodes can spawn in small clusters to allow for self-contained factories without having to bring in resources from multiple scattered nodes.
There are 3 types of purity that a node can have: Impure, Normal, and Pure. These determine the extraction rate of the attached Miner; 0.5x Impure; 1x Normal; 2x Pure. Dev tool: Underneath the center of the node you will find the node block (currently using the placeholder missing texture). Right click it to change its purity. You will need to replace the attached Miner, or reload the world for the Miner's extraction rate to update.
Resource Nodes can be configured as datapacks under data/your_namespace. The config is split into 3 categories: worldgen/configured_feature, worldgen/placed_feature, and tags/block.
Configured Features:
- Cluster size: how many nodes spawn can in a cluster
- Cluster spread: how far apart the nodes in a cluster spawn from each other
- Radius: the size of the node; does not affect Miner placement radius, only how many decorative blocks spawn around the center
- Node state: the blockstate of the actual node block. Probably shouldn't touch this
- Resource state: the blockstate of the decorative resource block which spawns around the center
Placed Features:
- Chance: how often the node should spawn; for example 500 = spawn a node about every 500 blocks
Block Tags:
resource_nodes simply defines which blocks are considered to be Resource Nodes. resource_node_replaceable defines which blocks can be replaced by a spawned node. Includes things like dirt, grass, stone, stand, etc.