Everything posted by DavidM
-
[1.15.2] Problems rendering a block
Please post your code.
-
How to change a method's behavior.
You can replace the registry value with your own implementation of UnbreakingEnchantment. Although depending on what you want to do, it might be better to listen for certain events (break block, etc) and check if the player has an unbreaking item in hand.
-
[1.15.2] Problems rendering a block
Blocks can have more than one render layer. Have you tried TheGreyGhost’s solution?
-
Using X-Ray Vision For Debugging Purposes
You would need to figure out a way to track all the blocks you want to find (i.e. record on generation, or iterate through the entire chunk when it is received by the client), and subscribe to RenderWorldLastEvent and draw wireframes around the blocks.
-
Error: Could not find or load main class net.minecraftforge.userdev.LaunchTesting
How much RAM do you have in your computer? 8G might be too much. 4-6G is enough.
-
Can't Launch Minecraft 1.15.2 with Optifine in Eclipse
Pre 14's changelog is no longer visible, so we cannot check on that. Try updating to pre 16, which is compatible with Forge 31.1.63. If that don't work then report to Optifine, since Forge has nothing to do with it.
-
Is this possible?
It is definitely possible, but I haven't seen any mod that does what OP suggested.
- Fun Fact
-
Gradlew eclipse error
Clear gradle cache and try again.
-
[1.15.2] Issues when adding ItemStack to player inventory
You cannot do that statically (well not exactly static, but the block is constructed way before the correct time to do this). The item isn't initialized at that time, and the object holder is still null. You probably don't want it to be singletons anyways. Create a new stack and give it to the player inside onBlockActivated. You are also adding to the player's inventory on both sides, while it should only be done on the server. Use World#isRemote (returns false on server and true on client) to check if you are on the server side.
-
How to call a sound to be played when an item is held
You can use services like Pastebin.
-
How to call a sound to be played when an item is held
1. Don't use @OnlyIn. 2. Please post the code properly. It is currently impossible to read. 3. You don't have a proper event subscriber. Please refer to the documentation page on event subscribing.
-
Vic's Modern Warfare Minor Texture Glitch
You should report this to the author of the mod.
-
Forge not opening
That would be opening the file directly. You were told to open the file from the command line. Please do that. Just in case you are unsure how to open via command line: https://stackoverflow.com/questions/5774970/run-jar-file-in-command-prompt
-
java.lang.NullPointerException: Rendering overlay
To conclude your issue: stop downloading from repost sites like Minecraft-France. Only download your mods from CurseForge or an official page. In this case, TrashSlot is causing the problem. Remove your copy of it and download the latest version from CurseForge.
-
How to place a block?
You are also setting the block on both sides. Interactions like block placement should only happen on the server side.
-
How to place a block?
Please post your code.
-
java.lang.NullPointerException: Rendering overlay
Minecraft-France is a repost site. You should not download mods from it. Please check out https://stopmodreposts.org.
-
Giving animals gates issues
What do you mean bye "gate"?
-
My Forge (1.15.2 - 31.0.14) Keeps Crashing
Please read the EAQ and post log.
-
Forge not opening
Please post the results from opening the file via the command line.
-
Having issues downloading Forge Client
Install Java.
-
Minecraft Restone Flux Crash
This crash have nothing to do with JVM arguments whatsoever. Please don't blindly follow these random "solutions to crash" on YouTube/Reddit/etc, as each crash has a specific cause, and blindly changing stuff might result in bigger problems. 1.12.2 is no longer supported on these forum due to its age. Please update to a modern version of Minecraft to receive support.
-
1.14.4 - Modded World won't load on Forge Server
I think OP is trying to quote something you said and reply to that, but accidentally replaced the quote instead of appending to the end of the post. I've seen quite a few people do that due to unfamiliarity with the forum software. @Jesus Christ Please be careful in the future, as misquoting someone can lead to serious confusion. In addition, debug.log include everything in other logs with an addition of messages logged at debug level. debug.log is the most optimal log to post when asking for help.
-
Client Jar file
I don't think so. If I recall correctly installations like Java would need administrator. You should contact the administrator for your computer.
IPS spam blocked by CleanTalk.