Skip to content

Breaker Panel

NorthWestTrees edited this page Nov 18, 2023 · 1 revision

πŸ“„ Description

This block can be used to password-protect other blocks from being turned on or off by locking the block with a password.
Other blocks check the state of this block, if the Breaker Panel is on then the linked block will be on.

πŸ“– Recipes

recipe_breaker_panel

Amount Item Recipe tag
1 Aluminum Cables automation:energy/aluminum_cable
1 Lever automation:recipe/lever
6 Iron Ingots automation:recipe/iron_ingot
1 Macine Block automation:building/machine_block

βš™ Basic Settings

Setting name Value
Break tool Iron Pickaxe or higher
Requires tool Yes
Resistance 64,000
Hardness 10
Material Metal
Piston Blocked
Flammability Yes (5)
FE Capacity 1024 FE
FE Max Send 64 FE/t
FE Max Receive 1024 FE/t
FE Used Yes (16~64)

πŸ“„ Further Reading

Block States

The Breaker Panel has two states "on" and "off".
The state can be detected using the device's tags.

Unpowered

If the Breaker Panel is unpowered then you will not be able to use the Breaker Panel to toggle the state other blocks.
The other blocks will be connected but remain in their current state even if the Breaker Panel is unpowered.

Ownership

The player who places the block will be assigned as the owner of the block. The owner or a player with command permission level 2 can set a new owner of the block
by renaming a nametag and right-clicking the breaker panel.
The name tag name should the spelt the same way as the new owner's display name.

Machine Wrench Use

Breaker Panel Linking

  1. Right-click the Breaker Panel block with Machine Wrench.
  2. The name of the Machine Wrench will change.
  3. Right-click the block you wish to link with the Machine Wrench.
  4. The state of the block may change based on the state of the Breaker Panel. A message will also confirm it was linked.

Breaker Panel Unlinking

  1. Right-click the Breaker Panel block with Machine Wrench.
  2. The name of the Machine Wrench will change.
  3. Sneak while you right-click the block you wish to unlink with the Machine Wrench.
  4. A message will confirm the Breaker Panel was unlinked.

Inventory

The block has inventory slots between 0 and 10 but only uses the 10 slots to store the upgrade item.
When the block is broken any upgrades will drop from the block.
The Battery may include a charging system in the future for storing energy on items.

Password

When you are the block owner or have command permission level 2,
you are able to set the block's password which can allow non-owners permission to change the block's state.

Upgrades

Upgrades installed to Breaker Panel blocks decrease the Forge Energy usage per tick.

Upgrade Enery use
None 64 FE/t
Wooden 56 FE/t
Stone 48 FE/t
Iron 40 FE/t
Golden 32 FE/t
Diamond 24 FE/t
Netherite 16 FE/t

🏷 Tags

This block has both item and block tags from cross-mod support and mechanics.

Tag path Tag type Description
automation:device/breaker_panel Block/Item All Breaker Panel states
automation:device/breaker_panel_off Block/Item Breaker Panel off state only
automation:device/breaker_panel_on Block/Item Breaker Panel on state only

βœ” Localization

These keys are used in the Breaker Panel block script.

Resource key Localized text EN_US
block.automation.breaker_panel Breaker Panel
block.automation.breaker_panel_on Breaker Panel
gui.automation.breaker_panel_password_screen.password Password
gui.automation.breaker_panel_password_screen.button_set_enter SET / ENTER
gui.automation.breaker_panel_password_screen.label_password_required PASSWORD REQUIRED
msg.automation.breaker_panel.gui.locked Locked
msg.automation.breaker_panel.gui.unlocked Unlocked
msg.automation.breaker_panel.gui.lock_state Lock State
msg.automation.breaker_panel.password_gui.owner Owner
msg.automation.breaker_panel.gui.password Password
msg.automation.general.energy Energy
msg.automation.general.max_energy Max Energy

πŸ“‹ Changes

Release 2.0.0

  • Added Breaker Panel blocks
  • Added Breaker Panel recipe
  • Added Breaker Panel tags
  • Added Breaker Panel mechanics
  • Added Breaker Panel normal and password menus
  • Added Breaker Panel block and menu textures
  • Added wiki command support