Everything posted by warjort
-
Send CraftingTableBlock Menu to client from server through a command
https://docs.minecraftforge.net/en/latest/gui/menus/#opening-a-menu
-
How replace vanilla content ?
The short answer is don't do that. It will just lead to major incompatibilities with other mods. You should create alternative content. If the end user or mod pack developer wants to use your new content, they can change the recipes or world generation to use your new blocks/items.
-
Stopping entity movement
https://github.com/MinecraftForge/EventBus/blob/84663719be842aedaddabf9cd8d46a2450959c9d/src/main/java/net/minecraftforge/eventbus/api/Event.java#L77
-
Key Press Detection while a Menu (like Inventory) is Open - 1.18.2
See the subclasses of ScreenEvent.KeyboardKeyEvent
-
1.19.2 Stumped on this error, java.lang.ClassNotFoundException: net.minecraftforge.event.entity.living.LivingChangeTargetEvent
I don't see any errors related to classloading other than the one from quark you posted before. Maybe try without opifine to see if that is causing the problem? Otherwise contact the quark mod author. They might be able to tell you what the problem is.
-
1.19.2 Stumped on this error, java.lang.ClassNotFoundException: net.minecraftforge.event.entity.living.LivingChangeTargetEvent
Post a link to your logs/debug.log so we can see which mod is breaking that class or one of its related classes.
-
[1.19.3] EntityJoinLevelEvent Clientside returns Air
I had a look at the 23w03a code and entity spawns packets ARE sent together in the new ClientboundBundlePacket. It's not clear to me whether it will help with that event, but it will mean any entity tick processing will see a consistent view of the entity in the future.
-
I don't know what mod(s) are the problem which causes the game to not launch properly.
https://forums.minecraftforge.net/topic/91712-supported-version-directory/
-
[1.19.3] EntityJoinLevelEvent Clientside returns Air
Your issue is not something I know a lot about, but I would guess your problem is related to how minecraft sends entity data to the client. If you look at ServerEntity.sendPairingData() it sends multiple network packets for each entity. Relevant to your use case are the first 2 packets: ClientboundAddEntityPacket ClientboundSetEntityDataPacket The first packet will lead to that event being called, but the itemstack inside an ItemEntity is sent in the 2nd packet. Until the 2nd packet arrives, the entity will have default values, in your case that is ItemStack.EMPTY (air) There is no guarantee when the 2nd packet will arrive. Interestingly, Mojang added a new feature to client bound network packets in the latest snapshot https://www.minecraft.net/en-us/article/minecraft-snapshot-23w03a I don't know whether they applied this new feature to entity spawns?
-
How to make custom RecipeBookType
https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/common/IExtensibleEnum.java RecipeBookType is an IExtensibleEnum
-
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
Issue with immersive portals, probably a conflict with another mod. Check you have the latest version then contact the mod author.
-
Unexpected error org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError
Issue with create, others have said it is a conflict with optifine. Something to do with drawing map items. Contact the mod authors.
-
Cant load into world, keeps crashing.
Conflict between apotheosis and uniquebase (unique enchantments). Check you have the latest versions then contact the mod authors.
-
MinecraftForge 1.19.3 Conditional Block Drop
There is a forge tag for netherite tools: https://forge.gemwire.uk/wiki/Tags#Blocks
-
Can't load my world bc of datapack
Issue with the drinkbeer mod. Check you have the latest version then contact the mod author.
-
1.19.2 BYG crashing at startup
The error you posted suggests there is an issue with the byg config file. Specifically for the "byg:mangrove_sapling" in "C:\Users\among\AppData\Roaming\.minecraft\config\byg\trades.json5" It's likely you have some configuration for a different version of minecraft or byg if you have been switching versions. You should ask the byg mod author how to fix it. Alternatively, you can try backing up the file and then deleting it. Usually if the file is missing, the mod will recreate it with default values.
-
Modpack forge server gives out errors (1.18.2)
You can try to capture a thread dump when it freezes to see if it identifies where the server is getting "stuck". You will need a copy of the java development kit to do it. https://www.baeldung.com/java-thread-dump#:~:text=jstack is a command-line,its output to a file.
-
Send CraftingTableBlock Menu to client from server through a command
By the way, it wouldn't suprise if doing things like that causes memory leaks and other issues in modern minecraft versions due to the way "intrinsic holders" work. You shouldn't be creating objects that are mean to go in registries unless you actually intend to register them.
-
Send CraftingTableBlock Menu to client from server through a command
The crafting table doesn't have an internal inventory. Instead the server keeps track of whether the block is still valid and returns the crafting inventory to the player when it is not. Unlike for example the furnace where the items are assigned to its internal inventory. That is why it is closing your screen,.The block does not exist at the position you specified. See for example: https://forums.minecraftforge.net/topic/114789-best-way-to-create-a-custom-crafting-table-in-119/?do=findComment&comment=508881
-
better minecraft server crashing
You need to post a link to the logs so we can see the error(s).
-
vanilla modding
https://forge.gemwire.uk/wiki/Sides#Writing_One-Sided_Mods Client mods can really only do "cosmetic" things. You can't create items on the client. Or more accurately you can, but they will be useless "ghost" items only known to that player.
-
Game crashes only in dev environment
Maybe this? https://forums.minecraftforge.net/topic/119038-1192-failed-to-run-example-mod-on-fresh-setup/#comment-522788 Otherwise contact AMD.
-
Crashing after pressing "play" in launcher - exit code 1
You will need to experiment with removing mods until the problem goes away. If you are building your own modpack, choosing a lot of mods of varying quality and expecting it work out of the box is not the way to do it. You should add mods in small related groups and test it. That way you will have a good idea which mod is causing problems.
-
Mod update process timing out on 1.18.2
java has a system property (jvm argument) -Djava.net.preferIPv4Stack=true But the real issue is likely in your operating system or router configuration? So you need to talk to whoever provides support for them.
-
Crashing after pressing "play" in launcher - exit code 1
Can you please stop posting logs in the forum. Use a file upload site. It is impossible to use search when there are multiple logs in a thread. You have another mod with invalid data. Again it does not say which mod. Where are you getting these mods from? You should use a proper mod download site.
IPS spam blocked by CleanTalk.