Jump to content

BeardlessBrady

Members
  • Posts

    398
  • Joined

  • Last visited

Everything posted by BeardlessBrady

  1. I tried setting it to true, hasen't seemed to make a difference
  2. Slightly confused here. This is changed when the player right clicks the cart well on a horse, does that not effect both client and server? EDIT: So I tested to see if when there is an attached entity the isAttached method returns true. It returns true for both client and server so not sure whats causing the choppy movement
  3. Why won't it work on client?
  4. Oh its the same link as above, https://github.com/BeardlessBrady/Carts-Mod/blob/master/src/main/java/gunn/modcarts/mod/entity/EntityHorseCart.java#L61
  5. So I made it both sides but it still seems to be choppy. Its funny because I tried making the cart ride the horse and used the same calculated for its position and it was smooth. Any idea how 'riding' an entity would make it differ? https://gfycat.com/EachSingleIberianemeraldlizard
  6. For some reason when my cart is 'riding' the horse it only has a bounding box when it moves, when its stationary it has none. https://gfycat.com/RegularLinearDungenesscrab https://github.com/BeardlessBrady/Carts-Mod/blob/master/src/main/java/gunn/modcarts/mod/entity/EntityHorseCart.java
  7. Is there a way to change the passengers position on a vanilla entity like if its mounted to a horse?
  8. Is there anyway to move where the entity 'sits' on the entity its riding, can you move the position?
  9. So I'm working on a horse cart that follows the horse as it moves (obviously) Although Im having alot of trouble on getting the movement smooth and correct. Here is where I handle the entity movement: https://github.com/BeardlessBrady/Carts-Mod/blob/master/src/main/java/gunn/modcarts/mod/entity/EntityHorseCart.java#L58 Representation of weirdness: https://gfycat.com/HighDeadGoral
  10. Well I was going to store it in the player but I plan on adding ComputerCraft integration so computers can make accounts so I figured it was the best. Anywho I just wanted to double check that packets was the way, thanks
  11. So what is the best way to sync server WorldSavedData to client?
  12. ...Omg...I derped lol, thanks for helping me find my mistake!
  13. So I tried making two different accounts and the array when I reload the world has a size of 2. But it isn't saving the information in the account correctly. All it outputs for both is " :0"
  14. In the Block Activated I would add a test account, run it, then comment it out. Then I would get the account and I could get it fine. Once I restart the world and try to get the account again it would be empty. The set Account statement I used is commented out here: https://github.com/BeardlessBrady/Currency-Mod/blob/master-1.11/src/main/java/gunn/modcurrency/mod/block/BlockATM.java#L70
  15. Nope. When I grab the SavedData it just gives me a fresh instance
  16. So I can grab the data but if I restart the world the data is reset. Am I not saving it correctly?
  17. Interesting, yes that has fixed the current issue. Thanks Choonster
×
×
  • Create New...

Important Information

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