public class ClientProxy extends ServerProxy
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.util.UUID> |
PATRONS |
GUI_BUG_CRATE, GUI_CLEANING_STATION_ID, GUI_CULTIVATOR_ID, GUI_DNA_COMBINATOR_HYBRIDIZER_ID, GUI_DNA_EXTRACTOR_ID, GUI_DNA_SEQUENCER_ID, GUI_DNA_SYNTHESIZER_ID, GUI_EMBRYO_CALCIFICATION_MACHINE_ID, GUI_EMBRYONIC_MACHINE_ID, GUI_FEEDER_ID, GUI_FOSSIL_GRINDER_ID, GUI_INCUBATOR_ID, GUI_SKELETON_ASSEMBLER| Constructor and Description |
|---|
ClientProxy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getClientGuiElement(int id,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z) |
net.minecraft.entity.player.EntityPlayer |
getPlayer() |
net.minecraft.entity.player.EntityPlayer |
getPlayerEntityFromContext(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
onInit(net.minecraftforge.fml.common.event.FMLInitializationEvent event) |
void |
onPostInit(net.minecraftforge.fml.common.event.FMLPostInitializationEvent event) |
void |
onPreInit(net.minecraftforge.fml.common.event.FMLPreInitializationEvent event) |
void |
openFieldGuide(DinosaurEntity entity,
DinosaurEntity.FieldGuideInfo fieldGuideInfo) |
void |
openJournal(JournalItem.JournalType type) |
void |
openOrderGui(DinosaurEntity entity) |
void |
openSelectDino(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
net.minecraft.util.EnumHand hand) |
static void |
playCarSound(CarEntity entity) |
static void |
spawnVenomParticles(VenomEntity entity) |
static void |
stopSound(net.minecraft.client.audio.ISound sound) |
getServerGuiElementpublic void onPreInit(net.minecraftforge.fml.common.event.FMLPreInitializationEvent event)
onPreInit in class ServerProxypublic void onInit(net.minecraftforge.fml.common.event.FMLInitializationEvent event)
onInit in class ServerProxypublic void onPostInit(net.minecraftforge.fml.common.event.FMLPostInitializationEvent event)
onPostInit in class ServerProxypublic net.minecraft.entity.player.EntityPlayer getPlayer()
getPlayer in class ServerProxypublic net.minecraft.entity.player.EntityPlayer getPlayerEntityFromContext(net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
getPlayerEntityFromContext in class ServerProxypublic java.lang.Object getClientGuiElement(int id,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z)
getClientGuiElement in interface net.minecraftforge.fml.common.network.IGuiHandlergetClientGuiElement in class ServerProxypublic void openSelectDino(net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing facing,
net.minecraft.util.EnumHand hand)
openSelectDino in class ServerProxypublic void openOrderGui(DinosaurEntity entity)
openOrderGui in class ServerProxypublic void openFieldGuide(DinosaurEntity entity, DinosaurEntity.FieldGuideInfo fieldGuideInfo)
openFieldGuide in class ServerProxypublic void openJournal(JournalItem.JournalType type)
openJournal in class ServerProxypublic static void playCarSound(CarEntity entity)
public static void stopSound(net.minecraft.client.audio.ISound sound)
public static void spawnVenomParticles(VenomEntity entity)