Jump to content

Raeglyn

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Raeglyn

  1. Hello, noob minecraft modder here. I want to display a message to all players on day start (think a "Good morning!" message for example), but I'm very lost on the best way to do that. I investigated using the /say command, but it appears that commands are only available if cheat mode is enabled. I'm not quite sure where to look next. (I am also taking pointers on how to hook into whatever existing "day start" event happens. There doesn't seem to be any sort of documented overview of what API is available for mods to hook into??)
  2. I have an entirely blank mod that I have built using gradle and am now trying to test in Minecraft (by copying the gradle-built jar into the mods folder of my Minecraft installation). However, on startup I get the following warning: I'm certain this is a stupid error, but it's not clear to me what I need to update in the build.gradle file. This is what mine looks like currently: buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } flatDir { dirs 'libs' } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version = "1.0" group = "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "rosemary" sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = '1.8' } minecraft { version = "1.12.2-14.23.5.2768" runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20171003" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } The minecraft version definitely needs to be updated (I'm running 1.15.2, and Forge version 1.15.2-forge-31.1.0), but I'm not sure where to find this snapshot thing. I assume I can't just replace the 1.12.2 with 1.15.2. Thanks!
  3. Derp! Thank you I'm very new to the minecraft modding scene...
  4. I am using Fernflower to decompile SereneSeasons. I actually already successfully did this, like.. last week. But then I deleted the decompiled files because I thought I didn't need them anymore. Now I am trying to follow the instructions at Fernflower's github page, and it's not working anymore. The output of the file looks like a success: But the only thing in my destination folder is a copy of the original jar file?? I'm taking any pointers or suggestions. Thanks!
×
×
  • Create New...

Important Information

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