Everything posted by warjort
-
[1.18.2] MultiPart Entitys hitboxes do not work
I know nothing about multipart entities, but your ParentEntityCopy.hurt() does nothing. Your part entity is just a basic entity that has no health attribute. Compare your code with DragonEntityPart.hurt() that forwards the damage to the parent which does have a health attribute.
-
Internal Exception: io.netty.handler.codec.DecoderException: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character
Optimisation mods like canary are usually a good bet. Although they might work fine by themselves, they cause all sort of conflicts with other mods because of changes they make to how minecraft works.
-
Internal Exception: io.netty.handler.codec.DecoderException: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character
One of your mods has broken networking. Neither the error you posted or the log says which one. Since you are adding mods, it is likely one of the mods you just added. You can try adding to the "additional arguments" in curseforge's minecraft settings. This will print the full error to the debug.log which might have more information? But usually errors at the protocol level like the one you have, don't show which mod is causing the problem.
-
LinkageError when trying to add capability to ItemStack
https://javadoc.scijava.org/Java6/java/lang/LinkageError.html The usual cause is you compiled over a different version and the api changed. But, you can also get this error when the same jar/version is loaded by different classloaders. This leads to 2 different classes even if they are the same bytecode.
-
[1.19.4] How to properly add a custom trimming material?
Looks like it is using the purple/black missingno texture (i.e. not found). I bet you have a warning in the log? I guess you need to configure the atlases to load your textures. https://github.com/misode/mcmeta/blob/assets/assets/minecraft/atlases/armor_trims.json https://github.com/misode/mcmeta/blob/assets/assets/minecraft/atlases/blocks.json I would recommend reading the release notes: https://www.minecraft.net/da-dk/article/minecraft-java-edition-1-19-4 to see how Mojang intend this to work. At least until they change it again for 1.20 ๐
-
[1.19.4] How to properly add a custom trimming material?
I know virually nothing about trim materials. But I do know; * They are 1.20 feature (experimental in 1.19.4) * Trim materials are in the datapack not the resource pack so they should be in data/ not assets/ https://github.com/misode/mcmeta/tree/data/data/minecraft/trim_material Also, if you just post snippets of code and error messages out of context like the above, you will likely just get ignored unless the error is immediately obvious. Post full logs and code on github so we can see everything in context.
-
Help with registering a block item
Here you register your items. https://github.com/elytraByte/Boulanger/blob/15054c1a152cc780467459ab57860602090684a2/src/main/java/org/l3e/Boulanger/Boulanger.java#L35 Where do you do the same thing for your blocks?
-
The game crashed whilst initializing game Error: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An un
It says it doesn't like that high resolution texture pack. Probably because of your monitor configuration or your graphics card doesn't support it? But, the texture pack it doesn't like is for 1.18.2 not 1.19.2 https://www.curseforge.com/minecraft/mc-mods/gaming-accesories-by-tiger/files
-
The game crashed whilst initializing game Error: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An un
Issue with the obfuscate mod. Check you have the latest version then contact the mod author.
-
[1.19.4] How to create custom anvil recipes?
Correct there are no recipes for the anvil. The logic is hardwired, see AnvilMenu.createResult() Forge does not have one. I guess you could try to implement this yourself? You would need a RecipeSerializer that lets you parse and load recipes for the Anvil using a new RecipeType. You would then check these recipes in the AnvilUpdateEvent using RecipeManager.getRecipeFor(). To get the recipe manager: player.level -> ServerLevel -> Server -> RecipeManager The devil is always in the detail. There is probably a reason why Mojang or Forge haven't already done this? ๐
-
I cant even run forge
There is no error in that log, post a link to your launcher_log.txt (directly after the crash). But given the last line in the log is: This is likely a hard crash in your graphics driver. Check you have the latest version.
-
My server crashes when someone joins and then creates and .mcc file at the entities folder [Forge 1.19.2 43.2.7]
Looks like something is breaking a mob ai by incorrectly modifying it in the wrong place. The likely candidate mods are the underlined ones above. Check you have the latest versions then contact the mod authors. If it is not these mods then probably the only way you are going to find the problem mod is to experiment with removing mods until the problem goes away. Backup your world(s) before removing mods.
-
Minecraft : The game crashed whilst initializing game Error: java.lang.VerifyError: Bad access to protected data in putfield
Check you have the latest version then contact the mod author.
-
Crash: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
For mixin errors, the mod(s) name are in the last "caused by" of the error. Assuming the mod author gave their mixin config and classes reasonable names. So a conflict between apothesis and unique enchantments in the above error.
-
1.19.3 How To Get View Matrix?
You use EntityRenderers/Layers. Registration: https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/client/event/EntityRenderersEvent.java#L52 For examples, look at vanilla code or other mods. Most use entity models rather than direct rendering. Things like Wurst (hacks) are not supported in this forum.
-
Add NBT data to an item just picked up in the ItemPickupEvent
The event.getStack() is just a copy of the items that were picked up so you can see how many were picked up (e.g. if the player didn't have room to pickup the whole stack). The real items will already be in the player's inventory at this point and might have been merged into another ItemStack of the same items. See ItemEntity.playerTouch() for the full logic.
-
1.19.3 How To Get View Matrix?
When you draw things in minecraft you do it in "world co-ordinates" not screen co-ordinates. Minecraft will later translate the finish image into screen co-ordinates. In a lot of cases you use "relative world co-ordinates" i.e. minecraft calls your rendering code with the PoseStack already translated to the block/entity co-ordinates. So you can just draw as though the block or entity was at 0, 0, 0 There are some specialist cases where you need to draw relative to the camera position (drawing custom block outlines is one IIRC?). But these are the exceptions. In those cases forge passes you the data you need: https://github.com/MinecraftForge/MinecraftForge/blob/b5655b0ddc93ee0c02c9ad1b3a9a4dbd9bd3c572/src/main/java/net/minecraftforge/client/event/RenderHighlightEvent.java#L60
-
Help with registering a block item
https://docs.minecraftforge.net/en/latest/legacy/porting/ Mojang changed how the creative mode tabs work in 1.19.3
-
trying to make a little pack and idk what to do
- WorldOpenFlows for invalid dist DEDICATED_SERVER
Use java 17, mixin does not support java 20- 1.18.2 crashing, error code 1
Probably the kotlin version you had was one of those mods not for forge 40.1.0?- 1.18.2 crashing, error code 1
You are missing "Kotlin for forge", see adorn's mod page: https://www.curseforge.com/minecraft/mc-mods/adorn-for-forge and You have a number of mods that want a different version of forge. You should try the latest version of forge for 1.18.2 e.g the latest version of create won't work with your forge (40.1.0), it wants 40.2.1 https://github.com/Creators-of-Create/Create/blob/c2977bbffff4c1b1b3cfb2311fdd42e51b05749c/gradle.properties#L11- Minecraft modded Error
That's the same error.- Minecraft modded Error
Check you have the latest version the contact the mod author.- 1.19.3 crashes on trying to generate a new world
Issue with the blue skies mod. Check you have the latest version then contact the mod author. - WorldOpenFlows for invalid dist DEDICATED_SERVER
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.