FirePeripherals

Quick rating

Community listing page, reviews here may not be monitored by the author.

FirePeripherals

No reviews yet

Various peripherals for ComputerCraft

Tech
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
FirePeripherals V1.0

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

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

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~20,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works