Everything posted by warjort
-
1.19.2 Server On Ubuntu 22.04 But Wont Load Mods
There is no error in the log.
-
ayuda me dan esos errores al inicar mi server y no me deja entrar
One of your mods is trying to load client classes on the server. Impossible to say which with so little information shown.
-
Just need help identifying what's causing me to crash when generating a world
You truncated the crash report. There is no error shown. But I can tell you are using the wrong version of optifine for forge 40.1.80
-
Minecraft custom Totem's Animation not functioning
And what about your debugging I suggested you do? This works fine for me. I get a spinning diamond when I jump. @Mod.EventBusSubscriber(modid = MOD_ID, value=Dist.CLIENT) public class Test { @SubscribeEvent public static void livingJump(LivingJumpEvent event) { var entity = event.getEntity(); if (entity instanceof LocalPlayer) { Minecraft.getInstance().gameRenderer.displayItemActivation(new ItemStack(Items.DIAMOND, 1)); } } }
-
Mod loading fails with java.lang.StringIndexOutOfBoundsException
I suggest, you download the mdk and modify that. https://docs.minecraftforge.net/en/latest/gettingstarted/ It's almost like you are deliberately trying to make your mod have every possible misconfiguration/error. While at the same time forcing us to continually ask for information rather than you posting the relevant files you have changed. And you must have seen the footnote to my posts multiple times now. Most likely this problem is caused by you not specifying your minecraft dependency or run configuration properly in the build.gradle or the mods.toml? Or you changed something important and didn't regenerate your ide run configurations. But I can only guess with you drip feeding information.
-
Mod loading fails with java.lang.StringIndexOutOfBoundsException
Looks like your class is not in a package? For some reason Forge doesn't like mod classes in the root package.
-
add custom data into chunk file
You can attach a capability to a LevelChunk. See Data Storage here: https://forge.gemwire.uk/wiki/Main_Page
-
Mod loading fails with java.lang.StringIndexOutOfBoundsException
Nope. It doesn't even show the StringIndexOutOfBoundException you partially quoted earlier.
-
1.18.2 Forge server
Mixin doesn't like you using java 19. Use java 17
-
Mod loading fails with java.lang.StringIndexOutOfBoundsException
Why don't you show the full error message? One obvious thing is you can't have uppercase characters in block names or any ResourceLocation. But AFAIK you don't get that error message for this.
-
1.18.2 Forge server
Remove rubidium, oculus and other broken client side only mods from the server. You don't need them there.
-
[1.18.2] Make hostile entities can't target player
ok, you are using 1.18 which doesn't have that event. So you will need to setTarget(null) manually.
-
[1.18.2] Make hostile entities can't target player
You tried something different. It is LivingChangeTargetEvent which is cancellable. You should learn to do your own research/debugging instead of asking us to fix every little problem you come across.
-
Rendering issue?
https://github.com/sp614x/optifine/issues/7103
-
[1.18.2] Make hostile entities can't target player
LivingEntityChangeTargetEvent
-
[1.18.2] Config files being ignored
FMLCommonSetupEvent or FMLClientSetupEvent runs after the config loading (I assume you are not using server configs which are loaded with the world) . See: https://forge.gemwire.uk/wiki/Stages_of_Modloading You should read that wiki in general.
-
Error: java.lang.NullPointerException: Cannot invoke "it.unimi.dsi.fastutil.ints.IntArrayList.getInt(int)"
Looks like one of your mods is messing around with the block break progress and has broken it. That is where this error is occurring. I have highlighted the mods that have changed the affected class. But this could be any of your mods. Check you have the latest version of your mods and see if one of them has this already reported as a bug. Otherwise, you will have to experiment with removing mods until you find the problem one. (Backup your world before doing this). Start with mods that modify block breaking, e.g. I can see you have multimine and reap.
-
Minecraft custom Totem's Animation not functioning
That looks like you are calling this from a command? Unless you have specifically implemented this as a client command, that is wrong. Commands run on the server so you can't do anything with rendering directly. You need a network packet to tell the client to do something for you. But assuming you are trying this in single player, you should check what ItemStack is actually being used by your code and if it is even being called.
-
1.18 Increase entity's speed and attack damage with an mob effect?
Your question is unclear. You don't say what problem you are having. If you want to know how to apply an effect to an entity look at WitherSkeleton.doHurtTarget() as an example.
-
Get a list of all items including modded items
ForgeRegistries.ITEMS.getValues()
-
Help required with getShapeForEachState() [1.19.2]
Just use an ide. ForgeGradle creates a decompiled/deobfuscated version of the minecraft source.
-
Help required with getShapeForEachState() [1.19.2]
Your question is too unfocused and is not really a support question. It's a please teach me question. Here's some pointers: On the getShapeForEachState(), look at how vanilla uses it, e.g. BigDripleafBlock For the "double" block entity, the example from vanilla I can think of is the double chest that animates the chest opening for "2 blocks". See ChestRenderer. If you have specific problems feel free to ask, but "please write my mod for me" type questions like your original post will probably just get ignored. Especially so if they are please teach me how to do complicated rendering/animations. ๐
-
crash code:-1
You have the wrong versions of forge, flywheel and sophistacatedcore for some of your installed mods. For example, create requires at least forge 40.1.60: https://github.com/Creators-of-Create/Create/blob/1f06034b47d6aabd86196e3673e6fafba9262a36/src/main/resources/META-INF/mods.toml#L22 Check you have the latest versions of your mods and forge. Also create had a major rewrite about a month or so ago. If you have create addon mods whose latest release is before then, they probably won't work.
-
My mod doesn't build propperly
Then you did it wrong. Double check you did each step correctly. Otherwise, your question is unanswerable. We have no idea what you did/did not do correctly or what error you are getting. You don't show any useful information. We have no psychic powers. "It does not work" style posts are a waste of your time and ours.
-
My mod doesn't build propperly
https://docs.minecraftforge.net/en/latest/gettingstarted/
IPS spam blocked by CleanTalk.