Jump to content

Denisi

Members
  • Posts

    7
  • Joined

  • Last visited

Denisi's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Yes yes I'm stupid (or my brain don't work that well on 11 pm...). Anyway i solved it!
  2. Ok i will look at vanilla items... thank you so much for helping.
  3. Ok got it this will make it more interesting... Now what about that data saver thing, can it be done or not? Thats my main problem here.
  4. Umm... is this shared to the other players too? Because if is only shared to same items on one player's inventory then is fine. I want them to get removed after 51 uses no matter if you switch to a new ring. Edit: even if you have 2 rings and alternate the use on them when it reaches 0 only 1 is destroyed (i tested that)
  5. It seems messy but it works just fine, the item is usable only for 51 times and then it vanishes from inventory. The usage display works just fine: blue text showing how many uses are there left. ( I think this is what you mean with copy-pasta code right?). I just want a way to save the int value of that item (if is possible to re-enter it again even with the mess i did)
  6. I have an item that uses an int value for how many times it can be used before it gets destroyed. The problem is: the int value resets every time the player leaves and re-joins. Is there a way to save that int value and re-enter (or recall whatever is the best term) it to the item? here is my item class: I am not that good in java and I tried to figure it out myself but no luck.
  7. This is what shows up: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\PC>cd C:\Documents and Settings\PC\Desktop\Mod Minecra ft Medieval Craft C:\Documents and Settings\PC\Desktop\Mod Minecraft Medieval Craft>gradlew setupD ecompWorkspace eclipse This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril . ################################################# ForgeGradle 2.3-SNAPSHOT-583d1ba https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP unknown http://modcoderpack.com by: Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs ################################################# :deobfCompileDummyTask :deobfProvidedDummyTask :getVersionJson :extractUserdev UP-TO-DATE :extractDependencyATs SKIPPED :extractMcpData SKIPPED :extractMcpMappings SKIPPED :genSrgs SKIPPED :downloadClient SKIPPED :downloadServer SKIPPED :splitServerJar SKIPPED :mergeJars SKIPPED :deobfMcSRG SKIPPED :decompileMc Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap :decompileMc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':decompileMc'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_151\bin\java.exe'' finished w ith non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 45.61 secs C:\Documents and Settings\PC\Desktop\Mod Minecraft Medieval Craft> I just was starting to make a mod and followed a tutorial on internet but when i ran on this problem i couldn't fix it. My jvmargs at gradle.properties are set to 1G of memory ram and i don't know where to change that 3G Ram he wants (Could not reserve enough space for 3145728KB object heap) (my pc has only 3.24 Gb usable so i know the problem is with the ram space). this is what was inside my gradle.properties # Sets default memory used for gradle commands. Can be overridden by user or command line properties. # This is required to provide enough memory for the Minecraft decompilation process. org.gradle.jvmargs=-Xmx1G org.gradle.daemon=true org.gradle.java.home=C:/Program Files/Java/jdk1.8.0_151 Please help me solve this.
×
×
  • Create New...

Important Information

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