Everything posted by Luis_ST
-
[Solved] java.lang.ExceptionInInitializerError
create your own thread, this thread is ancient and post debug log
-
I would like help to create an item that allows me to break a block.
this is done via a LootTable, you can take a look at the vanilla ones for an example use BiomeLoadingEvemt please do not share code as an image, use the code feature of the Forum or a paste website or in best case a link to the file at github I would also recommend you to update to 1.18.2 or 1.19, since 1.16.5 will no longer be supported in a few days/weeks
-
How do i get the block im looking at?
use 0 if you want the current look position
-
Crash when waterlogging block with dispenser.
Problem with UtilitiX. Make sure you are using the latest version. If the Mod is already up to date, report this bug to the Mod author.
-
I need help with my biome creation.
the Screen is shown by default, you can not remove them let the game crash and post log
-
Can't use runClient: FMLClientLaunchHandler has been compiled by a more recent version of the Java Runtime
Minecraft 1.19 requires java 17
-
World join leads to crash
Remove Sodium and do not use any magic performance Mod
-
I get "Exit Code: -1" when trying to launch my modpack
use more more memory to run the game
-
How do i get the block im looking at?
Entity#pick, the first parameter is the distance, the second the lerp value, the third if you want to pick fluids
-
[1.18.2] How to get the server address of the server the player is connected to?
you can get it from the Connection via #getRemoteAddress it is a SocketAddress, but if remember correctly this should be a instance of InetSocketAddress so you can cast it a then you be able the get the server host and the port Minecraft#getSingleplayerServer does not return null in this case
-
How to change the eating speed of food (1.16.5)
if it's your Item you can override #getUseDuration in your Item class
-
Mods in mods folder but not in minecraft
you need to post it here or you can use a past side like https://gist.github.com/ the debug log is in the logs folder of your game directory
-
How do I spawn a creeper next to me as soon as the game starts?
you need to create a new instance of the Entity class (in your case Creeper), then use Level#addFreshEntity to add the Entity to the World, before you add the Entity to the World you can modify it in the way you want
-
Running commands on a keypress (1.18.2)
you can use ServerPlayer#createCommandSourceStack
-
[1.19] BiomeLoadingEvent cannot be resolved to a type
https://forge.gemwire.uk/wiki/Biome_Modifiers
-
I get "Exit Code: -1" when trying to launch my modpack
the game crash since it does not have enough memory (RAM)
- Mods Crashing
-
all my vesions of forge aren't working help
post log
- DCEVM Forge MC 1.18
-
Problems with creating a server
the server should be start via a .bat/.sh file
-
can't install forge
post installer log
-
I'm having truble with my mod runClient.
update Forge to the latest version
-
I need help with my biome creation.
you need to create the Biome via json, you can read more about it here https://minecraft.fandom.com/wiki/Biome/JSON_format unfortunately there is no official DataProvider for Biomes, but you can use take a look at this code it's a simple DataProvider implementation for Biomes
-
[1.18.2] Multiple registries of same type
over read the question ๐ the only thing you need to mention is that you should not put the DeferredRegister and the RegistryObjects in separate Classes. This means you need to use a new DeferredRegister for each class, if you use sub-classes you can ignore this. If you use one or more DeferredRegisters for Registry should not matter. But um not 100% sure about that.
-
[1.18.2] Multiple registries of same type
There is no official way from Forge, you can use the way you prefer. One Class and separate the types with a new line, a global Block class with sub-classes for each type or separate Classes as you already use it
IPS spam blocked by CleanTalk.