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.

ShawnRG

Members
  • Joined

  • Last visited

Everything posted by ShawnRG

  1. I'm trying to create a blastSmelting recipe but I keep getting No way of obtaining recipe neptune:steel_ingot_recipe Here is my code: CookingRecipeBuilder .blastingRecipe(Ingredient.fromItems(ModItems.STEEL_COMPOUND_ITEM.get()), ModItems.STEEL_INGOT_ITEM.get(), 0, 200) .build(input -> {}, new ResourceLocation(MODID, "steel_ingot_recipe")); Kind regards
  2. Nvm I'm dumb the method should be static. All is good!
  3. Is there a reason why this doesn't work? @Mod.EventBusSubscriber public class FOVUpdate { private static final Logger LOGGER = LogManager.getLogger(); @SubscribeEvent public void onFOVUpdate(final FOVUpdateEvent updateEvent) { LOGGER.warn("Updating FOV"); } }
  4. Is the FOVUpdateEvent something that happens every frame?
  5. Hi coming at you again with a gradle issue.. I'm trying to fix the workspace of a mate of mine. Before explaining I think it's worth mentioning that we both run it on MacOS with the same version of Intellij and gradle and with the latests version of java 1.8. All the tasks inside the fg_runs group don't run except for the prepareRuns which completes successfully after downloading minecraft assets. Kind regards
  6. Ok I've found the solution. Apparently java 8 was set as the Gradle JVM in my eclipse settings, changed this to 8 and this issue is resolved
  7. This first started with all the tasks under fg_runs when executed giving a "task not found in root project ..." error message. When looking more closely at the gradle build when refreshing the dependencies I get this error message. Could not find net.minecraftforge:forge:1.15.2-31.1.0_mapped_snapshot_20190719-1.14.3. Things I've tried: Clearing gradle cache both in the project and in my home folder Clean pull the project from the repository Use the import gradle project functionality of intellij Switching to an OpenJDK version of java Kind regards I'm running a MacBook Pro with MacOS Catalina
  8. Hi, I'm trying to create a simple binoculars item that when I right click, i change the zoom of the camera. I've found some suggestions to post a custom FOVUpdateEvent on the MinecraftForge event bus but i don't seem to get any change reflecting in my client. @Nonnull @Override public ActionResult<ItemStack> onItemRightClick(World worldIn, PlayerEntity playerIn, @Nonnull Hand handIn) { ItemStack heldItem = playerIn.getHeldItem(handIn); FOVUpdateEvent updateEvent = new FOVUpdateEvent(playerIn, 0.9F); MinecraftForge.EVENT_BUS.post(updateEvent); return new ActionResult<>(ActionResultType.SUCCESS, heldItem); } PS: If you have other suggestions to create my desired effect, let me know! Kind regards

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.