Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

PirateCody

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

1 Neutral

About PirateCody

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Is it possible to get the default Minecraft textures from the Forge source? I like basing my textures off vanilla counterparts, and it's useful to have the entire texture library there and available in my workspace. I'm 90% you used to be able to in 1.7, so I'm wondering if there's still a way to do it.
  2. Yeah, I feel like an idiot now lol. I reinstalled the 64bit version but forgot to remove (x86) from the environment variables. Thanks.
  3. C:\Program Files (x86)\Java\jdk1.8.0_201
  4. I reinstalled the JRE 64bit, but no dice.
  5. I'm trying to run various gradlew commands. Right now, I'm trying to run "gradlew setupDecompWorkspace eclipse" in order to try forcing a redownload of the forge libraries, but it gives me this error: I have the environment variable _JAVA_OPTIONS set to -Xmx3g which should be enough. There's no stacktrace available. Funny enough, when I set the JAVA OPTIONS to -Xmx512m, the process starts to work and then fails around :decompileMC. I'me running Java 8 64 bit I am at a complete loss and dont know where to go from here.
  6. I got a fairly bizarre error today after exporting my mod. I launched eclipse after loading my mod and my forge project was broken. I did nothing to the forge project or my mod project. I didn't mess with eclipse either. The only thing I did was edit the ForgeVersion.json in the gradle cache because otherwise building a mod with gradlew is impossible. The specific errors I get are: I'm not really sure where to go from here. Would running setupDecompWorkspace again do anything?
  7. I'm trying to export my mod, but when I run "gradlew build" it ends up crashing with an exception. build.gradle: error stack trace:
  8. Thanks, that seemed to have helped with another problem I found in my trial and error. Another thing I did was declare the sound event in SandstormSounds like so: public static SoundEvent music_sandstorm = new SoundEvent(new ResourceLocation(Sandstorm.MODID, "music_sandstorm")).setRegistryName("music_sandstorm"); and then registered it like this: @SubscribeEvent public static void registerSounds(RegistryEvent.Register<SoundEvent> event){ final SoundEvent[] soundEvents = { SandstormSounds.music_sandstorm }; event.getRegistry().registerAll(soundEvents);
  9. Thanks, that seemed to fix the registration issue. Now a more obscure problem that I also ran into in 1.7 is that my sound event won't play. For context, I'm making a music disc. I don't see anything obviously wrong with my sounds.json or other music disc code, but I'm gonna post it here regardless. sounds.json { "music_sandstorm": { "category": "record", "sounds": [ { "name": "sandstorm:music/music_sandstorm", "stream": true } ] } } RegistryHandler.java @EventBusSubscriber public class RegistryHandler { //blocks @Subscrib
  10. I'm pretty new to Forge modding in 1.12 after developing for awhile in 1.7.10. I'm trying to create a music disc, but I can't figure out the proper way to register my SoundEvents. From what I could gather, the proper way is something along the lines of public static void registerSounds(RegistryEvent.Register<SoundEvent> event)){ //Resource Location and SoundEvent stuff } However, Eclipse tells me "Bound mismatch: The type SoundEvent is not a valid substitute for the bounded parameter <T extends IForgeRegistryEntry<T>> of the type RegistryEvent<T>.Register<
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.