Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ArcaneFractal

Members
  • Joined

  • Last visited

  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. Try gradlew getAssets It worked for me.
  4. 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.
  5. Run gradlew setupDecompWorkspace again until you have solved the problem.
  6. Just delete that line in your obj file.
  7. That piece of code world.getBlockLightOpacity(z, y + 1, z) <= 2 shouldn't it be (x, y + 1, z) ?
  8. You should probably use the MathHelper class.
  9. You can save the cooldown in NBT data.
  10. 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;
  11. Once you have found a way to get the item entities, you can set their velocity so they fly toward the player.
  12. 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.