-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
How to Sync Player inventory with server in guiscreen
Animefan8888 replied to Zipree's topic in Modder Support
No don't ever trust the client. Instead when the button or whatever action is causing this to occur happens send a packet to the server to perform the logic and change the information there. -
Stackoverflow Exeption during Chunk Generating.
Animefan8888 replied to Schleim_time's topic in Modder Support
Here is an excerpt from on of Jabelar's Tutorials. -
You should know how to access this...it's basic Java.
-
Is the FACING field static? Is it private? Which FACING field are you using?
-
That's probably because the field doesn't exist in the class you are writing it in...
-
First make sure the block you are placing has the property you want(FACING). By using IBlockState#getPropertyKeys(). Then you need to get the value from I assume the TileEntity's IBlockState so use getBlockState().getValue inside the IBlockState#withProperty
-
Like this. You should be able to figure out how to fix that on your own.
-
You need to specify the entity that the model works on in your model file. IE SomeEntityModel<SomeEntity>
-
Try downloading it again/a different version. If the problem still exists then contact the mod author because it's ultimately on them unless you've opened the file and removed the assets.
-
Stackoverflow Exeption during Chunk Generating.
Animefan8888 replied to Schleim_time's topic in Modder Support
Neighbor block updates. When a block is placed next to an unloaded chunk it tries to give the block in the unloaded chunk an update causing the chunk to load. -
Game not launching in Eclipse? (1.14.4) (Solved)
Animefan8888 replied to A-Game's topic in Modder Support
One of your config files or your mods.toml file more likely is malformed/syntactically incorrect. -
Yes it is scanning, but it didn't find any files.
-
I don't think it has been re-implemented back into forge yet.
-
[1.14.4][SOLVED] request server side data for gui
Animefan8888 replied to andGarrett's topic in Modder Support
You wouldn't. I'm not sure what you mean. You have a packet that goes from server to client right? Then the packet is handled on the client and you can use Minecraft.getInstance().player -
[1.14.4] Changing a player's creature attributes
Animefan8888 replied to Seynox's topic in Modder Support
So yes. Use the LivingHurtEvent to change the damage and LivingHealEvent to change the Healing Potion effect. -
ContainerScreen and Container
-
That's not where I asked you to put it...
-
Does this get called try putting a println here. Also it's called preInitRegistries why is it in init? Secondly anything to do with rendering can't be done in the main mod class/common code use your ClientProxy.
-
I think I've figured out the general problem. The event they are using isn't fully implemented into forge. It doesn't seem to be called when the revengeTarget is set therefore it progresses into part of the zombie AI where the attackTarget is set, which then calls the event and sets both the attackTarget and revengeTarget to null, but then later on it is assumed the revengeTarget is not null on line 79 of HurtByTargetGoal (in 28.1.1). So technically it is both a Forge "bug"(until LivingSetAttackTarget is called when the revenge target is set) and a Lycanites Mobs bug, probably built for a pre 28.1.** version of forge where this was not a problem. Feel free to link this to on the issue you've created.
-
Do you ever call this method? And if you do where?