Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

xLionel775

Members
  • Joined

  • Last visited

  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. AEItems: AEBlocks:
  10. AEItems: AEBlocks:
  11. New Common Proxy: Crash Log:
  12. New Common Proxy: Crash Log:
  13. If I register my items first when I plant the seed my game crashes ...
  14. If I register my items first when I plant the seed my game crashes ...
  15. Common Proxy Class:

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.