public interface IEntityPlayerConflict
Modifier and Type | Method and Description |
---|---|
double |
getHealth()
In
EntityLivingBase , this same method exists but returns a float. |
boolean |
isUsingItem()
This method conflicts with a method in the target class and has precisely the same signature, this is to demonstrate how we deal with a method
which would ordinarily fall foul of reobfuscation and thus break our (non-obfuscated) interface in a production environment
|
int |
norDoesThisOne()
Additional method with no conflicts
|
int |
thisMethodDoesNotConflict()
Additional method which doesn't conflict
|
double getHealth()
EntityLivingBase
, this same method exists but returns a float. Whilst java bytecode would actually allow both methods to exist, the
java compiler doesn't support this. This conflict is deliberately here to demostrate the use of the Implements
annotation in
MixinWorldProviderExample
boolean isUsingItem()
int thisMethodDoesNotConflict()
int norDoesThisOne()