Jump to content

DavidM

Members
  • Posts

    1830
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by DavidM

  1. Here. The values you pass into the clientProxy and serverProxy must be the path of your ClientProxy and ServerProxy.
  2. Wut? There is nothing wrong with your current event subscriber except that it also triggers on the client. Add a simple if check to fix the problem.
  3. @SamuelYaron @Don't ask it's 13 inches. Your problems are not related to the OP's problem. Please make your own threads. Optifine is not compatible with Forge in 1.14.3.
  4. Did you register your event bus subscriber?
  5. The physical size of the model is not relevant to its resolution.
  6. IIRC Minecraft comes with its own Java thingy. Having Minecraft installed does not mean you have Java on your machine. To check if you have Java installed, run java -version in the command line.
  7. Subscribe to the render GUI event thingy (GuiScreenEvent.InitGuiEvent or something similar) and render your menu there.
  8. "Oh I posted my problem and nobody replied me for an entire 2 seconds!!! I guess people here are not capable." That was a bit exaggerated but the point remains. People here don't spend their entire life on the forum. Most people took 2-4 days to reply. Don't call client-only code on the server. In this case, creating a separate and client-specific event subscriber bus will fix the problem.
  9. Actually, that depends on personal preference. There are no mandatory practice needed for stuff like where to put constants. In addition, preinit, init, and postinit are not necessary; there is no reason to add them unless you need them (which is not "when adding items and blocks").
  10. Please read the EAQ and post the appropriate log(s).
  11. Download and install Java.
  12. ImprovedMob is causing the crash. Remove it and report to its author.
  13. Adding @SideOnly will not fix your problem in this case. The @SideOnly annotation will not magically make the associated code specific to a side, but will cause a crash if the associated class is used on a side not specified in the parameters of the annotation.
  14. 1. People here help others in their free time; you are not entitled to any help. 2. Your code looks fine as far as I can tell, except the missing @Override annotations, making the code hard to read.
  15. What are you trying to achieve? Make the player unable to look around?
  16. Please post your logs according to the EAQ.
  17. No. We don’t care who you are or your personal information. We can’t hack into someone’s computer from a client log, nor do we want to spend the time finding out useless information about some random guy on the internet. Your logs help us narrow down the problem in order to help you; without your logs people cannot help you. Stab in the dark: I suspect the mod you got are mislabeled and are not made for your current Minecraft version.
  18. Depends on how much precision you need.
  19. I think OP meant to move stuff around in the inventory on the client-side. This is doable on the client-side. I would suggest checking out the Inventory Tweaks mod’s source.
  20. Please read the EAQ and post the appropriate log(s).
  21. Hmm for some reason I always thought frame buffer are solely used for GUI and screen rendering. Thanks for the clarification. I will look into it.
  22. Those mods are probably not for 1.13. Make sure you only get your mods from CurseForge, as repost sites will mislabel the version the mod is for.
  23. Please run the jar from the command line and post the output.
  24. You don't have an event subscriber for the registry events. Pretty sure you need a @SubscribeEvent here. Don't make your own setup system; it is pointless and unreadable. Keep things simple and use the event subscriber normally.
  25. Thanks. However, apart from the position calculation, I am also struggling on making the mirror block to display the reflection of the world. I had done something similar in my previous thread of the camera block with frame buffer in GUI; however, AFAIK frame buffers cannot be rendered with a TESR. How should I render the reflection in the world with a TESR?
×
×
  • Create New...

Important Information

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