Jump to content

ArcaneFractal

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by ArcaneFractal

  1. [13:20:51] [main/INFO] [GradleStart]: No arguments specified, assuming client. [13:20:52] [main/INFO] [GradleStart]: Extra: [] Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\t\.gradle\caches\minecraft\assets\virtual\legacy\indexes\legacy.json at com.google.common.base.Throwables.propagate(Throwables.java:160) at GradleStart.setupAssets(GradleStart.java:260) at GradleStart.startClient(GradleStart.java:82) at GradleStart.main(GradleStart.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134) Caused by: java.io.FileNotFoundException: C:\Users\t\.gradle\caches\minecraft\assets\virtual\legacy\indexes\legacy.json at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:131) at java.io.FileReader.<init>(FileReader.java:72) at GradleStart.loadAssetsIndex(GradleStart.java:266) at GradleStart.setupAssets(GradleStart.java:204) ... 7 more For some reason the 1.7.10-Latest(10.13.0.1179) version works fine but Forge 10.12.1.1112 gives me this exception. I tried running gradlew setupDecompWorkspace but that doesn't work.
  2. Disable the world gen/recipe for that vanilla block and make a identical copy of it.
  3. The class Block has 2 methods that determine a block's icon. getIcon(IBlockAccess world, int x, int y, int z, int side); getIcon(int side, int meta); The first method gets called in the world, and the second method gets called in inventories. In the world you can just get the y level and return the texture you want, but you still have to implement the second method or let setTextureName(String) do it for you. By default when the first method is called it automatically calls the second method, but in this case you have to override it.
  4. Run gradlew setupDecompWorkspace again until you have solved the problem.
  5. That piece of code world.getBlockLightOpacity(z, y + 1, z) <= 2 shouldn't it be (x, y + 1, z) ?
  6. You can save the cooldown in NBT data.
  7. The method World.getEntitiesWithinAABBExcludingEntity returns a List. You have to save it in a variable. List<Entity> = world.getEntitiesWithinAABBExcludingEntity(EntityItem.class, player.boundingBox.expand(8D, 8D, 8D)); and set its velocity to the difference between its position and the player's (I'm not writing the for loop) double factor = 0.02d; entity.motionX += (player.posX - entity.posX) * factor; entity.motionY += (player.posY - entity.posY) * factor; entity.motionZ += (player.posZ - entity.posZ) * factor;
  8. Once you have found a way to get the item entities, you can set their velocity so they fly toward the player.
  9. I tried http://www.minecraftforge.net/forum/index.php?topic=6379.5 but there are 2 identical JRE paths in my Run configurations and neither of them works. Just remove the classpaths give me a java internal compiler error. I have also tried removing all classpaths and add libs manually, but that has the same effect as do nothing. I have also tried different forge versions, from 1.7.2 to 1.7.10. That didn't work either. Thanks
×
×
  • Create New...

Important Information

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