-
Posts
1830 -
Joined
-
Last visited
-
Days Won
12
Everything posted by DavidM
-
Of course that does not work. There is no relations between options.txt and a world. Please post your debug.log.
-
Unfortunately it sounds like you were blindly following from one of the (rather terrible) tutorials on YouTube, and therefore do not understand how registering stuff actually works. A class per registry entry is not necessary. All you need is an instance of Block to register a type of block. In this case, you should instantiate an instance of SlabBlock per slab you want, and register these instances. I would also suggest reading the registry page on Forge's Documentation: https://mcforge.readthedocs.io/en/1.15.x/concepts/registries/
-
Install Java and launch the .jar file.
-
[1.15.2] Best way to store strings on the player object.
DavidM replied to ZeProfCoding's topic in Modder Support
Unless your mod is meant for a server with a large amount (say more than 500) of players, using capabilities is far superior than using a database. At a scale of normal modded Minecraft (which is normally less than 100 players), storing data on disk and retrieving it is way less impactful than setting up an entire database. Moreover, capabilities allows cross-mod integration, which is often times important if you want to use other mods. -
The only Discord I know is Forge's Discord server, which (I think) still only supports versions above 1.14. I don't use any other forum/social media for modding other than the Forge forum, so I have limited knowledge on the topic.
-
I do not know any that supports versions below 1.14.
-
On another forum that supports versions below 1.14. It is more advisable to update your targeted version to 1.14 or 1.15 though.
-
1.7.10 is no longer supported on these forums due to its age. Please update to a newer version of Minecraft (1.14 and above) to receive support.
-
That still would not affect creative tabs. However 1.12.2 is no longer supported on this forum. Please update to a newer version to receive support.
-
A GitHub repo would be the most optimal way.
-
Please post your code. Animating textures has nothing to do with creative tabs, and it is likely that you've messed up important parts of your mod.
-
You shouldn't be overriding them in this case. Check out ItemToolTipEvent. The enchantment part is a bit tricky, and unfortunately I do not know of an appropriate method of adding it.
-
What is the advantage of using DeferredRegisters ?
DavidM replied to QuantumSoul's topic in Modder Support
I thought the OP was comparing DeferredRegistry to RegistryEvent, and therefore assumed that static initialization is not involved (it is a programmer screw-up rather than a code-wise problem) -
What is the advantage of using DeferredRegisters ?
DavidM replied to QuantumSoul's topic in Modder Support
There isn’t really a program-wise advantage for using deferred registry (deferred registry still subscribes to the registry event); however, it is more convinient and simpler to use. -
The version of Minecraft. Versions below 1.14 are not supported.
-
Specific Minecraft World wont open and crashes
DavidM replied to xMeatySteakx's topic in Support & Bug Reports
Just realized that you are not experiencing a crash. Please post your debug.log. -
Specific Minecraft World wont open and crashes
DavidM replied to xMeatySteakx's topic in Support & Bug Reports
Try removing Optifine. I mistakened it as a crash. -
How to prevent player from sending a message from the client side
DavidM replied to saist's topic in Modder Support
ClientChatReceivedEvent is for receiving event, not sending. If you want to prevent a player from sending messages, you have to do it on the server side. Clients can always bypass restrictions on the client side. -
It is recommended to not follow such tutorials on YouTube, as their quality is subpar, as well as producing code that does not follow established conventions (including problematic code). It is not in the same class as the current one, so you need to reference the class first. This should be basic Java.
-
Forge 1.14.4 starts regular Minecraft instead of modded.
DavidM replied to TitanicJames's topic in Support & Bug Reports
How did you install Forge? How did you know that you are launching vanilla instead of Forge? Please post the debug.log. -
Please post the debug.log.
-
Delete your config folder and try again.
-
error el juego ha dejado de funcionar
DavidM replied to elkevin_master's topic in Support & Bug Reports
Please keep this forum in English. Try removing Optifine.- 1 reply
-
- 1
-
Xaero’s Minimap only allows OP to teleport. If you don’t give out OP then others cannot teleport.
- 1 reply
-
- 1
-
You really shouldn’t be changing stuff like that.