mirror of
https://github.com/squeek502/Squake.git
synced 2025-09-24 03:30:55 -04:00
20 lines
415 B
Java
20 lines
415 B
Java
package squeek.quakemovement.mixin;
|
|
|
|
import net.minecraft.entity.LivingEntity;
|
|
import org.spongepowered.asm.mixin.Mixin;
|
|
import org.spongepowered.asm.mixin.Shadow;
|
|
import squeek.quakemovement.QuakeClientPlayer;
|
|
|
|
@Mixin(LivingEntity.class)
|
|
public class LivingEntityMixin implements QuakeClientPlayer.IsJumpingGetter
|
|
{
|
|
@Shadow
|
|
boolean jumping;
|
|
|
|
@Override
|
|
public boolean isJumping()
|
|
{
|
|
return this.jumping;
|
|
}
|
|
}
|