@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.
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.
"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.
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").
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.
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.
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.
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.
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.
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?