Jump to content

Syndaryl

Members
  • Posts

    49
  • Joined

  • Last visited

  • Days Won

    1

Syndaryl last won the day on September 30 2018

Syndaryl had the most liked content!

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Syndaryl's Achievements

Tree Puncher

Tree Puncher (2/8)

4

Reputation

  1. Thanks so much for breaking this down! Hugely helpful to me, I've had a lot of trouble figuring this out!
  2. Ah. Wonderful. One of those problems.
  3. It's not the 0 that's the problem, it's that the array is null - it has NO number of keybindings in it, so no number is valid.
  4. Is the minecraftforge maven misbehaving? This has been going on for about an hour now (alternating with connection timeout errors) D:\Games\Forge_Eclipse_workspace\minecraft-roguelike>call gradlew.bat setupDecompWorkspace --refresh-dependencies FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'minecraft-roguelike'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT. Required by: :minecraft-roguelike:unspecified > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT. > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/maven-metadata.xml. > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/maven-metadata.xml'. > Connection to http://files.minecraftforge.net refused
  5. For the next person with this problem: I've found a solution (thanks Greymirk!) in your build.gradle, in the minecraft {} section, add " makeObfSourceJar = false " So, mine looks like this: minecraft { version = "1.11.2-13.20.0.2216" runDir = "run" mappings = "snapshot_20170120" makeObfSourceJar = false } Now, if you needed the obfuscated source JAR this isn't going to help you. But if you DIDN'T (and I don't even know what that's for, so I don't) this will make the problem go away.
  6. That did help, but I've since found a more reliable solution (thanks Greymirk!) in your build.gradle, in the minecraft {} section, add " makeObfSourceJar = false " So, mine looks like this: minecraft { version = "1.11.2-13.20.0.2216" runDir = "run" mappings = "snapshot_20170120" makeObfSourceJar = false } Now, if you needed the obfuscated source JAR this isn't going to help you. But if you DIDN'T (and I don't even know what that's for, so I don't) this will make the problem go away.
  7. Did you ever get this resolved? I'm having the same problem.
  8. debug dump at https://1drv.ms/t/s!AqTWbM9NKFyOrSmxDfI5TIOACLr_ I'm trying to build a fork of Greymerk's Roguelike Dungeons but it keeps stalling at :retromapReplacedMain remapping source... It has one core pegged out at max, and after several attempts I let it run overnight, but it's still sitting there and I have no signs of progress. I've tried groveling over the debug dump but there's nothing obviously awry (not that I'm familiar with gradle's internals anyways). Where do I go from here for troubleshooting? EDIT: I should note I've tried a clean and setupDecompWorkspace again (and again and again), and even a cleanCache. No particular change in behavior.
  9. Herpderp. Thanks, not entirely used to reflection yet so I never think of it as a tool.
  10. Context: I'm trying to disable the ability of Silverfish to summon more Silverfish, because I hate that particular design choice too much for my own good health. I'll probably try to replace it with some other ability that doesn't give me The Rage, but first I have to nuke it. I'm poking around in EntitySilverfish and it's a custom AI task. "AHA!" I said to myself, "I can just remove it from the task list when they spawn!" (via the EntityJoinWorldEvent event). Alas, it's a package scoped internal class, and the instance of the class on each EntitySilverfish is in a private variable. So my first idea won't work: entity.tasks.removeTask(entity.summonSilverfish); // instance of AI class - private, can't access and my second idea won't work, to whit iterating over entity.tasks.taskEntries to find the one that is of class EntitySilverfish.AISummonSilverfish, and remove THAT. Can't check for that, since it's private. I can nuke silverfish from spawning entirely by catching LivingSpawnEvent.CheckSpawn and denying them, but completely forbidding them is overkill, and I'm not sure how to catch if they've been summoned by a silverfish at this point. Soooo... how can I remove this private class from the list when I'm not even allowed to know its a thing?
  11. The irony is that I had the IBlockState already, because getBlockHardness was updated to ask for it. Doesn't do anything with it, but it asks for it. Good enough for me!
  12. So, while updating for 1.9.4, I noticed Block.getBlockHardness() is deprecated. I assume that this is being phased out in favor of using IBlockState/BlockStateContainer. Unfortunately I know zero about BlockState and Google refuses to cough up anything other than crash logs, or BlockContainers (because Google hates programmers... ) How do I get Hardness out of a block these days?
  13. Ding ding ding ding! A winar is you! Serves me right for not double checking the MCP.
  14. Context: I'm updating my dev environment from 1.9 to 1.9.4 - project built successfully previously with 12.16.1.1907 / snapshot_nodoc_20160512 I've updated to build against 12.17.0.1957 / snapshot_20160601 I call gradlew.bat setupDecompWorkspace --refresh-dependencies Applying SpecialSource... Applying Exceptor... :decompileMc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':decompileMc'. > java.lang.NullPointerException (no error message) I've tried various other versions of Forge from .1922 up; what did I mess up when upgrading?
×
×
  • Create New...

Important Information

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