warjort
Members-
Posts
5420 -
Joined
-
Last visited
-
Days Won
175
Everything posted by warjort
-
The handshake failed due to an unexpected packet format???
warjort replied to lordie7's topic in Support & Bug Reports
Your question contains no useful information, not even the name of the mod pack. But this support forum is for forge. Curseforge help can be found here: https://support.curseforge.com/en/support/home -
You are using that event in the wrong way and you are only doing things on the client side which means nothing gets persisted or seen by other players. You should be coding this in your useOn() method for your item like the flint and steel and pay attention to the use of sidedSuccess() https://forge.gemwire.uk/wiki/Sides https://forge.gemwire.uk/wiki/Block_Interaction
-
https://support.curseforge.com/en/support/home
-
Use the correct version of optifine for the version of forge you are using.
-
I don't think you should be using arbitrary code in an event that is obviously a policy decision callback. i.e. It's not meant to have side-effects Look at the code that follows that event in ServerPlayer.startSleepingInBed() and see what code you will break by moving the player to a different dimension. e.g. updating the sleeping players in the wrong dimension A safer place to do that teleport code is in your own PlayerTickEvent handler. handleNetherPortal() which also calls Entity.changeDimension() is called from Entity.baseTick()
-
You can't re-register the Blocks.BEE_NEST or Blocks_BEEHIVE they are already registered in vanilla's PoiTypes class. And you don't need that reflection call - it was for 1.18.2 where it didn't do anything there either, just remove it.
-
Can't join my friends world on Modded Minecraft (1.19.2)
warjort replied to Apporu's topic in Support & Bug Reports
Don't paraphrase errors. Show the full error and debug.log -
methods in BaseEntityBlock are deprecated
warjort replied to YusufTheCoder's topic in Support & Bug Reports
A lot of the methods on Block(Behaviour) are marked as deprecated. I think this was done to by the Mojang developers to remind themselves that they shouldn't be called directly and instead the BlockState versions (which delegate to them) should be used. There is no problem with overriding the methods. -
Mods.toml file missing when joining modded server
warjort replied to ShadowSlash_'s topic in Support & Bug Reports
Don't paraphrase error messages, show the full debug.log -
You don't show the name/location of your json file. For 1.18.2 it should be something like: src/main/resources/data/yourmodid/tags/worldgen/configured_structure_feature/on_abandoned_bottling_plant.json I don't believe you need to create TagKey unless you want to reference it code?
- 1 reply
-
- 1
-
Custom book that can be enchanted with the enchanting table
warjort replied to allene50's topic in Modder Support
The book is hardcoded by Mojang. See for example EnchantmentHelper's use of ItemStack.is(Items.BOOK) i.e. the exact item not a subclass or copy. -
You still have the duplicate registration I linked to above. Let me copy it into the forums since you seem to be incapable of reading your own logs: And you also still have that reflection call to a method that doesn't exist that I told you about a week ago. https://forums.minecraftforge.net/topic/117192-poi-trouble/#comment-516418 I don't see the point to answering your questions if you just keep reposting the same errors without correcting them.
-
Detecting when players eat (cake) in general
warjort replied to Endercraft_O's topic in Modder Support
Why not VanillaGameEvent and GameEvent.EAT? -
You don't want to store data in your Block like that. The whole point of the BlockEntity is to store data. What you are missing is networking code to send the server's block entity state to the client. e.g. when the game reloads the data https://forge.gemwire.uk/wiki/Block_Entities https://forums.minecraftforge.net/topic/115679-1182-block-entity-renderer-disappears-after-leaving-the-world/#comment-511734
-
You should also check you have the latest versions of all your mods, since the problem may have already been fixed?
-
The error is usually caused by a mod with broken network serialization. Unfortunately, this error message does not include the name of the broken mod. The only way to find it is to check the issues (bug report) pages for the mods you have or experiment with removing mods.
-
Try the sticky post at the top of the forum: https://forums.minecraftforge.net/topic/89239-excessively-asked-questions-eaq/#comment-415820
-
It was added in 40.1.21 https://maven.minecraftforge.net/net/minecraftforge/forge/1.18.2-40.1.80/forge-1.18.2-40.1.80-changelog.txt
-
https://github.com/Tucky143/Buzz/blob/0898e1ae91d9df28fd74193113abd74bdab6efa7/run/logs/latest.log#L25 Your actual crash is different, something to do with a Bee that has a null attribute.