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


  • Content Count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About charsmud

  • Rank
    Stone Miner


  • Gender
  • Personal Text
    I am new!

Recent Profile Visitors

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

  1. Recently I've been getting back into modding, and I've been trying to get my coremod to be detected alongside my other mod. In my development environment inside of Eclipse, it's detected and works fine, but when I compile using "gradlew build" and put the jar into the mods folder, minecraft only recognizes the main mod, and not the coremod. FMLLoadingPlugin: package timeTraveler.core; import java.util.Map; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion; @MCVersion(value = "1.7.10") public class TimeTravelerFMLLoadingP
  2. After some research, I believe that the AccessTransformer is not actually being applied. When I run gradlew install, it recognizes that I have an AccessTransformer, but I don't believe it is actually applying the patch. I'm using the Eclipse IDE if that is of any help.
  3. I'll look into it, but I would still like to know why this isn't working, as I may find a use for it in the future.
  4. From what I understand, the field is accessed quite often, and the forge wiki states that access transformers are more efficient for variables that need to be accessed often.
  5. I am attempting to use an access transformer to access a private field. The console output states that the patch is being applied, yet I get an error saying the field is private and I crash. Here is the crash, console output, etc: [14:24:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:24:42] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [14:24:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [14:24:42] [main/INFO] [FML]: Forge Mod Load
  6. There are javadocs available for Forge at files.minecraftforge.net, that should give you enough information.
  7. You want to know if the player has moved while the spell is being cast, correct? Because checking for a change in your X, Y and Z coordinates greater than k units is how you can do that, just take the initial position during spell cast and compare. Otherwise, please elaborate, because you stated that you want casting to stop if movement occurs.
  8. Compare the previous posX, Y, and Z with the current posX, Y, and Z. Comparing acceleration will not determine whether the player is moving, as you could have an acceleration of zero yet you still maintain your velocity.
  9. TTEventHandler works, but Ticker does not. EDIT: I fixed it by changing private to public for the @ForgeSubscribe methods.
  10. I have edited the OP with the updated code.
  11. Yes, I currently have both FMLCommonHandler.instance().bus().register(new Ticker()); and MinecraftForge.EVENT_BUS.register(new Ticker());
  12. Still, the System.out.println is not printing when I change it to ClientTickEvent, and the code inside is not running.
  13. I used TickType.CLIENT. And whether or not the code is correctly optimized, it was never designed for a multiplayer experience, so I didn't bother trying to make it one (Plus this project has been going on for a few years and I haven't gotten around to renovating the old code, which most of this is).
  14. TTEventTicker is now working, but Ticker is not. Ticker is as follows: package timeTraveler.ticker; import java.io.File; import java.util.EnumSet; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.client.gui.GuiScreen; import net.minecraft.potion.Potion; import timeTraveler.core.TimeTraveler; import timeTraveler.gui.GuiTimeTravel; import timeTraveler.mechanics.CopyFile; import timeTraveler.pasttravel.PastMechanics; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cp
  • Create New...

Important Information

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