Run it
Copy the script and paste it into your executor.
()
Players = :()
RunService = :()
UIS = :()
GuiService = :()
ContextActionService = :()
Lighting = :()
lp = Players.LocalPlayer
camera = .CurrentCamera
camera
:():()
camera = .CurrentCamera
playerGui = lp:()
oldCameraMode = lp.CameraMode
oldCameraMinZoom = lp.CameraMinZoomDistance
oldCameraMaxZoom = lp.CameraMaxZoomDistance
F = {}
.__MCSteveStop (.__MCSteveStop)
conns = {}
F.track = (c) conns[#conns + ] = c c
BLOCK =
PX = BLOCK /
TICK = /
WALK_BLOCKS_PER_SECOND =
SPRINT_BLOCKS_PER_SECOND =
SNEAK_BLOCKS_PER_SECOND =
FLY_BLOCKS_PER_SECOND =
FLY_SPRINT_BLOCKS_PER_SECOND =
GROUND_SLIPPERINESS =
BODY_MOVE_TURN_RESPONSE =
BODY_TURN_RESPONSE =
BODY_TURN_DEADZONE = .()
MAX_HEAD_YAW = .()
IMG = {
inventory = {w=,h=,d=},
hotbar = {w=,h=,d=},
hotbar_sel = {w=,h=,d=},
xp_bg = {w=,h=,d=c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;2:28332d;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;1:141f19;1:29352f;1:202c25;5:19241e;1:202c25;1:29352f;2:09100c;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;2:202b25;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:141f19;1:36433c;1:2e3a33;5:29352f;1:2e3a33;1:36433c;1:09100c;1:-;180:09100c;1:-"},
crosshair = {w=15,h=15,d="52:-;1:ffffff;14:-;1:ffffff;14:-;1:ffffff;14:-;1:ffffff;10:-;9:ffffff;10:-;1:ffffff;14:-;1:ffffff;14:-;1:ffffff;14:-;1:ffffff;52:-"},
}
local ICON = {
stone = {w=16,h=16,d="7:-;1:7f7f7f;1:8f8f8f;12:-;2:7f7f7f;1:8f8f8f;1:686868;2:747474;8:-;1:7f7f7f;1:8f8f8f;1:686868;1:8f8f8f;1:7f7f7f;1:747474;1:7f7f7f;1:686868;1:7f7f7f;1:686868;4:-;1:8f8f8f;1:747474;4:7f7f7f;1:747474;1:8f8f8f;1:7f7f7f;1:8f8f8f;2:7f7f7f;1:686868;1:7f7f7f;1:-;1:727272;2:7f7f7f;1:747474;2:8f8f8f;1:686868;2:8f8f8f;5:747474;1:7f7f7f;1:4c4c4c;1:5c5c5c;1:656565;1:5c5c5c;1:747474;1:7f7f7f;1:747474;3:7f7f7f;1:8f8f8f;3:7f7f7f;2:454545;1:4c4c4c;1:656565;1:727272;1:5c5c5c;1:656565;1:535353;1:8f8f8f;1:7f7f7f;2:747474;1:7f7f7f;1:747474;3:4c4c4c;1:454545;1:4c4c4c;2:656565;1:5c5c5c;1:656565;1:5c5c5c;1:535353;1:656565;1:7f7f7f;1:8f8f8f;1:555555;1:4c4c4c;1:3e3e3e;2:555555;1:3e3e3e;1:4c4c4c;1:727272;1:535353;1:727272;1:656565;1:727272;2:656565;1:5c5c5c;1:4c4c4c;1:3e3e3e;1:555555;3:454545;1:4c4c4c;1:454545;3:656565;2:5c5c5c;1:535353;2:5c5c5c;1:4c4c4c;1:454545;1:4c4c4c;1:555555;2:4c4c4c;1:555555;1:454545;1:5c5c5c;1:656565;1:5c5c5c;2:727272;1:5c5c5c;1:656565;1:727272;2:555555;1:3e3e3e;1:555555;2:4c4c4c;1:555555;1:454545;2:5c5c5c;1:727272;2:656565;1:727272;2:656565;1:454545;2:4c4c4c;1:3e3e3e;1:4c4c4c;1:3e3e3e;1:454545;1:555555;1:-;2:656565;1:5c5c5c;2:656565;1:5c5c5c;1:656565;2:4c4c4c;1:555555;2:454545;1:4c4c4c;1:454545;4:-;1:5c5c5c;2:656565;1:5c5c5c;1:727272;1:4c4c4c;1:454545;2:4c4c4c;1:555555;8:-;1:656565;2:727272;1:555555;2:4c4c4c;12:-;1:656565;1:4c4c4c;7:-"},
dirt = {w=16,h=16,d="7:-;1:79553a;1:966c4a;12:-;2:79553a;1:b9855c;1:593d29;1:79553a;1:b9855c;8:-;2:79553a;1:b9855c;2:79553a;1:966c4a;4:79553a;4:-;1:79553a;1:593d29;1:79553a;1:b9855c;1:79553a;1:966c4a;1:79553a;1:b9855c;2:593d29;2:79553a;2:b9855c;1:-;1:78563b;2:b9855c;1:745844;1:966c4a;1:79553a;1:966c4a;1:79553a;2:966c4a;1:b9855c;1:79553a;2:966c4a;1:79553a;1:6f4f37;2:60442e;1:946a49;1:878787;1:593d29;2:79553a;1:966c4a;1:593d29;1:b9855c;1:79553a;2:966c4a;1:483322;1:5a402c;1:483322;3:60442e;1:473020;1:60442e;1:79553a;1:966c4a;4:79553a;1:5a402c;1:6f4f37;1:483322;1:6f4f37;1:483322;1:60442e;2:78563b;1:946a49;2:60442e;1:946a49;1:79553a;1:966c4a;1:483322;1:5a402c;1:483322;1:5a402c;1:404040;1:483322;1:5a402c;1:60442e;1:946a49;1:60442e;2:473020;1:78563b;2:473020;1:5a402c;2:352418;2:483322;1:6f4f37;2:483322;1:78563b;1:60442e;1:78563b;2:60442e;1:473020;1:78563b;1:60442e;1:404040;1:6f4f37;1:5a402c;1:6f4f37;1:352418;1:483322;1:6f4f37;1:483322;1:473020;1:78563b;2:60442e;3:78563b;1:946a49;1:352418;1:483322;1:5a402c;1:352418;1:483322;1:352418;1:5a402c;1:6f4f37;2:60442e;2:78563b;1:946a49;2:60442e;1:78563b;1:483322;1:5a402c;1:352418;2:5a402c;1:483322;1:6f4f37;1:5a402c;1:-;1:78563b;1:473020;1:78563b;2:60442e;2:78563b;1:5a402c;2:6f4f37;1:483322;1:352418;2:5a402c;4:-;1:60442e;1:946a49;1:473020;1:60442e;1:473020;3:483322;1:352418;1:5a402c;8:-;2:60442e;1:78563b;1:5a402c;1:6f4f37;1:483322;12:-;1:473020;1:483322;7:-"},
cobblestone = {w=16,h=16,d="7:-;2:616161;12:-;1:b5b5b5;1:6e6d6d;1:888788;1:a6a6a6;1:888788;1:616161;8:-;2:616161;1:6e6d6d;2:888788;1:a6a6a6;2:888788;2:a6a6a6;4:-;1:616161;1:888788;6:6e6d6d;1:525252;4:616161;1:b5b5b5;1:-;1:4d4d4d;1:616161;1:6e6d6d;1:888788;1:616161;1:888788;1:525252;2:888788;4:a6a6a6;1:616161;1:6e6d6d;1:515151;1:848484;1:6c6c6c;1:4d4d4d;3:6e6d6d;1:a6a6a6;5:616161;1:b5b5b5;1:3a3a3a;1:515151;1:424141;2:585757;1:4d4d4d;1:909090;1:848484;3:616161;1:888788;2:b5b5b5;1:636363;1:515151;1:3a3a3a;1:515151;1:3a3a3a;1:6c6c6c;1:909090;1:848484;1:585757;1:848484;1:414141;1:909090;1:888788;1:616161;1:636363;1:313131;1:515151;1:424141;1:636363;1:515151;1:6c6c6c;1:4d4d4d;1:585757;1:6c6c6c;2:4d4d4d;1:6c6c6c;1:4d4d4d;1:6c6c6c;2:636363;1:3a3a3a;2:515151;1:636363;1:515151;1:424141;1:585757;1:6c6c6c;1:585757;2:4d4d4d;1:909090;1:848484;1:414141;1:3a3a3a;2:515151;1:424141;1:6c6c6c;2:515151;2:6c6c6c;2:4d4d4d;1:585757;1:6c6c6c;1:4d4d4d;1:585757;1:6c6c6c;1:424141;4:515151;1:3a3a3a;1:6c6c6c;1:515151;1:848484;1:6c6c6c;1:4d4d4d;1:909090;2:585757;1:4d4d4d;1:6c6c6c;1:515151;1:636363;1:515151;1:313131;4:3a3a3a;1:-;1:4d4d4d;1:585757;1:6c6c6c;1:848484;1:414141;1:848484;1:4d4d4d;1:6c6c6c;2:424141;1:636363;1:515151;1:3a3a3a;1:636363;4:-;1:4d4d4d;1:6c6c6c;1:585757;2:6c6c6c;1:424141;1:636363;1:3a3a3a;1:424141;1:3a3a3a;8:-;2:6c6c6c;1:585757;1:6c6c6c;1:424141;1:515151;12:-;1:585757;1:515151;7:-"},
oak_planks = {w=16,h=16,d="7:-;1:b8945f;1:af8f55;12:-;1:af8f55;1:c29d62;1:7e6237;1:b8945f;1:967441;1:c29d62;8:-;1:b8945f;1:c29d62;1:7e6237;1:b8945f;1:9f844d;1:c29d62;1:67502c;1:9f844d;1:b8945f;1:c29d62;4:-;1:af8f55;1:9f844d;1:7e6237;1:af8f55;1:b8945f;1:af8f55;1:67502c;1:967441;1:9f844d;1:c29d62;1:67502c;1:af8f55;1:b8945f;1:c29d62;1:-;1:8c7244;1:7e6237;1:af8f55;1:9f844d;1:b8945f;1:67502c;2:9f844d;1:c29d62;1:7e6237;1:af8f55;1:b8945f;1:af8f55;1:7e6237;1:967441;1:5a4527;1:93764c;1:8c7244;1:9b7d4e;2:967441;1:9f844d;1:c29d62;1:967441;2:af8f55;1:c29d62;1:7e6237;1:9f844d;1:745e3a;1:6e5839;1:5a4527;1:9b7d4e;1:785c34;2:93764c;1:9b7d4e;1:67502c;1:9f844d;2:b8945f;1:67502c;1:9f844d;1:745e3a;1:6e5839;1:695533;1:3d301a;1:6e5839;1:7f693d;1:8c7244;1:9b7d4e;1:524023;1:7f693d;1:8c7244;1:9b7d4e;1:67502c;1:9f844d;1:745e3a;2:5f4f2e;1:4b3a21;2:6e5839;1:5f4f2e;1:9b7d4e;1:644e2c;1:8c7244;1:785c34;1:9b7d4e;1:644e2c;1:93764c;1:7f693d;2:6e5839;1:4b3a21;1:5f4f2e;2:695533;1:5a4527;1:5f4f2e;2:93764c;1:8c7244;1:524023;2:93764c;1:8c7244;1:524023;1:4b3a21;1:745e3a;1:695533;1:5a4527;1:3d301a;1:745e3a;2:5f4f2e;1:7f693d;1:785c34;2:7f693d;1:9b7d4e;1:644e2c;1:7f693d;1:8c7244;2:6e5839;1:4b3a21;1:745e3a;1:5f4f2e;1:695533;1:3d301a;1:745e3a;1:7f693d;2:93764c;1:524023;1:8c7244;1:7f693d;1:9b7d4e;1:524023;1:3d301a;2:6e5839;1:5f4f2e;1:4b3a21;1:5f4f2e;1:695533;1:5f4f2e;1:-;1:524023;1:8c7244;1:7f693d;1:9b7d4e;1:644e2c;1:7f693d;1:785c34;2:695533;1:4b3a21;1:5f4f2e;1:6e5839;1:5f4f2e;1:3d301a;4:-;1:785c34;1:93764c;1:8c7244;1:93764c;1:524023;1:3d301a;1:745e3a;1:5f4f2e;1:5a4527;1:4b3a21;8:-;1:644e2c;1:7f693d;1:8c7244;2:695533;1:4b3a21;12:-;1:524023;1:4b3a21;7:-"},
oak_log = {w=16,h=16,d="7:-;2:4c3d26;12:-;1:4c3d26;1:af8f55;2:7e6237;1:b8945f;1:4c3d26;8:-;1:4c3d26;1:af8f55;1:9f844d;3:af8f55;1:b8945f;1:967441;1:c29d62;1:4c3d26;4:-;1:5f4a2b;1:b8945f;1:9f844d;1:b8945f;1:af8f55;1:967441;2:af8f55;1:9f844d;1:af8f55;1:b8945f;1:9f844d;1:b8945f;1:5f4a2b;1:-;1:3c301e;1:5f4a2b;1:b8945f;1:9f844d;2:af8f55;1:7e6237;2:af8f55;1:9f844d;1:af8f55;1:b8945f;1:9f844d;1:b8945f;1:5f4a2b;1:392c19;1:2c2213;1:4c3b22;1:2c2213;1:5f4a2b;1:af8f55;1:967441;1:b8945f;3:af8f55;1:967441;1:af8f55;1:5f4a2b;1:574327;1:453620;1:392c19;1:3c301e;1:4c3b22;1:2c2213;1:4c3b22;1:2c2213;1:5f4a2b;1:af8f55;2:967441;1:af8f55;1:5f4a2b;1:453620;1:21190e;1:2d2416;2:453620;2:5c482b;1:2c2213;1:4c3b22;1:3c301e;2:745a34;2:5f4a2b;1:453620;1:21190e;3:392c19;1:2d2416;1:453620;1:3c301e;1:5c482b;1:4c3b22;1:3c301e;1:4c3b22;1:2c2213;1:5c482b;1:4c3b22;1:2d2416;1:392c19;1:2d2416;2:392c19;1:453620;1:392c19;1:453620;1:5c482b;1:79603a;1:5c482b;1:745a34;1:5c482b;2:3c301e;1:4c3b22;1:21190e;1:392c19;1:2d2416;2:453620;1:392c19;2:453620;1:3c301e;1:745a34;1:4c3b22;1:5c482b;2:4c3b22;1:3c301e;1:5c482b;3:453620;1:574327;1:392c19;1:2d2416;2:453620;2:5c482b;1:4c3b22;1:2c2213;1:4c3b22;1:3c301e;1:4c3b22;1:5c482b;1:453620;1:5b482b;1:453620;1:21190e;1:453620;1:21190e;2:453620;1:-;1:745a34;1:5c482b;1:3c301e;1:4c3b22;1:2c2213;2:5c482b;1:453620;1:574327;1:392c19;1:21190e;1:392c19;1:2d2416;1:574327;4:-;3:3c301e;2:5c482b;1:2d2416;2:453620;1:21190e;1:2d2416;8:-;1:5c482b;1:745a34;1:5c482b;1:453620;1:574327;1:453620;12:-;1:4c3b22;1:453620;7:-"},
grass_block = {w=16,h=16,d="7:-;1:546e34;1:6e9044;12:-;1:577135;1:4a612d;1:4e6630;1:4b612e;1:577135;1:516931;8:-;1:556f34;1:587236;1:597436;1:516a32;1:495f2d;1:62803c;1:475c2b;1:516a32;1:485e2c;1:556f34;4:-;1:495f2d;1:556f34;1:4c632e;1:5d7a39;1:4f6730;1:495f2d;1:5d7939;1:485e2c;1:4c642f;1:425628;1:506831;1:62803c;1:6e9044;1:5e7b3a;1:-;1:405428;1:4d642f;1:455b2a;1:475c2b;1:526b32;1:536c32;1:536c33;1:4c642f;1:607e3b;1:4c642f;1:617f3c;1:445829;1:475d2b;1:5e7b3a;1:67863f;1:33421f;1:473020;2:405428;1:546d33;1:536c33;1:5b7738;1:526b32;1:4f6730;1:4a612d;1:506931;1:536c33;1:485e2c;1:516931;1:364621;1:2f3d1c;1:352418;1:60442e;2:473020;1:3a4c24;1:485d2c;1:465b2b;1:4c642f;1:5a7637;1:5d7a39;1:475c2b;1:516931;2:33421f;1:3a4c24;1:352418;1:483322;1:60442e;2:78563b;1:473020;1:485d2c;1:425628;1:3a4c24;1:4d642f;1:44592a;1:2f3d1c;3:352418;1:404040;1:483322;1:5a402c;1:60442e;1:946a49;1:60442e;3:473020;1:354620;1:3f5226;1:2f3d1c;1:2d3a1b;1:352418;2:483322;1:6f4f37;2:483322;1:78563b;1:60442e;1:78563b;2:60442e;1:473020;1:78563b;1:60442e;1:404040;1:6f4f37;1:5a402c;1:6f4f37;1:352418;1:483322;1:6f4f37;1:483322;1:473020;1:78563b;2:60442e;3:78563b;1:946a49;1:352418;1:483322;1:5a402c;1:352418;1:483322;1:352418;1:5a402c;1:6f4f37;2:60442e;2:78563b;1:946a49;2:60442e;1:78563b;1:483322;1:5a402c;1:352418;2:5a402c;1:483322;1:6f4f37;1:5a402c;1:-;1:78563b;1:473020;1:78563b;2:60442e;2:78563b;1:5a402c;2:6f4f37;1:483322;1:352418;2:5a402c;4:-;1:60442e;1:946a49;1:473020;1:60442e;1:473020;3:483322;1:352418;1:5a402c;8:-;2:60442e;1:78563b;1:5a402c;1:6f4f37;1:483322;12:-;1:473020;1:483322;7:-"},
crafting_table = {w=16,h=16,d="7:-;2:0e0b06;12:-;1:733920;1:9e5932;2:ae693c;1:9e5932;1:733920;8:-;1:733920;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;1:733920;4:-;1:0e0b06;1:41230e;1:ae693c;2:4b2b18;1:ae693c;2:553824;1:ae693c;2:4b2b18;1:ae693c;1:41230e;1:0e0b06;1:-;1:8c7244;1:0e0b06;1:41230e;1:ae693c;2:4b2b18;1:ae693c;1:4b2b18;1:553824;1:ae693c;1:4b2b18;1:553824;1:ae693c;1:41230e;1:0e0b06;1:0f0c07;1:93764c;1:8c7244;1:2c1a11;1:733920;2:ae693c;1:553824;1:9e5932;1:ae693c;1:553824;2:ae693c;1:733920;1:745e3a;1:6e5839;1:0f0c07;1:9b7d4e;1:785c34;1:93764c;1:3c2213;1:5c2d19;1:733920;1:9e5932;2:ae693c;1:9e5932;1:733920;1:2d190e;1:21130d;1:695533;1:3d301a;1:0f0c07;1:7f693d;1:341c0b;1:9b7d4e;1:15110a;1:7f693d;1:8c7244;1:9b7d4e;1:0e0b06;1:1a150d;1:745e3a;1:5f4f2e;1:16130a;1:4b3a21;2:6e5839;1:0f0c07;1:9b7d4e;1:201808;1:8c7244;1:2c1a11;1:9b7d4e;1:341c0b;1:93764c;1:141009;2:6e5839;1:4b3a21;1:2d190e;2:695533;1:5a4527;1:0f0c07;1:93764c;1:acacac;1:8c7244;1:15110a;1:93764c;2:201808;1:141009;1:4b3a21;1:745e3a;1:271508;1:21130d;1:3d301a;1:745e3a;1:5f4f2e;1:0f0c07;1:7f693d;1:785c34;1:7f693d;1:2c1a11;1:9b7d4e;1:cccccc;1:909090;1:141009;1:6e5839;1:181206;1:4b3a21;1:2d190e;1:5f4f2e;1:695533;1:3d301a;1:0f0c07;1:7f693d;2:93764c;1:0d0b06;1:8c7244;1:7f693d;1:acacac;1:141009;1:3d301a;1:818181;1:6c6c6c;1:21130d;1:4b3a21;1:5f4f2e;1:695533;1:0f0c07;1:-;1:524023;1:8c7244;1:2c1a11;1:9b7d4e;1:644e2c;1:acacac;1:141009;2:695533;1:4b3a21;1:2d190e;1:6e5839;1:5f4f2e;1:3d301a;4:-;1:141009;1:93764c;1:8c7244;1:cccccc;1:141009;1:3d301a;1:745e3a;1:5f4f2e;1:21130d;1:4b3a21;8:-;1:644e2c;1:7f693d;1:141009;2:695533;1:4b3a21;12:-;1:15110a;1:4b3a21;7:-"},
diamond_sword = {w=16,h=16,d="13:-;3:0e3f36;12:-;1:0e3f36;2:a4fdf0;1:082520;11:-;1:0e3f36;1:a4fdf0;1:2bc7ac;1:a4fdf0;1:082520;10:-;1:0e3f36;1:a4fdf0;1:2bc7ac;1:a4fdf0;1:082520;10:-;1:0e3f36;1:a4fdf0;1:2bc7ac;1:33ebcb;1:082520;10:-;1:0e3f36;1:a4fdf0;1:2bc7ac;1:33ebcb;1:082520;5:-;2:0e3f36;3:-;1:0e3f36;1:33ebcb;1:2bc7ac;1:33ebcb;1:082520;6:-;1:0e3f36;1:156355;1:0e3f36;1:-;1:0e3f36;1:33ebcb;1:2bc7ac;1:33ebcb;1:082520;8:-;1:0e3f36;1:1e8a77;1:082520;1:33ebcb;1:1e8a77;1:33ebcb;1:082520;9:-;1:0e3f36;2:1e8a77;1:156355;1:33ebcb;1:082520;11:-;1:0e3f36;1:156355;1:0e3f36;1:082520;11:-;1:493615;1:684e1e;1:082520;2:0e3f36;1:082520;9:-;1:493615;1:896727;1:281e0b;1:-;2:082520;1:0e3f36;1:082520;6:-;2:0e3f36;1:684e1e;1:281e0b;4:-;2:082520;6:-;1:0e3f36;1:156355;1:082520;13:-;3:082520;13:-"},
diamond_pickaxe = {w=16,h=16,d="38:-;5:0e3f36;10:-;1:0e3f36;1:33ebcb;1:2bc7ac;2:27b29a;1:2bc7ac;1:0e3f36;1:493615;1:684e1e;8:-;1:0e3f36;3:082520;2:27b29a;1:896727;1:281e0b;12:-;1:493615;1:2bc7ac;1:27b29a;1:082520;11:-;1:493615;1:684e1e;1:281e0b;1:27b29a;1:2bc7ac;1:082520;9:-;1:493615;1:896727;1:281e0b;1:-;1:082520;1:27b29a;1:082520;8:-;1:493615;1:684e1e;1:281e0b;2:-;1:082520;1:27b29a;1:082520;7:-;1:493615;1:896727;1:281e0b;3:-;1:082520;1:2bc7ac;1:082520;6:-;1:493615;1:684e1e;1:281e0b;4:-;1:082520;1:33ebcb;1:082520;5:-;1:493615;1:896727;1:281e0b;6:-;1:082520;5:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;13:-;2:281e0b;28:-"},
diamond_axe = {w=16,h=16,d="25:-;2:0e3f36;13:-;1:0e3f36;2:33ebcb;1:0e3f36;11:-;1:0e3f36;1:33ebcb;1:27b29a;1:2bc7ac;1:0e3f36;10:-;1:0e3f36;1:33ebcb;3:27b29a;1:493615;1:684e1e;9:-;1:082520;1:33ebcb;1:2bc7ac;1:27b29a;1:1e8a77;1:27b29a;1:281e0b;10:-;2:082520;1:493615;1:27b29a;1:1e8a77;1:27b29a;1:082520;10:-;1:493615;1:684e1e;1:281e0b;2:27b29a;1:082520;9:-;1:493615;1:896727;1:281e0b;1:-;2:082520;9:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;13:-;2:281e0b;28:-"},
diamond_shovel = {w=16,h=16,d="43:-;2:0e3f36;1:082520;12:-;1:0e3f36;2:33ebcb;1:27b29a;1:082520;10:-;1:0e3f36;1:33ebcb;1:2bc7ac;1:27b29a;1:33ebcb;1:082520;9:-;1:0e3f36;1:33ebcb;1:2bc7ac;1:27b29a;1:2bc7ac;1:33ebcb;1:082520;10:-;1:493615;1:27b29a;1:2bc7ac;1:33ebcb;1:082520;10:-;1:493615;1:896727;1:281e0b;1:33ebcb;1:082520;10:-;1:493615;1:896727;1:281e0b;1:-;1:082520;10:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;11:-;2:493615;1:896727;1:281e0b;12:-;1:493615;1:896727;1:281e0b;14:-;2:281e0b;27:-"},
iron_helmet = {w=16,h=16,d="53:-;6:2d2d2d;9:-;1:2d2d2d;1:969696;4:c6c6c6;1:6b6b6b;1:191919;7:-;1:2d2d2d;1:969696;1:d8d8d8;1:ffffff;1:d8d8d8;2:c6c6c6;1:969696;1:6b6b6b;1:191919;6:-;1:2d2d2d;1:c6c6c6;2:d8d8d8;2:c6c6c6;3:969696;1:191919;6:-;1:2d2d2d;2:c6c6c6;3:2d2d2d;1:191919;1:6b6b6b;1:969696;1:191919;6:-;1:2d2d2d;1:c6c6c6;1:2d2d2d;5:191919;1:969696;1:191919;6:-;1:2d2d2d;1:c6c6c6;1:2d2d2d;5:191919;1:6b6b6b;1:191919;6:-;1:2d2d2d;1:969696;6:191919;1:6b6b6b;1:191919;7:-;1:2d2d2d;1:191919;4:-;2:191919;68:-"},
iron_chestplate = {w=16,h=16,d="33:-;5:2d2d2d;4:-;5:2d2d2d;2:-;1:2d2d2d;1:ffffff;1:d8d8d8;1:c6c6c6;1:2d2d2d;4:-;1:2d2d2d;1:ffffff;1:d8d8d8;1:c6c6c6;1:2d2d2d;2:-;1:2d2d2d;1:d8d8d8;2:c6c6c6;1:969696;1:2d2d2d;2:-;1:2d2d2d;1:969696;1:d8d8d8;2:c6c6c6;1:2d2d2d;2:-;1:2d2d2d;3:c6c6c6;1:d8d8d8;1:969696;2:2d2d2d;1:969696;4:c6c6c6;1:2d2d2d;2:-;1:2d2d2d;1:6b6b6b;1:969696;1:c6c6c6;1:ffffff;3:d8d8d8;3:c6c6c6;1:969696;1:6b6b6b;1:2d2d2d;2:-;2:191919;1:6b6b6b;3:d8d8d8;5:c6c6c6;1:6b6b6b;2:191919;4:-;1:191919;2:d8d8d8;6:c6c6c6;1:191919;6:-;1:191919;1:c6c6c6;1:d8d8d8;5:c6c6c6;1:969696;1:191919;6:-;1:191919;7:c6c6c6;1:969696;1:191919;6:-;1:191919;1:969696;5:c6c6c6;2:969696;1:191919;6:-;1:191919;1:6b6b6b;6:969696;1:6b6b6b;1:191919;7:-;1:191919;1:6b6b6b;4:969696;1:6b6b6b;1:191919;9:-;6:191919;21:-"},
iron_leggings = {w=16,h=16,d="36:-;7:2d2d2d;1:191919;7:-;1:2d2d2d;1:d8d8d8;2:ffffff;2:d8d8d8;2:c6c6c6;1:6b6b6b;1:191919;6:-;1:2d2d2d;2:d8d8d8;5:c6c6c6;1:969696;1:191919;6:-;1:2d2d2d;1:d8d8d8;1:c6c6c6;3:969696;2:c6c6c6;1:969696;1:191919;6:-;1:2d2d2d;1:d8d8d8;1:c6c6c6;1:969696;2:191919;1:6b6b6b;1:c6c6c6;1:969696;1:191919;6:-;1:2d2d2d;2:c6c6c6;1:191919;2:-;1:191919;1:c6c6c6;1:969696;1:191919;6:-;1:2d2d2d;1:c6c6c6;1:969696;1:191919;2:-;1:2d2d2d;1:c6c6c6;1:969696;1:191919;6:-;1:2d2d2d;1:c6c6c6;1:969696;1:191919;2:-;1:2d2d2d;1:c6c6c6;1:969696;1:191919;6:-;1:2d2d2d;2:969696;1:191919;2:-;1:191919;2:969696;1:191919;6:-;1:2d2d2d;1:969696;1:6b6b6b;1:191919;2:-;1:191919;1:969696;1:6b6b6b;1:191919;6:-;1:191919;2:6b6b6b;1:191919;2:-;1:191919;2:6b6b6b;1:191919;6:-;4:191919;2:-;4:191919;35:-"},
iron_boots = {w=16,h=16,d="52:-;3:2d2d2d;2:-;3:2d2d2d;7:-;1:2d2d2d;1:ffffff;1:d8d8d8;1:191919;2:-;1:2d2d2d;1:ffffff;1:d8d8d8;1:191919;6:-;1:2d2d2d;2:d8d8d8;1:191919;2:-;1:2d2d2d;1:d8d8d8;1:c6c6c6;1:191919;6:-;1:2d2d2d;1:d8d8d8;1:c6c6c6;1:191919;2:-;1:2d2d2d;2:c6c6c6;1:191919;6:-;1:2d2d2d;2:c6c6c6;1:191919;2:-;1:2d2d2d;2:c6c6c6;1:191919;6:-;1:2d2d2d;1:c6c6c6;1:969696;1:191919;2:-;1:2d2d2d;2:c6c6c6;1:191919;5:-;1:2d2d2d;2:c6c6c6;1:969696;1:191919;2:-;1:2d2d2d;1:969696;1:c6c6c6;1:969696;1:191919;3:-;1:2d2d2d;2:c6c6c6;1:969696;1:6b6b6b;1:191919;2:-;1:2d2d2d;1:6b6b6b;1:969696;1:c6c6c6;1:969696;1:191919;2:-;1:2d2d2d;2:969696;1:6b6b6b;2:191919;2:-;2:191919;2:969696;1:6b6b6b;1:191919;2:-;1:2d2d2d;3:191919;6:-;4:191919;49:-"},
cooked_beef = {w=16,h=16,d="57:-;4:4e2719;11:-;1:4e2719;1:713f2d;1:7c4835;1:713f2d;1:8e523c;1:4e2719;9:-;1:4e2719;1:522f1f;1:985c43;1:8e523c;1:673728;1:713f2d;1:673728;1:4e2719;7:-;1:4e2719;2:8e523c;1:522f1f;1:7c4835;1:8e523c;1:522f1f;1:713f2d;1:2a160d;5:-;2:4e2719;1:673728;1:522f1f;1:985c43;1:8e523c;1:522f1f;1:7c4835;1:713f2d;1:522f1f;1:2a160d;4:-;1:4e2719;1:522f1f;1:7c4835;1:8e523c;1:673728;1:522f1f;1:985c43;1:8e523c;1:713f2d;1:673728;1:3f2116;1:2a160d;4:-;1:4e2719;1:713f2d;1:522f1f;1:985c43;2:8e523c;1:522f1f;1:985c43;1:673728;1:3f2116;1:2a160d;4:-;1:4e2719;1:713f2d;1:7c4835;1:985c43;1:522f1f;1:985c43;1:8e523c;1:713f2d;1:522f1f;2:3f2116;1:2a160d;4:-;1:4e2719;1:985c43;1:713f2d;1:7c4835;1:985c43;1:522f1f;1:713f2d;1:7c4835;1:673728;1:3f2116;1:2a160d;6:-;1:4e2719;1:985c43;2:8e523c;1:7c4835;1:673728;2:3f2116;1:2a160d;7:-;2:2a160d;1:522f1f;3:3f2116;2:2a160d;10:-;4:2a160d;23:-"},
bread = {w=16,h=16,d="25:-;4:654b17;10:-;2:654b17;1:8c661e;2:a27924;1:8c661e;1:654b17;8:-;1:654b17;1:8c661e;4:bc8927;1:a27924;1:8c661e;1:3f2e0e;6:-;1:654b17;1:bc8927;1:a27924;2:8c661e;3:bc8927;1:8c661e;1:3f2e0e;5:-;1:654b17;4:bc8927;1:a27924;1:8c661e;1:bc8927;1:a27924;1:8c661e;1:3f2e0e;4:-;1:654b17;6:bc8927;1:a27924;1:bc8927;1:8c661e;1:654b17;1:3f2e0e;3:-;1:654b17;1:8c661e;1:a27924;2:8c661e;4:bc8927;2:8c661e;1:4c3811;1:3f2e0e;3:-;1:654b17;3:bc8927;1:a27924;1:8c661e;2:bc8927;2:8c661e;1:654b17;1:3f2e0e;3:-;1:654b17;1:8c661e;4:bc8927;1:a27924;1:bc8927;2:8c661e;1:654b17;1:3f2e0e;4:-;1:654b17;1:a27924;5:bc8927;2:8c661e;1:654b17;1:3f2e0e;5:-;1:654b17;2:a27924;3:bc8927;2:8c661e;1:654b17;1:3f2e0e;6:-;1:574114;1:8c661e;2:a27924;3:8c661e;1:654b17;1:3f2e0e;7:-;1:574114;1:654b17;4:8c661e;1:654b17;1:3f2e0e;9:-;1:4c3811;3:654b17;1:4c3811;1:3f2e0e;11:-;1:4c3811;3:3f2e0e;9:-"},
apple = {w=16,h=16,d="25:-;1:752802;14:-;1:7e370e;1:542409;14:-;1:752802;12:-;2:9c1017;1:752802;1:542409;2:752802;8:-;1:9c1017;1:b4131e;1:ff969d;1:b4131e;1:542409;1:9c1017;1:dd1725;1:b4131e;2:752802;5:-;1:9c1017;1:b4131e;1:ff1c2b;1:ff5e69;3:ff969d;1:ff5e69;1:ff1c2b;1:b4131e;2:752802;4:-;1:9c1017;1:b4131e;6:ff1c2b;1:dd1725;1:ff1c2b;1:b4131e;1:752802;4:-;1:9c1017;1:b4131e;1:dd1725;1:ff1c2b;1:dd1725;1:ff1c2b;3:dd1725;1:ff1c2b;1:dd1725;1:54090e;4:-;1:752802;2:b4131e;2:dd1725;2:b4131e;1:dd1725;1:b4131e;1:ff1c2b;1:dd1725;1:54090e;4:-;1:752802;5:b4131e;1:dd1725;2:b4131e;1:ff1c2b;1:b4131e;1:54090e;5:-;1:752802;2:b4131e;1:dd1725;3:b4131e;1:dd1725;1:b4131e;1:54090e;6:-;1:752802;1:9c1017;3:b4131e;2:dd1725;1:b4131e;1:9c1017;1:54090e;7:-;1:54090e;1:9c1017;1:b4131e;2:9c1017;1:b4131e;1:9c1017;1:54090e;9:-;1:54090e;3:752802;2:54090e;21:-"},
stick = {w=16,h=16,d="45:-;1:493615;1:281e0b;13:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:684e1e;1:281e0b;12:-;1:493615;1:896727;1:281e0b;12:-;1:493615;1:896727;1:281e0b;13:-;2:281e0b;28:-"},
coal = {w=16,h=16,d="37:-;4:1c1c1e;11:-;1:1c1c1e;1:2e2e2e;2:323232;1:2e2e2e;1:1c1c1e;9:-;1:1c1c1e;1:252525;1:363636;1:393e46;1:323232;2:252525;1:1c1c1e;8:-;1:1c1c1e;1:363636;1:252525;1:323232;1:2e2e2e;1:323232;1:2e2e2e;1:252525;1:1c1c1e;7:-;1:1c1c1e;2:261e24;1:252525;1:363636;1:393e46;1:363636;1:323232;1:252525;1:1c1c1e;5:-;1:1c1c1e;1:252525;1:2e2e2e;1:252525;1:261e24;1:252525;2:363636;1:2e2e2e;1:252525;1:323232;1:101015;4:-;1:1c1c1e;1:2e2e2e;1:393e46;1:323232;1:252525;3:2e2e2e;1:252525;1:261e24;1:252525;1:101015;4:-;1:1c1c1e;1:252525;3:2e2e2e;3:252525;1:2e2e2e;3:261e24;1:101015;3:-;1:1c1c1e;3:252525;1:261e24;1:252525;1:2e2e2e;1:261e24;1:252525;1:1f1721;1:252525;1:1f1721;1:101015;3:-;1:1c1c1e;1:1f1721;1:261e24;1:252525;5:261e24;1:1f1721;1:261e24;1:1f1721;1:101015;4:-;1:101015;2:1f1721;1:261e24;1:252525;1:1f1721;2:261e24;2:1f1721;1:101015;6:-;1:101015;4:1f1721;4:101015;8:-;4:101015;23:-"},
iron_ingot = {w=16,h=16,d="42:-;2:5e5e5e;11:-;3:5e5e5e;2:a8a8a8;1:727272;7:-;3:5e5e5e;1:a8a8a8;4:d8d8d8;1:a8a8a8;1:727272;3:-;3:5e5e5e;1:a8a8a8;8:d8d8d8;1:a8a8a8;1:727272;1:-;1:5e5e5e;1:ffffff;10:d8d8d8;2:ffffff;1:d8d8d8;1:727272;1:5e5e5e;1:a8a8a8;1:ffffff;6:d8d8d8;3:ffffff;1:d8d8d8;1:727272;1:a8a8a8;1:353535;1:5e5e5e;2:a8a8a8;1:ffffff;2:d8d8d8;3:ffffff;1:d8d8d8;1:828282;2:727272;1:828282;1:a8a8a8;1:353535;1:5e5e5e;3:a8a8a8;2:ffffff;1:d8d8d8;1:828282;4:727272;3:a8a8a8;1:353535;1:5e5e5e;1:828282;2:a8a8a8;1:d8d8d8;1:828282;4:727272;2:a8a8a8;1:828282;2:353535;2:-;1:5e5e5e;1:828282;1:a8a8a8;1:d8d8d8;1:828282;2:727272;2:828282;3:353535;5:-;1:5e5e5e;1:828282;1:a8a8a8;1:828282;1:585858;3:353535;9:-;2:5e5e5e;2:353535;41:-"},
diamond = {w=16,h=16,d="38:-;4:11727a;11:-;1:11727a;3:ffffff;1:d5fff6;1:11727a;9:-;1:11727a;1:ffffff;2:4aedd9;1:a1fbe8;1:d5fff6;1:20c5b5;1:145e53;7:-;1:11727a;1:ffffff;1:4aedd9;2:a1fbe8;1:d5fff6;1:a1fbe8;1:4aedd9;1:20c5b5;1:145e53;6:-;1:11727a;1:ffffff;1:4aedd9;1:ffffff;1:d5fff6;1:ffffff;1:d5fff6;2:4aedd9;1:145e53;5:-;1:11727a;1:ffffff;1:4aedd9;1:ffffff;2:4aedd9;2:a1fbe8;1:1aaaa7;1:20c5b5;1:1aaaa7;1:145e53;4:-;1:11727a;1:ffffff;1:4aedd9;1:d5fff6;1:4aedd9;3:a1fbe8;1:1c919a;1:20c5b5;1:1aaaa7;1:145e53;4:-;1:11727a;2:ffffff;1:20c5b5;3:a1fbe8;1:4aedd9;1:1c919a;2:1aaaa7;1:145e53;4:-;1:11727a;1:d5fff6;2:4aedd9;4:1aaaa7;2:20c5b5;1:1c919a;1:145e53;5:-;1:145e53;1:4aedd9;1:1aaaa7;4:20c5b5;1:1aaaa7;1:20c5b5;1:145e53;6:-;1:145e53;1:2ce0d8;1:1aaaa7;4:20c5b5;1:1aaaa7;1:a1fbe8;1:145e53;7:-;1:145e53;1:1c919a;2:4aedd9;2:a1fbe8;1:20c5b5;1:145e53;9:-;6:145e53;21:-"},
bucket = {w=16,h=16,d="21:-;6:353535;8:-;2:353535;1:727272;3:969696;2:a8a8a8;2:353535;5:-;1:353535;2:727272;3:5f5f5f;3:727272;1:969696;1:727272;1:353535;4:-;1:353535;1:5f5f5f;3:545454;1:5f5f5f;4:727272;1:5f5f5f;1:353535;4:-;3:353535;2:545454;2:5f5f5f;2:727272;3:353535;4:-;1:353535;1:d8d8d8;1:a8a8a8;6:353535;1:727272;1:969696;1:353535;4:-;1:353535;4:d8d8d8;2:a8a8a8;1:969696;2:727272;1:969696;1:353535;4:-;1:353535;2:d8d8d8;1:ffffff;1:d8d8d8;2:a8a8a8;1:969696;2:727272;1:a8a8a8;1:353535;4:-;1:353535;1:a8a8a8;1:d8d8d8;1:ffffff;1:d8d8d8;2:a8a8a8;1:969696;2:727272;1:a8a8a8;1:353535;4:-;1:353535;1:727272;1:d8d8d8;1:ffffff;1:d8d8d8;2:a8a8a8;1:969696;2:727272;1:969696;1:353535;5:-;1:353535;3:d8d8d8;2:a8a8a8;1:969696;1:727272;1:969696;1:353535;6:-;1:353535;1:a8a8a8;2:d8d8d8;1:a8a8a8;2:969696;1:727272;1:969696;1:353535;7:-;1:353535;1:a8a8a8;1:d8d8d8;1:a8a8a8;1:969696;1:727272;1:969696;1:353535;9:-;6:353535;21:-"},
torch = {w=16,h=16,d="103:-;1:ffd800;1:ff8f00;14:-;1:ffff97;1:ffffff;14:-;1:9f7f50;1:6d5736;14:-;1:957546;1:55452e;14:-;1:9f7f50;1:423522;14:-;1:9f7f50;1:55452e;14:-;1:957546;1:55452e;14:-;1:6d5736;1:3d301d;14:-;1:9f7f50;1:3b2e1b;14:-;1:6d5736;1:372a17;7:-"},
ladder = {w=16,h=16,d="2:-;1:967441;1:513d24;8:-;1:967441;1:513d24;3:-;1:7e6237;1:b58d50;1:7e6237;1:967441;1:b58d50;1:967441;4:b58d50;1:967441;1:b58d50;1:7e6237;1:b58d50;2:-;1:67502c;1:7e6237;1:67502c;1:513d24;6:67502c;1:513d24;1:7e6237;2:67502c;3:-;1:513d24;1:3a2f1e;8:-;1:513d24;1:3a2f1e;4:-;1:967441;1:513d24;8:-;1:967441;1:513d24;3:-;2:b58d50;1:7e6237;1:967441;3:b58d50;1:967441;1:b58d50;2:967441;1:b58d50;1:7e6237;1:b58d50;2:-;1:67502c;1:7e6237;1:67502c;1:513d24;6:67502c;1:513d24;1:7e6237;2:67502c;3:-;1:513d24;1:3a2f1e;8:-;1:513d24;1:3a2f1e;4:-;1:967441;1:513d24;8:-;1:967441;1:513d24;3:-;2:b58d50;1:7e6237;1:967441;6:b58d50;1:967441;1:b58d50;2:7e6237;2:-;1:67502c;1:7e6237;1:67502c;1:513d24;6:67502c;1:513d24;1:7e6237;2:67502c;3:-;1:513d24;1:3a2f1e;8:-;1:513d24;1:3a2f1e;4:-;1:967441;1:513d24;8:-;1:967441;1:513d24;3:-;2:b58d50;1:7e6237;1:967441;1:b58d50;1:967441;4:b58d50;1:967441;1:b58d50;1:7e6237;1:b58d50;2:-;1:67502c;1:7e6237;1:67502c;1:513d24;6:67502c;1:513d24;1:7e6237;2:67502c;3:-;1:513d24;1:3a2f1e;8:-;1:513d24;1:3a2f1e;2:-"},
}
local BTEX = {
stone = {w=16,h=16,d="4:8f8f8f;1:7f7f7f;2:747474;1:7f7f7f;1:747474;1:686868;2:747474;6:7f7f7f;1:747474;1:7f7f7f;1:747474;6:7f7f7f;2:686868;1:747474;1:7f7f7f;1:747474;1:7f7f7f;1:747474;2:686868;3:747474;1:686868;3:747474;7:7f7f7f;2:8f8f8f;1:7f7f7f;1:8f8f8f;2:7f7f7f;2:8f8f8f;3:7f7f7f;4:747474;2:7f7f7f;3:747474;1:7f7f7f;1:747474;1:7f7f7f;4:8f8f8f;1:747474;3:7f7f7f;1:8f8f8f;7:7f7f7f;2:747474;1:686868;1:747474;1:686868;1:747474;1:8f8f8f;1:747474;2:7f7f7f;3:8f8f8f;1:747474;2:8f8f8f;3:747474;4:7f7f7f;2:747474;2:686868;1:747474;1:686868;2:747474;2:7f7f7f;3:747474;3:7f7f7f;3:8f8f8f;1:7f7f7f;1:8f8f8f;2:7f7f7f;3:8f8f8f;5:7f7f7f;1:747474;2:7f7f7f;1:8f8f8f;3:7f7f7f;3:8f8f8f;2:7f7f7f;4:8f8f8f;1:7f7f7f;1:686868;1:7f7f7f;1:747474;1:7f7f7f;2:747474;2:686868;1:747474;1:7f7f7f;1:747474;2:7f7f7f;3:747474;5:7f7f7f;2:8f8f8f;5:7f7f7f;2:8f8f8f;1:7f7f7f;1:8f8f8f;1:7f7f7f;3:747474;1:7f7f7f;1:8f8f8f;1:7f7f7f;2:747474;2:7f7f7f;2:686868;1:747474;1:686868;1:747474;2:8f8f8f;1:7f7f7f;2:747474;2:7f7f7f;3:747474;2:7f7f7f;3:747474;1:8f8f8f;1:7f7f7f;2:747474;9:7f7f7f;4:8f8f8f;6:7f7f7f;2:747474;1:7f7f7f;2:8f8f8f;2:7f7f7f;1:747474;2:7f7f7f"},
dirt = {w=16,h=16,d="1:b9855c;2:966c4a;2:79553a;1:b9855c;2:966c4a;2:79553a;1:593d29;2:79553a;1:b9855c;1:79553a;1:b9855c;1:79553a;1:966c4a;1:593d29;2:79553a;1:966c4a;1:878787;1:593d29;1:79553a;1:b9855c;1:966c4a;1:79553a;1:b9855c;1:966c4a;2:593d29;1:b9855c;2:79553a;1:593d29;1:b9855c;3:79553a;1:b9855c;3:79553a;2:593d29;1:b9855c;1:79553a;1:966c4a;1:6c6c6c;1:b9855c;1:79553a;1:966c4a;1:593d29;1:79553a;1:b9855c;2:966c4a;1:79553a;1:966c4a;1:79553a;1:b9855c;1:966c4a;1:79553a;1:966c4a;1:79553a;1:966c4a;1:b9855c;1:593d29;1:966c4a;2:79553a;1:966c4a;1:593d29;1:79553a;1:6c6c6c;1:79553a;1:966c4a;1:593d29;2:79553a;1:593d29;2:966c4a;1:79553a;1:966c4a;3:593d29;2:79553a;1:593d29;3:79553a;2:b9855c;3:79553a;1:878787;2:79553a;2:b9855c;1:79553a;2:b9855c;1:79553a;1:966c4a;1:79553a;1:966c4a;2:79553a;2:b9855c;2:966c4a;2:79553a;1:966c4a;1:593d29;2:966c4a;2:79553a;3:966c4a;2:79553a;1:966c4a;1:79553a;1:966c4a;1:79553a;1:593d29;1:79553a;2:966c4a;3:79553a;1:593d29;2:79553a;1:966c4a;1:593d29;2:79553a;2:593d29;5:79553a;2:b9855c;1:79553a;1:966c4a;1:79553a;1:966c4a;1:79553a;2:b9855c;1:79553a;1:b9855c;1:966c4a;1:593d29;2:b9855c;1:593d29;2:966c4a;1:878787;1:79553a;1:966c4a;2:79553a;2:966c4a;1:b9855c;1:79553a;1:966c4a;1:6c6c6c;2:966c4a;1:79553a;1:593d29;1:966c4a;1:79553a;1:593d29;1:79553a;1:593d29;1:966c4a;1:79553a;2:966c4a;1:b9855c;7:79553a;2:b9855c;1:79553a;1:966c4a;2:79553a;1:745844;1:79553a;2:966c4a;1:79553a;1:593d29;1:b9855c;1:593d29;1:79553a;1:b9855c;3:966c4a;1:79553a;1:593d29;1:b9855c;1:79553a;1:593d29;1:79553a;1:593d29;2:b9855c;1:79553a;1:966c4a;2:79553a;3:966c4a;1:79553a;1:b9855c;2:966c4a;1:79553a;1:878787;1:79553a;2:966c4a;2:79553a;2:966c4a;1:79553a;1:593d29"},
cobble = {w=16,h=16,d="1:6e6d6d;1:616161;2:a6a6a6;1:525252;2:616161;1:a6a6a6;1:b5b5b5;1:a6a6a6;1:888788;1:616161;1:888788;1:b5b5b5;1:a6a6a6;1:888788;1:616161;1:a6a6a6;1:b5b5b5;2:888788;1:525252;2:b5b5b5;1:a6a6a6;2:888788;1:525252;1:616161;1:888788;1:6e6d6d;1:888788;1:616161;1:a6a6a6;1:888788;1:a6a6a6;1:6e6d6d;1:616161;1:a6a6a6;2:888788;1:a6a6a6;1:6e6d6d;1:616161;1:525252;1:616161;1:888788;1:6e6d6d;2:616161;1:888788;1:6e6d6d;2:616161;1:888788;1:6e6d6d;1:888788;1:6e6d6d;1:616161;1:888788;1:a6a6a6;1:888788;1:616161;2:525252;1:6e6d6d;1:616161;1:888788;1:b5b5b5;1:a6a6a6;1:616161;1:888788;2:616161;1:b5b5b5;3:a6a6a6;1:888788;1:616161;1:b5b5b5;1:6e6d6d;1:a6a6a6;1:b5b5b5;2:888788;1:6e6d6d;1:616161;1:525252;2:888788;1:b5b5b5;1:a6a6a6;1:888788;1:6e6d6d;1:888788;1:a6a6a6;1:888788;1:616161;1:888788;1:a6a6a6;2:888788;1:6e6d6d;2:616161;1:6e6d6d;1:a6a6a6;1:888788;1:6e6d6d;1:616161;1:b5b5b5;2:888788;2:6e6d6d;2:888788;1:6e6d6d;1:616161;1:888788;1:b5b5b5;1:a6a6a6;1:616161;1:6e6d6d;1:888788;1:616161;1:888788;1:6e6d6d;1:616161;1:b5b5b5;1:a6a6a6;2:6e6d6d;1:616161;1:888788;1:b5b5b5;3:888788;2:616161;1:525252;1:6e6d6d;1:616161;1:b5b5b5;1:a6a6a6;1:888788;1:6e6d6d;1:888788;2:6e6d6d;2:888788;1:616161;1:6e6d6d;1:616161;1:888788;1:a6a6a6;1:616161;1:888788;1:6e6d6d;1:888788;1:6e6d6d;1:888788;2:616161;1:525252;1:616161;2:6e6d6d;1:616161;1:525252;2:a6a6a6;1:b5b5b5;1:888788;2:6e6d6d;2:616161;1:6e6d6d;1:888788;1:b5b5b5;1:a6a6a6;2:616161;1:525252;1:888788;2:b5b5b5;1:888788;1:6e6d6d;1:888788;1:b5b5b5;1:a6a6a6;1:6e6d6d;1:616161;1:b5b5b5;1:a6a6a6;1:888788;1:a6a6a6;1:6e6d6d;1:616161;2:888788;1:6e6d6d;1:888788;1:616161;1:b5b5b5;1:a6a6a6;2:888788;1:616161;1:a6a6a6;1:888788;1:6e6d6d;2:888788;1:6e6d6d;2:616161;1:888788;1:6e6d6d;2:a6a6a6;1:888788;1:6e6d6d;1:888788;1:6e6d6d;1:616161;1:6e6d6d;2:888788;1:6e6d6d;1:616161;1:a6a6a6;1:888788;3:616161;1:888788;2:616161;1:6e6d6d;1:888788;1:6e6d6d;1:616161;1:6e6d6d;2:616161;1:888788;1:b5b5b5;1:a6a6a6;1:888788;1:6e6d6d"},
planks = {w=16,h=16,d="1:b8945f;1:af8f55;1:b8945f;5:c29d62;1:b8945f;5:c29d62;1:b8945f;1:967441;2:b8945f;2:af8f55;1:967441;1:9f844d;1:af8f55;3:b8945f;2:af8f55;2:b8945f;2:9f844d;1:af8f55;3:b8945f;1:af8f55;1:b8945f;1:af8f55;4:9f844d;2:af8f55;2:b8945f;2:967441;2:7e6237;2:967441;1:7e6237;2:67502c;2:7e6237;1:67502c;1:7e6237;2:67502c;1:7e6237;1:67502c;1:b8945f;1:c29d62;1:9f844d;4:c29d62;1:9f844d;3:c29d62;1:b8945f;2:af8f55;1:9f844d;1:b8945f;1:af8f55;2:b8945f;1:af8f55;1:9f844d;1:af8f55;1:9f844d;1:967441;1:9f844d;2:af8f55;4:b8945f;1:af8f55;2:9f844d;1:af8f55;1:b8945f;3:af8f55;1:967441;3:b8945f;2:af8f55;3:9f844d;2:67502c;2:7e6237;1:967441;1:7e6237;4:67502c;3:7e6237;1:967441;1:7e6237;1:67502c;1:b8945f;2:c29d62;1:b8945f;2:af8f55;8:c29d62;1:b8945f;1:9f844d;1:b8945f;1:af8f55;4:b8945f;1:af8f55;3:9f844d;1:af8f55;1:9f844d;1:af8f55;2:9f844d;1:967441;1:c29d62;1:b8945f;2:af8f55;4:9f844d;4:af8f55;2:9f844d;1:b8945f;1:9f844d;2:67502c;1:7e6237;2:967441;1:7e6237;3:67502c;1:7e6237;1:967441;2:7e6237;3:67502c;1:c29d62;1:9f844d;1:b8945f;2:c29d62;2:b8945f;1:9f844d;3:c29d62;1:9f844d;1:c29d62;1:b8945f;2:c29d62;2:af8f55;2:b8945f;2:9f844d;1:af8f55;2:9f844d;2:b8945f;1:af8f55;1:b8945f;4:af8f55;2:9f844d;1:af8f55;1:b8945f;1:af8f55;1:9f844d;1:967441;2:b8945f;1:af8f55;5:9f844d;1:67502c;2:7e6237;2:67502c;1:7e6237;3:967441;1:7e6237;1:67502c;1:7e6237;4:67502c"},
log = {w=16,h=16,d="1:745a36;1:4c3d26;1:917142;2:745a36;1:382b18;1:917142;2:745a36;1:382b18;1:745a36;1:917142;1:4c3d26;1:917142;1:745a36;1:5f4a2b;1:745a36;1:4c3d26;1:987849;1:5f4a2b;1:745a36;1:382b18;1:987849;1:5f4a2b;1:745a36;1:382b18;1:745a36;1:917142;1:4c3d26;2:745a36;1:5f4a2b;1:745a36;1:382b18;2:5f4a2b;1:745a36;1:382b18;1:987849;1:5f4a2b;1:745a36;1:4c3d26;1:745a36;2:4c3d26;2:745a36;1:5f4a2b;1:917142;1:382b18;1:745a36;1:5f4a2b;1:745a36;1:4c3d26;1:745a36;1:5f4a2b;1:745a36;1:5f4a2b;1:745a36;1:382b18;1:4c3d26;1:745a36;1:917142;1:5f4a2b;1:917142;1:4c3d26;1:745a36;1:5f4a2b;1:745a36;1:382b18;1:745a36;1:5f4a2b;1:987849;1:5f4a2b;1:745a36;1:5f4a2b;1:745a36;1:4c3d26;1:917142;1:745a36;1:917142;1:745a36;1:4c3d26;1:745a36;1:917142;1:4c3d26;1:745a36;1:4c3d26;1:987849;1:5f4a2b;1:917142;1:4c3d26;1:745a36;1:4c3d26;1:917142;1:745a36;1:5f4a2b;1:745a36;1:4c3d26;1:745a36;1:917142;2:5f4a2b;1:745a36;1:917142;1:745a36;1:917142;2:745a36;1:4c3d26;1:917142;1:745a36;1:5f4a2b;1:745a36;1:382b18;1:745a36;1:917142;1:745a36;1:5f4a2b;1:917142;2:745a36;1:917142;1:5f4a2b;1:745a36;1:5f4a2b;1:917142;2:745a36;1:4c3d26;1:382b18;1:987849;2:745a36;1:5f4a2b;1:917142;1:745a36;1:5f4a2b;1:917142;1:5f4a2b;1:917142;1:5f4a2b;1:917142;3:745a36;1:4c3d26;1:987849;2:745a36;1:5f4a2b;2:745a36;1:5f4a2b;1:917142;1:4c3d26;1:917142;1:745a36;1:382b18;4:745a36;1:917142;1:745a36;1:5f4a2b;1:745a36;1:382b18;1:745a36;1:5f4a2b;1:745a36;1:4c3d26;1:917142;1:745a36;1:382b18;2:745a36;1:4c3d26;1:745a36;1:917142;1:745a36;1:5f4a2b;1:745a36;1:382b18;1:987849;2:745a36;1:382b18;1:987849;1:745a36;1:4c3d26;1:745a36;1:987849;1:4c3d26;2:745a36;1:917142;1:5f4a2b;1:917142;1:382b18;1:987849;1:5f4a2b;1:745a36;1:382b18;2:745a36;1:5f4a2b;1:745a36;1:987849;1:745a36;1:4c3d26;1:745a36;1:917142;2:745a36;1:4c3d26;1:917142;1:5f4a2b;1:745a36;1:4c3d26;4:745a36;1:917142;1:745a36;1:4c3d26;1:917142;2:745a36;1:917142;1:382b18;1:745a36;1:4c3d26;1:745a36;2:4c3d26;1:917142;2:745a36;1:917142;1:745a36;1:4c3d26;1:917142;1:4c3d26;1:745a36;1:917142;1:4c3d26;1:745a36;1:4c3d26;2:745a36;1:4c3d26;1:917142;1:745a36;1:5f4a2b"},
log_top = {w=16,h=16,d="1:5f4a2b;1:4c3d26;1:5f4a2b;1:745a36;1:5f4a2b;1:4c3d26;2:5f4a2b;1:745a36;1:4c3d26;2:5f4a2b;1:4c3d26;3:5f4a2b;1:4c3d26;4:b8945f;1:af8f55;1:b8945f;1:af8f55;1:c29d62;2:af8f55;4:b8945f;1:4c3d26;1:5f4a2b;1:b8945f;2:7e6237;2:967441;1:9f844d;1:967441;4:9f844d;2:967441;1:c29d62;2:5f4a2b;1:b8945f;1:7e6237;2:c29d62;4:b8945f;1:af8f55;3:b8945f;1:967441;1:b8945f;2:5f4a2b;1:af8f55;1:967441;1:b8945f;8:af8f55;1:b8945f;1:9f844d;1:af8f55;1:5f4a2b;1:4c3d26;1:b8945f;1:9f844d;1:b8945f;1:af8f55;2:967441;2:9f844d;2:967441;1:af8f55;1:b8945f;1:967441;1:af8f55;1:4c3d26;1:5f4a2b;1:af8f55;1:967441;2:af8f55;1:7e6237;4:af8f55;1:967441;2:af8f55;1:967441;1:b8945f;2:5f4a2b;1:af8f55;1:9f844d;1:b8945f;1:af8f55;1:967441;1:af8f55;2:9f844d;1:af8f55;1:9f844d;1:af8f55;1:b8945f;1:9f844d;1:af8f55;2:5f4a2b;1:af8f55;1:9f844d;1:b8945f;1:af8f55;1:967441;1:af8f55;1:9f844d;1:967441;1:af8f55;1:967441;1:af8f55;1:b8945f;1:967441;1:af8f55;1:5f4a2b;1:4c3d26;1:af8f55;1:9f844d;1:b8945f;1:af8f55;1:967441;4:af8f55;1:9f844d;2:af8f55;1:967441;1:af8f55;1:4c3d26;1:5f4a2b;1:af8f55;1:967441;1:b8945f;1:af8f55;2:967441;1:7e6237;1:967441;2:9f844d;1:af8f55;1:b8945f;1:9f844d;1:af8f55;2:5f4a2b;1:af8f55;1:9f844d;1:b8945f;8:af8f55;1:b8945f;1:967441;1:af8f55;1:5f4a2b;1:4c3d26;1:b8945f;1:9f844d;2:b8945f;1:af8f55;5:b8945f;1:c29d62;1:b8945f;1:967441;1:af8f55;1:4c3d26;1:5f4a2b;1:b8945f;1:9f844d;1:967441;1:9f844d;9:967441;1:b8945f;2:5f4a2b;3:b8945f;2:af8f55;1:b8945f;2:af8f55;1:c29d62;2:af8f55;3:b8945f;2:5f4a2b;1:4c3d26;3:5f4a2b;1:4c3d26;2:5f4a2b;1:745a36;1:4c3d26;2:5f4a2b;1:4c3d26;1:745a36;2:5f4a2b"},
grass_top = {w=16,h=16,d="1:546d33;1:6e9044;1:536c33;2:4c632e;1:516931;1:485e2c;1:4f6730;1:597537;1:556f34;1:4e6630;1:4c642f;1:4d652f;1:5e7b3a;1:3f5327;1:506831;1:546e34;1:4f6730;1:5a7637;1:556f34;1:577135;1:485e2c;1:577135;1:49602d;1:485e2c;1:607d3a;1:5e7b39;1:536c33;1:6e9044;1:4f6730;1:4c642f;1:4f6730;1:5c7838;1:506831;1:475c2b;1:4b612e;1:4d652f;1:4d642f;2:516a32;1:546d33;1:5a7537;1:5f7c3a;1:62803c;1:4c642f;1:435829;1:485e2c;1:67863f;1:435729;1:4b622e;1:4e6630;1:556f34;1:526b32;1:577135;1:475c2b;1:536c32;1:485e2c;1:4a612d;1:506831;1:556f34;1:516931;1:4f6730;1:5e7b3a;1:475c2b;1:5c7838;1:4a612d;1:62803c;1:4a612d;1:617f3c;1:62803c;1:4d642f;1:617f3c;1:698940;1:425628;1:485e2c;1:5e7b3a;1:617e3b;1:475d2b;1:4d642f;1:506831;1:577135;1:567035;1:445829;1:5e7b39;1:495f2d;1:556f34;1:546e34;1:587236;1:4c642f;1:546e34;1:4d642f;1:4a612d;1:445829;1:4d642f;1:506931;1:546d33;1:475d2b;1:587336;1:5d7a39;1:516a32;1:536c32;1:4a612d;1:4e6630;1:485e2c;1:4b612e;1:4c642f;1:66863f;1:617f3c;1:526b32;1:5e7b3a;1:556f34;2:516931;1:4c642f;1:597436;1:4f6730;1:516a32;1:465b2b;1:5d7939;1:4b612e;1:556f34;1:62803c;1:4c642f;1:495f2d;1:516931;1:5a7637;1:485e2c;1:607d3a;1:5e7b3a;1:587236;1:67863f;1:607e3b;1:617f3c;1:495f2d;1:62803c;1:587336;1:65843e;1:607e3b;1:49602d;1:536c32;1:4b622e;1:536c33;1:597537;1:475d2b;1:556f34;1:49602d;1:68873f;1:506831;1:4f6730;1:567035;1:607e3b;1:485e2c;1:4c642f;1:526b32;1:536c32;1:607d3a;1:506931;1:65843e;1:516931;1:495f2d;1:587236;1:597537;1:556f34;1:5d7a39;1:49602d;1:67863f;1:506931;1:536c33;1:6d8e43;1:44592a;1:5e7b3a;1:4a612d;1:516931;1:4d642f;1:556f34;1:516931;1:4b612e;1:62803c;1:4c632e;1:5c7838;1:556f34;1:4b612e;1:536c32;1:4d652f;1:556f34;1:536c32;1:4f6730;1:455b2a;1:65843e;1:485e2c;1:475c2b;1:4e6630;1:698940;1:556f34;1:495f2d;1:4e6630;1:577135;1:526b32;1:4b622e;1:455a2a;1:4e6630;1:526b32;1:4e6630;1:475c2b;1:5a7537;1:5d7a39;1:44592a;1:556f34;1:495f2d;1:5f7c3a;1:435729;1:536c32;1:475c2b;1:577135;1:495f2d;1:6e9044;1:5b7738;1:536c33;1:5f7c3a;1:587236;1:5a7637;1:4d642f;1:5f7c3a;1:62803c;1:5c7838;1:5b7738;1:6d8e43;1:455b2a;1:65843e;1:617e3b;1:546d33;1:536c33;1:475d2b;2:546e34;1:4c642f;1:607d3a;1:597436;1:4f6730;1:44592a;1:4b622e;1:556f34;1:4d642f;1:4d652f;1:5d7939;1:567035;1:546d33;1:536c33;1:506931;1:6c8d42;1:465b2b;1:607d3a;1:4b612e;1:516a32;1:4d642f;1:597537"},
grass_side = {w=16,h=16,d="1:607d3a;1:516a32;1:556f34;1:4f6730;1:607d3a;1:516a32;1:607d3a;2:556f34;1:5a7537;1:607d3a;1:5a7537;1:65833e;1:495f2d;1:5a7537;1:556f34;1:607d3a;1:4f6730;1:607d3a;1:516a32;1:65833e;1:593d29;1:607d3a;1:49602d;1:65833e;1:556f34;1:607d3a;1:536c33;1:607d3a;1:4f6730;1:607d3a;1:4f6730;1:556f34;1:593d29;1:65833e;1:4b612e;1:607d3a;1:593d29;1:516a32;1:593d29;1:607d3a;1:5a7537;1:556f34;1:62803c;1:593d29;1:435829;1:556f34;2:593d29;1:6c6c6c;2:593d29;1:526b32;3:593d29;1:485e2c;1:593d29;1:506831;1:593d29;1:79553a;2:593d29;1:79553a;1:966c4a;1:79553a;1:966c4a;1:b9855c;1:593d29;1:966c4a;2:79553a;3:593d29;1:6c6c6c;1:79553a;1:966c4a;1:593d29;2:79553a;1:593d29;2:966c4a;1:79553a;1:966c4a;3:593d29;2:79553a;1:593d29;3:79553a;2:b9855c;3:79553a;1:878787;2:79553a;2:b9855c;1:79553a;2:b9855c;1:79553a;1:966c4a;1:79553a;1:966c4a;2:79553a;2:b9855c;2:966c4a;2:79553a;1:966c4a;1:593d29;2:966c4a;2:79553a;3:966c4a;2:79553a;1:966c4a;1:79553a;1:966c4a;1:79553a;1:593d29;1:79553a;2:966c4a;3:79553a;1:593d29;2:79553a;1:966c4a;1:593d29;2:79553a;2:593d29;5:79553a;2:b9855c;1:79553a;1:966c4a;1:79553a;1:966c4a;1:79553a;2:b9855c;1:79553a;1:b9855c;1:966c4a;1:593d29;2:b9855c;1:593d29;2:966c4a;1:878787;1:79553a;1:966c4a;2:79553a;2:966c4a;1:b9855c;1:79553a;1:966c4a;1:6c6c6c;2:966c4a;1:79553a;1:593d29;1:966c4a;1:79553a;1:593d29;1:79553a;1:593d29;1:966c4a;1:79553a;2:966c4a;1:b9855c;7:79553a;2:b9855c;1:79553a;1:966c4a;2:79553a;1:745844;1:79553a;2:966c4a;1:79553a;1:593d29;1:b9855c;1:593d29;1:79553a;1:b9855c;3:966c4a;1:79553a;1:593d29;1:b9855c;1:79553a;1:593d29;1:79553a;1:593d29;2:b9855c;1:79553a;1:966c4a;2:79553a;3:966c4a;1:79553a;1:b9855c;2:966c4a;1:79553a;1:878787;1:79553a;2:966c4a;2:79553a;2:966c4a;1:79553a;1:593d29"},
ct_top = {w=16,h=16,d="1:19140c;2:0e0b06;1:19140c;1:41230e;6:733920;1:41230e;1:1a150d;1:0e0b06;1:1a150d;1:19140c;1:0e0b06;2:bc9862;1:41230e;1:9e5932;6:ae693c;1:9e5932;1:41230e;2:bc9862;2:0e0b06;1:bc9862;1:41230e;10:ae693c;1:41230e;1:bc9862;1:0e0b06;1:19140c;1:41230e;1:ae693c;1:553824;1:4b2b18;3:553824;4:4b2b18;1:553824;1:ae693c;1:41230e;1:19140c;1:41230e;1:9e5932;1:ae693c;1:553824;1:9e5932;1:ae693c;1:553824;2:ae693c;1:4b2b18;2:ae693c;1:553824;1:ae693c;1:9e5932;1:41230e;1:733920;2:ae693c;1:553824;2:ae693c;1:4b2b18;1:9e5932;1:ae693c;1:553824;1:9e5932;1:ae693c;1:553824;2:ae693c;2:733920;2:ae693c;2:553824;1:4b2b18;2:553824;1:4b2b18;2:553824;1:4b2b18;1:553824;2:ae693c;2:733920;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;2:733920;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;1:553824;2:ae693c;2:733920;2:ae693c;3:4b2b18;1:553824;2:4b2b18;2:553824;1:4b2b18;1:553824;2:ae693c;2:733920;2:ae693c;1:4b2b18;1:9e5932;1:ae693c;1:4b2b18;1:ae693c;1:9e5932;1:4b2b18;2:ae693c;1:553824;2:ae693c;1:733920;1:41230e;1:9e5932;1:ae693c;1:553824;1:9e5932;1:ae693c;1:4b2b18;2:ae693c;1:4b2b18;1:9e5932;1:ae693c;1:553824;1:ae693c;1:9e5932;1:41230e;1:1a150d;1:41230e;1:ae693c;2:553824;1:4b2b18;7:553824;1:ae693c;1:41230e;1:1a150d;1:0e0b06;1:bc9862;1:41230e;10:ae693c;1:41230e;1:bc9862;1:0e0b06;1:1a150d;2:bc9862;1:41230e;1:9e5932;6:ae693c;1:9e5932;1:41230e;2:bc9862;1:1a150d;1:19140c;1:1a150d;1:0e0b06;1:1a150d;1:41230e;6:733920;1:41230e;1:19140c;2:0e0b06;1:19140c"},
ct_front = {w=16,h=16,d="1:19140c;1:af8f55;1:b8945f;2:c29d62;1:382116;1:733920;2:4b2b18;1:733920;1:382116;3:c29d62;1:b8945f;2:19140c;1:b8945f;2:af8f55;1:967441;1:9f844d;1:382116;2:4b2b18;1:382116;2:af8f55;2:b8945f;1:9f844d;2:19140c;3:b8945f;1:af8f55;1:b8945f;1:af8f55;2:382116;2:9f844d;2:af8f55;2:b8945f;2:19140c;2:7e6237;2:967441;1:7e6237;1:67502c;2:1b160d;1:7e6237;1:67502c;3:41230e;1:7e6237;2:19140c;1:c29d62;1:9f844d;4:c29d62;2:4b2b18;2:c29d62;1:281e0b;1:af8f55;1:281e0b;1:9f844d;2:19140c;2:b8945f;1:41230e;1:9f844d;1:af8f55;1:9f844d;2:382116;2:af8f55;3:281e0b;1:b8945f;2:19140c;1:9f844d;1:af8f55;1:281e0b;3:af8f55;2:382116;2:b8945f;3:b5b5b5;1:9f844d;2:19140c;1:67502c;1:7e6237;1:281e0b;1:967441;1:7e6237;1:67502c;2:1b160d;1:67502c;1:7e6237;1:ffffff;2:d8d8d8;1:7e6237;2:19140c;2:c29d62;1:281e0b;2:af8f55;1:c29d62;2:4b2b18;2:c29d62;1:ffffff;2:d8d8d8;1:b8945f;2:19140c;1:af8f55;3:d8d8d8;1:b8945f;1:af8f55;2:382116;1:9f844d;1:af8f55;1:9f844d;2:d8d8d8;1:9f844d;2:19140c;1:b8945f;1:b5b5b5;1:d8d8d8;1:ffffff;2:9f844d;2:382116;3:af8f55;1:ffffff;1:d8d8d8;1:b8945f;2:19140c;1:67502c;1:7e6237;2:967441;1:7e6237;1:67502c;2:110e08;1:7e6237;1:967441;2:7e6237;1:d8d8d8;1:67502c;2:19140c;1:9f844d;1:b8945f;2:c29d62;2:b8945f;2:4b2b18;2:c29d62;1:9f844d;1:c29d62;1:ffffff;1:c29d62;2:19140c;1:af8f55;2:b8945f;2:9f844d;1:af8f55;2:382116;2:b8945f;1:af8f55;1:b8945f;2:af8f55;2:19140c;2:9f844d;1:af8f55;1:b8945f;1:af8f55;1:9f844d;2:382116;1:b8945f;1:af8f55;4:9f844d;1:19140c;1:1b160d;2:7e6237;2:67502c;1:7e6237;1:967441;1:19140c;1:1b160d;1:7e6237;1:67502c;1:7e6237;3:67502c;1:1b160d"},
ct_side = {w=16,h=16,d="1:19140c;1:af8f55;1:b8945f;2:c29d62;1:382116;1:733920;2:4b2b18;1:733920;1:382116;3:c29d62;1:b8945f;2:19140c;1:b8945f;2:af8f55;1:967441;1:9f844d;1:382116;2:4b2b18;1:382116;2:af8f55;2:b8945f;1:9f844d;2:19140c;3:b8945f;1:af8f55;1:b8945f;1:af8f55;2:262012;2:9f844d;2:af8f55;2:b8945f;2:19140c;2:7e6237;2:967441;1:7e6237;1:67502c;2:1b160d;1:7e6237;1:67502c;1:7e6237;2:67502c;1:7e6237;2:19140c;1:c29d62;1:9f844d;4:c29d62;2:4b2b18;2:c29d62;1:b8945f;2:af8f55;1:9f844d;2:19140c;2:b8945f;1:41230e;1:9f844d;1:41230e;1:9f844d;2:382116;2:af8f55;4:b8945f;2:19140c;1:9f844d;1:af8f55;1:281e0b;1:af8f55;1:281e0b;1:af8f55;2:382116;2:b8945f;2:af8f55;2:9f844d;2:19140c;1:67502c;2:7e6237;1:d8d8d8;1:7e6237;1:67502c;2:1b160d;1:67502c;3:7e6237;1:967441;1:7e6237;2:19140c;2:c29d62;1:d8d8d8;1:af8f55;1:d8d8d8;1:c29d62;2:4b2b18;5:c29d62;1:b8945f;2:19140c;1:af8f55;1:b8945f;1:b5b5b5;1:b8945f;1:b5b5b5;1:af8f55;2:382116;1:9f844d;1:af8f55;1:9f844d;1:af8f55;2:9f844d;2:19140c;1:b8945f;2:af8f55;3:9f844d;2:382116;3:af8f55;2:9f844d;1:b8945f;2:19140c;1:67502c;1:7e6237;2:967441;1:7e6237;1:67502c;2:110e08;1:7e6237;1:967441;2:7e6237;2:67502c;2:19140c;1:9f844d;1:b8945f;2:c29d62;2:b8945f;2:4b2b18;2:c29d62;1:9f844d;1:c29d62;1:b8945f;1:c29d62;2:19140c;1:af8f55;2:b8945f;2:9f844d;1:af8f55;2:382116;2:b8945f;1:af8f55;1:b8945f;2:af8f55;2:19140c;2:9f844d;1:af8f55;1:b8945f;1:af8f55;1:9f844d;2:382116;1:b8945f;1:af8f55;4:9f844d;1:19140c;1:1b160d;2:7e6237;2:67502c;1:7e6237;1:967441;1:19140c;1:1b160d;1:7e6237;1:67502c;1:7e6237;3:67502c;1:1b160d"},
}
local PALETTE = {
A = Color3.fromRGB(43, 30, 13),
B = Color3.fromRGB(51, 36, 17),
C = Color3.fromRGB(129, 83, 57),
D = Color3.fromRGB(63, 42, 21),
E = Color3.fromRGB(118, 75, 51),
F = Color3.fromRGB(144, 89, 63),
G = Color3.fromRGB(143, 94, 62),
H = Color3.fromRGB(73, 37, 16),
I = Color3.fromRGB(36, 24, 8),
J = Color3.fromRGB(155, 99, 73),
K = Color3.fromRGB(179, 121, 94),
L = Color3.fromRGB(183, 131, 107),
M = Color3.fromRGB(170, 114, 89),
N = Color3.fromRGB(52, 37, 18),
O = Color3.fromRGB(255, 255, 255),
P = Color3.fromRGB(82, 61, 137),
Q = Color3.fromRGB(106, 64, 48),
R = Color3.fromRGB(148, 96, 62),
S = Color3.fromRGB(119, 66, 53),
T = Color3.fromRGB(66, 29, 10),
U = Color3.fromRGB(38, 26, 10),
V = Color3.fromRGB(58, 49, 137),
W = Color3.fromRGB(55, 55, 55),
X = Color3.fromRGB(40, 40, 40),
Y = Color3.fromRGB(0, 204, 204),
Z = Color3.fromRGB(0, 175, 175),
a = Color3.fromRGB(0, 164, 164),
b = Color3.fromRGB(10, 188, 188),
c = Color3.fromRGB(65, 53, 155),
d = Color3.fromRGB(70, 58, 165),
e = Color3.fromRGB(4, 149, 149),
f = Color3.fromRGB(0, 127, 127),
g = Color3.fromRGB(5, 136, 136),
h = Color3.fromRGB(0, 104, 104),
i = Color3.fromRGB(3, 122, 122),
j = Color3.fromRGB(74, 74, 74),
k = Color3.fromRGB(63, 63, 63),
l = Color3.fromRGB(85, 85, 85)
}
local SKIN = {
"........AABAABBACCCCCCCC........................................",
"........ABDABDBACCEEEECC........................................",
"........ADBABABAFEEEEEEF........................................",
"........ABABBBABFEEEEEEF........................................",
"........AAABDABDFCEEEECF........................................",
"........BBAABADDCFCCCCFG........................................",
"........BDBABBBBGCGCGCGC........................................",
"........ABBADBAACGHHHHCG........................................",
"AABBAIAABBDDDDBAAAIABBAAABAAIABA................................",
"ABAAIIBBIBBDDBDBDBIIAABAABDAIIBD................................",
"BDBAABDBAJKLKMJNBDBAADBBABBAAIBB................................",
"AIABBIAAJMKKMMMJAAIBBAIABBABAAAB................................",
"ABABAFJIMOPMJPOMIJFABABABIIBBAIB................................",
"BBABIJJJJMMQQMMJJJJIBABBAIIABIIA................................",
"IAIFJGCRFGHSSTGCRCGJFIAIAIIAAIIA................................",
"CFFJGJGCRCTHTHCGFGJGJFFCCCUUUUCC................................",
"....VVVVWWXX........YMJFFJMYVVVVVVVV........ZZZaJMMM............",
"....VVVVXXWW........YJFFFFJYVVVVVVVV........ZZZaMMJF............",
"....VVVVWWXX........YJFFFFJYVVVVVVVV........ZbZaMMMM............",
"....VVVVXXWW........YMJFFJMYVVVVVVVV........aZZaJMJF............",
"ccVcdddVcVcccddVeeeeZaMJJMaZeeeeZaaeeeaZZZZaaaZZffffZZZZ........",
"cVVcdddVcVccddddeggeZZeMMeZZeggeZZZZaZZZZZaaaZZZfhhfZaaZ........",
"cVccdddccVccddddgiigaZaZgaZagiigeZZZeZZeZaaZZZaefhhfZZaa........",
"cVccdddccVccdccdiiiieZZZeZZeiiiiaZZaeZZaffffffffhhhhffff........",
"cVcccVVcccVcVVVViiiigaZZeZZgiiiiaZZeaZZaJJJFJFJFFFFFFJJJ........",
"cVccdccdcVVccVVcgiiggaaZeZZggiigeZZeZZZeMMMJMJMMJFJJMMMM........",
"cVccddddcVccddddggggeZZaeaZgggggeZZaZZaeJMMMMJMJJFJJMJJM........",
"ccccddddcVccddddeggegZZeaaaeeggeeZZaZaaeJMMMMMMJJFJFMMMM........",
"VVccddccccVVccccegeegeaeZZaeeegeaZZaaaegJMJMMMMJJJJFMMMM........",
"jjVVVVVVVVjjjjjjeeeegeegaZZeeeeeaaaeaeggMMJMMMMMJJJJMMMM........",
"WkjjjljjjjkWkjjkcVcVVVccVgaegVVccgegegVdMMJMMMJMJJJJMJMM........",
"WWWkkjjkkWWWWkkWcVcccddcdcggcVccddcVgcddJMMJJMJJFJFJJJMJ........",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"........................................bbbbbbbZaaaaZbbb........",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"....................VVVVXXWW........aZZZMMMJ....................",
"....................VVVVWWXX........aZZZFJMM....................",
"....................VVVVXXWW........aZbZMMMM....................",
"....................VVVVWWXX........aZZaFJMJ....................",
"................ccVcddcccVccdddcffffZZaaaZZZZZZZ................",
"................ccVccdddcVVcddddfhhfZZZaaaZZZaaZ................",
"................ccVcVdddccVcddddfhhfeaZZZaaZaaZZ................",
"................ccVccdddccVcdccdhhhhffffffffffffaaaaZbbbbbbbbbbZ",
"................cVcccVVcccVcVVVVFFFFFJFJFJJJJJJF................",
"................cVVccccdccVccVVcJJFJMMJMJMMMMMMM................",
"................ccVccdddccVcddddJJFJJMJMMMMJMJJM................",
"................ccVcVdddccccddddFJFJJMMMMMMJMMMM................",
"................VVccVcddccVVccccFJJJJMMMMJMJMMMM................",
"................jjVVVVVVVVjjjjjjJJJJMMMMMJMMMMMM................",
"................WkjjjljjjjkWkjjkJJJJMJMMMJMMMMJM................",
"................WWWkkjjkkWWWWkkWJFJFJJMJJMMJJMJJ................"
}
F.decodeRLE = function(s)
local px, i = {}, 0
for count, hex in s:gmatch("(%d+):([%x%-]+)") do
local c = false
if hex ~= "-" then
c = Color3.fromRGB(tonumber(hex:sub(1, 2), 16), tonumber(hex:sub(3, 4), 16), tonumber(hex:sub(5, 6), 16))
end
for _ = 1, tonumber(count) do i += 1 px[i] = c end
end
return px
end
F.buildImage = function(img, s)
if not img.px then img.px = F.decodeRLE(img.d) end
local px, w, h = img.px, img.w, img.h
local f = Instance.new("Frame")
f.Size = UDim2.fromOffset(w * s, h * s)
f.BackgroundTransparency = 1
f.BorderSizePixel = 0
for y = 0, h - 1 do
local x = 0
while x < w do
local c = px[y * w + x + 1]
local run = 1
while x + run < w and px[y * w + x + run + 1] == c do run += 1 end
if c then
local p = Instance.new("Frame")
p.BorderSizePixel = 0
p.BackgroundColor3 = c
p.Position = UDim2.fromOffset(x * s, y * s)
p.Size = UDim2.fromOffset(run * s, s)
p.Parent = f
end
x += run
end
end
return f
end
local vp = camera.ViewportSize
local GS = math.clamp(math.floor(math.min(vp.X / 200, vp.Y / 180)), 1, 4)
F.getPixel = function(x, y)
return PALETTE[SKIN[y + 1]:sub(x + 1, x + 1)]
end
local model = Instance.new("Model")
model.Name = "MinecraftSteve"
F.paintFace = function(part, face, u, v, w, h, flipX, flipY)
local g = Instance.new("SurfaceGui")
g.Face = face
g.SizingMode = Enum.SurfaceGuiSizingMode.FixedSize
g.CanvasSize = Vector2.new(w * 16, h * 16)
g.LightInfluence = 0.7
g.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
g.Parent = part
for row = 0, h - 1 do
local ty = v + (flipY and (h - 1 - row) or row)
local col = 0
while col < w do
local function tx(c) return u + (flipX and (w - 1 - c) or c) end
local c = F.getPixel(tx(col), ty)
local run = 1
while col + run < w and F.getPixel(tx(col + run), ty) == c do run += 1 end
if c then
local f = Instance.new("Frame")
f.BorderSizePixel = 0
f.BackgroundColor3 = c
f.Position = UDim2.fromScale(col / w, row / h)
f.Size = UDim2.fromScale(run / w, 1 / h)
f.Parent = g
end
col += run
end
end
end
F.paintBox = function(part, u, v, w, h, d)
F.paintFace(part, Enum.NormalId.Top, u + d, v, w, d, true, true)
F.paintFace(part, Enum.NormalId.Bottom, u + d + w, v, w, d)
F.paintFace(part, Enum.NormalId.Right, u, v + d, d, h)
F.paintFace(part, Enum.NormalId.Front, u + d, v + d, w, h)
F.paintFace(part, Enum.NormalId.Left, u + d + w, v + d, d, h)
F.paintFace(part, Enum.NormalId.Back, u + 2 * d + w, v + d, w, h)
end
F.toRb = function(v) return Vector3.new(-v.X, -v.Y, v.Z) * PX end
local limbs = {}
F.makeLimb = function(name, origin, size, pivot, u, v)
local part = Instance.new("Part")
part.Name = name
part.Size = size * PX
part.Color = Color3.fromRGB(176, 125, 96)
part.Material = Enum.Material.SmoothPlastic
part.Anchored, part.CanCollide, part.CanQuery, part.CanTouch = true, false, false, false
part.CastShadow = true
part.Parent = model
F.paintBox(part, u, v, size.X, size.Y, size.Z)
limbs[name] = { part = part, pivot = pivot, offset = CFrame.new(F.toRb(origin + size / 2)) }
end
F.makeLimb("head", Vector3.new(-4, -8, -4), Vector3.new(8, 8, 8), Vector3.new(0, 0, 0), 0, 0)
F.makeLimb("body", Vector3.new(-4, 0, -2), Vector3.new(8, 12, 4), Vector3.new(0, 0, 0), 16, 16)
F.makeLimb("rightArm", Vector3.new(-3, -2, -2), Vector3.new(4, 12, 4), Vector3.new(-5, 2, 0), 40, 16)
F.makeLimb("leftArm", Vector3.new(-1, -2, -2), Vector3.new(4, 12, 4), Vector3.new(5, 2, 0), 32, 48)
F.makeLimb("rightLeg", Vector3.new(-2, 0, -2), Vector3.new(4, 12, 4), Vector3.new(-1.9, 12, 0), 0, 16)
F.makeLimb("leftLeg", Vector3.new(-2, 0, -2), Vector3.new(4, 12, 4), Vector3.new(1.9, 12, 0), 16, 48)
F.placeLimb = function(l, root, pivot, rx, ry, rz)
l.part.CFrame = root * CFrame.new(F.toRb(pivot)) * CFrame.fromEulerAnglesXYZ(-rx, -ry, rz) * l.offset
end
F.placeHead = function(root, pivot, pitch, relYaw)
local head = limbs.head
-- Use the same mirrored angle convention as every other Steve limb.
-- Apply yaw and pitch separately so turning the head cannot roll/twist the neck.
-- Head angles use the same direction as the camera: positive yaw turns right,
-- and positive pitch looks upward. The previous negative signs inverted both axes.
head.part.CFrame = root * CFrame.new(F.toRb(pivot))
* CFrame.Angles(0, relYaw, 0) * CFrame.Angles(pitch, 0, 0) * head.offset
end
F.poseSteve = function(root, pitch, relYaw, walkPos, walkSpeed, age, crouch, holdingItem, interpolatedSwing)
local pi = math.pi
local rArmX = math.cos(walkPos * 0.6662 + pi) * 2 * walkSpeed * 0.5
local lArmX = math.cos(walkPos * 0.6662) * 2 * walkSpeed * 0.5
local swingProgress = math.clamp(interpolatedSwing or F.swingProgress or 0, 0, 1)
local eatBlend = math.clamp(F.eatAnimationBlend or (F.eating and 1 or 0), 0, 1)
local eatElapsed = math.clamp(F.renderEatTime or F.eatTime or 0, 0, 32)
local eatRemaining = 1 - eatElapsed / 32
local eatPull = 1 - eatRemaining ^ 27
local rArmY, lArmY, rArmSwingZ = 0, 0, 0
local bodySwingYaw = 0
-- ModelBiped's ITEM arm pose: a held item rests slightly forward instead of
-- leaving the arm in the empty-hand walk pose.
if holdingItem then rArmX = rArmX * 0.5 - pi / 10 end
-- Minecraft 1.12 biped attack math. Use render-interpolated progress so this
-- curve is smooth at 60 FPS even though the simulation advances at 20 TPS.
if swingProgress > 0 then
bodySwingYaw = math.sin(math.sqrt(swingProgress) * pi * 2) * 0.2
local eased = 1 - swingProgress
eased = 1 - eased * eased * eased * eased
local f2 = math.sin(eased * pi)
local f3 = math.sin(swingProgress * pi) * -(pitch - 0.7) * 0.75
rArmX -= f2 * 1.2 + f3
-- Main-hand arm receives body yaw plus the extra 2x ModelBiped swing term.
rArmY += bodySwingYaw * 3
lArmY += bodySwingYaw
lArmX += bodySwingYaw
rArmSwingZ = math.sin(swingProgress * pi) * -0.4
end
-- Keep eating as a held-input action, with the arm easing toward the mouth
-- during the same 32-tick use window as Java 1.12.x.
if eatBlend > 0.001 then
rArmX -= eatBlend * eatPull * 0.48
end
local rLegX = math.cos(walkPos * 0.6662) * 1.4 * walkSpeed
local lLegX = math.cos(walkPos * 0.6662 + pi) * 1.4 * walkSpeed
local headP, bodyP = Vector3.new(0, 0, 0), Vector3.new(0, 0, 0)
local rArmP = Vector3.new(-math.cos(bodySwingYaw) * 5, 2, math.sin(bodySwingYaw) * 5)
local lArmP = Vector3.new(math.cos(bodySwingYaw) * 5, 2, -math.sin(bodySwingYaw) * 5)
local rLegP, lLegP = Vector3.new(-1.9, 12, 0), Vector3.new(1.9, 12, 0)
local bodyX = 0
if crouch then
bodyX = 0.5
rArmX += 0.4 lArmX += 0.4
rLegP += Vector3.new(0, 0, 4) lLegP += Vector3.new(0, 0, 4)
headP += Vector3.new(0, 4.2, 0)
bodyP += Vector3.new(0, 3.2, 0)
rArmP += Vector3.new(0, 3.2, 0) lArmP += Vector3.new(0, 3.2, 0)
end
local rBobZ = math.cos(age * 0.09) * 0.05 + 0.05
local lBobZ = -rBobZ
rArmX += math.sin(age * 0.067) * 0.05
lArmX -= math.sin(age * 0.067) * 0.05
F.placeHead(root, headP, pitch, relYaw)
F.placeLimb(limbs.body, root, bodyP, bodyX, bodySwingYaw, 0)
F.placeLimb(limbs.rightArm, root, rArmP, rArmX, rArmY, rBobZ + rArmSwingZ)
F.placeLimb(limbs.leftArm, root, lArmP, lArmX, lArmY, lBobZ)
F.placeLimb(limbs.rightLeg, root, rLegP, rLegX, 0.005, 0.005)
F.placeLimb(limbs.leftLeg, root, lLegP, lLegX, -0.005, -0.005)
return rArmP, rArmX, rBobZ, rArmY, rArmSwingZ
end
local ITEMS = {
diamond_sword = { name = "Diamond Sword", max = 1 },
diamond_pickaxe = { name = "Diamond Pickaxe", max = 1 },
diamond_axe = { name = "Diamond Axe", max = 1 },
diamond_shovel = { name = "Diamond Shovel", max = 1 },
cooked_beef = { name = "Steak" },
bread = { name = "Bread" },
apple = { name = "Apple" },
torch = { name = "Torch" },
stick = { name = "Stick" },
coal = { name = "Coal" },
iron_ingot = { name = "Iron Ingot" },
diamond = { name = "Diamond" },
bucket = { name = "Bucket", max = 16 },
stone = { name = "Stone", placeable = true, hardness = 1.5 },
dirt = { name = "Dirt", placeable = true, hardness = 0.5 },
cobblestone = { name = "Cobblestone", placeable = true, hardness = 2.0 },
oak_planks = { name = "Oak Planks", placeable = true, hardness = 2.0 },
oak_log = { name = "Oak Log", placeable = true, hardness = 2.0 },
grass_block = { name = "Grass Block", placeable = true, hardness = 0.6 },
crafting_table = { name = "Crafting Table", placeable = true, hardness = 2.5 },
ladder = { name = "Ladder", placeable = true, hardness = 0.4 },
}
local slots = {}
local carried = nil
F.maxOf = function(id) return ITEMS[id].max or 64 end
F.canPlace = function(idx, st)
if idx == 0 or st == nil or ITEMS[st.id] == nil then return false end
if idx >= 5 and idx <= 8 then return ITEMS[st.id].armorSlot == idx end
return true
end
F.insertStack = function(st, a, b)
if F.maxOf(st.id) > 1 then
for i = a, b do
local s = slots[i]
if s and s.id == st.id and s.n < F.maxOf(s.id) then
local mv = math.min(F.maxOf(s.id) - s.n, st.n)
s.n += mv st.n -= mv
if st.n <= 0 then return true end
end
end
end
for i = a, b do
if not slots[i] and F.canPlace(i, st) then
slots[i] = { id = st.id, n = st.n }
st.n = 0
return true
end
end
return st.n <= 0
end
F.canFit = function(id, n, a, b)
local room = 0
for i = a, b do
local s = slots[i]
if s == nil then room += F.maxOf(id) elseif s.id == id then room += F.maxOf(id) - s.n end
end
return room >= n
end
F.give = function(id, n, a, b)
local st = { id = id, n = n }
F.insertStack(st, a or 9, b or 44)
end
F.updateCraft = function()
local g = {}
local count = 0
for i = 1, 4 do g[i] = slots[i] and slots[i].id or nil if g[i] then count += 1 end end
local r = nil
if count == 1 then
for i = 1, 4 do if g[i] == "oak_log" then r = { id = "oak_planks", n = 4 } end end
elseif count == 2 then
if (g[1] == "oak_planks" and g[3] == "oak_planks") or (g[2] == "oak_planks" and g[4] == "oak_planks") then
r = { id = "stick", n = 4 }
elseif (g[1] == "coal" and g[3] == "stick") or (g[2] == "coal" and g[4] == "stick") then
r = { id = "torch", n = 4 }
end
elseif count == 4 then
if g[1] == "oak_planks" and g[2] == "oak_planks" and g[3] == "oak_planks" and g[4] == "oak_planks" then
r = { id = "crafting_table", n = 1 }
end
end
slots[0] = r
end
F.consumeCraft = function()
for i = 1, 4 do
local s = slots[i]
if s then s.n -= 1 if s.n <= 0 then slots[i] = nil end end
end
F.updateCraft()
end
slots[36] = { id = "diamond_sword", n = 1 }
slots[37] = { id = "diamond_pickaxe", n = 1 }
slots[38] = { id = "diamond_axe", n = 1 }
slots[39] = { id = "diamond_shovel", n = 1 }
slots[40] = { id = "cooked_beef", n = 64 }
slots[41] = { id = "oak_planks", n = 64 }
slots[42] = { id = "cobblestone", n = 64 }
slots[43] = { id = "grass_block", n = 64 }
slots[44] = { id = "dirt", n = 64 }
F.give("stone", 64) F.give("dirt", 64) F.give("oak_log", 64)
F.give("stick", 64) F.give("coal", 64) F.give("iron_ingot", 64) F.give("diamond", 32)
F.give("apple", 64) F.give("bread", 64) F.give("bucket", 1)
F.give("ladder", 64) -- Crafting table and torch remain available through crafting recipes.
local abilities = {
invulnerable = true,
flying = false,
mayfly = true,
instabuild = true,
mayBuild = true,
flyingSpeed = 0.05,
walkingSpeed = 0.1,
}
local creative = true
local jumpTriggerTime = 0
local pos, eyeH, selected, refresh, touchJumpHeld, yaw, pitch, rp
local invOpen = false
local inventoryPage = "creative"
local hudVisible = true
local creativePlaceholder = nil
local creativePlaceholderOpen = false
local creativeTabButton = nil
local panel
local debugPanel, debugText
local chatPanel, chatInput, chatHistoryLabel, chatRowsFrame
local chatOpen = false
local mobileDpad = nil
local mobileMoveVector = Vector3.zero
local mobileHeldDirections = { Forward = false, Back = false, Left = false, Right = false }
local lastMobileForwardTap = -math.huge
local sprintLatch = false
local prevPos, vel
local recalcTouchMove
pos = Vector3.new(0, 10, 0)
eyeH = 1.62
selected = 0
touchJumpHeld = false
yaw, pitch = 0, 0
rp = RaycastParams.new()
rp.FilterType = Enum.RaycastFilterType.Exclude
F.rpPick = RaycastParams.new()
F.rpPick.FilterType = Enum.RaycastFilterType.Exclude
F.rpPick.RespectCanCollide = false
rp.RespectCanCollide = true
local entityRayParams = RaycastParams.new()
entityRayParams.FilterType = Enum.RaycastFilterType.Exclude
entityRayParams.RespectCanCollide = false
F.setGameMode = function(isCreative)
creative = isCreative
if isCreative then
abilities.mayfly = true
abilities.instabuild = true
abilities.invulnerable = true
abilities.mayBuild = true
else
abilities.mayfly = false
abilities.instabuild = false
abilities.invulnerable = false
abilities.flying = false
abilities.mayBuild = true
end
if not invOpen then
inventoryPage = isCreative and "creative" or "survival"
else
inventoryPage = isCreative and "creative" or "survival"
end
if F.updateInventoryPage then F.updateInventoryPage() end
end
F.setGameMode(true)
local REACH_SURVIVAL = 4.5
local REACH_CREATIVE = 5.0
local DESTROY_DELAY_CREATIVE = 5
local isDestroying = false
local destroyBlockPos = nil
local destroyPart = nil
local destroyingItemId = nil
local destroyProgress = 0
local destroyTicks = 0
local destroyDelay = 0
local rightClickDelay = 0
local missTime = 0
do
local old = workspace:FindFirstChild("MCBlocks")
if old then old:Destroy() end
end
local char, hum, hrp
local blockFolder = Instance.new("Folder")
blockFolder.Name = "MCBlocks"
blockFolder.Parent = workspace
local existingDropFolder = workspace:FindFirstChild("MCDroppedItems")
if existingDropFolder then existingDropFolder:Destroy() end
local dropFolder = Instance.new("Folder")
dropFolder.Name = "MCDroppedItems"
dropFolder.Parent = workspace
F.baseplateOriginals = {} -- retained empty for cleanup compatibility
F.voxelOriginals = {} -- no voxel conversions are performed
F.snapToGrid = function(v)
return Vector3.new(
math.floor(v.X / BLOCK + 0.5) * BLOCK,
math.floor(v.Y / BLOCK + 0.5) * BLOCK,
math.floor(v.Z / BLOCK + 0.5) * BLOCK
)
end
local BLOCK_COLORS = {
stone = Color3.fromRGB(125, 125, 125),
dirt = Color3.fromRGB(134, 96, 67),
cobblestone = Color3.fromRGB(110, 110, 110),
oak_planks = Color3.fromRGB(162, 130, 78),
oak_log = Color3.fromRGB(102, 81, 50),
grass_block = Color3.fromRGB(91, 138, 54),
crafting_table = Color3.fromRGB(120, 90, 50),
}
F.isMCBlock = function(part)
return part and part:IsA("BasePart") and part:GetAttribute("MCBlockId") ~= nil
end
-- Any raycastable world BasePart can be selected and broken. Generated dropped items
-- are excluded so aiming at an item does not accidentally destroy the pickup.
F.isBreakableTarget = function(part)
if not (part ~= nil and part:IsA("BasePart") and part.Parent ~= nil) then return false end
if dropFolder and part:IsDescendantOf(dropFolder) then return false end
-- A part beneath a Model with a Humanoid is an entity, not a block/CSG target.
if F.getEntityTarget and F.getEntityTarget(part) then return false end
return true
end
local MCB = (function()
local blocks = {}
local bulkBuild = false
local painted = setmetatable({}, { __mode = "k" })
local function cellKey(center)
return math.floor(center.X / BLOCK + 0.5) .. ":" .. math.floor(center.Y / BLOCK + 0.5) .. ":" .. math.floor(center.Z / BLOCK + 0.5)
end
local function getBlockAt(center) return blocks[cellKey(center)] end
local BLOCKFACES = {
stone = { all = "stone" },
dirt = { all = "dirt" },
cobblestone = { all = "cobble" },
oak_planks = { all = "planks" },
oak_log = { top = "log_top", bottom = "log_top", side = "log" },
grass_block = { top = "grass_top", bottom = "dirt", side = "grass_side" },
crafting_table = { top = "ct_top", bottom = "planks", front = "ct_front", side = "ct_side" },
}
local FACES = {
{ Enum.NormalId.Top, Vector3.yAxis }, { Enum.NormalId.Bottom, -Vector3.yAxis },
{ Enum.NormalId.Front, -Vector3.zAxis }, { Enum.NormalId.Back, Vector3.zAxis },
{ Enum.NormalId.Right, Vector3.xAxis }, { Enum.NormalId.Left, -Vector3.xAxis },
}
local function faceTexKey(id, nid)
local F = BLOCKFACES[id]
if not F then return nil end
if F.all then return F.all end
if nid == Enum.NormalId.Top then return F.top end
if nid == Enum.NormalId.Bottom then return F.bottom or F.top end
if F.front and (nid == Enum.NormalId.Front or nid == Enum.NormalId.Left) then return F.front end
return F.side
end
local function rectsOf(px, w, h)
local used, out = {}, {}
for y = 0, h - 1 do
for x = 0, w - 1 do
local i = y * w + x + 1
local c = px[i]
if c and not used[i] then
local rw = 1
while x + rw < w and px[i + rw] == c and not used[i + rw] do rw += 1 end
local rh, ok = 1, true
while ok and y + rh < h do
for dx = 0, rw - 1 do
local j = (y + rh) * w + x + dx + 1
if px[j] ~= c or used[j] then ok = false break end
end
if ok then rh += 1 end
end
for dy = 0, rh - 1 do for dx = 0, rw - 1 do used[(y + dy) * w + x + dx + 1] = true end end
out[#out + 1] = { x = x, y = y, w = rw, h = rh, c = c }
end
end
end
return out
end
local faceTpl = {}
local function faceTemplate(texKey, nid)
local ck = texKey .. nid.Name
local g = faceTpl[ck]
if g then return g end
local tex = BTEX[texKey]
if not tex then return nil end
if not tex.px then tex.px = F.decodeRLE(tex.d) end
g = Instance.new("SurfaceGui")
g.Face = nid
g.SizingMode = Enum.SurfaceGuiSizingMode.FixedSize
g.CanvasSize = Vector2.new(64, 64)
g.LightInfluence = 0.5
g.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
for _, r in ipairs(rectsOf(tex.px, 16, 16)) do
local f = Instance.new("Frame")
f.BorderSizePixel = 0
f.BackgroundColor3 = r.c
f.Position = UDim2.fromOffset(r.x * 4, r.y * 4)
f.Size = UDim2.fromOffset(r.w * 4, r.h * 4)
f.Parent = g
end
faceTpl[ck] = g
return g
end
local function paintFaceOf(part, nid, id)
local key = faceTexKey(id, nid)
local tpl = key and faceTemplate(key, nid)
if tpl then tpl:Clone().Parent = part end
end
local function refreshFaces(part)
if bulkBuild or not part.Parent then return end
local id = part:GetAttribute("MCBlockId")
if not id or id == "ladder" then return end
local cell = part:GetAttribute("MCCell") or part.Position
local p = painted[part]
if not p then p = {} painted[part] = p end
for _, f in ipairs(FACES) do
if not p[f[1]] then
local nb = getBlockAt(cell + f[2] * BLOCK)
if not nb or nb:GetAttribute("MCClimb") then
p[f[1]] = true
paintFaceOf(part, f[1], id)
end
end
end
end
local function buildLadderVisual(part, center, n)
local tex = ICON.ladder
if not tex.px then tex.px = F.decodeRLE(tex.d) end
local right = (-n):Cross(Vector3.yAxis)
for _, r in ipairs(rectsOf(tex.px, 16, 16)) do
local v = Instance.new("Part")
v.Size = Vector3.new(r.w, r.h, 1) * PX
v.Color = r.c
v.Material = Enum.Material.SmoothPlastic
v.Anchored, v.CanCollide, v.CanQuery, v.CanTouch, v.CastShadow = true, false, false, false, false
local p = center - n * (BLOCK / 2) + n * (1.3 * PX) + right * ((r.x + r.w / 2 - 8) * PX) + Vector3.yAxis * ((8 - r.y - r.h / 2) * PX)
v.CFrame = CFrame.fromMatrix(p, right, Vector3.yAxis, n)
v.Parent = part
end
end
local function createBlock(id, center, face)
center = F.snapToGrid(center)
if getBlockAt(center) then return nil end
local part = Instance.new("Part")
part.Name = id
part.Anchored = true
part.CanTouch = false
part.TopSurface = Enum.SurfaceType.Smooth
part.BottomSurface = Enum.SurfaceType.Smooth
part.Material = Enum.Material.SmoothPlastic
part:SetAttribute("MCBlockId", id)
part:SetAttribute("MCCell", center)
if id == "ladder" then
local n = (face and math.abs(face.Y) < 0.5) and face or Vector3.zAxis
local t = 2 / 16 * BLOCK
local alongX = math.abs(n.X) > 0.5
part.Size = alongX and Vector3.new(t, BLOCK, BLOCK) or Vector3.new(BLOCK, BLOCK, t)
part.CFrame = CFrame.new(center - n * (BLOCK / 2 - t / 2))
part.Transparency = 1
part.CanCollide = false
part.CanQuery = true
part.CastShadow = false
part:SetAttribute("MCClimb", true)
part:SetAttribute("MCLadderN", n)
F.ladderSet = F.ladderSet or {}
F.ladderSet[part] = true
buildLadderVisual(part, center, n)
else
part.Size = Vector3.new(BLOCK, BLOCK, BLOCK)
part.CFrame = CFrame.new(center)
part.CanCollide = true
part.CanQuery = true
part.CastShadow = true
part.Color = BLOCK_COLORS[id] or Color3.fromRGB(150, 150, 150)
end
blocks[cellKey(center)] = part
part.Parent = blockFolder
refreshFaces(part)
return part
end
local function removeBlock(part)
local cell = part:GetAttribute("MCCell") or part.Position
blocks[cellKey(cell)] = nil
painted[part] = nil
part:Destroy()
for _, f in ipairs(FACES) do
local nb = getBlockAt(cell + f[2] * BLOCK)
if nb then refreshFaces(nb) end
end
end
return {
get = getBlockAt, create = createBlock, remove = removeBlock, refresh = refreshFaces,
paintFace = paintFaceOf, rects = rectsOf, FACES = FACES, BLOCKFACES = BLOCKFACES, blocks = blocks,
setBulk = function(v) bulkBuild = v end,
}
end)()
local getBlockAt, createBlock, removeBlock = MCB.get, MCB.create, MCB.remove
-- All world geometry stays as its existing geometry. No baseplate chunking,
-- voxelization, or replacement with generated block Parts is performed.
-- A target cell is identified on the same world grid used by placed MC blocks.
F.getGridCellCenter = function(part, hitPos, hitNormal)
if F.isMCBlock(part) then
return part:GetAttribute("MCCell") or F.snapToGrid(part.Position)
end
if not hitPos then
return F.snapToGrid(part and part.Position or Vector3.zero)
end
local n = hitNormal or Vector3.yAxis
local ax, ay, az = math.abs(n.X), math.abs(n.Y), math.abs(n.Z)
local face
if ay >= ax and ay >= az then
face = Vector3.new(0, n.Y >= 0 and 1 or -1, 0)
elseif ax >= az then
face = Vector3.new(n.X >= 0 and 1 or -1, 0, 0)
else
face = Vector3.new(0, 0, n.Z >= 0 and 1 or -1)
end
return F.snapToGrid(hitPos - face * (BLOCK * 0.5))
end
-- Cut exactly one grid-sized cube out of the world geometry in the selected cell.
-- Every part that overlaps the cell is cut on its own, so each keeps its own
-- material, color and transparency (for example a visible grass part and an
-- invisible anti-cheat hitbox are never merged into one union). Roblox's CSG
-- result is a UnionOperation; it is not expanded into a collection of Parts.
F.cutGridCellWithUnion = function(source, cellCenter)
if not (source and source.Parent and source:IsA("BasePart") and cellCenter) then
return false
end
if source:IsDescendantOf(dropFolder) or source.Name == "MCSelectionGridProxy" then
return false
end
if F.isMCBlock(source) then
removeBlock(source)
return true
end
local GeometryService = game:GetService("GeometryService")
local half = BLOCK * 0.5
local cellCFrame = CFrame.new(cellCenter)
-- Collect every eligible world part whose bounds intersect the selected cell.
local excluded = { dropFolder, blockFolder, model }
if char then table.insert(excluded, char) end
local overlap = OverlapParams.new()
overlap.FilterType = Enum.RaycastFilterType.Exclude
overlap.FilterDescendantsInstances = excluded
overlap.RespectCanCollide = false
overlap.MaxParts = 0
local targets, seen = {}, {}
local function addTarget(part)
if not (part and part.Parent and part:IsA("BasePart")) then return end
if seen[part] or part:IsDescendantOf(dropFolder) or part:IsDescendantOf(blockFolder) then return end
if part.Name == "MCSelectionGridProxy" then return end
if F.getEntityTarget and F.getEntityTarget(part) then return end
local playerModel = part:FindFirstAncestorOfClass("Model")
if playerModel and Players:GetPlayerFromCharacter(playerModel) then return end
seen[part] = true
table.insert(targets, part)
end
addTarget(source)
local overlapOK, overlapping = pcall(function()
return workspace:GetPartBoundsInBox(cellCFrame, Vector3.one * BLOCK, overlap)
end)
if overlapOK and type(overlapping) == "table" then
for _, part in ipairs(overlapping) do addTarget(part) end
end
if #targets == 0 then return false end
local function partInsideCell(part)
for sx = -1, 1, 2 do
for sy = -1, 1, 2 do
for sz = -1, 1, 2 do
local corner = part.CFrame:PointToWorldSpace(Vector3.new(
part.Size.X * 0.5 * sx,
part.Size.Y * 0.5 * sy,
part.Size.Z * 0.5 * sz
))
local localCorner = cellCFrame:PointToObjectSpace(corner)
if math.abs(localCorner.X) > half + 0.01
or math.abs(localCorner.Y) > half + 0.01
or math.abs(localCorner.Z) > half + 0.01 then
return false
end
end
end
end
return true
end
local options = {
CollisionFidelity = Enum.CollisionFidelity.Default,
RenderFidelity = Enum.RenderFidelity.Automatic,
SplitApart = false,
}
local function cutOnePart(target)
if not (target and target.Parent) then return false end
local targetParent = target.Parent
local targetCFrame = target.CFrame
local targetName = target.Name
local targetAttributes = target:GetAttributes()
local cutter = Instance.new("Part")
cutter.Name = "MCUnionCutCutter"
cutter.Size = Vector3.one * BLOCK
cutter.CFrame = cellCFrame
cutter.Anchored = true
cutter.CanCollide = false
cutter.CanTouch = false
cutter.CanQuery = false
cutter.CastShadow = false
cutter.Transparency = 1
local cutOK, cutRaw = pcall(function()
return GeometryService:SubtractAsync(target, { cutter }, options)
end)
cutter:Destroy()
local results = {}
if cutOK and type(cutRaw) == "table" then
for _, item in ipairs(cutRaw) do
if typeof(item) == "Instance" and item:IsA("BasePart") then table.insert(results, item) end
end
end
local function destroyResults()
for _, item in ipairs(results) do
if item then pcall(function() item:Destroy() end) end
end
end
if not cutOK or type(cutRaw) ~= "table" then
destroyResults()
if partInsideCell(target) then
pcall(function() target:Destroy() end)
return true
end
warn("[PI3] Union cell cut failed for " .. targetName .. "; it was left unchanged.")
return false
end
-- An empty successful result means this part was entirely inside the cell.
if #results == 0 then
pcall(function() target:Destroy() end)
return true
end
for index, result in ipairs(results) do
-- Each cut piece keeps the properties of the part it came from.
pcall(function() result.CFrame = targetCFrame end)
result.Name = index == 1 and targetName or (targetName .. "_CutPart" .. tostring(index))
pcall(function() result.Color = target.Color end)
pcall(function() result.Material = target.Material end)
pcall(function() result.MaterialVariant = target.MaterialVariant end)
pcall(function() result.Reflectance = target.Reflectance end)
pcall(function() result.Transparency = target.Transparency end)
pcall(function() result.LocalTransparencyModifier = target.LocalTransparencyModifier end)
pcall(function() result.Anchored = target.Anchored end)
pcall(function() result.CanCollide = target.CanCollide end)
pcall(function() result.CanQuery = target.CanQuery end)
pcall(function() result.CanTouch = target.CanTouch end)
pcall(function() result.CastShadow = target.CastShadow end)
pcall(function() result.CollisionGroup = target.CollisionGroup end)
pcall(function() result.CustomPhysicalProperties = target.CustomPhysicalProperties end)
pcall(function()
if result:IsA("PartOperation") and target:IsA("PartOperation") then
result.UsePartColor = target.UsePartColor
end
end)
for name, value in pairs(targetAttributes) do
pcall(function() result:SetAttribute(name, value) end)
end
result:SetAttribute("MCClientUnionReplacement", true)
result.Parent = targetParent
end
-- Keep textures, decals, surface GUIs and attachments from the original.
local firstResult = results[1]
for _, child in ipairs(target:GetChildren()) do
if not child:IsA("BasePart") and not child:IsA("Model") and child.Parent == target then
pcall(function() child.Parent = firstResult end)
end
end
pcall(function() target:Destroy() end)
return true
end
local changed = false
for _, target in ipairs(targets) do
if cutOnePart(target) then changed = true end
end
return changed
end
-- Resolving a target is deliberately read-only. The same hit cell is used for
-- highlighting, breaking, and placement; no world geometry is changed here.
F.resolveBreakTarget = function(part, hitPos, hitNormal)
return part, hitPos, hitNormal
end
local selectBox = Instance.new("SelectionBox")
selectBox.Color3 = Color3.new(0, 0, 0)
selectBox.LineThickness = 0.012
selectBox.Transparency = 0.3
selectBox.Name = "MCSelectBox"
local selectionProxy = Instance.new("Part")
selectionProxy.Name = "MCSelectionGridProxy"
selectionProxy.Size = Vector3.new(BLOCK, BLOCK, BLOCK)
selectionProxy.Anchored = true
selectionProxy.CanCollide = false
selectionProxy.CanTouch = false
selectionProxy.CanQuery = false
selectionProxy.CastShadow = false
selectionProxy.Transparency = 1
selectionProxy.Parent = workspace
local crackOverlay = Instance.new("SelectionBox")
crackOverlay.Color3 = Color3.new(1, 1, 1)
crackOverlay.LineThickness = 0.025
crackOverlay.Transparency = 1
crackOverlay.Name = "MCCrackOverlay"
F.setDestroyStage = function(stage)
if stage < 0 or not destroyPart then
crackOverlay.Adornee = nil
crackOverlay.Transparency = 1
else
-- Crack feedback follows the same single-cell proxy used for selection.
crackOverlay.Adornee = (destroyPart:GetAttribute("MCBlockId") == "ladder") and destroyPart or selectionProxy
crackOverlay.Transparency = 1 - math.clamp(stage / 9, 0, 1) * 0.85
end
end
F.getDestroyStage = function()
return destroyProgress > 0 and math.floor(destroyProgress * 10) or -1
end
F.getDestroyProgressFor = function(id)
local h = (id == "baseplate") and 0.6 or ((ITEMS[id] and ITEMS[id].hardness) or 1.0)
if h <= 0 then return 1 end
return 1 / (h * 30)
end
F.stopDestroyBlock = function()
if isDestroying then
isDestroying = false
destroyProgress = 0
destroyTicks = 0
F.setDestroyStage(-1)
destroyPart = nil
destroyBlockPos = nil
destroyingItemId = nil
end
end
F.destroyBlock = function(part, cellCenter)
if not F.isBreakableTarget(part) then return false end
local id = part:GetAttribute("MCBlockId")
cellCenter = cellCenter or F.getGridCellCenter(part, nil, nil)
local removed = F.cutGridCellWithUnion(part, cellCenter)
if removed then F.checkLadders() end
if removed and not abilities.instabuild and id and ITEMS[id] then
F.spawnBlockDrop(id, cellCenter)
end
return removed
end
F.sameDestroyTarget = function(part, cellCenter)
if not part or not destroyPart then return false end
local held = slots[36 + selected]
local sid = held and held.id or nil
return part == destroyPart and cellCenter == destroyBlockPos and sid == destroyingItemId
end
F.startDestroyBlock = function(part, _direction, hitPos, hitNormal)
if not abilities.mayBuild then return false end
if F.heldIsTool and F.heldIsTool() then return false end
if not F.isBreakableTarget(part) then return false end
local cellCenter = F.getGridCellCenter(part, hitPos, hitNormal)
if abilities.instabuild then
F.destroyBlock(part, cellCenter)
destroyDelay = DESTROY_DELAY_CREATIVE
return true
end
if not isDestroying or not F.sameDestroyTarget(part, cellCenter) then
if isDestroying then F.stopDestroyBlock() end
local id = part:GetAttribute("MCBlockId")
local prog = F.getDestroyProgressFor(id)
if prog >= 1 then
F.destroyBlock(part, cellCenter)
else
isDestroying = true
destroyPart = part
destroyBlockPos = cellCenter
local held = slots[36 + selected]
destroyingItemId = held and held.id or nil
destroyProgress = 0
destroyTicks = 0
F.setDestroyStage(0)
end
end
return true
end
F.continueDestroyBlock = function(part, _direction, hitPos, hitNormal)
if destroyDelay > 0 then
destroyDelay -= 1
return true
end
if not F.isBreakableTarget(part) then return false end
local cellCenter = F.getGridCellCenter(part, hitPos, hitNormal)
if abilities.instabuild then
destroyDelay = DESTROY_DELAY_CREATIVE
F.destroyBlock(part, cellCenter)
return true
end
if F.sameDestroyTarget(part, cellCenter) then
if not part.Parent then
isDestroying = false
return false
end
local id = part:GetAttribute("MCBlockId")
destroyProgress += F.getDestroyProgressFor(id)
destroyTicks += 1
F.setDestroyStage(F.getDestroyStage())
if destroyProgress >= 1 then
isDestroying = false
F.destroyBlock(part, cellCenter)
destroyProgress = 0
destroyTicks = 0
destroyDelay = DESTROY_DELAY_CREATIVE
F.setDestroyStage(-1)
destroyPart = nil
end
return true
else
return F.startDestroyBlock(part, _direction, hitPos, hitNormal)
end
end
F.pickBlock = function()
local reach = (abilities and abilities.instabuild) and REACH_CREATIVE or REACH_SURVIVAL
local p = pos or Vector3.zero
local eh = eyeH or 1.62
local y = yaw or 0
local pi = pitch or 0
local eye = p + Vector3.new(0, eh * BLOCK, 0)
local look = (CFrame.Angles(0, y, 0) * CFrame.Angles(pi, 0, 0)).LookVector
local dir = look * (reach * BLOCK)
if not rp then return nil, nil, nil end
-- Non-collidable block parts (the ladder plate) must be targetable too; other non-collidable
-- parts fall back to the normal collidable-only ray.
local r = workspace:Raycast(eye, dir, F.rpPick)
if r and not r.Instance.CanCollide and not F.isMCBlock(r.Instance) then
r = workspace:Raycast(eye, dir, rp)
end
-- If the normal ray already hit a collidable limb, return it without extra work.
if r and F.getEntityTarget then
local alreadyEntity = F.getEntityTarget(r.Instance)
if alreadyEntity then return r.Instance, r.Position, r.Normal end
end
-- Standard block targeting intentionally ignores non-collidable BaseParts. This
-- second ray lets Humanoid limbs/accessories count as entities without changing
-- which ordinary world parts are eligible for union-cut block breaking.
local excluded = {}
for _, item in ipairs(rp.FilterDescendantsInstances or {}) do excluded[#excluded + 1] = item end
if dropFolder then excluded[#excluded + 1] = dropFolder end
entityRayParams.FilterDescendantsInstances = excluded
local blockDistance = r and (r.Position - eye).Magnitude or math.huge
for _ = 1, 16 do
local candidate = workspace:Raycast(eye, dir, entityRayParams)
if not candidate then break end
local entity, entityHumanoid
if F.getEntityTarget then entity, entityHumanoid = F.getEntityTarget(candidate.Instance) end
if entity and entityHumanoid then
local entityDistance = (candidate.Position - eye).Magnitude
if entityDistance < blockDistance then
return candidate.Instance, candidate.Position, candidate.Normal
end
break
end
-- Skip non-collidable decorative parts only. A collidable obstacle blocks the
-- entity ray here, matching the normal block ray's line-of-sight behavior.
if candidate.Instance.CanCollide then break end
excluded[#excluded + 1] = candidate.Instance
entityRayParams.FilterDescendantsInstances = excluded
end
if not r then return nil, nil, nil end
return r.Instance, r.Position, r.Normal
end
F.faceFromNormal = function(n)
if typeof(n) ~= "Vector3" or n.Magnitude < 1e-6 then return Vector3.yAxis end
local ax, ay, az = math.abs(n.X), math.abs(n.Y), math.abs(n.Z)
if ay >= ax and ay >= az then
return n.Y > 0 and Vector3.yAxis or -Vector3.yAxis
elseif ax >= az then
return n.X > 0 and Vector3.xAxis or -Vector3.xAxis
else
return n.Z > 0 and Vector3.zAxis or -Vector3.zAxis
end
end
F.placeBlock = function(handId, hitPart, hitPos, hitNormal)
if not abilities.mayBuild then return false end
if not handId or not ITEMS[handId] or not ITEMS[handId].placeable then return false end
if not hitPos or not hitNormal then return false end
local face = F.faceFromNormal(hitNormal)
local base
if F.isMCBlock(hitPart) then
base = hitPart:GetAttribute("MCCell") or hitPart.Position
else
base = F.snapToGrid(hitPos - face * (BLOCK * 0.5))
end
local center = F.snapToGrid(base + face * BLOCK)
local ladderN
if handId == "ladder" then
-- Ladder attaches to a wall: prefer the clicked wall, otherwise the wall closest to where you look.
local dirs = {}
if math.abs(face.Y) < 0.5 then dirs[1] = -face end
local lk = CFrame.Angles(0, yaw, 0).LookVector
local h = { Vector3.xAxis, -Vector3.xAxis, Vector3.zAxis, -Vector3.zAxis }
table.sort(h, function(a, b) return a:Dot(lk) > b:Dot(lk) end)
for _, d in ipairs(h) do dirs[#dirs + 1] = d end
for _, d in ipairs(dirs) do
if workspace:Raycast(center, d * (BLOCK * 0.6), rp) then ladderN = -d break end
end
if not ladderN then return false end
end
local halfW = 0.6 * BLOCK / 2 * 0.9
local feet = pos
local playerMin = feet - Vector3.new(halfW, 0.05, halfW)
local playerMax = feet + Vector3.new(halfW, 1.8 * BLOCK - 0.05, halfW)
local bmin = center - Vector3.new(BLOCK, BLOCK, BLOCK) * 0.5
local bmax = center + Vector3.new(BLOCK, BLOCK, BLOCK) * 0.5
if handId ~= "ladder" and playerMin.X < bmax.X and playerMax.X > bmin.X
and playerMin.Y < bmax.Y and playerMax.Y > bmin.Y
and playerMin.Z < bmax.Z and playerMax.Z > bmin.Z then
return false
end
local part = createBlock(handId, center, ladderN or face)
if not part then return false end
if not abilities.instabuild then
local s = slots[36 + selected]
if s and s.id == handId then
s.n -= 1
if s.n <= 0 then slots[36 + selected] = nil end
refresh()
end
end
return true
end
local attackHeld = false
local useHeld = false
local swingTime = 0
local swinging = false
local swingQueued = false
F.startSwing = function()
if not swinging then
swingTime = 0
swingQueued = false
swinging = true
elseif swingTime >= 4 then
-- Queue a follow-up swing rather than resetting the current one mid-arc.
swingQueued = true
end
end
F.startAttack = function()
if invOpen or F.playerDead then return false end
F.startSwing()
if missTime > 0 then return false end
local part, hitPos, normal = F.pickBlock()
local entity, entityHumanoid
if F.getEntityTarget then entity, entityHumanoid = F.getEntityTarget(part) end
if entity and entityHumanoid then
F.stopDestroyBlock()
F.attackEntity(entity, entityHumanoid)
return true
end
part, hitPos, normal = F.resolveBreakTarget(part, hitPos, normal)
if F.isBreakableTarget(part) then
F.startDestroyBlock(part, normal, hitPos, normal)
F.startSwing()
return true
end
F.stopDestroyBlock()
if abilities.instabuild then
missTime = 0
else
missTime = 10
end
return false
end
F.continueAttack = function(down)
if F.playerDead then return end
if not down then
missTime = 0
F.stopDestroyBlock()
return
end
if missTime > 0 or invOpen then return end
local part, hitPos, normal = F.pickBlock()
local entity, entityHumanoid
if F.getEntityTarget then entity, entityHumanoid = F.getEntityTarget(part) end
if entity and entityHumanoid then
F.stopDestroyBlock()
if F.attackEntity(entity, entityHumanoid) then F.startSwing() end
return
end
part, hitPos, normal = F.resolveBreakTarget(part, hitPos, normal)
if F.isBreakableTarget(part) then
if F.continueDestroyBlock(part, normal, hitPos, normal) then F.startSwing() end
else
F.stopDestroyBlock()
end
end
F.startUseItem = function()
if F.playerDead or invOpen or F.eating then return end
if rightClickDelay > 0 then return end
local held = slots[36 + selected]
local id = held and held.id or nil
if id == "cooked_beef" or id == "bread" or id == "apple" then
F.eating = true
F.eatTime = 0
F.eatTimePrev = 0
F.eatItemId = id
rightClickDelay = 32
return
end
rightClickDelay = 4
local part, hitPos, normal = F.pickBlock()
-- Placement uses the hit face and shared grid directly; it must not replace
-- the target part with voxel chunks as a side effect of placing a block.
if not normal then return end
if id and ITEMS[id] and ITEMS[id].placeable then
F.placeBlock(id, part, hitPos, normal)
F.startSwing()
end
end
F.stopUseItem = function()
useHeld = false
if F.eating then
-- Freeze the elapsed phase and let the render-smoothed blend fade out.
-- Resetting eatTime here made the item/arm jump back to frame zero.
F.eating = false
F.eatItemId = nil
rightClickDelay = 0
end
end
local gui = Instance.new("ScreenGui")
gui.Name = "MinecraftGui"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
gui.DisplayOrder = 50
gui.Parent = playerGui
-- Separate ScreenGui for the control UI so it always renders above every other UI layer.
local controlsGui = Instance.new("ScreenGui")
controlsGui.Name = "MinecraftControlsGui"
controlsGui.ResetOnSpawn = false
controlsGui.IgnoreGuiInset = true
controlsGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
controlsGui.DisplayOrder = 4000
controlsGui.Parent = playerGui
selectBox.Parent = gui
crackOverlay.Parent = gui
local iconTpl = {}
F.toolInfo = {}
F.clearIconCache = function(id) iconTpl[id] = nil end
F.buildToolIcon = function(info)
local f = Instance.new("Frame")
f.BackgroundTransparency = 1
f.Size = UDim2.fromOffset(16 * GS, 16 * GS)
if info.image and info.image ~= "" then
local img = Instance.new("ImageLabel")
img.BackgroundTransparency = 1
img.Size = UDim2.fromScale(1, 1)
img.Image = info.image
img.ScaleType = Enum.ScaleType.Fit
img.Parent = f
else
local t = Instance.new("TextLabel")
t.BackgroundTransparency = 1
t.Size = UDim2.fromScale(1, 1)
t.Font = Enum.Font.Arcade
t.TextScaled = true
t.TextWrapped = true
t.Text = info.name
t.TextColor3 = Color3.new(1, 1, 1)
t.TextStrokeTransparency = 0.3
t.Parent = f
end
return f
end
F.cloneIcon = function(id)
if not iconTpl[id] then
if F.toolInfo[id] then
iconTpl[id] = F.buildToolIcon(F.toolInfo[id])
else
iconTpl[id] = F.buildImage(ICON[id], GS)
end
end
return iconTpl[id]:Clone()
end
F.textLabel = function(parent, size, z)
local t = Instance.new("TextLabel")
t.BackgroundTransparency = 1
t.Font = Enum.Font.Arcade
t.TextSize = size
t.TextXAlignment = Enum.TextXAlignment.Right
t.TextYAlignment = Enum.TextYAlignment.Bottom
t.ZIndex = z
t.Text = ""
t.Parent = parent
return t
end
F.newView = function(parent, x, y, z)
local v = {}
v.holder = Instance.new("Frame")
v.holder.BackgroundTransparency = 1
v.holder.Size = UDim2.fromOffset(16 * GS, 16 * GS)
v.holder.Position = UDim2.fromOffset(x * GS, y * GS)
v.holder.ZIndex = z
v.holder.Parent = parent
v.shadow = F.textLabel(v.holder, 8 * GS, z + 2)
v.shadow.TextColor3 = Color3.fromRGB(62, 62, 62)
v.shadow.Size = UDim2.fromOffset(17 * GS, 17 * GS)
v.shadow.Position = UDim2.fromOffset(GS, GS)
v.count = F.textLabel(v.holder, 8 * GS, z + 3)
v.count.TextColor3 = Color3.new(1, 1, 1)
v.count.Size = UDim2.fromOffset(17 * GS, 17 * GS)
return v
end
F.setView = function(v, st)
if st then
if v.id ~= st.id then
if v.icon then v.icon:Destroy() end
v.icon = F.cloneIcon(st.id)
v.icon.ZIndex = v.holder.ZIndex + 1
v.icon.Parent = v.holder
v.id = st.id
end
local t = st.n > 1 and tostring(st.n) or ""
v.count.Text = t
v.shadow.Text = t
else
if v.icon then v.icon:Destroy() v.icon = nil end
v.id = nil
v.count.Text = ""
v.shadow.Text = ""
end
end
local hud = Instance.new("Frame")
hud.Name = "MinecraftHUD"
hud.BackgroundTransparency = 1
hud.Size = UDim2.fromScale(1, 1)
hud.Parent = gui
-- Restore the attachment's original hotbar. The previous merge accidentally
-- removed this block while leaving refresh(), selectHotbar(), and the render loop
-- referring to hudViews and selFrame. That nil reference stopped initialization
-- before the GUI and player interactions could finish initializing.
local MAIN_HOTBAR_SCALE = 0.70 -- Slightly smaller main HUD hotbar only; creative/survival inventory screens stay unchanged.
local hotbar = F.buildImage(IMG.hotbar, GS)
hotbar.Name = "HotbarBackground"
hotbar.Position = UDim2.new(0.5, -91 * GS * MAIN_HOTBAR_SCALE, 1, -23 * GS * MAIN_HOTBAR_SCALE)
hotbar.ZIndex = 1
hotbar.Parent = hud
local mainHotbarScale = Instance.new("UIScale")
mainHotbarScale.Name = "MainHotbarScale"
mainHotbarScale.Scale = MAIN_HOTBAR_SCALE
mainHotbarScale.Parent = hotbar
local selFrame = F.buildImage(IMG.hotbar_sel, GS)
selFrame.Name = "HotbarSelection"
selFrame.ZIndex = 2
selFrame.Parent = hotbar
local hudViews = {}
F.selectHotbar = function(i)
i = math.clamp(math.floor(i), 0, 8)
selected = i
end
for i = 0, 8 do
hudViews[i] = F.newView(hotbar, 3 + i * 20, 3, 3)
local button = Instance.new("TextButton")
button.Name = "HotbarSlot" .. i
button.BackgroundTransparency = 1
button.Text = ""
button.AutoButtonColor = false
button.Active = true
button.Size = UDim2.fromOffset(20 * GS, 22 * GS)
button.Position = UDim2.fromOffset(i * 20 * GS, 0)
button.ZIndex = 20
button.Parent = hotbar
local slotIndex = i
F.track(button.Activated:Connect(function()
F.selectHotbar(slotIndex)
end))
F.track(button.InputBegan:Connect(function(input)
local inputType = input.UserInputType
if inputType == Enum.UserInputType.MouseButton1 or inputType == Enum.UserInputType.Touch then
F.selectHotbar(slotIndex)
end
end))
end
F.selectHotbar(8)
-- Creative HUD keeps the hotbar and crosshair but has no XP bar.
local crosshair = F.buildImage(IMG.crosshair, GS)
crosshair.AnchorPoint = Vector2.new(0.5, 0.5)
crosshair.Position = UDim2.fromScale(0.5, 0.5)
crosshair.Parent = hud
local nameLabel = Instance.new("TextLabel")
nameLabel.BackgroundTransparency = 1
nameLabel.Font = Enum.Font.Arcade
nameLabel.TextSize = 8 * GS
nameLabel.TextColor3 = Color3.new(1, 1, 1)
nameLabel.TextStrokeTransparency = 0.3
nameLabel.AnchorPoint = Vector2.new(0.5, 1)
nameLabel.Position = UDim2.new(0.5, 0, 1, -(23 + 22) * GS * MAIN_HOTBAR_SCALE)
nameLabel.Size = UDim2.fromOffset(200 * GS, 10 * GS)
nameLabel.Text = ""
nameLabel.Parent = hud
local nameUntil, lastSel = 0, -1
invOpen = false
local invDim = Instance.new("TextButton")
invDim.Name = "InventoryDim"
invDim.Text = ""
invDim.AutoButtonColor = false
invDim.BackgroundColor3 = Color3.new(0, 0, 0)
invDim.BackgroundTransparency = 0.55
invDim.BorderSizePixel = 0
invDim.Size = UDim2.fromScale(1, 1)
invDim.Visible = false
invDim.Parent = gui
-- Keep the original inventory texture intact: the black player-preview rectangle,
-- armor-slot art, crafting grid, arrow, and result slot all remain visible. No 2D Steve
-- sprite is drawn over the preview area.
panel = F.buildImage(IMG.inventory, GS)
panel.Name = "SecondaryInventoryPanel"
panel.AnchorPoint = Vector2.new(0.5, 0.5)
panel.Position = UDim2.fromScale(0.5, 0.5)
panel.Active = true
panel.ZIndex = 30
panel.Parent = invDim
for _, child in ipairs(panel:GetDescendants()) do
if child:IsA("GuiObject") then child.ZIndex = 31 end
end
local inventoryScale = Instance.new("UIScale")
inventoryScale.Scale = 0.55
inventoryScale.Parent = panel
local layout = {}
-- Vanilla 1.12.1 player-container positions on the unmodified 176x166 background.
layout[0] = { 152, 28 } -- crafting output
layout[1] = { 96, 17 }
layout[2] = { 114, 17 }
layout[3] = { 96, 35 }
layout[4] = { 114, 35 }
-- Armor slots are drawn by the original background; no 2D player preview is drawn.
layout[5] = { 8, 8 } -- head
layout[6] = { 8, 26 } -- chest
layout[7] = { 8, 44 } -- legs
layout[8] = { 8, 62 } -- feet
for r = 0, 2 do for c = 0, 8 do layout[9 + c + r * 9] = { 8 + c * 18, 84 + r * 18 } end end
for c = 0, 8 do layout[36 + c] = { 8 + c * 18, 142 } end
layout[45] = { 77, 62 }
local views = {}
F.cViews = F.cViews or {}
local slotButtons = {}
local hover = nil
local highlight = Instance.new("Frame")
highlight.BackgroundColor3 = Color3.new(1, 1, 1)
highlight.BackgroundTransparency = 0.5
highlight.BorderSizePixel = 0
highlight.Size = UDim2.fromOffset(16 * GS, 16 * GS)
highlight.ZIndex = 38
highlight.Visible = false
highlight.Parent = panel
local carriedView = F.newView(gui, 0, 0, 30)
carriedView.holder.Visible = false
local tooltip = Instance.new("TextLabel")
tooltip.BackgroundColor3 = Color3.fromRGB(16, 0, 16)
tooltip.BackgroundTransparency = 0.06
tooltip.BorderSizePixel = 0
tooltip.Font = Enum.Font.Arcade
tooltip.TextSize = 8 * GS
tooltip.TextColor3 = Color3.new(1, 1, 1)
tooltip.ZIndex = 40
tooltip.Visible = false
tooltip.Size = UDim2.fromOffset(100 * GS, 12 * GS)
tooltip.Parent = gui
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(40, 0, 77)
stroke.Thickness = GS
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
stroke.Parent = tooltip
refresh = function()
for i = 0, 45 do
if views[i] then F.setView(views[i], slots[i]) end
if F.cViews[i] then F.setView(F.cViews[i], slots[i]) end
end
if F.updateGhosts then F.updateGhosts() end
for i = 0, 8 do
if hudViews[i] then F.setView(hudViews[i], slots[36 + i]) end
end
F.setView(carriedView, carried)
carriedView.holder.Visible = invOpen and carried ~= nil
if hover ~= nil and slots[hover] and not carried then
tooltip.Text = ITEMS[slots[hover].id].name
tooltip.Size = UDim2.fromOffset((#tooltip.Text * 6 + 8) * GS, 12 * GS)
tooltip.Visible = invOpen
else
tooltip.Visible = false
end
end
F.quickMove = function(idx)
local s = slots[idx]
if not s then return end
if (idx >= 1 and idx <= 4) or idx == 45 then
F.insertStack(s, 9, 44)
elseif idx >= 9 and idx <= 35 then
F.insertStack(s, 36, 44)
elseif idx >= 36 and idx <= 44 then
F.insertStack(s, 9, 35)
end
if s and s.n <= 0 then slots[idx] = nil end
F.updateCraft()
end
F.resultClick = function(shift)
local r = slots[0]
if not r then return end
if shift then
for _ = 1, 64 do
r = slots[0]
if not r then break end
if not F.canFit(r.id, r.n, 9, 44) then break end
F.insertStack({ id = r.id, n = r.n }, 9, 44)
F.consumeCraft()
end
else
if carried == nil then
carried = { id = r.id, n = r.n }
F.consumeCraft()
elseif carried.id == r.id and carried.n + r.n <= F.maxOf(r.id) then
carried.n += r.n
F.consumeCraft()
end
end
end
F.clickSlot = function(idx, button, shift)
if idx == 0 then F.resultClick(shift) refresh() return end
if shift then F.quickMove(idx) refresh() return end
local s = slots[idx]
if button == 1 then
if carried == nil then
if s then carried = s slots[idx] = nil end
elseif s == nil then
if F.canPlace(idx, carried) then slots[idx] = carried carried = nil end
elseif s.id == carried.id and F.maxOf(s.id) > 1 then
local mv = math.min(F.maxOf(s.id) - s.n, carried.n)
s.n += mv carried.n -= mv
if carried.n <= 0 then carried = nil end
elseif F.canPlace(idx, carried) then
slots[idx], carried = carried, s
end
else
if carried == nil then
if s then
local take = math.ceil(s.n / 2)
carried = { id = s.id, n = take }
s.n -= take
if s.n <= 0 then slots[idx] = nil end
end
elseif s == nil then
if F.canPlace(idx, carried) then
slots[idx] = { id = carried.id, n = 1 }
carried.n -= 1
end
elseif s.id == carried.id and s.n < F.maxOf(s.id) then
s.n += 1 carried.n -= 1
elseif F.canPlace(idx, carried) then
slots[idx], carried = carried, s
end
if carried and carried.n <= 0 then carried = nil end
end
F.updateCraft()
refresh()
end
F.cButtons, F.cCatalogButtons = {}, {}
-- True when a GuiObject and every ancestor are visible (a hidden parent keeps the child's own Visible true).
F.guiShown = function(obj)
while obj and obj:IsA("GuiObject") do
if not obj.Visible then return false end
obj = obj.Parent
end
return obj ~= nil
end
F.pointOnButton = function(btn, pos)
if not (btn and F.guiShown(btn)) then return false end
local ap, as = btn.AbsolutePosition, btn.AbsoluteSize
return pos.X >= ap.X and pos.X <= ap.X + as.X and pos.Y >= ap.Y and pos.Y <= ap.Y + as.Y
end
F.findTouchTarget = function(pos)
for _, b in ipairs(F.cCatalogButtons) do
if F.pointOnButton(b, pos) then return nil, true end
end
for targetIdx, targetButton in pairs(F.cButtons) do
if F.pointOnButton(targetButton, pos) then return targetIdx, false end
end
for targetIdx, targetButton in pairs(slotButtons) do
if F.pointOnButton(targetButton, pos) then return targetIdx, false end
end
return nil, false
end
-- Builds the item view + click/touch button for one inventory slot on any panel.
F.bindSlot = function(idx, p, parentView, parentBtn, viewStore, btnStore, hl)
viewStore[idx] = F.newView(parentView, p[1], p[2], 33)
local b = Instance.new("TextButton")
b.BackgroundTransparency = 1
b.Text = ""
b.AutoButtonColor = false
b.Size = UDim2.fromOffset(18 * GS, 18 * GS)
b.Position = UDim2.fromOffset((p[1] - 1) * GS, (p[2] - 1) * GS)
b.ZIndex = 42
b.Parent = parentBtn
btnStore[idx] = b
local touchStart = 0
F.track(b.MouseEnter:Connect(function()
hover = idx
hl.Position = UDim2.fromOffset(p[1] * GS, p[2] * GS)
hl.Visible = true
refresh()
end))
F.track(b.MouseLeave:Connect(function()
if hover == idx then hover = nil hl.Visible = false refresh() end
end))
F.track(b.InputBegan:Connect(function(input)
local t = input.UserInputType
if t == Enum.UserInputType.MouseButton1 then
F.clickSlot(idx, 1, UIS:IsKeyDown(Enum.KeyCode.LeftShift) or UIS:IsKeyDown(Enum.KeyCode.RightShift))
elseif t == Enum.UserInputType.MouseButton2 then
F.clickSlot(idx, 2, false)
elseif t == Enum.UserInputType.Touch then
touchStart = os.clock()
F.activeTouchSlot = idx
F.touchDragStartPos = Vector2.new(input.Position.X, input.Position.Y)
F.touchDragStartTime = touchStart
F.touchDragCanPick = carried == nil and slots[idx] ~= nil
F.touchDragging = false
hover = idx
hl.Position = UDim2.fromOffset(p[1] * GS, p[2] * GS)
hl.Visible = true
end
end))
F.track(b.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch and touchStart > 0 then
local long = os.clock() - touchStart > 0.35
local endPos = Vector2.new(input.Position.X, input.Position.Y)
if F.touchDragging then
local hitDelete = F.pointOnButton(F.deleteButton, endPos) or F.pointOnButton(F.cDeleteButton, endPos)
if hitDelete then
carried = nil
refresh()
else
local targetSlot, onCatalog = F.findTouchTarget(endPos)
if onCatalog then
carried = nil
refresh()
elseif targetSlot ~= nil then
F.clickSlot(targetSlot, 1, false)
end
end
else
F.clickSlot(idx, long and 2 or 1, false)
end
touchStart = 0
F.activeTouchSlot = nil
F.touchDragStartPos = nil
F.touchDragCanPick = false
F.touchDragging = false
hover = nil
hl.Visible = false
refresh()
end
end))
end
for idx, p in pairs(layout) do
F.bindSlot(idx, p, panel, panel, views, slotButtons, highlight)
end
F.track(invDim.InputBegan:Connect(function(input)
if not invOpen or carried == nil then return end
local t = input.UserInputType
if t == Enum.UserInputType.MouseButton1 or t == Enum.UserInputType.Touch then
carried = nil refresh()
elseif t == Enum.UserInputType.MouseButton2 then
carried.n -= 1
if carried.n <= 0 then carried = nil end
refresh()
end
end))
F.setInventory = function(open)
if F.playerDead and open then return end
if open == invOpen then return end
invOpen = open
if F.applyCameraMode then F.applyCameraMode() end
invDim.Visible = open
attackHeld = false
useHeld = false
if F.stopUseItem then F.stopUseItem() end
touchJumpHeld = false
F.stopDestroyBlock()
if not open then
for i = 1, 4 do
if slots[i] then F.insertStack(slots[i], 9, 44) slots[i] = nil end
end
if carried then F.insertStack(carried, 9, 44) carried = nil end
F.updateCraft()
hover = nil
highlight.Visible = false
end
if F.updateInventoryPage then F.updateInventoryPage() end
crosshair.Visible = not open
refresh()
end
local touchButtons = {}
local sprintToggle, sneakToggle = false, false
F.makeButton = function(label, order, cb, opts)
opts = opts or {}
local b = Instance.new("TextButton")
b.Text = label
b.Font = Enum.Font.Arcade
b.TextSize = opts.textSize or 14
b.TextColor3 = Color3.new(1, 1, 1)
b.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
b.BackgroundTransparency = 0.18
b.BorderSizePixel = 0
b.AutoButtonColor = false
b.Size = opts.size or UDim2.fromOffset(74, 34)
if opts.pos then
b.Position = opts.pos
else
b.Position = UDim2.new(1, -84, 0.18, order * 42)
end
b.AnchorPoint = opts.anchor or Vector2.new(0, 0)
b.ZIndex = 12
b.Parent = controlsGui
if opts.hold then
F.track(b.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
cb(b, true)
end
end))
F.track(b.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
cb(b, false)
end
end))
else
F.track(b.Activated:Connect(function() cb(b) end))
end
touchButtons[#touchButtons + 1] = b
return b
end
F.paintToggle = function(b, _on) b.BackgroundColor3 = Color3.fromRGB(0, 0, 0); b.BackgroundTransparency = 0.18; b.BorderSizePixel = 0 end
local viewMode = 0
local creativeBtn, flyBtn
local cameraViewButton
if UIS.TouchEnabled then
-- Keep jump on the right. Sneak, inventory, primary and secondary actions
-- are placed around the D-pad itself below.
F.makeButton("â—‹", 0, function(_, down)
touchJumpHeld = down and not invOpen
end, {
hold = true,
size = UDim2.fromOffset(70, 38),
pos = UDim2.new(1, -82, 0.55, 0),
color = Color3.fromRGB(70, 100, 160),
textSize = 22,
})
end
F.deleteButton = Instance.new("TextButton")
F.deleteButton.Name = "DeleteCarriedItem"
F.deleteButton.AnchorPoint = Vector2.new(0, 0)
-- Place the tiny X in the right margin aligned with the hotbar/inventory row.
F.deleteButton.Position = UDim2.fromOffset(170 * GS, 142 * GS)
F.deleteButton.Size = UDim2.fromOffset(12 * GS, 18 * GS)
F.deleteButton.BackgroundColor3 = Color3.fromRGB(150, 45, 45)
F.deleteButton.BorderSizePixel = 1
F.deleteButton.BorderColor3 = Color3.fromRGB(35, 20, 20)
F.deleteButton.Text = "X"
F.deleteButton.TextColor3 = Color3.new(1, 1, 1)
F.deleteButton.Font = Enum.Font.Code
F.deleteButton.TextScaled = true
F.deleteButton.ZIndex = 46
F.deleteButton.Parent = panel
F.track(F.deleteButton.Activated:Connect(function()
if carried then carried = nil; refresh() end
end))
---------------------------------------------------------------------
-- CREATIVE INVENTORY (tabs, catalog placeholder, survival tab)
---------------------------------------------------------------------
-- Layer 1 "Creative background ui": panel, tab backgrounds, empty catalog slots,
-- search box + title, scroll track, survival layout, main hotbar slots.
-- Layer 2 "Selection Gui": selected-tab backgrounds and catalog slot highlights.
-- Layer 3 "Static Gui": category icons, search textbox, scroll button.
-- Layer 4 "Placeholder Items": placeholder item icons per category (scrolls).
-- Slot views/buttons for the main inventory sit above these four layers.
do
-- Asset ids supplied for the Minecraft button / container textures.
local PANEL_IMAGE = "rbxassetid://82321763644703"
local BUTTON_IMAGE = "rbxassetid://111461382199415"
-- The panel image is slightly offset in its canvas; adjust these (in GUI units) if needed.
-- Measured in Studio on a GS = 2 screen ({0,405},{0,350} at {0,0}); stored in GUI units so it scales.
local PANEL_IMAGE_POS = Vector2.new(0, 0)
local PANEL_IMAGE_SIZE = Vector2.new(202.5, 175)
F.UI_ASSET = { panel = PANEL_IMAGE, button = BUTTON_IMAGE }
local PX = {
icons = {
building = "6,1,1,1,826861;7,1,1,1,844d3e;8,1,1,1,9a6051;9,1,1,1,826861;4,2,2,1,9b6b5e;6,2,2,1,9a6051;8,2,1,4,9b6b5e;9,2,2,1,9a6051;11,2,1,1,9b6b5e;2,3,1,1,826861;3,3,1,1,844d3e;4,3,1,1,9a6051;5,3,1,2,9b6b5e;6,3,2,1,844d3e;9,3,1,1,9b6b5e;10,3,1,1,844d3e;11,3,2,1,9a6051;13,3,1,1,826861;1,4,1,1,826861;2,4,2,1,9a6051;4,4,1,2,9b6b5e;6,4,1,1,9a6051;7,4,1,1,9b6b5e;9,4,3,1,9a6051;12,4,1,1,9b6b5e;13,4,1,1,844d3e;14,4,1,1,624841;0,5,1,8,826861;1,5,1,1,3d2923;2,5,1,2,624841;3,5,1,1,844d3e;5,5,1,1,9a6051;6,5,2,1,844d3e;9,5,2,1,844d3e;11,5,1,1,9a6051;12,5,1,1,844d3e;13,5,1,1,39211b;14,5,1,1,3d2923;1,6,1,1,633d33;3,6,1,1,5e3529;4,6,1,1,844d3e;5,6,1,1,826861;6,6,4,1,9a6051;10,6,1,1,633d33;11,6,1,1,3d2923;12,6,1,1,39211b;13,6,1,2,3d2923;14,6,1,1,49332d;1,7,1,1,5e3529;2,7,1,1,633d33;3,7,1,1,624841;4,7,1,1,49332d;5,7,2,1,633d33;7,7,1,1,844d3e;8,7,1,1,633d33;9,7,3,1,39211b;12,7,1,1,3d2923;14,7,1,1,3d2923;1,8,1,1,633d33;2,8,2,1,5e3529;4,8,2,1,624841;6,8,1,2,633d33;7,8,1,1,5e3529;8,8,1,1,39211b;9,8,1,1,49332d;10,8,2,1,3d2923;12,8,2,1,39211b;14,8,1,5,49332d;1,9,1,2,5e3529;2,9,2,1,624841;4,9,2,1,5e3529;7,9,1,1,633d33;8,9,2,1,3d2923;10,9,1,1,39211b;11,9,2,2,3d2923;13,9,1,1,49332d;2,10,1,2,624841;3,10,1,1,633d33;4,10,1,1,624841;5,10,1,2,633d33;6,10,1,1,5e3529;7,10,1,2,624841;8,10,2,1,39211b;10,10,1,1,3d2923;13,10,1,1,3d2923;1,11,1,1,633d33;3,11,2,1,5e3529;6,11,1,1,624841;8,11,1,1,3d2923;9,11,1,3,49332d;10,11,2,1,39211b;12,11,1,2,3d2923;13,11,1,1,49332d;1,12,2,1,5e3529;3,12,1,1,633d33;4,12,2,1,624841;6,12,2,1,633d33;8,12,1,1,39211b;10,12,1,1,39211b;11,12,1,2,3d2923;13,12,1,1,39211b;1,13,1,1,826861;2,13,1,1,633d33;3,13,1,1,49332d;4,13,1,1,633d33;5,13,2,1,624841;7,13,1,1,5e3529;8,13,1,2,3d2923;10,13,1,2,3d2923;12,13,1,1,39211b;13,13,1,1,49332d;3,14,1,1,826861;4,14,1,1,624841;5,14,2,1,5e3529;7,14,1,2,624841;9,14,1,1,39211b;11,14,1,1,624841;12,14,1,1,826861;5,15,1,1,826861;6,15,1,1,633d33;8,15,1,1,39211b;9,15,1,1,49332d;",
colored = "7,0,2,1,2f8a90;5,1,1,1,2f8a90;6,1,3,1,148990;9,1,1,5,168890;10,1,1,1,2f8a90;3,2,1,1,2f8a90;4,2,1,1,148990;5,2,2,1,168890;7,2,1,1,148990;8,2,1,3,168890;10,2,2,1,148990;12,2,1,1,2f8a90;1,3,1,1,2f8a90;2,3,1,2,168890;3,3,1,1,148990;4,3,2,1,168890;6,3,1,2,148990;7,3,1,1,168890;10,3,2,1,168890;12,3,1,2,148990;13,3,1,1,168890;14,3,1,1,2f8a90;1,4,1,2,0d5a5e;3,4,1,1,168890;4,4,1,1,148990;5,4,1,2,168890;7,4,1,1,148990;10,4,1,2,168890;11,4,1,1,148990;13,4,1,1,226a6f;14,4,1,9,043235;2,5,1,8,0d5a5e;3,5,1,1,226a6f;4,5,1,1,168890;6,5,2,1,168890;8,5,1,1,148990;11,5,1,1,0d5a5e;12,5,1,1,0b4043;13,5,1,7,083639;1,6,1,2,0a565c;3,6,1,1,0d5a5e;4,6,1,1,0e555b;5,6,1,2,0d5a5e;6,6,1,1,168890;7,6,1,1,148990;8,6,1,1,168890;9,6,1,1,0d5a5e;10,6,1,9,083639;11,6,1,1,043235;12,6,1,7,083639;3,7,1,2,0e555b;4,7,1,1,0d5a5e;6,7,1,1,0e555b;7,7,1,1,0d5a5e;8,7,1,1,0b4043;9,7,1,8,083639;11,7,1,1,083639;1,8,1,1,0d5a5e;4,8,2,1,0e555b;6,8,1,1,0d5a5e;7,8,1,8,0e555b;8,8,1,1,083639;11,8,1,1,043235;1,9,1,2,0a565c;3,9,2,1,0d5a5e;5,9,2,1,0e555b;8,9,1,1,043235;11,9,1,5,083639;3,10,2,1,0e555b;5,10,2,1,0d5a5e;8,10,1,3,083639;1,11,1,1,0d5a5e;3,11,3,1,0d5a5e;6,11,1,2,0e555b;1,12,1,1,0a565c;3,12,3,1,0e555b;13,12,1,1,043235;2,13,1,1,226a6f;3,13,4,1,0d5a5e;8,13,1,1,043235;12,13,1,1,0b4043;13,13,1,1,226a6f;4,14,1,1,226a6f;5,14,1,1,0a565c;6,14,1,1,0d5a5e;8,14,1,1,083639;11,14,1,1,226a6f;6,15,1,1,226a6f;8,15,1,1,0b4043;9,15,1,1,226a6f;",
natural = "0,0,2,16,ededed;2,0,6,1,8b8b8b;8,0,1,1,8d8d8e;9,0,1,1,858381;10,0,1,1,597450;11,0,1,3,466b3d;12,0,1,1,597450;13,0,1,1,858381;14,0,1,1,8b8b8b;15,0,1,1,8d8d8e;2,1,4,1,8b8b8b;6,1,2,1,8d8d8e;8,1,1,1,597450;9,1,2,5,466b3d;12,1,3,4,466b3d;15,1,1,1,858381;2,2,3,1,8b8b8b;5,2,1,1,858381;6,2,1,1,597450;7,2,2,2,466b3d;15,2,1,3,466b3d;2,3,2,13,8b8b8b;4,3,1,1,858381;5,3,1,1,465a3a;6,3,1,1,466b3d;11,3,1,1,597450;4,4,1,1,597450;5,4,1,4,433422;6,4,2,1,465a3a;8,4,1,1,466b3d;11,4,1,2,466b3d;4,5,1,8,858381;6,5,2,1,433422;8,5,1,1,465a3a;12,5,1,1,466b3d;13,5,1,1,597450;14,5,1,1,466b3d;15,5,1,9,2f2419;6,6,1,7,50412b;7,6,2,3,433422;9,6,4,1,465a3a;13,6,1,1,433422;14,6,1,6,2f2419;9,7,3,2,433422;12,7,2,3,2f2419;5,8,1,1,50412b;5,9,1,3,433422;7,9,1,1,433422;8,9,4,2,50412b;7,10,1,3,50412b;12,10,2,1,433422;8,11,3,3,50412b;11,11,1,1,433422;12,11,2,1,2f2419;5,12,1,1,465a3a;11,12,1,4,50412b;12,12,1,3,2f2419;13,12,2,1,433422;4,13,1,3,8b8b8b;5,13,1,1,8d8d8e;6,13,1,1,858381;7,13,1,1,465a3a;13,13,2,1,2f2419;5,14,3,2,8b8b8b;8,14,1,1,858381;9,14,1,1,465a3a;10,14,1,1,50412b;13,14,1,1,433422;14,14,1,1,465a3a;15,14,1,1,858381;8,15,1,1,8b8b8b;9,15,1,1,8d8d8e;10,15,1,1,858381;12,15,1,1,465a3a;13,15,1,1,8b8b8b;14,15,1,1,8d8d8e;15,15,1,1,8b8b8b;",
functional = "2,1,2,1,ae9366;9,1,3,1,ae9366;13,1,1,2,9d7e4b;1,2,1,1,ae9366;2,2,1,1,7c6138;3,2,5,1,ad8d57;8,2,1,1,967847;9,2,1,1,8e7245;10,2,1,1,ad8d57;11,2,1,1,967847;12,2,1,1,a5854f;1,3,1,1,ad8d57;2,3,1,1,705c3e;3,3,1,1,8e7245;4,3,1,5,ad8d57;5,3,1,1,967847;6,3,1,1,7c6138;7,3,1,3,a5854f;8,3,1,1,7c6138;9,3,1,1,705c3e;10,3,2,1,7c6138;12,3,1,1,9d7e4b;13,3,1,1,967847;1,4,1,4,ae9366;2,4,1,1,967847;3,4,1,1,9d7e4b;5,4,1,1,9d7e4b;6,4,1,2,8e7245;8,4,2,1,9d7e4b;10,4,1,1,8e7245;11,4,1,2,967847;12,4,1,2,a5854f;13,4,1,1,9d7e4b;2,5,1,1,ad8d57;3,5,1,1,967847;5,5,1,1,967847;8,5,1,1,ad8d57;9,5,1,1,967847;10,5,1,4,a5854f;13,5,1,1,a5854f;2,6,1,2,967847;3,6,1,1,7c6138;5,6,1,1,7c6138;6,6,1,1,705c3e;7,6,1,1,7c6138;8,6,1,1,967847;9,6,1,1,7c6138;11,6,1,1,8e7245;12,6,1,1,9d7e4b;13,6,1,1,967847;3,7,1,1,967847;5,7,1,1,9d7e4b;6,7,1,1,967847;7,7,2,1,8e7245;9,7,1,1,967847;11,7,1,1,9d7e4b;12,7,1,2,a5854f;13,7,1,2,9d7e4b;1,8,1,1,ad8d57;2,8,8,1,a5854f;11,8,1,1,a5854f;1,9,13,1,7c6138;1,10,1,1,7b6c55;2,10,5,1,705c3e;7,10,2,2,524027;9,10,5,1,705c3e;6,11,1,1,8e7245;9,11,1,5,7b6c55;6,12,1,1,967847;7,12,1,1,705c3e;8,12,1,4,524027;6,13,1,2,8e7245;7,13,1,1,7c6138;7,14,1,2,705c3e;6,15,1,1,7b6c55;",
redstone = "7,2,2,1,5a2826;6,3,1,1,470702;7,3,1,1,750401;8,3,1,2,a10f02;9,3,1,1,480401;5,4,1,1,5a2826;6,4,1,1,a10f02;7,4,1,1,d00500;9,4,1,1,470702;10,4,1,1,5a2826;4,5,1,1,750401;5,5,1,4,a10f02;6,5,1,2,d00500;7,5,1,1,a10f02;8,5,1,1,750401;9,5,1,1,d00500;10,5,1,3,480401;11,5,1,1,2b0201;3,6,1,1,5a2826;4,6,1,1,a10f02;7,6,1,1,d00500;8,6,1,1,a10f02;9,6,1,2,750401;11,6,1,1,440906;12,6,1,1,5a2826;2,7,2,1,750401;4,7,1,1,d00500;6,7,1,1,750401;7,7,1,1,470702;8,7,1,1,d00500;11,7,1,1,a10f02;12,7,1,3,440906;13,7,1,3,2b0201;2,8,1,1,750401;3,8,2,1,a10f02;6,8,1,1,d00500;7,8,2,1,750401;9,8,1,1,480401;10,8,1,1,470702;11,8,1,1,750401;2,9,1,1,2b0201;3,9,1,1,480401;4,9,1,1,a10f02;5,9,1,2,d00500;6,9,1,1,a10f02;7,9,1,1,750401;8,9,1,2,480401;9,9,1,1,a10f02;10,9,2,1,480401;2,10,1,1,706464;3,10,1,1,2b0201;4,10,1,1,750401;6,10,1,1,750401;7,10,1,1,480401;9,10,1,1,750401;10,10,1,1,470702;11,10,1,1,440906;12,10,1,1,2b0201;13,10,1,1,706464;3,11,1,1,706464;4,11,1,1,2b0201;5,11,1,1,480401;6,11,1,1,440906;7,11,2,1,470702;9,11,1,1,440906;10,11,2,1,2b0201;12,11,1,1,706464;4,12,2,1,706464;6,12,4,1,2b0201;10,12,2,1,706464;6,13,4,1,706464;",
hotbars = "6,0,2,1,987b4b;8,0,1,1,b08f5a;4,1,2,1,987b4b;6,1,2,1,b08f5a;8,1,1,1,987b4b;9,1,1,3,a58550;10,1,1,1,b08f5a;2,2,2,1,987b4b;4,2,1,1,b08f5a;5,2,3,1,987b4b;8,2,1,1,a58550;10,2,1,1,987b4b;11,2,1,2,a58550;12,2,1,1,b08f5a;1,3,1,1,987b4b;2,3,1,1,b08f5a;3,3,1,1,a58550;4,3,1,1,6f5c3d;5,3,1,3,a58550;6,3,1,1,b08f5a;7,3,1,1,987b4b;8,3,1,1,6f5c3d;10,3,1,1,b08f5a;12,3,1,2,987b4b;13,3,1,1,b08f5a;14,3,1,1,a58550;1,4,1,1,46371d;2,4,1,1,6f5c3d;3,4,2,1,987b4b;6,4,1,1,987b4b;7,4,2,1,a58550;9,4,2,1,987b4b;11,4,1,1,b08f5a;13,4,1,1,474a30;14,4,1,2,1e1914;1,5,2,3,42160c;3,5,1,1,3b2c13;4,5,1,1,6f5c3d;6,5,1,1,b08f5a;7,5,2,2,987b4b;9,5,2,1,b08f5a;11,5,1,1,46371d;12,5,1,1,1e1914;13,5,1,3,1e2d28;3,6,1,1,42160c;4,6,1,1,3b2c13;5,6,1,1,46371d;6,6,1,1,6f5c3d;9,6,1,1,474a30;10,6,2,1,1e1914;12,6,1,4,3b2c13;14,6,1,2,1e2d28;3,7,1,1,1e2d28;4,7,2,1,474a30;6,7,1,3,1e2d28;7,7,1,8,474a30;8,7,2,1,1e1914;10,7,1,1,42160c;11,7,1,2,3b2c13;1,8,1,1,474a30;2,8,1,1,6f5c3d;3,8,1,1,474a30;4,8,2,1,46371d;8,8,1,1,1e1914;9,8,1,2,42160c;10,8,1,1,1e1914;13,8,1,1,46371d;14,8,1,1,3b2c13;1,9,1,1,42160c;2,9,1,1,3b2c13;3,9,2,1,6f5c3d;5,9,1,1,46371d;8,9,1,1,42160c;10,9,1,2,3b2c13;11,9,1,1,46371d;13,9,2,1,1e1914;1,10,1,1,474a30;2,10,1,2,1e2d28;3,10,2,1,46371d;5,10,2,1,474a30;8,10,1,4,3b2c13;9,10,1,1,46371d;11,10,2,1,1e1914;13,10,2,2,1e2d28;1,11,1,1,42160c;3,11,1,1,46371d;4,11,1,2,42160c;5,11,1,1,1e1914;6,11,1,1,3b2c13;9,11,1,1,1e1914;10,11,1,3,1e2d28;11,11,2,1,42160c;1,12,1,1,6f5c3d;2,12,1,1,474a30;3,12,1,1,1e2d28;5,12,1,1,46371d;6,12,1,1,1e2d28;9,12,1,2,1e2d28;11,12,1,1,1e1914;12,12,1,1,42160c;13,12,1,1,46371d;14,12,1,1,6f5c3d;3,13,1,1,6f5c3d;4,13,1,1,46371d;5,13,1,1,3b2c13;6,13,1,2,474a30;11,13,1,1,3b2c13;12,13,1,1,6f5c3d;5,14,1,1,6f5c3d;8,14,1,1,42160c;9,14,1,1,46371d;10,14,1,1,6f5c3d;7,15,2,1,6f5c3d;",
search = "5,1,6,1,ababab;3,2,2,1,969696;5,2,3,1,4f4e4e;8,2,1,1,373636;9,2,2,1,4f4e4e;11,2,1,1,ababab;12,2,1,1,969696;2,3,1,1,969696;3,3,1,1,2c2e2e;4,3,1,2,4f4e4e;5,3,1,1,ababab;6,3,1,1,969696;7,3,3,1,727373;10,3,1,1,4f4e4e;11,3,1,1,2c2e2e;12,3,1,1,373636;1,4,1,1,727373;2,4,1,1,373636;3,4,1,1,4f4e4e;5,4,2,2,2c2e2e;7,4,1,2,302f2f;8,4,1,4,673434;9,4,1,2,2c2e2e;10,4,1,1,373636;11,4,2,1,4f4e4e;13,4,1,1,181818;14,4,1,1,969696;0,5,1,1,727373;1,5,1,3,181818;2,5,1,1,4f4e4e;3,5,2,1,2c2e2e;10,5,1,4,302f2f;11,5,1,1,2c2e2e;12,5,1,1,373636;13,5,1,1,727373;14,5,1,3,2c2e2e;0,6,1,5,969696;2,6,1,2,373636;3,6,2,2,302f2f;5,6,1,3,2c2e2e;6,6,1,1,302f2f;7,6,1,1,373636;9,6,1,1,373636;11,6,2,2,302f2f;13,6,1,2,373636;6,7,1,1,373636;7,7,1,1,4f4e4e;9,7,1,1,727373;1,8,1,2,2c2e2e;2,8,1,1,969696;3,8,2,1,4f4e4e;6,8,2,1,302f2f;8,8,1,1,4f4e4e;9,8,1,1,2c2e2e;11,8,1,1,373636;12,8,1,1,4f4e4e;13,8,1,1,727373;14,8,1,2,302f2f;2,9,1,1,ababab;3,9,1,2,d5d5d5;4,9,1,1,ababab;5,9,1,1,181818;6,9,1,1,302f2f;7,9,2,1,2c2e2e;9,9,1,1,302f2f;10,9,1,1,373636;11,9,1,1,969696;12,9,1,1,727373;13,9,1,2,4f4e4e;1,10,1,1,373636;2,10,1,1,969696;4,10,3,1,d5d5d5;7,10,1,1,969696;8,10,2,1,d5d5d5;10,10,1,1,727373;11,10,2,1,4f4e4e;14,10,1,1,373636;1,11,1,1,ababab;2,11,1,1,373636;3,11,1,1,ababab;4,11,2,1,d5d5d5;6,11,1,2,ababab;7,11,1,2,727373;8,11,2,2,969696;10,11,1,2,4f4e4e;11,11,1,1,727373;12,11,1,1,4f4e4e;13,11,1,1,181818;2,12,1,1,969696;3,12,1,1,302f2f;4,12,1,1,4f4e4e;5,12,1,1,ababab;11,12,1,1,302f2f;12,12,1,1,373636;4,13,1,1,969696;5,13,5,1,181818;10,13,1,1,2c2e2e;11,13,1,1,d5d5d5;",
tools = "5,1,1,1,5f5f53;6,1,4,1,0f2c23;10,1,1,1,306056;4,2,1,1,5f5f53;5,2,1,1,298973;6,2,2,1,27ad95;8,2,1,1,298973;9,2,1,1,27ad95;10,2,1,1,298973;11,2,1,1,324033;12,2,1,1,5e4e32;13,2,1,1,716e66;5,3,1,1,306056;6,3,3,1,0f2c23;9,3,1,1,306056;10,3,1,1,27ad95;11,3,1,1,3c7967;12,3,1,1,54421f;13,3,1,1,5e4e32;6,4,3,1,716e66;9,4,1,1,5f5f53;10,4,1,1,3c7967;11,4,1,1,27ad95;12,4,1,1,3c7967;13,4,1,1,324033;8,5,1,1,716e66;9,5,2,2,54421f;11,5,1,1,306056;12,5,1,1,27ad95;13,5,1,4,298973;14,5,1,4,324033;7,6,1,1,716e66;8,6,1,1,5e4e32;11,6,1,4,5f5f53;12,6,1,1,306056;6,7,1,1,5f5f53;7,7,2,1,54421f;9,7,1,1,5e4e32;12,7,1,2,324033;5,8,1,1,716e66;6,8,1,1,5e4e32;7,8,1,1,54421f;8,8,1,1,5e4e32;4,9,1,1,5f5f53;5,9,2,1,54421f;7,9,1,1,5e4e32;12,9,1,1,306056;13,9,1,1,27ad95;14,9,1,1,0f2c23;3,10,1,1,716e66;4,10,1,1,5e4e32;5,10,1,1,54421f;6,10,1,1,5e4e32;12,10,1,1,3c7967;13,10,1,1,306056;14,10,1,1,716e66;2,11,1,1,5f5f53;3,11,1,1,5e4e32;4,11,1,1,54421f;5,11,1,1,5e4e32;1,12,1,1,716e66;2,12,1,1,5e4e32;3,12,1,1,54421f;4,12,1,1,5e4e32;1,13,1,1,5e4e32;2,13,1,1,54421f;3,13,1,1,5e4e32;1,14,1,1,716e66;2,14,1,1,5f5f53;",
combat = "0,0,11,1,8b8b8b;14,0,1,2,3a282e;0,1,8,2,8b8b8b;8,1,1,1,8a8a8a;9,1,1,1,8e8f8f;10,1,1,1,49343d;15,1,1,1,62565d;8,2,1,1,8e8f8f;9,2,1,2,62565d;13,2,1,1,54434c;14,2,1,1,62565d;15,2,1,1,868585;0,3,6,1,8b8b8b;6,3,1,1,8a8a8a;7,3,1,1,8e8f8f;8,3,1,1,49343d;10,3,1,1,54434c;12,3,1,1,2b161a;13,3,1,1,62565d;14,3,1,1,868585;15,3,1,1,8a8a8a;0,4,5,1,8b8b8b;5,4,1,1,8a8a8a;6,4,1,1,8e8f8f;7,4,1,1,62565d;8,4,2,1,54434c;10,4,1,1,62565d;11,4,1,1,49343d;12,4,1,1,62565d;13,4,1,1,868585;14,4,2,12,8b8b8b;0,5,1,2,8e8f8f;1,5,1,2,54434c;2,5,1,1,49343d;3,5,1,1,868585;4,5,1,1,8a8a8a;5,5,1,1,8e8f8f;6,5,1,1,49343d;7,5,1,1,54434c;8,5,1,1,3a282e;9,5,1,1,49343d;10,5,1,1,2b161a;11,5,1,1,62565d;12,5,1,1,868585;13,5,1,11,8b8b8b;2,6,1,1,62565d;3,6,1,1,54434c;4,6,1,1,8e8f8f;5,6,1,1,62565d;6,6,1,1,54434c;7,6,1,1,3a282e;8,6,1,1,49343d;9,6,1,1,3a282e;10,6,1,1,62565d;11,6,1,1,868585;12,6,1,10,8b8b8b;0,7,1,1,8b8b8b;1,7,1,2,868585;2,7,1,1,49343d;3,7,1,1,62565d;4,7,2,1,49343d;6,7,1,1,3a282e;7,7,1,1,49343d;8,7,1,1,2b161a;9,7,1,1,62565d;10,7,1,1,868585;11,7,1,9,8b8b8b;0,8,1,1,8a8a8a;2,8,1,1,3a282e;3,8,1,1,6d6769;4,8,1,2,62565d;5,8,2,1,49343d;7,8,1,1,3a282e;8,8,1,1,62565d;9,8,1,1,868585;10,8,1,3,8b8b8b;0,9,1,1,8b8b8b;1,9,1,2,8a8a8a;2,9,1,1,868585;3,9,1,1,54434c;5,9,1,1,54434c;6,9,1,3,2b161a;7,9,1,1,6d6769;8,9,1,2,868585;9,9,1,1,8b8b8b;0,10,1,1,8a8a8a;2,10,1,2,54434c;3,10,1,1,49343d;4,10,1,1,3a282e;5,10,1,1,49343d;7,10,1,1,49343d;9,10,1,1,8e8f8f;0,11,1,1,8e8f8f;1,11,1,1,54434c;3,11,1,1,2b161a;4,11,1,1,6d6769;5,11,1,1,3a282e;7,11,1,1,2b161a;8,11,1,1,3a282e;9,11,1,2,6d6769;10,11,1,3,8a8a8a;1,12,2,1,3a282e;3,12,1,1,62565d;4,12,1,1,8e8f8f;5,12,2,1,6d6769;7,12,1,1,3a282e;8,12,1,1,2b161a;0,13,2,1,3a282e;2,13,1,1,62565d;3,13,1,1,868585;4,13,2,1,8a8a8a;6,13,1,1,8e8f8f;7,13,1,1,6d6769;8,13,1,1,62565d;9,13,1,1,868585;0,14,2,1,2b161a;2,14,1,1,8e8f8f;3,14,4,2,8b8b8b;7,14,2,1,8e8f8f;9,14,2,2,8b8b8b;0,15,1,1,62565d;2,15,1,1,8b8b8b;7,15,2,1,8b8b8b;",
food = "8,1,1,1,8e5b2b;9,1,1,1,7d4424;7,2,1,1,ac752e;8,2,1,2,7d4424;9,2,1,1,8e5b2b;7,3,1,1,8e5b2b;4,4,2,1,ac752e;6,4,1,1,8e5b2b;7,4,2,1,6d3019;9,4,1,1,7d4424;10,4,1,1,8e5b2b;2,5,1,1,ac752e;3,5,1,1,c28517;4,5,2,2,ecee7a;6,5,1,1,ac752e;7,5,1,1,7d4424;8,5,1,1,d29919;9,5,1,1,e5ca3f;10,5,1,1,c28517;11,5,1,1,6d3019;12,5,1,1,7d4424;1,6,1,3,ac752e;2,6,1,4,c28517;3,6,1,2,e5ca3f;6,6,4,1,ecee7a;10,6,1,3,e5ca3f;11,6,1,1,c28517;12,6,1,1,6d3019;13,6,1,2,7d4424;4,7,6,1,ebdb5c;11,7,1,1,e5ca3f;12,7,1,1,c28517;3,8,1,1,deb026;4,8,1,1,e5ca3f;5,8,1,1,ebdb5c;6,8,4,1,e5ca3f;11,8,1,2,ebdb5c;12,8,1,2,d29919;13,8,1,2,6d3019;1,9,1,1,7d4424;3,9,1,2,d29919;4,9,1,1,deb026;5,9,1,1,e5ca3f;6,9,1,1,deb026;7,9,1,1,d29919;8,9,3,1,deb026;1,10,1,1,8e5b2b;2,10,1,1,ac752e;4,10,3,1,d29919;7,10,2,1,deb026;9,10,1,1,d29919;10,10,1,1,deb026;11,10,1,1,e5ca3f;12,10,1,1,c28517;13,10,1,1,7d4424;2,11,1,1,7d4424;3,11,1,1,ac752e;4,11,1,1,d29919;5,11,2,1,deb026;7,11,2,1,d29919;9,11,1,2,deb026;10,11,1,1,e5ca3f;11,11,1,1,ac752e;12,11,1,2,6d3019;2,12,1,1,8e5b2b;3,12,1,2,7d4424;4,12,1,1,c28517;5,12,2,1,d29919;7,12,1,1,deb026;8,12,1,1,e5ca3f;10,12,1,1,c28517;11,12,1,1,7d4424;4,13,1,1,6d3019;5,13,1,1,d29919;6,13,1,1,c28517;7,13,1,1,ac752e;8,13,1,1,c28517;9,13,1,1,d29919;10,13,1,2,7d4424;11,13,1,1,6d3019;4,14,1,1,7d4424;5,14,5,1,6d3019;",
ingredients = "11,1,1,1,717171;12,1,1,1,777777;8,2,1,1,717171;9,2,1,1,6a6a6a;10,2,1,1,777777;5,3,2,1,717171;7,3,1,1,777777;8,3,2,1,8f8f8f;10,3,1,1,aaaaaa;11,3,1,1,c9c9c9;12,3,1,1,aaaaaa;2,4,2,1,717171;7,4,1,1,aaaaaa;8,4,1,1,c9c9c9;9,4,3,2,d7d7d7;12,4,1,1,c9c9c9;13,4,1,1,aaaaaa;4,5,1,1,aaaaaa;5,5,1,1,c9c9c9;6,5,3,2,d7d7d7;12,5,1,1,d7d7d7;13,5,1,1,e6e6e6;14,5,1,2,c9c9c9;0,6,1,4,6a6a6a;1,6,1,1,aaaaaa;2,6,1,1,e6e6e6;3,6,1,1,e0e0e0;4,6,2,1,d7d7d7;9,6,1,1,e0e0e0;10,6,3,1,e6e6e6;13,6,1,1,e0e0e0;15,6,1,1,aaaaaa;1,7,1,2,8f8f8f;2,7,1,1,c9c9c9;3,7,1,1,e6e6e6;4,7,1,2,e0e0e0;5,7,1,1,d7d7d7;6,7,1,1,e0e0e0;7,7,4,1,e6e6e6;11,7,2,1,c9c9c9;14,7,1,1,777777;2,8,1,2,aaaaaa;3,8,1,1,c9c9c9;5,8,1,2,e0e0e0;6,8,2,1,e6e6e6;8,8,2,1,c9c9c9;10,8,1,1,aaaaaa;11,8,2,1,717171;1,9,1,1,777777;3,9,1,2,aaaaaa;4,9,1,2,c9c9c9;6,9,1,1,c9c9c9;7,9,1,1,8f8f8f;8,9,1,2,717171;9,9,1,1,6a6a6a;10,9,1,1,777777;14,9,1,1,777777;15,9,1,1,717171;0,10,2,1,717171;2,10,1,1,8f8f8f;5,10,1,2,aaaaaa;6,10,1,1,717171;7,10,1,2,6a6a6a;9,10,1,1,717171;13,10,1,2,6a6a6a;14,10,2,1,535353;2,11,1,2,717171;3,11,1,1,8f8f8f;4,11,1,1,aaaaaa;6,11,1,1,777777;8,11,2,1,6a6a6a;10,11,3,1,535353;3,12,1,1,6a6a6a;4,12,2,1,8f8f8f;6,12,1,1,6a6a6a;7,12,4,1,535353;4,13,1,1,6a6a6a;5,13,2,1,535353;7,13,1,1,6a6a6a;",
spawn = "6,0,3,1,5c7559;5,1,1,1,5c7559;6,1,3,1,2b772c;9,1,1,1,4b7548;4,2,1,1,4b7548;5,2,1,1,2c8c31;6,2,1,1,33a639;7,2,2,1,51b04d;9,2,1,1,2c8c31;10,2,1,1,2b772c;3,3,1,1,4b7548;4,3,1,1,2b772c;5,3,2,1,51b04d;7,3,1,1,33a639;8,3,2,2,51b04d;10,3,1,1,2c8c31;11,3,1,1,3b5f37;2,4,1,2,5c7559;3,4,1,1,2b772c;4,4,1,1,51b04d;5,4,2,2,94d08d;7,4,1,2,51b04d;10,4,1,2,94d08d;11,4,1,2,2b772c;12,4,1,2,3b5f37;3,5,1,1,33a639;4,5,1,1,94d08d;8,5,1,1,33a639;9,5,1,1,51b04d;1,6,1,2,5c7559;2,6,1,1,2b772c;3,6,2,1,6fa46e;5,6,1,1,2b772c;6,6,1,1,5c7559;7,6,1,1,94d08d;8,6,1,2,51b04d;9,6,2,2,1a4017;11,6,1,1,2c8c31;12,6,2,1,4b7548;2,7,1,1,33a639;3,7,1,1,94d08d;4,7,1,2,6fa46e;5,7,1,1,1a4017;6,7,1,1,2b772c;7,7,1,1,51b04d;11,7,1,1,33a639;12,7,1,1,6fa46e;13,7,1,2,3b5f37;1,8,1,1,4b7548;2,8,2,1,6fa46e;5,8,1,1,6fa46e;6,8,1,1,2c8c31;7,8,2,3,1a4017;9,8,1,1,33a639;10,8,1,1,51b04d;11,8,2,1,2c8c31;1,9,1,2,5c7559;2,9,2,1,2c8c31;4,9,1,2,51b04d;5,9,1,2,2c8c31;6,9,1,2,1a4017;9,9,1,3,1a4017;10,9,2,1,33a639;12,9,1,2,6fa46e;13,9,1,1,5c7559;2,10,1,2,2b772c;3,10,1,1,33a639;10,10,1,1,33a639;11,10,1,1,6fa46e;13,10,1,1,4b7548;1,11,1,1,4b7548;3,11,1,1,2c8c31;4,11,1,1,33a639;5,11,2,1,2b772c;7,11,1,2,51b04d;8,11,1,2,2c8c31;10,11,2,1,2c8c31;12,11,1,1,2b772c;13,11,1,1,3b5f37;2,12,1,1,5c7559;3,12,1,1,2b772c;4,12,2,1,2c8c31;6,12,1,2,4b7548;9,12,2,1,2c8c31;11,12,1,1,2b772c;12,12,1,1,3b5f37;3,13,1,1,4b7548;4,13,1,1,2b772c;5,13,1,1,4b7548;7,13,1,1,5c7559;8,13,1,1,6fa46e;9,13,1,1,4b7548;10,13,1,1,2b772c;11,13,1,1,3b5f37;4,14,1,1,5c7559;5,14,1,1,1a4017;6,14,5,1,3b5f37;",
operator = "7,0,3,1,a67b60;5,1,1,1,a67b60;6,1,1,1,91694e;7,1,1,1,a67b60;8,1,1,1,b8896c;9,1,1,1,a67b60;10,1,2,1,b8896c;3,2,1,3,a67b60;4,2,1,1,91694e;5,2,1,1,806453;6,2,1,1,71635f;7,2,3,3,b6a099;10,2,1,1,91694e;11,2,1,1,a67b60;12,2,1,1,b8896c;13,2,1,1,a67b60;1,3,2,1,a67b60;4,3,1,1,71635f;5,3,2,1,b6a099;10,3,2,1,b8896c;12,3,1,1,b6a099;13,3,2,1,b8896c;15,3,1,1,a67b60;1,4,1,3,806453;2,4,1,1,714f39;4,4,1,1,a67b60;5,4,1,1,806453;6,4,1,1,a67b60;10,4,1,1,a67b60;11,4,2,1,b8896c;13,4,1,1,91694e;14,4,1,1,714f39;15,4,1,6,564942;2,5,1,1,806453;3,5,2,2,714f39;5,5,1,1,91694e;6,5,1,1,b8896c;7,5,2,1,b6a099;9,5,2,1,b8896c;11,5,1,1,91694e;12,5,2,1,412f23;14,5,1,2,564942;2,6,1,1,564942;5,6,1,2,714f39;6,6,1,3,806453;7,6,2,1,a67b60;9,6,1,1,91694e;10,6,1,1,4d3d33;11,6,2,1,412f23;13,6,1,1,4d3d33;1,7,1,1,714f39;2,7,1,1,4d3d33;3,7,2,4,71635f;7,7,2,1,714f39;9,7,1,1,412f23;10,7,1,1,564942;11,7,1,2,4d3d33;12,7,1,1,564942;13,7,1,1,412f23;14,7,1,1,4d3d33;1,8,1,1,806453;2,8,1,2,412f23;5,8,1,4,71635f;7,8,1,2,806453;8,8,1,1,714f39;9,8,2,1,4d3d33;12,8,2,2,4d3d33;14,8,1,2,412f23;1,9,1,1,714f39;6,9,1,1,714f39;8,9,1,1,412f23;9,9,1,1,4d3d33;10,9,1,1,412f23;11,9,1,3,564942;1,10,1,3,806453;2,10,1,1,4d3d33;6,10,1,2,71635f;7,10,2,3,714f39;9,10,1,2,412f23;10,10,1,1,564942;12,10,1,2,4d3d33;13,10,1,3,412f23;14,10,1,1,4d3d33;15,10,1,1,71635f;2,11,1,1,714f39;3,11,1,1,564942;4,11,1,1,71635f;10,11,1,2,4d3d33;14,11,2,1,564942;2,12,1,1,806453;3,12,1,1,714f39;4,12,1,1,4d3d33;5,12,1,1,564942;6,12,1,3,806453;9,12,1,2,4d3d33;11,12,2,2,412f23;14,12,1,1,4d3d33;15,12,1,1,71635f;3,13,1,1,806453;4,13,2,1,714f39;7,13,1,1,806453;8,13,1,2,4d3d33;10,13,1,2,564942;13,13,1,1,71635f;5,14,1,1,806453;7,14,1,1,714f39;9,14,1,1,412f23;11,14,1,1,71635f;7,15,1,1,806453;8,15,1,1,714f39;9,15,1,1,71635f;",
survival = "6,1,1,1,544d42;7,1,2,1,67491a;9,1,1,1,6e675a;4,2,1,1,6e675a;5,2,1,1,67491a;6,2,4,4,9c6d24;10,2,1,1,544d42;11,2,1,1,6e675a;2,3,1,1,544d42;3,3,1,2,67491a;4,3,2,2,9c6d24;10,3,2,1,9c6d24;12,3,1,1,67491a;13,3,1,1,6e675a;1,4,1,8,544d42;2,4,1,1,3d2d14;10,4,1,1,9c6d24;11,4,1,1,67491a;12,4,1,1,533d1a;13,4,1,1,22190d;14,4,1,8,6e675a;2,5,1,1,67491a;3,5,1,1,3d2d14;4,5,1,1,292115;5,5,1,2,533d1a;10,5,1,1,403626;11,5,1,1,292115;12,5,1,1,3d2d14;13,5,1,1,332611;2,6,1,2,3d2d14;3,6,2,1,67491a;6,6,1,1,403626;7,6,1,1,67491a;8,6,1,1,403626;9,6,1,1,292115;10,6,1,1,332611;11,6,1,1,403626;12,6,1,1,332611;13,6,1,6,22190d;3,7,1,1,332611;4,7,1,2,3d2d14;5,7,2,1,67491a;7,7,1,2,292115;8,7,1,1,332611;9,7,1,1,3d2d14;10,7,1,1,544d42;11,7,1,1,6e675a;12,7,1,1,292115;2,8,2,1,533d1a;5,8,1,1,3d2d14;6,8,1,1,533d1a;8,8,2,1,292115;10,8,2,2,403626;12,8,1,3,3d2d14;2,9,1,1,533d1a;3,9,2,3,67491a;5,9,1,1,533d1a;6,9,1,1,403626;7,9,2,1,22190d;9,9,1,1,332611;2,10,1,1,67491a;5,10,2,2,67491a;7,10,1,4,292115;8,10,1,3,332611;9,10,3,2,3d2d14;2,11,1,1,3d2d14;12,11,1,1,332611;2,12,1,1,6e675a;3,12,1,1,544d42;4,12,1,1,403626;5,12,1,1,533d1a;6,12,1,1,67491a;9,12,1,1,3d2d14;10,12,2,1,332611;12,12,1,1,544d42;5,13,1,1,403626;6,13,1,1,3d2d14;8,13,1,1,292115;9,13,1,1,22190d;10,13,1,1,544d42;6,14,1,1,6e675a;7,14,2,1,544d42;",
},
ghosts = {
chest = "15,0,1,16,a2a2a2;4,2,8,1,5f5f5f;2,3,2,1,5f5f5f;4,3,8,1,888888;12,3,2,1,5f5f5f;1,4,1,3,5f5f5f;2,4,2,1,888888;4,4,3,2,8b8b8b;7,4,2,9,8a8a8a;9,4,2,2,8b8b8b;11,4,1,1,8a8a8a;12,4,2,1,888888;14,4,1,3,5f5f5f;2,5,2,1,8a8a8a;11,5,1,1,8b8b8b;12,5,1,1,8a8a8a;13,5,1,1,888888;2,6,1,1,888888;3,6,2,2,8a8a8a;5,6,2,1,8b8b8b;9,6,1,7,8b8b8b;10,6,2,3,8a8a8a;12,6,1,2,888888;13,6,1,1,737373;2,7,1,2,5f5f5f;5,7,1,5,8a8a8a;6,7,1,4,8b8b8b;13,7,1,2,5f5f5f;3,8,1,1,888888;4,8,1,4,8a8a8a;12,8,1,1,737373;3,9,1,4,5f5f5f;10,9,1,4,8a8a8a;11,9,1,3,888888;12,9,1,4,5f5f5f;6,11,1,1,8a8a8a;4,12,1,1,888888;5,12,2,1,8b8b8b;11,12,1,1,737373;4,13,1,1,5f5f5f;5,13,1,1,888888;6,13,1,1,8a8a8a;7,13,4,1,888888;11,13,1,1,5f5f5f;5,14,6,1,5f5f5f;",
legs = "15,1,1,15,a6a6a6;4,2,7,1,616161;11,2,1,1,676767;3,3,1,11,676767;4,3,7,1,7e7e7e;11,3,1,1,717171;12,3,1,1,676767;4,4,7,2,8a8a8a;11,4,1,9,7e7e7e;12,4,1,10,616161;4,6,2,1,8a8a8a;6,6,1,1,7e7e7e;7,6,1,1,616161;8,6,1,2,717171;9,6,2,1,8a8a8a;4,7,1,6,8a8a8a;5,7,1,6,7e7e7e;6,7,1,8,676767;9,7,1,1,717171;10,7,1,6,8a8a8a;9,8,1,5,676767;4,13,1,1,7e7e7e;5,13,1,1,717171;9,13,1,2,616161;10,13,1,1,7e7e7e;11,13,1,1,717171;3,14,3,1,616161;10,14,2,1,616161;12,14,1,1,676767;",
boots = "15,0,1,16,a9a9a9;4,3,2,1,5e5e5e;6,3,1,8,666666;9,3,2,1,5e5e5e;11,3,1,1,666666;3,4,1,1,6b6b6b;4,4,1,7,8b8b8b;5,4,1,7,808080;9,4,1,7,666666;10,4,1,7,8b8b8b;11,4,1,5,808080;12,4,1,5,666666;3,5,1,3,666666;3,8,1,1,6b6b6b;2,9,1,1,6b6b6b;3,9,1,3,8b8b8b;11,9,1,3,8b8b8b;12,9,1,1,808080;13,9,1,1,666666;1,10,1,1,6b6b6b;2,10,1,2,8b8b8b;12,10,1,2,8b8b8b;13,10,1,2,808080;14,10,1,3,666666;0,11,1,1,808080;1,11,1,1,666666;4,11,1,1,808080;5,11,1,1,6b6b6b;10,11,1,1,666666;1,12,3,1,5e5e5e;4,12,1,1,6b6b6b;11,12,3,1,5e5e5e;",
shield = "15,0,1,16,afafaf;6,1,1,2,747474;7,1,2,1,666666;3,2,1,2,747474;4,2,2,1,666666;7,2,1,11,8b8b8b;8,2,1,1,747474;9,2,3,1,666666;1,3,1,1,747474;2,3,1,1,666666;4,3,3,7,8a8a8a;8,3,2,9,8a8a8a;10,3,1,4,8b8b8b;11,3,1,1,747474;12,3,2,1,666666;1,4,1,2,666666;2,4,2,2,8a8a8a;11,4,2,2,8a8a8a;13,4,1,2,747474;14,4,1,2,666666;1,6,1,3,747474;2,6,1,3,666666;3,6,1,3,8a8a8a;11,6,1,3,8a8a8a;12,6,1,3,747474;13,6,1,3,666666;10,7,1,1,8a8a8a;10,8,1,3,8b8b8b;2,9,1,3,747474;3,9,1,3,666666;11,9,1,3,747474;12,9,1,3,666666;4,10,2,1,8a8a8a;6,10,1,2,8b8b8b;4,11,1,1,8a8a8a;5,11,1,1,8b8b8b;10,11,1,1,8a8a8a;3,12,1,1,747474;4,12,1,1,666666;5,12,2,1,8a8a8a;8,12,1,1,8a8a8a;9,12,1,1,828282;10,12,1,1,747474;11,12,1,1,666666;5,13,2,1,666666;7,13,1,1,8a8a8a;8,13,1,1,747474;9,13,2,1,666666;7,14,2,1,666666;",
helmet = "4,2,8,1,5f5f5f;3,3,1,1,5f5f5f;12,3,1,1,5f5f5f;2,4,1,9,5f5f5f;13,4,1,9,5f5f5f;3,9,2,1,5f5f5f;11,9,2,1,5f5f5f;4,10,1,3,5f5f5f;11,10,1,3,5f5f5f;3,12,1,1,5f5f5f;12,12,1,1,5f5f5f;",
},
xslot = "0,0,16,1,433436;16,0,1,1,86696a;17,0,1,1,a88080;0,1,1,1,433436;1,1,16,1,a88080;17,1,1,17,cdbab9;0,2,1,15,86696a;1,2,4,1,a88080;5,2,7,1,a97f80;12,2,3,1,a88080;15,2,1,1,a97f80;16,2,1,16,cdbab9;1,3,1,14,a88080;2,3,1,1,86696a;3,3,2,1,433436;5,3,1,1,a88080;6,3,5,1,a97f80;11,3,1,1,a88080;12,3,1,1,86696a;13,3,2,1,433436;15,3,1,1,a88080;2,4,1,1,a88080;3,4,1,1,86696a;4,4,2,1,433436;6,4,2,1,a88080;8,4,2,1,a97f80;10,4,1,1,a88080;11,4,1,1,86696a;12,4,2,1,433436;14,4,1,1,a88080;15,4,1,2,a97f80;2,5,1,7,a97f80;3,5,1,2,a88080;4,5,1,1,86696a;5,5,2,1,433436;7,5,3,1,a88080;10,5,1,1,86696a;11,5,2,1,433436;13,5,1,2,a88080;14,5,1,1,a97f80;4,6,1,1,a88080;5,6,1,1,86696a;6,6,2,1,433436;8,6,1,1,a88080;9,6,1,1,86696a;10,6,2,1,433436;12,6,1,1,a88080;14,6,2,1,a88080;3,7,2,1,a97f80;5,7,1,1,a88080;6,7,1,1,86696a;7,7,4,1,433436;11,7,1,3,a88080;12,7,4,2,a97f80;3,8,1,2,a88080;4,8,2,1,a97f80;6,8,1,1,a88080;7,8,1,1,86696a;8,8,2,2,433436;10,8,1,1,a88080;4,9,2,1,a88080;6,9,1,1,86696a;7,9,1,2,433436;10,9,1,2,433436;12,9,1,1,a97f80;13,9,3,1,a88080;3,10,1,2,a97f80;4,10,1,1,a88080;5,10,1,1,86696a;6,10,1,2,433436;8,10,2,1,86696a;11,10,1,2,433436;12,10,1,1,a88080;13,10,2,1,a97f80;15,10,1,1,a88080;4,11,1,1,86696a;5,11,1,2,433436;7,11,1,1,a88080;8,11,1,3,a97f80;9,11,1,1,a88080;10,11,1,1,86696a;12,11,1,2,433436;13,11,1,1,a88080;14,11,2,1,a97f80;2,12,1,1,a88080;3,12,1,1,86696a;4,12,1,2,433436;6,12,1,1,a88080;7,12,1,4,a97f80;9,12,1,2,a97f80;10,12,1,1,a88080;11,12,1,1,86696a;13,12,1,2,433436;14,12,2,1,a88080;2,13,1,1,86696a;3,13,1,1,433436;5,13,1,1,a88080;6,13,1,3,a97f80;10,13,1,3,a97f80;11,13,1,1,a88080;12,13,1,1,86696a;14,13,1,1,433436;15,13,1,2,a88080;2,14,1,1,a88080;3,14,1,1,86696a;4,14,1,1,a88080;5,14,1,2,a97f80;8,14,2,1,a88080;11,14,1,2,a97f80;12,14,1,1,a88080;13,14,1,1,86696a;14,14,1,1,a88080;2,15,3,1,a97f80;8,15,2,1,a97f80;12,15,4,1,a97f80;2,16,14,1,a88080;0,17,16,1,cdbab9;",
titles = {
building = "0,0,4,1,404040;12,0,1,1,404040;14,0,1,7,404040;20,0,1,7,404040;22,0,1,1,404040;39,0,4,1,404040;45,0,1,7,404040;59,0,1,7,404040;0,1,1,6,404040;4,1,1,2,404040;39,1,1,6,404040;43,1,1,2,404040;6,2,1,4,404040;10,2,1,5,404040;12,2,1,5,404040;17,2,3,1,404040;22,2,1,5,404040;24,2,1,5,404040;26,2,2,1,404040;31,2,4,1,404040;48,2,3,1,404040;54,2,3,1,404040;62,2,1,1,404040;66,2,4,1,404040;1,3,3,1,404040;16,3,1,3,404040;25,3,1,1,404040;28,3,1,4,404040;30,3,1,3,404040;34,3,1,5,404040;40,3,3,1,404040;47,3,1,3,404040;51,3,1,3,404040;53,3,1,3,404040;57,3,1,1,404040;61,3,1,1,404040;65,3,1,1,404040;4,4,1,2,404040;43,4,1,2,404040;60,4,1,1,404040;66,4,3,1,404040;9,5,1,2,404040;57,5,1,1,404040;61,5,1,1,404040;69,5,1,1,404040;1,6,3,1,404040;7,6,2,1,404040;17,6,3,1,404040;31,6,3,1,404040;40,6,3,1,404040;48,6,3,1,404040;54,6,3,1,404040;62,6,1,1,404040;65,6,4,1,404040;31,8,3,1,404040;",
colored = "1,0,3,1,404040;12,0,1,7,404040;36,0,1,7,404040;41,0,4,1,404040;47,0,1,7,404040;61,0,1,7,404040;0,1,1,5,404040;4,1,1,1,404040;41,1,1,6,404040;45,1,1,2,404040;7,2,3,1,404040;15,2,3,1,404040;20,2,1,5,404040;22,2,2,1,404040;27,2,3,1,404040;33,2,3,1,404040;50,2,3,1,404040;56,2,3,1,404040;64,2,1,1,404040;68,2,4,1,404040;6,3,1,3,404040;10,3,1,3,404040;14,3,1,3,404040;18,3,1,3,404040;21,3,1,1,404040;24,3,1,1,404040;26,3,1,3,404040;30,3,1,2,404040;32,3,1,3,404040;42,3,3,1,404040;49,3,1,3,404040;53,3,1,3,404040;55,3,1,3,404040;59,3,1,1,404040;63,3,1,1,404040;67,3,1,1,404040;27,4,3,1,404040;45,4,1,2,404040;62,4,1,1,404040;68,4,3,1,404040;4,5,1,1,404040;59,5,1,1,404040;63,5,1,1,404040;71,5,1,1,404040;1,6,3,1,404040;7,6,3,1,404040;15,6,3,1,404040;27,6,3,1,404040;33,6,3,1,404040;42,6,3,1,404040;50,6,3,1,404040;56,6,3,1,404040;64,6,1,1,404040;67,6,4,1,404040;",
natural = "0,0,1,7,404040;4,0,1,7,404040;13,0,1,6,404040;35,0,1,7,404040;40,0,4,1,404040;46,0,1,7,404040;60,0,1,7,404040;1,1,1,2,404040;40,1,1,6,404040;44,1,1,2,404040;7,2,3,1,404040;12,2,1,1,404040;14,2,1,1,404040;17,2,1,4,404040;21,2,1,5,404040;23,2,1,5,404040;25,2,2,1,404040;30,2,3,1,404040;49,2,3,1,404040;55,2,3,1,404040;63,2,1,1,404040;67,2,4,1,404040;2,3,1,1,404040;10,3,1,4,404040;24,3,1,1,404040;27,3,1,1,404040;33,3,1,4,404040;41,3,3,1,404040;48,3,1,3,404040;52,3,1,3,404040;54,3,1,3,404040;58,3,1,1,404040;62,3,1,1,404040;66,3,1,1,404040;3,4,1,2,404040;7,4,3,1,404040;30,4,3,1,404040;44,4,1,2,404040;61,4,1,1,404040;67,4,3,1,404040;6,5,1,1,404040;20,5,1,2,404040;29,5,1,1,404040;58,5,1,1,404040;62,5,1,1,404040;70,5,1,1,404040;7,6,3,1,404040;14,6,2,1,404040;18,6,2,1,404040;30,6,3,1,404040;41,6,3,1,404040;49,6,3,1,404040;55,6,3,1,404040;63,6,1,1,404040;66,6,4,1,404040;",
functional = "0,0,5,1,404040;25,0,1,6,404040;29,0,1,1,404040;49,0,1,7,404040;54,0,4,1,404040;60,0,1,7,404040;74,0,1,7,404040;0,1,1,6,404040;54,1,1,6,404040;58,1,1,2,404040;6,2,1,4,404040;10,2,1,5,404040;12,2,1,5,404040;14,2,2,1,404040;19,2,3,1,404040;24,2,1,1,404040;26,2,1,1,404040;29,2,1,5,404040;32,2,3,1,404040;37,2,1,5,404040;39,2,2,1,404040;44,2,3,1,404040;63,2,3,1,404040;69,2,3,1,404040;77,2,1,1,404040;81,2,4,1,404040;1,3,3,1,404040;13,3,1,1,404040;16,3,1,4,404040;18,3,1,3,404040;22,3,1,1,404040;31,3,1,3,404040;35,3,1,3,404040;38,3,1,1,404040;41,3,1,4,404040;47,3,1,4,404040;55,3,3,1,404040;62,3,1,3,404040;66,3,1,3,404040;68,3,1,3,404040;72,3,1,1,404040;76,3,1,1,404040;80,3,1,1,404040;44,4,3,1,404040;58,4,1,2,404040;75,4,1,1,404040;81,4,3,1,404040;9,5,1,2,404040;22,5,1,1,404040;43,5,1,1,404040;72,5,1,1,404040;76,5,1,1,404040;84,5,1,1,404040;7,6,2,1,404040;19,6,3,1,404040;26,6,2,1,404040;32,6,3,1,404040;44,6,3,1,404040;55,6,3,1,404040;63,6,3,1,404040;69,6,3,1,404040;77,6,1,1,404040;80,6,4,1,404040;",
redstone = "0,0,4,1,404040;16,0,1,7,404040;25,0,1,6,404040;50,0,4,1,404040;56,0,1,7,404040;70,0,1,7,404040;0,1,1,6,404040;4,1,1,2,404040;50,1,1,6,404040;54,1,1,2,404040;7,2,3,1,404040;13,2,3,1,404040;19,2,4,1,404040;24,2,1,1,404040;26,2,1,1,404040;30,2,3,1,404040;35,2,1,5,404040;37,2,2,1,404040;42,2,3,1,404040;59,2,3,1,404040;65,2,3,1,404040;73,2,1,1,404040;77,2,4,1,404040;1,3,3,1,404040;6,3,1,3,404040;10,3,1,2,404040;12,3,1,3,404040;18,3,1,1,404040;29,3,1,3,404040;33,3,1,3,404040;36,3,1,1,404040;39,3,1,4,404040;41,3,1,3,404040;45,3,1,2,404040;51,3,3,1,404040;58,3,1,3,404040;62,3,1,3,404040;64,3,1,3,404040;68,3,1,1,404040;72,3,1,1,404040;76,3,1,1,404040;2,4,1,1,404040;7,4,3,1,404040;19,4,3,1,404040;42,4,3,1,404040;54,4,1,2,404040;71,4,1,1,404040;77,4,3,1,404040;3,5,1,1,404040;22,5,1,1,404040;68,5,1,1,404040;72,5,1,1,404040;80,5,1,1,404040;4,6,1,1,404040;7,6,3,1,404040;13,6,3,1,404040;18,6,4,1,404040;26,6,2,1,404040;30,6,3,1,404040;42,6,3,1,404040;51,6,3,1,404040;59,6,3,1,404040;65,6,3,1,404040;73,6,1,1,404040;76,6,4,1,404040;",
hotbars = "1,0,3,1,404040;28,0,1,7,404040;33,0,1,7,404040;37,0,1,7,404040;46,0,1,6,404040;50,0,1,7,404040;0,1,1,2,404040;4,1,1,1,404040;7,2,3,1,404040;12,2,1,3,404040;16,2,1,3,404040;19,2,3,1,404040;25,2,3,1,404040;40,2,3,1,404040;45,2,1,1,404040;47,2,1,1,404040;51,2,3,1,404040;57,2,3,1,404040;62,2,1,5,404040;64,2,2,1,404040;69,2,4,1,404040;1,3,3,1,404040;10,3,1,4,404040;18,3,1,3,404040;22,3,1,2,404040;24,3,1,3,404040;34,3,3,1,404040;39,3,1,3,404040;43,3,1,3,404040;54,3,1,3,404040;60,3,1,4,404040;63,3,1,1,404040;66,3,1,1,404040;68,3,1,1,404040;4,4,1,2,404040;7,4,3,1,404040;19,4,3,1,404040;57,4,3,1,404040;69,4,3,1,404040;0,5,1,1,404040;6,5,1,1,404040;13,5,1,1,404040;15,5,1,1,404040;56,5,1,1,404040;72,5,1,1,404040;1,6,3,1,404040;7,6,3,1,404040;14,6,1,1,404040;19,6,3,1,404040;25,6,3,1,404040;40,6,3,1,404040;47,6,2,1,404040;51,6,3,1,404040;57,6,3,1,404040;68,6,4,1,404040;",
search = "1,0,3,1Obfuscated. The code is scrambled, so you can't read what it does. Common for key systems, but take care.
Makes you Steve from Minecraft

Universal