Everything posted by BeardlessBrady
-
[1.11] Smoothing Entity Movement
Any ideas?
-
[1.11] Smoothing Entity Movement
I tried setting it to true, hasen't seemed to make a difference
-
[1.11] Smoothing Entity Movement
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
-
[1.11] Smoothing Entity Movement
Why won't it work on client?
-
[1.11] Smoothing Entity Movement
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
-
[1.11] Smoothing Entity Movement
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
-
[1.11] Riding Entity's Position
Fixed it
-
[1.11] Riding Entity's Position
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
-
[1.11] Riding Entity's Position
Thanks again!
-
[1.11] Riding Entity's Position
Yes
-
[1.11] Riding Entity's Position
Is there a way to change the passengers position on a vanilla entity like if its mounted to a horse?
-
[1.11] Riding Entity's Position
Thanks!
-
[1.11] Riding Entity's Position
Is there anyway to move where the entity 'sits' on the entity its riding, can you move the position?
-
[1.11] Smoothing Entity Movement
Thanks
-
[1.11] Smoothing Entity Movement
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
-
[1.11.2]WorldSavedData issues
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
-
[1.11.2]WorldSavedData issues
So what is the best way to sync server WorldSavedData to client?
-
[1.11.2]WorldSavedData issues
...Omg...I derped lol, thanks for helping me find my mistake!
-
[1.11.2]WorldSavedData issues
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"
-
[1.11.2]WorldSavedData issues
Yes it's called
-
[1.11.2]WorldSavedData issues
Yes it is
-
[1.11.2]WorldSavedData issues
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
-
[1.11.2]WorldSavedData issues
Nope. When I grab the SavedData it just gives me a fresh instance
-
[1.11.2]WorldSavedData issues
So I can grab the data but if I restart the world the data is reset. Am I not saving it correctly?
-
[1.11.2]WorldSavedData issues
Interesting, yes that has fixed the current issue. Thanks Choonster
IPS spam blocked by CleanTalk.