Jump to content

Ghosttje

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Ghosttje

  1. Indeed, but I actually solved the mistake after searching for it for two days... Stupid mistake my minecraft version and forge version where not aligned with the version of applied energistics. But thx Also for anybody looking for the same thing, here is the gradle file
  2. I am a new developer (.NET developer) and I am trying to get into minecraft modding. I have an idea to create a mod extending from Applied Energistics but I have problems setting up the dependency / build.gradle. So I am still in the setup fase but already have some problems that I cannot figure out... org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException: No candidates were found matching func_244162_a(Ljava/lang/String;Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/world/gen/feature/StructureFeature; in net/minecraft/world/gen/feature/structure/StructureFeatures for appliedenergistics2.mixins.json:structure.ConfiguredStructureFeaturesAccessor->@Invoker[METHOD_PROXY]::register(Ljava/lang/String;Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/world/gen/feature/StructureFeature; [INJECT Applicator Phase -> appliedenergistics2.mixins.json:structure.ConfiguredStructureFeaturesAccessor -> Apply Accessors -> -> Locate -> appliedenergistics2.mixins.json:structure.ConfiguredStructureFeaturesAccessor->@Invoker[METHOD_PROXY]::register(Ljava/lang/String;Lnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/world/gen/feature/StructureFeature;] at org.spongepowered.asm.mixin.gen.InvokerInfo.findTargetMethod(InvokerInfo.java:117) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.gen.InvokerInfo.locate(InvokerInfo.java:101) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinTargetContext.generateAccessors(MixinTargetContext.java:1318) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyAccessors(MixinApplicatorStandard.java:1051) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:223) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.mixin.transformer.MixinTransformationHandler.processClass(MixinTransformationHandler.java:121) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at org.spongepowered.asm.launch.MixinLaunchPlugin.processClass(MixinLaunchPlugin.java:131) ~[mixin-0.8.2.jar:0.8.2+unknown-b0.git-unknown] {} at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) ~[modlauncher-8.0.6.jar:8.0.6+85+master.325de55] {} at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:119) ~[modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.6.jar:?] {} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.6.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.6.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?] {} at net.minecraft.util.registry.WorldGenRegistries.lambda$static$3(WorldGenRegistries.java:42) ~[forge:?] {re:classloading} at net.minecraft.util.registry.WorldGenRegistries.lambda$static$6(WorldGenRegistries.java:107) ~[forge:?] {re:classloading} at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[?:?] {} at net.minecraft.util.registry.WorldGenRegistries.<clinit>(WorldGenRegistries.java:106) ~[forge:?] {re:classloading} at net.minecraft.util.registry.Registry.<clinit>(Registry.java:482) ~[forge:?] {re:classloading} at net.minecraft.util.registry.Bootstrap.register(Bootstrap.java:42) ~[forge:?] {re:classloading} at net.minecraft.client.main.Main.lambda$main$0(Main.java:123) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A} at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] {} at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] {} at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] {} at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] {} at java.lang.Thread.run(Thread.java:834) [?:?] {} Is there somebody who can help me to get it running? (Github gradle file: https://github.com/kevingoos/OpenWorld/blob/main/build.gradle) build.gradle
  3. I am starting on a minecraft mod, but I cannot get the build.gradle right. I wanted to create a mod on top of applied energistics but I cannot get it to build when I add this mod as a gradle dependency. I looked all the dependencies up on an other repository, but when I build it gives errors like below, and some other errors on the general minecraft code base Error:(3, 26) java: package net.minecraft.init does not exist This is the code I have right now: buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } } 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 = mod_version + "-" + mod_channel group = mod_group archivesBaseName = mod_basename sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = '1.8' } minecraft { version = minecraft_version + "-" + forge_version replaceIn "package-info.java" replace "@version@", project.version replace "@modversion@", mod_version replace "@modchannel@", mod_channel // used when launching minecraft in dev env mappings = mcp_mappings } repositories { maven { name 'Mobius Repo' url "http://mobiusstrip.eu/maven" } maven { name = "JEI repo" url "http://dvs1.progwml6.com/files/maven" } } dependencies { // installable runtime dependencies compileOnly "mcp.mobius.waila:Hwyla:${hwyla_version}" // compile against provided APIs compileOnly "mezz.jei:jei_${minecraft_version}:${jei_version}:api" compileOnly "mcp.mobius.waila:Hwyla:${hwyla_version}" // at runtime, use the full JEI jar runtime "mezz.jei:jei_${minecraft_version}:${jei_version}" deobfCompile "appeng:appliedenergistics2:${ae_verion}" } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // 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 except the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } The version that I am trying to add is: ae_verion=rv5-stable-8 I posted my code on github if you want to take a look: https://github.com/Ghosi-dev-team/AE-Extensions/tree/development
  4. Ok found that, http://jabelarminecraft.blogspot.be/p/creating-custom-entities.html. I am actually using a block but that is not the problem. I just want to know if I should use the .obj export or the .java export. Why is .obj better?
  5. I am making models in techne, and I need to use it in the mod. What is the best way to use the models in my mod? Should I export it in .obj or in .java. What is the best and the easiest way?
  6. I found the problem: I did the following: protected int xSize = 256; protected int ySize = 210; But I am extending from GuiContainer and there is alreade two variables xSize and ySize in the class GuiContainer. So I only needed to do the following: public GuiTrade(EntityPlayer entityPlayer, InventoryTrade inventoryTrade) { super(new ContainerTrade(entityPlayer, inventoryTrade)); xSize = 256; ySize = 210; }
  7. I am trying to make my custom GUI in minecraft 1.7.2. My problem is that I cannot get the last two rows working of my inventories in my GUI like it should. Also the actionbar from the player inventory is not working properly. I think I am doing something wrong in my ContainerTrade class. So this is a Gist of the code: https://gist.github.com/ghost606/703075ff454f99a1bee9 This is also a video demonstrating my problem: https://www.youtube.com/watch?v=j-pol1OmyRo&list=UUu2vzjrQTMY2fxIz_A6msCA *This is a Github link to all my code in case you need it: https://github.com/ghost606/TradeMC If somebody can help? I cannot find the problem Thx for your help http://minecraftforge.net/forum/Smileys/default/cheesy.gif
×
×
  • Create New...

Important Information

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