BaseEnergyCrafter.
Machine Frames
Machine frames are structural blocks made from engineering plastics. They are used as components in machine crafting recipes and potentially as walls in multiblock structures. There are eleven plastic types, each also available in all 16 dye colors:| Frame Block | Abbreviation | Formula |
|---|---|---|
| Polyethylene Machine Frame | PE | C₂H₄ |
| Polypropylene Machine Frame | PP | C₃H₆ |
| Polystyrene Machine Frame | PS | C₈H₈ |
| Polyvinyl Chloride Machine Frame | PVC | C₂H₃Cl |
| Polyethylene Terephthalate Machine Frame | PET | C₁₀H₈O₄ |
| Acrylonitrile Butadiene Styrene Machine Frame | ABS | C₈H₈·C₄H₆·C₃H₃N |
| Polycarbonate Machine Frame | PC | C₁₆H₁₄O₃ |
| Nylon Machine Frame | PA | C₆H₁₁NO |
| Polyurethane Machine Frame | PU | C₃H₈N₂O |
| Polytetrafluoroethylene Machine Frame | PTFE | C₂F₄ |
| Polyetheretherketone Machine Frame | PEEK | C₁₉H₁₂O₃ |
MachineFrameBlock(PlasticType) instances in CoreBlocks. Colored variants are registered automatically for each dye color via CoreBlocks.plasticTypeBlock().
Matter Fabricator
The Matter Fabricator (MatterFabricatorBlock) is a crafting machine that processes items through FabricationRecipe.
Block Properties
- Extends
BaseEntityBlock<MatterFabricatorBlockEntity> - Block state includes
BlockStateProperties.POWERED— toggles totruewhile actively crafting - Emits light level 15 when powered
- Plays furnace crackle sounds during operation
- Right-clicking opens the
MatterFabricatorMenuGUI
Block Entity: MatterFabricatorBlockEntity
| Property | Value |
|---|---|
| Energy capacity | 100,000 FE |
| Max receive rate | 256 FE/t |
| Energy per crafting tick | 8 FE |
| Inventory slots | 4 (slots 0–2 input, slot 3 output) |
| Recipe type | FabricationRecipe (CoreRecipes.FABRICATION_RECIPE_TYPE) |
Crafting Behavior
Each game tick the machine:- Checks whether inputs are present, a matching
FabricationRecipeexists, and at least 8 FE is stored. - Extracts 8 FE and increments crafting progress.
- When progress reaches the recipe’s required duration, consumes one item from each ingredient slot and inserts the result into slot 3.
- Sets
POWERED = falsewhen idle.
Industrial Heating Element
The Industrial Heating Element (HeatingElementBlock) is a powered heat source used in industrial processes.
- Block state property:
HEATING(BooleanProperty) —truewhen actively heating - When
HEATINGistrue:- Damages living entities that walk inside it (campfire damage source, 1.0 HP per tick)
- Emits smoke particles above the block
- Creates an upward bubble column if placed beneath water
- Plays furnace crackle sounds
- Responds to redstone signals via
canConnectRedstone - Faces a direction on placement (
FACINGproperty) - Collision shape is slightly inset:
box(1, 0, 1, 15, 15, 15)
Energy Requirements
All machines that extendBaseEnergyCrafter follow the same energy contract:
getEnergyStorage().getEnergyStored() < getEnergyAmount(). Progress resets to zero if power is lost mid-craft.
Machine States
BaseEnergyCrafter.getMachineState() returns one of:
| State | Condition |
|---|---|
ACTIVE | Crafting is in progress |
INACTIVE | Powered but no valid recipe or redstone blocked |
ERROR | Not enabled, output full, or energy storage is empty |
Recipe Types
| Recipe Type | Machine | Registry Key |
|---|---|---|
FabricationRecipe | Matter Fabricator | CoreRecipes.FABRICATION_RECIPE_TYPE |
CoreRecipes.