public class EggHatcherProxy
extends java.lang.Object
EggHatcher implementation
 To change from the default WalkingEggHatcher implementation then use the setInstance(EggHatcher)
 method during initialization| Constructor and Description | 
|---|
EggHatcherProxy()  | 
| Modifier and Type | Method and Description | 
|---|---|
static int | 
getHatchBonus(PlayerPartyStorage party)
Gets the hatch bonus for the given party 
 | 
static void | 
setInstance(EggHatcher instance)
Sets the  
EggHatcher implementation used for logic | 
static void | 
tick(net.minecraft.entity.player.ServerPlayerEntity player,
    PlayerPartyStorage party)
Ticks the player's storage using the  
EggHatcher implementation's tick logic | 
public static void setInstance(EggHatcher instance)
EggHatcher implementation used for logicinstance - The new instancepublic static void tick(net.minecraft.entity.player.ServerPlayerEntity player,
                        PlayerPartyStorage party)
EggHatcher implementation's tick logicplayer - The player being tickedparty - The storage of the playerpublic static int getHatchBonus(PlayerPartyStorage party)
party - The party being checked