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.

Leaderboard

Popular Content

Showing content with the highest reputation on 04/27/19 in all areas

  1. Maybe the problem is not explained clearly in the topic. For short, I am going to create a number of chips to act as keys for some machine, but those chips are different instances of one class with different nbt data to make some differences. Thus, using this approach, there need huge codes to realize registry events and I think that is kind of unpractical. Therefore, I want to know whether there is an efficient way to realize this thing because, for blocks, I only need to create a PropertyEnum variable and an Enum class to write down different block states. I really appreciate any help or hints
  2. This is should not be the case, and most definitly is not the intention. You're using RecipeType incorrectly. It is meant to be a 'machine' type system. Which is why we have 'CRAFTING' and 'SMELTING' and not 'SHAPELESS'. Note that RecipeType is not the type in the json. That is your serializer.
  3. got it working. the problem was you set the recipe to early and your grass_ball was null move https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/ExaResources.java#L38 to init. the way you register your items and blocks is wrong https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/features/ModItems.java#L81 dont do that let forge do that for you, that is why @ObjectHolder exist https://github.com/nov4e/Exa/blob/master/src/main/java/exa_resources/forge/base/ItemMiniShovel.java#L70 dont compare strings like that, read this https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java
  4. Don't put it in the IRecipe registry event; put it in something like the post init instead.
  5. I can replace this: With this: nbtTagCompound.setInteger("lIndex", (nbtTagCompound.getInteger("lIndex") + 1) % 4);
  6. I don't know exactly what you need to do but I think it needs to be something along the lines of Blocks.WOOL.getDefaultState().withProperty(); Thing is I have not messed with wool so I don't know what properties it has or what you need to put inside the withProperty() part
  7. You can just hide every item doing: for(Item i : ForgeRegistries.ITEMS) { if(i.getCreatorModId(new ItemStack(i)).equals("minecraft")) { i.setCreativeTab(null); } } That means for every item in forge, if the item has the modid "minecraft" it will set the item's creative tab to null.
  8. See comments. Now go learn Java.
  9. 0 points
    Hi, when i click on play it shows this error. Please help. Thanks. crash-2019-04-27_10.01.48-client.txt

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.