All Projects → Railcraft → Railcraft Api

Railcraft / Railcraft Api

Licence: mit
An API for interacting with Railcraft.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Railcraft Api

Loot-Slash-Conquer-Pre1.14
An immersive, action-RPG mod based on Hack/Mine.
Stars: ✭ 17 (+21.43%)
Mutual labels:  minecraft, minecraft-mod
Customstuff4
A Minecraft mod for adding content
Stars: ✭ 24 (+71.43%)
Mutual labels:  minecraft, minecraft-mod
Cursed-Legacy-API
API for beta 1.7.3. Downloads are hosted on the website linked below:
Stars: ✭ 14 (+0%)
Mutual labels:  minecraft, minecraft-mod
roboserver
Control OpenComputers robots without writing any code!
Stars: ✭ 52 (+271.43%)
Mutual labels:  minecraft, minecraft-mod
Railcraft
The Railcraft Mod for Minecraft, source and development.
Stars: ✭ 446 (+3085.71%)
Mutual labels:  minecraft, minecraft-mod
anticope.ml
Welcome to the AntiCope Website! Here you can find a list of free and open-source Meteor Client addons as well as other client-side Fabric Minecraft mods.
Stars: ✭ 39 (+178.57%)
Mutual labels:  minecraft, minecraft-mod
Wurst7
Minecraft Wurst Hacked Client v7
Stars: ✭ 282 (+1914.29%)
Mutual labels:  minecraft, minecraft-mod
Terraforged
Mod repo for TerraForged
Stars: ✭ 213 (+1421.43%)
Mutual labels:  minecraft, minecraft-mod
Justenoughitems
Item and Recipe viewing mod for Minecraft
Stars: ✭ 418 (+2885.71%)
Mutual labels:  minecraft, minecraft-mod
Bluemap
A Minecraft mapping tool that creates 3D models of your Minecraft worlds and displays them in a web viewer.
Stars: ✭ 406 (+2800%)
Mutual labels:  minecraft, minecraft-mod
HyCord
HyCord is a minecraft mod that aims for discord and hypixel integration
Stars: ✭ 28 (+100%)
Mutual labels:  minecraft, minecraft-mod
Applied Energistics 2
A Minecraft Mod about Matter, Energy and using them to conquer the world..
Stars: ✭ 827 (+5807.14%)
Mutual labels:  minecraft, minecraft-mod
Refinedstorage
An elegant solution to your hoarding problem
Stars: ✭ 228 (+1528.57%)
Mutual labels:  minecraft, minecraft-mod
FrogCraft-Rebirth
A standalone rewrite of FrogCraft, an IC2 Addon with theme of chemical industry, starting from scratch.
Stars: ✭ 27 (+92.86%)
Mutual labels:  minecraft, minecraft-mod
Terrafirmacraft
TFC-TNG → A port of the TFC Classic to 1.12+
Stars: ✭ 223 (+1492.86%)
Mutual labels:  minecraft, minecraft-mod
Terra
Voxel world generation modding platform
Stars: ✭ 320 (+2185.71%)
Mutual labels:  minecraft, minecraft-mod
Schematica
Import schematics, export schematics, build schematics. All inside Minecraft!
Stars: ✭ 171 (+1121.43%)
Mutual labels:  minecraft, minecraft-mod
Meteor Client
Based minecraft utility mod
Stars: ✭ 162 (+1057.14%)
Mutual labels:  minecraft, minecraft-mod
Cc Tweaked
Just another ComputerCraft fork
Stars: ✭ 331 (+2264.29%)
Mutual labels:  minecraft, minecraft-mod
Equivalent Exchange 3
Stars: ✭ 727 (+5092.86%)
Mutual labels:  minecraft, minecraft-mod

Railcraft-API

An API for interacting with Railcraft.

The latest version can be dowloanded from: https://dl.dropboxusercontent.com/u/38558957/Minecraft/Railcraft/Railcraft_latest-api.zip

The Railcraft API is provided as Open Source with no limitation on use (MIT License - http://choosealicense.com/licenses/mit/).

Package versioning follows the rules laid out by http://semver.org/

When packaging this API with your mod, please include ONLY the classes you need, deleting those you don't. This helps to reduce conflict if the API changes slighty between versions.

Ore Dictionary Tags:

  • blockSteel
  • dustCharcoal
  • dustObsidian
  • dustSaltpeter
  • dustSulfur
  • ingotSteel
  • oreSaltpeter
  • oreSulfur

##InterModComms: ##String:

Message Syntax Description
"ballast" "[modid]:[blockName]@[metadata]" Registers a block as a valid ballast for the Tunnel Bore and Undercutter.
"boiler-fuel-liquid" "[liquidName]@[fuelValuePerBucket]" Specifies a fuel value for a bucket of liquid fuel. The liquid name should be the English display name of the liquid (ie. the tag used to lookup the liquid in the LiquidDictionary).

##NBT: Rock Crusher:

public void addRockCrusherRecipe(ItemStack input, boolean matchMeta, boolean matchNBT, Map<ItemStack, Float> outputs) {
    NBTTagCompound nbt = new NBTTagCompound();

    NBTTagCompound inputNBT = new NBTTagCompound();
    input.writeToNBT(inputNBT);
    nbt.setTag("input", inputNBT);

    nbt.setBoolean("matchMeta", matchMeta);
    nbt.setBoolean("matchNBT", matchNBT);

    int outCount = 0;
    for (Entry<ItemStack, Float> output : outputs.entrySet()) {
        NBTTagCompound outputNBT = new NBTTagCompound();
        output.getKey().writeToNBT(outputNBT);
        outputNBT.setFloat("chance", output.getValue());
        nbt.setTag("output" + outCount++, outputNBT);
    }

    FMLInterModComms.sendMessage("Railcraft", "rock-crusher", nbt);
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].