Jump to content
  • Home
  • Files
  • Docs
  • Merch
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • themaw

themaw

Members
 View Profile  See their activity
  • Content Count

    53
  • Joined

    November 7, 2017
  • Last visited

    March 2

Community Reputation

0 Neutral

About themaw

  • Rank
    Stone Miner

Recent Profile Visitors

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

  1. themaw

    What should I do if I want to put the 'apache-common-net' lib jar into my build jar?

    themaw replied to themaw's topic in Modder Support

    This is my build.gradlew buildscript { repositories { jcenter() mavenCentral() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } maven { name = "sonatype" url = "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4' classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' } } apply plugin: 'forge' apply plugin: 'com.github.johnrengelman.shadow' version = "1.0" group= "me.mawmanager.mawpi" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "MawModI" minecraft { version = "1.7.10-10.13.4.1558-1.7.10" runDir = "eclipse" } 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" compile files(fileTree(dir: 'libs', includes: ['*.jar'])) // 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 // https://mvnrepository.com/artifact/commons-net/commons-net compile group: 'commons-net', name: 'commons-net', version: '3.6' // for more info... // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version //include(dependency('commons-net:commons-net:3.6')) // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else, thats not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } PS:No file in the libs folder.
    • March 2
    • 2 replies
  2. themaw

    What should I do if I want to put the 'apache-common-net' lib jar into my build jar?

    themaw posted a topic in Modder Support

    I'm trying to use the FTPClient part of the 'apache-common-net.jar' But I don't know how to extract this lib to my build mod. Should I build the jar by MCP and shadow plugin? But I don't know what to do. I had been trouble by this for serveral days.
    • March 2
    • 2 replies
  3. themaw

    How to create my own log and save to file?

    themaw replied to themaw's topic in Modder Support

    XD I think I need an example...
    • February 12
    • 3 replies
  4. themaw

    How to create my own log and save to file?

    themaw posted a topic in Modder Support

    There is a file called 'latset.log' at the .minecraft/logs. How do I create a new log record player behavior and output to the '. Minecraft/logs/playerinteract. Log 'file?
    • February 12
    • 3 replies
  5. themaw

    Is there any to fix another mod's bug?

    themaw replied to themaw's topic in Modder Support

    No.
    • February 9
    • 3 replies
  6. themaw

    Is there any to fix another mod's bug?

    themaw posted a topic in Modder Support

    There is a problem in my server MOD, a wrong recipe was put in the compositing table. Now just put the glass board into the compositing table, the client will crash. Is there a way to correct its Class or cancel its composite recipe? I don't want to delete this MOD. Apart from this BUG, it's still great.
    • February 9
    • 3 replies
  7. themaw

    Interaction between mods

    themaw replied to themaw's topic in Modder Support

    It's my fault. Now I had fix this by edit the build.gradle I forget to edit the depencies 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" compile files('libs/Ecomoylite.jar') compile files('libs/FlexibleLogin.jar') compile files('libs/SpongeApi.jar') // 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 // the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. //provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' // the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided, // except that these dependencies get remapped to your current MCP mappings //deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev' //deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev' // for more info... // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } (Yeah,they are sponge and plugin,but now I can import them as mod,and with out build error)
    • December 28, 2018
    • 7 replies
  8. themaw

    Interaction between mods

    themaw replied to themaw's topic in Modder Support

    This is helpful.But I need more imformation.
    • December 27, 2018
    • 7 replies
  9. themaw

    Interaction between mods

    themaw replied to themaw's topic in Modder Support

    I'll try it. If I want to import lib to my mod,what should I do to prevent the error which appeared when the 'gradle build' run?
    • December 27, 2018
    • 7 replies
  10. themaw

    Interaction between mods

    themaw posted a topic in Modder Support

    I want to make my mod use a login mod's API if the mod was exist. What should I do to know whether the class/package of the API mod had been loaded? (And my Mod need works without the API Mod loading, with only a small amount of code enabled)
    • December 27, 2018
    • 7 replies
  11. themaw

    [1.9.4] Creating Advanced GUI with ListBox

    themaw replied to SKProCH's topic in Modder Support

    It looks great. You should create a main guiscreen first. Second,display playes's data at the top hub. Third,design a class of the data which will display at gui as a "BuyingItemTab". Fourth,create a GUIdrawing class to handle the "BuyingItemTab" and display it. You can not creeate a gui like this directly. Or you can find some useful code at the minecraft code about the MODLIST OF MAIN MENU
    • November 30, 2018
    • 3 replies
  12. themaw

    How to player's permission?

    themaw posted a topic in Modder Support

    I had already registered the permission in this way: PermissionAPI.registerNode("permission", DefaultPermissionLevel.OP, "permission"); And how to set players' permission?
    • November 30, 2018
    • 1 reply
  13. themaw

    Render a block with 3dMax model(Or .obj file)

    themaw replied to themaw's topic in Modder Support

    How stupid I was... I thought it had to be a subclass of Item to register with the CreativeTab Now I find that someone else's code registers the CreativeTab directly in the Block Thank you for your answers
    • November 29, 2018
    • 23 replies
  14. themaw

    Render a block with 3dMax model(Or .obj file)

    themaw replied to themaw's topic in Modder Support

    ItemBlock had been registered,but it do not display in the creativetab
    • November 29, 2018
    • 23 replies
  15. themaw

    Render a block with 3dMax model(Or .obj file)

    themaw replied to themaw's topic in Modder Support

    I use this void: public static ItemBlock createItemBlock(Block b) { ItemBlock b2 = new ItemBlock(b); b2 .setRegistryName(b.getRegistryName()) .setUnlocalizedName(b.getUnlocalizedName()) .setCreativeTab(Client.tab1); return b2; } But it do not work
    • November 29, 2018
    • 23 replies
  • All Activity
  • Home
  • themaw
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community