2018-04-24 14:55:32 +02:00
|
|
|
package com.minelittlepony.ducks;
|
|
|
|
|
2018-04-26 15:56:36 +02:00
|
|
|
import net.minecraft.client.network.NetworkPlayerInfo;
|
2018-04-24 14:55:32 +02:00
|
|
|
|
|
|
|
public interface IPlayerInfo {
|
2018-04-25 21:29:49 +02:00
|
|
|
/**
|
|
|
|
* Returns true if the vanilla skin (the one returned by NetworkPlayerInfo.getSkinLocation) uses the ALEX model type.
|
|
|
|
*/
|
2018-04-24 14:55:32 +02:00
|
|
|
boolean usesSlimArms();
|
|
|
|
|
2018-05-01 12:38:13 +02:00
|
|
|
/**
|
|
|
|
* Quick cast back to the original type.
|
|
|
|
*/
|
2018-04-26 15:56:36 +02:00
|
|
|
default NetworkPlayerInfo unwrap() {
|
|
|
|
return (NetworkPlayerInfo)this;
|
|
|
|
}
|
2018-04-24 14:55:32 +02:00
|
|
|
}
|