Jump to content

xLionel775

Members
  • Posts

    26
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Romania
  • Personal Text
    I am new!

xLionel775's Achievements

Tree Puncher

Tree Puncher (2/8)

-1

Reputation

  1. 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);
  2. 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.
  3. 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}));
  4. 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.
  5. This is how I set the drops for crops but using this method requires a separate class for every crop ... anyway thanks for help
  6. This is how I set the drops for crops but using this method requires a separate class for every crop ... anyway thanks for help
  7. There is any way to do what I want? Using another code?
  8. There is any way to do what I want? Using another code?
  9. If I register my items first when I plant the seed my game crashes ...
  10. If I register my items first when I plant the seed my game crashes ...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.