mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-27 14:57:58 +01:00
17 lines
435 B
Java
17 lines
435 B
Java
|
package com.minelittlepony.ducks;
|
||
|
|
||
|
import com.minelittlepony.Pony;
|
||
|
|
||
|
import net.minecraft.client.Minecraft;
|
||
|
import net.minecraft.client.entity.AbstractClientPlayer;
|
||
|
|
||
|
public interface IPlayerInfo {
|
||
|
Pony getPony();
|
||
|
|
||
|
boolean usesSlimArms();
|
||
|
|
||
|
public static IPlayerInfo getPlayerInfo(AbstractClientPlayer player) {
|
||
|
return (IPlayerInfo)Minecraft.getMinecraft().getConnection().getPlayerInfo(player.getUniqueID());
|
||
|
}
|
||
|
}
|