Yarn: HitResult -> ???

Created on 6 Dec 2018  路  1Comment  路  Source: FabricMC/yarn

I feel this should be changed from the Mojang name, as it is misleading when taking into consideration the hit type can be a MISS. A result of a hit that is a MISS makes no sense from a logical perspective. This class would be better just representing the data it contains, rather than what it tried to achieve.

A possible name could be RaytraceContext, but I'll leave this up for proper discussion.

discussion

Most helpful comment

I think the lack of a result with a hit attempt is a perfectly fine result.

>All comments

I think the lack of a result with a hit attempt is a perfectly fine result.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asiekierka picture asiekierka  路  4Comments

Sollace picture Sollace  路  5Comments

quat1024 picture quat1024  路  6Comments

ChloeDawn picture ChloeDawn  路  5Comments

Draylar picture Draylar  路  6Comments