Everything posted by DavidM
-
FilenotFoundException after Refactoring Code
Here. The values you pass into the clientProxy and serverProxy must be the path of your ClientProxy and ServerProxy.
-
[1.12.2] World.setBlockToAir doesn't work
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.
-
1.14.3 Mods not loading
@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.
-
Config not saving changes
Did you register your event bus subscriber?
-
1.14.3 How do i shrink an entity to half size?
The physical size of the model is not relevant to its resolution.
-
Unable to open forge
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.
-
How Do I Print Some Info in the Baubles Gui
Subscribe to the render GUI event thingy (GuiScreenEvent.InitGuiEvent or something similar) and render your menu there.
-
Where Do I Register This Class
"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.
-
Eclipse Errors
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").
-
1.14.3 Mods not loading
Please read the EAQ and post the appropriate log(s).
-
Unable to open forge
Download and install Java.
-
update: my game now crashes as i have thought to fix my minecraft forge
ImprovedMob is causing the crash. Remove it and report to its author.
-
What became of @SideOnly for 1.14.3?
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.12.2] How do I make a entity when touching water stops.
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.
-
Shaky Camera Effect When Changing Rotation (1.12.2)
What are you trying to achieve? Make the player unable to look around?
-
1.14.3 mods install
Please post your logs according to the EAQ.
-
Mods Don’t Show [forge Problem?]
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.
-
Is it good practice to use float instead of double?
Depends on how much precision you need.
-
[1.13+] How to move item's slot at client side
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.
-
newest 1.13.2 not loading my mods?
Please read the EAQ and post the appropriate log(s).
-
[1.14.3] Creating a mirror
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.
-
newest 1.13.2 not loading my mods?
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.
-
1.14.3 not working
Please run the jar from the command line and post the output.
-
My things do not register. Some help?
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.
-
[1.14.3] Creating a mirror
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?
IPS spam blocked by CleanTalk.