Started by
Cmdr_Brandulf
on
Topic category: Help with Minecraft modding (Java Edition)
I've been trying to get my living entity to do an mlg water bucket jump, but it has not been placing/removing the water in the correct position, i assume it is a problem with the hitbox of the entity because whatever it breaks/places has been right next to it but not at its feet. but here is the code ive been using and then the problem:
sorry for the poor video quality.
thank you.
oh, also, what is the velocity measured in? like blocks per minute?
Edited by Cmdr_Brandulf on Wed, 05/05/2021 - 23:33
change "X" use "X-1"
thanks, but, i just tried that, now it wont place anything at all.
nvm. i was just having trouble with the velocity. any idea what unit of measure they use for that?
Can you tell me what version of mcreator and what version of game you are using?
keep in mind that the higher it falls, the faster it will fall
and you could exceed the verification tick.
in this one I almost did two checks, you can do more in case it falls from even higher.
I came up with another way to make these checks easier, but there are many possible cases where this method could still fail, for example (the entity is right on the edge of a block), (it could fail all the checks) (it is very complicated to work on uneven terrain).
if you don't want to complicate your life use something like this
it will generate blocks even in the air it reduces its acceleration I put -0.7, but you can color it -0.5 or -1, this would not fail like the previous method, but in mic aso I use -0.7 sometimes it can get hit but it will be minimal damage, it could make the entity resistant to fall damage
and the problem would be solved. The water would only be an "ornament":
1.16 game version mcreator version 2021.1
i will do something like this, thank you