--- alpha library | use only if requested by other plugins ---
Plugins that use these libraries:
-
no plugins
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)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.16
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.