Description
FirePeripherals

What is this?
FirePeripherals is a pack of peripherals (obviously) for ComputerCraft that are meant to be connected to a LAN cable and can be used for various things. Actually, this pack contains:
- Redstone I/O Block (reading and emitting a redstone signal)
- Bundled I/O Block (reading and emitting a bundled cable signal from Project Red)
- Entity Detector Block (detecting an entity)
Recipes
Redstone I/O Block
Bundled I/O Block
Entity Detector Block
Code
Redstone I/O Block
redio = peripheral.wrap("rio_1")
redio.setOutput(true) -- enables a redstone signal with strength 15
redio.setOutput(false) -- disables the redstone signal
redio.setOutput(10) -- outputs a redstone signal of 10
redio.setOutput(0) -- disables the redstone signal
redio.getInput() -- returns true/false if there is a redstone signal or not (any strength)
redio.getAnalogInput() -- returns an integer from 0-15 of the redstone strength
event, state, strength, id = os.pullEvent("redstone") -- pulls an event with 4 return values
-- event returns: redstone
-- state returns true/false if there is redstone
-- strength returns an integer from 0-15 indicating the redstone strength
-- id returns the id of the peripheral that threw the event
Bundled I/O Block
bundledio = peripheral.wrap("bio_1")
bundledio.getBundledInput() -- returns an integer indicating bundled signal on input
bundledio.getBundledOutput() -- return an integer indicating bundled signal outputting by this block
bundledio.setBundledOutput(2) -- outputs a bundled signal on orange cable
bundledio.testBundledInput(2) -- returns true/false if there is a orange bundled signal or not
bundledio.testBundledOutput(1) -- returns true/false if this block is emitting a white bundled signal or not
event, input, id = os.pullEvent("redstone") -- pulls an event with 3 return values
-- event returns: redstone
-- input returns an integer indicating the bundled signal
-- id returns the id of the peripheral that threw the event
Entity Detector Block
entityd = peripheral.wrap("edio_1")
entityd.getLastEntityName() -- return an string indicating last detected entity
event, entityName, id = os.pullEvent("detector") -- pulls an event with 3 return values
-- event returns: detector
-- entityName returns an string indicating detected entity
-- id returns the id of the peripheral that threw the event
How to install it?
Simply put the .jar file to your mods folder.
Remember! This pack needs ComputerCraft and ProjectRed to work fine. If you don't have them, pack might be buggy.
http://www.computercraft.info/forums2/index.php?/topic/24542-mc-1710cc-174-fireperipherals-v10/
Changelog
- V1.0: Initial release
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.