Jump to content

MDW01

Members
  • Posts

    441
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by MDW01

  1. I wouldn't worry about trying to figure out how to add dependencies to your jar almost everything you'll need is already included in the forge and Minecraft libraries. Look through the libraries in your workspace and you'll see what forge gradle has added to your workspace also you can look through Minecafts source code to get ideas on how mojang implements stuff and if you view the forge source you can get information on how to use the forge code.
  2. Is this part of your code supposed to prevent the second player from controlling it? 800. @Override public boolean canPassengerSteer() { // must always return false or the vanilla movement code interferes // with DragonMoveHelper return false; }
  3. I can look at it more tomorrow. I tend to think better when I'm not half asleep.
  4. Neither do I but in the end it works and thats all that matters. Thankfully Forge has this nice article about it. https://github.com/MinecraftForge/ForgeGradle/wiki/Dependencies
  5. Yea with my core mod I usually don't start running into issues until I compile. So I would try adding it as a dependency in gradle.
  6. Have you added Hexian core as a dependency in gradle.
  7. It may take me a while to find out whats wrong. But in the mean time you could check when you last successfully compiled and what changes you have made since then that could be effecting this.
  8. As it says you should contact the mod authors first because there are core mods. Also there isn't much I can do without seeing some of the code. Are all of the mods open source?
  9. Could you post a link to a repository with your code?
  10. If your just using it to read and write data to JSON I would recommend using GSON instead of javax. I also believe it is included in the forge libraries so you don't have to add javax to your jar.
  11. Could you post the compiler error log as well?
  12. Are you storing the location of the other portal in the portals tile entity data?
  13. I would look through the Minecraft nether portal source code.
  14. Here is a post you might find helpful. https://stackoverflow.com/questions/3445825/gradle-how-do-i-build-a-jar-with-a-lib-dir-with-other-jars-in-it
  15. I would recommend looking into Tile entity special renderers (TESR) to create an animation. I have used it to make double doors that rotate open and a door with a sliding panel.
  16. What part are you trying to rotate the direction the chest is facing or the chest opening animation also could you post a link to you git repo.
  17. Its what i have been told in the past.
  18. Yea I agree, If your goal is to have compatibility you should create a separate fishing rod. Although you could add a config option to remove the vanilla one if the player chooses so if a mod requires it it could be reenabled.
  19. Version 1.8 is unsupported on the forum. Your posts may get removed or closed. Also please keep in mind that this is not a Java school. You are expected to have basic knowledge of Java before posting here.
  20. What I would do is when the item is right clicked have it execute the command /time set day So I believe what you are looking for is this MinecraftServer.getServer().getCommandManager().executeCommand(player, command) When run it should execute the command of your choice.
  21. Could you give us more information on what is happening?
  22. Yea, in your pack.mcmeta you have a comma after the pack_format which is causing the game to crash. Just remove it to fix the problem. { "pack": { "description": "Welcomer resources", "pack_format": 3, } }
  23. You have a couple different options you can use git command line or use a client such as GitHub Desktop (Free) or GitKraken (GitKraken is free if you have the GitHub Student Pack). If you are new to git I recommend using a client as it is easier to learn. Login to Github Go to the location of your project Open up the folder in Terminal or Command Prompt or Git client Initialize using the command bellow or the client the repository this will create a new repository on Github git init Commit the files and Push them to git using the client or with the commands below. git commit -a git push origin your_branch_name I recommend you add a git ignore so you don't push some of the project files that eclipse creates as these should be regenerated for each user. also never directly push to master as only code you know works should be there so create a new branch.
×
×
  • Create New...

Important Information

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