Update changelog and contributing guidelines
This commit is contained in:
parent
fdacf4129f
commit
bf74920482
|
@ -18,7 +18,7 @@ Some mods are not officially supported by IndustrialWires. They will probably wo
|
||||||
|
|
||||||
- **Fastcraft**: same as Optifine.
|
- **Fastcraft**: same as Optifine.
|
||||||
|
|
||||||
- **(K)Cauldron** and similar server software: While the source code of some of these is available on GitHub or similar platforms, it would require a lot of extra work to test everything with every server software.
|
- **Sponge(Forge)** and similar server software: While the source code of some of these is available on GitHub or similar platforms, it would require a lot of extra work to test everything with every server software.
|
||||||
|
|
||||||
- **Any version of IndustrialCraft2 that is not made by the official IC2 team** (more specifically, any IC2 version not available for download [here](http://jenkins.ic2.player.to/) or [here](https://minecraft.curseforge.com/projects/industrial-craft))
|
- **Any version of IndustrialCraft2 that is not made by the official IC2 team** (more specifically, any IC2 version not available for download [here](http://jenkins.ic2.player.to/) or [here](https://minecraft.curseforge.com/projects/industrial-craft))
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
#####Version 1.5-20 (UNRELEASED)
|
||||||
|
- Fixed GUI background and item tooltips
|
||||||
|
- Fixed some components resetting when the chunk is unloaded
|
||||||
|
- Chunks with control panels properly unload now
|
||||||
|
|
||||||
#####Version 1.5-15
|
#####Version 1.5-15
|
||||||
- Components can be placed in the world now to use the as conventional levers/etc.
|
- Components can be placed in the world now to use the as conventional levers/etc.
|
||||||
- Added documentation on the key ring. It also shows all attached keys on the tooltip now
|
- Added documentation on the key ring. It also shows all attached keys on the tooltip now
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
package malte0811.industrialWires.crafting.factories;
|
package malte0811.industrialWires.crafting.factories;
|
||||||
|
|
||||||
|
import blusunrize.immersiveengineering.common.crafting.IngredientFactoryStackableNBT;
|
||||||
import com.google.gson.JsonObject;
|
import com.google.gson.JsonObject;
|
||||||
import ic2.api.item.IC2Items;
|
import ic2.api.item.IC2Items;
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
import net.minecraft.item.crafting.Ingredient;
|
import net.minecraft.item.crafting.Ingredient;
|
||||||
import net.minecraftforge.common.crafting.IIngredientFactory;
|
import net.minecraftforge.common.crafting.IIngredientFactory;
|
||||||
import net.minecraftforge.common.crafting.IngredientNBT;
|
|
||||||
import net.minecraftforge.common.crafting.JsonContext;
|
import net.minecraftforge.common.crafting.JsonContext;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
@ -16,12 +15,6 @@ public class IC2ItemFactory implements IIngredientFactory {
|
||||||
public Ingredient parse(JsonContext context, JsonObject json) {
|
public Ingredient parse(JsonContext context, JsonObject json) {
|
||||||
String name = json.get("name").getAsString();
|
String name = json.get("name").getAsString();
|
||||||
String variant = json.get("variant").getAsString();
|
String variant = json.get("variant").getAsString();
|
||||||
return new MyNBTIngredient(IC2Items.getItem(name, variant));
|
return new IngredientFactoryStackableNBT.IngredientStackableNBT(IC2Items.getItem(name, variant));
|
||||||
}
|
|
||||||
private class MyNBTIngredient extends IngredientNBT {
|
|
||||||
|
|
||||||
public MyNBTIngredient(ItemStack stack) {
|
|
||||||
super(stack);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue