Super(new ContainerEnergyAccumulator(player, tileEntity)) Public GuiEnergyAccumulator(InventoryPlayer player, TileEntityEnergyAccumulator tileEntity) Private final TileEntityEnergyAccumulator tileEntity Private static final ResourceLocation GUI_TEXTURE = new ResourceLocation(Reference.MOD_ID + ":textures/gui/energy_accumulator.png") Public class GuiEnergyAccumulator extends GuiContainer Return ":textures/gui/buttons/active_deactive_button_disabled.png" Return ":textures/gui/buttons/active_deactive_redstone_off.png" Return ":textures/gui/buttons/active_deactive_redstone_on.png" Return ":textures/gui/buttons/active_deactive_redstone_disabled.png" Private static String GetTextureLocationOnState(int i) Super(buttonID, xPos, yPos, width, height, xTexStart, yTexStart, yDiffText, TEXTURE) Public ActiveDeactiveButton(int buttonID, int xPos, int yPos, int width, int height, int xTexStart, int yTexStart, int yDiffText, int state) Private static final ResourceLocation TEXTURE = new ResourceLocation(Reference.MOD_ID + GetTextureLocationOnState(state)) Public class ActiveDeactiveButton extends GuiButtonImage
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |