Examples of DrawGameScreen


Examples of micdoodle8.mods.galacticraft.core.client.gui.screen.DrawGameScreen

  public void validate()
  {
        super.validate();
    if (FMLCommonHandler.instance().getEffectiveSide().isClient())
    {
      this.screen = new DrawGameScreen(1.0F, 1.0F, this);
      GalacticraftCore.packetPipeline.sendToServer(new PacketSimple(EnumSimplePacket.S_UPDATE_VIEWSCREEN_REQUEST, new Object[] { this.worldObj.provider.dimensionId, this.xCoord, this.yCoord, this.zCoord} ));
    }
  }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.client.gui.screen.DrawGameScreen

      if (existingScreen)
      {
        return this.checkWholeScreen(barrierUp, barrierDown, barrierLeft, barrierRight);
      }
     
    DrawGameScreen newScreen = null;
    boolean serverside = true;
    TileEntity bottomLeft = vec.clone().modifyPositionFromSide(ForgeDirection.getOrientation(side), -left).modifyPositionFromSide(ForgeDirection.DOWN, down).getTileEntity(this.worldObj);
    if (FMLCommonHandler.instance().getEffectiveSide().isClient())
    {
      if (bottomLeft instanceof TileEntityScreen//It always will be if reached this far
      {
        newScreen = new DrawGameScreen(1.0F + left + right, 1.0F + up + down, bottomLeft);       
      }
      serverside = false;
    }
   
      Iterator<TileEntityScreen> it = screenList.iterator();
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.client.gui.screen.DrawGameScreen

     * Reset the screen to a 1x1 size, not part of a 'multi-screen'
     */
    public void resetToSingle()
    {
    if (FMLCommonHandler.instance().getEffectiveSide().isClient())
      this.screen = new DrawGameScreen(1.0F, 1.0F, this);
    this.screenOffsetx = 0;
    this.screenOffsetz = 0;      
      this.connectionsUp = 0;
      this.connectionsDown = 0;
      this.connectionsLeft = 0;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.