Jump to content

DavidM

Members
  • Posts

    1830
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by DavidM

  1. WorldEdit's problem. Remove it and report to its author.
  2. Do not follow Harry Talks tutorials; they are terrible in that they promotes bad coding practices and outdated/deprecated methods. Static initializers will cause problems, and you cannot control when they are initialized. Creating your own entity does not do anything in preventing your slingshot from using arrows. You should override ItemBow#isArrow and return true if the given ItemStack contains your arrow item.
  3. Creating custom launchers is not supported on this forum.
  4. This is why your raytrace does not return the position of the block. Get the player's looking direction and apply some trigonometry to extend the range in the direction of the retrace.
  5. The raytrace returns the position where the ray hits the block, not the position of the block.
  6. That is not the full log. Please post the full log.
  7. 1. Please post your code. 2. Where are you trying to call rayTrace?
  8. We can't help you since we didn't make that mod. Remove the mod and report to its author.
  9. Report to the author of the mod.
  10. You could just handle player hit event on the server side with spigot instead of going the long way of network from client to server. Clients can also lie.
  11. Do not use static initializers. Initialize and register your registries (in your case, the EntityTypes) in the according registry events.
  12. No you can't be. OP haven't post his/her log yet. Without it nothing can be for sure. @Duslar @xmlouis There is more than 99% chance you don't have the same error. Please make your own threads and post your log(s) according to the EAQ.
  13. You are still using Minecraft#getMinecraft on the client. Adding the @SideOnly will not make your code client-sided; specify the side of your event subscriber in your @EventBusSubscriber annotation.
  14. The LeftClickEmpty event is client-side only. Use packets to notify the server of the left click.
  15. Please post your installer log generated in the same directory as the installer.
  16. That's actually really useful. Thanks!
  17. Please post your code. There are many ways to draw circles in OpenGL. How are you drawing it? Damn. ???
  18. Remove Optifine then.
  19. OTGCore's problem. Try updating to the latest version of the mod. If that does not work, remove the mod and report to its author. You have VanillaFix installed, which is why the "reason of the crash" is reported on screen. Unfortunately, VanillaFix might not provide the accurate reason for the crash. It is better to rely the generated crash log.
  20. AFAIK there is no way. Getting the TPS on the client side is like getting a client’s FPS on the server side. Such information is not sent to each other, and therefore cannot be obtained with a client-side only mod.
  21. I've realized that the view limit inside a mirror is specific to the direction the player views the mirror. In other words, different players see the mirror at different direction, thus they should see different views in the mirror. Therefore, I'm wondering whether setting the renderViewEntity to an entity in the direction of the mirror would work, since different players see the mirror differently, and an entity can only return the same view. I think that I'm looking for a client-specific way to render the view of a remote position in a TESR without using an entity or the renderViewEntity. This brings my problem similar to one of my previous posts, but without using an entity this time: What would be a way to achieve this?
  22. Subscribe to RenderGameOverlayEvent and do your render there.
  23. Remove your mods one by one until you find the culprit, then add everything else back in.
  24. Optifine's problem.
×
×
  • Create New...

Important Information

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