TIS-3D

TIS-3D

981k Downloads

Why custom raycast when it is allready implemented in mc

walksanatora opened this issue ยท 3 comments

commented

Yes another question while fixing ValkrienSkies conpat (as my sanity dwindles yet more)

commented

Presumably because this didn't exist back when it was originally implemented (at least not in the way it was needed). A PR to switch to the built-in logic while preserving current behavior is welcome!

commented

huh i have a mixin just for this (i converted your raycast to a mixin for VS2 so that Infared Packets could work on ships)

commented

all i had to do was create a custom ClipContext and overrde getBlockShape
what i ended up doing was getting a Boolean AND of the block collision + Visual shape