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.

ThexXTURBOXx

Members
  • Joined

  • Last visited

Everything posted by ThexXTURBOXx

  1. Sorry, that I make a second post for it... I have messaged the creators of Forge already on GitHub. I hope, that they (Well, fry is assigned to this issue) can solve the problem, I would like to be able to rotate the entity in the entity-class, too. But right now, as I said before, you need OpenGL-Rendering for this...
  2. Search before you start a new Thread ^^ http://www.minecraftforge.net/forum/index.php/topic,36246.msg190722.html#msg190722 The important part is in the Renderer-class the GL11.rotated(yaw, 0, 1, 0); You can look at my code, too: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/render/ReforgedRender.java You might want to add a modifier, like me, which rotates the entity in the right direction (As much as I know, it should only be 0, 90, 180 or 270). If you want, copy this little snippet of our code.
  3. OMG sorry -.- In the GL11.rotated(...) I set in the parameters x, y, z instead of 0, 1 and 0.... Sorry ^^
  4. Ok, I will try that ^^
  5. And could someone please explain me the difference between setPositionAndRotation and setLocationAndAngles? Both have the same paramters
  6. Well, tried that already, but the Javelin flies pretty crazy then. It rotates while flying then.
  7. I want the Entity to get rotated. It should get rotated when it is thrown so it looks in the same direction the player is looking. Right now it looks in the same direction everytime (I think it's north).
  8. Hello guys ^^ Maybe I am just silly, but I think, that setRotation(...) in Entity-classes doesnt't work... Is there a way to set the rotation of a EntityThrowable? Do I have to add something in the Model-class, Entity-class or Render-class? Here are those classes: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/entities/EntityJavelin.java https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/render/RenderJavelin.java https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/models/ModelJavelin.java I hope you can help ^^
  9. After searching in Google I found a method in Bukkit / Spigot and tried to reproduce that in Forge and IT WORKS! Here is my answer: if(entityHit instanceof EntityLivingBase) { EntityLivingBase en = (EntityLivingBase) entityHit; if(getThrowerASave() instanceof EntityPlayer) { en.attackEntityFrom(DamageSource.causePlayerDamage((EntityPlayer) getThrowerASave()), 0F); } else { en.attackEntityFrom(DamageSource.causeMobDamage(getThrowerASave()), 0F); } } I just do PlayerDamage or MobDamage, dependent of the Thrower, with an amount of 0. Full code in the 3 links above.
  10. I have had the same error, too. I fixed it like this: 1. Go to Drive:/Users/YourName/.gradle 2. Create a new file called "gradle.properties" 3. Write that in this file: org.gradle.jvmargs=-Xmx2G 4. Gradle will now fork a new JVM using Daemon. That's normal, but Gradle will now run with 2GB RAM. Hope this helps you! ^^
  11. I would not use Forge for 1.8.8. It's highly unstable. Try switching to 1.8.9. Once I wanted to update my mod to 1.8.8, but there were so many methods missing x_X
  12. Hello guys, I want to let mobs like pigs etc. panic after you attacked them. I mean the panic when you attack them with a vanilla sword. I have set up a custom DamageSource, which works. When you attack Zombie Pigmen with my EntityThrowable (which uses the DamageSource), they will revenge you. That works, too (but I have to set it in the Entity's class, maybe is there a method to set it for the DamageSource?). How can I let the mobs panic, do I have to execute the MobAIPanic-task? Please help me Here is my code: DamageSource: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/ReforgedRegistry.java#L92 EntityThrowable: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/entities/EntityBulletMusket.java Own "ReforgedThrowable"-class: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/entities/ReforgedThrowable.java Thanks for helping ^^
  13. Did it now Got it working YAY! Thank you!
  14. This is a very nice explaination. Thank you very much! ^^ I will try that out tomorrow! Cool man ^^
  15. Hello guys, I made a EntityThrowable, which gets rendered with a Techne/Tabula Model (this works). But I want it (when thrown) to get rotated in the direction the player is looking. Here are my classes (if you need to, look through the whole GitHub): Render-class: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/render/RenderBoomerang.java Model-class: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/models/ModelBoomerang.java Entity-class: https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/entities/EntityBoomerang.java
  16. Thank you all! Got it working ^^ [sOLVED]
  17. Ah there it is ^^ Ok, looked through the event-packages... I will try and tell you if it is working, thank you!
  18. Absolutely. What did you think the FMLPostInitializationEvent was Sorry, I am silly sometimes -.- But BTW I can't find an Event which has to do with the OreDictionary. I only find the OreGen-Event, but that's just before the world is shown. Are there any other methods?
  19. Maybe this helps you (bukkit programming, but you could adjust it): When you want to edit the banlist of a server you can't do BanList.pardon(); because it's not static. You have to do BanList.getBanList(Type.NAME).pardon(); Mabe in JourneyMap there is somethig like: WaypointManager.getWapoints().addWaypoint(...);
  20. Oh yeah... Could have thought of this I will try a combination of the event and this
  21. I know, but I saw a mod doing this ^^ Can Events be fired, when Minecraft is still loading?
  22. Type in those links in your browser: http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.1-SNAPSHOT/ForgeGradle-2.1-20160116.192356-17.jar http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8.9-11.15.0.1705/forge-1.8.9-11.15.0.1705.pom http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8.9-11.15.0.1705/forge-1.8.9-11.15.0.1705-userdev.jar P.S.: Before this: Try to setup your Workspace like this: 1) gradlew setupDecompWorkspace --refresh-dependencies 2) gradlew setupDevWorkspace --refresh-dependencies 3) gradlew eclipse OR gradlew idea (depending on your IDE)
  23. Hmmm. Downloaded the files myself... I don't have any similar error messages. Looks like it depends on your internet... I don't know to fix this exactly, but I could imagine this: Download the files yourself and put them in the desired folder (the links are in your log). Maybe your browser can download them "better"
  24. Try mcpbot, it will help you: http://export.mcpbot.bspk.rs/stable/
  25. I know the mod (I translated it to German), but I don't know exactly how this should work. I could imagine, that you need to get the class as a new Object and then you can access this object.

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.