HomeJavaMods⚡Electric Lib⚡
⚡Electric Lib⚡
--- alpha library | use only if requested by other plugins ---

electriclibFinal2_small.png

Plugins that use these libraries:
Documentation
- me.moneyghost.electriclib.Electric.registerBlock(Block block) = register a electric block (ElectricBlock) and get it.
- me.moneyghost.electriclib.Electric.getElectricBlock(Block block) = get the electric block (ElectricBlock).
- me.moneyghost.electriclib.Electric.removeBlock(Block block) = remove the electric block (ElectricBlock).
- me.moneyghost.electriclib.Electric.isRegistered(Block block) = get if the block is registered.
- me.moneyghost.electriclib.Electric.updateList() = save Electric Data.
- me.moneyghost.electriclib.ElectricBlock#getElectricity() = get electricity level. (Default: 0)
- me.moneyghost.electriclib.ElectricBlock#setElectricity(int amount) = set electricity level.
- me.moneyghost.electriclib.ElectricBlock#getInputFace() = get a list of BlockFaces that are set to input. (Default: Null)
- me.moneyghost.electriclib.ElectricBlock#setInputFace(HashSet<BlockFace> inputFace) = set a list of BlockFaces that are set to input.
- me.moneyghost.electriclib.ElectricBlock#serialize() = W.I.P.
- me.moneyghost.electriclib.ElectricBlock#getLocation() = get location of ElectricBlock
- me.moneyghost.electriclib.ElectricBlock#getMaxElectricity() = get max electricity level. (Default: Integer.MAX_VALUE)
- me.moneyghost.electriclib.ElectricBlock#setMaxElectricity(int maxelectricity) = set max electricity level.
- me.moneyghost.electriclib.ElectricBlock#getPercentageElectricity() = get the percentage of the electricity.
- me.moneyghost.electriclib.ElectricBlock#addElectricity(int amount) = add an amount of electricity. (the rest will be returned)
- me.moneyghost.electriclib.ElectricBlock#removeElectricity(int amount) = remove an amount of electricity. (the rest will be returned)

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

⚡Electric Lib⚡ is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 69 times (via Spigot). Download it and open it directly in the game.

Explore more