Everything posted by ShawnRG
-
[1.15.2] Custom blast smelting recipe
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
-
[1.15.2] Zoom effect in
Nvm I'm dumb the method should be static. All is good!
-
[1.15.2] Zoom effect in
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"); } }
-
[1.15.2] Zoom effect in
Is the FOVUpdateEvent something that happens every frame?
-
[1.15.2] Task genIntellijRuns not found
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
-
[1.15.2] Couldn't find minecraft forge dependency
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
-
[1.15.2] Couldn't find minecraft forge dependency
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
-
[1.15.2] Zoom effect in
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
IPS spam blocked by CleanTalk.