Jump to content

Asweez

Forge Modder
  • Posts

    421
  • Joined

  • Last visited

Everything posted by Asweez

  1. What is ASM?
  2. How would I make a gravity system that the player can turn on and off? The gravity system includes walking on the roof, jumping on the roof, etc. You can't do this by just adding upwards velocity to the player, because then they don't run as fast or jump at all. Thanks in advance!
  3. I tried using that but I still can't flip the render there. I can't use gl and there's no method for it.
  4. What render class?
  5. I know how to flip the model but where do I do it?
  6. I've looked all over for this. How do I do it?
  7. Ok the player is now sinking about halfway into the water, but is moving a little faster. Any more solutions? if(world.getBlockState(player.getPosition().down()).getBlock() == Blocks.water){ if(!world.isRemote){ if(player.motionY < 0){ player.onGround = true; player.posY += -player.motionY; player.motionY = 0.09; player.fallDistance = 0; ((EntityPlayerMP)player ).playerNetServerHandler.sendPacket(new S12PacketEntityVelocity(player)); } } }
  8. So I made the player able to walk on water (Runs every tick) if(world.getBlockState(player.getPosition().down()).getBlock() == Blocks.water){ if(player.motionY < 0){ player.posY += -player.motionY; player.motionY = 0.09; player.fallDistance = 0; ((EntityPlayerMP)player ).playerNetServerHandler.sendPacket(new S12PacketEntityVelocity(player)); } } But the player is very slow and can't jump. How do I fix this?
  9. How would I make a graphic for it?
  10. Well I want it to surround and follow the player. It would be too inefficient for blocks to do that
  11. How would I make a force field that can block entities from passing through? I don't even know where to start
  12. Wow I'm stupid thanks
  13. Please help
  14. My Entity is sinking into the ground about halfway. I also can't collide with it (i.e. push it). It seems like the bounding box is shrunken even though the setSize is big. Entity: Please help!
  15. I'm confused as to a) where do I retrieve the correct models based on nbt? B) how do I make my own bakedmodels for the different nbt values? C) do I use lista.addAll(listb) to combine lists?
  16. Anyone?
  17. How would I know which models to put in the constructor if I can't get nbt in the event handler?
  18. Anyone know?
  19. Ok I can't figure it out. Here's my code. Smart Model: Client Proxy: Model Classes (Blade for example): ModelBakeHandler:
  20. How did you do that? I've been looking for forever and experimenting and I can't find anything
  21. I have an item with nbt and multiple render passes. Basically there are parts of the sword that can be randomized. Each part has a different texture. I want the sword to render all the correct textures based on its parts (which are stored in the NBT). How do I do that with the new 1.8 rendering system?
  22. log: edited the original json (at the beginning of the post) to match my current one
  23. Nope. It's still a purple and black box.
  24. Hmm well ill change the texture thing but that doesn't fix the model does it? And yes I'm doing testing
×
×
  • Create New...

Important Information

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