-
Content Count
43 -
Joined
-
Last visited
-
[1.14.4] ContainerGUI not syncing with Server
eatthenight replied to Tessa's topic in Modder Support
capabilities have to be synced too so no you must use packets and its not that difficult to be honest. https://mcforge.readthedocs.io/en/latest/networking/simpleimpl/ -
Itz_Yuseix started following eatthenight
-
I didnt made the model one of my modelers made it so i didnt know, anyway i overlooked this: Texture hxhmod:textures/block/joystation.png with size 676x676 will have visual artifacts at mip level 4, it can only support level 2. Please report to the mod author that the texture should be some multiple of 16x16. so it has to do with the size of the texture
-
eatthenight started following [1.12.2] load obj models (not for items/blocks)
-
[SOLVED] Mana game mechanic in 1.14.4 help
eatthenight replied to cinsiian's topic in Modder Support
Minecraft.getMinecraft().player (dont know if this changed in 1.14 but probably not) this will always give you the client player -
[1.12.2] load obj models (not for items/blocks)
eatthenight replied to eatthenight's topic in Modder Support
rendering the obj model as an entity would work too but i really dont know where to begin, so would be nice if someone can help me out. -
so i added a layer to the player and i want to render an obj model i made based on values in my player capability, how do i load obj models and render them? i read that you have to write your own parser but as i have no clue to how to do that are there any tutorials or maybe open source code i could use for reference? i dont know much about opengl rendering outside from basic minecraft stuff so this is difficult for me thanks
-
[1.12.2] modifying player stats (health) for capability
eatthenight posted a topic in Modder Support
so im currently workin on a rpg type level up system, that means the player will obviously be able to improve his attack defense and all that.. but now i was wondering cuz i want the player to have big numbers as health up to like 1000 or even more, should i directly modify the players entity attributes or what's yall suggestion? my idea was: saving custom health and maxHealth values (i think modifying the entity attributes only works up to some values) in my capability and every time the player gets hurt i would calculate the damage with using my stats values if the health of my own stored value drops below zero i would set the actual health value to zero and that would kill the player. would this be any good? what would be the best approach if i want the player to level his health? as like my abilities and all will do much damage (and i want the damage to be much higher as the vanilla) i was wondering what would be the "best" way to do this how would yall do this? thanks -
i answered his question how you load something on only one side. i know that registering the gui in the client proxy is enough. and well no you can set the side of the event too with SideOnly(Side.Client) so the event will only be called on the client side but you’re right registering in a client proxy would be the most convenient way probably..
-
@SideOnly(Side.CLIENT) also register your gui in your client proxy
-
subscribe to the playertickevent check if the player is in water then add potion effect
-
[SOLVED] Mana game mechanic in 1.14.4 help
eatthenight replied to cinsiian's topic in Modder Support
try EntityPlayer#isInsideOfMaterial and use Material.WATER as parameter thats the dirty way to do it but should work i think.. -
[SOLVED] Mana game mechanic in 1.14.4 help
eatthenight replied to cinsiian's topic in Modder Support
you could check if the player is inside water i think there was a way to get if the player is underwater -
[SOLVED] Mana game mechanic in 1.14.4 help
eatthenight replied to cinsiian's topic in Modder Support
show more of your code and dont cast to IMana -
[SOLVED] modelBiped arm rendered on wrong player [1.12.2]
eatthenight replied to eatthenight's topic in Modder Support
thanks fixed it!