-
Posts
1830 -
Joined
-
Last visited
-
Days Won
13
Everything posted by DavidM
-
Please post your code.
-
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.
-
Blocks can have more than one render layer. Have you tried TheGreyGhost’s solution?
-
Using X-Ray Vision For Debugging Purposes
DavidM replied to TheThorneCorporation's topic in Modder Support
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. -
Can't Launch Minecraft 1.15.2 with Optifine in Eclipse
DavidM replied to Kevin Phung's topic in Modder Support
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. -
It is definitely possible, but I haven't seen any mod that does what OP suggested.
-
Clear gradle cache and try again.
-
[1.15.2] Issues when adding ItemStack to player inventory
DavidM replied to TowerMX's topic in Modder Support
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
DavidM replied to YaBoiChips's topic in Modder Support
You can use services like Pastebin. -
How to call a sound to be played when an item is held
DavidM replied to YaBoiChips's topic in Modder Support
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
DavidM replied to ConfusedMiner's topic in Support & Bug Reports
You should report this to the author of the mod. -
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
DavidM replied to AlierrisBrisingr's topic in Support & Bug Reports
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. -
You are also setting the block on both sides. Interactions like block placement should only happen on the server side.
-
Please post your code.
-
java.lang.NullPointerException: Rendering overlay
DavidM replied to AlierrisBrisingr's topic in Support & Bug Reports
Minecraft-France is a repost site. You should not download mods from it. Please check out https://stopmodreposts.org. -
What do you mean bye "gate"?
-
My Forge (1.15.2 - 31.0.14) Keeps Crashing
DavidM replied to GamerXxsidxX's topic in Support & Bug Reports
Please read the EAQ and post log. -
Please post the results from opening the file via the command line.
-
Install Java.
-
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
DavidM replied to Jesus Christ's topic in Support & Bug Reports
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. -
I don't think so. If I recall correctly installations like Java would need administrator. You should contact the administrator for your computer.