mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-04 16:14:21 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#include "../../../../../../Minecraft.World/Header Files/stdafx.h"
|
||||
#include "TrapScreen.h"
|
||||
#include "../../player/LocalPlayer.h"
|
||||
#include "../../renderer/Textures.h"
|
||||
#include "../../../../../../Minecraft.World/net/minecraft/world/inventory/net.minecraft.world.inventory.h"
|
||||
#include "../../../../../../Minecraft.World/net/minecraft/world/level/tile/entity/DispenserTileEntity.h"
|
||||
#include "../../../../../../Minecraft.World/net/minecraft/world/net.minecraft.world.h"
|
||||
|
||||
#ifdef ENABLE_JAVA_GUIS
|
||||
ResourceLocation GUI_TRAP_LOCATION = ResourceLocation(TN_GUI_TRAP);
|
||||
#endif
|
||||
|
||||
TrapScreen::TrapScreen(std::shared_ptr<Inventory> inventory,
|
||||
std::shared_ptr<DispenserTileEntity> trap)
|
||||
: AbstractContainerScreen(new TrapMenu(inventory, trap)) {
|
||||
this->trap = trap;
|
||||
this->inventory = inventory;
|
||||
}
|
||||
|
||||
void TrapScreen::renderLabels() {
|
||||
font->draw(trap->getName(), 16 + 4 + 40, 2 + 2 + 2, 0x404040);
|
||||
font->draw(inventory->getName(), 8, imageHeight - 96 + 2, 0x404040);
|
||||
}
|
||||
|
||||
void TrapScreen::renderBg(float a) {
|
||||
// 4J Unused
|
||||
}
|
||||
Reference in New Issue
Block a user