xLionel775
Members-
Posts
26 -
Joined
-
Last visited
Converted
-
Gender
Male
-
Location
Romania
-
Personal Text
I am new!
xLionel775's Achievements
Tree Puncher (2/8)
-1
Reputation
-
Here is my custom sword class: import com.terraweapons.main.TerraWeapons; import net.minecraft.item.ItemSword; public class TerraSword extends ItemSword { public TerraSword(String name, ToolMaterial material) { super(material); this.setUnlocalizedName(name); this.setCreativeTab(TerraWeapons.tabTerraWeapons); } } Here is my ToolMaterial code: public static ToolMaterial material1 = EnumHelper.addToolMaterial("material1", 3, 100, 2.0F, 0F, 20); And here I register my weapons: public static Item weapon1 = new TerraSword("weapon1", ToolMaterials.material1);
-
[1.9.4] OreDictionary Output for a recipe
xLionel775 replied to xLionel775's topic in Modder Support
Ok so I made the List: List<ItemStack> copper = OreDictionary.getOres("ingotCopper"); And here is the recipe code: GameRegistry.addRecipe(new ShapedOreRecipe(copper, new Object[]{"XXX", "XXX", "XXX", 'X', AEItems.iron_essence})); The problem is I'm not very good at java and I don't understand exactly what I need to do. If you want to give me an example that works would be awesome. -
How can I make a recipe to output an OreDictionary item? This thing doesn't work GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack("ingotCopper"), new Object[]{"XXX", "XXX", "XXX", 'X', AEItems.iron_essence}));
-
Textures from my custom crops are not recognized by Waila. BlockState JSON: ModelBlock JSON: Every stage has a different json. In game all the textures work, only waila does not recognize them. I tried to implement IWailaDataProvider but it didn't work.
-
This is how I set the drops for crops but using this method requires a separate class for every crop ... anyway thanks for help
-
This is how I set the drops for crops but using this method requires a separate class for every crop ... anyway thanks for help
-
There is any way to do what I want? Using another code?
-
There is any way to do what I want? Using another code?
-
AEItems: AEBlocks:
-
AEItems: AEBlocks:
-
New Common Proxy: Crash Log:
-
New Common Proxy: Crash Log:
-
If I register my items first when I plant the seed my game crashes ...
-
If I register my items first when I plant the seed my game crashes ...
-
Common Proxy Class: