Started by
JarikTSM
on
Topic category: Help with modding (Java Edition)
Im making an ICBM but i cant figgue out how to get the highest position in certain X,Z coordinates so the rocket doesnt just phase trough the ground if use XYZ.
Topic category: Help with modding (Java Edition)
Im making an ICBM but i cant figgue out how to get the highest position in certain X,Z coordinates so the rocket doesnt just phase trough the ground if use XYZ.
Use the 'world surface height' function. It returns the highest solid block when provided an x/z value.