Jump to content

eatthenight

Members
  • Posts

    43
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

eatthenight's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. 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/
  2. get the player look vec3? and then you can accelerate in that direction
  3. 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
  4. so i have a custom model made for me and somehow the texture is glitched when placed but not when the player holds the item block and i dont know what it could be cause this is my first time using custom block models. blockstate json file: model json file: any ideas?
  5. Minecraft.getMinecraft().player (dont know if this changed in 1.14 but probably not) this will always give you the client player
  6. 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.
  7. 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
  8. 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
  9. 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..
  10. @SideOnly(Side.CLIENT) also register your gui in your client proxy
  11. subscribe to the playertickevent check if the player is in water then add potion effect
  12. try EntityPlayer#isInsideOfMaterial and use Material.WATER as parameter thats the dirty way to do it but should work i think..
  13. you could check if the player is inside water i think there was a way to get if the player is underwater
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.