Main thread
Features
- Adds a new modem type that can send data and matter across worlds.
- Adds Ender Charges, can only be obtained by breaking an Ender Modem. Only used to not lose charge when breaking a modem. Registered to the OreDictionary as "dustEnderCharge".
- Using the modem requires 1 ender charge unit for text messages and 5 for matter.
- The modem can store up to 120 charge units.
- Ender charges provide 1 ender charge, Ender pearls 40 and Eyes of Ender 60
- Dusts work as well! Ender eye dust is equivalent to 40 ender charges, whilst Eye of Ender dust only gives 30. (gregtech compatibility)
- Auto-refuels self to stay as full as possible without overflowing its capacity.
- Has ISidedInventoryness! Bottom = charge slots, Top = Input for transportation, Sides = Output slot for transportation.
- Adds a block that lights fireworks.
- Supports all vanilla features of fireworks.
- Allows a silent launch.
- Allows a silent explosion.
- Adds 3 new patterns, 1 'decoy' pattern and 2 customizable patterns.
- Has bonus hidden feature.
- Fireworks lighted from this block do not follow vanilla rules to allow them to display the fireworks in all their glory. This means no particle cap of 4000 particles (insane!)
- Builds up heat, if too many fireworks are launched it will block service until it cools down.
- Adds a block that makes noises
- Supports all loaded sounds including mod sounds.
- Allows custom pitch and volume.
HeldCore
MinecraftForge and Computercraft (duh!)
Download
Latest Version: 01.10.03.00 (MC 1.6.4, HC 01.03.05.00)
Older Versions:
Spoiler
01.10.02.00 (MC 1.6.4, HC 01.03.04.00)01.10.01.04 (1.6.2) (1.6.4?)
1.9.3-Release (1.5.2) (1.5.1?)
1.9.2-Release (1.5.2) (1.5.1?)
1.9.1-Release (1.5.2)
1.9.0-Release (1.5.1)
1.9-PRE (1.5)
1.8-Release (1.4.7)
1.7-Release (1.4.7)
1.6-Release (1.4.6)
1.5-Release (1.4.5)
1.4-Release (1.4.5)
1.3-Release (1.3.2)
1.2-Bugfix (1.3.2)
1.2-Release (BROKEN)
1.1-Release (1.3.2)
1.0-Release (1.3.2)
Config Options
general:EnhancedEnderChargeRenderer - Determines whether ender charges render with a charge amount counter
general:EnhancedFireworks - Determines whether fireworks launched by the Electrical Fireworks Lighter create grouped particles
general:FireworksEntityID - The entity ID for the custom fireworks entity
item:EnderCharge - The item ID for the ender charge
block:EnderModem - The block ID for the Ender Modem
block:MoltenDye0 - The block ID for molten dye 0
block:MoltenDye1 - The block ID for molten dye 1
block:MoltenDye2 - The block ID for molten dye 2
block:MoltenDye3 - The block ID for molten dye 3
block:MoltenDye4 - The block ID for molten dye 4
block:MoltenDye5 - The block ID for molten dye 5
block:MoltenDye6 - The block ID for molten dye 6
block:MoltenDye7 - The block ID for molten dye 7
block:MoltenDye8 - The block ID for molten dye 8
block:MoltenDye9 - The block ID for molten dye 9
block:MoltenDye10 - The block ID for molten dye 10
block:MoltenDye11 - The block ID for molten dye 11
block:MoltenDye12 - The block ID for molten dye 12
block:MoltenDye13 - The block ID for molten dye 13
block:MoltenDye14 - The block ID for molten dye 14
block:MoltenDye15 - The block ID for molten dye 15
block:MultiBlock1 - The block ID for the Electrical Fireworks Lighter, Noise Maker and thaumic scanner
charges:CostSend - The amount of charges that are required to send a text message
charges:CostTransport - The amount of charges that are required to send matter
charges:CostTransportFluid - The amount of charges that are required to send a fluid
charges:YieldEnderPearl - The amount of ender charges an ender pearl is worth
charges:YieldEnderPearlDust - The amount of charges one ender pearl dust is worth (GregTech Compat)
charges:YieldEyeOfEnder - The amount of ender charges an eye of ender is worth
charges:YieldEyeOfEnderDust - The amount of charges one eye of ender dust is worth (GrehTech Compat)
Crafting Recipes
Spoiler
Ender ModemElectrical Fireworks Lighter
Noise Maker
Guis
Spoiler
Ender ModemElectrical Fireworks Lighter
How to use
Endernet API:
Spoiler
All these methods, except receive and waitForItem, return the first modem found in this order: bottom, top, left, right, front, back. Unless the optional side parameter has been specified, then it will check that side and that side only.
-- To send a text message to another computer
endernet.send( receiverID, message, side ) -- Returns true if the message was sent, or false if the receiver isn't running or isn't connected to a modem
-- To receive a text message from another computer
endernet.receive( timeOut ) -- Returns 3 objects, the senderID, the dimension of origin and the message sent or nil for all of them if the timeOut is exceeded. timeOut is optional
-- To transport an item to another modem attached to a computer
endernet.transport( receiverID, side ) -- Returns true if the item was sent, or false if the receiver isn't running, is not connected to a modem or the modem can't accept any more items
-- To wait for an item to be delivered
endernet.waitForItem( timeOut ) -- Returns 2 objects, the senderID and the dimension of origin or nil for all of them if the timeOut is exceeded. timeOut is optional
-- To get the status of the modem
endernet.getChargeLevel( side ) -- Returns the charge level of the modem in charge units
endernet.inputOccupied( side ) -- Returns true if an item is in the input slot of the modem, false otherwise
endernet.outputOccupied( side ) -- Returns true if an item is in the output slot of the modem, false otherwise
Electrical Fireworks Lighter
Spoiler
local p = peripheral.wrap(side)
p.launchFirework(flightDuration, type, hasTrail, hasTwinkle, silentExplosion, silentLiftoff, noPrimaryColors, primaryColor1[, primaryColor2[, ...]] noFadeColors[, fadeColor1[, fadeColor2[, ...]][, argument1, argument2[, argument3, argument4[, ...]]]])
flightDuration (number) is the amount of seconds the firework rocket will travel upwards.type (number) is the type of star.
Current types: Small Ball (0), Large Ball (1), Star (2), Creeper Face (3), Burst (4), Decoy (5), Very Large Ball (6), Flat Pattern (7), 360 Pattern (8).
hasTrail (boolean) determines if the particles leave a trail behind them like when adding a diamond.
hasTwinkle (boolean) determines if the particles twinkle when going out like when adding glowstone dust.
silentExplosion (boolean) determines if the exploding fireworks make a sound.
silentLiftoff (boolean) determines if the firework rocket makes a sound when lifting off and if it should create trail particles.
noPrimaryColors (number) is the number of primary colors you specify after it, must be greater than 0.
primaryColorX (number) is a number specifying the primary color, ranging from 0x0 to 0xFFFFFF.
noFadeColors (number) is the number of fade colors you specify after it, must be greater than or equal to 0.
fadeColorX (number) is the number specifying the fade color, ranging from 0x0 to 0xFFFFFF.
argumentX (number) is an argument specific to the type of the star.
Only Flat Pattern and 360 Pattern use these arguments. Both expect them to be in pairs of 2. They are like UV coordinates for the pattern.
Example firework (creeper face):
p.launchFirework(1, 7, false, false, false, false, 1, 0x00FF00, 0, 0.0, 0.2, 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.6, 0.2, 0.2, 0.2, 0.2, 0.0, 0.4, 0.0, 0.4, -0.6, 0.2, -0.6, 0.2, -0.4, 0.0, -0.4)
Noise Maker
Spoiler
local p = peripheral.wrap(side)
p.makeNoise(soundName, volume, pitch)
Example:
p.makeNoise("portal.travel", 1, 1) -- Plays the nether portal travel sound at default volume and pitch.
p.makeNoise("mystcraft:linking.link-following", 1, 0.5) -- Plays the mystcraft following book linking sound at an almost scary pitch.... CREEPY! Requires Mystcraft to be installed on the client to work though.
for i= 1,3 do
p.makeNoise("note.pling", 1/i, 2/i) -- Plays the hidden 'pling' noteblock sound at reducing pitch and in descendo.
end
Changelog
Spoiler
- 1.10.03.00
- Fixed launching on servers
- Removed the Thaumic Scanner, thaumcraft aura nodes are blocks now!
- Update to latest HeldCore (01.03.05.00)
- 1.10.02.00
- Updated to Minecraft 1.6.4
- Disabled Thaumcraft integration, will likely be removed
- Update to latest HeldCore (01.03.04.00)
- 1.10.01.04
- Updated to Minecraft 1.6.2
- Uses the new Forge Fluid system
- Added all colours of molten dye
- No longer injects computercraft scripts, uses a resource pack instead
- Localization is now done through a .lang file
- API has been changed to use fluid instead of liquid, remains backwards compatible
- Renamed the Trans-World Modem to Ender Modem (thanks for the idea dan200!)
- 1.9.3
- Bumped max volume of the NoiseMaker up from 1 to 10. Higher volumes travel further distances
- Fixes server crash because of client side call on common code
- Limits amount of sounds that can be played in a certain amount of time
- Added some sounds "CC.HP.bell/siren/cloister-bell"
- Updated CC API to 1.53
- 1.9.2
- Fixed compiling, uses srgnames for reals now
- 1.9.1
- Updated 1.5.2
- (Attempt) at fixing persisting tile entities (?)
- 1.9
- Updated 1.5.1
- 1.9-PRE
- Made fireworks launchers require dyes to make colours and gunpowder to launch. Only requires gunpowder in the inventory of a turtle.
- Updated 1.5
- Changed ISidedness again to match 1.5 standards. Top = input, Sides = fuel, Bottom = output
- Blocks named in an anvil will retain their name, breaking the block gets rid of it though
- Internal restructure, oh boy.
- Config values changed, update your configs!
- FEATURE: Tanks show their contents with a tooltop, partial NEI interaction is enabled.
- 1.8-Release
- Fixed NEI plugin displaying the wrong recipes at some times.
- Fixed NEI plugin not showing the recipe for a 64-ender charges compact charge.
- Added Noise Maker peripheral which makes… NOISE!
- Did another internal restructure! W00t!
- Changed render code for peripherals. Peripherals placed before this update will be backwards.
- 1.7-Release
- Updates to Minecraft 1.4.7
- Adds the Electrical Fireworks Lighter turtle attachement. (Upgrade ID: 205)
- Lots of internal changes.
- Adds an API.
- Adds a lot of configuration options.
- Once of which is a new item renderer for ender charges!
- Makes Ender Charges combinable in a crafting table. E.g.: 2 charges = 1 compact-2-charge; 2 charges + 1 compact-5-charge = 1 compact-7-charge.
- Max combination of 64 ender charges.
- Also allows compact ender charges to be pulled apart by putting them alone in the crafting table.
- Adds NEI compatibility.
- Ships with dummy NEI classes because of this.
- Shows ender charge crafting.
- 1.6-Release
- Updates to Minecraft 1.4.6
- Renames to Held's Peripherals. Update your config files!
- Adds Fireworks Lighter peripheral, does what the name implies!
- Changes the ISidedInventoryness of the Trans-World Modem.
- Uses the OreDictionary for ender eye and eye of ender dusts.
- Registers the Ender charge to the OreDictionary.
- Adds fireworks entity with custom properties.
- Adds easter egg, for you to find out!
- 1.5-Release
- Adds support for CC Peripheral Cables.
- Fixes a possible duplication bug.
- Now ships with the CC API in case CC isn't installed, why would you use this mod then though?
- Ships xfel's peripheral cable API so the mod can load even with CC peripheral cables installed.
- Adds functionality to the modem that allows it to move more than 1 item at a time. Think conservative!
- 1.4-Release
- Updates CC Trans-World Wireless Modems to Minecraft 1.4.5.
- 1.3-Release
- Fixed modems returning a dimension of origin of 0 almost always.
- Fixed a possible bug in the endernet API preventing it from loading.
- 1.2-Bugfix
- Fixed the endernet API
- 1.2-Release
- Increased the storage capability of the modem from 80 to 120.
- Made eyes of ender refuel for 60 ender charge units.
- Removed unused event bus registration.
- Implemented forgotten peripheral methods.
- Changed the GUI to reflect the use of ender charges.
- Made processing server-only, fixes the client updating the charges and is a noticeable change for laggy servers.
- Added an mcmod.info file to the zip.
- Added optional side parameters to most endernet API functions
- 1.1-Release
- Decreases crafting cost.
- Fixes some bugs in the transporting code.
- Decreases cost of transporting an item from 20 charge units to 5 charge units.
- 1.0-Release
- Initial release.
Modpacks
To distribute this mod in any modpack permission must be asked on either this thread, the ComputerCraft Forums or the BinaryMage/Mystcraft Forums.
List of allowed modpacks
Does not get updated
If you find any bugs or have any suggestions as to how I can improve this addon, please reply to this thread about it! I would greatly appreciate any feedback!