13
0
geforkt von Mirrors/Paper
Datei suchen
Spottedleaf 12321d761e Don't lookup fluid state when raytracing, skip air blocks
Just use the iblockdata already retrieved, removes a getType call.

Also save approx. 5% for the raytrace call, as most (expensive)
raytracing tends to go through air and returning early is an
easy win. The remaining problems with this function
are mostly with the block getting itself.
2020-08-28 12:33:47 -07:00
paper-server Don't lookup fluid state when raytracing, skip air blocks 2020-08-28 12:33:47 -07:00