Everything posted by warjort
-
Forge 1.19.2 installing then popping up a error that i have not seen any other people talk about
Your link is broken. Instead of fixing it, post the log instead.
-
All the Mods 8 crashes randomly and won't load back up
You have an issue where the server has an item called "thermal:steel_block" but the client does not. Check you have the same versions of the thermal mod and the modpack in general on the client and server. Then contact the mod author or mod pack author.
-
How to apply enchantment to specific items only
EnchantmentCategory implements IExtensibleEnum Here's a simple example I found using a github search: https://github.com/search?q=EnchantmentCategory&type=code https://github.com/vemerion/Runeworld/blob/7865c63faf41e47885113f73ab125efdad4b0fa8/src/main/java/mod/vemerion/runeworld/enchantment/ModEnchantmentCategories.java
-
Getting a crash i've never seen before?
Issue with the obfuscate mod. Almost certainly because it is not a mod for 1.19.2 https://www.curseforge.com/minecraft/mc-mods/obfuscate
-
How to apply enchantment to specific items only
Normally you wouldn't override that method. You pick an EnchantmentCategory and that decides which items it applies to, see that class. You can use your IDE to search for vanilla enchantments that do override it. e.g. the DiggerEnchantment overrides it to also allow it to be applied to shears which isn't a DiggerItem
-
Please Help me
Looks like forge doesn't like the version format of the advancement trophies mod? Contact the mod author.
-
[SOLVED] DrawString method of GuiComponent abstract class
Just look at what AbstractContainerScreen.renderLabels() does. It draws the title and the "Inventory" text.
-
Please Help me
Your pastebin is private.
-
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 - [1.19.2] Adding custom attributes to vanilla entities?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.