public class GythWrapper
extends java.lang.Object
Constructor and Description |
---|
GythWrapper() |
Modifier and Type | Method and Description |
---|---|
static void |
addTier(java.lang.String tierName,
net.minecraft.block.Block block,
int meta,
int tier,
java.lang.Object recipe)
Wrapper for the GYTH IMC API.
|
static void |
removeTier(net.minecraft.util.ResourceLocation tierName)
Wrapper for the GYTH IMC API.
|
public static void addTier(java.lang.String tierName, net.minecraft.block.Block block, int meta, int tier, java.lang.Object recipe)
tierName
- The name of the tier to register. This should be unique to the mod which
added it. Your modId will be added to this on Gyth's end, similarly to how forge
adds it to item/block ids.block
- The block to use for the case of this tank tier.meta
- The meta value for the case block. Must be in range of 0 to 15.tier
- The position of this tier on the hierarchy. Must be in range of 1 to 10.recipe
- The item to use in the tier crafting recipe. Accepts an ItemStack, or an
oredict name!public static void removeTier(net.minecraft.util.ResourceLocation tierName)
tierName
- The id of the tier to remove.