This is a submission for the 2014 ten.java contest.
- Theme: How can energy be harnessed and used in the Minecraft world?
- Time: Time 2 (7/12/2014 09:00 to 7/12/2014 19:00 UTC)
- MC Version: 1.7.9 (latest Bukkit beta)
- Stream URL: https://twitch.tv/iKeirNez
- Download & Install Maven 3
- Clone the repository:
git clone https://github.com/tenjava/iKeirNez-t2 - Compile and create the plugin package using Maven:
mvn
Maven will download all required dependencies and build a ready-for-use plugin package!
Doesn't it seem a little un-realistic that you can simply place a redstone torch/block and instantly have a stream of power? That's exactly what this plugin intends to fix. A battery is created using a the command /build battery (maybe in the future actually placing blocks instead of doing a command) assuming you have enough materials.
The battery has 3 inputs/outputs:
- Redstone input line, powered by generator
- Redstone output line, do as you want with it
- Meter, piston that pushes out when charged
The battery will charge faster depending on the power level input. If the battery overcharges too long it will explode, spilling lethal battery acid everywhere (lava)
In it's current state, this plugin, does not disable redstone torches/blocks. When a battery is created, it is given a bit of power for debug reasons (so you can see the status of the battery through the window) Batteries are not yet chargeable The power in batteries can not yet be used There is a weird loading issue that needs looking into, so for now, if you shut down the server, you lose your batteries
Yeah, I'm not sure how I did so little.
- battery.powerPerLevel - A level of a battery is defined by the size you used in the command to create it, this can be calculated by counting the glass on the battery too. The more power each level has, the more all batteries will hold.
- /build battery - Builds a battery (will possibly be used to build energy making machines in the future)
- RedstoneBatteries.build - Grants access to /build, given by default
- Fix battery status (not showing minor intervals)
- Loading is broken