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.

Winforce

Members
  • Joined

  • Last visited

Everything posted by Winforce

  1. Hi i am having the same problem and i dont know what to do buildscript { repositories { mavenCentral() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } maven { name = "sonatype" url = "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' } } apply plugin: 'forge' group= "EnderItems" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "EnderItems" // this makes gradle recognize and use build.properties ext.configFile = file "build.properties" configFile.withReader { // Load config. It shall from now be referenced as simply config or project.config def prop = new Properties() prop.load(it) project.ext.config = new ConfigSlurper().parse prop } version = "${project.config.mod_version}." + System.getenv("BUILD_NUMBER") ?: "0" println config.mc_version + "-" + config.forge_version // Setup the forge minecraft plugin data. Specify the preferred forge/minecraft version here minecraft { version = config.mc_version + "-" + config.forge_version } dependencies { // you may put jars on which you depend on in ./libs // or you may define them like so.. //compile "some.group:artifact:version:classifier" //compile "some.group:artifact:version" // real examples //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env // for more info... // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } def root = project.projectDir.parentFile sourceSets { main { java { srcDir new File(root, "src") } resources { srcDir new File(root, "resources") } } } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mc_version", config.mc_version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include '*.info' expand 'version':project.version,'mc_version':config.mc_version // replace version and mcversion expand 'version':project.version, 'mc_version':config.mc_version } // copy everything else, thats not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' include 'assets/**/*.*' } } version = "${project.minecraft.version}-${project.version}" jar { classifier = 'universal' } task sourceJar(type: Jar) { from sourceSets.main.java from new File(rootDir, "dev") classifier = 'src' } task devJar(type: Jar) { from sourceSets.main.output classifier = 'dev' } // Tell the artifact system about our extra jars artifacts { archives sourceJar, devJar } // Configure an upload task. uploadArchives { dependsOn 'reobf' if (project.hasProperty("local_maven")) { repositories { logger.info('Publishing to local maven repo') mavenDeployer { repository(url: "file://${local_maven}") } } } } sourceSets { main { output.resourcesDir = output.classesDir } } [ { "modid": "EnderItems", "name": "EnderItems", "description": "More items for opnes.", "version": "${version}", "mcversion": "${mcversion}", "url": "", "updateUrl": "", "authorList": ["Winforce"], "credits": "", "logoFile": "", "screenshots": [], "dependencies": [] } ]

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.