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.

Armanse

Members
  • Joined

  • Last visited

Everything posted by Armanse

  1. Hello, I just have a question. How do i show a title(/title) on the player's screen ? I checked the command /title in the minecraft source code and i don't really understand a thing, i still tried but i didn't worked. Can you guys help me ? Thank you in advance !!! All i want is to use the /title command on a player in my code ;-;
  2. Hi i need your help again guys. I wanted to download the mdk 1.16.4 latest version so when i type in my cmd gradlew genEclipseRuns and press enter this happens: Unzipping C:\Users\Meh\.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx\gradle-4.10.3-bin.zip to C:\Users\Manaiki\.gradle\wrapper\dists\gradle-4.10.3-bin\31t79e2qsceia4mkbojplrgx Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:225) at java.util.zip.ZipFile.<init>(ZipFile.java:155) at java.util.zip.ZipFile.<init>(ZipFile.java:169) at org.gradle.wrapper.Install.unzip(Install.java:215) at org.gradle.wrapper.Install.access$600(Install.java:27) at org.gradle.wrapper.Install$1.call(Install.java:75) at org.gradle.wrapper.Install$1.call(Install.java:48) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69) at org.gradle.wrapper.Install.createDist(Install.java:48) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) So i tried with the recommended version and it also did the same error. However when i tried with 1.16.5 it all worked perfectly fine but i also want the 1.16.4 to work so can you guys help me pls i'm having so much trouble just for this. Thank you in advance !!!!
  3. Hi, i have downloaded the MDK of minecraft forge 1.16.5 and when i want to run minecraft (i didn't code anything yet) it tells me this: [11:06:03] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate D:\User\Someone\Desktop\Mod\bin\main [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: com.electronwill.nightconfig.core.io.ParsingException: Invalid character 'i' after key [This] [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:152) Exception in thread "main" [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:101) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:72) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.modsTomlParser(ModFileParser.java:59) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:46) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:113) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:121) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:216) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1628) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:76) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [11:06:03] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) So i tried somethings like going in to the java build path to see what was wrong but i didn't find anything wrong inside or maybe i'm just blind i don't know. I would like you to help me pls solve my problem :) Thank you (sorry for bad english)
  4. Hi i'm trying to get the mouseX and mouseY in a gui in order to make a button but i don't know how to do it. Can someone Helpe me ? Thank you for helping.
  5. Hi I'm having so difficulties with getting the coordinates of where the player is looking at and i've only found Player.getLookVec(); that returns a Vec3d but i don't know what i can do with that Do anyone have an idea ? Ty for helping and sry for bad English.
  6. Armanse posted a topic in Modder Support
    Hi there i'm trying to make a GUI but it's not really a gui it's more like just an image that pops when u click on a block. However i don't really know how to do it can u guys help me. Btw i'm on forge 1.16.1. ty for helping and sry for bad english. NOTE: i don't it to be a container. is that possible ?
  7. Thank you guys i found how to do it.
  8. wdym ? i mean yes i get an itemStack but what do i do with it ?
  9. Hi i'm have some trouble trying to get the number of items in a slot of a chest. the only thing i can find is ChestTileEntity chest; chest.getInventoryStackLimit() that gives the maximum stack size for an inventory slot. but i'm not looking for that i'm lookiing for the number of item in a given slot. Thank you for the help and sry for bad english.
  10. Hi i'm new to minecraft modding so i'm trying to learn. I'm having issues with an LazyOptional<IItemHandler> variable what i want to do is get the boolean from itemhandler.isItemValid and put it in an condition. but when i do itemhandler.ifPresent(h -> h.isItemValid(1, state.getBlock().getItem(world, blockpos, state))); it says to me that itemhandler.ifPresent is a void method i understand but i can't find an other way to get to the return of h.isItemValid Thank u anyhelp would be cool and sry for bad english. here is the method: private void Looting(BlockState state, BlockPos blockpos, PlayerEntity player) { LazyOptional<IItemHandler> itemhandler; TileEntity chest; if(world.getBlockState(pos.add(0, 1, 0)) == BlockInit.harvest_chest.getDefaultState()) { chest = world.getTileEntity(pos.add(0, 1, 0)); itemhandler = chest.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY, null); //test itemhandler.ifPresent(h -> h.isItemValid(1, state.getBlock().getItem(world, blockpos, state))); //test for(io = 0; io < 36; io++) { //condition that needs test if(itemhandler) itemhandler.ifPresent(h -> h.insertItem(io, state.getBlock().getItem(world, blockpos, state), false)); //condition } } else if(getDistancetoBlock(player, pos)) { player.addItemStackToInventory(state.getBlock().getItem(world, blockpos, state)); player.sendStatusMessage(new StringTextComponent("HELLO"), true); } else { Block.spawnDrops(state, world, pos.add(0, 1, 0), this.getTileEntity(), null, ItemStack.EMPTY); } }

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.