waves G-K: retype/casts/foreach/int-bool, nb+Cif enums, kotlin.Pair shim
This commit is contained in:
parent
e11e749e4b
commit
dbb0fc0607
102 changed files with 1194 additions and 376 deletions
|
|
@ -13,7 +13,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
|||
public abstract class ag {
|
||||
@Inject(method = "raycastHitResult(FLnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/phys/HitResult;", at = @At("HEAD"), cancellable = true)
|
||||
private void evo$frameAccurateRaycast(float partialTicks, Entity cameraEntity, CallbackInfoReturnable<HitResult> callback) {
|
||||
HitResult hitResult = tf.INSTANCE.raycast((LocalPlayer)this, cameraEntity, partialTicks);
|
||||
HitResult hitResult = tf.INSTANCE.raycast((LocalPlayer)(Object)this, cameraEntity, partialTicks);
|
||||
if (hitResult != null) {
|
||||
callback.setReturnValue(hitResult);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue