Everything posted by warjort
-
Game is crashing due to error code -1 and I cannot find out why.
Looks like you have an issue with one of the forge config files being corrupted/invalid. I think it is config/forge-common.toml but the error message does not actaully say which one. If you don't have a backup, you can delete it and it will be recreated with default values.
-
Check "is single player" and not run mod at all
@ModEventBusSubscriber only works with static methods. https://forge.gemwire.uk/wiki/Events (the very next entry on the wiki after the one I posted above). if you are using @OnlyIn you are doing it wrong.
-
java.lang.reflect.invocationTargetException : null issue with alexsmobs
If you know the problem mod, check you have the latest version then contact the mod author.
-
When i open any world it keeps loading on the "saving world" screen idk what to do [1.19.2/Modpack]
Then speak to the mod author.
-
When i open any world it keeps loading on the "saving world" screen idk what to do [1.19.2/Modpack]
Try the latest version of oculus.
-
Check "is single player" and not run mod at all
@Mod.EventBusSubscriber(modid = MODID, value = Dist.DEDICATED_SERVER) Or for more details: https://forge.gemwire.uk/wiki/Sides Please familiarise yourself with the whole wiki.
-
Custom mod pack crashing just before world gen
The file is for sophisticated core which is used by sophisticated backpacks. Maybe others? https://www.curseforge.com/minecraft/mc-mods/sophisticated-core/relations/dependents?filter-related-dependents=3
-
Custom mod pack crashing just before world gen
Could be a mod doing something weird (a bug) with its configuration file. Check you have the latest version then contact the mod author. Also in the past, errors like that file lock are sometimes misinterpreted by the java virtual machine. e.g. It could be an issue with the operating system permissions of the file stopping it opening the file. But java misreports the error as it being locked. Or it would probably be more accurate to say Windows is telling java the wrong error code? Try deleting the file. Minecraft/Forge will recreate it with default values.
-
Custom mod pack crashing just before world gen
Looks like something is locking that file. e.g. you are editing it, or an instance of minecraft is still running.
-
Get player's dimension
You can start a new thread If you know what you are doing. But Minecraft is not designed to be used concurrently, except in a very few specific places. There is only one main client and server thread.. If you start using datastructures that are not designed to be accessed concurrently you are at best going to see inconsistent data, at worst you will get exceptions (NPEs, ConcurrentModification on iterators, etc.) due to incorrect concurrent access. e.g. https://bugs.mojang.com/browse/MC-258939
-
Custom modpack crashing upon game launch
Issue with whatever mod provides that class. If you didn't truncate error messages, we could probably tell you the jar name of the mod that is causing the problem.
-
Get player's dimension
There hasn't been a numeric representation of dimensions since 1.12
-
Cave Biome Spawning On Surface 1.19.2
This is not the terrablender support forum.
-
Get player's dimension
This is like minecraft 101. player.level Or if you really want what mojang calls the dimension (its registry name) player.level.dimension() e.g. Level.OVERWORLD Also, * If you throw SQLException from that event it will crash the game * You should check event.haveTime() to see if the server is running slow before doing intense processing (like querying an SQL database) * There is event.getServer() in 1.19 * All TickEvents are called twice per tick. You need to check event.phase (start or end) to avoid doing it twice per tick
-
Spawning player clone 1.19.2
You need to know a lot more about how minecraft works to attempt what you are trying to do. Obvious errors in just one line code: You are adding a player to the client side in an event that happens on the server. You are doing it with an id that is already used. The entity on the client will be a "phantom" since it has no corresponding entity on the server. If it is not a real player you need to create a proper entity and use ServerLevel.addFreshEntity() on the server. i.e. the entity will be controlled by the server and not by some real person playing the game.
-
Crashed when I opened inventory
Issue with the professions mod. Check you have the latest version then contact the mod author.
-
[1.19.3] Item model mismatch between in-hand model and ground and item frame models
This is the third time you have posted this question. And all there times it boils down to. "I wrote some code and it doesn't work. You must have psychic powers and can tell me what is wrong with it, without seeing it". If you don't want to continue to be ignored, you need to show what you are doing (preferably on github so we can see everything in context and maybe try it for ourselves). Or else find somebody that does have psychic powers. 🙂 On the difference between the elytra and crossbow, look at the ItemProperties class. See how the CROSSBOW "charged" property requires the LivingEntity of the ItemProperyFunction to be non-null. i.e. the item must be in a LivingEntity's inventory to show as "charged". While the ELYTRA "broken" property doesn't reference the entity.
-
Game Crashes when I try to play on world
These are the forge support forums. Identifying which mod is causing the problem is as far as we go. For help with individual mods you need to contact the mod authors.
-
Game Crashes when I try to play on world
Issue with create, others have said it is a conflict with optifine.
-
Exception loading blockstate definition
People that; * post "it doesn't work" instead of showing the actual error. * don't include all the information https://github.com/RealYusufIsmail/Armour-and-Tools-Mod/blob/f8f865ef0c94cfe54d3847d398ee9f533cf94379/src/main/java/io/github/realyusufismail/armourandtoolsmod/core/init/BlockInit.java#L21 * spend less than 30 minutes trying to figure it out for themselves and instead expect others to do their work for them will usually just be ignored. I could try to guess what the problem is, but with such incomplete information I would likely be wrong, so I won't. I've answered a number of your problems recently and the last few were trivial typos in your code which tells me you are putting little effort into trying to debug it for yourself.
-
can't load into a world. it closes while "starting the world"
Issue with create when drawing a map item. Others have said it is a conflict with optifine.
-
Exit Code 1
There is no error in that log. If it is the full log, post a link to your launcher_log.txt before restarting the launcher. But the last thing in the log is Which would suggest that file is invalid/corrupted? Try deleting it and it should be recreated with default options.
-
[1.19] How to push minecraft and make it slow down smoothly
Do you know how to read java code? It's not difficult to find: AbstractMinecart.tick() -> moveAlongTrack() -> applyNaturalSlowdown()
-
Exception loading blockstate definition
i.e. your resource/datapack metadata You have a invalid space (%20) at the beginning of the file name. https://github.com/RealYusufIsmail/Armour-and-Tools-Mod/blob/changed_to_java/src/main/resources/ pack.mcmeta
-
Rendering overlay crash error
https://www.curseforge.com/minecraft/mc-mods/invmove/relations/dependencies You need to check the dependencies of the mods you download.