Everything posted by warjort
-
Error when i launch a minecraft world
https://github.com/Asek3/Oculus/issues/257
-
Minecraft Forge 1.19 - 43.2.00 Bug
Issue with the infernal expansion mod. Probably because the version you have is not compatible with 1.19.2?
-
MC Forge 1.19.2 crash - org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error
Its a problem with oculus, contact the mod author.
-
minecraft 1.19.1 forge is crashing
You are missing the mrcrayfish framework mod.
-
Possibility to inline Codec?
Can you please stop posting snippets and show all the relevant code (preferably on github), so I don't have to guess what you are doing and waste my time like I did above. e.g. (and it is only one example) what does this do: Without seeing all the code, I can't tell why your xmap solution doesn't work, you don't show where/how it is referenced/used.
-
Minecraft crashes everytime i load or make a new game because of ars nouveau
Issue with oculus, contact the mod author.
-
Possibility to inline Codec?
I don't really follow what you are trying to do from that description. 🙂 But if you want to change the codec based on a "type" field, look at Codec.partialDispatch() or one of its simplified helpers that call it. The basic idea is you tell it the name of type field, and then some functions that tell it how to map type -> Codec<value> and value -> type Here's a "simple" example I knocked up. I obviously don't recommend using the class name in a real world example as the type discriminator. You can use any "primitive" type as the typeCodec, e.g. a ResourceLocation public class TypedCodecRegistry<TYPE, VALUE> { // The codec for the type field private final Codec<TYPE> typeCodec; // The mapping of value -> type private final Function<VALUE, TYPE> typeFunction; // type -> real codec private final Map<TYPE, Codec<? extends VALUE>> CODECS = new HashMap<>(); public TypedCodecRegistry(Codec<TYPE> typeCodec, Function<VALUE, TYPE> typeFunction) { this.typeCodec = typeCodec; this.typeFunction = typeFunction; } public Codec<VALUE> codec() { return this.typeCodec.partialDispatch( "type", // The name of the type field // given a value what is its type? value -> DataResult.success(this.typeFunction.apply(value)), // look up the codec for a type or its an error type -> Optional.ofNullable(this.CODECS.get(type)).map(DataResult::success).orElse(DataResult.error("Unknown type " + type))); } public void register(TYPE type, Codec<? extends VALUE> codec) { this.CODECS.put(type, codec); } public static void main(String[] args) { // type is the class's simple name var registry = new TypedCodecRegistry<>(Codec.STRING, value -> value.getClass().getSimpleName()); var codec = registry.codec(); registry.register(Integer.class.getSimpleName(), Codec.INT); registry.register(String.class.getSimpleName(), Codec.STRING); registry.register(ResourceLocation.class.getSimpleName(), ResourceLocation.CODEC); System.out.println(encode(codec, "hello world")); System.out.println(encode(codec, 42)); System.out.println(encode(codec, new ResourceLocation("minecraft:dirt"))); } public static String encode(Codec<Object> codec, Object value) { return codec.encodeStart(JsonOps.INSTANCE, value).getOrThrow(false, System.err::println).toString(); } } It outputs
-
Game crashes when creating/loading a world
I've never seen anything like that. I would suggest backing up your worlds and then doing a full clean reinstall. Something is obviously very broken, but trying to track it down with no information is going to be a lot slower.
-
Process 'command 'C:\Program Files\Eclipse Adoptium\jdk-17.0.3.7-hotspot\bin\java.exe'' finished with non-zero exit value 1
https://forums.minecraftforge.net/topic/119038-1192-failed-to-run-example-mod-on-fresh-setup/#comment-522788
-
Error on launching server forge 1.18.2
You have 5 mods that want a different version of forge. You have an issue with the t_and_t mod injecting a mixin that tries to load a class that doesn't exist. Contact the mod author.
-
Crash upon joining server.
This error means the server is trying to send block information to the client, but the client can't find the block. There are other errors before the one that causes the crash. Some have a different error that says the palette is the wrong length. I can see you don't have the correct/latest preview release of optifine so try that. Or try without optifine. Optifine and other "optimisation" mods are always a good candidate to remove when you get weird errors.
-
An Error in my Custom Pack not sure how to fix please help
Issue with oculus, contact the mod author.
-
Java GUI doesn't work at all and I found out because of Forge
Looks like there is something broken in your gui configuration? All I could find searching google is this old bug: https://www.rarst.net/software/cleartype-install4j-java-bug/ where an application had set the font size to an non-integer number. You would likely get more help contacting your java vendor.
-
Process 'command 'C:\Program Files\Eclipse Adoptium\jdk-17.0.3.7-hotspot\bin\java.exe'' finished with non-zero exit value 1
- [1.19.2] Adding custom attributes to vanilla entities?
EntityAttributeModificationEvent https://forge.gemwire.uk/wiki/Making_Entities#Entity_Attributes- Game crashes when creating/loading a world
Install the latest preview release of optifine for 1.18.2- help with this
Use java 17, mixin does not support java 19- Game crashes within 1 minute of loading into a world, Exit Code -1073740940
This is a crash in the java virtual machine, you need to report it to microsoft. Or you can try a different version of java, e.g. https://adoptium.net/ But it could be you just ran out of memory and java didn't handle it properly?- game crashes after like 30 second and i cant find the error code anywhere (Exit Code -1073740940)
You are more likely to be ignored or even warned/banned if you "necro post" (resurrect old threads).- Minecraft Server not working 1.19.2 forge
This is a duplicate post except now the chunk animator warnings are gone. You still have the unknown mod trying to load client side classes on the server in a mixin. You will have to check your mod's issues and mod pages on curseforge to see if they say they shouldn't be installed on the server. Otherwise you will have to experiment with removing mods until you find the mod that causes the problem. (Backup your world before removing mods).- game crashes after like 30 second and i cant find the error code anywhere (Exit Code -1073740940)
Don't hijack other people's threads. Start your own thread and as was said above, post the first 20 lines of the hs_err_pid so we can see the error.- Minecraft Server not working 1.19.2 forge
One of your mods is trying to load client side classes on the dedicated server. The error message doesn't say which one. There are previous warnings about ad astra and chunk animator trying to do this. You probably have a broken client side only mod that doesn't disable itself when on the server.- forge 43.2.0 crashes when trying to load the terrain of a server
1073740791 is a crash in native code. Post links your the crash report, logs/debug.log and launcher_log.txt to see if any of these give more information. Since you have AMD, this might be a possible fix: https://forums.minecraftforge.net/topic/119038-1192-failed-to-run-example-mod-on-fresh-setup/?do=findComment&comment=522788- Minecraft Server not working 1.19.2 forge
Issue with the afktimers mod. Check you have the latest version the contact the mod author.- game crashin when entering world
This is a crash in the jvm, you need to report it to microsoft. Or you can try a different version of java, e.g. https://adoptium.net/ But it could be you just ran out of memory and java didn't handle it properly? - [1.19.2] Adding custom attributes to vanilla entities?
Important Information
By using this site, you agree to our Terms of Use.