add java client source
This commit is contained in:
commit
c7a15fdc7d
98 files changed
+80145
No files matched your search
@@ -0,0 +1,238 @@
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <winhttp.h>
|
||||
#include <bcrypt.h>
|
||||
#include <winrt/Windows.Data.Json.h>
|
||||
#include <winrt/Windows.Foundation.Collections.h>
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <cmath>
|
||||
#include <ctime>
|
||||
#include <filesystem>
|
||||
#include <functional>
|
||||
#include <mutex>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include "saved_login.h"
|
||||
#pragma comment(lib,"winhttp.lib")
|
||||
#pragma comment(lib,"bcrypt.lib")
|
||||
#pragma comment(lib,"advapi32.lib")
|
||||
#pragma comment(lib,"windowsapp.lib")
|
||||
|
||||
namespace licensing {
|
||||
using clock=std::chrono::steady_clock;
|
||||
using namespace winrt::Windows::Data::Json;
|
||||
inline void erase(std::string& text) { if(!text.empty())SecureZeroMemory(text.data(),text.size());text.clear(); }
|
||||
struct endpoint { std::wstring host,path; INTERNET_PORT port=0; bool secure=false; };
|
||||
inline endpoint parse_endpoint(const std::string& address) {
|
||||
if(address.empty() || address.size()>512 || address.find_first_of("\r\n\t \\?#%")!=std::string::npos)
|
||||
throw std::runtime_error("enter an https api address (http is allowed only for local testing)");
|
||||
const auto url=winrt::to_hstring(address);URL_COMPONENTS parts{sizeof(parts)};
|
||||
parts.dwHostNameLength=parts.dwUrlPathLength=parts.dwExtraInfoLength=DWORD(-1);
|
||||
if(!WinHttpCrackUrl(url.c_str(),url.size(),ICU_REJECT_USERPWD,&parts) || !parts.dwHostNameLength || parts.dwExtraInfoLength)
|
||||
throw std::runtime_error("invalid licensing api address");
|
||||
endpoint result;result.host.assign(parts.lpszHostName,parts.dwHostNameLength);
|
||||
if(parts.dwUrlPathLength)result.path.assign(parts.lpszUrlPath,parts.dwUrlPathLength);result.port=parts.nPort;
|
||||
result.secure=parts.nScheme==INTERNET_SCHEME_HTTPS;
|
||||
std::wstring host=result.host;for(auto& c:host)if(c>=L'A'&&c<=L'Z')c+=32;
|
||||
// Literal loopback only: do not trust DNS names or alternate IP spellings.
|
||||
if(!result.secure && !(parts.nScheme==INTERNET_SCHEME_HTTP && (host==L"127.0.0.1" || host==L"localhost" || host==L"[::1]" || host==L"::1")))
|
||||
throw std::runtime_error("remote licensing servers require https");
|
||||
while(!result.path.empty() && result.path.back()==L'/')result.path.pop_back();
|
||||
if(result.path.empty())result.path=L"/api";
|
||||
return result;
|
||||
}
|
||||
inline std::string sha256(const std::string& text) {
|
||||
unsigned char hash[32]{};
|
||||
if(BCryptHash(BCRYPT_SHA256_ALG_HANDLE,nullptr,0,reinterpret_cast<PUCHAR>(const_cast<char*>(text.data())),ULONG(text.size()),hash,sizeof(hash))<0)
|
||||
throw std::runtime_error("could not create device fingerprint");
|
||||
std::string value;value.reserve(64);for(auto byte:hash){value+="0123456789abcdef"[byte>>4];value+="0123456789abcdef"[byte&15];}return value;
|
||||
}
|
||||
inline std::string fingerprint() {
|
||||
wchar_t identifier[256]{};DWORD size=sizeof(identifier);
|
||||
if(RegGetValueW(HKEY_LOCAL_MACHINE,L"SOFTWARE\\Microsoft\\Cryptography",L"MachineGuid",RRF_RT_REG_SZ|RRF_SUBKEY_WOW6464KEY,nullptr,identifier,&size)!=ERROR_SUCCESS)
|
||||
throw std::runtime_error("could not read this device's identifier");
|
||||
std::string value=winrt::to_string(identifier);SecureZeroMemory(identifier,sizeof(identifier));
|
||||
const auto first=value.find_first_not_of(" \t\r\n"),last=value.find_last_not_of(" \t\r\n");
|
||||
if(first==std::string::npos)throw std::runtime_error("this device has no identifier");
|
||||
value=value.substr(first,last-first+1);for(auto& c:value)if(c>='A'&&c<='Z')c+=32;
|
||||
auto result=sha256("amnesia/device/v1:"+value);erase(value);return result;
|
||||
}
|
||||
struct http_handle {
|
||||
HINTERNET value=nullptr;
|
||||
explicit http_handle(HINTERNET handle):value(handle){}
|
||||
~http_handle(){if(value)WinHttpCloseHandle(value);}
|
||||
http_handle(const http_handle&)=delete;
|
||||
operator HINTERNET()const{return value;}
|
||||
};
|
||||
struct response { DWORD status=0;std::string body; };
|
||||
inline response post(const endpoint& api,const wchar_t* route,std::string& payload,const std::string& token={}) {
|
||||
http_handle session(WinHttpOpen(L"amnesia/1",WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY,WINHTTP_NO_PROXY_NAME,WINHTTP_NO_PROXY_BYPASS,0));
|
||||
if(!session.value || !WinHttpSetTimeouts(session,2500,2500,2500,2500))throw std::runtime_error("licensing service unavailable; check the api address");
|
||||
http_handle connection(WinHttpConnect(session,api.host.c_str(),api.port,0));
|
||||
const auto path=api.path+route;
|
||||
http_handle request(connection.value ? WinHttpOpenRequest(connection,L"POST",path.c_str(),nullptr,WINHTTP_NO_REFERER,WINHTTP_DEFAULT_ACCEPT_TYPES,api.secure ? WINHTTP_FLAG_SECURE:0):nullptr);
|
||||
DWORD redirects=WINHTTP_OPTION_REDIRECT_POLICY_NEVER,disable=WINHTTP_DISABLE_COOKIES,autologon=WINHTTP_AUTOLOGON_SECURITY_LEVEL_HIGH;
|
||||
if(!request.value || !WinHttpSetOption(request,WINHTTP_OPTION_REDIRECT_POLICY,&redirects,sizeof(redirects)) ||
|
||||
!WinHttpSetOption(request,WINHTTP_OPTION_DISABLE_FEATURE,&disable,sizeof(disable)) ||
|
||||
!WinHttpSetOption(request,WINHTTP_OPTION_AUTOLOGON_POLICY,&autologon,sizeof(autologon)))
|
||||
throw std::runtime_error("could not initialize licensing connection");
|
||||
std::wstring headers=L"Content-Type: application/json\r\n";
|
||||
if(!token.empty())headers+=L"Authorization: Bearer "+std::wstring(token.begin(),token.end())+L"\r\n";
|
||||
const bool sent=WinHttpSendRequest(request,headers.c_str(),DWORD(headers.size()),payload.data(),DWORD(payload.size()),DWORD(payload.size()),0)!=FALSE;
|
||||
SecureZeroMemory(headers.data(),headers.size()*sizeof(wchar_t));
|
||||
if(!sent || !WinHttpReceiveResponse(request,nullptr))throw std::runtime_error("licensing service unavailable; check the api address");
|
||||
response result;DWORD length=sizeof(result.status);
|
||||
if(!WinHttpQueryHeaders(request,WINHTTP_QUERY_STATUS_CODE|WINHTTP_QUERY_FLAG_NUMBER,nullptr,&result.status,&length,nullptr))throw std::runtime_error("invalid licensing response");
|
||||
char buffer[4096];DWORD count=0;const auto until=clock::now()+std::chrono::seconds(8);
|
||||
for(;;) {
|
||||
if(clock::now()>until || !WinHttpReadData(request,buffer,sizeof(buffer),&count))throw std::runtime_error("licensing response timed out");
|
||||
if(!count)break;
|
||||
if(result.body.size()+count>16384)throw std::runtime_error("licensing response is too large");
|
||||
result.body.append(buffer,count);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
struct account {
|
||||
bool authenticated=false,busy=false,reconnecting=false;
|
||||
int64_t uid=0,license_expiry=0;
|
||||
std::string username,label,message="sign in with your licensed account";
|
||||
clock::time_point deadline{};
|
||||
bool allowed(clock::time_point now=clock::now())const{return authenticated && now<deadline;}
|
||||
};
|
||||
inline int64_t integer(const JsonObject& object,const wchar_t* name) {
|
||||
const double value=object.GetNamedNumber(name);
|
||||
if(!std::isfinite(value) || value<0 || value>9007199254740991.0 || std::floor(value)!=value)throw std::runtime_error("invalid licensing response");
|
||||
return int64_t(value);
|
||||
}
|
||||
inline account decode(const std::string& body,bool verify,clock::time_point sent) {
|
||||
auto json=JsonObject::Parse(winrt::to_hstring(body));
|
||||
if(verify && !json.GetNamedBoolean(L"valid"))throw std::runtime_error("license is no longer active");
|
||||
auto identity=json.GetNamedObject(L"account"),license=json.GetNamedObject(L"license");
|
||||
account result;result.uid=integer(identity,L"uid");result.username=winrt::to_string(identity.GetNamedString(L"username"));
|
||||
if(!result.uid || result.username.size()<3 || result.username.size()>24 ||
|
||||
result.username.find_first_not_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_")!=std::string::npos ||
|
||||
license.GetNamedString(L"status")!=L"active")throw std::runtime_error("invalid licensing response");
|
||||
result.label=winrt::to_string(license.GetNamedString(L"label"));
|
||||
auto expiry=license.GetNamedValue(L"expires_at");
|
||||
if(expiry.ValueType()!=JsonValueType::Null)result.license_expiry=integer(license,L"expires_at");
|
||||
const auto server=integer(json,L"server_time"),expires=integer(json,L"expires_at");
|
||||
const auto end=result.license_expiry ? (std::min)(expires,result.license_expiry):expires;
|
||||
if(!server || end<=server || end-server>3600)throw std::runtime_error("invalid client session expiry");
|
||||
result.deadline=sent+std::chrono::seconds(end-server);result.authenticated=true;result.message="license active";return result;
|
||||
}
|
||||
inline std::string error_message(DWORD status,const std::string& body) {
|
||||
try {
|
||||
auto code=JsonObject::Parse(winrt::to_hstring(body)).GetNamedString(L"code",L"");
|
||||
if(code==L"invalid_credentials")return "account name or password is incorrect";
|
||||
if(code==L"license_required")return "redeem an active license on the website first";
|
||||
if(code==L"hwid_mismatch")return "account is linked to another device; request a reset on the website";
|
||||
if(code==L"rate_limited")return "too many attempts; wait a minute and try again";
|
||||
}catch(...){}
|
||||
return status==401 || status==403 ? "session ended; sign in again" : "licensing request failed; check the server and try again";
|
||||
}
|
||||
class service {
|
||||
public:
|
||||
explicit service(std::function<std::string()> hardware=fingerprint,std::chrono::seconds interval=std::chrono::seconds(60),std::wstring credential_target=saved_login::target)
|
||||
: hardware_(std::move(hardware)),interval_(interval),credential_target_(std::move(credential_target)){}
|
||||
void start(){worker_=std::thread([this]{run();});}
|
||||
void stop(){ {std::lock_guard lock(mutex_);stopping_=true;erase(password_);} wake_.notify_all();if(worker_.joinable())worker_.join(); }
|
||||
account latest()const{std::lock_guard lock(mutex_);return state_;}
|
||||
bool allowed()const{std::lock_guard lock(mutex_);return state_.allowed();}
|
||||
void login(std::string api,std::string name,std::string password,bool remember=false) {
|
||||
std::lock_guard lock(mutex_);if(state_.busy || stopping_){erase(password);return;}
|
||||
api_=std::move(api);name_=std::move(name);password_=password;erase(password);remember_=remember;pending_=true;
|
||||
state_.busy=true;state_.message="signing in...";wake_.notify_all();
|
||||
}
|
||||
void logout(){{std::lock_guard lock(mutex_);++generation_;pending_=false;erase(password_);remember_=false;state_={};state_.message="signed out";logout_=true;}saved_login::forget(credential_target_.c_str());wake_.notify_all();}
|
||||
private:
|
||||
mutable std::mutex mutex_;std::condition_variable wake_;std::thread worker_;
|
||||
account state_;bool stopping_=false,pending_=false,logout_=false,remember_=false;unsigned generation_=0;
|
||||
std::string api_,name_,password_;
|
||||
std::function<std::string()> hardware_;std::chrono::seconds interval_;
|
||||
std::wstring credential_target_;
|
||||
void run() {
|
||||
try {winrt::init_apartment(winrt::apartment_type::multi_threaded);}catch(...){std::lock_guard lock(mutex_);state_.message="could not initialize account service";return;}
|
||||
std::string token,hwid;endpoint api;auto next=(clock::time_point::max)();
|
||||
for(;;) {
|
||||
std::string address,name,password;bool login=false,logout=false,remember=false;unsigned generation;
|
||||
{std::unique_lock lock(mutex_);wake_.wait_until(lock,next,[&]{return stopping_||pending_||logout_;});
|
||||
if(stopping_)break;
|
||||
generation=generation_;logout=logout_;logout_=false;
|
||||
if(pending_){login=true;pending_=false;address=api_;name=name_;password=password_;erase(password_);remember=remember_;}
|
||||
}
|
||||
if(logout) {
|
||||
try{if(!token.empty()){auto body=std::string("{\"hwid\":\"")+hwid+"\"}";post(api,L"/client/logout",body,token);}}catch(...){}
|
||||
erase(token);next=(clock::time_point::max)();
|
||||
if(!login)continue;
|
||||
}
|
||||
if(!login && token.empty()){next=(clock::time_point::max)();continue;}
|
||||
try {
|
||||
if(login){api=parse_endpoint(address);if(hwid.empty())hwid=hardware_();}
|
||||
JsonObject json;json.Insert(L"hwid",JsonValue::CreateStringValue(winrt::to_hstring(hwid)));
|
||||
if(login){
|
||||
json.Insert(L"username",JsonValue::CreateStringValue(winrt::to_hstring(name)));
|
||||
json.Insert(L"password",JsonValue::CreateStringValue(winrt::to_hstring(password)));
|
||||
wchar_t device[MAX_COMPUTERNAME_LENGTH+1]{};DWORD count=DWORD(std::size(device));
|
||||
json.Insert(L"device_name",JsonValue::CreateStringValue(GetComputerNameW(device,&count) ? device:L"windows pc"));
|
||||
}else json.Insert(L"renew",JsonValue::CreateBooleanValue(true));
|
||||
auto body=winrt::to_string(json.Stringify());json.Clear();
|
||||
const auto sent=clock::now();response reply;
|
||||
try{reply=post(api,login ? L"/client/activate":L"/client/verify",body,login ? std::string{}:token);}catch(...){erase(body);throw;}
|
||||
erase(body);
|
||||
if(reply.status!=200) {
|
||||
const auto message=error_message(reply.status,reply.body);
|
||||
if(reply.status==401 || reply.status==403 || login) {
|
||||
erase(password);erase(token);std::lock_guard lock(mutex_);if(generation==generation_){state_={};state_.message=message;}
|
||||
next=(clock::time_point::max)();continue;
|
||||
}
|
||||
throw std::runtime_error(message);
|
||||
}
|
||||
auto fresh=decode(reply.body,!login,sent);
|
||||
if(login){
|
||||
token=winrt::to_string(JsonObject::Parse(winrt::to_hstring(reply.body)).GetNamedString(L"token"));
|
||||
if(token.size()<20 || token.size()>128 || token.find_first_not_of("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-")!=std::string::npos)
|
||||
throw std::runtime_error("invalid licensing token");
|
||||
}
|
||||
erase(reply.body);
|
||||
{std::lock_guard lock(mutex_);if(generation==generation_) {
|
||||
if(login && remember && !saved_login::save(address,name,password,credential_target_.c_str()))fresh.message="signed in / could not save login on this windows account";
|
||||
state_=std::move(fresh);
|
||||
}}
|
||||
erase(password);
|
||||
next=clock::now()+interval_;
|
||||
}catch(...) {
|
||||
erase(password);
|
||||
std::lock_guard lock(mutex_);
|
||||
if(generation==generation_) {
|
||||
state_.busy=false;state_.reconnecting=!login && state_.allowed();
|
||||
state_.message=login ? "could not sign in; check the api address, server and credentials" : "reconnecting to licensing service";
|
||||
if(login){state_.authenticated=false;erase(token);}
|
||||
}
|
||||
next=token.empty() ? (clock::time_point::max)():clock::now()+std::chrono::seconds(15);
|
||||
}
|
||||
}
|
||||
erase(token);erase(hwid);winrt::uninit_apartment();
|
||||
}
|
||||
};
|
||||
// Never join a network thread from a CRT static destructor under loader lock.
|
||||
inline service*& storage(){static service* value=nullptr;return value;}
|
||||
inline service& client(){auto& value=storage();if(!value)value=new service;return *value;}
|
||||
inline void shutdown(){auto& value=storage();if(value){value->stop();delete value;value=nullptr;}}
|
||||
inline std::filesystem::path config_path() {
|
||||
HMODULE module=nullptr;wchar_t path[32768]{};
|
||||
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS|GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,reinterpret_cast<LPCWSTR>(&config_path),&module);
|
||||
if(!GetModuleFileNameW(module,path,DWORD(std::size(path))))return {};
|
||||
return std::filesystem::path(path).parent_path()/L"licensing.ini";
|
||||
}
|
||||
inline std::string expiry_text(int64_t stamp) {
|
||||
if(!stamp)return "lifetime";
|
||||
const time_t value=time_t(stamp);tm date{};char text[32]{};
|
||||
if(gmtime_s(&date,&value) || !strftime(text,sizeof(text),"%Y-%m-%d",&date))return "unknown";
|
||||
return text;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <wincred.h>
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#pragma comment(lib,"advapi32.lib")
|
||||
|
||||
namespace licensing::saved_login {
|
||||
inline constexpr const wchar_t* target=L"amnesia/client/remembered-login/v1";
|
||||
struct credentials {
|
||||
std::string api,username,password;
|
||||
~credentials(){if(!password.empty())SecureZeroMemory(password.data(),password.size());}
|
||||
credentials()=default;credentials(const credentials&)=delete;credentials& operator=(const credentials&)=delete;
|
||||
};
|
||||
inline bool forget(const wchar_t* key=target) {
|
||||
return CredDeleteW(key,CRED_TYPE_GENERIC,0) || GetLastError()==ERROR_NOT_FOUND;
|
||||
}
|
||||
inline bool save(const std::string& api,const std::string& username,const std::string& password,const wchar_t* key=target) {
|
||||
if(api.empty() || api.size()>512 || username.size()<3 || username.size()>24 || password.empty() || password.size()>512)return false;
|
||||
const uint32_t lengths[]{uint32_t(api.size()),uint32_t(username.size()),uint32_t(password.size())};
|
||||
std::string blob("AML1",4);blob.append(reinterpret_cast<const char*>(lengths),sizeof(lengths));blob+=api;blob+=username;blob+=password;
|
||||
struct wipe {std::string& value;~wipe(){if(!value.empty())SecureZeroMemory(value.data(),value.size());}} clear{blob};
|
||||
CREDENTIALW credential{};credential.Type=CRED_TYPE_GENERIC;credential.TargetName=const_cast<wchar_t*>(key);
|
||||
credential.Persist=CRED_PERSIST_LOCAL_MACHINE;credential.CredentialBlobSize=DWORD(blob.size());
|
||||
credential.CredentialBlob=reinterpret_cast<LPBYTE>(blob.data());
|
||||
std::wstring name(username.begin(),username.end());credential.UserName=name.data();
|
||||
const bool okay=CredWriteW(&credential,0)!=FALSE;
|
||||
SecureZeroMemory(blob.data(),blob.size());return okay;
|
||||
}
|
||||
inline bool load(credentials& out,const wchar_t* key=target) {
|
||||
PCREDENTIALW credential=nullptr;if(!CredReadW(key,CRED_TYPE_GENERIC,0,&credential))return false;
|
||||
struct cleanup {PCREDENTIALW value;~cleanup(){if(value->CredentialBlob && value->CredentialBlobSize)SecureZeroMemory(value->CredentialBlob,value->CredentialBlobSize);CredFree(value);}} release{credential};
|
||||
if(!credential->CredentialBlob || credential->CredentialBlobSize<16 || credential->CredentialBlobSize>CRED_MAX_CREDENTIAL_BLOB_SIZE)return false;
|
||||
const auto* blob=reinterpret_cast<const char*>(credential->CredentialBlob);uint32_t lengths[3]{};
|
||||
if(memcmp(blob,"AML1",4))return false;memcpy(lengths,blob+4,sizeof(lengths));
|
||||
if(!lengths[0] || lengths[0]>512 || lengths[1]<3 || lengths[1]>24 || !lengths[2] || lengths[2]>512 ||
|
||||
uint64_t(16)+lengths[0]+lengths[1]+lengths[2]!=credential->CredentialBlobSize)return false;
|
||||
out.api.assign(blob+16,lengths[0]);out.username.assign(blob+16+lengths[0],lengths[1]);
|
||||
if(!out.password.empty())SecureZeroMemory(out.password.data(),out.password.size());
|
||||
out.password.assign(blob+16+lengths[0]+lengths[1],lengths[2]);return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
#include "font_data.h"
|
||||
const unsigned char* amnesia_fallback_font() { return k_font_data; }
|
||||
int amnesia_fallback_font_size() { return static_cast<int>(k_font_size); }
|
||||
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
inline const unsigned char k_font_data[] = {
|
||||
0x00,0x01,0x00,0x00,0x00,0x0D,0x00,0x80,0x00,0x03,0x00,0x50,0x46,0x46,0x54,0x4D,0xAD,0x8D,0x69,0xF9,0x00,0x09,0xE8,0x54,0x00,0x00,0x00,0x1C,0x47,0x44,0x45,0x46,0x00,0x25,0x00,0x00,0x00,0x09,0xE8,0x3C,0x00,0x00,0x00,0x18,0x4F,0x53,0x2F,0x32,0x3D,0x7A,0x52,0x4B,0x00,0x00,0x01,0x58,0x00,0x00,0x00,0x60,0x63,0x6D,0x61,0x70,0x64,0xB9,0x3D,0x04,0x00,0x00,0x60,0x34,0x00,0x00,0x37,0xE4,0x67,0x61,0x73,0x70,0xFF,0xFF,0x00,0x03,0x00,0x09,0xE8,0x34,0x00,0x00,0x00,0x08,0x67,0x6C,0x79,0x66,0x4F,0x58,0x72,0xFB,0x00,0x00,0xF6,0x98,0x00,0x07,0xFF,0x2C,0x68,0x65,0x61,0x64,0x2F,0x42,0x8F,0x56,0x00,0x00,0x00,0xDC,0x00,0x00,0x00,0x36,0x68,0x68,0x65,0x61,0x0C,0xEE,0x1A,0xB3,0x00,0x00,0x01,0x14,0x00,0x00,0x00,0x24,0x68,0x6D,0x74,0x78,0xCC,0x17,0xA4,0x2E,0x00,0x00,0x01,0xB8,0x00,0x00,0x5E,0x7C,0x6C,0x6F,0x63,0x61,0x5C,0x7A,0x42,0xF8,0x00,0x00,0x98,0x18,0x00,0x00,0x5E,0x80,0x6D,0x61,0x78,0x70,0x17,0xC0,0x00,0xBA,0x00,0x00,0x01,0x38,0x00,0x00,0x00,0x20,0x6E,0x61,0x6D,0x65,0x93,0x60,0x3E,0x7F,0x00,0x08,0xF5,0xC4,0x00,0x00,0x10,0xC5,0x70,0x6F,0x73,0x74,0x56,0x1E,0x23,0xA4,0x00,0x09,0x06,0x8C,0x00,0x00,0xE1,0xA8,0x00,0x01,0x00,0x00,0x00,0x01,0x4C,0xCD,0xA5,0xF1,0x4D,0x95,0x5F,0x0F,0x3C,0xF5,0x00,0x0B,0x08,0x00,0x00,0x00,0x00,0x00,0xE4,0xAF,0x7C,0x00,0x00,0x00,0x00,0x00,0xE4,0xAF,0x7C,0x02,0xFF,0x62,0xFE,0x27,0x07,0x62,0x07,0x62,0x00,0x00,0x00,0x08,0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x06,0x27,0xFE,0x27,0x00,0x00,0x08,0x00,0xFF,0x62,0xFC,0xEC,0x07,0x62,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,0x9F,0x00,0x01,0x00,0x00,0x17,0x9F,0x00,0xB8,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x65,0x01,0xF4,0x00,0x05,0x00,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x04,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x04,0x00,0x00,0x9E,0x03,0x14,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE1,0x40,0x02,0xFF,0xFA,0xC7,0xFD,0xFB,0x06,0x64,0x80,0x34,0x06,0x00,0x20,0x40,0x4B,0x42,0x6E,0x50,0x01,0xC0,0x00,0x00,0xFF,0xFF,0x06,0x27,0xFE,0x27,0x00,0x00,0x06,0x27,0x01,0xD9,0x20,0x00,0x01,0x9F,0xDF,0xD7,0x00,0x00,0x03,0xB1,0x04,0xEC,0x00,0x00,0x00,0x20,0x00,0x01,0x00,0x00,0x00,0x00,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x04,0x4E,0x00,0x00,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x00,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x00,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x00,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x00,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x00,0x03,0xB1,0x00,0x00,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0xD9,0x03,0xB1,0x00,0x9E,0x03,0xB1,0x01,0x3B,0x03,0xB1,0x00,0x00,0x03,0xB1,0x01,0x3BLine truncated
|
||||
};
|
||||
inline const unsigned int k_font_size = 649328;
|
||||
@@ -0,0 +1,52 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace chat_logic {
|
||||
inline constexpr size_t message_limit=512,history_limit=200;
|
||||
struct message {uint64_t id=0;int type=0;std::string sender,text,formatted;};
|
||||
// Bedrock formatting may arrive as UTF-8 or a legacy section-sign byte.
|
||||
inline std::string plain(const std::string& source) {
|
||||
std::string out;out.reserve(source.size());
|
||||
for(size_t i=0;i<source.size();) {
|
||||
const auto c=static_cast<unsigned char>(source[i]);
|
||||
if(c==0xa7 || (c==0xc2 && i+1<source.size() && static_cast<unsigned char>(source[i+1])==0xa7)) {
|
||||
i+=(c==0xc2 ? 2:1);if(i<source.size())++i;continue;
|
||||
}
|
||||
++i;if(c>=32 || c=='\n' || c=='\t')out+=static_cast<char>(c);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
inline bool valid_submission(const std::string& text) {
|
||||
if(text.empty() || text.size()>message_limit)return false;
|
||||
bool nonspace=false;
|
||||
for(unsigned char c:text){if(c<32 || c==127)return false;if(c!=' ')nonspace=true;}
|
||||
return nonspace;
|
||||
}
|
||||
inline std::string preview(const std::string& source,size_t limit=280) {
|
||||
if(source.size()<=limit)return source;
|
||||
size_t end=limit;
|
||||
while(end && (static_cast<unsigned char>(source[end])&0xc0)==0x80)--end;
|
||||
return source.substr(0,end)+"...";
|
||||
}
|
||||
class sent_history {
|
||||
public:
|
||||
void remember(const std::string& text) {
|
||||
if(items_.empty() || items_.back()!=text)items_.push_back(text);
|
||||
if(items_.size()>50)items_.pop_front();reset();
|
||||
}
|
||||
void reset(){index_=items_.size();draft_.clear();}
|
||||
std::string move(int direction,const std::string& current) {
|
||||
if(items_.empty())return current;
|
||||
if(index_==items_.size())draft_=current;
|
||||
if(direction<0 && index_)--index_;
|
||||
if(direction>0 && index_<items_.size())++index_;
|
||||
return index_==items_.size() ? draft_:items_[index_];
|
||||
}
|
||||
private:
|
||||
std::deque<std::string> items_;size_t index_=0;std::string draft_;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
#pragma once
|
||||
#include "lyrics_timing.h"
|
||||
#include <windows.h>
|
||||
#include <winhttp.h>
|
||||
#include <winrt/Windows.Data.Json.h>
|
||||
#include <winrt/Windows.Foundation.h>
|
||||
#include <winrt/Windows.Storage.Streams.h>
|
||||
#include <winrt/Windows.Web.Http.h>
|
||||
#include <winrt/Windows.Web.Http.Headers.h>
|
||||
#include <winrt/Windows.Web.Http.Filters.h>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#pragma comment(lib,"winhttp.lib")
|
||||
#pragma comment(lib,"windowsapp.lib")
|
||||
|
||||
namespace lyrics {
|
||||
using clock=std::chrono::steady_clock;
|
||||
using cancelled_fn=std::function<bool()>;
|
||||
struct reply {unsigned status=0;std::string body;double retry_after=0;};
|
||||
using fetch_fn=std::function<reply(const std::wstring&,const cancelled_fn&)>;
|
||||
template<class Class,class Interface=winrt::Windows::Foundation::IActivationFactory> inline auto activation_factory() {
|
||||
// The named overload calls RoGetActivationFactory directly. The
|
||||
// zero-argument overload still uses C++/WinRT's process-wide cache.
|
||||
return winrt::get_activation_factory<Interface>(winrt::name_of<Class>());
|
||||
}
|
||||
inline double retry_delay(const std::wstring& header) {
|
||||
if(header.empty())return 0;
|
||||
if(std::all_of(header.begin(),header.end(),[](wchar_t c){return c>=L'0' && c<=L'9';})) {
|
||||
try{return (std::min)(double(std::stoull(header)),double(UINT32_MAX));}catch(...){return double(UINT32_MAX);}
|
||||
}
|
||||
SYSTEMTIME date{};FILETIME parsed{},now{};
|
||||
if(!WinHttpTimeToSystemTime(header.c_str(),&date) || !SystemTimeToFileTime(&date,&parsed))return 0;
|
||||
GetSystemTimeAsFileTime(&now);
|
||||
const auto ticks=[](FILETIME t){return (uint64_t(t.dwHighDateTime)<<32)|t.dwLowDateTime;};
|
||||
return ticks(parsed)>ticks(now) ? double(ticks(parsed)-ticks(now))/1e7:0;
|
||||
}
|
||||
template<class Operation> inline bool complete(const Operation& op,const cancelled_fn& cancelled,clock::time_point deadline) {
|
||||
using winrt::Windows::Foundation::AsyncStatus;
|
||||
while(op.Status()==AsyncStatus::Started) {
|
||||
if(cancelled() || clock::now()>=deadline){op.Cancel();return false;}
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
}
|
||||
if(cancelled())return false;
|
||||
if(op.Status()==AsyncStatus::Error)op.GetResults();
|
||||
return op.Status()==AsyncStatus::Completed;
|
||||
}
|
||||
inline reply http_get(const std::wstring& path,const cancelled_fn& cancelled) {
|
||||
using namespace winrt::Windows::Web::Http;
|
||||
using namespace winrt::Windows::Web::Http::Filters;
|
||||
using namespace winrt::Windows::Storage::Streams;
|
||||
reply result;const auto deadline=clock::now()+std::chrono::seconds(8);
|
||||
auto filter=activation_factory<HttpBaseProtocolFilter>().ActivateInstance<HttpBaseProtocolFilter>();
|
||||
filter.AllowAutoRedirect(false);filter.CookieUsageBehavior(HttpCookieUsageBehavior::NoCookies);
|
||||
auto cache=filter.CacheControl();
|
||||
cache.ReadBehavior(HttpCacheReadBehavior::NoCache);
|
||||
cache.WriteBehavior(HttpCacheWriteBehavior::NoCache);
|
||||
auto client=activation_factory<HttpClient,IHttpClientFactory>().Create(filter);
|
||||
client.DefaultRequestHeaders().UserAgent().ParseAdd(L"amnesia/0.0.1 (+https://bitchbot.cc)");
|
||||
const auto uri=activation_factory<winrt::Windows::Foundation::Uri,winrt::Windows::Foundation::IUriRuntimeClassFactory>().CreateUri(L"https://lrclib.net"+path);
|
||||
auto pending=client.GetAsync(uri,HttpCompletionOption::ResponseHeadersRead);
|
||||
if(!complete(pending,cancelled,deadline))return result;
|
||||
auto response=pending.GetResults();result.status=unsigned(response.StatusCode());
|
||||
if(response.Headers().HasKey(L"Retry-After"))result.retry_after=retry_delay(std::wstring(response.Headers().Lookup(L"Retry-After")));
|
||||
if(result.status!=200)return result;
|
||||
auto content=response.Content();const auto type=content.Headers().ContentType();
|
||||
if(!type || type.MediaType()!=L"application/json")return {0,{}};
|
||||
const auto size=content.Headers().ContentLength();if(size && size.Value()>1024*1024)return {0,{}};
|
||||
auto opening=content.ReadAsInputStreamAsync();if(!complete(opening,cancelled,deadline))return {0,{}};
|
||||
auto data=activation_factory<DataReader,IDataReaderFactory>().CreateDataReader(opening.GetResults());
|
||||
data.InputStreamOptions(InputStreamOptions::Partial);
|
||||
for(;;) {
|
||||
auto loading=data.LoadAsync(4096);if(!complete(loading,cancelled,deadline))return {0,{}};
|
||||
const auto count=loading.GetResults();if(!count)break;
|
||||
if(result.body.size()+count>1024*1024)return {0,{}};
|
||||
std::array<uint8_t,4096> bytes{};data.ReadBytes(winrt::array_view<uint8_t>(bytes.data(),bytes.data()+count));
|
||||
result.body.append(reinterpret_cast<const char*>(bytes.data()),count);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
inline std::string json_string(const winrt::Windows::Data::Json::JsonObject& object,const wchar_t* key) {
|
||||
using namespace winrt::Windows::Data::Json;
|
||||
if(!object.HasKey(key))return {};
|
||||
const auto value=object.GetNamedValue(key);
|
||||
return value.ValueType()==JsonValueType::String ? winrt::to_string(value.GetString()):std::string{};
|
||||
}
|
||||
inline document decode_record(const winrt::Windows::Data::Json::JsonObject& json,const std::string& key) {
|
||||
document out;out.key=key;
|
||||
if(json.HasKey(L"id")) {
|
||||
const auto value=json.GetNamedValue(L"id");
|
||||
if(value.ValueType()==winrt::Windows::Data::Json::JsonValueType::Number) {
|
||||
const double id=value.GetNumber();
|
||||
if(id>=1 && id<=9007199254740991.0 && std::floor(id)==id)
|
||||
out.track_id=static_cast<uint64_t>(id);
|
||||
}
|
||||
}
|
||||
if(json.GetNamedBoolean(L"instrumental",false)){out.state=status::instrumental;out.message="instrumental";return out;}
|
||||
out.lines=parse_lrc(json_string(json,L"syncedLyrics"));
|
||||
if(!out.lines.empty()){out.state=status::synced;return out;}
|
||||
out.lines=parse_plain(json_string(json,L"plainLyrics"));
|
||||
out.state=out.lines.empty() ? status::missing:status::plain;
|
||||
out.message=out.lines.empty() ? "lyrics not found":"unsynced / open menu to scroll";
|
||||
return out;
|
||||
}
|
||||
inline document decode(const std::string& body,const track& wanted) {
|
||||
using namespace winrt::Windows::Data::Json;
|
||||
// Own factories for this call. Cached factories can outlive a worker's
|
||||
// COM apartment when lyrics are disabled/re-enabled or the DLL unloads.
|
||||
return decode_record(activation_factory<JsonObject,IJsonObjectStatics>().Parse(winrt::to_hstring(body)),wanted.key());
|
||||
}
|
||||
class reader {
|
||||
public:
|
||||
explicit reader(fetch_fn fetch=http_get):fetch_(std::move(fetch)){}
|
||||
~reader(){stop();}
|
||||
std::shared_ptr<const document> request(track wanted,bool force=false) {
|
||||
if(!wanted.valid())return {};
|
||||
const auto key=wanted.key();std::lock_guard lock(mutex_);const auto now=clock::now();
|
||||
if(!force && key==wanted_.key() && state_ && (working_ || pending_ || now<refresh_))return state_;
|
||||
++generation_;wanted_=std::move(wanted);pending_=false;
|
||||
uint64_t track_id=force && state_ && state_->key==key ? state_->track_id:0;
|
||||
for(const auto& entry:cache_) {
|
||||
if(entry.key!=key)continue;
|
||||
if(force) {
|
||||
if(!track_id)track_id=entry.data->track_id;
|
||||
}else if(now<entry.expires) {
|
||||
state_=entry.data;refresh_=entry.expires;wake_.notify_all();return state_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
auto loading=std::make_shared<document>();loading->key=key;loading->message="loading lyrics";
|
||||
loading->track_id=track_id;
|
||||
state_=loading;
|
||||
pending_=true;stopping_=false;
|
||||
if(!worker_.joinable())try {worker_=std::thread([this]{run();});}catch(...) {
|
||||
pending_=false;loading->state=status::error;loading->message="lyrics unavailable";refresh_=now+std::chrono::seconds(60);
|
||||
}
|
||||
wake_.notify_all();return state_;
|
||||
}
|
||||
std::shared_ptr<const document> latest(){std::lock_guard lock(mutex_);return state_;}
|
||||
void stop() {
|
||||
stopping_=true;++generation_;wake_.notify_all();
|
||||
if(worker_.joinable())worker_.join();
|
||||
std::lock_guard lock(mutex_);pending_=working_=false;wanted_={};state_.reset();
|
||||
}
|
||||
private:
|
||||
struct cached {std::string key;std::shared_ptr<const document> data;clock::time_point expires;};
|
||||
fetch_fn fetch_;std::thread worker_;std::mutex mutex_;std::condition_variable wake_;
|
||||
std::atomic<bool> stopping_{false};std::atomic<uint64_t> generation_{0};
|
||||
track wanted_;bool pending_=false,working_=false;std::shared_ptr<const document> state_;
|
||||
std::deque<cached> cache_;clock::time_point next_http_{},refresh_{};
|
||||
bool cancelled(uint64_t serial)const{return stopping_ || generation_.load()!=serial;}
|
||||
reply perform(const std::wstring& path,uint64_t serial) {
|
||||
{
|
||||
std::unique_lock lock(mutex_);
|
||||
while(!cancelled(serial) && clock::now()<next_http_)wake_.wait_for(lock,std::chrono::milliseconds(25));
|
||||
}
|
||||
if(cancelled(serial))return {};
|
||||
auto result=fetch_(path,[this,serial]{return cancelled(serial);});
|
||||
std::lock_guard lock(mutex_);const auto now=clock::now();next_http_=(std::max)(next_http_,now+std::chrono::milliseconds(350));
|
||||
if(result.status==429 || result.status==503) {
|
||||
const double seconds=(std::max)(result.retry_after,result.status==429 ? 60.:5.);
|
||||
// Never retry before the server's deadline; retain this across
|
||||
// track changes and module disable/enable. Add positive jitter.
|
||||
const auto until=seconds>31536000 ? (clock::time_point::max)():now+std::chrono::milliseconds(int64_t(seconds*1100)+int64_t(serial%97));
|
||||
next_http_=(std::max)(next_http_,until);
|
||||
}return result;
|
||||
}
|
||||
void run() {
|
||||
bool apartment=false;
|
||||
try {
|
||||
winrt::init_apartment(winrt::apartment_type::multi_threaded);apartment=true;
|
||||
while(!stopping_) {
|
||||
track wanted;uint64_t serial,track_id;
|
||||
{
|
||||
std::unique_lock lock(mutex_);wake_.wait(lock,[this]{return stopping_ || pending_;});
|
||||
if(stopping_)break;
|
||||
wanted=wanted_;serial=generation_.load();track_id=state_->track_id;pending_=false;working_=true;
|
||||
}
|
||||
document result;result.key=wanted.key();result.state=status::error;result.message="lyrics unavailable";
|
||||
result.track_id=track_id;
|
||||
try {
|
||||
auto response=perform(track_id ? L"/api/get/"+std::to_wstring(track_id):query(wanted),serial);
|
||||
if(track_id && response.status==404 && !cancelled(serial)) {
|
||||
result.track_id=0;
|
||||
response=perform(query(wanted),serial);
|
||||
}
|
||||
if(response.status==200)result=decode(response.body,wanted);
|
||||
else if(response.status==404){result.state=status::missing;result.message="lyrics not found";}
|
||||
if(response.status==429 || response.status==503)result.message="lrclib busy / retrying later";
|
||||
}catch(...){} // Networking/JSON errors never escape the worker.
|
||||
std::lock_guard lock(mutex_);working_=false;
|
||||
if(cancelled(serial))continue;
|
||||
const auto lifetime=result.state==status::error ? std::chrono::seconds(60):result.state==status::missing ? std::chrono::seconds(120):std::chrono::seconds(1800);
|
||||
refresh_=clock::now()+lifetime;state_=std::make_shared<const document>(std::move(result));
|
||||
cache_.erase(std::remove_if(cache_.begin(),cache_.end(),[&](const cached& c){return c.key==wanted.key();}),cache_.end());
|
||||
while(cache_.size()>=32)cache_.pop_front();
|
||||
cache_.push_back({wanted.key(),state_,refresh_});
|
||||
}
|
||||
}catch(...) {
|
||||
std::lock_guard lock(mutex_);pending_=working_=false;
|
||||
auto failure=std::make_shared<document>();failure->key=wanted_.key();failure->state=status::error;failure->message="lyrics unavailable";
|
||||
state_=failure;refresh_=clock::now()+std::chrono::seconds(60);
|
||||
}
|
||||
if(apartment)winrt::uninit_apartment();
|
||||
}
|
||||
};
|
||||
// Explicitly destroyed by the DLL unload path, outside the loader lock.
|
||||
inline reader* instance=nullptr;
|
||||
inline reader& system(){if(!instance)instance=new reader;return *instance;}
|
||||
inline void shutdown(){delete instance;instance=nullptr;}
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace lyrics {
|
||||
struct track {
|
||||
std::string title,artist,album;int duration=0;
|
||||
bool valid()const{return !title.empty() && !artist.empty() && title.size()<=512 && artist.size()<=512 && album.size()<=512;}
|
||||
std::string key()const {
|
||||
// Length prefixes avoid collisions when metadata contains newlines.
|
||||
auto part=[](const std::string& s){return std::to_string(s.size())+":"+s;};
|
||||
return part(title)+part(artist)+part(album)+":"+std::to_string(duration);
|
||||
}
|
||||
};
|
||||
struct line {double time=0;std::string text;};
|
||||
enum class status {loading,synced,plain,instrumental,missing,error};
|
||||
struct document {
|
||||
std::string key,message;
|
||||
status state=status::loading;
|
||||
std::vector<line> lines;
|
||||
uint64_t track_id=0;
|
||||
};
|
||||
inline std::string trim(std::string text) {
|
||||
const auto first=text.find_first_not_of(" \t\r"),last=text.find_last_not_of(" \t\r");
|
||||
return first==std::string::npos ? std::string{}:text.substr(first,last-first+1);
|
||||
}
|
||||
inline std::string encode(const std::string& text) {
|
||||
static constexpr char hex[]="0123456789ABCDEF";std::string out;
|
||||
for(unsigned char c:text) {
|
||||
if((c>='a'&&c<='z') || (c>='A'&&c<='Z') || (c>='0'&&c<='9') || c=='-' || c=='_' || c=='.' || c=='~')out+=char(c);
|
||||
else {out+='%';out+=hex[c>>4];out+=hex[c&15];}
|
||||
}return out;
|
||||
}
|
||||
inline std::wstring query(const track& t) {
|
||||
std::string out="/api/get?track_name=";
|
||||
out+=encode(t.title)+"&artist_name="+encode(t.artist);
|
||||
if(!t.album.empty())out+="&album_name="+encode(t.album);
|
||||
if(t.duration>=1 && t.duration<=3600)out+="&duration="+std::to_string(t.duration);
|
||||
return {out.begin(),out.end()};
|
||||
}
|
||||
inline bool timestamp(const std::string& s,double& seconds) {
|
||||
const auto colon=s.find(':');if(colon==std::string::npos || colon==0 || colon>4)return false;
|
||||
unsigned minutes=0;
|
||||
for(size_t i=0;i<colon;++i){if(s[i]<'0'||s[i]>'9')return false;minutes=minutes*10+s[i]-'0';}
|
||||
size_t p=colon+1;if(p+2>s.size() || s[p]<'0'||s[p]>'5'||s[p+1]<'0'||s[p+1]>'9')return false;
|
||||
seconds=minutes*60+(s[p]-'0')*10+s[p+1]-'0';p+=2;
|
||||
if(p==s.size())return seconds<=86400;
|
||||
if(s[p++]!='.' || p==s.size() || s.size()-p>3)return false;
|
||||
double factor=.1;
|
||||
while(p<s.size()){if(s[p]<'0'||s[p]>'9')return false;seconds+=(s[p++]-'0')*factor;factor*=.1;}
|
||||
return seconds<=86400;
|
||||
}
|
||||
inline std::vector<line> parse_lrc(const std::string& lrc) {
|
||||
std::vector<line> result;if(lrc.size()>131072)return result;
|
||||
for(size_t start=0;start<lrc.size() && result.size()<2048;) {
|
||||
auto end=lrc.find('\n',start);if(end==std::string::npos)end=lrc.size();
|
||||
auto row=trim(lrc.substr(start,end-start));start=end+1;
|
||||
if(row.compare(0,3,"\xef\xbb\xbf")==0)row.erase(0,3);
|
||||
std::vector<double> times;size_t at=0;
|
||||
while(at<row.size() && row[at]=='[') {
|
||||
const auto close=row.find(']',at+1);if(close==std::string::npos)break;
|
||||
double time=0;if(!timestamp(row.substr(at+1,close-at-1),time))break;
|
||||
times.push_back(time);at=close+1;
|
||||
}
|
||||
if(times.empty())continue;
|
||||
auto text=trim(row.substr(at));if(text.size()>2048)continue;
|
||||
for(const auto time:times)if(result.size()<2048)result.push_back({time,text});
|
||||
}
|
||||
std::stable_sort(result.begin(),result.end(),[](const line& a,const line& b){return a.time<b.time;});
|
||||
std::vector<line> grouped;
|
||||
for(auto& row:result) {
|
||||
if(!grouped.empty() && grouped.back().time==row.time) {
|
||||
if(!row.text.empty() && row.text!=grouped.back().text && grouped.back().text.size()+row.text.size()<2048)
|
||||
grouped.back().text+=(grouped.back().text.empty() ? "":" / ")+row.text;
|
||||
}else grouped.push_back(std::move(row));
|
||||
}return grouped;
|
||||
}
|
||||
inline std::vector<line> parse_plain(const std::string& text) {
|
||||
std::vector<line> lines;if(text.size()>131072)return lines;
|
||||
for(size_t p=0;p<text.size() && lines.size()<2048;) {
|
||||
auto end=text.find('\n',p);if(end==std::string::npos)end=text.size();
|
||||
auto value=trim(text.substr(p,end-p));p=end+1;
|
||||
if(!value.empty() && value.size()<=2048)lines.push_back({0,std::move(value)});
|
||||
}return lines;
|
||||
}
|
||||
inline int active_line(const std::vector<line>& lines,double seconds) {
|
||||
if(!std::isfinite(seconds))return -1;
|
||||
const auto it=std::upper_bound(lines.begin(),lines.end(),seconds,[](double t,const line& row){return t<row.time;});
|
||||
return it==lines.begin() ? -1:int(it-lines.begin()-1);
|
||||
}
|
||||
inline double playhead(double position,double duration,double rate,bool playing,uint64_t stamp,uint64_t now) {
|
||||
if(!std::isfinite(position))position=0;
|
||||
if(playing && stamp && now>=stamp && std::isfinite(rate))position+=double(now-stamp)/1000*std::clamp(rate,0.,16.);
|
||||
return std::clamp(position,0.,std::isfinite(duration) && duration>0 ? duration:86400.);
|
||||
}
|
||||
struct scroller {
|
||||
bool ready=false;float value=0;double previous_time=0;
|
||||
void reset(){ready=false;}
|
||||
float update(float target,double time,float speed,float dt) {
|
||||
if(!ready || std::abs(time-previous_time)>2){value=target;ready=true;}
|
||||
else value+=(target-value)*(1-std::exp(-std::clamp(speed,2.f,30.f)*std::clamp(dt,0.f,.1f)));
|
||||
previous_time=time;return value;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
#pragma once
|
||||
#include <winrt/Windows.Foundation.h>
|
||||
#include <winrt/Windows.Foundation.Collections.h>
|
||||
#include <winrt/Windows.Media.Control.h>
|
||||
#include <winrt/Windows.Storage.Streams.h>
|
||||
#include <wincodec.h>
|
||||
#include <wrl/client.h>
|
||||
#include <memory>
|
||||
#include <atomic>
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include "lyrics_timing.h"
|
||||
#pragma comment(lib,"windowsapp.lib")
|
||||
#pragma comment(lib,"windowscodecs.lib")
|
||||
#pragma comment(lib,"ole32.lib")
|
||||
|
||||
namespace media {
|
||||
struct artwork {unsigned width=0,height=0;std::vector<unsigned char> rgba;};
|
||||
inline std::shared_ptr<const artwork> decode_art(std::vector<unsigned char>& bytes) {
|
||||
using Microsoft::WRL::ComPtr;
|
||||
if(bytes.empty() || bytes.size()>4*1024*1024)return {};
|
||||
ComPtr<IWICImagingFactory> factory;ComPtr<IWICStream> stream;ComPtr<IWICBitmapDecoder> decoder;
|
||||
ComPtr<IWICBitmapFrameDecode> frame;ComPtr<IWICBitmapScaler> scaler;ComPtr<IWICFormatConverter> converter;
|
||||
if(FAILED(CoCreateInstance(CLSID_WICImagingFactory,nullptr,CLSCTX_INPROC_SERVER,IID_PPV_ARGS(&factory))) ||
|
||||
FAILED(factory->CreateStream(&stream)) || FAILED(stream->InitializeFromMemory(bytes.data(),DWORD(bytes.size()))) ||
|
||||
FAILED(factory->CreateDecoderFromStream(stream.Get(),nullptr,WICDecodeMetadataCacheOnLoad,&decoder)) ||
|
||||
FAILED(decoder->GetFrame(0,&frame)))return {};
|
||||
UINT w=0,h=0;if(FAILED(frame->GetSize(&w,&h)) || !w || !h || w>16384 || h>16384)return {};
|
||||
const double scale=(std::min)(1.,256./(std::max)(w,h));
|
||||
w=(std::max)(1u,unsigned(w*scale));h=(std::max)(1u,unsigned(h*scale));
|
||||
if(FAILED(factory->CreateBitmapScaler(&scaler)) || FAILED(scaler->Initialize(frame.Get(),w,h,WICBitmapInterpolationModeFant)) ||
|
||||
FAILED(factory->CreateFormatConverter(&converter)) || FAILED(converter->Initialize(scaler.Get(),GUID_WICPixelFormat32bppRGBA,
|
||||
WICBitmapDitherTypeNone,nullptr,0,WICBitmapPaletteTypeCustom)))return {};
|
||||
auto result=std::make_shared<artwork>();result->width=w;result->height=h;result->rgba.resize(w*h*4);
|
||||
if(FAILED(converter->CopyPixels(nullptr,w*4,UINT(result->rgba.size()),result->rgba.data())))return {};
|
||||
return result;
|
||||
}
|
||||
struct snapshot {
|
||||
bool available=false,playing=false,previous=false,next=false,pause=false;
|
||||
std::string title,artist,album,app,message="Looking for a media player...";
|
||||
std::vector<std::string> players;
|
||||
double position=0,duration=0,rate=1;uint64_t stamp=0;
|
||||
std::shared_ptr<const artwork> art;
|
||||
};
|
||||
inline double playback_position(const snapshot& state,uint64_t now=GetTickCount64()) {
|
||||
return lyrics::playhead(state.position,state.duration,state.rate,state.playing,state.stamp,now);
|
||||
}
|
||||
enum class command {previous,pause,next};
|
||||
struct request {command action;std::string app;};
|
||||
class reader {
|
||||
public:
|
||||
~reader(){stop();}
|
||||
void start(){if(worker_.joinable())return;stopping_=false;worker_=std::thread([this]{run();});}
|
||||
void stop(){stopping_=true;wake_.notify_all();if(worker_.joinable())worker_.join();std::lock_guard lock(mutex_);commands_.clear();state_=idle_;}
|
||||
std::shared_ptr<const snapshot> current(){std::lock_guard lock(mutex_);return state_;}
|
||||
snapshot latest(){return *current();}
|
||||
void prefer(const std::string& app){std::lock_guard lock(mutex_);preferred_=app;}
|
||||
void send(command action){std::lock_guard lock(mutex_);if(state_->available && commands_.size()<8){commands_.push_back({action,state_->app});wake_.notify_all();}}
|
||||
private:
|
||||
std::thread worker_;std::atomic<bool> stopping_{false};std::mutex mutex_;std::condition_variable wake_;
|
||||
const std::shared_ptr<const snapshot> idle_=std::make_shared<const snapshot>();
|
||||
std::shared_ptr<const snapshot> state_=idle_;
|
||||
std::string preferred_;std::deque<request> commands_;
|
||||
template<class Operation> bool finish(Operation const& op) {
|
||||
using winrt::Windows::Foundation::AsyncStatus;
|
||||
const auto deadline=GetTickCount64()+3000;
|
||||
while(op.Status()==AsyncStatus::Started) {
|
||||
if(stopping_ || GetTickCount64()>deadline){op.Cancel();return false;}
|
||||
std::unique_lock lock(mutex_);wake_.wait_for(lock,std::chrono::milliseconds(20),[this]{return stopping_.load();});
|
||||
}
|
||||
if(!stopping_ && op.Status()==AsyncStatus::Error)op.GetResults();
|
||||
return !stopping_ && op.Status()==AsyncStatus::Completed;
|
||||
}
|
||||
static std::string utf8(winrt::hstring const& value) {return winrt::to_string(value);}
|
||||
void publish(snapshot state){
|
||||
auto next=std::make_shared<const snapshot>(std::move(state));
|
||||
{std::lock_guard lock(mutex_);state_.swap(next);}
|
||||
}
|
||||
void run() {
|
||||
using namespace winrt::Windows::Media::Control;
|
||||
bool initialized=false;
|
||||
try {
|
||||
winrt::init_apartment(winrt::apartment_type::multi_threaded);initialized=true;
|
||||
{
|
||||
auto pending=GlobalSystemMediaTransportControlsSessionManager::RequestAsync();
|
||||
if(!finish(pending))throw winrt::hresult_error(E_ABORT);
|
||||
auto manager=pending.GetResults();std::string art_key;
|
||||
std::shared_ptr<const artwork> cover;uint64_t art_attempt=0;
|
||||
while(!stopping_) {
|
||||
try {
|
||||
snapshot result;result.message.clear();std::string preferred;std::deque<request> commands;
|
||||
{std::lock_guard lock(mutex_);preferred=preferred_;commands.swap(commands_);}
|
||||
auto sessions=manager.GetSessions();auto selected=manager.GetCurrentSession();
|
||||
for(auto const& session:sessions) {
|
||||
const auto app=utf8(session.SourceAppUserModelId());result.players.push_back(app);
|
||||
if(!preferred.empty() && app==preferred)selected=session;
|
||||
}
|
||||
if(!preferred.empty() && (!selected || utf8(selected.SourceAppUserModelId())!=preferred))selected=nullptr;
|
||||
if(selected) {
|
||||
result.app=utf8(selected.SourceAppUserModelId());
|
||||
for(auto const& command:commands) {
|
||||
// A queued click must never control a different player after a session switch.
|
||||
if(command.app!=result.app || stopping_)continue;
|
||||
auto op=command.action==media::command::previous ? selected.TrySkipPreviousAsync() :
|
||||
command.action==media::command::next ? selected.TrySkipNextAsync() : selected.TryTogglePlayPauseAsync();
|
||||
if(finish(op) && !op.GetResults())result.message="Player declined that control";
|
||||
}
|
||||
auto properties=selected.TryGetMediaPropertiesAsync();
|
||||
if(!finish(properties))throw winrt::hresult_error(E_ABORT);
|
||||
auto info=properties.GetResults();
|
||||
result.title=utf8(info.Title());result.artist=utf8(info.Artist());result.album=utf8(info.AlbumTitle());
|
||||
const auto key=result.app+"\n"+result.title+"\n"+result.artist+"\n"+result.album;
|
||||
if(key!=art_key || (!cover && GetTickCount64()-art_attempt>10000)) {
|
||||
art_key=key;cover.reset();art_attempt=GetTickCount64();
|
||||
try {
|
||||
if(auto thumbnail=info.Thumbnail()) {
|
||||
auto opening=thumbnail.OpenReadAsync();
|
||||
if(finish(opening)) {
|
||||
auto stream=opening.GetResults();const auto size=stream.Size();
|
||||
if(size>0 && size<=4*1024*1024) {
|
||||
auto data=winrt::Windows::Storage::Streams::DataReader(stream);
|
||||
auto loading=data.LoadAsync(uint32_t(size));
|
||||
if(finish(loading) && loading.GetResults()==size) {
|
||||
std::vector<unsigned char> bytes(size);data.ReadBytes(bytes);cover=decode_art(bytes);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch(winrt::hresult_error const&) {cover.reset();}
|
||||
}
|
||||
result.art=cover;
|
||||
auto playback=selected.GetPlaybackInfo();auto controls=playback.Controls();
|
||||
result.playing=playback.PlaybackStatus()==GlobalSystemMediaTransportControlsSessionPlaybackStatus::Playing;
|
||||
result.previous=controls.IsPreviousEnabled();result.next=controls.IsNextEnabled();
|
||||
result.pause=controls.IsPlayPauseToggleEnabled();
|
||||
if(auto rate=playback.PlaybackRate())result.rate=std::clamp(rate.Value(),0.,16.);
|
||||
const auto time=selected.GetTimelineProperties();
|
||||
const double start=double(time.StartTime().count())/1e7;
|
||||
result.duration=(std::max)(0.,double(time.EndTime().count())/1e7-start);
|
||||
result.position=std::clamp(double(time.Position().count())/1e7-start,0.,result.duration);
|
||||
if(result.playing) {
|
||||
const double elapsed=double((winrt::clock::now()-time.LastUpdatedTime()).count())/1e7;
|
||||
if(elapsed>=0 && elapsed<86400)result.position=std::clamp(result.position+elapsed*result.rate,0.,result.duration);
|
||||
}
|
||||
result.available=true;result.stamp=GetTickCount64();
|
||||
if(result.title.empty())result.title="Untitled track";
|
||||
} else result.message=preferred.empty() ? "No active media session" : "Selected player is unavailable";
|
||||
publish(std::move(result));
|
||||
} catch(winrt::hresult_error const& error) {
|
||||
if(!stopping_) {snapshot result;result.message="Media unavailable: "+utf8(error.message());publish(std::move(result));}
|
||||
}
|
||||
std::unique_lock lock(mutex_);
|
||||
wake_.wait_for(lock,std::chrono::milliseconds(500),[this]{return stopping_ || !commands_.empty();});
|
||||
}
|
||||
}
|
||||
} catch(winrt::hresult_error const& error) {
|
||||
if(!stopping_){snapshot result;result.message="Windows media access unavailable: "+utf8(error.message());publish(std::move(result));}
|
||||
} catch(...) {
|
||||
snapshot result;result.message="Windows media access unavailable";publish(std::move(result));
|
||||
}
|
||||
if(initialized)winrt::uninit_apartment();
|
||||
}
|
||||
};
|
||||
// Explicit lifetime: joining a COM worker from a DLL static destructor
|
||||
// would run under the loader lock. The exported unload path owns shutdown.
|
||||
inline reader* instance=nullptr;
|
||||
inline reader& system(){if(!instance)instance=new reader;return *instance;}
|
||||
inline void shutdown(){delete instance;instance=nullptr;}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
// Generated from locally installed Bedrock entity textures and model head UVs.
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
namespace target_portraits {
|
||||
struct mob_face {const char* identifier;uint32_t pixels[256];};
|
||||
inline constexpr mob_face mob_faces[] = {
|
||||
{"minecraft:armadillo", {0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff767bb6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff8488c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff6d71ad,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff7583c6,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff858de7,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce,0xff6d75ce}},
|
||||
{"minecraft:armor_stand", {0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff2c5067,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff5f94b8,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff558faf,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff4d849f,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff37627e,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496,0xff417496}},
|
||||
{"minecraft:blaze", {0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a27d5ff,0x5a27d5ff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a27d5ff,0x5a27d5ff,0x5a27d5ff,0x5a27d5ff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a27d5ff,0x5a27d5ff,0x5a27d5ff,0x5a27d5ff,0x5a47f8ff,0x5a47f8ff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a84ffff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a47f8ff,0x5a27d5ff,0x5a27d5ff,0x5a0096fc,0x5a0096fc,0x5affffff,0x5affffff,0x5a06092f,0x5a06092f,0x5a47f8ff,0x5a47f8ff,0x5a27d5ff,0x5a27d5ff,0x5a06092f,0x5a06092f,0x5affffff,0x5affffff,0x5a0096fc,0x5a0096fc,0x5a0096fc,0x5a0096fc,0x5affffff,0x5affffff,0x5a06092f,0x5a06092f,0x5a47f8ff,0x5a47f8ff,0x5a27d5ff,0x5a27d5ff,0x5a06092f,0x5a06092f,0x5affffff,0x5affffff,0x5a0096fc,0x5a0096fc,0x5a0078d1,0x5a0078d1,0x5a0075ab,0x5a0075ab,0x5a0078d1,0x5a0078d1,0x5a0078d1,0x5a0078d1,0x5a0075ab,0x5a0075ab,0x5a0096fc,0x5a0096fc,0x5a0078d1,0x5a0078d1,0x5a0075ab,0x5a0075ab,0x5a0078d1,0x5a0078d1,0x5a0075ab,0x5a0075ab,0x5a0078d1,0x5a0078d1,0x5a0078d1,0x5a0078d1,0x5a0075ab,0x5a0075ab,0x5a0096fc,0x5a0096fc,0x5a0078d1,0x5a0078d1,0x5a0075ab,0x5a0075ab,0x5a0075ab,0x5a0075ab,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a00328b,0x5a00328b,0x5a0075ab,0x5a0075ab,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a0075ab,0x5a0075ab,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a00328b,0x5a00328b,0x5a0075ab,0x5a0075ab,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a00328b,0x5a00328b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a00005f,0x5a00005f,0x5a00005f,0x5a00005f,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a002f6b,0x5a002f6b,0x5a00005f,0x5a00005f,0x5a00005f,0x5a00005f}},
|
||||
{"minecraft:bogged", {0xff446269,0xff446269,0xff5e789f,0xff5e789f,0xff446269,0xff446269,0xff124e3f,0xff124e3f,0xff1a5647,0xff1a5647,0xff1a5647,0xff1a5647,0xff124e3f,0xff124e3f,0xff124e3f,0xff124e3f,0xff446269,0xff446269,0xff5e789f,0xff5e789f,0xff446269,0xff446269,0xff124e3f,0xff124e3f,0xff1a5647,0xff1a5647,0xff1a5647,0xff1a5647,0xff124e3f,0xff124e3f,0xff124e3f,0xff124e3f,0xff286455,0xff286455,0xff286455,0xff286455,0xff1a5647,0xff1a5647,0xff094536,0xff094536,0xff124e3f,0xff124e3f,0xff1a5647,0xff1a5647,0xff124e3f,0xff124e3f,0xff58808b,0xff58808b,0xff286455,0xff286455,0xff286455,0xff286455,0xff1a5647,0xff1a5647,0xff094536,0xff094536,0xff124e3f,0xff124e3f,0xff1a5647,0xff1a5647,0xff124e3f,0xff124e3f,0xff58808b,0xff58808b,0xff6e9fbf,0xff6e9fbf,0xff124e3f,0xff124e3f,0xff1a5647,0xff1a5647,0xff6690ab,0xff6690ab,0xff094536,0xff094536,0xff1a5647,0xff1a5647,0xff6690ab,0xff6690ab,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff124e3f,0xff124e3f,0xff1a5647,0xff1a5647,0xff6690ab,0xff6690ab,0xff094536,0xff094536,0xff1a5647,0xff1a5647,0xff6690ab,0xff6690ab,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff094536,0xff094536,0xff1a5647,0xff1a5647,0xff6e9fbf,0xff6e9fbf,0xff6690ab,0xff6690ab,0xff124e3f,0xff124e3f,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff094536,0xff094536,0xff1a5647,0xff1a5647,0xff6e9fbf,0xff6e9fbf,0xff6690ab,0xff6690ab,0xff124e3f,0xff124e3f,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff80b6d7,0xff80b6d7,0xff124e3f,0xff124e3f,0xff094536,0xff094536,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff80b6d7,0xff80b6d7,0xff124e3f,0xff124e3f,0xff094536,0xff094536,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff80b6d7,0xff80b6d7,0xff58808b,0xff58808b,0xff124e3f,0xff124e3f,0xff80b6d7,0xff80b6d7,0xff6690ab,0xff6690ab,0xff6e9fbf,0xff6e9fbf,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff58808b,0xff58808b,0xff124e3f,0xff124e3f,0xff80b6d7,0xff80b6d7,0xff6690ab,0xff6690ab,0xff6e9fbf,0xff6e9fbf,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff6690ab,0xff6690ab,0xff80b6d7,0xff80b6d7,0xff7baece,0xff7baece,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff7baece,0xff7baece,0xff6690ab,0xff6690ab,0xff80b6d7,0xff80b6d7,0xff6690ab,0xff6690ab,0xff80b6d7,0xff80b6d7,0xff7baece,0xff7baece,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff80b6d7,0xff7baece,0xff7baece,0xff6690ab,0xff6690ab,0xff80b6d7,0xff80b6d7,0xff6e9fbf,0xff6e9fbf,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff7baece,0xff7baece,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff6e9fbf,0xff7baece,0xff7baece,0xff7baece,0xff7baece,0xff6e9fbf,0xff6e9fbf}},
|
||||
{"minecraft:breeze", {0xffcaa5b5,0xffcaa5b5,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffcb9cab,0xffcb9cab,0xffcb9cab,0xffcb9cab,0xffcaa5b5,0xffcaa5b5,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffcb9cab,0xffcb9cab,0xffcb9cab,0xffcb9cab,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffcb9cab,0xffcb9cab,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffcaa5b5,0xffcaa5b5,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffcb9cab,0xffcb9cab,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffcaa5b5,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffcaa5b5,0xffcaa5b5,0xffd38d95,0xffd38d95,0xffcb9cab,0xffcb9cab,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffcaa5b5,0xffcaa5b5,0xffcb9cab,0xffcb9cab,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffcb9cab,0xffcb9cab,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffc9afbf,0xffcaa5b5,0xffcaa5b5,0xffcb9cab,0xffcb9cab,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffc4827a,0xffc4827a,0xffc4827a,0xffc4827a,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffc4827a,0xffc4827a,0xffc4827a,0xffc4827a,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffc4827a,0xffc4827a,0xffc4827a,0xffc4827a,0xffd38d95,0xffd38d95,0xffd38d95,0xffd38d95,0xffc4827a,0xffc4827a,0xffc4827a,0xffc4827a,0xffd38d95,0xffd38d95,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xffab766c,0xffab766c,0xffab766c,0xffab766c,0xffab766c,0xffab766c,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xffab766c,0xffab766c,0xffab766c,0xffab766c,0xffab766c,0xffab766c,0xff9d6c57,0xff9d6c57,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff9d6c57,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff64d5f9,0xff64d5f9,0xff523b2b,0xff523b2b,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff523b2b,0xff523b2b,0xff64d5f9,0xff64d5f9,0xff64d5f9,0xff64d5f9,0xff523b2b,0xff523b2b,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff523b2b,0xff523b2b,0xff64d5f9,0xff64d5f9,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e,0xff875e3e}},
|
||||
{"minecraft:camel", {0xff4aade9,0xff4aade9,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff4aade9,0xff4aade9,0xff1c282f,0xff1c282f,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff1c282f,0xff1c282f,0xff4aade9,0xff4aade9,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff2782b8,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff4aade9,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff3d9fdb,0xff4aade9,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff5dbaf5,0xff4aade9,0xff4aade9}},
|
||||
{"minecraft:camel_husk", {0xff2b3a45,0xff2b3a45,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff2b3a45,0xff2b3a45,0xff14171a,0xff14171a,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff14171a,0xff14171a,0xff273138,0xff273138,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff273138,0xff273138,0xff2b3a45,0xff2b3a45,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff374954,0xff374954,0xff374954,0xff374954,0xff273138,0xff273138,0xff273138,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff1f2429,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff273138,0xff273138,0xff273138,0xff273138,0xff1f2429,0xff1f2429,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff273138,0xff273138,0xff273138,0xff273138,0xff273138,0xff273138,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff273138,0xff273138,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff273138,0xff273138,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff273138,0xff273138,0xff273138,0xff273138,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff273138,0xff273138,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954,0xff2b3a45,0xff2b3a45,0xff374954,0xff374954,0xff374954,0xff374954,0xff374954}},
|
||||
{"minecraft:cave_spider", {0xff151906,0xff151906,0x030202a6,0x030202a6,0xff384438,0xff384438,0xff323913,0xff323913,0xff323913,0xff323913,0xff384438,0xff384438,0x03000062,0x03000062,0xff151906,0xff151906,0xff151906,0xff151906,0x030202a6,0x030202a6,0xff384438,0xff384438,0xff323913,0xff323913,0xff323913,0xff323913,0xff384438,0xff384438,0x03000062,0x03000062,0xff151906,0xff151906,0xff384438,0xff384438,0xff323913,0xff323913,0x03000062,0x03000062,0xff384438,0xff384438,0xff384438,0xff384438,0x030202a6,0x030202a6,0xff323913,0xff323913,0xff384438,0xff384438,0xff384438,0xff384438,0xff323913,0xff323913,0x03000062,0x03000062,0xff384438,0xff384438,0xff384438,0xff384438,0x030202a6,0x030202a6,0xff323913,0xff323913,0xff384438,0xff384438,0x030202a6,0x030202a6,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0x030e0eff,0x030e0eff,0x03000062,0x03000062,0xff323913,0xff323913,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0xff323913,0xff323913,0x030202a6,0x030202a6,0x03000062,0x03000062,0xff323913,0xff323913,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0xff323913,0xff323913,0x030202a6,0x030202a6,0xff1f250f,0xff1f250f,0xff384438,0xff384438,0x030202a6,0x030202a6,0x03000062,0x03000062,0x030202a6,0x030202a6,0x03000062,0x03000062,0xff384438,0xff384438,0xff1f250f,0xff1f250f,0xff1f250f,0xff1f250f,0xff384438,0xff384438,0x030202a6,0x030202a6,0x03000062,0x03000062,0x030202a6,0x030202a6,0x03000062,0x03000062,0xff384438,0xff384438,0xff1f250f,0xff1f250f,0xff323913,0xff323913,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0xff323913,0xff323913,0xff323913,0xff323913,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0xff384438,0xff384438,0xff323913,0xff323913,0xff384438,0xff384438,0xff323913,0xff323913,0xff302d00,0xff302d00,0xff7f8992,0xff7f8992,0xff0c1119,0xff0c1119,0xff384438,0xff384438,0xff323913,0xff323913,0xff0c1119,0xff0c1119,0xff7f8992,0xff7f8992,0xff302d00,0xff302d00,0xff302d00,0xff302d00,0xff7f8992,0xff7f8992,0xff0c1119,0xff0c1119,0xff384438,0xff384438,0xff323913,0xff323913,0xff0c1119,0xff0c1119,0xff7f8992,0xff7f8992,0xff302d00,0xff302d00,0xff111100,0xff111100,0xff77828c,0xff77828c,0xff0c1119,0xff0c1119,0xff323913,0xff323913,0xff1f250f,0xff1f250f,0xff0c1119,0xff0c1119,0xff77828c,0xff77828c,0xff111100,0xff111100,0xff111100,0xff111100,0xff77828c,0xff77828c,0xff0c1119,0xff0c1119,0xff323913,0xff323913,0xff1f250f,0xff1f250f,0xff0c1119,0xff0c1119,0xff77828c,0xff77828c,0xff111100,0xff111100}},
|
||||
{"minecraft:chicken", {0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xff000000,0xff000000,0xff000000,0xff000000,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xff000000,0xff000000,0xff000000,0xff000000,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xff0000ff,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6,0xffc6c6c6}},
|
||||
{"minecraft:cod", {0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff5a7192,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xffadc5d6,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2,0xff85a8c2}},
|
||||
{"minecraft:copper_golem", {0xff6c82e3,0xff6c82e3,0xff5b7bd6,0xff5b7bd6,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff5b7bd6,0xff5b7bd6,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff5b7bd6,0xff5b7bd6,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff5b7bd6,0xff5b7bd6,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff5b7bd6,0xff5b7bd6,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff5b7bd6,0xff5b7bd6,0xff6c82e3,0xff6c82e3,0xff546fbf,0xff546fbf,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff5b7bd6,0xff5b7bd6,0xff5b7bd6,0xff5b7bd6,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff5b7bd6,0xff5b7bd6,0xff5b7bd6,0xff5b7bd6,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff5b7bd6,0xff5b7bd6,0xff5b7bd6,0xff5b7bd6,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff546fbf,0xff546fbf,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff0d2468,0xff0d2468,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff0d2468,0xff0d2468,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff0d2468,0xff0d2468,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff0d2468,0xff0d2468,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff0d2468,0xff0d2468,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff0d2468,0xff0d2468,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff30478a,0xff30478a,0xff20377b,0xff20377b,0xff0d2468,0xff0d2468,0xff546fbf,0xff546fbf,0xff546fbf,0xff546fbf,0xff0d2468,0xff0d2468,0xff20377b,0xff20377b,0xff30478a,0xff30478a,0xff455fad,0xff455fad,0xff0d2468,0xff0d2468,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0d2468,0xff0d2468,0xff455fad,0xff455fad,0xff455fad,0xff455fad,0xff0d2468,0xff0d2468,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0d2468,0xff0d2468,0xff455fad,0xff455fad,0xff455fad,0xff455fad,0xff0d2468,0xff0d2468,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff0d2468,0xff0d2468,0xff455fad,0xff455fad,0xff6c82e3,0xff6c82e3,0xff455fad,0xff455fad,0xff20377b,0xff20377b,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff20377b,0xff20377b,0xff455fad,0xff455fad,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff455fad,0xff455fad,0xff20377b,0xff20377b,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff20377b,0xff20377b,0xff455fad,0xff455fad,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff6c82e3,0xff455fad,0xff455fad,0xff20377b,0xff20377b,0xff0c193e,0xff0c193e,0xff0c193e,0xff0c193e,0xff20377b,0xff20377b,0xff455fad,0xff455fad,0xff6c82e3,0xff6c82e3}},
|
||||
{"minecraft:cow", {0xff24303f,0xff24303f,0xff263644,0xff263644,0xff818181,0xff818181,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffa1a1a1,0xffa1a1a1,0xff465059,0xff465059,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff818181,0xff818181,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffa1a1a1,0xffa1a1a1,0xff465059,0xff465059,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff465059,0xff465059,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xff263644,0xff263644,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff465059,0xff465059,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xff263644,0xff263644,0xff24303f,0xff24303f,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xff263644,0xff263644,0xffa1a1a1,0xffa1a1a1,0xffb3b3b3,0xffb3b3b3,0xff24303f,0xff24303f,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xff263644,0xff263644,0xffa1a1a1,0xffa1a1a1,0xffb3b3b3,0xffb3b3b3,0xff24303f,0xff24303f,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xff000000,0xff000000,0xffffffff,0xffffffff,0xff263644,0xff263644,0xffa1a1a1,0xffa1a1a1,0xff465059,0xff465059,0xff263644,0xff263644,0xffffffff,0xffffffff,0xff000000,0xff000000,0xff000000,0xff000000,0xffffffff,0xffffffff,0xff263644,0xff263644,0xffa1a1a1,0xffa1a1a1,0xff465059,0xff465059,0xff263644,0xff263644,0xffffffff,0xffffffff,0xff000000,0xff000000,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff263644,0xff24303f,0xff24303f,0xff263644,0xff263644,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff24303f,0xff24303f,0xff24303f,0xff24303f,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff465059,0xff24303f,0xff24303f}},
|
||||
{"minecraft:creaking", {0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff879289,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff6b726d,0xff6b726d,0x00000000,0x00000000,0x00000000,0xff879289,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff77807a,0xff77807a,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff6b726d,0xff6b726d,0xff77807a,0xff77807a,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff879289,0xff879289,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff77807a,0xff77807a,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000}},
|
||||
{"minecraft:creeper", {0xff9fcda5,0xff9fcda5,0xff0fa913,0xff0fa913,0xff41b34c,0xff41b34c,0xff9dc79d,0xff9dc79d,0xffd2d2d2,0xffd2d2d2,0xff74dc85,0xff74dc85,0xff6ecc7d,0xff6ecc7d,0xff4a904d,0xff4a904d,0xff9fcda5,0xff9fcda5,0xff0fa913,0xff0fa913,0xff41b34c,0xff41b34c,0xff9dc79d,0xff9dc79d,0xffd2d2d2,0xffd2d2d2,0xff74dc85,0xff74dc85,0xff6ecc7d,0xff6ecc7d,0xff4a904d,0xff4a904d,0xff269329,0xff269329,0xff59c55f,0xff59c55f,0xff36b741,0xff36b741,0xff65c96e,0xff65c96e,0xff48914c,0xff48914c,0xff5ddc70,0xff5ddc70,0xff55bc65,0xff55bc65,0xffd2d2d2,0xffd2d2d2,0xff269329,0xff269329,0xff59c55f,0xff59c55f,0xff36b741,0xff36b741,0xff65c96e,0xff65c96e,0xff48914c,0xff48914c,0xff5ddc70,0xff5ddc70,0xff55bc65,0xff55bc65,0xffd2d2d2,0xffd2d2d2,0xff36c547,0xff36c547,0xff17541f,0xff17541f,0xff315838,0xff315838,0xff8cd793,0xff8cd793,0xff569857,0xff569857,0xff184e1e,0xff184e1e,0xff315838,0xff315838,0xffdcdcdc,0xffdcdcdc,0xff36c547,0xff36c547,0xff17541f,0xff17541f,0xff315838,0xff315838,0xff8cd793,0xff8cd793,0xff569857,0xff569857,0xff184e1e,0xff184e1e,0xff315838,0xff315838,0xffdcdcdc,0xffdcdcdc,0xff3dcb4c,0xff3dcb4c,0xff184e1e,0xff184e1e,0xff000000,0xff000000,0xff55cf67,0xff55cf67,0xff39b247,0xff39b247,0xff000000,0xff000000,0xff143a17,0xff143a17,0xff67ce78,0xff67ce78,0xff3dcb4c,0xff3dcb4c,0xff184e1e,0xff184e1e,0xff000000,0xff000000,0xff55cf67,0xff55cf67,0xff39b247,0xff39b247,0xff000000,0xff000000,0xff143a17,0xff143a17,0xff67ce78,0xff67ce78,0xff82d289,0xff82d289,0xff57b765,0xff57b765,0xff8ed794,0xff8ed794,0xff144f1c,0xff144f1c,0xff164c1d,0xff164c1d,0xffc0d2c3,0xffc0d2c3,0xff458c48,0xff458c48,0xff4cd05e,0xff4cd05e,0xff82d289,0xff82d289,0xff57b765,0xff57b765,0xff8ed794,0xff8ed794,0xff144f1c,0xff144f1c,0xff164c1d,0xff164c1d,0xffc0d2c3,0xffc0d2c3,0xff458c48,0xff458c48,0xff4cd05e,0xff4cd05e,0xff9ad2a4,0xff9ad2a4,0xff4e9751,0xff4e9751,0xff315838,0xff315838,0xff000000,0xff000000,0xff000000,0xff000000,0xff18551f,0xff18551f,0xff55d767,0xff55d767,0xffbbd2bf,0xffbbd2bf,0xff9ad2a4,0xff9ad2a4,0xff4e9751,0xff4e9751,0xff315838,0xff315838,0xff000000,0xff000000,0xff000000,0xff000000,0xff18551f,0xff18551f,0xff55d767,0xff55d767,0xffbbd2bf,0xffbbd2bf,0xffbbe2c2,0xffbbe2c2,0xff66a167,0xff66a167,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff50bc5f,0xff50bc5f,0xff4d9851,0xff4d9851,0xffbbe2c2,0xffbbe2c2,0xff66a167,0xff66a167,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff50bc5f,0xff50bc5f,0xff4d9851,0xff4d9851,0xff55d767,0xff55d767,0xff70de82,0xff70de82,0xff143a17,0xff143a17,0xff84d293,0xff84d293,0xffa8d0ae,0xffa8d0ae,0xff164c1d,0xff164c1d,0xff378e3b,0xff378e3b,0xff57cf68,0xff57cf68,0xff55d767,0xff55d767,0xff70de82,0xff70de82,0xff143a17,0xff143a17,0xff84d293,0xff84d293,0xffa8d0ae,0xffa8d0ae,0xff164c1d,0xff164c1d,0xff378e3b,0xff378e3b,0xff57cf68,0xff57cf68}},
|
||||
{"minecraft:dolphin", {0xffd9c4b0,0xffd9c4b0,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffddcbbd,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd0baa5,0xffd0baa5,0xffc9b29d,0xffc9b29d,0xffc9b29d,0xffc9b29d,0xffd0baa5,0xffd0baa5,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd0baa5,0xffd0baa5,0xffc9b29d,0xffc9b29d,0xffc9b29d,0xffc9b29d,0xffd0baa5,0xffd0baa5,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffd9c4b0,0xffc9b29d,0xffc9b29d,0xffbaa392,0xffbaa392,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffbaa392,0xffbaa392,0xffc9b29d,0xffc9b29d,0xffc9b29d,0xffc9b29d,0xffbaa392,0xffbaa392,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffbaa392,0xffbaa392,0xffc9b29d,0xffc9b29d,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffa28680,0xffa28680,0xffa28680,0xffa28680,0xffb19a8a,0xffb19a8a,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffc9b29d,0xffc9b29d,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffc9b29d,0xffc9b29d,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffc9b29d,0xffc9b29d,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffb19a8a,0xffc9b29d,0xffc9b29d,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6,0xffcdb9a6}},
|
||||
{"minecraft:drowned", {0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfdde065,0xbfdde065,0xbfdde065,0xbfdde065,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbf887031,0xbf887031,0xbf887031,0xbf887031,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfdde065,0xbfdde065,0xbfdde065,0xbfdde065,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbfd7f18f,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xfc4b5127,0xbf887031,0xbf887031,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbfb7ad31,0xbf887031,0xbf887031,0xfc4b5127,0xfc4b5127}},
|
||||
{"minecraft:elder_guardian", {0xff83956a,0xff83956a,0xff83956a,0xff9ca583,0xff9ca583,0xff9ca583,0xff9ca583,0xff9ca583,0xff5a7141,0xff9ca583,0xff9ca583,0xff83956a,0xff83956a,0xff9ca583,0xff9ca583,0xff9ca583,0xff83956a,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff757f5d,0xff66794e,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff83956a,0xff83956a,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff757f5d,0xff66794e,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff83956a,0xff9ca583,0xff808966,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff808966,0xff5a7141,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff808966,0xff9ca583,0xff9ca583,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff83956a,0xff9ca583,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff5a7141,0xff5a7141,0xff83956a,0xff9ca583,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff5a7141,0xff5a7141,0xff83956a,0xff83956a,0xff66794e,0xff66794e,0xff66794e,0xffadbac0,0xffcdd3d6,0xffcdd3d6,0xffcbd3d7,0xffccd5d7,0xffc9d2d6,0xffc9d2d6,0xffadb9be,0xff66794e,0xff66794e,0xff66794e,0xff757f5d,0xff9ca583,0xff66794e,0xff66794e,0xff66794e,0xffccd4d7,0xffcbd3d7,0xffcbd3d7,0xffcfd5d7,0xffcbd5d8,0xffcbd3d6,0xffcbd3d6,0xffc9d2d6,0xff66794e,0xff66794e,0xff66794e,0xff808966,0xff83956a,0xff757f5d,0xff757f5d,0xff757f5d,0xffaab9c0,0xffcad3d7,0xffcad3d7,0xffcad1d5,0xffc9d2d7,0xffcbd3d7,0xffcbd3d7,0xffaebac0,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff83956a,0xff757f5d,0xff757f5d,0xff757f5d,0xffaab9c0,0xffcad3d7,0xffcad3d7,0xffcad1d5,0xffc9d2d7,0xffcbd3d7,0xffcbd3d7,0xffaebac0,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff83956a,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff66794e,0xff66794e,0xff757f5d,0xff757f5d,0xff757f5d,0xff757f5d,0xff66794e,0xff808966,0xff808966,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff66794e,0xff66794e,0xff526539,0xff526539,0xff757f5d,0xff757f5d,0xff66794e,0xff66794e,0xff5a7141,0xff757f5d,0xff808966,0xff808966,0xff66794e,0xff808966,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff808966,0xff757f5d,0xff757f5d,0xff526539,0xff83956a,0xff757f5d,0xff757f5d,0xff66794e,0xff808966,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff808966,0xff757f5d,0xff757f5d,0xff526539,0xff83956a,0xff757f5d,0xff757f5d,0xff66794e,0xff83956a,0xff808966,0xff808966,0xff83956a,0xff83956a,0xff757f5d,0xff757f5d,0xff66794e,0xff808966,0xff808966,0xff808966,0xff83956a,0xff526539,0xff757f5d,0xff757f5d,0xff808966}},
|
||||
{"minecraft:ender_dragon", {0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff232323,0xff232323,0xff232323,0xff202020,0xff1c1c1c,0xff181818,0xff181818,0xff161616,0xff181818,0xff1c1c1c,0xff1c1c1c,0xff202020,0xff232323,0xff232323,0xff181818,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff202020,0xff1a1a1a,0xff1a1a1a,0xff1b1b1b,0xff1a1a1a,0xff202020,0xff202020,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff1c1c1c,0xff1a1a1a,0xff171717,0xff171717,0xff171717,0xff202020,0xff1c1c1c,0xff1c1c1c,0xff222222,0xff161616,0xff171717,0xff171717,0xff1c1c1c,0xff1a1a1a,0xff171717,0xff181818,0xff1c1c1c,0xfffa79e0,0xfffa00cc,0xfffa79e0,0xff181818,0xff202020,0xff1c1c1c,0xff1c1c1c,0xff232323,0xff161616,0xfffa79e0,0xfffa00cc,0xfffa79e0,0xff1a1a1a,0xff181818,0xff161616,0xff1a1a1a,0xfffa79e0,0xfffa00cc,0xfffa00cc,0xfffa79e0,0xff171717,0xff1a1a1a,0xff1a1a1a,0xff161616,0xfffa79e0,0xfffa00cc,0xfffa00cc,0xfffa79e0,0xff1b1b1b,0xff161616,0xff161616,0xff1c1c1c,0xff1c1c1c,0xff1c1c1c,0xff1a1a1a,0xff1c1c1c,0xff1c1c1c,0xff1c1c1c,0xff1a1a1a,0xff1c1c1c,0xff1c1c1c,0xff1c1c1c,0xff1a1a1a,0xff1c1c1c,0xff1c1c1c,0xff171717,0xff161616,0xff181818,0xff181818,0xff181818,0xff161616,0xff181818,0xff181818,0xff181818,0xff161616,0xff181818,0xff181818,0xff181818,0xff161616,0xff181818,0xff181818,0xff181818,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff181818,0xff181818,0xff161616,0xff181818,0xff181818,0xff181818,0xff161616,0xff181818,0xff181818,0xff181818,0xff161616,0xff181818,0xff181818,0xff181818,0xff161616,0xff181818,0xff161616,0xff161616,0xff171717,0xff0c0c0c,0xfffa00cc,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa00cc,0xff0c0c0c,0xff161616,0xff171717,0xff161616,0xff161616,0xff171717,0xff171717,0xff0d0d0d,0xfffa00cc,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa00cc,0xff0c0c0c,0xff171717,0xff171717,0xff171717,0xff161616,0xff181818,0xff181818,0xff0e0e0e,0xfffa00cc,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa79e0,0xfffa00cc,0xff0c0c0c,0xff181818,0xff181818,0xff181818,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff161616,0xff161616,0xff161616,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717,0xff171717,0xff171717,0xff161616,0xff171717}},
|
||||
{"minecraft:enderman", {0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0xff161616,0xff161616,0x00000000,0x00000000,0x00000000,0x00000000,0xff161616,0xff161616,0xff161616,0xff161616,0x00000000,0x00000000,0x00000000,0x00000000,0xff161616,0xff161616,0xff161616,0xff161616,0x00000000,0x00000000,0x00000000,0x00000000,0xff161616,0xff161616,0xff161616,0xff161616,0x00000000,0x00000000,0x00000000,0x00000000,0xff161616,0xff161616,0xff000000,0xff000000,0xff161616,0xff161616,0xff161616,0xff161616,0xff000000,0xff000000,0xff000000,0xff000000,0xff161616,0xff161616,0xff161616,0xff161616,0xff000000,0xff000000,0xff000000,0xff000000,0xff161616,0xff161616,0xff161616,0xff161616,0xff000000,0xff000000,0xff000000,0xff000000,0xff161616,0xff161616,0xff161616,0xff161616,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000}},
|
||||
{"minecraft:endermite", {0xff573044,0xff573044,0xff573044,0xff573044,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff502c3e,0xff502c3e,0xff502c3e,0xff502c3e,0xff573044,0xff573044,0xff573044,0xff573044,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff502c3e,0xff502c3e,0xff502c3e,0xff502c3e,0xff573044,0xff573044,0xff573044,0xff573044,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff502c3e,0xff502c3e,0xff502c3e,0xff502c3e,0xff573044,0xff573044,0xff573044,0xff573044,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff502c3e,0xff502c3e,0xff502c3e,0xff502c3e,0xff573044,0xff573044,0xff573044,0xff573044,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff321757,0xff502c3e,0xff502c3e,0xff502c3e,0xff502c3e,0xff472737,0xff472737,0xff472737,0xff472737,0xff4b293a,0xff4b293a,0xff4b293a,0xff4b293a,0xff472737,0xff472737,0xff472737,0xff472737,0xff472637,0xff472637,0xff472637,0xff472637,0xff472737,0xff472737,0xff472737,0xff472737,0xff4b293a,0xff4b293a,0xff4b293a,0xff4b293a,0xff472737,0xff472737,0xff472737,0xff472737,0xff472637,0xff472637,0xff472637,0xff472637,0xff472737,0xff472737,0xff472737,0xff472737,0xff4b293a,0xff4b293a,0xff4b293a,0xff4b293a,0xff472737,0xff472737,0xff472737,0xff472737,0xff472637,0xff472637,0xff472637,0xff472637,0xff472737,0xff472737,0xff472737,0xff472737,0xff4b293a,0xff4b293a,0xff4b293a,0xff4b293a,0xff472737,0xff472737,0xff472737,0xff472737,0xff472637,0xff472637,0xff472637,0xff472637,0xff472737,0xff472737,0xff472737,0xff472737,0xff4b293a,0xff4b293a,0xff4b293a,0xff4b293a,0xff472737,0xff472737,0xff472737,0xff472737,0xff472637,0xff472637,0xff472637,0xff472637,0xff472737,0xff472737,0xff472737,0xff472737,0xff4b293a,0xff4b293a,0xff4b293a,0xff4b293a,0xff472737,0xff472737,0xff472737,0xff472737,0xff472637,0xff472637,0xff472637,0xff472637,0xff422433,0xff422433,0xff422433,0xff422433,0xff3e2130,0xff3e2130,0xff3e2130,0xff3e2130,0xff402231,0xff402231,0xff402231,0xff402231,0xff492838,0xff492838,0xff492838,0xff492838,0xff422433,0xff422433,0xff422433,0xff422433,0xff3e2130,0xff3e2130,0xff3e2130,0xff3e2130,0xff402231,0xff402231,0xff402231,0xff402231,0xff492838,0xff492838,0xff492838,0xff492838,0xff422433,0xff422433,0xff422433,0xff422433,0xff3e2130,0xff3e2130,0xff3e2130,0xff3e2130,0xff402231,0xff402231,0xff402231,0xff402231,0xff492838,0xff492838,0xff492838,0xff492838,0xff422433,0xff422433,0xff422433,0xff422433,0xff3e2130,0xff3e2130,0xff3e2130,0xff3e2130,0xff402231,0xff402231,0xff402231,0xff402231,0xff492838,0xff492838,0xff492838,0xff492838,0xff422433,0xff422433,0xff422433,0xff422433,0xff3e2130,0xff3e2130,0xff3e2130,0xff3e2130,0xff402231,0xff402231,0xff402231,0xff402231,0xff492838,0xff492838,0xff492838,0xff492838}},
|
||||
{"minecraft:evocation_illager", {0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xffa0a095,0xffa0a095,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xffa0a095,0xffa0a095,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff393939,0xff393939,0xff393939,0xff393939,0xff898984,0xff898984,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff898984,0xff898984,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff898984,0xff898984,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff898984,0xff898984,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff393939,0xff393939,0xff393939,0xff393939,0xff999993,0xff999993,0xff999993,0xff999993,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff252525,0xff252525,0xff393939,0xff393939,0xff393939,0xff393939,0xff999993,0xff999993,0xff999993,0xff999993,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff93938e,0xff93938e,0xffffffff,0xffffffff,0xff3c6632,0xff3c6632,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff3c6632,0xff3c6632,0xffffffff,0xffffffff,0xff93938e,0xff93938e,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff969690,0xff969690,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff969690,0xff969690,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff6e6e68,0xff6e6e68,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff6e6e68,0xff6e6e68,0xff6e6e68,0xff6e6e68,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff6e6e68,0xff6e6e68}},
|
||||
{"minecraft:ghast", {0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffdadadd,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffdadadd,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffdadadd,0xffccccd8,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffccccd8,0xffdadadd,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffdadadd,0xff737373,0xff737373,0xff737373,0xff99999d,0xffdadadd,0xffdadadd,0xff99999d,0xff737373,0xff737373,0xff99999d,0xffdadadd,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffccccd8,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffdadadd,0xffccccd8,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffccccd8,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xffdadadd,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xffdadadd,0xffe2e2e4,0xfff0f0f0,0xfff0f0f0,0xffe9e9ea,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffe2e2e4,0xfff0f0f0,0xffe2e2e4,0xffdadadd,0xffdadadd,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffe2e2e4,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff9f9f9,0xffe2e2e4,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffe2e2e4,0xffdadadd,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffdadadd,0xff737373,0xff737373,0xff737373,0xff99999d,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffe2e2e4,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff0f0f0,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff0f0f0,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9}},
|
||||
{"minecraft:goat", {0xfffafafa,0xfffafafa,0xfffafafa,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xff323334,0xff323334,0xff323334,0xff323334,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xff323334,0xff323334,0xff323334,0xff323334,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xfffafafa,0xfffafafa,0xfffafafa,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xff90acc0,0xff90acc0,0xff90acc0,0xff90acc0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xff90acc0,0xff90acc0,0xff90acc0,0xff90acc0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xff90acc0,0xff90acc0,0xff90acc0,0xff90acc0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffeceff0,0xffeceff0,0xffeceff0,0xffeceff0,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffeceff0,0xffeceff0,0xffeceff0,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffdee7ea,0xffdee7ea,0xffdee7ea,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xff90acc0,0xff90acc0,0xff90acc0,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xff90acc0,0xff90acc0,0xff90acc0,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xff90acc0,0xff90acc0,0xff90acc0,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xffc2d5db,0xff90acc0,0xff90acc0,0xff90acc0,0xffc2d5db,0xffc2d5db,0xffc2d5db}},
|
||||
{"minecraft:guardian", {0xff83956a,0xff83956a,0xff83956a,0xff9ca583,0xff9ca583,0xff9ca583,0xff9ca583,0xff9ca583,0xff5a7141,0xff9ca583,0xff9ca583,0xff83956a,0xff83956a,0xff9ca583,0xff9ca583,0xff9ca583,0xff83956a,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff757f5d,0xff66794e,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff83956a,0xff83956a,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff757f5d,0xff66794e,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff83956a,0xff9ca583,0xff808966,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff808966,0xff5a7141,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff808966,0xff9ca583,0xff9ca583,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff757f5d,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff83956a,0xff9ca583,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff5a7141,0xff5a7141,0xff83956a,0xff9ca583,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff526539,0xff5a7141,0xff5a7141,0xff83956a,0xff83956a,0xff66794e,0xff66794e,0xff66794e,0xffadbac0,0xffcdd3d6,0xffcdd3d6,0xffcbd3d7,0xffccd5d7,0xffc9d2d6,0xffc9d2d6,0xffadb9be,0xff66794e,0xff66794e,0xff66794e,0xff757f5d,0xff9ca583,0xff66794e,0xff66794e,0xff66794e,0xffccd4d7,0xffcbd3d7,0xffcbd3d7,0xffcfd5d7,0xffcbd5d8,0xffcbd3d6,0xffcbd3d6,0xffc9d2d6,0xff66794e,0xff66794e,0xff66794e,0xff808966,0xff83956a,0xff757f5d,0xff757f5d,0xff757f5d,0xffaab9c0,0xffcad3d7,0xffcad3d7,0xffcad1d5,0xffc9d2d7,0xffcbd3d7,0xffcbd3d7,0xffaebac0,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff83956a,0xff757f5d,0xff757f5d,0xff757f5d,0xffaab9c0,0xffcad3d7,0xffcad3d7,0xffcad1d5,0xffc9d2d7,0xffcbd3d7,0xffcbd3d7,0xffaebac0,0xff757f5d,0xff808966,0xff808966,0xff808966,0xff83956a,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff66794e,0xff66794e,0xff757f5d,0xff757f5d,0xff757f5d,0xff757f5d,0xff66794e,0xff808966,0xff808966,0xff808966,0xff808966,0xff808966,0xff757f5d,0xff757f5d,0xff66794e,0xff66794e,0xff526539,0xff526539,0xff757f5d,0xff757f5d,0xff66794e,0xff66794e,0xff5a7141,0xff757f5d,0xff808966,0xff808966,0xff66794e,0xff808966,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff808966,0xff757f5d,0xff757f5d,0xff526539,0xff83956a,0xff757f5d,0xff757f5d,0xff66794e,0xff808966,0xff5a7141,0xff5a7141,0xff526539,0xff526539,0xff83956a,0xff83956a,0xff757f5d,0xff808966,0xff757f5d,0xff757f5d,0xff526539,0xff83956a,0xff757f5d,0xff757f5d,0xff66794e,0xff83956a,0xff808966,0xff808966,0xff83956a,0xff83956a,0xff757f5d,0xff757f5d,0xff66794e,0xff808966,0xff808966,0xff808966,0xff83956a,0xff526539,0xff757f5d,0xff757f5d,0xff808966}},
|
||||
{"minecraft:hoglin", {0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff7a95d5,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff74a0e8,0xff7a95d5,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff74a0e8,0xff7a95d5,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff5063a5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff5063a5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff6582c9,0xff4a5b95,0xff4a5b95,0xff4a5b95,0xff5063a5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff5063a5,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff5063a5,0xff5063a5,0xff5063a5,0xff5063a5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff5063a5,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff5063a5,0xff5063a5,0xff5063a5,0xff5063a5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff5063a5,0xff4a5b95,0xff4a5b95,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff5063a5,0xff5063a5,0xff5063a5,0xff5063a5,0xff7a95d5,0xff7a95d5,0xff5b72bb,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff5b72bb,0xff6582c9,0xff6582c9,0xff5b72bb,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff5b72bb,0xff5b72bb,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff5b72bb,0xff6582c9,0xff6582c9,0xff5b72bb,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff5b72bb,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5b72bb,0xff5063a5,0xff5063a5,0xff5063a5,0xff5b72bb,0xff5b72bb,0xff5063a5}},
|
||||
{"minecraft:husk", {0xff6498b0,0xff6498b0,0xff3b5059,0xff3b5059,0xff43555d,0xff43555d,0xff6498b0,0xff6498b0,0xff6498b0,0xff6498b0,0xff7db8d3,0xff7db8d3,0xff7db8d3,0xff7db8d3,0xff70adc9,0xff70adc9,0xff6498b0,0xff6498b0,0xff3b5059,0xff3b5059,0xff43555d,0xff43555d,0xff6498b0,0xff6498b0,0xff6498b0,0xff6498b0,0xff7db8d3,0xff7db8d3,0xff7db8d3,0xff7db8d3,0xff70adc9,0xff70adc9,0xff608b9e,0xff608b9e,0xff43555d,0xff43555d,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff43555d,0xff43555d,0xff557482,0xff557482,0xff6498b0,0xff6498b0,0xff6498b0,0xff6498b0,0xff608b9e,0xff608b9e,0xff43555d,0xff43555d,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff43555d,0xff43555d,0xff557482,0xff557482,0xff6498b0,0xff6498b0,0xff6498b0,0xff6498b0,0xff3b5059,0xff3b5059,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff617079,0xff617079,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff4a5d6a,0xff4a5d6a,0xff354852,0xff354852,0xff3b5059,0xff3b5059,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff617079,0xff617079,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff4a5d6a,0xff4a5d6a,0xff354852,0xff354852,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff54646c,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff4a5d6a,0xff4a5d6a,0xff43555d,0xff43555d,0xff191919,0xff191919,0xff191919,0xff191919,0xff54646c,0xff54646c,0xff4a5d6a,0xff4a5d6a,0xff191919,0xff191919,0xff191919,0xff191919,0xff43555d,0xff43555d,0xff43555d,0xff43555d,0xff191919,0xff191919,0xff191919,0xff191919,0xff54646c,0xff54646c,0xff4a5d6a,0xff4a5d6a,0xff191919,0xff191919,0xff191919,0xff191919,0xff43555d,0xff43555d,0xff3b5059,0xff3b5059,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff3b5059,0xff3b5059,0xff3b5059,0xff3b5059,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff4a5d6a,0xff3b5059,0xff3b5059,0xff354852,0xff354852,0xff3b5059,0xff3b5059,0xff31424b,0xff31424b,0xff354852,0xff354852,0xff354852,0xff354852,0xff2c3d46,0xff2c3d46,0xff3b5059,0xff3b5059,0xff354852,0xff354852,0xff354852,0xff354852,0xff3b5059,0xff3b5059,0xff31424b,0xff31424b,0xff354852,0xff354852,0xff354852,0xff354852,0xff2c3d46,0xff2c3d46,0xff3b5059,0xff3b5059,0xff354852,0xff354852,0xff31424b,0xff31424b,0xff31424b,0xff31424b,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff31424b,0xff31424b,0xff2c3d46,0xff2c3d46,0xff354852,0xff354852,0xff354852,0xff354852,0xff31424b,0xff31424b,0xff31424b,0xff31424b,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff2c3d46,0xff31424b,0xff31424b,0xff2c3d46,0xff2c3d46,0xff354852,0xff354852,0xff354852,0xff354852}},
|
||||
{"minecraft:iron_golem", {0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc5c5c5,0xffc5c5c5,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc5c5c5,0xffc5c5c5,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff8da4c2,0xff98b1cf,0xff98b1cf,0xffaabcd2,0xffaabcd2,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffaabcd2,0xffaabcd2,0xff98b1cf,0xff98b1cf,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xff304057,0xffc2cddb,0xffc2cddb,0xff0e001e,0xff0e001e,0xff0e001e,0xff0e001e,0xffc2cddb,0xffc2cddb,0xff98b1cf,0xff98b1cf,0xff0e001e,0xff0e001e,0xff0e001e,0xff0e001e,0xff98b1cf,0xff98b1cf,0xffc2cddb,0xffc2cddb,0xff0e001e,0xff0e001e,0xff0e001e,0xff0e001e,0xffc2cddb,0xffc2cddb,0xff98b1cf,0xff98b1cf,0xff0e001e,0xff0e001e,0xff0e001e,0xff0e001e,0xff98b1cf,0xff98b1cf,0xffaabcd2,0xffaabcd2,0xff2a008d,0xff2a008d,0xff0e001e,0xff0e001e,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff0e001e,0xff0e001e,0xff2a008d,0xff2a008d,0xffaabcd2,0xffaabcd2,0xffc2cddb,0xffc2cddb,0xff4c6281,0xff4c6281,0xff4c6281,0xff4c6281,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff4c6281,0xff4c6281,0xff4c6281,0xff4c6281,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xff4c6281,0xff4c6281,0xff4c6281,0xff4c6281,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff4c6281,0xff4c6281,0xff4c6281,0xff4c6281,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffaabcd2,0xffaabcd2,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffaabcd2,0xffaabcd2,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xff98b1cf,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffaabcd2,0xffaabcd2,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffaabcd2,0xffaabcd2,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb,0xffc2cddb}},
|
||||
{"minecraft:magma_cube", {0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000f31,0x7e000f31,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e00001c,0x7e00001c,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000f31,0x7e000f31,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e00001c,0x7e00001c,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e073dcb,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e4bb7ed,0x7e4bb7ed,0x7e72ebfa,0x7e72ebfa,0x7e000c20,0x7e000c20,0x7e000010,0x7e000010,0x7e72ebfa,0x7e72ebfa,0x7e4bb7ed,0x7e4bb7ed,0x7e000020,0x7e000020,0x7e000010,0x7e000010,0x7e4bb7ed,0x7e4bb7ed,0x7e72ebfa,0x7e72ebfa,0x7e000c20,0x7e000c20,0x7e000010,0x7e000010,0x7e72ebfa,0x7e72ebfa,0x7e4bb7ed,0x7e4bb7ed,0x7e000020,0x7e000020,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e00001c,0x7e00001c,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000033,0x7e000033,0x7e000f31,0x7e000f31,0x7e000033,0x7e000033,0x7e000010,0x7e000010,0x7e00001c,0x7e00001c,0x7e000033,0x7e000033,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000033,0x7e000033,0x7e000f31,0x7e000f31,0x7e000033,0x7e000033,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000033,0x7e000033,0x7e000f31,0x7e000f31,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e00001c,0x7e00001c,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000033,0x7e000033,0x7e000f31,0x7e000f31,0x7e000029,0x7e000029,0x7e000010,0x7e000010,0x7e00001c,0x7e00001c,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000033,0x7e000033,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000010,0x7e000010,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033,0x7e000033,0x7e000033,0x7e000010,0x7e000010,0x7e000029,0x7e000029,0x7e000033,0x7e000033}},
|
||||
{"minecraft:mooshroom", {0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff818181,0xff818181,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffa1a1a1,0xffa1a1a1,0xff53519c,0xff53519c,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff818181,0xff818181,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffa1a1a1,0xffa1a1a1,0xff53519c,0xff53519c,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff53519c,0xff53519c,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff53519c,0xff53519c,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xffb3b3b3,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff333333,0xff333333,0xff000000,0xff000000,0xff1210a8,0xff1210a8,0xffa1a1a1,0xffa1a1a1,0xffb3b3b3,0xffb3b3b3,0xff121099,0xff121099,0xff333333,0xff333333,0xff000000,0xff000000,0xff333333,0xff333333,0xff000000,0xff000000,0xff1210a8,0xff1210a8,0xffa1a1a1,0xffa1a1a1,0xffb3b3b3,0xffb3b3b3,0xff121099,0xff121099,0xff333333,0xff333333,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff1210a8,0xff1210a8,0xffa1a1a1,0xffa1a1a1,0xff53519c,0xff53519c,0xff1210a8,0xff1210a8,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff1210a8,0xff1210a8,0xffa1a1a1,0xffa1a1a1,0xff53519c,0xff53519c,0xff1210a8,0xff1210a8,0xff000000,0xff000000,0xff000000,0xff000000,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff1210a8,0xff1210a8,0xff121099,0xff121099,0xff121099,0xff121099,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff121099,0xff121099,0xff121099,0xff121099,0xff121099,0xff121099,0xff121099,0xff121099,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff121099,0xff121099,0xff121099,0xff121099,0xff121099,0xff121099,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff121099,0xff121099,0xff121099,0xff121099,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff53519c,0xff121099,0xff121099}},
|
||||
{"minecraft:nautilus", {0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff637bff,0xff4c63ed,0xff637bff,0xff637bff,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff637bff,0xff4c63ed,0xff637bff,0xff637bff,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff93a3e6,0xffcdd7e1,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffecf7ff,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffcdd7e1,0xff93a3e6,0xffcdd7e1,0xffcdd7e1,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffd1e6f4,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffcdd7e1,0xffcdd7e1,0xffcdd7e1,0xffcdd7e1,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffd1e6f4,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffcdd7e1,0xffcdd7e1,0xff99b4c3,0xff99b4c3,0xff415adb,0xff334fc4,0xff334fc4,0xff334fc4,0xff3a5be1,0xff3a5be1,0xff3a5be1,0xff3a5be1,0xff334fc4,0xff334fc4,0xff334fc4,0xff415adb,0xff99b4c3,0xff99b4c3,0xff93a3e6,0xff637bff,0xff637bff,0xff415adb,0xff415adb,0xff637bff,0xff637bff,0xff4c63ed,0xff637bff,0xff637bff,0xff637bff,0xff415adb,0xff415adb,0xff637bff,0xff637bff,0xff93a3e6,0xff93a3e6,0xff637bff,0xff637bff,0xff415adb,0xff415adb,0xff637bff,0xff637bff,0xff4c63ed,0xff637bff,0xff637bff,0xff637bff,0xff415adb,0xff415adb,0xff637bff,0xff637bff,0xff93a3e6,0xff637bff,0xff4c63ed,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff637bff,0xff4c63ed,0xff637bff,0xff637bff,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff637bff,0xff4c63ed,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff637bff,0xff4c63ed,0xff637bff,0xff637bff,0xff4c63ed,0xff415adb,0xff415adb,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff4c63ed,0xff93a3e6,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffecf7ff,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xff93a3e6,0xff4c63ed,0xff4c63ed,0xff93a3e6,0xffcdd7e1,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffecf7ff,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffcdd7e1,0xff93a3e6,0xff93a3e6,0xffcdd7e1,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffecf7ff,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffcdd7e1,0xff93a3e6,0xff99b4c3,0xff99b4c3,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xffecf7ff,0xffd1e6f4,0xffecf7ff,0xffecf7ff,0xffcdd7e1,0xffb6c8d4,0xffb6c8d4,0xffcdd7e1,0xff99b4c3,0xff99b4c3,0xff99b4c3,0xff415adb,0xff415adb,0xff334fc4,0xff334fc4,0xff334fc4,0xff3a5be1,0xff3a5be1,0xff3a5be1,0xff3a5be1,0xff334fc4,0xff334fc4,0xff334fc4,0xff415adb,0xff415adb,0xff99b4c3,0xff99b4c3,0xff415adb,0xff415adb,0xff334fc4,0xff334fc4,0xff334fc4,0xff3a5be1,0xff3a5be1,0xff3a5be1,0xff3a5be1,0xff334fc4,0xff334fc4,0xff334fc4,0xff415adb,0xff415adb,0xff99b4c3}},
|
||||
{"minecraft:panda", {0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xffd7d9d9,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffd7d9d9,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xffe7e7e7,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xff221b1b,0xff221b1b,0xff191313,0xff191313,0xff191313,0xff221b1b,0xffd7d9d9,0xffe7e7e7,0xffe7e7e7,0xffd7d9d9,0xff221b1b,0xff191313,0xff191313,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xffffffff,0xffffffff,0xff43403f,0xff191313,0xff929292,0xffd7d9d9,0xffd7d9d9,0xff929292,0xff191313,0xff43403f,0xffffffff,0xffffffff,0xff191313,0xff221b1b,0xff221b1b,0xff191313,0xffffffff,0xffffffff,0xff43403f,0xff191313,0xff929292,0xffd7d9d9,0xffd7d9d9,0xff929292,0xff191313,0xff43403f,0xffffffff,0xffffffff,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xff191313,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff191313,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xff191313,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff191313,0xff191313,0xff221b1b,0xff221b1b,0xff221b1b,0xff191313,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff191313,0xff221b1b,0xff191313,0xff929292,0xffababab,0xffababab,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xffababab,0xffababab,0xff929292,0xff191313,0xff191313,0xff929292,0xffababab,0xffababab,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xffababab,0xffababab,0xff929292,0xff191313,0xffd7d9d9,0xffababab,0xffababab,0xffababab,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xffababab,0xffababab,0xffababab,0xffd7d9d9,0xffababab,0xffababab,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xffababab,0xffababab,0xffababab,0xffababab,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xff929292,0xffababab,0xffababab}},
|
||||
{"minecraft:parched", {0xff5a6666,0xff5a6666,0xff465255,0xff465255,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff5a6666,0xff5a6666,0xff465255,0xff465255,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff767e87,0xff767e87,0xff7a8990,0xff7a8990,0xff7a8990,0xff7a8990,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff767e87,0xff767e87,0xff7a8990,0xff7a8990,0xff7a8990,0xff7a8990,0xff767e87,0xff767e87,0xff485454,0xff485454,0xff485454,0xff485454,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff485454,0xff485454,0xff485454,0xff485454,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff62676a,0xff62676a,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xff666e74,0xff666e74,0xff62676a,0xff62676a,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xff767e87,0xff767e87,0xff767e87,0xff767e87,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xff666e74,0xff666e74,0xff62676a,0xff62676a,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xffc2ebfe,0xff767e87,0xff767e87,0xff62676a,0xff62676a,0xff767e87,0xff767e87,0xff767e87,0xff767e87,0xff3b464b,0xff3b464b,0xff3b464b,0xff3b464b,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff767e87,0xff767e87,0xff767e87,0xff767e87,0xff3b464b,0xff3b464b,0xff3b464b,0xff3b464b,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff62676a,0xff3b464b,0xff3b464b,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff3b464b,0xff3b464b,0xff3b464b,0xff3b464b,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff272d30,0xff3b464b,0xff3b464b,0xff767e87,0xff767e87,0xff616b6b,0xff616b6b,0xff767e87,0xff767e87,0xff7a8990,0xff7a8990,0xff7a8990,0xff7a8990,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff666e74,0xff666e74,0xff767e87,0xff767e87,0xff616b6b,0xff616b6b,0xff767e87,0xff767e87,0xff7a8990,0xff7a8990,0xff7a8990,0xff7a8990,0xff767e87,0xff767e87,0xff666e74,0xff666e74,0xff666e74,0xff666e74}},
|
||||
{"minecraft:phantom", {0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0x124cba50,0x124cba50,0x124cba50,0x1250ba54,0x1250ba54,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0x124cba50,0x124cba50,0x124cba50,0x1250ba54,0x1250ba54,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0x124cba50,0x124cba50,0x124cba50,0x1250ba54,0x1250ba54,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0x124cba50,0x124cba50,0x124cba50,0x1250ba54,0x1250ba54,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0x124cba50,0x124cba50,0x124cba50,0x1250ba54,0x1250ba54,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0x124cba50,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0x124cba50,0x124cba50,0x124cba50,0x1250ba54,0x1250ba54,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xffa46150,0xff8a5143,0xff8a5143,0xff8a5143,0xffa46150,0xffa46150}},
|
||||
{"minecraft:pig", {0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff010002,0xff010002,0xffffffff,0xffffffff,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8b91e6,0xff8b91e6,0xffffffff,0xffffffff,0xff010002,0xff010002,0xff010002,0xff010002,0xffffffff,0xffffffff,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8b91e6,0xff8b91e6,0xffffffff,0xffffffff,0xff010002,0xff010002,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff989ef1,0xff989ef1,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8b91e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff7379e6,0xff7379e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff7379e6,0xff7379e6,0xff7379e6,0xff7379e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff8385e6,0xff7379e6,0xff7379e6}},
|
||||
{"minecraft:piglin", {0xff74a0e8,0xff74a0e8,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff7a95d5,0xff7a95d5,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff4566ba,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff4566ba,0xff4566ba,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff4566ba,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff4566ba,0xff4566ba,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff7a95d5,0xff4566ba,0xff6582c9,0xff6582c9,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff6582c9,0xff6582c9,0xff4566ba,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff4566ba,0xff6582c9,0xff6582c9,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff6582c9,0xff6582c9,0xff4566ba,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff6582c9,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff4566ba,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff4566ba,0xff6582c9,0xff6582c9,0xff4566ba,0xff4566ba,0xff3255ad,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff3255ad,0xff4566ba,0xff4566ba,0xff4566ba,0xff4566ba,0xff3255ad,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff3255ad,0xff4566ba,0xff4566ba}},
|
||||
{"minecraft:piglin_brute", {0xff74a0e8,0xff74a0e8,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff384aab,0xff384aab,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff384aab,0xff384aab,0xff74a0e8,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff5868d0,0xff5868d0,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff86baf2,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff5868d0,0xff5868d0,0xff86baf2,0xff86baf2,0xff86baf2,0xff7a95d5,0xff7a95d5,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff6582c9,0xffffffff,0xffffffff,0xff6582c9,0xff7a95d5,0xff7a95d5,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff4566ba,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff5868d0,0xff5868d0,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff4566ba,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff5868d0,0xff5868d0,0xff74a0e8,0xff74a0e8,0xff74a0e8,0xff7a95d5,0xff7a95d5,0xff4566ba,0xff6582c9,0xff6582c9,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff384aab,0xff384aab,0xff4566ba,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff7a95d5,0xff4566ba,0xff6582c9,0xff6582c9,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff384aab,0xff384aab,0xff4566ba,0xff7a95d5,0xff7a95d5,0xff6582c9,0xff6582c9,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff4566ba,0xff6582c9,0xff6582c9,0xff6582c9,0xff6582c9,0xff4566ba,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff4566ba,0xff6582c9,0xff6582c9,0xff4566ba,0xff4566ba,0xff3255ad,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff3255ad,0xff4566ba,0xff4566ba,0xff4566ba,0xff4566ba,0xff3255ad,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff224397,0xff3255ad,0xff4566ba,0xff4566ba}},
|
||||
{"minecraft:pillager", {0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xffa0a095,0xffa0a095,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xffa0a095,0xffa0a095,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff393939,0xff393939,0xff393939,0xff393939,0xff898984,0xff898984,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff898984,0xff898984,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff898984,0xff898984,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff898984,0xff898984,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff393939,0xff393939,0xff393939,0xff393939,0xff999993,0xff999993,0xff999993,0xff999993,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff252525,0xff252525,0xff393939,0xff393939,0xff393939,0xff393939,0xff999993,0xff999993,0xff999993,0xff999993,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff93938e,0xff93938e,0xffffffff,0xffffffff,0xff3c6632,0xff3c6632,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff3c6632,0xff3c6632,0xffffffff,0xffffffff,0xff93938e,0xff93938e,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff969690,0xff969690,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff969690,0xff969690,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff6e6e68,0xff6e6e68,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff6e6e68,0xff6e6e68,0xff6e6e68,0xff6e6e68,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff6e6e68,0xff6e6e68}},
|
||||
{"minecraft:player", {0xff0d202f,0xff0d202f,0xff0d1e2b,0xff0d1e2b,0xff0f1f2f,0xff0f1f2f,0xff0b1c28,0xff0b1c28,0xff081824,0xff081824,0xff0a1a26,0xff0a1a26,0xff0d1e2b,0xff0d1e2b,0xff0d1d2a,0xff0d1d2a,0xff0d202f,0xff0d202f,0xff0d1e2b,0xff0d1e2b,0xff0f1f2f,0xff0f1f2f,0xff0b1c28,0xff0b1c28,0xff081824,0xff081824,0xff0a1a26,0xff0a1a26,0xff0d1e2b,0xff0d1e2b,0xff0d1d2a,0xff0d1d2a,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff112433,0xff112433,0xff122a42,0xff122a42,0xff152a3f,0xff152a3f,0xff0e1e2c,0xff0e1e2c,0xff0b1c28,0xff0b1c28,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff0d1e2b,0xff112433,0xff112433,0xff122a42,0xff122a42,0xff152a3f,0xff152a3f,0xff0e1e2c,0xff0e1e2c,0xff0b1c28,0xff0b1c28,0xff0d1e2b,0xff0d1e2b,0xff6c89b6,0xff6c89b6,0xff728ebd,0xff728ebd,0xff8096c6,0xff8096c6,0xff728bbd,0xff728bbd,0xff748ebd,0xff748ebd,0xff5a76ac,0xff5a76ac,0xff122534,0xff122534,0xff0d1e2b,0xff0d1e2b,0xff6c89b6,0xff6c89b6,0xff728ebd,0xff728ebd,0xff8096c6,0xff8096c6,0xff728bbd,0xff728bbd,0xff748ebd,0xff748ebd,0xff5a76ac,0xff5a76ac,0xff122534,0xff122534,0xff667daa,0xff667daa,0xff6d84b4,0xff6d84b4,0xff667daa,0xff667daa,0xff6d80ad,0xff6d80ad,0xff5c729c,0xff5c729c,0xff7289bb,0xff7289bb,0xff4c699c,0xff4c699c,0xff4c699c,0xff4c699c,0xff667daa,0xff667daa,0xff6d84b4,0xff6d84b4,0xff667daa,0xff667daa,0xff6d80ad,0xff6d80ad,0xff5c729c,0xff5c729c,0xff7289bb,0xff7289bb,0xff4c699c,0xff4c699c,0xff4c699c,0xff4c699c,0xff6d84b4,0xff6d84b4,0xffffffff,0xffffffff,0xff893d52,0xff893d52,0xff677bb5,0xff677bb5,0xff7289bb,0xff7289bb,0xff893d52,0xff893d52,0xffffffff,0xffffffff,0xff667daa,0xff667daa,0xff6d84b4,0xff6d84b4,0xffffffff,0xffffffff,0xff893d52,0xff893d52,0xff677bb5,0xff677bb5,0xff7289bb,0xff7289bb,0xff893d52,0xff893d52,0xffffffff,0xffffffff,0xff667daa,0xff667daa,0xff46639c,0xff46639c,0xff627bb3,0xff627bb3,0xff7282b7,0xff7282b7,0xff30406a,0xff30406a,0xff30406a,0xff30406a,0xff6c88be,0xff6c88be,0xff476aa2,0xff476aa2,0xff345380,0xff345380,0xff46639c,0xff46639c,0xff627bb3,0xff627bb3,0xff7282b7,0xff7282b7,0xff30406a,0xff30406a,0xff30406a,0xff30406a,0xff6c88be,0xff6c88be,0xff476aa2,0xff476aa2,0xff345380,0xff345380,0xff435e90,0xff435e90,0xff405f96,0xff405f96,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff3e5e8f,0xff3e5e8f,0xff395381,0xff395381,0xff435e90,0xff435e90,0xff405f96,0xff405f96,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff354277,0xff3e5e8f,0xff3e5e8f,0xff395381,0xff395381,0xff2c456f,0xff2c456f,0xff2a436d,0xff2a436d,0xff395381,0xff395381,0xff395381,0xff395381,0xff334e7a,0xff334e7a,0xff3b5583,0xff3b5583,0xff3b5583,0xff3b5583,0xff334e7a,0xff334e7a,0xff2c456f,0xff2c456f,0xff2a436d,0xff2a436d,0xff395381,0xff395381,0xff395381,0xff395381,0xff334e7a,0xff334e7a,0xff3b5583,0xff3b5583,0xff3b5583,0xff3b5583,0xff334e7a,0xff334e7a}},
|
||||
{"minecraft:polar_bear", {0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffacb6bd,0xffacb6bd,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xfff6f6f6,0xfff6f6f6,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xfff6f6f6,0xfff6f6f6,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xffacb6bd,0xffacb6bd,0xfff6f6f6,0xfff6f6f6,0xff182018,0xff182018,0xff182018,0xffdeeeee,0xffdeeeee,0xfff6f6f6,0xfff6f6f6,0xffdeeeee,0xffdeeeee,0xff182018,0xff182018,0xff182018,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xff182018,0xff182018,0xff182018,0xffdeeeee,0xffdeeeee,0xfff6f6f6,0xfff6f6f6,0xffdeeeee,0xffdeeeee,0xff182018,0xff182018,0xff182018,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xffcdd6d5,0xffcdd6d5,0xffcdd6d5,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xff182018,0xffacb6bd,0xffacb6bd,0xffacb6bd,0xfff6f6f6,0xfff6f6f6}},
|
||||
{"minecraft:ravager", {0xff5a5f60,0xff65696a,0xff5a5f60,0xff65696a,0xff65696a,0xff5a5f60,0xff5a5f60,0xff49505b,0xff49505b,0xff5a5f60,0xff5a5f60,0xff65696a,0xff65696a,0xff5a5f60,0xff65696a,0xff5a5f60,0xff5a5f60,0xff5a5f60,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff5a5f60,0xff5a5f60,0xff5a5f60,0xff5a5f60,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff5a5f60,0xff5a5f60,0xff40454d,0xff49505b,0xff49505b,0xff5a5f60,0xff5a5f60,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff5a5f60,0xff65696a,0xff5a5f60,0xff5a5f60,0xff49505b,0xff49505b,0xff40454d,0xff40454d,0xff40454d,0xff40454d,0xff49505b,0xff40454d,0xff5a5f60,0xff65696a,0xff5a5f60,0xff65696a,0xff65696a,0xff5a5f60,0xff49505b,0xff40454d,0xff40454d,0xff40454d,0xff40454d,0xff49505b,0xff49505b,0xff40454d,0xff40454d,0xff40454d,0xff49505b,0xff5a5f60,0xff65696a,0xff65696a,0xff5a5f60,0xff49505b,0xff40454d,0xff40454d,0xff49505b,0xff40454d,0xff49505b,0xff49505b,0xff40454d,0xff40454d,0xff49505b,0xff49505b,0xff5a5f60,0xff5a5f60,0xff5a5f60,0xff65696a,0xff5a5f60,0xff5a5f60,0xff49505b,0xff49505b,0xff40454d,0xff40454d,0xff49505b,0xff49505b,0xff5a5f60,0xff65696a,0xff65696a,0xff5a5f60,0xff49505b,0xff65696a,0xff5a5f60,0xff5a5f60,0xff65696a,0xff49505b,0xff5a5f60,0xff65696a,0xff65696a,0xff5a5f60,0xff49505b,0xff40454d,0xff49505b,0xff5a5f60,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff65696a,0xff5a5f60,0xff49505b,0xff40454d,0xff49505b,0xff40454d,0xff40454d,0xff40454d,0xff49505b,0xff5a5f60,0xff65696a,0xff707475,0xff65696a,0xff65696a,0xff5a5f60,0xff49505b,0xff40454d,0xff40454d,0xff40454d,0xff49505b,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff242626,0xff40454d,0xff40454d,0xffffffff,0xffffffff,0xff3c6632,0xff3c6632,0xff404045,0xff404045,0xff404045,0xff404045,0xff3c6632,0xff3c6632,0xffffffff,0xffffffff,0xff40454d,0xff40454d,0xff65696a,0xff5a5f60,0xff49505b,0xff49505b,0xff40454d,0xff404045,0xff404045,0xff404045,0xff404045,0xff404045,0xff404045,0xff40454d,0xff49505b,0xff49505b,0xff5a5f60,0xff707475,0xff65696a,0xff65696a,0xff5a5f60,0xff5a5f60,0xff49505b,0xff404045,0xff404045,0xff404045,0xff404045,0xff404045,0xff404045,0xff49505b,0xff5a5f60,0xff5a5f60,0xff65696a,0xff65696a,0xff49505b,0xff5a5f60,0xff5a5f60,0xff49505b,0xff40454d,0xff404045,0xff404045,0xff404045,0xff404045,0xff404045,0xff404045,0xff40454d,0xff49505b,0xff5a5f60,0xff5a5f60,0xff49505b,0x00000000,0xff40454d,0xff40454d,0x00000000,0x00000000,0xff40454d,0xff40454d,0x00000000,0x00000000,0xff40454d,0xff40454d,0x00000000,0x00000000,0xff40454d,0xff40454d,0x00000000,0x00000000,0xff242626,0xff242626,0x00000000,0x00000000,0xff242626,0xff242626,0x00000000,0x00000000,0xff242626,0xff242626,0x00000000,0x00000000,0xff242626,0xff242626,0x00000000}},
|
||||
{"minecraft:salmon", {0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff65855d,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff6e9464,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff5a7354,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xff9bc3b3,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf,0xffb2b0bf}},
|
||||
{"minecraft:sheep", {0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8}},
|
||||
{"minecraft:silverfish", {0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff7f7f7f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff818181,0xff818181,0xff818181,0xff818181,0xff818181,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff868686,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c}},
|
||||
{"minecraft:skeleton", {0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffadabad,0xffadabad,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffadabad,0xffadabad,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffc9c9cb,0xffc9c9cb,0xffd3d3d3,0xffd3d3d3,0xffadabad,0xffadabad,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffc9c9cb,0xffc9c9cb,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffc9c9cb,0xffc9c9cb,0xffd3d3d3,0xffd3d3d3,0xffadabad,0xffadabad,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffc9c9cb,0xffc9c9cb,0xffbcbcbc,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffe3e3e3,0xffe3e3e3,0xffbcbcbc,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffe3e3e3,0xffe3e3e3,0xffbcbcbc,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffc9c9cb,0xffc9c9cb,0xff494949,0xff494949,0xff494949,0xff494949,0xffc9c9cb,0xffc9c9cb,0xffbcbcbc,0xffbcbcbc,0xff494949,0xff494949,0xff494949,0xff494949,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff494949,0xff494949,0xff494949,0xff494949,0xffc9c9cb,0xffc9c9cb,0xffbcbcbc,0xffbcbcbc,0xff494949,0xff494949,0xff494949,0xff494949,0xffc9c9cb,0xffc9c9cb,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffbcbcbc,0xffbcbcbc,0xff828282,0xff828282,0xff828282,0xff828282,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffbcbcbc,0xffbcbcbc,0xff828282,0xff828282,0xff828282,0xff828282,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xff8e8d8e,0xff8e8d8e,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff8e8d8e,0xff8e8d8e,0xff8e8d8e,0xff8e8d8e,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff494949,0xff8e8d8e,0xff8e8d8e,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc}},
|
||||
{"minecraft:slime", {0x00000000,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff64b975,0xff64b975,0xff64b975,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff3ea051,0xff3ea051,0x00000000,0xff102816,0xff102816,0xff102816,0xff102816,0xff102816,0xff64b975,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff102816,0xff102816,0xff102816,0xff102816,0xff102816,0xff102816,0xff102816,0xff0a0a0a,0xff0a0a0a,0xff0a0a0a,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff64b975,0xff0a0a0a,0xff0a0a0a,0xff102816,0xff102816,0xff102816,0x00000000,0xff3ea051,0xff3ea051,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff64b975,0xff64b975,0xff64b975,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff64b975,0xff64b975,0xff64b975,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff6ebf7e,0xff6ebf7e,0xff64b975,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff6ebf7e,0xff6ebf7e,0xff64b975,0xff64b975,0xff64b975,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff6ebf7e,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0xff3ea051,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000}},
|
||||
{"minecraft:sniffer", {0xff4d732c,0xff4d732c,0xff7b8d38,0xff7b8d38,0xff4d732c,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff7b8d38,0xff4d732c,0xff4d732c,0xff3c5d1d,0xff3c5d1d,0xff3c5d1d,0xff3c5d1d,0xff3c5d1d,0xff3c5d1d,0xff4d732c,0xff4d732c,0xff4d732c,0xff4d732c,0xff4d732c,0xff4d732c,0xff3c5d1d,0xff3c5d1d,0xff3c5d1d,0xff3c5d1d,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000}},
|
||||
{"minecraft:snow_golem", {0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xff000000,0xff000000,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xff000000,0xff000000,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xff000000,0xff000000,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xff000000,0xff000000,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xff444444,0xff444444,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff3f3e3,0xfff3f3e3,0xffffffee,0xffffffee,0xff444444,0xff444444,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xffffffee,0xffffffee,0xff000000,0xff000000,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xff444444,0xff444444,0xff000000,0xff000000,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xffffffee,0xffffffee,0xff000000,0xff000000,0xffffffff,0xffffffff,0xffffffee,0xffffffee,0xff444444,0xff444444,0xff000000,0xff000000,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xff444444,0xff444444,0xff000000,0xff000000,0xffffffee,0xffffffee,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xffffffee,0xffffffee,0xffffffff,0xffffffff,0xff444444,0xff444444,0xff000000,0xff000000,0xffffffee,0xffffffee,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3,0xfff3f3e3}},
|
||||
{"minecraft:spider", {0xff252a30,0xff252a30,0x030202a6,0x030202a6,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0x03000062,0x03000062,0xff252a30,0xff252a30,0xff252a30,0xff252a30,0x030202a6,0x030202a6,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0x03000062,0x03000062,0xff252a30,0xff252a30,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0x03000062,0x03000062,0xff485460,0xff485460,0xff485460,0xff485460,0x030202a6,0x030202a6,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0x03000062,0x03000062,0xff485460,0xff485460,0xff485460,0xff485460,0x030202a6,0x030202a6,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0x030202a6,0x030202a6,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0x030e0eff,0x030e0eff,0x03000062,0x03000062,0xff3b454f,0xff3b454f,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0xff3b454f,0xff3b454f,0x030202a6,0x030202a6,0x03000062,0x03000062,0xff3b454f,0xff3b454f,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0x030e0eff,0x030e0eff,0x030202a6,0x030202a6,0xff3b454f,0xff3b454f,0x030202a6,0x030202a6,0xff2c323c,0xff2c323c,0xff485460,0xff485460,0x030202a6,0x030202a6,0x03000062,0x03000062,0x030202a6,0x030202a6,0x03000062,0x03000062,0xff485460,0xff485460,0xff2c323c,0xff2c323c,0xff2c323c,0xff2c323c,0xff485460,0xff485460,0x030202a6,0x030202a6,0x03000062,0x03000062,0x030202a6,0x030202a6,0x03000062,0x03000062,0xff485460,0xff485460,0xff2c323c,0xff2c323c,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff485460,0xff485460,0xff3b454f,0xff3b454f,0xff3b454f,0xff3b454f,0xff333d47,0xff333d47,0xff7f8992,0xff7f8992,0xff0c1119,0xff0c1119,0xff3b454f,0xff3b454f,0xff333d47,0xff333d47,0xff0c1119,0xff0c1119,0xff7f8992,0xff7f8992,0xff333d47,0xff333d47,0xff333d47,0xff333d47,0xff7f8992,0xff7f8992,0xff0c1119,0xff0c1119,0xff3b454f,0xff3b454f,0xff333d47,0xff333d47,0xff0c1119,0xff0c1119,0xff7f8992,0xff7f8992,0xff333d47,0xff333d47,0xff191f25,0xff191f25,0xff77828c,0xff77828c,0xff0c1119,0xff0c1119,0xff333d47,0xff333d47,0xff3b454f,0xff3b454f,0xff0c1119,0xff0c1119,0xff77828c,0xff77828c,0xff191f25,0xff191f25,0xff191f25,0xff191f25,0xff77828c,0xff77828c,0xff0c1119,0xff0c1119,0xff333d47,0xff333d47,0xff3b454f,0xff3b454f,0xff0c1119,0xff0c1119,0xff77828c,0xff77828c,0xff191f25,0xff191f25}},
|
||||
{"minecraft:stray", {0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffacae9c,0xffacae9c,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffacae9c,0xffacae9c,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffacae9c,0xffacae9c,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffacae9c,0xffacae9c,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xfff6f2e6,0xfff6f2e6,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xfff6f2e6,0xfff6f2e6,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xffbdbaac,0xffbdbaac,0xffacae9c,0xffacae9c,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xffbdbaac,0xffbdbaac,0xffacae9c,0xffacae9c,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xfff6f2e6,0xffbdbaac,0xffbdbaac,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffbdbaac,0xffbdbaac,0xff949583,0xff949583,0xff949583,0xff949583,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffbdbaac,0xffbdbaac,0xff949583,0xff949583,0xff949583,0xff949583,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xffacae9c,0xff949583,0xff949583,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff949583,0xff949583,0xff949583,0xff949583,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff83816a,0xff949583,0xff949583,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffd5d6c5,0xffbdbaac,0xffbdbaac,0xffbdbaac,0xffbdbaac}},
|
||||
{"minecraft:turtle", {0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff4abf47,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3f7230,0xff3f7230,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3a8d38,0xff3a8d38,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3a8d38,0xff3a8d38,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3a8d38,0xff3a8d38,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3a8d38,0xff3a8d38,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3a8d38,0xff3a8d38,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff42a43f,0xff3a8d38,0xff3a8d38,0xff42a43f,0xff42a43f,0xff42a43f,0xff638b94,0xff638b94,0xff638b94,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff638b94,0xff638b94,0xff638b94,0xff638b94,0xff638b94,0xff638b94,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff638b94,0xff638b94,0xff638b94,0xff638b94,0xff638b94,0xff638b94,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff739aa8,0xff638b94,0xff638b94,0xff638b94}},
|
||||
{"minecraft:vex", {0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xff837260,0xff837260,0xff837260,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xffaa9279,0xffaa9279,0xffaa9279,0xffaa9279,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xffaa9279,0xffaa9279,0xffaa9279,0xffaa9279,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xffaa9279,0xffaa9279,0xffaa9279,0xffaa9279,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xffaa9279,0xffaa9279,0xffaa9279,0xffaa9279,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xff837260,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xffffffff,0xffffffff,0xffffffff,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffffffff,0xffffffff,0xffffffff,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xffffffff,0xffffffff,0xffffffff,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffffffff,0xffffffff,0xffffffff,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xffffffff,0xffffffff,0xffffffff,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffffffff,0xffffffff,0xffffffff,0xfff1e9e0,0xfff1e9e0,0xfff1e9e0,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffc3ac94,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffd5bca2,0xffc3ac94,0xffc3ac94,0xffc3ac94}},
|
||||
{"minecraft:vindicator", {0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xffa0a095,0xffa0a095,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xffa0a095,0xffa0a095,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff9b9b95,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff393939,0xff393939,0xff393939,0xff393939,0xff898984,0xff898984,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff898984,0xff898984,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff393939,0xff898984,0xff898984,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff898984,0xff898984,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff393939,0xff393939,0xff393939,0xff393939,0xff999993,0xff999993,0xff999993,0xff999993,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff252525,0xff252525,0xff393939,0xff393939,0xff393939,0xff393939,0xff999993,0xff999993,0xff999993,0xff999993,0xff393939,0xff393939,0xff393939,0xff393939,0xff252525,0xff252525,0xff93938e,0xff93938e,0xffffffff,0xffffffff,0xff665532,0xff665532,0xff93938e,0xff93938e,0xff93938e,0xff93938e,0xff665532,0xff665532,0xffffffff,0xffffffff,0xff93938e,0xff93938e,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff969690,0xff969690,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff969690,0xff969690,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff999993,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff797973,0xff797973,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff797973,0xff797973,0xff6e6e68,0xff6e6e68,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff6e6e68,0xff6e6e68,0xff6e6e68,0xff6e6e68,0xff8e8e88,0xff8e8e88,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff585852,0xff8e8e88,0xff8e8e88,0xff6e6e68,0xff6e6e68}},
|
||||
{"minecraft:wandering_trader", {0xff6c452c,0xff6c452c,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff6c452c,0xff6c452c,0xff6c452c,0xff6c452c,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff825437,0xff6c452c,0xff6c452c,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff6c452c,0xff6c452c,0xff6c452c,0xff6c452c,0xff6c452c,0xff6c452c,0xff6c452c,0xff6c452c,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff5e3924,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff001281,0xff001281,0xff001281,0xff001281,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff001281,0xff001281,0xff001281,0xff001281,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff687ab0,0xff687ab0,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xffffffff,0xffffffff,0xff119600,0xff119600,0xff728bbd,0xff728bbd,0xff687ab0,0xff687ab0,0xff119600,0xff119600,0xffffffff,0xffffffff,0xff687ab0,0xff687ab0,0xff000e62,0xff000e62,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff687ab0,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff001281,0xff000e62,0xff000e62,0xff1e5fa4,0xff1e5fa4,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff1e5fa4,0xff1e5fa4,0xff1e5fa4,0xff1e5fa4,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff000e62,0xff1e5fa4,0xff1e5fa4}},
|
||||
{"minecraft:warden", {0xff504103,0xff6c5740,0xff504103,0xff504103,0xff504103,0xff504103,0xff504103,0xff504103,0xff504103,0xff574807,0xff574807,0xff504103,0xff574807,0xff574807,0xff504103,0xff574807,0xff504103,0xff372e06,0xff504103,0xff372e06,0xff372e06,0xff504103,0xff372e06,0xff372e06,0xff504103,0xff574807,0xff372e06,0xff372e06,0xff372e06,0xff372e06,0xff372e06,0xff504103,0xff2a210b,0xff504103,0xff372e06,0xff2a210b,0xff372e06,0xff2a210b,0xff2a210b,0xff2a210b,0xff2a210b,0xff2a210b,0xff2a210b,0xff2a210b,0xff2a210b,0xff504103,0xff2a210b,0xff2a210b,0xff372e06,0xff2a210b,0xff2a210b,0xff211b11,0xff2a210b,0xff211b11,0xff2a210b,0xff17120d,0xff2a210b,0xff2a210b,0xff211b11,0xff211b11,0xff211b11,0xff211b11,0xff211b11,0xff211b11,0xff17120d,0xff211b11,0xff1a1511,0xff372e06,0xff1a1511,0xff17120d,0xff211b11,0xff1a1511,0xff17120d,0xff211b11,0xff211b11,0xff17120d,0xff211b11,0xff1a1511,0xff17120d,0xff17120d,0xff211b11,0xff1a1511,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff372e06,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff1a1511,0xff211b11,0xff372e06,0xff372e06,0xff372e06,0xff372e06,0xff211b11,0xff1a1511,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff372e06,0xff372e06,0xff372e06,0xff504103,0xff504103,0xff372e06,0xff372e06,0xff372e06,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff372e06,0xff17120d,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff17120d,0xff372e06,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff17120d,0xff372e06,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff120405,0xff372e06,0xff17120d,0xff17120d,0xff211b11,0xff17120d,0xff211b11,0xff120405,0xff120405,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff120405,0xff120405,0xff211b11,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff120405,0xff120405,0xff17120d,0xff17120d,0xff211b11,0xff211b11,0xff211b11,0xff211b11,0xff17120d,0xff17120d,0xff120405,0xff120405,0xff211b11,0xff17120d,0xff17120d,0xff211b11,0xff2a210b,0xff17120d,0xff17120d,0xff504103,0xff504103,0xff504103,0xff372e06,0xff504103,0xff372e06,0xff17120d,0xff17120d,0xff2a210b,0xff211b11,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff2a210b,0xff372e06,0xff2a210b,0xff211b11,0xff211b11,0xff211b11,0xff211b11,0xff2a210b,0xff372e06,0xff372e06,0xff211b11,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff211b11,0xff211b11,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff211b11,0xff211b11,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff17120d,0xff211b11,0xff17120d,0xff17120d,0xff17120d}},
|
||||
{"minecraft:witch", {0xff8d9fab,0xff8d9fab,0xff889aa6,0xff889aa6,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff889aa6,0xff889aa6,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8394a3,0xff8394a3,0xff889aa6,0xff889aa6,0xff889aa6,0xff889aa6,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8394a3,0xff8394a3,0xff889aa6,0xff889aa6,0xff8394a3,0xff8394a3,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8394a3,0xff8394a3,0xff889aa6,0xff889aa6,0xff8394a3,0xff8394a3,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff889aa6,0xff889aa6,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8d9fab,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8d9fab,0xff8d9fab,0xff889aa6,0xff889aa6,0xff8d9fab,0xff8d9fab,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff8d9fab,0xff8d9fab,0xff889aa6,0xff889aa6,0xff8394a3,0xff8394a3,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff889aa6,0xff889aa6,0xff8394a3,0xff8394a3,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff18292c,0xff889aa6,0xff889aa6,0xff8d9fab,0xff8d9fab,0xffffffff,0xffffffff,0xff705e7a,0xff705e7a,0xff8394a3,0xff8394a3,0xff8394a3,0xff8394a3,0xff705e7a,0xff705e7a,0xffffffff,0xffffffff,0xff8d9fab,0xff8d9fab,0xff5e7280,0xff5e7280,0xff8092a0,0xff8092a0,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff8092a0,0xff8092a0,0xff5e7280,0xff5e7280,0xff5e7280,0xff5e7280,0xff8092a0,0xff8092a0,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff899dab,0xff8092a0,0xff8092a0,0xff5e7280,0xff5e7280,0xff5e7280,0xff5e7280,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff4c5968,0xff4c5968,0xff4c5968,0xff4c5968,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff5e7280,0xff5e7280,0xff5e7280,0xff5e7280,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff5e7280,0xff5e7280,0xff5e7280,0xff5e7280,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff8092a0,0xff5e7280,0xff5e7280}},
|
||||
{"minecraft:wither", {0xff343434,0xff343434,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff343434,0xff343434,0xff535351,0xff535351,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff292929,0xff292929,0xff292929,0xff292929,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff343434,0xff343434,0xff535351,0xff535351,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff292929,0xff292929,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff151515,0xff535351,0xff535351,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xff41413c,0xff41413c,0xff535351,0xff535351,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xff343434,0xff343434,0xff535351,0xff535351,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xff41413c,0xff41413c,0xff535351,0xff535351,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff151515,0xff151515,0xff1b1b1b,0xff1b1b1b,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xff1b1b1b,0xff1b1b1b,0xff151515,0xff151515,0xff151515,0xff151515,0xff1b1b1b,0xff1b1b1b,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xffa5a5a5,0xff1b1b1b,0xff1b1b1b,0xff151515,0xff151515,0xff1f1f1f,0xff1f1f1f,0xff151515,0xff151515,0xff151515,0xff151515,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1f1f1f,0xff1f1f1f,0xff1b1b1b,0xff1b1b1b,0xff1f1f1f,0xff1f1f1f,0xff151515,0xff151515,0xff151515,0xff151515,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1b1b1b,0xff1f1f1f,0xff1f1f1f,0xff1b1b1b,0xff1b1b1b}},
|
||||
{"minecraft:wither_skeleton", {0xff343434,0xff343434,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff4d4d4b,0xff4d4d4b,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff41413c,0xff41413c,0xff4d4d4b,0xff4d4d4b,0xff343434,0xff343434,0xff000000,0xff000000,0xff000000,0xff000000,0xff343434,0xff343434,0xff343434,0xff343434,0xff000000,0xff000000,0xff000000,0xff000000,0xff343434,0xff343434,0xff343434,0xff343434,0xff000000,0xff000000,0xff000000,0xff000000,0xff343434,0xff343434,0xff343434,0xff343434,0xff000000,0xff000000,0xff000000,0xff000000,0xff343434,0xff343434,0xff4d4d4b,0xff4d4d4b,0xff4d4d4b,0xff4d4d4b,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff41413c,0xff41413c,0xff4d4d4b,0xff4d4d4b,0xff4d4d4b,0xff4d4d4b,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff41413c,0xff41413c,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff1f1f1f,0xff1f1f1f,0xff292929,0xff292929,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff000000,0xff1f1f1f,0xff1f1f1f,0xff292929,0xff292929,0xff41413c,0xff41413c,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff535351,0xff535351,0xff41413c,0xff41413c,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff41413c,0xff41413c,0xff535351,0xff535351,0xff535351,0xff535351}},
|
||||
{"minecraft:wither_skull", {0xff343434,0xff343434,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff8a8a6b,0xff8a8a6b,0xff7a7a65,0xff7a7a65,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff7a7a65,0xff7a7a65,0xff8a8a6b,0xff8a8a6b,0xff7a7a65,0xff7a7a65,0xff343434,0xff343434,0xff1f1f1f,0xff1f1f1f,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff7a7a65,0xff7a7a65,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff7a7a65,0xff7a7a65,0xff7a7a65,0xff7a7a65,0xff8e8e77,0xff8e8e77,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff343434,0xff7a7a65,0xff7a7a65,0xff7a7a65,0xff7a7a65,0xff8e8e77,0xff8e8e77,0xff343434,0xff343434,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff343434,0xff343434,0xff343434,0xff343434,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff343434,0xff343434,0xff343434,0xff343434,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff343434,0xff343434,0xff343434,0xff343434,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff343434,0xff343434,0xff8a8a6b,0xff8a8a6b,0xff8a8a6b,0xff8a8a6b,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff7a7a65,0xff7a7a65,0xff8a8a6b,0xff8a8a6b,0xff8a8a6b,0xff8a8a6b,0xff343434,0xff343434,0xff292929,0xff292929,0xff343434,0xff343434,0xff343434,0xff343434,0xff292929,0xff292929,0xff7a7a65,0xff7a7a65,0xff171717,0xff171717,0xff1b1b1b,0xff1b1b1b,0xffc1c1c1,0xffc1c1c1,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffc1c1c1,0xffc1c1c1,0xff1b1b1b,0xff1b1b1b,0xff171717,0xff171717,0xff171717,0xff171717,0xff1b1b1b,0xff1b1b1b,0xffc1c1c1,0xffc1c1c1,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffc1c1c1,0xffc1c1c1,0xff1b1b1b,0xff1b1b1b,0xff171717,0xff171717,0xff7a7a65,0xff7a7a65,0xff343434,0xff343434,0xffe7e7e7,0xffe7e7e7,0xffc1c1c1,0xffc1c1c1,0xffc1c1c1,0xffc1c1c1,0xffe7e7e7,0xffe7e7e7,0xff7a7a65,0xff7a7a65,0xff8a8a6b,0xff8a8a6b,0xff7a7a65,0xff7a7a65,0xff343434,0xff343434,0xffe7e7e7,0xffe7e7e7,0xffc1c1c1,0xffc1c1c1,0xffc1c1c1,0xffc1c1c1,0xffe7e7e7,0xffe7e7e7,0xff7a7a65,0xff7a7a65,0xff8a8a6b,0xff8a8a6b}},
|
||||
{"minecraft:wither_skull_dangerous", {0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xff896240,0xff896240,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xff896240,0xff896240,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xff896240,0xff896240,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xff896240,0xff896240,0xffb07f56,0xffb07f56,0xffe9b88f,0xffe9b88f,0xffdca679,0xffdca679,0xffb07f56,0xffb07f56,0xff896240,0xff896240,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffdca679,0xffdca679,0xffe9b88f,0xffe9b88f,0xffdca679,0xffdca679,0xffb07f56,0xffb07f56,0xff896240,0xff896240,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffdca679,0xffdca679,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffdca679,0xffdca679,0xffdca679,0xffdca679,0xfff6caa6,0xfff6caa6,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffdca679,0xffdca679,0xffdca679,0xffdca679,0xfff6caa6,0xfff6caa6,0xffb07f56,0xffb07f56,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffb07f56,0xffb07f56,0xffe9b88f,0xffe9b88f,0xffe9b88f,0xffe9b88f,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffdca679,0xffdca679,0xffe9b88f,0xffe9b88f,0xffe9b88f,0xffe9b88f,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffb07f56,0xffb07f56,0xffb07f56,0xffb07f56,0xffa0724d,0xffa0724d,0xffdca679,0xffdca679,0xff67462b,0xff67462b,0xff725033,0xff725033,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff725033,0xff725033,0xff67462b,0xff67462b,0xff67462b,0xff67462b,0xff725033,0xff725033,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xff725033,0xff725033,0xff67462b,0xff67462b,0xffdca679,0xffdca679,0xffb07f56,0xffb07f56,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffdca679,0xffdca679,0xffe9b88f,0xffe9b88f,0xffdca679,0xffdca679,0xffb07f56,0xffb07f56,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffdca679,0xffdca679,0xffe9b88f,0xffe9b88f}},
|
||||
{"minecraft:wolf", {0xffbebec1,0xffbebec1,0xffbebec1,0xffcfcfd3,0xffcfcfd3,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffcfcfd3,0xffcfcfd3,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffcfcfd3,0xffcfcfd3,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffcfcfd3,0xffcfcfd3,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffcfcfd3,0xffcfcfd3,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffdbdadd,0xffcfcfd3,0xffcfcfd3,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffbebec1,0xffbebec1,0xffc8c7ca,0xffc8c7ca,0xffc8c7ca,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffbebec1,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffbebec1,0xffbebec1,0xffc8c7ca,0xffc8c7ca,0xffc8c7ca,0xffffffff,0xffffffff,0xffffffff,0xff161412,0xff161412,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff161412,0xff161412,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xff161412,0xff161412,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff161412,0xff161412,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xff161412,0xff161412,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff161412,0xff161412,0xffffffff,0xffffffff,0xffffffff,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff526f8c,0xff526f8c,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff526f8c,0xff526f8c,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff526f8c,0xff526f8c,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff526f8c,0xff526f8c,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff526f8c,0xff526f8c,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff526f8c,0xff526f8c,0xff7e8fa7,0xff7e8fa7,0xff7e8fa7,0xff526f8c,0xff526f8c,0xff526f8c,0xff888c9a,0xff888c9a,0xff798695,0xff798695,0xff798695,0xff798695,0xff798695,0xff798695,0xff888c9a,0xff888c9a,0xff526f8c,0xff526f8c,0xff526f8c,0xff526f8c,0xff526f8c,0xff526f8c,0xff888c9a,0xff888c9a,0xff798695,0xff798695,0xff798695,0xff798695,0xff798695,0xff798695,0xff888c9a,0xff888c9a,0xff526f8c,0xff526f8c,0xff526f8c,0xff888c9a,0xff888c9a,0xff888c9a,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xff888c9a,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xffcfcfd3,0xff888c9a,0xff888c9a,0xff888c9a}},
|
||||
{"minecraft:zoglin", {0xffbcbcbc,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xff246254,0xff8990e9,0xff8990e9,0xff777fdf,0xff777fdf,0xff777fdf,0xff777fdf,0xff8990e9,0xff999aea,0xffbcbcbc,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xff246254,0xff8990e9,0xff8990e9,0xff777fdf,0xff777fdf,0xff777fdf,0xff777fdf,0xff8990e9,0xff999aea,0xffbcbcbc,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xff246254,0xff8990e9,0xff8990e9,0xff777fdf,0xff777fdf,0xff777fdf,0xff777fdf,0xff8990e9,0xff999aea,0xffadabad,0xffadabad,0xff979797,0xff979797,0xff979797,0xffadabad,0xff246254,0xff6784b5,0xff999aea,0xff777fdf,0xff5558be,0xff5558be,0xff5558be,0xff5558be,0xff777fdf,0xff999aea,0xffadabad,0xffadabad,0xff979797,0xff979797,0xff979797,0xffadabad,0xff246254,0xff6784b5,0xff999aea,0xff777fdf,0xff5558be,0xff5558be,0xff5558be,0xff5558be,0xff777fdf,0xff999aea,0xffadabad,0xff979797,0xff3c3c42,0xff3c3c42,0xff3c3c42,0xffbcbcbc,0xff246254,0xff999aea,0xff999aea,0xff777fdf,0xff5558be,0xff5558be,0xff5558be,0xff6362cf,0xff8990e9,0xff8990e9,0xffadabad,0xff979797,0xff3c3c42,0xff3c3c42,0xff3c3c42,0xffbcbcbc,0xff246254,0xff999aea,0xff999aea,0xff777fdf,0xff5558be,0xff5558be,0xff5558be,0xff6362cf,0xff8990e9,0xff8990e9,0xffadabad,0xff979797,0xff3c3c42,0xff3c3c42,0xff3c3c42,0xffbcbcbc,0xff246254,0xff999aea,0xff999aea,0xff777fdf,0xff5558be,0xff5558be,0xff5558be,0xff6362cf,0xff8990e9,0xff8990e9,0xffc9c9cb,0xffc9c9cb,0xff3c3c42,0xff3c3c42,0xff3c3c42,0xffbcbcbc,0xff246254,0xff8990e9,0xff8990e9,0xff777fdf,0xff6362cf,0xff6362cf,0xff6362cf,0xff6362cf,0xff8990e9,0xff8990e9,0xffc9c9cb,0xffc9c9cb,0xff3c3c42,0xff3c3c42,0xff3c3c42,0xffbcbcbc,0xff246254,0xff8990e9,0xff8990e9,0xff777fdf,0xff6362cf,0xff6362cf,0xff6362cf,0xff6362cf,0xff8990e9,0xff8990e9,0xffc9c9cb,0xffc9c9cb,0xff3c3c42,0xff3c3c42,0xff3c3c42,0xffbcbcbc,0xff246254,0xff8990e9,0xff8990e9,0xff777fdf,0xff6362cf,0xff6362cf,0xff6362cf,0xff6362cf,0xff8990e9,0xff8990e9,0xffbcbcbc,0xffc9c9cb,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffadabad,0xff246254,0xff777fdf,0xff777fdf,0xff6b71df,0xff999aea,0xff999aea,0xff999aea,0xff999aea,0xff8990e9,0xff6b71df,0xffbcbcbc,0xffc9c9cb,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffadabad,0xff246254,0xff777fdf,0xff777fdf,0xff6b71df,0xff999aea,0xff999aea,0xff999aea,0xff999aea,0xff8990e9,0xff6b71df,0xffbcbcbc,0xffbcbcbc,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff246254,0xff6784b5,0xff6b71df,0xff6b71df,0xff6b71df,0xff6362cf,0xff6362cf,0xff6362cf,0xff6b71df,0xff6b71df,0xff6362cf,0xffbcbcbc,0xffbcbcbc,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff246254,0xff6784b5,0xff6b71df,0xff6b71df,0xff6b71df,0xff6362cf,0xff6362cf,0xff6362cf,0xff6b71df,0xff6b71df,0xff6362cf,0xffbcbcbc,0xffbcbcbc,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff246254,0xff6784b5,0xff6b71df,0xff6b71df,0xff6b71df,0xff6362cf,0xff6362cf,0xff6362cf,0xff6b71df,0xff6b71df,0xff6362cf}},
|
||||
{"minecraft:zombie", {0xff2d693e,0xff2d693e,0xff2d693e,0xff2d693e,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff357149,0xff357149,0xff2d693e,0xff2d693e,0xff2d693e,0xff2d693e,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff357149,0xff357149,0xff2d693e,0xff2d693e,0xff2f623b,0xff2f623b,0xff357149,0xff357149,0xff568769,0xff568769,0xff568769,0xff568769,0xff357149,0xff357149,0xff2f623b,0xff2f623b,0xff2d693e,0xff2d693e,0xff2d693e,0xff2d693e,0xff2f623b,0xff2f623b,0xff357149,0xff357149,0xff568769,0xff568769,0xff568769,0xff568769,0xff357149,0xff357149,0xff2f623b,0xff2f623b,0xff2d693e,0xff2d693e,0xff367b4e,0xff367b4e,0xff569067,0xff569067,0xff5b956d,0xff5b956d,0xff659c79,0xff659c79,0xff5b9571,0xff5b9571,0xff5c956f,0xff5c956f,0xff569067,0xff569067,0xff357149,0xff357149,0xff367b4e,0xff367b4e,0xff569067,0xff569067,0xff5b956d,0xff5b956d,0xff659c79,0xff659c79,0xff5b9571,0xff5b9571,0xff5c956f,0xff5c956f,0xff569067,0xff569067,0xff357149,0xff357149,0xff568769,0xff568769,0xff487b5a,0xff487b5a,0xff5b9571,0xff5b9571,0xff5b9571,0xff5b9571,0xff5b9571,0xff5b9571,0xff568769,0xff568769,0xff487b5a,0xff487b5a,0xff568769,0xff568769,0xff568769,0xff568769,0xff487b5a,0xff487b5a,0xff5b9571,0xff5b9571,0xff5b9571,0xff5b9571,0xff5b9571,0xff5b9571,0xff568769,0xff568769,0xff487b5a,0xff487b5a,0xff568769,0xff568769,0xff487b5a,0xff487b5a,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff5b9571,0xff5b9571,0xff568769,0xff568769,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff487b5a,0xff487b5a,0xff487b5a,0xff487b5a,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff5b9571,0xff5b9571,0xff568769,0xff568769,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff1a1a1a,0xff487b5a,0xff487b5a,0xff367b4e,0xff367b4e,0xff568769,0xff568769,0xff568769,0xff568769,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff568769,0xff568769,0xff568769,0xff568769,0xff367b4e,0xff367b4e,0xff367b4e,0xff367b4e,0xff568769,0xff568769,0xff568769,0xff568769,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff568769,0xff568769,0xff568769,0xff568769,0xff367b4e,0xff367b4e,0xff2d693e,0xff2d693e,0xff327548,0xff327548,0xff2f623b,0xff2f623b,0xff2d694a,0xff2d694a,0xff2d694a,0xff2d694a,0xff2f623b,0xff2f623b,0xff327548,0xff327548,0xff2d693e,0xff2d693e,0xff2d693e,0xff2d693e,0xff327548,0xff327548,0xff2f623b,0xff2f623b,0xff2d694a,0xff2d694a,0xff2d694a,0xff2d694a,0xff2f623b,0xff2f623b,0xff327548,0xff327548,0xff2d693e,0xff2d693e,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff265238,0xff265238,0xff265238,0xff265238,0xff2f623b,0xff2f623b,0xff265238,0xff265238,0xff2d693e,0xff2d693e,0xff2d693e,0xff2d693e,0xff2f623b,0xff2f623b,0xff2f623b,0xff2f623b,0xff265238,0xff265238,0xff265238,0xff265238,0xff2f623b,0xff2f623b,0xff265238,0xff265238,0xff2d693e,0xff2d693e,0xff2d693e,0xff2d693e}},
|
||||
{"minecraft:zombie_nautilus", {0xff73959a,0xff84a6a7,0xff73959a,0xff73959a,0xff73959a,0xffaac6c5,0xff0d9e7c,0xff9ab9b8,0xffaac6c5,0xffaac6c5,0xff22b39a,0xff0d9e7c,0xff0d9e7c,0xff0d9e7c,0xffaac6c5,0xffaac6c5,0xff73959a,0xff84a6a7,0xff73959a,0xff73959a,0xff73959a,0xffaac6c5,0xff0d9e7c,0xff9ab9b8,0xffaac6c5,0xffaac6c5,0xff22b39a,0xff0d9e7c,0xff0d9e7c,0xff0d9e7c,0xffaac6c5,0xffaac6c5,0xff496c77,0xff73959a,0xffd1e9e4,0xffaac6c5,0xffaac6c5,0xff0d9e7c,0xff0d9e7c,0xff22b39a,0xff0d9e7c,0xff22b39a,0xff22b39a,0xff22b39a,0xff22b39a,0xff009432,0xff009432,0xffbfdad9,0xff496c77,0xffc7e0dd,0xffd1e9e4,0xffc7e0dd,0xffc7e0dd,0xffd1e9e4,0xff28802b,0xff28802b,0xff0d9e7c,0xff0d9e7c,0xff009432,0xff009432,0xff009432,0xffbfdad9,0xffd1e9e4,0xffd1e9e4,0xff496c77,0xffc7e0dd,0xffd1e9e4,0xffc7e0dd,0xffc7e0dd,0xffd1e9e4,0xff28802b,0xff28802b,0xff0d9e7c,0xff0d9e7c,0xff009432,0xff009432,0xff009432,0xffbfdad9,0xffd1e9e4,0xffd1e9e4,0xff335661,0xffbfdad9,0xff9ab9b8,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff009432,0xff556922,0xff84a6a7,0xff5b7f89,0xff5b7f89,0xff5b7f89,0xff73959a,0xff9ab9b8,0xff73959a,0xffaac6c5,0xffaac6c5,0xff9ab9b8,0xff9ab9b8,0xffaac6c5,0xffaac6c5,0xff9ab9b8,0xff556922,0xff009432,0xff0d9e7c,0xff0d9e7c,0xff0d9e7c,0xff73959a,0xffaac6c5,0xffbfdad9,0xff73959a,0xffaac6c5,0xffaac6c5,0xff9ab9b8,0xff9ab9b8,0xffaac6c5,0xffaac6c5,0xff9ab9b8,0xff556922,0xff009432,0xff0d9e7c,0xff0d9e7c,0xff0d9e7c,0xff73959a,0xffaac6c5,0xffbfdad9,0xffaac6c5,0xffaac6c5,0xffaac6c5,0xff5b7f89,0xff5b7f89,0xffaac6c5,0xffaac6c5,0xff9ab9b8,0xffaac6c5,0xff556922,0xff009432,0xff5b7f89,0xff5b7f89,0xff5b7f89,0xff9ab9b8,0xffaac6c5,0xffaac6c5,0xffaac6c5,0xffaac6c5,0xff5b7f89,0xff5b7f89,0xffaac6c5,0xffaac6c5,0xff9ab9b8,0xffaac6c5,0xff556922,0xff009432,0xff5b7f89,0xff5b7f89,0xff5b7f89,0xff9ab9b8,0xffaac6c5,0xffaac6c5,0xffaac6c5,0xffbfdad9,0xff5b7f89,0xff5b7f89,0xff84a6a7,0xffd1e9e4,0xffc7e0dd,0xffd1e9e4,0xffd1e9e4,0xffd1e9e4,0xff9ab9b8,0xff9ab9b8,0xff73959a,0xff5b7f89,0xffaac6c5,0xffbfdad9,0xffd1e9e4,0xffd1e9e4,0xff335661,0xff335661,0xff496c77,0xff5b7f89,0xff84a6a7,0xff84a6a7,0xffd1e9e4,0xffd1e9e4,0xffaac6c5,0xffaac6c5,0xffd1e9e4,0xff73959a,0xffbfdad9,0xffbfdad9,0xffd1e9e4,0xffd1e9e4,0xff335661,0xff335661,0xff496c77,0xff5b7f89,0xff84a6a7,0xff84a6a7,0xffd1e9e4,0xffd1e9e4,0xffaac6c5,0xffaac6c5,0xffd1e9e4,0xff73959a,0xffbfdad9,0xffbfdad9,0xff73959a,0xff335661,0xff5b7f89,0xff5b7f89,0xffaac6c5,0xffaac6c5,0xffc7e0dd,0xffd1e9e4,0xffd1e9e4,0xffd1e9e4,0xffc7e0dd,0xffc7e0dd,0xffd1e9e4,0xffaac6c5,0xffbfdad9,0xffbfdad9,0xff9ab9b8,0xff496c77,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff9ab9b8,0xff9ab9b8,0xffbfdad9,0xffbfdad9,0xff9ab9b8,0xff496c77,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff84a6a7,0xff9ab9b8,0xff9ab9b8,0xffbfdad9}},
|
||||
{"minecraft:zombie_pigman", {0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffadabad,0xff327b61,0xff327b61,0xff246254,0xff246254,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff7379e6,0xff7379e6,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffadabad,0xff327b61,0xff327b61,0xff246254,0xff246254,0xff989ef1,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff7379e6,0xff7379e6,0xffc9c9cb,0xffc9c9cb,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xff458e69,0xff458e69,0xff246254,0xff246254,0xff6a68e4,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffc9c9cb,0xffc9c9cb,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xffd3d3d3,0xff458e69,0xff458e69,0xff246254,0xff246254,0xff6a68e4,0xffa4a5ee,0xffa4a5ee,0xffa4a5ee,0xff989ef1,0xff989ef1,0xffd3d3d3,0xffd3d3d3,0xffadabad,0xffadabad,0xffadabad,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xff327b61,0xff327b61,0xff7379e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff989ef1,0xffd3d3d3,0xffd3d3d3,0xffadabad,0xffadabad,0xffadabad,0xffbcbcbc,0xffd3d3d3,0xffd3d3d3,0xff327b61,0xff327b61,0xff7379e6,0xff8b91e6,0xff8b91e6,0xff989ef1,0xff989ef1,0xff989ef1,0xffd3d3d3,0xffd3d3d3,0xff4e4e52,0xff3c3c42,0xff3c3c42,0xffc9c9cb,0xff246254,0xff246254,0xff6784b5,0xff6784b5,0xff8b91e6,0xfff6f2ff,0xfff6f2ff,0xff989ef1,0xff989ef1,0xff989ef1,0xffd3d3d3,0xffd3d3d3,0xff4e4e52,0xff3c3c42,0xff3c3c42,0xffc9c9cb,0xff246254,0xff246254,0xff6784b5,0xff6784b5,0xff8b91e6,0xfff6f2ff,0xfff6f2ff,0xff989ef1,0xff989ef1,0xff989ef1,0xffc9c9cb,0xffc9c9cb,0xff4e4e52,0xff4e4e52,0xff4e4e52,0xffbcbcbc,0xff458e69,0xff458e69,0xff6784b5,0xff6784b5,0xff7379e6,0xff8b91e6,0xff8b91e6,0xff327b61,0xff8b91e6,0xff8b91e6,0xffc9c9cb,0xffc9c9cb,0xff4e4e52,0xff4e4e52,0xff4e4e52,0xffbcbcbc,0xff458e69,0xff458e69,0xff6784b5,0xff6784b5,0xff7379e6,0xff8b91e6,0xff8b91e6,0xff327b61,0xff8b91e6,0xff8b91e6,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff8e8d8e,0xff8e8d8e,0xff3c3c42,0xff458e69,0xff458e69,0xff327b61,0xff327b61,0xff6784b5,0xff7379e6,0xff7379e6,0xff6784b5,0xff246254,0xff246254,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff8e8d8e,0xff8e8d8e,0xff3c3c42,0xff458e69,0xff458e69,0xff327b61,0xff327b61,0xff6784b5,0xff7379e6,0xff7379e6,0xff6784b5,0xff246254,0xff246254,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff8e8d8e,0xff8e8d8e,0xff4e4e52,0xff979797,0xff979797,0xff327b61,0xff327b61,0xff246254,0xff6784b5,0xff6784b5,0xff246254,0xff327b61,0xff327b61,0xffc9c9cb,0xffc9c9cb,0xffc9c9cb,0xff8e8d8e,0xff8e8d8e,0xff4e4e52,0xff979797,0xff979797,0xff327b61,0xff327b61,0xff246254,0xff6784b5,0xff6784b5,0xff246254,0xff327b61,0xff327b61,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xff979797,0xff979797,0xff979797,0xff979797,0xff458e69,0xff246254,0xff246254,0xff327b61,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xffadabad,0xff979797,0xff979797,0xff979797,0xff979797,0xff458e69,0xff246254,0xff246254,0xff327b61,0xffadabad,0xffadabad}},
|
||||
{"minecraft:zombie_villager_v2", {0xff377f5f,0xff377f5f,0xff47a077,0xff47a077,0xff3f8a66,0xff3f8a66,0xff43926c,0xff43926c,0xff47a077,0xff47a077,0xff43926c,0xff43926c,0xff5baa88,0xff5baa88,0xff47a077,0xff47a077,0xff377f5f,0xff377f5f,0xff47a077,0xff47a077,0xff3f8a66,0xff3f8a66,0xff43926c,0xff43926c,0xff47a077,0xff47a077,0xff43926c,0xff43926c,0xff5baa88,0xff5baa88,0xff47a077,0xff47a077,0xff357355,0xff357355,0xff3f8a66,0xff3f8a66,0xff3f8a66,0xff3f8a66,0xff47a077,0xff47a077,0xff47a077,0xff47a077,0xff3f8a66,0xff3f8a66,0xff47a077,0xff47a077,0xff3f8a66,0xff3f8a66,0xff357355,0xff357355,0xff3f8a66,0xff3f8a66,0xff377f5f,0xff377f5f,0xff43926c,0xff43926c,0xff518472,0xff518472,0xff45755e,0xff45755e,0xff47a077,0xff47a077,0xff357355,0xff357355,0xff357355,0xff357355,0xff3f8a66,0xff3f8a66,0xff377f5f,0xff377f5f,0xff43926c,0xff43926c,0xff518472,0xff518472,0xff45755e,0xff45755e,0xff47a077,0xff47a077,0xff357355,0xff357355,0xff306b4e,0xff306b4e,0xff3f8a66,0xff3f8a66,0xff3f8a66,0xff3f8a66,0xff377f5f,0xff377f5f,0xff45755e,0xff45755e,0xff518472,0xff518472,0xff5baa88,0xff5baa88,0xff306b4e,0xff306b4e,0xff285941,0xff285941,0xff518472,0xff518472,0xff4f9276,0xff4f9276,0xff3f8a66,0xff3f8a66,0xff47a077,0xff47a077,0xff5baa88,0xff5baa88,0xff4f9276,0xff4f9276,0xff285941,0xff285941,0xff285941,0xff285941,0xff518472,0xff518472,0xff4f9276,0xff4f9276,0xff3f8a66,0xff3f8a66,0xff47a077,0xff47a077,0xff5baa88,0xff5baa88,0xff4f9276,0xff4f9276,0xff285941,0xff285941,0xff285941,0xff285941,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff285941,0xff285941,0xff285941,0xff285941,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff112433,0xff285941,0xff285941,0xff377f5f,0xff377f5f,0xffffffff,0xffffffff,0xff2b2b99,0xff2b2b99,0xff306b4e,0xff306b4e,0xff306b4e,0xff306b4e,0xff2b2b99,0xff2b2b99,0xffffffff,0xffffffff,0xff377f5f,0xff377f5f,0xff253d31,0xff253d31,0xff306b4e,0xff306b4e,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff306b4e,0xff306b4e,0xff253d31,0xff253d31,0xff253d31,0xff253d31,0xff306b4e,0xff306b4e,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff306b4e,0xff306b4e,0xff253d31,0xff253d31,0xff253d31,0xff253d31,0xff285941,0xff285941,0xff1c3d2c,0xff1c3d2c,0xff1c3d2c,0xff1c3d2c,0xff1c3d2c,0xff1c3d2c,0xff1c3d2c,0xff1c3d2c,0xff285941,0xff285941,0xff253d31,0xff253d31,0xff253d31,0xff253d31,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff253d31,0xff253d31,0xff253d31,0xff253d31,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff285941,0xff253d31,0xff253d31}},
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
#pragma once
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <cstdint>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include "mob_portrait_data.h"
|
||||
|
||||
namespace target_portraits {
|
||||
// Small immutable images can safely travel with a published world snapshot.
|
||||
struct image {unsigned width=0;std::array<uint32_t,64*64> pixels{};};
|
||||
using picture=std::shared_ptr<const image>;
|
||||
inline picture mob(const std::string& identifier) {
|
||||
for(const auto& face:mob_faces)if(identifier==face.identifier) {
|
||||
auto result=std::make_shared<image>();result->width=16;
|
||||
std::copy(std::begin(face.pixels),std::end(face.pixels),result->pixels.begin());return result;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
template<class Reader> inline bool has_animated_face(uintptr_t address,Reader read) {
|
||||
// SerializedSkin resource patch is a game-layout string, independent of
|
||||
// the client's Debug/Release CRT string ABI.
|
||||
struct native_string {char data[16];uint64_t size,capacity;};
|
||||
native_string patch{};
|
||||
if(!read(address+0x60,&patch,sizeof(patch)) || !patch.size || patch.size>4096 || patch.capacity<patch.size)return false;
|
||||
uintptr_t source=address+0x60;
|
||||
if(patch.capacity>=16)memcpy(&source,patch.data,sizeof(source));
|
||||
std::string value(size_t(patch.size),'\0');
|
||||
return source && read(source,value.data(),value.size()) && value.find("\"animated_face\"")!=std::string::npos;
|
||||
}
|
||||
template<class Reader> inline picture animated_face(uintptr_t address,Reader read) {
|
||||
uintptr_t first=0,last=0;
|
||||
// 26.52 SerializedSkin animations: 64-byte records containing type,
|
||||
// frame count and an mce::Image at +8. Persona facial animation type 1
|
||||
// uses a separate head texture; the main skin image is a body atlas.
|
||||
if(!read(address+0x100,&first,8) || !read(address+0x108,&last,8) || !first ||
|
||||
last<first || last-first>64*128 || (last-first)%64)return {};
|
||||
for(auto at=first;at<last;at+=64) {
|
||||
struct header {uint32_t type,frames,format,width,height;};
|
||||
header h{};uintptr_t pixels=0;uint64_t bytes=0;
|
||||
if(!read(at,&h,sizeof(h)))return {};
|
||||
if(h.type!=1 || !h.frames || h.frames>128 || h.format!=4 || h.width<32 || h.width>256 ||
|
||||
(h.width&(h.width-1)) || h.height!=h.width*2)continue;
|
||||
if(!read(at+0x28,&pixels,8) || !read(at+0x30,&bytes,8) || !pixels || bytes!=uint64_t(h.width)*h.height*4)continue;
|
||||
// Animated head geometry uses the 32x64 layout: front UVs
|
||||
// [1/4,3/4]..[1/2,7/8] with bottom-origin V, i.e. pixels (8,8)..(16,16).
|
||||
auto result=std::make_shared<image>();const auto unit=h.width/4;
|
||||
result->width=(std::min)(unit,16u);std::array<uint32_t,64> row{};
|
||||
for(unsigned y=0;y<result->width;++y) {
|
||||
const auto source=pixels+((h.height/8+y*unit/result->width)*h.width+unit)*4;
|
||||
if(!read(source,row.data(),unit*4))return {};
|
||||
for(unsigned x=0;x<result->width;++x)result->pixels[y*result->width+x]=row[x*unit/result->width];
|
||||
}
|
||||
return result;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
template<class Reader> inline picture skin(uintptr_t address,Reader read) {
|
||||
// Character Creator faces may not exist anywhere in the body atlas.
|
||||
// If that separate texture is unavailable, leave the portrait empty
|
||||
// instead of presenting a body/limb crop as the player's face.
|
||||
if(has_animated_face(address,read))return animated_face(address,read);
|
||||
struct header {uint32_t format,width,height,reserved;};
|
||||
header h{};uintptr_t pixels=0;uint64_t bytes=0;
|
||||
if(!read(address+0xa0,&h,sizeof(h)) || h.format!=4 || h.width<64 || h.width>512 ||
|
||||
(h.width&(h.width-1)) || (h.height!=h.width && h.height!=h.width/2) ||
|
||||
!read(address+0xc0,&pixels,sizeof(pixels)) || !read(address+0xc8,&bytes,sizeof(bytes)) ||
|
||||
bytes!=uint64_t(h.width)*h.height*4 || !pixels)return {};
|
||||
auto result=std::make_shared<image>();const auto native_width=h.width/8;result->width=(std::min)(native_width,16u);
|
||||
std::array<uint32_t,64> base{},hat{};
|
||||
for(unsigned y=0;y<result->width;++y) {
|
||||
const auto row=pixels+((y*native_width/result->width+h.width/8)*h.width+h.width/8)*4;
|
||||
if(!read(row,base.data(),native_width*4) || !read(row+h.width/2*4,hat.data(),native_width*4))return {};
|
||||
for(unsigned x=0;x<result->width;++x) {
|
||||
const auto index=x*native_width/result->width;
|
||||
const unsigned alpha=hat[index]>>24;
|
||||
uint32_t rgba=0xff000000;
|
||||
for(unsigned shift=0;shift<24;shift+=8)
|
||||
rgba|=((((hat[index]>>shift)&255)*alpha+((base[index]>>shift)&255)*(255-alpha)+127)/255)<<shift;
|
||||
result->pixels[y*result->width+x]=rgba;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
#pragma once
|
||||
#include "../account/license.h"
|
||||
#include "theme.h"
|
||||
#include "fonts.h"
|
||||
|
||||
namespace account_ui {
|
||||
inline bool requested=false,dismissed=false;
|
||||
inline char address[513]="http://127.0.0.1:8787/api",username[25]{},password[513]{};
|
||||
inline bool configured=false,remember=false;
|
||||
inline void load_config() {
|
||||
if(configured)return;configured=true;
|
||||
wchar_t value[513]{};const auto file=licensing::config_path();
|
||||
GetPrivateProfileStringW(L"licensing",L"api",L"http://127.0.0.1:8787/api",value,DWORD(std::size(value)),file.c_str());
|
||||
const auto text=winrt::to_string(value);strncpy_s(address,text.c_str(),_TRUNCATE);
|
||||
licensing::saved_login::credentials saved;
|
||||
if(licensing::saved_login::load(saved)) {
|
||||
remember=true;strncpy_s(username,saved.username.c_str(),_TRUNCATE);
|
||||
// Never send a stored password to a newly configured server.
|
||||
if(saved.api==address)try {
|
||||
licensing::parse_endpoint(address);
|
||||
licensing::client().login(address,saved.username,saved.password,true);
|
||||
}catch(...){}
|
||||
}
|
||||
}
|
||||
inline void draw(bool authorized) {
|
||||
load_config();const auto account=licensing::client().latest();
|
||||
const auto screen=ImGui::GetIO().DisplaySize;
|
||||
if(!authorized)ImGui::GetBackgroundDrawList()->AddRectFilled({0,0},screen,theme::u32(theme::with_alpha(theme::bg(),220.f/255)));
|
||||
ImGui::SetNextWindowPos({screen.x*.5f,screen.y*.5f},ImGuiCond_Appearing,{.5f,.5f});
|
||||
ImGui::SetNextWindowSize({(std::min)(380.f,(std::max)(200.f,screen.x-20.f)),0},ImGuiCond_Always);
|
||||
bool open=true;
|
||||
const auto flags=ImGuiWindowFlags_NoResize|ImGuiWindowFlags_AlwaysAutoResize|ImGuiWindowFlags_NoSavedSettings;
|
||||
const auto title=authorized ? std::string("account###licensing"):std::string(theme::brand_name())+" / sign in###licensing";
|
||||
if(ImGui::Begin(title.c_str(),&open,flags)) {
|
||||
const float width=ImGui::GetContentRegionAvail().x;
|
||||
if(authorized) {
|
||||
ImGui::Text("account %s",account.username.c_str());
|
||||
ImGui::Text("uid %lld",static_cast<long long>(account.uid));
|
||||
ImGui::Text("license %s",account.label.c_str());
|
||||
ImGui::Text("expires %s%s",licensing::expiry_text(account.license_expiry).c_str(),account.license_expiry ? " utc":"");
|
||||
ImGui::TextColored(theme::muted(),"%s",account.reconnecting ? "reconnecting / session still valid":"connected / checked every 60s");
|
||||
ImGui::Separator();
|
||||
if(account.message!="license active")ImGui::TextWrapped("%s",account.message.c_str());
|
||||
if(remember && ImGui::Button("forget saved login",{width,0})){licensing::saved_login::forget();remember=false;}
|
||||
if(ImGui::Button("sign out",{width,0})){licensing::client().logout();remember=false;requested=false;dismissed=false;}
|
||||
}else {
|
||||
ImGui::TextUnformatted("sign in to load your client");
|
||||
ImGui::Spacing();ImGui::BeginDisabled(account.busy);
|
||||
ImGui::SetNextItemWidth(width);ImGui::InputTextWithHint("##account_name","account name",username,sizeof(username));
|
||||
ImGui::SetNextItemWidth(width);const bool submit=ImGui::InputTextWithHint("##account_password","password",password,sizeof(password),ImGuiInputTextFlags_Password|ImGuiInputTextFlags_EnterReturnsTrue);
|
||||
if(ImGui::Checkbox("remember login on this windows account",&remember) && !remember)licensing::saved_login::forget();
|
||||
if((ImGui::Button("sign in",{width,0}) || submit) && username[0] && password[0]) {
|
||||
try{licensing::parse_endpoint(address);WritePrivateProfileStringW(L"licensing",L"api",winrt::to_hstring(address).c_str(),licensing::config_path().c_str());}catch(...){}
|
||||
licensing::client().login(address,username,password,remember);
|
||||
SecureZeroMemory(password,sizeof(password));
|
||||
}
|
||||
ImGui::Spacing();
|
||||
if(ImGui::CollapsingHeader("connection")) {
|
||||
ImGui::TextUnformatted("licensing api");ImGui::SetNextItemWidth(width);
|
||||
if(ImGui::InputText("##licensing_api",address,sizeof(address),ImGuiInputTextFlags_EnterReturnsTrue)) {
|
||||
try{licensing::parse_endpoint(address);WritePrivateProfileStringW(L"licensing",L"api",winrt::to_hstring(address).c_str(),licensing::config_path().c_str());}catch(...){}
|
||||
}
|
||||
ImGui::TextWrapped("local: 127.0.0.1:8787/api / vps: https required");
|
||||
}
|
||||
ImGui::EndDisabled();
|
||||
ImGui::Spacing();ImGui::PushTextWrapPos(ImGui::GetCursorPosX()+width);
|
||||
ImGui::TextColored(theme::muted(),"%s",account.message.c_str());
|
||||
if(account.authenticated && !account.allowed())ImGui::TextUnformatted("session expired; sign in again");
|
||||
ImGui::TextColored(theme::dim(),"%s","saved logins use windows credential manager. sign out to forget this device's saved login.");
|
||||
ImGui::PopTextWrapPos();
|
||||
}
|
||||
}
|
||||
ImGui::End();
|
||||
if(!open){requested=false;dismissed=true;SecureZeroMemory(password,sizeof(password));}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,559 @@
|
||||
#pragma once
|
||||
#include <cfloat>
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include "imgui.h"
|
||||
#include "fonts.h"
|
||||
#include "theme.h"
|
||||
#include "widgets.h"
|
||||
#include "indent_section.h"
|
||||
#include "../input.h"
|
||||
#include "../modules/module_manager.h"
|
||||
#include "../config/profiles.h"
|
||||
#include "../config/theme_bootstrap.h"
|
||||
#include "theme_assets.h"
|
||||
#include "account_screen.h"
|
||||
|
||||
inline std::string key_name(int vk) {
|
||||
if (vk == 0) return "none";
|
||||
|
||||
LONG lparam = (LONG)(MapVirtualKeyA((UINT)vk, MAPVK_VK_TO_VSC) << 16);
|
||||
switch (vk) { // extended keys need bit 24 set to get the right name
|
||||
case VK_INSERT: case VK_DELETE: case VK_HOME: case VK_END:
|
||||
case VK_PRIOR: case VK_NEXT:
|
||||
case VK_LEFT: case VK_RIGHT: case VK_UP: case VK_DOWN:
|
||||
case VK_RCONTROL: case VK_RMENU:
|
||||
lparam |= (1 << 24);
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
char buf[64] = {};
|
||||
if (GetKeyNameTextA(lparam, buf, sizeof(buf)) > 0) return buf;
|
||||
return "Key " + std::to_string(vk);
|
||||
}
|
||||
|
||||
class clickgui {
|
||||
public:
|
||||
void open() { set_open(true); }
|
||||
void close(bool reset_bindings=true) { set_open(false,reset_bindings); }
|
||||
// after ImGui::CreateContext(), before the backends are initialized
|
||||
void init() {
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
io.IniFilename = nullptr; // never write imgui.ini into the game's folder
|
||||
// Minecraft owns the OS cursor. ImGui's WM_SETCURSOR handler must not
|
||||
// hide it on the window thread while our software cursor is visible.
|
||||
io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;
|
||||
io.LogFilename = nullptr;
|
||||
config::bootstrap_theme();fonts::load();
|
||||
theme::apply();
|
||||
}
|
||||
|
||||
// once per frame, after ImGui::NewFrame()
|
||||
void update() {
|
||||
const bool menu_down = is_key_down(k_menu_key);
|
||||
if (menu_down && !menu_key_was_down_) set_open(!g_menu_open);
|
||||
menu_key_was_down_ = menu_down;
|
||||
|
||||
const bool esc_down = is_key_down(VK_ESCAPE);
|
||||
if (esc_down && !esc_was_down_ && g_menu_open && !any_binding()) {
|
||||
if (editing_hud_) editing_hud_ = false;
|
||||
else set_open(false);
|
||||
}
|
||||
esc_was_down_ = esc_down;
|
||||
|
||||
update_menu_cursor();
|
||||
open_t_ = std::clamp(open_t_+(g_menu_open ? 1.f : -1.f)*ImGui::GetIO().DeltaTime*6.5f,0.f,1.f);
|
||||
}
|
||||
|
||||
// dim + wordmark; call BEFORE modules().render() so the HUD stays above the dimming
|
||||
void draw_backdrop() {
|
||||
if (open_t_ <= 0.01f) return;
|
||||
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
ImDrawList* dl = ImGui::GetBackgroundDrawList();
|
||||
const float a = open_t_;
|
||||
|
||||
dl->AddRectFilled(ImVec2(0.f, 0.f), io.DisplaySize,
|
||||
theme::u32(theme::with_alpha(theme::bg(), theme::current.backdrop * a)));
|
||||
|
||||
if(g_menu_open && editing_hud_ && hud_editor::options.snap && hud_editor::options.show_grid) {
|
||||
const float spacing=float(std::clamp(hud_editor::options.grid_size,4,64));
|
||||
const auto color=theme::u32(theme::with_alpha(theme::line(),.22f*a));
|
||||
for(float x=0;x<io.DisplaySize.x;x+=spacing)dl->AddLine({x,0},{x,io.DisplaySize.y},color);
|
||||
for(float y=0;y<io.DisplaySize.y;y+=spacing)dl->AddLine({0,y},{io.DisplaySize.x,y},color);
|
||||
}
|
||||
// title bar, like the launcher: cube + lowercase wordmark
|
||||
const ImVec2 logo_pos(26.f, 18.f);
|
||||
const float logo_h = 30.f;
|
||||
const float logo_w = theme::draw_logo(dl, logo_pos, logo_h, a);
|
||||
const ImVec2 ts = fonts::text_size(fonts::heading, fonts::k_heading_size, theme::brand_name());
|
||||
dl->AddText(fonts::heading, fonts::k_heading_size,
|
||||
ImVec2(floorf(logo_pos.x + logo_w + 12.f), floorf(logo_pos.y + (logo_h - ts.y) * 0.5f)),
|
||||
theme::u32(theme::with_alpha(theme::fg(), a)), theme::brand_name());
|
||||
|
||||
// footer, like the launcher's status strip
|
||||
dl->AddText(fonts::label, fonts::k_label_size,
|
||||
ImVec2(28.f, io.DisplaySize.y - 30.f),
|
||||
theme::u32(theme::with_alpha(theme::dim(), a)), (std::string(theme::brand_name())+" / v0.0.1").c_str());
|
||||
|
||||
const char* hint = editing_hud_
|
||||
? "select a hud to position or center it | drag to move | shift to bypass grid | esc to return"
|
||||
: "right click a module for settings | right shift or esc to close";
|
||||
const ImVec2 hs = fonts::text_size(fonts::body, fonts::k_body_size, hint);
|
||||
dl->AddText(fonts::body, fonts::k_body_size,
|
||||
ImVec2(floorf(io.DisplaySize.x - hs.x - 28.f), io.DisplaySize.y - 32.f),
|
||||
theme::u32(theme::with_alpha(theme::muted(), a)), hint);
|
||||
}
|
||||
|
||||
// Separate module and HUD editing screens share the same compact controls.
|
||||
void draw() {
|
||||
if (open_t_ <= 0.01f) return;
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_Alpha, open_t_);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(theme::current.padding_x, theme::current.padding_y));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(8.f, 3.f));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(6.f, theme::current.item_gap));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemInnerSpacing, ImVec2(6.f, theme::current.item_gap));
|
||||
|
||||
if (editing_hud_) {
|
||||
draw_hud_editor();
|
||||
draw_editor_toolbar();
|
||||
} else {
|
||||
draw_navigation();
|
||||
// The navigation button can change screens in this frame.
|
||||
if (!editing_hud_) {
|
||||
float x = 40.f;
|
||||
for (category cat : k_categories) {
|
||||
if (!has_modules(cat)) continue;
|
||||
draw_panel(cat, x);
|
||||
x += k_panel_w + 12.f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::PopStyleVar(5);
|
||||
}
|
||||
|
||||
private:
|
||||
static constexpr int k_menu_key = VK_RSHIFT;
|
||||
static constexpr float k_panel_w = 270.f;
|
||||
static constexpr float k_backdrop_alpha = 0.6f; // the launcher's overlay is 0.85; lower so you can see the game
|
||||
static constexpr category k_categories[] = { category::hud, category::visual, category::utility };
|
||||
|
||||
float open_t_ = 0.f;
|
||||
bool menu_key_was_down_ = false;
|
||||
bool esc_was_down_ = false;
|
||||
bool editing_hud_ = false;
|
||||
char profile_name_[49]{};
|
||||
hud_editor::drag hud_drag_;
|
||||
module* selected_hud_=nullptr;
|
||||
// An organizer entry, separate from toggleable gameplay modules and their
|
||||
// saved settings. Autosaving remains active even while this card is closed.
|
||||
class module profile_entry_{"profiles", "Switch, save and manage client profiles.", category::utility};
|
||||
|
||||
void draw_navigation() {
|
||||
ImGui::SetNextWindowPos(ImVec2(40.f, 56.f), ImGuiCond_Always);
|
||||
ImGui::SetNextWindowSize(ImVec2(0.f, 0.f), ImGuiCond_Always);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(8.f, 3.f));
|
||||
auto flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove |
|
||||
ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_AlwaysAutoResize;
|
||||
if (!g_menu_open) flags |= ImGuiWindowFlags_NoInputs;
|
||||
if (ImGui::Begin("##navigation", nullptr, flags)) {
|
||||
if(ImGui::Button("account"))account_ui::requested=true;
|
||||
ImGui::SameLine();
|
||||
if(ImGui::Button("hud editor")) {
|
||||
editing_hud_ = true;
|
||||
for (auto& m : modules().all()) {
|
||||
m->ui.binding = false;
|
||||
for (auto& s : m->settings()) s.binding = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui::End(); ImGui::PopStyleVar();
|
||||
}
|
||||
|
||||
void draw_profile_controls(float w) {
|
||||
ImGui::TextUnformatted("active profile");
|
||||
ImGui::SetNextItemWidth(w);
|
||||
if (widgets::begin_combo("##active", profiles().active().c_str(),w)) {
|
||||
if (ImGui::IsWindowAppearing()) profiles().refresh();
|
||||
const auto choices = profiles().names();
|
||||
for (const auto& name : choices) {
|
||||
const bool selected = name == profiles().active();
|
||||
if (widgets::selectable(name.c_str(), selected)) profiles().switch_to(name);
|
||||
if (selected) ImGui::SetItemDefaultFocus();
|
||||
}
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
if (widgets::button("##save_profile", "save now", false, w, 22.f)) profiles().save();
|
||||
if (widgets::button("##manage_profiles", "manage profiles", false, w, 22.f)) { profiles().refresh(); ImGui::OpenPopup("manage profiles"); }
|
||||
ImGui::PushTextWrapPos(ImGui::GetCursorPosX() + w);
|
||||
ImGui::TextColored(profiles().blocked() ? theme::accent() : theme::muted(), "%s",
|
||||
profiles().blocked() ? "autosave paused: file error" : profiles().dirty() ? "autosaving..." : "autosave on / saved");
|
||||
if (!profiles().last_error().empty()) {
|
||||
ImGui::TextColored(theme::accent(), "%s", profiles().last_error().c_str());
|
||||
}
|
||||
ImGui::PopTextWrapPos();
|
||||
if (ImGui::BeginPopup("manage profiles")) {
|
||||
ImGui::TextUnformatted("New profiles copy your current settings.");
|
||||
ImGui::TextUnformatted("Names: letters, numbers, spaces, _ or -");
|
||||
ImGui::SetNextItemWidth(310.f); widgets::input_text("name", profile_name_, sizeof(profile_name_),310.f);
|
||||
if (ImGui::Button("create & use")) { if (profiles().create(profile_name_)) profile_name_[0] = 0; }
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("rename current")) { if (profiles().rename(profile_name_)) profile_name_[0] = 0; }
|
||||
ImGui::Separator();
|
||||
if (ImGui::Button("delete current profile")) ImGui::OpenPopup("Delete profile?");
|
||||
if (ImGui::BeginPopupModal("Delete profile?", nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||
ImGui::Text("Delete '%s'?", profiles().active().c_str());
|
||||
ImGui::TextUnformatted("Default is protected. Another profile will be loaded.");
|
||||
if (ImGui::Button("delete")) { if (profiles().remove_active()) ImGui::CloseCurrentPopup(); }
|
||||
ImGui::SameLine(); if (ImGui::Button("cancel")) ImGui::CloseCurrentPopup();
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
if (!profiles().last_error().empty()) {
|
||||
ImGui::PushTextWrapPos(ImGui::GetCursorPosX() + 400.f);
|
||||
ImGui::TextColored(theme::accent(), "%s", profiles().last_error().c_str()); ImGui::PopTextWrapPos();
|
||||
}
|
||||
ImGui::EndPopup();
|
||||
}
|
||||
}
|
||||
|
||||
void draw_editor_toolbar() {
|
||||
ImGui::SetNextWindowPos(ImVec2(40.f, 56.f), ImGuiCond_Always);
|
||||
ImGui::SetNextWindowSize(ImVec2(0.f, 0.f), ImGuiCond_Always);
|
||||
auto flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize |
|
||||
ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_AlwaysAutoResize;
|
||||
if (!g_menu_open) flags |= ImGuiWindowFlags_NoInputs;
|
||||
if (ImGui::Begin("##hud_editor_toolbar", nullptr, flags)) {
|
||||
if (ImGui::Button("back to modules")) editing_hud_ = false;
|
||||
ImGui::SameLine(); ImGui::AlignTextToFramePadding(); ImGui::TextUnformatted("hud editor");
|
||||
ImGui::SameLine(0.f, 18.f); ImGui::Checkbox("snap to grid", &hud_editor::options.snap);
|
||||
ImGui::SameLine(); ImGui::Checkbox("show grid", &hud_editor::options.show_grid);
|
||||
ImGui::SameLine(); ImGui::SetNextItemWidth(130.f);
|
||||
widgets::slider_track("grid (px)", &hud_editor::options.grid_size, 4, 64,130.f,"%d");
|
||||
if(selected_hud_ && selected_hud_->enabled() && selected_hud_->is_hud()) {
|
||||
auto& selected=*selected_hud_;const auto size=selected.hud_size();
|
||||
ImGui::Separator();ImGui::AlignTextToFramePadding();ImGui::TextUnformatted(selected.name().c_str());
|
||||
const bool locked=selected.hud_position_locked();
|
||||
ImGui::BeginDisabled(locked);
|
||||
ImVec2 position=selected.hud_render_position();
|
||||
ImGui::SameLine();ImGui::SetNextItemWidth(100.f);ImGui::InputFloat("x##hud_position",&position.x,1.f,10.f,"%.1f");
|
||||
ImGui::SameLine();ImGui::SetNextItemWidth(100.f);ImGui::InputFloat("y##hud_position",&position.y,1.f,10.f,"%.1f");
|
||||
if(!locked && std::isfinite(position.x) && std::isfinite(position.y))
|
||||
selected.hud_pos=hud_editor::constrain(position,size,ImGui::GetIO().DisplaySize,false,10);
|
||||
ImGui::SameLine();const bool x=ImGui::Button("center x");
|
||||
ImGui::SameLine();const bool y=ImGui::Button("center y");
|
||||
ImGui::SameLine();const bool both=ImGui::Button("center both");
|
||||
if(!locked && (x || y || both))selected.hud_pos=hud_editor::center(selected.hud_pos,size,ImGui::GetIO().DisplaySize,x||both,y||both);
|
||||
ImGui::EndDisabled();
|
||||
if(locked)ImGui::TextColored(theme::muted(),"position locked by module settings");
|
||||
}else {
|
||||
ImGui::TextColored(theme::muted(),"select a hud element to edit its position or center it");
|
||||
}
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
static const char* category_title(category c) {
|
||||
switch (c) {
|
||||
case category::hud: return "hud";
|
||||
case category::visual: return "visual";
|
||||
case category::utility: return "utility";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
void set_open(bool open,bool reset_bindings=true) {
|
||||
if (open == g_menu_open) return;
|
||||
g_menu_open = open;
|
||||
update_menu_cursor();
|
||||
|
||||
if (open) {
|
||||
editing_hud_ = false;
|
||||
input::release_cursor();
|
||||
}
|
||||
else {
|
||||
input::restore_cursor();
|
||||
if(reset_bindings)for (auto& m : modules().all()) {
|
||||
m->ui.binding = false;
|
||||
for (auto& s : m->settings()) s.binding = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void update_menu_cursor() {
|
||||
CURSORINFO cursor{sizeof(cursor)};
|
||||
const bool native_visible=GetCursorInfo(&cursor) && (cursor.flags&CURSOR_SHOWING);
|
||||
// Show a software pointer in gameplay, while retaining the native pointer
|
||||
// in inventory screens. Never change the game's cursor visibility/count.
|
||||
ImGui::GetIO().MouseDrawCursor=input::ui_open() && !native_visible;
|
||||
}
|
||||
|
||||
bool any_binding() const {
|
||||
for (auto& m : modules().all()) {
|
||||
if (m->ui.binding) return true;
|
||||
for (auto& s : m->settings()) if (s.binding) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool has_modules(category cat) const {
|
||||
for (auto& m : modules().all())
|
||||
if (m->cat() == cat) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// ---------------- panels ----------------
|
||||
|
||||
void draw_panel(category cat, float default_x) {
|
||||
ImGui::SetNextWindowPos(ImVec2(default_x, 100.f), ImGuiCond_FirstUseEver);
|
||||
ImGui::SetNextWindowSize(ImVec2(k_panel_w, 0.f), ImGuiCond_Always); // fixed width, auto height
|
||||
ImGui::SetNextWindowSizeConstraints(ImVec2(k_panel_w, 0.f),
|
||||
ImVec2(k_panel_w, (std::max)(100.f, ImGui::GetIO().DisplaySize.y - 145.f)));
|
||||
|
||||
ImGuiWindowFlags flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize |
|
||||
ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoSavedSettings;
|
||||
if (!g_menu_open) flags |= ImGuiWindowFlags_NoInputs; // fading out: no more clicks
|
||||
|
||||
const std::string id = std::string("##panel_") + category_name(cat);
|
||||
if (ImGui::Begin(id.c_str(), nullptr, flags)) {
|
||||
// header: small uppercase muted label + SemiBold heading (drag the panel by this area)
|
||||
/*fonts::push_font(fonts::label, fonts::k_label_size);
|
||||
ImGui::TextColored(theme::muted(), "%s", category_name(cat));
|
||||
ImGui::PopFont();*/
|
||||
|
||||
fonts::push_font(fonts::heading, fonts::k_heading_size);
|
||||
ImGui::TextUnformatted(category_title(cat));
|
||||
ImGui::PopFont();
|
||||
ImGui::Dummy(ImVec2(0.f, 1.f));
|
||||
|
||||
if (cat == category::utility) draw_module(profile_entry_, true);
|
||||
for (auto& m : modules().all())
|
||||
if (m->cat() == cat) draw_module(*m,m->is_organizer());
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
void draw_tooltip(const module& m, bool organizer = false) {
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(14.f, 12.f));
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::TextUnformatted(m.description().c_str());
|
||||
ImGui::TextColored(theme::muted(), "%s", organizer ? "click or right click to expand" : "click to toggle | right click for settings");
|
||||
ImGui::EndTooltip();
|
||||
ImGui::PopStyleVar();
|
||||
}
|
||||
|
||||
void draw_module(module& m, bool organizer = false) {
|
||||
ImGui::PushID(&m);
|
||||
|
||||
ImDrawList* dl = ImGui::GetWindowDrawList();
|
||||
const float w = ImGui::GetContentRegionAvail().x;
|
||||
const float key_width=m.toggle_key() ? fonts::text_size(fonts::label,fonts::k_label_size,key_name(m.toggle_key()).c_str()).x+30:0;
|
||||
const float name_width=(std::max)(1.f,w-20-key_width);
|
||||
fonts::push_font(fonts::semibold,fonts::k_body_size);
|
||||
const auto ts=ImGui::CalcTextSize(m.name().c_str(),nullptr,false,name_width);ImGui::PopFont();
|
||||
const float h = (std::max)(theme::row_height(26.f,fonts::k_body_size),ts.y+10);
|
||||
const ImVec2 p = ImGui::GetCursorScreenPos();
|
||||
const ImVec2 q(p.x + w, p.y + h);
|
||||
|
||||
ImGui::InvisibleButton("##row", ImVec2(w, h));
|
||||
const bool hovered = ImGui::IsItemHovered();
|
||||
const bool active = ImGui::IsItemActive();
|
||||
if (ImGui::IsItemClicked(ImGuiMouseButton_Left)) {
|
||||
if (organizer) m.ui.expanded = !m.ui.expanded;
|
||||
else m.toggle();
|
||||
}
|
||||
if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
||||
m.ui.expanded = !m.ui.expanded;
|
||||
m.ui.binding = false;
|
||||
}
|
||||
if (hovered) draw_tooltip(m, organizer);
|
||||
|
||||
const float dt = ImGui::GetIO().DeltaTime;
|
||||
m.ui.hover_t = theme::approach(m.ui.hover_t, hovered ? 1.f : 0.f, dt * 16.f);
|
||||
m.ui.enable_t = theme::approach(m.ui.enable_t, (organizer ? m.ui.expanded : m.enabled()) ? 1.f : 0.f, dt * 12.f);
|
||||
m.ui.expand_t = widgets::expand_step(m.ui.expand_t, m.ui.expanded, dt);
|
||||
|
||||
ImVec4 text_col = theme::mix(theme::muted(), theme::fg(), m.ui.enable_t);
|
||||
|
||||
theme::control(dl,p,q,organizer ? m.ui.expanded : m.enabled(),hovered,active);
|
||||
|
||||
dl->AddText(fonts::semibold, fonts::k_body_size,
|
||||
ImVec2(floorf(p.x + 10.f), floorf(p.y + (h - ts.y) * 0.5f)),
|
||||
theme::u32(text_col), m.name().c_str(),nullptr,name_width);
|
||||
|
||||
if (m.toggle_key()) { // keycap chip on the right
|
||||
const std::string k = key_name(m.toggle_key());
|
||||
const ImVec2 ks = fonts::text_size(fonts::label, fonts::k_label_size, k.c_str());
|
||||
const float cw = ks.x + 14.f, ch = 20.f;
|
||||
const ImVec2 c0(q.x - 12.f - cw, p.y + (h - ch) * 0.5f);
|
||||
const ImVec2 c1(c0.x + cw, c0.y + ch);
|
||||
dl->AddText(fonts::label, fonts::k_label_size,
|
||||
ImVec2(floorf(c0.x + 7.f), floorf(c0.y + (ch - ks.y) * 0.5f)),
|
||||
theme::u32(theme::fg()), k.c_str());
|
||||
}
|
||||
|
||||
if (m.ui.expand_t > 0.f) {
|
||||
widgets::indent_section(w,q.y,m.ui.expand_t,m.ui.settings_height,
|
||||
m.ui.expanded && m.ui.expand_t>=.99f,[&](float inner_w) {
|
||||
if (&m==&profile_entry_) draw_profile_controls(inner_w);
|
||||
else {
|
||||
if(!organizer)draw_bind(m,inner_w);
|
||||
if(organizer) {
|
||||
ImGui::PushTextWrapPos(ImGui::GetCursorPosX()+inner_w);
|
||||
ImGui::TextColored(theme::muted(),"live / autosaved");
|
||||
if(!fonts::last_error.empty())ImGui::TextColored(theme::danger(),"%s",fonts::last_error.c_str());
|
||||
if(!theme_assets::last_error.empty())ImGui::TextColored(theme::danger(),"%s",theme_assets::last_error.c_str());
|
||||
ImGui::PopTextWrapPos();
|
||||
}
|
||||
for (auto& s:m.settings()) if (!s.hidden) draw_setting(s,inner_w);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
ImGui::PopID();
|
||||
}
|
||||
|
||||
void draw_bind(module& m, float w) {
|
||||
ImGui::TextUnformatted("bind");
|
||||
const std::string text = m.ui.binding ? std::string("press a key...") : key_name(m.toggle_key());
|
||||
if (widgets::keybind("##bind", text.c_str(), m.ui.binding, w)) m.ui.binding = !m.ui.binding;
|
||||
|
||||
if (m.ui.binding && !(ImGui::GetCurrentContext()->CurrentItemFlags & ImGuiItemFlags_Disabled)) {
|
||||
for (int vk = 0x08; vk < 0xFF; ++vk) { // starts above the mouse buttons
|
||||
if (is_key_down(vk)) {
|
||||
m.set_toggle_key(vk == VK_ESCAPE ? 0 : vk); // Esc clears the bind
|
||||
m.ui.binding = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void draw_setting(setting& s, float w) {
|
||||
ImGui::PushID(&s);
|
||||
ImGui::PushTextWrapPos(ImGui::GetCursorPosX()+w);
|
||||
|
||||
switch (s.type) {
|
||||
case setting_type::text: {
|
||||
char value[257]{}; strncpy_s(value, s.text_value.c_str(), _TRUNCATE);
|
||||
ImGui::TextUnformatted(s.name.c_str()); ImGui::SetNextItemWidth(w);
|
||||
if (widgets::input_text("##text", value, (std::min)(sizeof(value), size_t(s.int_max + 1)),w)) s.text_value = value;
|
||||
break;
|
||||
}
|
||||
case setting_type::action:
|
||||
if (widgets::button("##action", s.name.c_str(), false, w, 22.f) && s.action) s.action();
|
||||
break;
|
||||
case setting_type::keybind: {
|
||||
ImGui::TextUnformatted(s.name.c_str());
|
||||
const std::string text = s.binding ? "press a key..." : key_name(s.int_value);
|
||||
if (widgets::keybind("##key", text.c_str(), s.binding, w)) s.binding = !s.binding;
|
||||
if (s.binding && !(ImGui::GetCurrentContext()->CurrentItemFlags & ImGuiItemFlags_Disabled)) {
|
||||
for (int vk = 0x08; vk < 0xFF; ++vk) {
|
||||
if (is_key_down(vk)) {
|
||||
// Keep modifiers specific so synthetic input and real input can be separated.
|
||||
if (vk == VK_SHIFT || vk == VK_CONTROL || vk == VK_MENU) continue;
|
||||
s.int_value = vk == VK_ESCAPE ? 0 : vk;
|
||||
s.binding = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case setting_type::toggle:
|
||||
widgets::checkbox(s.name.c_str(), &s.bool_value, w, theme::row_height(20.f,fonts::k_body_size));
|
||||
break;
|
||||
|
||||
case setting_type::slider_float:
|
||||
widgets::slider_float(s.name.c_str(), &s.float_value, s.float_min, s.float_max,w);
|
||||
break;
|
||||
|
||||
case setting_type::slider_int:
|
||||
widgets::slider_int(s.name.c_str(), &s.int_value, s.int_min, s.int_max,w);
|
||||
break;
|
||||
|
||||
case setting_type::mode:
|
||||
if (!s.modes.empty()) {
|
||||
if (s.int_value < 0 || s.int_value >= (int)s.modes.size()) s.int_value = 0;
|
||||
ImGui::TextUnformatted(s.name.c_str());
|
||||
// Compact dropdown height shared with action buttons.
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding,{8.f,(22.f-ImGui::GetFontSize())*.5f});
|
||||
if(widgets::begin_combo("##mode",s.modes[s.int_value].c_str(),w)) {
|
||||
for(int i=0;i<int(s.modes.size());++i)
|
||||
if(widgets::selectable(s.modes[i].c_str(),s.int_value==i))s.int_value=i;
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
}
|
||||
break;
|
||||
|
||||
case setting_type::color:
|
||||
ImGui::ColorEdit4("##c", s.color,
|
||||
ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel |
|
||||
ImGuiColorEditFlags_AlphaBar);
|
||||
ImGui::SameLine(0.f, 10.f);
|
||||
ImGui::AlignTextToFramePadding();
|
||||
ImGui::TextUnformatted(s.name.c_str());
|
||||
break;
|
||||
}
|
||||
|
||||
ImGui::PopTextWrapPos();ImGui::PopID();
|
||||
}
|
||||
|
||||
// ---------------- HUD drag editor ----------------
|
||||
|
||||
void draw_hud_editor() {
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
|
||||
for (auto& up : modules().all()) {
|
||||
module& m = *up;
|
||||
if (!m.enabled() || !m.is_hud()) continue;
|
||||
|
||||
const ImVec2 size = m.hud_size();
|
||||
if (size.x <= 0.f || size.y <= 0.f) continue;
|
||||
|
||||
// keep it on screen
|
||||
if(!m.hud_position_locked())m.hud_pos = hud_editor::constrain(m.hud_pos,size,io.DisplaySize,false,10);
|
||||
const auto position=m.hud_render_position();
|
||||
|
||||
ImGui::SetNextWindowPos(position, ImGuiCond_Always);
|
||||
ImGui::SetNextWindowSize(m.hud_drag_size(), ImGuiCond_Always);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0.f, 0.f));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0.f);
|
||||
|
||||
const std::string id = "##hud_" + m.name();
|
||||
ImGuiWindowFlags flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize |
|
||||
ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoScrollbar |
|
||||
ImGuiWindowFlags_NoScrollWithMouse | ImGuiWindowFlags_NoSavedSettings |
|
||||
ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoNav |
|
||||
ImGuiWindowFlags_NoBringToFrontOnFocus;
|
||||
if (!g_menu_open) flags |= ImGuiWindowFlags_NoInputs;
|
||||
|
||||
if (ImGui::Begin(id.c_str(), nullptr, flags)) {
|
||||
ImGui::InvisibleButton("##drag", m.hud_drag_size());
|
||||
const bool hovered = ImGui::IsItemHovered();
|
||||
const bool active = ImGui::IsItemActive();
|
||||
|
||||
if(ImGui::IsItemActivated()){selected_hud_=&m;hud_drag_.begin(m.hud_pos,io.MousePos);}
|
||||
if(g_menu_open && !m.hud_position_locked() && active && ImGui::IsMouseDragging(ImGuiMouseButton_Left,0.f))
|
||||
m.hud_pos=hud_drag_.move(io.MousePos,size,io.DisplaySize,
|
||||
hud_editor::options.snap && !io.KeyShift,hud_editor::options.grid_size);
|
||||
|
||||
const ImVec4 col = (hovered || active) ? theme::focus() : selected_hud_==&m ? theme::accent() : theme::hover();
|
||||
ImGui::GetForegroundDrawList()->AddRect(
|
||||
m.hud_render_position(), ImVec2(m.hud_render_position().x + size.x, m.hud_render_position().y + size.y),
|
||||
theme::u32(col), 0.f, 0, 1.5f);
|
||||
}
|
||||
ImGui::End();
|
||||
ImGui::PopStyleVar(2);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
inline clickgui& gui() {
|
||||
static clickgui instance;
|
||||
return instance;
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <fstream>
|
||||
#include <filesystem>
|
||||
#include <tuple>
|
||||
#include <memory>
|
||||
#include <cstring>
|
||||
#include "imgui.h"
|
||||
#include "theme_state.h"
|
||||
#include "local_file.h"
|
||||
#include "misc/freetype/imgui_freetype.h"
|
||||
#include <ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
// optional fallback if the Segoe UI files can't be found
|
||||
#if __has_include("../font_data.h")
|
||||
const unsigned char* amnesia_fallback_font();
|
||||
int amnesia_fallback_font_size();
|
||||
#define AMNESIA_HAS_FONT 1
|
||||
#else
|
||||
#define AMNESIA_HAS_FONT 0
|
||||
#endif
|
||||
|
||||
namespace fonts {
|
||||
|
||||
inline float k_body_size = 13.f;
|
||||
inline float k_label_size = 11.f;
|
||||
inline float k_heading_size = 13.f;
|
||||
inline float k_media_size = 13.f;
|
||||
inline std::string last_error;
|
||||
|
||||
inline ImFont* body = nullptr; // Verdana, matching the reference menu
|
||||
inline ImFont* semibold = nullptr;
|
||||
inline ImFont* label = nullptr;
|
||||
inline ImFont* heading = nullptr;
|
||||
inline ImFont* media = nullptr; // original glyphs for song/artist metadata
|
||||
|
||||
inline void lowercase_display(ImFont* font) {
|
||||
// Render capitals with their lowercase glyph, including matching advance
|
||||
// widths for layout, wrapping and text-input caret placement. Keep source
|
||||
// strings intact: module/profile identifiers and external data retain case.
|
||||
// Apply before any glyphs are baked, at every font weight and size.
|
||||
for (ImWchar upper = 'A'; upper <= 'Z'; ++upper)
|
||||
font->AddRemapCodepoint(upper, upper + ('a' - 'A'));
|
||||
}
|
||||
|
||||
// PushFont changed signature in ImGui 1.92 (fonts became size-flexible)
|
||||
inline void push_font(ImFont* font, float size) {
|
||||
#if IMGUI_VERSION_NUM >= 19200
|
||||
ImGui::PushFont(font, size);
|
||||
#else
|
||||
(void)size;
|
||||
ImGui::PushFont(font);
|
||||
#endif
|
||||
}
|
||||
|
||||
inline ImVec2 text_size(ImFont* font, float size, const char* text) {
|
||||
push_font(font, size);
|
||||
const ImVec2 ts = ImGui::CalcTextSize(text);
|
||||
ImGui::PopFont();
|
||||
return ts;
|
||||
}
|
||||
|
||||
inline bool windows_font_path(const char* file, std::string& out) {
|
||||
char dir[MAX_PATH] = {};
|
||||
const UINT n = GetWindowsDirectoryA(dir, MAX_PATH);
|
||||
if (n == 0 || n >= MAX_PATH) return false;
|
||||
out = std::string(dir) + "\\Fonts\\" + file;
|
||||
return GetFileAttributesA(out.c_str()) != INVALID_FILE_ATTRIBUTES;
|
||||
}
|
||||
|
||||
inline ImFont* load_one(ImGuiIO& io, const char* file, float size, unsigned flags=ImGuiFreeTypeLoaderFlags_NoAutoHint|ImGuiFreeTypeLoaderFlags_MonoHinting) {
|
||||
std::string path;
|
||||
if (windows_font_path(file, path)) {
|
||||
ImFontConfig config;config.PixelSnapH=true;config.FontLoaderFlags=flags;
|
||||
if (ImFont* f = io.Fonts->AddFontFromFileTTF(path.c_str(), size,&config)) return f;
|
||||
}
|
||||
#if AMNESIA_HAS_FONT
|
||||
ImFontConfig cfg;
|
||||
cfg.FontDataOwnedByAtlas = false;
|
||||
cfg.PixelSnapH = true;
|
||||
cfg.FontLoaderFlags=flags;
|
||||
return io.Fonts->AddFontFromMemoryTTF((void*)amnesia_fallback_font(), amnesia_fallback_font_size(), size, &cfg);
|
||||
#else
|
||||
return io.Fonts->AddFontDefault();
|
||||
#endif
|
||||
}
|
||||
|
||||
struct bundle {std::string key,error;unsigned revision=0;ImFont* plain=nullptr;ImFont* lower=nullptr;std::shared_ptr<std::vector<unsigned char>> data;};
|
||||
inline std::vector<bundle> cache;
|
||||
inline std::vector<std::shared_ptr<std::vector<unsigned char>>> owned_data;
|
||||
inline std::tuple<int,int,int,bool,std::string,unsigned> applied;
|
||||
inline bool selected=false;
|
||||
inline unsigned hint_flags(int hint) {
|
||||
switch(hint) {
|
||||
case 1:return ImGuiFreeTypeLoaderFlags_NoAutoHint;
|
||||
case 2:return ImGuiFreeTypeLoaderFlags_LightHinting;
|
||||
case 3:return ImGuiFreeTypeLoaderFlags_NoHinting;
|
||||
default:return ImGuiFreeTypeLoaderFlags_NoAutoHint|ImGuiFreeTypeLoaderFlags_MonoHinting;
|
||||
}
|
||||
}
|
||||
inline bool valid_font(const std::vector<unsigned char>& data) {
|
||||
FT_Library library=nullptr;FT_Face face=nullptr;
|
||||
if(FT_Init_FreeType(&library))return false;
|
||||
const bool valid=FT_New_Memory_Face(library,data.data(),FT_Long(data.size()),0,&face)==0;
|
||||
if(face)FT_Done_Face(face);FT_Done_FreeType(library);return valid;
|
||||
}
|
||||
// Called only outside NewFrame/Render. Existing faces stay alive until the
|
||||
// atlas is destroyed, so cached text/layout pointers never become dangling.
|
||||
inline void apply_selection() {
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
const auto& state=theme::current;
|
||||
k_body_size=float(state.body_size);k_label_size=float(state.label_size);
|
||||
k_heading_size=float(state.heading_size);k_media_size=float(state.media_size);
|
||||
io.Fonts->FontLoaderFlags=0;
|
||||
io.FontDefault=body;
|
||||
if(selected && std::get<0>(applied)==state.font_family && std::get<1>(applied)==state.font_weight &&
|
||||
std::get<2>(applied)==state.font_hinting && std::get<3>(applied)==state.lowercase &&
|
||||
std::get<4>(applied)==state.font_path && std::get<5>(applied)==state.font_revision) {
|
||||
io.FontDefault=body;ImGui::GetStyle().FontSizeBase=k_body_size;return;
|
||||
}
|
||||
const auto requested=std::make_tuple(state.font_family,state.font_weight,state.font_hinting,state.lowercase,state.font_path,state.font_revision);
|
||||
applied=requested;selected=true;last_error.clear();
|
||||
const char* files[][2]={{"verdana.ttf","verdanab.ttf"},{"tahoma.ttf","tahomabd.ttf"},{"segoeui.ttf","segoeuib.ttf"},{"consola.ttf","consolab.ttf"}};
|
||||
const int family=std::clamp(state.font_family,0,4),weight=std::clamp(state.font_weight,0,1);
|
||||
const unsigned flags=hint_flags(state.font_hinting)|((family==4 && weight) ? ImGuiFreeTypeLoaderFlags_Bold:0);
|
||||
const std::string path=family==4 ? state.font_path:files[family][weight];
|
||||
const std::string key=path+"|"+std::to_string(flags);
|
||||
bundle* found=nullptr;
|
||||
for(auto& item:cache)if(item.key==key && (family!=4 || item.revision==state.font_revision)){found=&item;break;}
|
||||
if(!found) {
|
||||
std::shared_ptr<std::vector<unsigned char>> data;
|
||||
if(family==4) {
|
||||
std::ifstream file(client_files::path(path),std::ios::binary|std::ios::ate);
|
||||
const auto length=file ? file.tellg():std::streampos(-1);
|
||||
if(length>0 && length<=8*1024*1024) {
|
||||
data=std::make_shared<std::vector<unsigned char>>(size_t(length));file.seekg(0);
|
||||
if(!file.read(reinterpret_cast<char*>(data->data()),std::streamsize(length)))data.reset();
|
||||
}
|
||||
// Reject non-font input before passing it to the font loader.
|
||||
if(!data || data->size()<12 || !valid_font(*data)) {
|
||||
last_error="font could not be loaded; choose a valid ttf/otf file (up to 8 mb)";data.reset();
|
||||
}
|
||||
}
|
||||
bundle item;item.key=key;item.revision=state.font_revision;
|
||||
for(auto& cached:cache)if(cached.key==key && ((data && cached.data && *data==*cached.data) || (!data && !last_error.empty() && cached.error==last_error))) {
|
||||
cached.revision=state.font_revision;found=&cached;break;
|
||||
}
|
||||
if(!found) {
|
||||
if(data) {
|
||||
ImFontConfig config;config.FontDataOwnedByAtlas=false;config.PixelSnapH=true;config.FontLoaderFlags=flags;
|
||||
item.plain=io.Fonts->AddFontFromMemoryTTF(data->data(),int(data->size()),13,&config);
|
||||
item.lower=io.Fonts->AddFontFromMemoryTTF(data->data(),int(data->size()),13,&config);
|
||||
owned_data.push_back(data);item.data=data;
|
||||
}
|
||||
if(!item.plain || !item.lower) {
|
||||
item.plain=load_one(io,family==4 ? "verdana.ttf":files[family][weight],13,flags);
|
||||
item.lower=load_one(io,family==4 ? "verdana.ttf":files[family][weight],13,flags);
|
||||
}
|
||||
item.error=last_error;lowercase_display(item.lower);cache.push_back(std::move(item));found=&cache.back();
|
||||
}
|
||||
}
|
||||
last_error=found->error;
|
||||
body=semibold=label=heading=state.lowercase ? found->lower:found->plain;
|
||||
media=found->plain;
|
||||
io.FontDefault = body;
|
||||
ImGui::GetStyle().FontSizeBase=k_body_size;
|
||||
}
|
||||
inline void load() {
|
||||
// load() is called once for each newly created ImGui context.
|
||||
cache.clear();owned_data.clear();selected=false;body=semibold=label=heading=media=nullptr;
|
||||
ImGui::GetIO().Fonts->SetFontLoader(ImGuiFreeType::GetFontLoader());
|
||||
apply_selection();
|
||||
}
|
||||
// Call after DestroyContext(), never while an atlas still refers to custom data.
|
||||
inline void forget() {cache.clear();owned_data.clear();selected=false;body=semibold=label=heading=media=nullptr;last_error.clear();}
|
||||
|
||||
} // namespace fonts
|
||||
@@ -0,0 +1,44 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include "fonts.h"
|
||||
#include "theme.h"
|
||||
|
||||
namespace hud_card {
|
||||
inline float& pad_x=theme::current.hud_padding_x;
|
||||
inline float& pad_y=theme::current.hud_padding_y;
|
||||
inline constexpr float gap=6.f;
|
||||
inline ImVec2 measured_size(ImVec2 a, ImVec2 b, ImVec2 c, float scale) {
|
||||
const float spacing=a.x>0 && (b.x>0 || c.x>0) ? gap*scale : 0.f;
|
||||
return ImVec2(pad_x*2*scale+a.x+spacing+(std::max)(b.x,c.x),
|
||||
pad_y*2*scale+(std::max)(a.y,b.y));
|
||||
}
|
||||
inline ImVec2 size(const char* label, const char* value, float scale, const char* reserve = "") {
|
||||
const float font_size=fonts::k_body_size*scale;
|
||||
return measured_size(fonts::text_size(fonts::body,font_size,label),fonts::text_size(fonts::semibold,font_size,value),
|
||||
*reserve ? fonts::text_size(fonts::semibold,font_size,reserve):ImVec2{},scale);
|
||||
}
|
||||
inline float rows_height(int count, float line_height=fonts::k_body_size, float stride=20.f) {
|
||||
return pad_y*2+(std::max)(0,count-1)*stride+line_height;
|
||||
}
|
||||
inline void background(ImDrawList* draw, ImVec2 pos, ImVec2 size, float scale, bool enabled, float alpha = 1.f) {
|
||||
if (!enabled) return;
|
||||
const ImVec2 end(pos.x + size.x, pos.y + size.y);
|
||||
theme::panel(draw,pos,end,alpha);
|
||||
}
|
||||
inline void text(ImDrawList* draw, ImFont* font, float scale, ImVec2 pos, ImU32 color, const char* value, bool card) {
|
||||
color=theme::display_color(color);
|
||||
draw->AddText(font, fonts::k_body_size * scale, {std::floor(pos.x),std::floor(pos.y)}, color, value);
|
||||
}
|
||||
inline void draw(ImVec2 pos, const char* label, const char* value, float scale, bool card, ImU32 color, const char* reserve = "") {
|
||||
const auto a = fonts::text_size(fonts::body, fonts::k_body_size*scale, label);
|
||||
const auto b = fonts::text_size(fonts::semibold, fonts::k_body_size*scale, value);
|
||||
const auto c = *reserve ? fonts::text_size(fonts::semibold,fonts::k_body_size*scale,reserve):ImVec2{};
|
||||
const auto bounds = measured_size(a,b,c,scale);
|
||||
auto* draw = ImGui::GetBackgroundDrawList();
|
||||
background(draw, pos, bounds, scale, card);
|
||||
const float y = pos.y+(bounds.y-b.y)*.5f;
|
||||
text(draw, fonts::body, scale, ImVec2(pos.x+pad_x*scale,pos.y+(bounds.y-a.y)*.5f),theme::u32(theme::muted()),label,card);
|
||||
text(draw, fonts::semibold, scale, ImVec2(pos.x+bounds.x-pad_x*scale-b.x,y),color,value,card);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include "imgui.h"
|
||||
|
||||
namespace hud_editor {
|
||||
struct preferences {bool snap=true,show_grid=true;int grid_size=10;};
|
||||
inline preferences options;
|
||||
inline ImVec2 constrain(ImVec2 position,ImVec2 size,ImVec2 screen,bool snap,int spacing) {
|
||||
const float step=float(std::clamp(spacing,4,64));
|
||||
if(snap){position.x=std::round(position.x/step)*step;position.y=std::round(position.y/step)*step;}
|
||||
return {std::clamp(position.x,0.f,(std::max)(0.f,screen.x-size.x)),
|
||||
std::clamp(position.y,0.f,(std::max)(0.f,screen.y-size.y))};
|
||||
}
|
||||
inline ImVec2 center(ImVec2 position,ImVec2 size,ImVec2 screen,bool x,bool y) {
|
||||
if(x)position.x=(screen.x-size.x)*.5f;
|
||||
if(y)position.y=(screen.y-size.y)*.5f;
|
||||
// Exact screen centering takes precedence over grid snapping.
|
||||
return constrain(position,size,screen,false,10);
|
||||
}
|
||||
struct drag {
|
||||
ImVec2 start{},mouse{};
|
||||
void begin(ImVec2 position,ImVec2 cursor){start=position;mouse=cursor;}
|
||||
ImVec2 move(ImVec2 cursor,ImVec2 size,ImVec2 screen,bool snap,int spacing) const {
|
||||
// Keep the unsnapped mouse displacement so small movements accumulate.
|
||||
return constrain({start.x+cursor.x-mouse.x,start.y+cursor.y-mouse.y},size,screen,snap,spacing);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include "imgui.h"
|
||||
#include "imgui_internal.h"
|
||||
#include "theme.h"
|
||||
|
||||
namespace widgets {
|
||||
inline float expand_step(float value, bool open, float dt) {
|
||||
return theme::approach(value, open ? 1.f : 0.f, 1.f-std::exp(-14.f*(std::max)(0.f,dt)));
|
||||
}
|
||||
|
||||
// Measure controls at their natural height, but reserve/clip only the revealed part.
|
||||
// Keep everything in the category window so its scrolling and widget IDs stay intact.
|
||||
template<class Render>
|
||||
void indent_section(float width, float anchor_y, float amount, float& content_height, bool interactive, Render render) {
|
||||
const auto start=ImGui::GetCursorScreenPos();
|
||||
auto* window=ImGui::GetCurrentWindow();
|
||||
const auto old_max=window->DC.CursorMaxPos, old_ideal=window->DC.IdealMaxPos;
|
||||
const float reveal=content_height*amount;
|
||||
ImGui::PushClipRect(start,{start.x+width,start.y+reveal},true);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_Alpha,ImGui::GetStyle().Alpha*amount);
|
||||
if (!interactive) ImGui::BeginDisabled();
|
||||
ImGui::BeginGroup();
|
||||
ImGui::Indent(14.f);
|
||||
render((std::max)(1.f,width-14.f));
|
||||
ImGui::Unindent(14.f);
|
||||
ImGui::EndGroup();
|
||||
content_height=ImGui::GetItemRectSize().y;
|
||||
if (!interactive) ImGui::EndDisabled();
|
||||
ImGui::PopStyleVar();
|
||||
ImGui::PopClipRect();
|
||||
const float height=content_height*amount;
|
||||
window->DrawList->AddLine({start.x+6.f,anchor_y},{start.x+6.f,start.y+height},
|
||||
theme::u32(theme::with_alpha(theme::line(),amount)),3.f);
|
||||
// Discard the full measurement's scroll extent, then submit the animated bounds.
|
||||
window->DC.CursorMaxPos=old_max;
|
||||
window->DC.IdealMaxPos=old_ideal;
|
||||
ImGui::SetCursorScreenPos(start);
|
||||
ImGui::Dummy({width,height});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
namespace client_files {
|
||||
inline std::filesystem::path path(const std::string& utf8) {
|
||||
if(utf8.empty() || utf8.size()>32767)return {};
|
||||
const int count=MultiByteToWideChar(CP_UTF8,MB_ERR_INVALID_CHARS,utf8.data(),int(utf8.size()),nullptr,0);
|
||||
if(count<=0)return {};
|
||||
std::wstring wide(count,L'\0');
|
||||
if(MultiByteToWideChar(CP_UTF8,MB_ERR_INVALID_CHARS,utf8.data(),int(utf8.size()),wide.data(),count)!=count)return {};
|
||||
return std::filesystem::path(wide);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <chrono>
|
||||
#include <cmath>
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
#include "fonts.h"
|
||||
#include "theme.h"
|
||||
#include "rich_text.h"
|
||||
|
||||
namespace notifications {
|
||||
enum class kind { info,success,warning,error };
|
||||
inline double now() { return std::chrono::duration<double>(std::chrono::steady_clock::now().time_since_epoch()).count(); }
|
||||
struct toast {
|
||||
std::string key,title,body;
|
||||
kind type=kind::info;
|
||||
double born=0,duration=3;
|
||||
float progress=-1,y=-1;
|
||||
bool dismissed=false;
|
||||
std::vector<rich_text::run> body_runs;
|
||||
bool preserve_case=false;
|
||||
};
|
||||
inline std::deque<toast> items;
|
||||
inline std::mutex mutex;
|
||||
struct hud_anchor {ImVec2 position{},size{};ImGuiContext* context=nullptr;int frame=-1;};
|
||||
inline hud_anchor watermark_anchor;
|
||||
// Published by the watermark's actual draw, on the same render thread.
|
||||
// Frame scoping prevents a disabled watermark leaving a stale anchor.
|
||||
inline void below_watermark(ImVec2 position,ImVec2 size) {
|
||||
if(!std::isfinite(position.x) || !std::isfinite(position.y) ||
|
||||
!std::isfinite(size.x) || !std::isfinite(size.y) || size.x<=0 || size.y<=0)return;
|
||||
watermark_anchor={position,size,ImGui::GetCurrentContext(),ImGui::GetFrameCount()};
|
||||
}
|
||||
inline ImVec2 origin() {
|
||||
if(watermark_anchor.context==ImGui::GetCurrentContext() && watermark_anchor.frame==ImGui::GetFrameCount())
|
||||
return {watermark_anchor.position.x,watermark_anchor.position.y+watermark_anchor.size.y+4.f};
|
||||
return {5,5};
|
||||
}
|
||||
inline void dismiss(const std::string& key) {
|
||||
std::lock_guard lock(mutex);
|
||||
for(auto& item:items) if(item.key==key && !item.dismissed) {
|
||||
item.duration=(std::max)(0.001,now()-item.born);item.dismissed=true;
|
||||
}
|
||||
}
|
||||
inline void push(std::string title,std::string body,kind type=kind::info,double duration=3,
|
||||
std::string key={},float progress=-1,std::vector<rich_text::run> body_runs={},bool preserve_case=false) {
|
||||
std::lock_guard lock(mutex);
|
||||
if(!key.empty()) for(auto& item:items) if(item.key==key) {
|
||||
const bool changed=item.dismissed || item.title!=title || item.type!=type || item.duration!=duration;
|
||||
item.title=std::move(title);item.body=std::move(body);item.type=type;
|
||||
item.duration=duration;item.progress=progress;item.dismissed=false;item.body_runs=std::move(body_runs);item.preserve_case=preserve_case;
|
||||
if(changed) item.born=now();return;
|
||||
}
|
||||
if(items.size()>=6) {
|
||||
auto removable=std::find_if(items.begin(),items.end(),[](const toast& t){return t.duration>0;});
|
||||
if(removable!=items.end()) items.erase(removable);else items.pop_front();
|
||||
}
|
||||
items.push_back({std::move(key),std::move(title),std::move(body),type,now(),duration,progress,-1});
|
||||
items.back().body_runs=std::move(body_runs);items.back().preserve_case=preserve_case;
|
||||
}
|
||||
inline float entrance(float t) {t=std::clamp(t,0.f,1.f);return 1-(1-t)*(1-t);}
|
||||
inline constexpr float slide_duration=.5f;
|
||||
struct animation {float slide,alpha,remaining;};
|
||||
inline animation animate(const toast& item,double time) {
|
||||
const float age=float((std::max)(0.0,time-item.born));
|
||||
const float out=item.duration>0 ? entrance((age-float(item.duration))/slide_duration) : 0;
|
||||
const float in=entrance(age/slide_duration);
|
||||
return {(std::max)(1-in,out),1-out,
|
||||
item.duration>0 ? std::clamp(1-age/float(item.duration),0.f,1.f) : 1.f};
|
||||
}
|
||||
// The reference uses one compact message, rather than a title/icon/body card.
|
||||
inline std::string message(const toast& item) {
|
||||
if(item.title.empty())return item.body;
|
||||
if(item.body.empty())return item.title;
|
||||
return item.title + ": " + item.body;
|
||||
}
|
||||
inline ImVec4 type_color(kind type) {
|
||||
switch(type) {
|
||||
case kind::success:return theme::success();
|
||||
case kind::warning:return theme::warning();
|
||||
case kind::error:return theme::danger();
|
||||
default:return theme::accent();
|
||||
}
|
||||
}
|
||||
inline std::vector<rich_text::run> content(const toast& item) {
|
||||
auto runs=rich_text::parse(item.title,ImGui::ColorConvertFloat4ToU32(type_color(item.type)));
|
||||
if(!item.title.empty() && !item.body.empty())runs.push_back({": ",ImGui::ColorConvertFloat4ToU32(type_color(item.type)),false});
|
||||
auto body=item.body_runs.empty() ? rich_text::parse(item.body,ImGui::ColorConvertFloat4ToU32(theme::fg())):item.body_runs;
|
||||
runs.insert(runs.end(),body.begin(),body.end());return runs;
|
||||
}
|
||||
inline void draw() {
|
||||
std::lock_guard lock(mutex);const double time=now();
|
||||
for(auto it=items.begin();it!=items.end();) {
|
||||
if(it->duration>0 && time-it->born>it->duration+slide_duration)it=items.erase(it);else ++it;
|
||||
}
|
||||
const auto& io=ImGui::GetIO();auto* draw=ImGui::GetForegroundDrawList();
|
||||
if(io.DisplaySize.x<=30 || io.DisplaySize.y<=12)return;
|
||||
const float max_width=(std::min)(480.f,io.DisplaySize.x-10.f);
|
||||
const auto anchor=origin();float y=0;
|
||||
for(auto& item:items) {
|
||||
const auto motion=animate(item,time);
|
||||
const float age=float(time-item.born),alpha=motion.alpha;
|
||||
ImFont* face=item.preserve_case && fonts::media ? fonts::media:fonts::body;
|
||||
if(!face)face=ImGui::GetFont();
|
||||
fonts::push_font(face,fonts::k_body_size);
|
||||
const auto runs=content(item);
|
||||
const auto unwrapped=rich_text::arrange(runs,face,fonts::k_body_size,FLT_MAX);
|
||||
const float width=std::clamp(unwrapped.size.x+16.f,20.f,max_width);
|
||||
const float wrap=width-16.f;
|
||||
const auto text_layout=rich_text::arrange(runs,face,fonts::k_body_size,wrap);
|
||||
const float height=(std::max)(fonts::k_body_size,text_layout.size.y)+12.f;
|
||||
if(item.y<0)item.y=y;
|
||||
item.y+=(y-item.y)*(1-std::exp(-12.f*io.DeltaTime));
|
||||
const float card_y=anchor.y+item.y;
|
||||
// Preserve the reference's 400px travel; allow wider messages to clear the edge.
|
||||
const float left=std::clamp(anchor.x,5.f,(std::max)(5.f,io.DisplaySize.x-width-5.f));
|
||||
const float x=left-motion.slide*(std::max)(400.f,left+width+5.f);
|
||||
auto color=[&](ImVec4 c){c.w*=alpha;return ImGui::ColorConvertFloat4ToU32(c);};
|
||||
theme::panel(draw,{x,card_y},{x+width,card_y+height},alpha,false);
|
||||
const auto tint=type_color(item.type);
|
||||
draw->AddRectFilled({x+2,card_y+2},{x+4,card_y+height-2},color(tint));
|
||||
draw->AddLine({x+4,card_y+2},{x+4,card_y+height-2},color(theme::hex(0x000000,.4f)));
|
||||
draw->PushClipRect({x+7,card_y+2},{x+width-2,card_y+height-2},true);
|
||||
rich_text::draw(draw,text_layout,face,fonts::k_body_size,{x+8,card_y+6},alpha);
|
||||
draw->PopClipRect();
|
||||
const ImVec2 bar0(x+6,card_y+height-4),bar1(x+width-2,card_y+height-2);
|
||||
if(item.progress>=0 || item.duration>0) {
|
||||
const float fraction=item.progress>=0 ? (std::isfinite(item.progress) ? std::clamp(item.progress,0.f,1.f) : 0.f) : motion.remaining;
|
||||
theme::bar(draw,bar0,bar1,fraction,tint,alpha);
|
||||
}
|
||||
if(item.type==kind::warning || item.type==kind::error) {
|
||||
// Reference warning line: two-second bounce with a half-second blink.
|
||||
const float segment=(std::min)(20.f,bar1.x-bar0.x);
|
||||
const float offset=(.5f+.5f*std::sin(age*3.14159265f))*(bar1.x-bar0.x-segment);
|
||||
const float pulse=.5f+.5f*std::sin(age*12.5663706f);
|
||||
draw->AddRect({bar0.x+offset,bar0.y},{bar0.x+offset+segment,bar1.y},color(theme::with_alpha(tint,pulse)));
|
||||
}
|
||||
y+=height+2.f;
|
||||
ImGui::PopFont();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cfloat>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "imgui.h"
|
||||
|
||||
namespace rich_text {
|
||||
struct run {std::string text;ImU32 color;bool explicit_color=false;};
|
||||
inline bool minecraft_color(char code,ImU32& color) {
|
||||
const char* digits="0123456789abcdef";const char lower=code>='A' && code<='F' ? char(code+32):code;
|
||||
const char* found=strchr(digits,lower);if(!found || !lower)return false;
|
||||
const unsigned palette[]{0x000000,0x0000aa,0x00aa00,0x00aaaa,0xaa0000,0xaa00aa,0xffaa00,0xaaaaaa,
|
||||
0x555555,0x5555ff,0x55ff55,0x55ffff,0xff5555,0xff55ff,0xffff55,0xffffff};
|
||||
const auto rgb=palette[found-digits];color=IM_COL32((rgb>>16)&255,(rgb>>8)&255,rgb&255,255);return true;
|
||||
}
|
||||
inline std::vector<run> parse(const std::string& source,ImU32 base) {
|
||||
std::vector<run> out;ImU32 color=base;bool explicit_color=false;
|
||||
auto add=[&](char c){if(out.empty() || out.back().color!=color || out.back().explicit_color!=explicit_color)out.push_back({{},color,explicit_color});out.back().text+=c;};
|
||||
for(size_t i=0;i<source.size();) {
|
||||
const auto c=static_cast<unsigned char>(source[i]);
|
||||
if(c==0xa7 || (c==0xc2 && i+1<source.size() && static_cast<unsigned char>(source[i+1])==0xa7)) {
|
||||
i+=c==0xc2 ? 2:1;if(i==source.size())break;
|
||||
const char code=source[i++];
|
||||
if(code=='r' || code=='R'){color=base;explicit_color=false;}
|
||||
else if(minecraft_color(code,color))explicit_color=true;
|
||||
continue;
|
||||
}
|
||||
++i;if(c>=32 || c=='\n' || c=='\t')add(char(c));
|
||||
}
|
||||
return out;
|
||||
}
|
||||
inline void tint_range(std::vector<run>& runs,size_t first,size_t last,ImU32 color) {
|
||||
std::vector<run> out;size_t offset=0;
|
||||
for(const auto& part:runs) {
|
||||
const size_t end=offset+part.text.size(),lo=(std::max)(first,offset),hi=(std::min)(last,end);
|
||||
if(lo>=hi || part.explicit_color)out.push_back(part);
|
||||
else {
|
||||
if(lo>offset)out.push_back({part.text.substr(0,lo-offset),part.color,part.explicit_color});
|
||||
out.push_back({part.text.substr(lo-offset,hi-lo),color,false});
|
||||
if(hi<end)out.push_back({part.text.substr(hi-offset),part.color,part.explicit_color});
|
||||
}
|
||||
offset=end;
|
||||
}
|
||||
runs=std::move(out);
|
||||
}
|
||||
inline std::vector<run> shorten(const std::vector<run>& runs,size_t limit) {
|
||||
size_t total=0;for(const auto& part:runs)total+=part.text.size();if(total<=limit)return runs;
|
||||
std::vector<run> out;size_t remaining=limit;
|
||||
for(auto part:runs) {
|
||||
if(part.text.size()>remaining) {
|
||||
size_t end=remaining;while(end && (static_cast<unsigned char>(part.text[end])&0xc0)==0x80)--end;
|
||||
part.text.resize(end);part.text+="...";out.push_back(std::move(part));return out;
|
||||
}
|
||||
remaining-=part.text.size();out.push_back(std::move(part));
|
||||
}
|
||||
return out;
|
||||
}
|
||||
struct piece {std::string text;ImU32 color;ImVec2 position;};
|
||||
struct layout {std::vector<piece> pieces;ImVec2 size{};};
|
||||
inline layout arrange(const std::vector<run>& runs,ImFont* font,float size,float wrap) {
|
||||
struct glyph {const char* first;const char* last;ImU32 color;float width;bool space,newline;};
|
||||
std::vector<glyph> glyphs;
|
||||
for(const auto& part:runs)for(size_t at=0;at<part.text.size();) {
|
||||
const char* first=part.text.data()+at;const unsigned char c=*first;
|
||||
size_t n=c<0x80 ? 1:(c&0xe0)==0xc0 ? 2:(c&0xf0)==0xe0 ? 3:(c&0xf8)==0xf0 ? 4:1;
|
||||
n=(std::min)(n,part.text.size()-at);const char* last=first+n;
|
||||
const bool newline=c=='\n',space=c==' ' || c=='\t';
|
||||
const float width=newline ? 0:c=='\t' ? font->CalcTextSizeA(size,FLT_MAX,0," ").x*4:font->CalcTextSizeA(size,FLT_MAX,0,first,last).x;
|
||||
glyphs.push_back({first,last,part.color,width,space,newline});at+=n;
|
||||
}
|
||||
layout out;float x=0,y=0;bool wrapped=false;wrap=(std::max)(1.f,wrap);
|
||||
for(size_t i=0;i<glyphs.size();++i) {
|
||||
const auto& g=glyphs[i];
|
||||
if(g.newline){x=0;y+=size;wrapped=false;continue;}
|
||||
if(!g.space && (i==0 || glyphs[i-1].space || glyphs[i-1].newline)) {
|
||||
float word=0;for(size_t j=i;j<glyphs.size() && !glyphs[j].space && !glyphs[j].newline;++j)word+=glyphs[j].width;
|
||||
if(x>0 && x+word>wrap){x=0;y+=size;wrapped=true;}
|
||||
}
|
||||
if(x>0 && x+g.width>wrap){x=0;y+=size;wrapped=true;}
|
||||
if(g.space && x==0 && wrapped)continue;
|
||||
if(g.first[0]!='\t') {
|
||||
if(out.pieces.empty() || out.pieces.back().color!=g.color || out.pieces.back().position.y!=y)out.pieces.push_back({{},g.color,{x,y}});
|
||||
out.pieces.back().text.append(g.first,g.last);
|
||||
}else out.pieces.push_back({{},g.color,{x+g.width,y}});
|
||||
x+=g.width;out.size.x=(std::max)(out.size.x,x);wrapped=false;
|
||||
}
|
||||
out.size.y=glyphs.empty() ? 0:y+size;return out;
|
||||
}
|
||||
inline void draw(ImDrawList* list,const layout& value,ImFont* font,float size,ImVec2 origin,float alpha=1) {
|
||||
for(const auto& part:value.pieces) {
|
||||
const ImU32 a=ImU32(((part.color>>IM_COL32_A_SHIFT)&255)*std::clamp(alpha,0.f,1.f));
|
||||
list->AddText(font,size,{origin.x+part.position.x,origin.y+part.position.y},(part.color&~IM_COL32_A_MASK)|(a<<IM_COL32_A_SHIFT),part.text.c_str());
|
||||
}
|
||||
}
|
||||
inline void widget(const std::vector<run>& runs) {
|
||||
auto* font=ImGui::GetFont();const float size=ImGui::GetFontSize();
|
||||
const auto value=arrange(runs,font,size,ImGui::GetContentRegionAvail().x);
|
||||
draw(ImGui::GetWindowDrawList(),value,font,size,ImGui::GetCursorScreenPos(),ImGui::GetStyle().Alpha);
|
||||
ImGui::Dummy({value.size.x,(std::max)(size,value.size.y)});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <atomic>
|
||||
#include <array>
|
||||
#include <cstdio>
|
||||
#include <d3d11.h>
|
||||
#include <wrl/client.h>
|
||||
#include "fonts.h"
|
||||
#include "theme.h"
|
||||
|
||||
namespace startup_intro {
|
||||
inline constexpr float duration=2.8f;
|
||||
inline constexpr float hold_age=1.85f;
|
||||
inline float unit(float value){return std::clamp(value,0.f,1.f);}
|
||||
inline float ease(float value){value=unit(value);return 1.f-std::pow(1.f-value,3.f);}
|
||||
inline float smooth(float value){value=unit(value);return value*value*(3.f-2.f*value);}
|
||||
inline ImU32 ink(ImVec4 color,float alpha){color.w*=unit(alpha);return ImGui::ColorConvertFloat4ToU32(color);}
|
||||
|
||||
enum class stage {hooks,modules,input,profile,hud,ready};
|
||||
inline std::atomic<stage> loading_stage{stage::hooks};
|
||||
inline std::atomic<unsigned> modules_done{0},modules_total{0};
|
||||
inline float completion(stage phase,unsigned done,unsigned total) {
|
||||
switch(phase) {
|
||||
case stage::hooks:return .05f;
|
||||
case stage::modules:return .35f+.4f*(total ? unit(float(done)/total) : 0);
|
||||
case stage::input:return .75f;
|
||||
case stage::profile:return .85f;
|
||||
case stage::hud:return .95f;
|
||||
case stage::ready:return 1.f;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
inline const char* stage_name(stage phase) {
|
||||
switch(phase) {
|
||||
case stage::hooks:return "loading hooks";
|
||||
case stage::modules:return "loading modules";
|
||||
case stage::input:return "setting up input";
|
||||
case stage::profile:return "loading profile";
|
||||
case stage::hud:return "preparing hud";
|
||||
case stage::ready:return "ready";
|
||||
}
|
||||
return "loading";
|
||||
}
|
||||
inline Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> texture;
|
||||
inline void initialize_texture(ID3D11Device* device) {
|
||||
if(!device || texture)return;
|
||||
// Small repeatable woven/grain tile; generated once and shared by every
|
||||
// frame. No image decoding or per-pixel CPU work during the animation.
|
||||
std::array<unsigned,128*128> pixels{};
|
||||
unsigned seed=0x416d6e65;
|
||||
for(unsigned y=0;y<128;++y)for(unsigned x=0;x<128;++x) {
|
||||
seed^=seed<<13;seed^=seed>>17;seed^=seed<<5;
|
||||
const unsigned weave=((x/2+y/2)&1) ? 9 : 0;
|
||||
pixels[y*128+x]=IM_COL32(160,160,160,9+(seed&31)+weave);
|
||||
}
|
||||
D3D11_TEXTURE2D_DESC desc{};desc.Width=desc.Height=128;desc.MipLevels=desc.ArraySize=1;
|
||||
desc.Format=DXGI_FORMAT_R8G8B8A8_UNORM;desc.SampleDesc.Count=1;
|
||||
desc.Usage=D3D11_USAGE_IMMUTABLE;desc.BindFlags=D3D11_BIND_SHADER_RESOURCE;
|
||||
D3D11_SUBRESOURCE_DATA data{pixels.data(),128*4,0};
|
||||
Microsoft::WRL::ComPtr<ID3D11Texture2D> image;
|
||||
if(SUCCEEDED(device->CreateTexture2D(&desc,&data,&image)))
|
||||
device->CreateShaderResourceView(image.Get(),nullptr,&texture);
|
||||
}
|
||||
|
||||
struct playback {
|
||||
double previous=-1;
|
||||
float age=0;
|
||||
bool finished=false;
|
||||
float step(double now,bool ready,bool skip_requested=false) {
|
||||
if(finished)return -1;
|
||||
const double delta=previous<0 ? 0 : (std::max)(0.0,now-previous);
|
||||
previous=now;
|
||||
// Start immediately, but keep the fully assembled mark on an opaque
|
||||
// field until hooks, profile activation and a module frame are ready.
|
||||
if(skip_requested)age=(std::max)(age,hold_age);
|
||||
age+=float(delta>.25 ? 1.0/60.0 : delta);
|
||||
if(!ready)age=(std::min)(age,hold_age);
|
||||
if(age>=duration){finished=true;return -1;}
|
||||
return age;
|
||||
}
|
||||
};
|
||||
inline playback animation;
|
||||
|
||||
inline float caption_size(float scale){return std::round(std::clamp(fonts::k_label_size*scale,9.f,(std::max)(15.f,fonts::k_label_size+4)));}
|
||||
inline ImVec2 caption_position(float x,float y){return {std::round(x),std::round(y)};}
|
||||
inline std::string welcome_text(const char* user){return user && *user ? std::string("welcome, ")+user:std::string{};}
|
||||
|
||||
inline void render(float age,ImVec2 screen,float progress=0,const char* status="loading hooks",double motion=0,const char* user="") {
|
||||
if(age<0 || age>=duration || screen.x<1 || screen.y<1)return;
|
||||
auto* draw=ImGui::GetForegroundDrawList();
|
||||
const float scale=std::clamp((std::min)(screen.x/900.f,screen.y/650.f),.35f,1.35f);
|
||||
const float enter=smooth(age/.18f),exit=smooth((age-2.12f)/.68f);
|
||||
const float alpha=enter*(1-smooth((age-2.02f)/.4f));
|
||||
const ImVec2 center{screen.x*.5f,screen.y*.5f};
|
||||
|
||||
// The opaque field clears only after loading has completed.
|
||||
const float edge=-screen.y*.2f+exit*(screen.x+screen.y*.4f);
|
||||
const float top=std::clamp(edge+screen.y*.12f,0.f,screen.x);
|
||||
const float bottom=std::clamp(edge-screen.y*.12f,0.f,screen.x);
|
||||
const ImVec2 field[]={{top,0},{screen.x,0},screen,{bottom,screen.y}};
|
||||
if(exit<=0)draw->AddRectFilled({0,0},screen,ink(theme::bg(),1.f));
|
||||
else draw->AddConvexPolyFilled(field,4,ink(theme::bg(),1.f));
|
||||
const float grain=1-smooth((age-1.95f)/.17f);
|
||||
if(texture && grain>0) {
|
||||
draw->PushClipRect({0,0},screen,true);
|
||||
const float drift=float(std::fmod(motion*4,128.0));
|
||||
for(float y=-128+drift;y<screen.y;y+=128)
|
||||
for(float x=-128+drift*.5f;x<screen.x;x+=128)
|
||||
draw->AddImage(reinterpret_cast<ImTextureID>(texture.Get()),{x,y},{x+128,y+128},{0,0},{1,1},ink({1,1,1,1},grain*.22f));
|
||||
draw->PopClipRect();
|
||||
}
|
||||
if(exit>0 && exit<1)
|
||||
draw->AddLine({edge+screen.y*.12f,0},{edge-screen.y*.12f,screen.y},ink(theme::accent(),(1-exit)*.5f),scale);
|
||||
|
||||
ImFont* face=fonts::heading ? fonts::heading : ImGui::GetFont();
|
||||
float title_size=theme::current.intro_size*scale;
|
||||
auto title=fonts::text_size(face,title_size,theme::brand_name());
|
||||
const float logo_h=70*scale,logo_w=theme::logo_width(logo_h),gap=theme::current.logo==2 ? 0:23*scale;
|
||||
const float available=(std::max)(20.f,screen.x-40*scale-logo_w-gap);
|
||||
if(title.x>available) {title_size*=available/title.x;title=fonts::text_size(face,title_size,theme::brand_name());}
|
||||
const float width=logo_w+gap+title.x;
|
||||
const float left=center.x-width*.5f;
|
||||
const ImVec2 origin{left,center.y-logo_h*.5f-6*scale};
|
||||
|
||||
// Short, precise face movements lock the familiar cube into place.
|
||||
const float assemble=ease((age-.14f)/.48f);
|
||||
auto pt=[&](float x,float y,float dx,float dy) {
|
||||
return ImVec2{origin.x+(x-43)*logo_h/199+dx*(1-assemble)*scale,
|
||||
origin.y+(y-36)*logo_h/199+dy*(1-assemble)*scale};
|
||||
};
|
||||
const ImVec2 cap[]={pt(130,36,0,-18),pt(217,86,0,-18),pt(130,137,0,-18),pt(43,86,0,-18)};
|
||||
const ImVec2 lhs[]={pt(43,86,-16,9),pt(130,137,-16,9),pt(130,235,-16,9),pt(43,184,-16,9)};
|
||||
const ImVec2 rhs[]={pt(130,137,16,9),pt(217,86,16,9),pt(217,184,16,9),pt(130,235,16,9)};
|
||||
const float mark=alpha*smooth((age-.12f)/.3f);
|
||||
if(theme::current.logo==0) {
|
||||
draw->AddConvexPolyFilled(cap,4,ink(theme::logo_color(0),mark));
|
||||
draw->AddConvexPolyFilled(lhs,4,ink(theme::logo_color(1),mark));
|
||||
draw->AddConvexPolyFilled(rhs,4,ink(theme::logo_color(2),mark));
|
||||
} else theme::draw_logo(draw,origin,logo_h,mark);
|
||||
|
||||
// The whole word slides out from behind the cube through a fixed mask.
|
||||
// Keep the normal letter spacing used by the rest of the client.
|
||||
const float reveal=ease((age-.4f)/.6f);
|
||||
const float text_x=left+logo_w+gap;
|
||||
draw->PushClipRect({text_x,center.y-logo_h},{text_x+title.x*reveal+1,center.y+logo_h},true);
|
||||
draw->AddText(face,title_size,{text_x-(1-reveal)*24*scale,center.y-title.y*.5f-6*scale},ink(theme::fg(),alpha*reveal),theme::brand_name());
|
||||
draw->PopClipRect();
|
||||
|
||||
// Stage completion comes from actual loader checkpoints, not intro age.
|
||||
const float bar_alpha=alpha*smooth((age-.55f)/.3f);
|
||||
const float y=center.y+logo_h*.5f+13*scale;
|
||||
theme::accent_bar(draw,{left,y},{left+width,y+5*scale},progress,bar_alpha);
|
||||
ImFont* body=fonts::label ? fonts::label : ImGui::GetFont();
|
||||
// Bake captions at a whole-pixel size and draw on whole-pixel origins.
|
||||
// Fractional scaling/placement resamples the hinted small glyphs.
|
||||
const float small_size=caption_size(scale);
|
||||
draw->AddText(body,small_size,caption_position(left,y+12*scale),ink(theme::muted(),bar_alpha),status);
|
||||
char percent[8];snprintf(percent,sizeof(percent),"%d%%",int(unit(progress)*100+.5f));
|
||||
const auto size=fonts::text_size(body,small_size,percent);
|
||||
draw->AddText(body,small_size,caption_position(left+width-size.x,y+12*scale),ink(theme::muted(),bar_alpha),percent);
|
||||
auto welcome=welcome_text(user);
|
||||
if(!welcome.empty()) {
|
||||
// Licensed account names are ASCII and bounded to 24 characters;
|
||||
// still fit the greeting when the intro is shown on a small window.
|
||||
const auto full=welcome;
|
||||
while(welcome.size()>3 && fonts::text_size(body,small_size,welcome.c_str()).x>width) {
|
||||
welcome=full.substr(0,welcome.size()-4)+"...";
|
||||
}
|
||||
draw->AddText(body,small_size,caption_position(left,y+12*scale+small_size+6*scale),ink(theme::fg(),bar_alpha),welcome.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
inline void draw(bool ready,bool skip_requested=false,const char* user="") {
|
||||
const float age=animation.step(ImGui::GetTime(),ready,skip_requested);
|
||||
const auto phase=loading_stage.load();
|
||||
if(age>=0)render(age,ImGui::GetIO().DisplaySize,
|
||||
completion(phase,modules_done.load(),modules_total.load()),stage_name(phase),ImGui::GetTime(),user);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
#pragma once
|
||||
#include "imgui.h"
|
||||
#include "../game/target_portrait.h"
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
namespace target_hud_layout {
|
||||
inline ImVec2 follow(ImVec2 anchor,ImVec2 size,ImVec2 screen,ImVec2 offset,float scale) {
|
||||
const float margin=4;
|
||||
return {std::clamp(anchor.x+offset.x*scale,margin,(std::max)(margin,screen.x-size.x-margin)),
|
||||
std::clamp(anchor.y-size.y*.5f+offset.y*scale,margin,(std::max)(margin,screen.y-size.y-margin))};
|
||||
}
|
||||
struct motion {
|
||||
ImVec2 position{},filtered{},slide_from{};
|
||||
uint32_t target=0;float elapsed=0;bool valid=false,sliding=false;
|
||||
void reset() {valid=false;sliding=false;elapsed=0;}
|
||||
ImVec2 update(ImVec2 goal,uint32_t identity,float dt,float speed,float duration) {
|
||||
if(!std::isfinite(goal.x) || !std::isfinite(goal.y))return position;
|
||||
if(!valid) {position=filtered=goal;target=identity;valid=true;return position;}
|
||||
if(identity!=target) {
|
||||
// Restart from the currently visible position even if another
|
||||
// switch is still in flight, so rapid retargeting never snaps.
|
||||
slide_from=position;filtered=goal;target=identity;elapsed=0;sliding=true;
|
||||
}
|
||||
dt=std::isfinite(dt) ? std::clamp(dt,0.f,.1f):0.f;
|
||||
speed=std::isfinite(speed) ? std::clamp(speed,1.f,100.f):24.f;
|
||||
duration=std::isfinite(duration) ? std::clamp(duration,0.f,2.f):.24f;
|
||||
const float amount=-std::expm1(-speed*dt);
|
||||
filtered.x+=(goal.x-filtered.x)*amount;filtered.y+=(goal.y-filtered.y)*amount;
|
||||
if(sliding && duration>0) {
|
||||
elapsed+=dt;const float t=std::clamp(elapsed/duration,0.f,1.f);
|
||||
const float ease=t*t*t*(t*(t*6-15)+10);
|
||||
position={slide_from.x+(filtered.x-slide_from.x)*ease,slide_from.y+(filtered.y-slide_from.y)*ease};
|
||||
if(t>=1)sliding=false;
|
||||
} else {position=filtered;sliding=false;}
|
||||
return position;
|
||||
}
|
||||
};
|
||||
inline void portrait(ImDrawList* draw,const target_portraits::picture& image,ImVec2 pos,float size,float alpha) {
|
||||
if(!image || !image->width || image->width>64)return;
|
||||
// Merge identical neighboring pixels; hard pixel edges stay sharp at
|
||||
// every HUD scale without textures, sampler changes or per-frame uploads.
|
||||
// Snap the sprite as a whole, then use a fixed integer pixel grid.
|
||||
// Fractional moving/scaled rectangles otherwise crawl against the
|
||||
// rasterizer's sample positions and look like animated grain.
|
||||
pos={std::round(pos.x),std::round(pos.y)};
|
||||
const int extent=(std::max)(1,int(std::round(size)));
|
||||
const auto edge=[&](unsigned pixel){return float((pixel*extent+image->width/2)/image->width);};
|
||||
for(unsigned y=0;y<image->width;++y)for(unsigned x=0;x<image->width;) {
|
||||
const auto pixel=image->pixels[y*image->width+x];unsigned end=x+1;
|
||||
while(end<image->width && image->pixels[y*image->width+end]==pixel)++end;
|
||||
const auto color=(pixel&0xffffff)|(unsigned((pixel>>24)*alpha)<<24);
|
||||
if(color>>24)draw->AddRectFilled({pos.x+edge(x),pos.y+edge(y)},{pos.x+edge(end),pos.y+edge(y+1)},color);
|
||||
x=end;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
#pragma once
|
||||
#include <cmath>
|
||||
#include "imgui.h"
|
||||
#include "theme_state.h"
|
||||
|
||||
namespace theme {
|
||||
|
||||
inline float& k_radius_card = current.rounding;
|
||||
inline float& k_radius_button = current.rounding;
|
||||
inline float& k_radius_input = current.rounding;
|
||||
inline float& k_radius_check = current.rounding;
|
||||
|
||||
inline float clampf(float v, float lo, float hi) { return v < lo ? lo : (v > hi ? hi : v); }
|
||||
|
||||
inline ImVec4 hex(unsigned int rgb, float a = 1.f) {
|
||||
return ImVec4(((rgb >> 16) & 0xFF) / 255.f, ((rgb >> 8) & 0xFF) / 255.f, (rgb & 0xFF) / 255.f, a);
|
||||
}
|
||||
|
||||
// every color goes through the style alpha, so the whole menu fades together
|
||||
inline ImU32 u32(const ImVec4& c) {
|
||||
ImVec4 v = c;
|
||||
v.w *= ImGui::GetStyle().Alpha;
|
||||
return ImGui::ColorConvertFloat4ToU32(v);
|
||||
}
|
||||
|
||||
inline ImVec4 with_alpha(ImVec4 c, float a) { c.w = a; return c; }
|
||||
|
||||
inline ImVec4 mix(const ImVec4& a, const ImVec4& b, float t) {
|
||||
return ImVec4(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t,
|
||||
a.z + (b.z - a.z) * t, a.w + (b.w - a.w) * t);
|
||||
}
|
||||
|
||||
inline ImVec4 shade(const ImVec4& c, float f) {
|
||||
return ImVec4(clampf(c.x * f, 0.f, 1.f), clampf(c.y * f, 0.f, 1.f), clampf(c.z * f, 0.f, 1.f), c.w);
|
||||
}
|
||||
|
||||
inline float approach(float v, float target, float rate) {
|
||||
v += (target - v) * clampf(rate, 0.f, 1.f);
|
||||
return (v - target < 0.001f && target - v < 0.001f) ? target : v;
|
||||
}
|
||||
|
||||
// Reference menu: neutral charcoal, black edging, white text and #7a459c.
|
||||
inline ImVec4 bg() { return color(role::background); }
|
||||
inline ImVec4 surface() { return color(role::panel_top); }
|
||||
inline ImVec4 raised() { return color(role::raised); }
|
||||
inline ImVec4 fg() { return color(role::text); }
|
||||
inline ImVec4 muted() { return color(role::muted); }
|
||||
inline ImVec4 dim() { return color(role::dim); }
|
||||
inline ImVec4 accent() { return color(role::accent); }
|
||||
inline ImVec4 hover() { return color(role::hover); }
|
||||
inline ImVec4 line() { return color(role::border); }
|
||||
inline ImVec4 focus() { return color(role::focus); }
|
||||
inline ImVec4 danger() { return color(role::error); }
|
||||
inline ImVec4 success() { return color(role::success); }
|
||||
inline ImVec4 warning() { return color(role::warning); }
|
||||
inline ImVec4 logo_color(int face) {return current.custom_logo_colors ? color(face==0 ? role::logo_top:face==1 ? role::logo_left:role::logo_right):face==0 ? accent():face==1 ? dim():line();}
|
||||
inline ImU32 display_color(ImU32 color) {
|
||||
const auto rgb=color&~IM_COL32_A_MASK;
|
||||
ImU32 replacement=rgb;
|
||||
if(current.inherit_text && (rgb==(IM_COL32_WHITE&~IM_COL32_A_MASK) || rgb==(IM_COL32(201,181,175,255)&~IM_COL32_A_MASK)))replacement=ImGui::ColorConvertFloat4ToU32(fg())&~IM_COL32_A_MASK;
|
||||
else if(rgb==(IM_COL32(140,121,165,255)&~IM_COL32_A_MASK))replacement=ImGui::ColorConvertFloat4ToU32(accent())&~IM_COL32_A_MASK;
|
||||
return replacement|(color&IM_COL32_A_MASK);
|
||||
}
|
||||
|
||||
inline void gradient(ImDrawList* draw,ImVec2 p,ImVec2 q,ImVec4 top,ImVec4 bottom,float alpha=1.f,float fade_height=0) {
|
||||
top.w*=alpha;bottom.w*=alpha;
|
||||
if(current.rounding<=0) {
|
||||
const float end=fade_height>0 ? (std::min)(q.y,p.y+fade_height):q.y;
|
||||
draw->AddRectFilledMultiColor(p,{q.x,end},u32(top),u32(top),u32(bottom),u32(bottom));
|
||||
if(end<q.y)draw->AddRectFilled({p.x,end},q,u32(bottom));
|
||||
}
|
||||
else {
|
||||
const int first=draw->VtxBuffer.Size;draw->AddRectFilled(p,q,IM_COL32_WHITE,current.rounding);
|
||||
for(int i=first;i<draw->VtxBuffer.Size;++i) {
|
||||
auto& v=draw->VtxBuffer[i];auto tint=mix(top,bottom,clampf((v.pos.y-p.y)/(std::max)(1.f,fade_height>0 ? fade_height:q.y-p.y),0,1));
|
||||
tint.w*=float(v.col>>IM_COL32_A_SHIFT)/255;v.col=u32(tint);
|
||||
}
|
||||
}
|
||||
}
|
||||
inline void panel(ImDrawList* draw,ImVec2 p,ImVec2 q,float alpha=1.f,bool accent_strip=true) {
|
||||
alpha*=current.panel_opacity;
|
||||
gradient(draw,p,q,surface(),color(role::panel_bottom),alpha);
|
||||
if(accent_strip && current.accent_strips && q.y-p.y>8) {
|
||||
const float inset=(std::max)(1.f,current.rounding);
|
||||
draw->AddRectFilled({p.x+inset,p.y+1},{q.x-inset,p.y+3},u32(with_alpha(accent(),alpha)));
|
||||
draw->AddRectFilled({p.x+inset,p.y+3},{q.x-inset,p.y+4},u32(with_alpha(shade(accent(),current.gradient_shade),alpha)));
|
||||
}
|
||||
if(current.border_width>0)draw->AddRect({p.x+1,p.y+1},{q.x-1,q.y-1},u32(with_alpha(line(),alpha)),current.rounding,0,current.border_width);
|
||||
}
|
||||
inline void control(ImDrawList* draw,ImVec2 p,ImVec2 q,bool selected=false,bool hovered=false,bool held=false,float alpha=1.f) {
|
||||
const auto top=color(selected ? role::selected_top:held ? role::held_top:hovered ? role::hover_top:role::control_top);
|
||||
const auto bottom=color(selected ? role::selected_bottom:held ? role::held_bottom:hovered ? role::hover_bottom:role::control_bottom);
|
||||
gradient(draw,p,q,top,bottom,alpha);
|
||||
if(current.border_width>0)draw->AddRect(p,q,u32(with_alpha(line(),alpha)),current.rounding,0,current.border_width);
|
||||
}
|
||||
inline void bar(ImDrawList* draw,ImVec2 p,ImVec2 q,float fraction,ImVec4 tint,float alpha=1.f) {
|
||||
gradient(draw,p,q,color(role::track_top),color(role::track_bottom),alpha);
|
||||
fraction=std::isfinite(fraction) ? clampf(fraction,0.f,1.f) : 0;
|
||||
if(fraction>0)gradient(draw,p,{p.x+(q.x-p.x)*fraction,q.y},tint,shade(tint,current.gradient_shade),alpha);
|
||||
draw->AddLine({p.x+1,p.y+1},{q.x-1,p.y+1},u32(with_alpha(color(role::track_highlight),alpha)));
|
||||
if(current.border_width>0)draw->AddRect(p,q,u32(with_alpha(color(role::track_border),alpha)),current.rounding,0,current.border_width);
|
||||
}
|
||||
inline void accent_bar(ImDrawList* draw,ImVec2 p,ImVec2 q,float fraction,float alpha=1.f) {
|
||||
bar(draw,p,q,fraction,accent(),alpha);
|
||||
}
|
||||
|
||||
// the isometric cube from the launcher's login screen; returns its width
|
||||
inline float draw_logo(ImDrawList* dl, ImVec2 pos, float height, float alpha = 1.f) {
|
||||
if(current.logo==2)return 0;
|
||||
if(current.logo==3 && custom_icon && custom_icon(dl,pos,height,alpha))return height;
|
||||
if(current.logo==1) {
|
||||
auto* face=ImGui::GetFont();const auto size=face->CalcTextSizeA(height,FLT_MAX,0,current.monogram.c_str());
|
||||
const float font=height*(std::min)(1.f,height/(std::max)(1.f,size.x));
|
||||
const auto measured=face->CalcTextSizeA(font,FLT_MAX,0,current.monogram.c_str());
|
||||
dl->AddText(face,font,{std::round(pos.x+(height-measured.x)*.5f),std::round(pos.y+(height-measured.y)*.5f)},u32(with_alpha(accent(),alpha)),current.monogram.c_str());return height;
|
||||
}
|
||||
const float s = height / 199.f; // source art spans x 43..217, y 36..235
|
||||
auto pt = [&](float x, float y) { return ImVec2(pos.x + (x - 43.f) * s, pos.y + (y - 36.f) * s); };
|
||||
|
||||
const ImVec2 top[4] = { pt(130, 36), pt(217, 86), pt(130, 137), pt(43, 86) };
|
||||
const ImVec2 left[4] = { pt(43, 86), pt(130, 137), pt(130, 235), pt(43, 184) };
|
||||
const ImVec2 right[4] = { pt(130, 137), pt(217, 86), pt(217, 184), pt(130, 235) };
|
||||
|
||||
dl->AddConvexPolyFilled(top, 4, u32(with_alpha(logo_color(0), alpha)));
|
||||
dl->AddConvexPolyFilled(left, 4, u32(with_alpha(logo_color(1), alpha)));
|
||||
dl->AddConvexPolyFilled(right, 4, u32(with_alpha(logo_color(2), alpha)));
|
||||
return 174.f * s;
|
||||
}
|
||||
|
||||
inline void apply() {
|
||||
ImGuiStyle& s = ImGui::GetStyle();
|
||||
|
||||
s.WindowRounding = k_radius_card;
|
||||
s.ChildRounding = k_radius_button;
|
||||
s.FrameRounding = k_radius_input;
|
||||
s.PopupRounding = k_radius_button;
|
||||
s.ScrollbarRounding = k_radius_input;
|
||||
s.GrabRounding = k_radius_input;
|
||||
s.TabRounding = k_radius_input;
|
||||
|
||||
s.WindowBorderSize = s.ChildBorderSize = s.PopupBorderSize = s.FrameBorderSize = current.border_width;
|
||||
|
||||
s.WindowPadding = ImVec2(current.padding_x, current.padding_y);
|
||||
s.FramePadding = ImVec2(8.f, 3.f);
|
||||
s.ItemSpacing = ImVec2(6.f, current.item_gap);
|
||||
s.ItemInnerSpacing = ImVec2(6.f, current.item_gap);
|
||||
s.GrabMinSize = 16.f;
|
||||
s.ScrollbarSize = 10.f;
|
||||
|
||||
s.AntiAliasedLines = true;
|
||||
s.AntiAliasedFill = true;
|
||||
|
||||
ImVec4* c = s.Colors;
|
||||
for(int i=0;i<ImGuiCol_COUNT;++i)c[i]=raised();
|
||||
const ImVec4 clear(0.f, 0.f, 0.f, 0.f);
|
||||
|
||||
c[ImGuiCol_Text] = fg();
|
||||
c[ImGuiCol_TextDisabled] = dim();
|
||||
c[ImGuiCol_WindowBg] = bg();
|
||||
c[ImGuiCol_WindowBg].w*=current.panel_opacity;
|
||||
c[ImGuiCol_ChildBg] = clear;
|
||||
c[ImGuiCol_PopupBg] = color(role::popup_top);
|
||||
c[ImGuiCol_PopupBg].w*=current.panel_opacity;
|
||||
c[ImGuiCol_Border] = line();
|
||||
c[ImGuiCol_BorderShadow] = clear;
|
||||
|
||||
c[ImGuiCol_FrameBg] = bg(); // inputs: Bg fill, Line border
|
||||
c[ImGuiCol_FrameBgHovered] = mix(bg(), raised(), 0.6f);
|
||||
c[ImGuiCol_FrameBgActive] = raised();
|
||||
|
||||
c[ImGuiCol_TitleBg] = surface();
|
||||
c[ImGuiCol_TitleBgActive] = surface();
|
||||
c[ImGuiCol_TitleBgCollapsed] = surface();
|
||||
|
||||
c[ImGuiCol_ScrollbarBg] = clear;
|
||||
c[ImGuiCol_ScrollbarGrab] = line();
|
||||
c[ImGuiCol_ScrollbarGrabHovered] = dim();
|
||||
c[ImGuiCol_ScrollbarGrabActive] = muted();
|
||||
|
||||
c[ImGuiCol_CheckMark] = fg();
|
||||
c[ImGuiCol_SliderGrab] = accent();
|
||||
c[ImGuiCol_SliderGrabActive] = focus();
|
||||
|
||||
c[ImGuiCol_Button] = raised();
|
||||
c[ImGuiCol_ButtonHovered] = hover();
|
||||
c[ImGuiCol_ButtonActive] = hover();
|
||||
|
||||
c[ImGuiCol_Header] = shade(accent(),.5f);
|
||||
c[ImGuiCol_HeaderHovered] = hover();
|
||||
c[ImGuiCol_HeaderActive] = accent();
|
||||
c[ImGuiCol_Separator] = line();
|
||||
c[ImGuiCol_SeparatorHovered]=muted();c[ImGuiCol_SeparatorActive]=accent();
|
||||
c[ImGuiCol_MenuBarBg]=bg();c[ImGuiCol_CheckboxSelectedBg]=accent();
|
||||
c[ImGuiCol_InputTextCursor]=fg();c[ImGuiCol_TextSelectedBg]=with_alpha(accent(),.6f);
|
||||
c[ImGuiCol_ResizeGrip]=dim();c[ImGuiCol_ResizeGripHovered]=muted();c[ImGuiCol_ResizeGripActive]=accent();
|
||||
c[ImGuiCol_Tab]=raised();c[ImGuiCol_TabSelected]=color(role::selected_top);c[ImGuiCol_TabHovered]=hover();
|
||||
c[ImGuiCol_TabSelectedOverline]=accent();c[ImGuiCol_TabDimmedSelectedOverline]=shade(accent(),.5f);
|
||||
c[ImGuiCol_PlotLines]=fg();c[ImGuiCol_PlotLinesHovered]=accent();
|
||||
c[ImGuiCol_PlotHistogram]=accent();c[ImGuiCol_PlotHistogramHovered]=fg();
|
||||
c[ImGuiCol_TableHeaderBg]=surface();c[ImGuiCol_TableBorderStrong]=line();c[ImGuiCol_TableBorderLight]=raised();
|
||||
c[ImGuiCol_TableRowBg]=clear;c[ImGuiCol_TableRowBgAlt]=with_alpha(fg(),.025f);
|
||||
c[ImGuiCol_TextLink]=accent();c[ImGuiCol_TreeLines]=dim();
|
||||
c[ImGuiCol_DragDropTarget]=accent();c[ImGuiCol_DragDropTargetBg]=with_alpha(accent(),.15f);
|
||||
c[ImGuiCol_UnsavedMarker]=accent();c[ImGuiCol_NavCursor]=fg();c[ImGuiCol_NavWindowingHighlight]=muted();
|
||||
c[ImGuiCol_NavWindowingDimBg]=with_alpha(line(),.45f);c[ImGuiCol_ModalWindowDimBg]=with_alpha(line(),.6f);
|
||||
}
|
||||
|
||||
} // namespace theme
|
||||
@@ -0,0 +1,48 @@
|
||||
#pragma once
|
||||
#include "imgui.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <string>
|
||||
|
||||
namespace theme {
|
||||
enum class role {background,panel_top,panel_bottom,raised,text,muted,dim,accent,hover,border,focus,
|
||||
success,warning,error,control_top,control_bottom,hover_top,hover_bottom,selected_top,selected_bottom,
|
||||
held_top,held_bottom,input_top,input_bottom,input_highlight,input_border,track_top,track_bottom,
|
||||
track_highlight,track_border,logo_top,logo_left,logo_right,popup_top,popup_bottom,text_outline,count};
|
||||
struct color_definition {const char* name;unsigned rgb;int section;};
|
||||
inline constexpr color_definition color_definitions[]={
|
||||
{"background",0x212121,1},{"panel top",0x2b2b2b,1},{"panel bottom",0x1c1c1c,1},
|
||||
{"raised surface",0x1e1e1e,1},{"text",0xffffff,1},{"muted text",0xa0a0a0,1},
|
||||
{"dim text",0x787878,1},{"accent",0x7a459c,1},{"hover",0x282828,1},{"borders",0x000000,1},
|
||||
{"focus",0xffffff,1},{"success",0x79c78c,3},{"warning",0xe5b65c,3},{"error",0xdf6868,3},
|
||||
{"control top",0x1e1e1e,2},{"control bottom",0x161616,2},{"hover top",0x282828,2},
|
||||
{"hover bottom",0x1c1c1c,2},{"selected top",0x464646,2},{"selected bottom",0x282828,2},
|
||||
{"held top",0x2d2d2d,2},{"held bottom",0x232323,2},{"input top",0x232323,2},
|
||||
{"input bottom",0x2c2c2c,2},{"input highlight",0x2e2e2e,2},{"input border",0x0c0c0c,2},
|
||||
{"bar track top",0x232323,2},{"bar track bottom",0x2c2c2c,2},
|
||||
{"bar highlight",0x2e2e2e,2},{"bar border",0x0c0c0c,2},
|
||||
{"logo top",0x7a459c,6},{"logo left",0x787878,6},{"logo right",0x000000,6},
|
||||
{"popup top",0x1e1e1e,1},{"popup bottom",0x1a1a1a,1},{"text outline color",0x000000,4}
|
||||
};
|
||||
static_assert(std::size(color_definitions)==size_t(role::count));
|
||||
inline ImVec4 rgb(unsigned value,float alpha=1) {
|
||||
return {float((value>>16)&255)/255,float((value>>8)&255)/255,float(value&255)/255,alpha};
|
||||
}
|
||||
struct configuration {
|
||||
std::array<ImVec4,size_t(role::count)> colors{};
|
||||
float rounding=0,border_width=1,panel_opacity=1,gradient_shade=.5f,density=1,backdrop=.6f;
|
||||
float padding_x=12,padding_y=8,item_gap=3,hud_padding_x=12,hud_padding_y=7;
|
||||
bool accent_strips=true,inherit_text=true,custom_logo_colors=false,lowercase=true,text_outline=true;
|
||||
int font_family=0,font_weight=0,font_hinting=0,body_size=13,label_size=11,heading_size=13,media_size=13,intro_size=51;
|
||||
int logo=0;std::string name="amnesia",monogram="a",font_path,icon_path;
|
||||
unsigned font_revision=0,icon_revision=0;
|
||||
configuration() {for(size_t i=0;i<colors.size();++i)colors[i]=rgb(color_definitions[i].rgb);}
|
||||
};
|
||||
inline configuration current;
|
||||
inline ImVec4 color(role value){return current.colors[size_t(value)];}
|
||||
using icon_callback=bool(*)(ImDrawList*,ImVec2,float,float);
|
||||
inline icon_callback custom_icon=nullptr;
|
||||
inline const char* brand_name(){return current.name.empty() ? "amnesia":current.name.c_str();}
|
||||
inline float row_height(float base,float text_size){return (std::max)(base*current.density,text_size+8.f);}
|
||||
inline float logo_width(float height){return current.logo==2 ? 0:current.logo==0 ? height*174/199:height;}
|
||||
}
|
||||
@@ -0,0 +1,164 @@
|
||||
#pragma once
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
#include <type_traits>
|
||||
#include "imgui.h"
|
||||
#include "fonts.h"
|
||||
#include "theme.h"
|
||||
|
||||
namespace widgets {
|
||||
|
||||
inline constexpr float k_button_height = 26.f;
|
||||
|
||||
// Reference tab/button gradients fitted to the client's existing row bounds.
|
||||
inline bool button(const char* id, const char* text, bool primary = false, float width = 0.f, float height = k_button_height) {
|
||||
ImDrawList* dl = ImGui::GetWindowDrawList();
|
||||
const ImVec2 p = ImGui::GetCursorScreenPos();
|
||||
const float w = width > 0.f ? width : ImGui::GetContentRegionAvail().x;
|
||||
fonts::push_font(fonts::semibold,fonts::k_body_size);
|
||||
const auto ts=ImGui::CalcTextSize(text,nullptr,false,(std::max)(1.f,w-12));ImGui::PopFont();
|
||||
const float h = (std::max)(theme::row_height(height,fonts::k_body_size),ts.y+8);
|
||||
|
||||
ImGui::PushID(id);
|
||||
const bool clicked = ImGui::InvisibleButton("##b", ImVec2(w, h));
|
||||
const bool hovered = ImGui::IsItemHovered();
|
||||
const bool held = ImGui::IsItemActive();
|
||||
ImGui::PopID();
|
||||
|
||||
ImVec4 text_col = primary || hovered ? theme::fg() : theme::muted();
|
||||
|
||||
const ImVec2 q(p.x + w, p.y + h);
|
||||
theme::control(dl,p,q,primary,hovered,held);
|
||||
|
||||
dl->AddText(fonts::semibold, fonts::k_body_size,
|
||||
ImVec2(floorf(p.x + (w - ts.x) * 0.5f), floorf(p.y + (h - ts.y) * 0.5f)),
|
||||
theme::u32(text_col), text,nullptr,(std::max)(1.f,w-12));
|
||||
return clicked;
|
||||
}
|
||||
|
||||
// The original hitbox and label position surround a text-height checkbox.
|
||||
inline bool checkbox(const char* label, bool* value, float width = 0.f, float height = 22.f) {
|
||||
ImDrawList* dl = ImGui::GetWindowDrawList();
|
||||
const ImVec2 p = ImGui::GetCursorScreenPos();
|
||||
const float w = width > 0.f ? width : ImGui::GetContentRegionAvail().x;
|
||||
const float box = fonts::k_body_size + 6.f;
|
||||
const float wrap=(std::max)(1.f,w-box-8.f);
|
||||
fonts::push_font(fonts::body,fonts::k_body_size);const auto ts=ImGui::CalcTextSize(label,nullptr,false,wrap);ImGui::PopFont();
|
||||
const float h = (std::max)(theme::row_height(height,fonts::k_body_size),ts.y+4);
|
||||
|
||||
ImGui::PushID(label);
|
||||
const bool pressed = ImGui::InvisibleButton("##c", ImVec2(w, h));
|
||||
const bool hovered = ImGui::IsItemHovered();
|
||||
ImGui::PopID();
|
||||
|
||||
if (pressed) *value = !*value;
|
||||
|
||||
|
||||
const float visual_box=fonts::k_body_size;
|
||||
const ImVec2 b0(p.x, p.y + (h - visual_box) * 0.5f);
|
||||
const ImVec2 b1(b0.x + visual_box, b0.y + visual_box);
|
||||
const auto top=*value ? theme::accent() : theme::color(hovered ? theme::role::hover_top:theme::role::control_top);
|
||||
const auto bottom=*value ? theme::shade(theme::accent(),theme::current.gradient_shade) : theme::color(hovered ? theme::role::hover_bottom:theme::role::control_bottom);
|
||||
theme::gradient(dl,b0,b1,top,bottom);
|
||||
if(theme::current.border_width>0)dl->AddRect(b0,b1,theme::u32(theme::line()),theme::current.rounding,0,theme::current.border_width);
|
||||
|
||||
dl->AddText(fonts::body, fonts::k_body_size,
|
||||
ImVec2(floorf(p.x + box + 8.f), floorf(p.y + (h - ts.y) * 0.5f)),
|
||||
theme::u32(theme::fg()), label,nullptr,wrap);
|
||||
return pressed;
|
||||
}
|
||||
|
||||
inline void transparent_frame() {
|
||||
for(auto color:{ImGuiCol_FrameBg,ImGuiCol_FrameBgHovered,ImGuiCol_FrameBgActive,
|
||||
ImGuiCol_SliderGrab,ImGuiCol_SliderGrabActive})ImGui::PushStyleColor(color,{0,0,0,0});
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameBorderSize,0.f);
|
||||
}
|
||||
inline void end_transparent_frame(){ImGui::PopStyleVar();ImGui::PopStyleColor(5);}
|
||||
|
||||
inline bool input_text(const char* id,char* value,size_t capacity,float width=0) {
|
||||
auto* draw=ImGui::GetWindowDrawList();const auto p=ImGui::GetCursorScreenPos();
|
||||
const float w=width>0 ? width : ImGui::CalcItemWidth();
|
||||
const ImVec2 q{p.x+w,p.y+ImGui::GetFrameHeight()};
|
||||
theme::gradient(draw,p,q,theme::color(theme::role::input_top),theme::color(theme::role::input_bottom));
|
||||
transparent_frame();ImGui::SetNextItemWidth(w);
|
||||
const bool changed=ImGui::InputText(id,value,capacity);
|
||||
end_transparent_frame();
|
||||
draw->AddLine({p.x+1,p.y+1},{q.x-1,p.y+1},theme::u32(theme::color(theme::role::input_highlight)));
|
||||
if(theme::current.border_width>0)draw->AddRect(p,q,theme::u32(theme::color(theme::role::input_border)),theme::current.rounding,0,theme::current.border_width);
|
||||
return changed;
|
||||
}
|
||||
|
||||
inline bool begin_combo(const char* id,const char* preview,float width=0) {
|
||||
auto* draw=ImGui::GetWindowDrawList();const auto p=ImGui::GetCursorScreenPos();
|
||||
const float w=width>0 ? width : ImGui::CalcItemWidth();
|
||||
const ImVec2 q{p.x+w,p.y+ImGui::GetFrameHeight()};
|
||||
theme::gradient(draw,p,q,theme::color(theme::role::input_top),theme::color(theme::role::input_bottom));
|
||||
transparent_frame();ImGui::SetNextItemWidth(w);
|
||||
const bool open=ImGui::BeginCombo(id,nullptr,ImGuiComboFlags_NoArrowButton);
|
||||
end_transparent_frame();
|
||||
draw->AddLine({p.x+1,p.y+1},{q.x-1,p.y+1},theme::u32(theme::color(theme::role::input_highlight)));
|
||||
if(theme::current.border_width>0)draw->AddRect(p,q,theme::u32(theme::color(theme::role::input_border)),theme::current.rounding,0,theme::current.border_width);
|
||||
draw->PushClipRect({p.x+5,p.y},{q.x-20,q.y},true);
|
||||
draw->AddText({p.x+5,p.y+ImGui::GetStyle().FramePadding.y},theme::u32(theme::fg()),preview);
|
||||
draw->PopClipRect();
|
||||
draw->AddText({q.x-13,p.y+ImGui::GetStyle().FramePadding.y},theme::u32(open ? theme::accent() : theme::fg()),open ? "-" : "+");
|
||||
return open;
|
||||
}
|
||||
inline bool selectable(const char* label,bool selected) {
|
||||
const auto p=ImGui::GetCursorScreenPos();
|
||||
if(selected)theme::gradient(ImGui::GetWindowDrawList(),p,{p.x+ImGui::GetContentRegionAvail().x,p.y+ImGui::GetTextLineHeight()},theme::accent(),theme::shade(theme::accent(),.5f));
|
||||
ImGui::PushStyleColor(ImGuiCol_Header,{0,0,0,0});
|
||||
const bool clicked=ImGui::Selectable(label,selected);
|
||||
ImGui::PopStyleColor();return clicked;
|
||||
}
|
||||
|
||||
// Preserve the existing label/control rows and native keyboard/Ctrl-click
|
||||
// slider editing, while rendering the reference's filled gradient track.
|
||||
inline bool text_button(const char* text) {
|
||||
const auto p=ImGui::GetCursorScreenPos();const auto size=ImGui::CalcTextSize(text);
|
||||
const bool pressed=ImGui::InvisibleButton(text,size);
|
||||
ImGui::GetWindowDrawList()->AddText(p,theme::u32(ImGui::IsItemHovered() ? theme::accent() : theme::fg()),text);
|
||||
return pressed;
|
||||
}
|
||||
inline bool keybind(const char* id,const char* text,bool listening,float width) {
|
||||
const auto p=ImGui::GetCursorScreenPos();const auto height=theme::row_height(22,fonts::k_body_size);
|
||||
const bool clicked=ImGui::InvisibleButton(id,{width,height});
|
||||
const auto size=fonts::text_size(fonts::body,fonts::k_body_size,text);
|
||||
ImGui::GetWindowDrawList()->AddText(fonts::body,fonts::k_body_size,
|
||||
{p.x+(width-size.x)*.5f,p.y+(height-size.y)*.5f},theme::u32(listening ? theme::accent() : theme::fg()),text);
|
||||
return clicked;
|
||||
}
|
||||
template<class T> inline bool slider_track(const char* id,T* value,T minimum,T maximum,float width,const char* format) {
|
||||
ImGui::SetNextItemWidth(width);bool changed=false;
|
||||
auto* draw=ImGui::GetWindowDrawList();ImDrawListSplitter layers;layers.Split(draw,2);layers.SetCurrentChannel(draw,1);
|
||||
const auto frame_p=ImGui::GetCursorScreenPos();const float inset=(std::max)(0.f,(ImGui::GetFrameHeight()-12.f)*.5f);
|
||||
const ImVec2 p{frame_p.x,frame_p.y+inset},q{p.x+width,p.y+12.f};
|
||||
transparent_frame();
|
||||
if constexpr(std::is_same_v<T,int>)changed=ImGui::SliderInt(id,value,minimum,maximum,format);
|
||||
else changed=ImGui::SliderFloat(id,value,minimum,maximum,format);
|
||||
end_transparent_frame();layers.SetCurrentChannel(draw,0);
|
||||
const float fraction=maximum>minimum ? float(*value-minimum)/float(maximum-minimum) : 0;
|
||||
theme::accent_bar(draw,p,q,fraction);layers.Merge(draw);
|
||||
return changed;
|
||||
}
|
||||
template<class T> inline bool slider(const char* label,T* value,T minimum,T maximum,float width,const char* format,T step) {
|
||||
ImGui::PushID(label);bool changed=false;
|
||||
const auto origin=ImGui::GetCursorScreenPos();
|
||||
ImGui::PushTextWrapPos(ImGui::GetCursorPosX()+(std::max)(1.f,width-36));
|
||||
ImGui::TextUnformatted(label);ImGui::PopTextWrapPos();const auto next=ImGui::GetCursorScreenPos();
|
||||
ImGui::SetCursorScreenPos({origin.x+width-29,origin.y});
|
||||
if(text_button("-")){*value=std::clamp(T(*value-step),minimum,maximum);changed=true;}
|
||||
ImGui::SameLine(0,3);
|
||||
if(text_button("+")){*value=std::clamp(T(*value+step),minimum,maximum);changed=true;}
|
||||
ImGui::SetCursorScreenPos(next);
|
||||
changed|=slider_track("##value",value,minimum,maximum,width,format);
|
||||
ImGui::PopID();return changed;
|
||||
}
|
||||
inline bool slider_float(const char* label,float* value,float minimum,float maximum,float width) {
|
||||
const float range=maximum-minimum;
|
||||
return slider(label,value,minimum,maximum,width,"%.2f",range<=2 ? .01f : range<=20 ? .1f : 1.f);
|
||||
}
|
||||
inline bool slider_int(const char* label,int* value,int minimum,int maximum,float width) {
|
||||
return slider(label,value,minimum,maximum,width,"%d",1);
|
||||
}
|
||||
} // namespace widgets
|
||||
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include <cstdio>
|
||||
#include "text_hud.h"
|
||||
class fps_counter : public text_hud {
|
||||
public:
|
||||
fps_counter() : text_hud("fps counter", "shows your current fps", category::hud, VK_F6) {
|
||||
label_ = "fps"; text_ = "0"; reserve_ = "000"; hud_pos = ImVec2(10, 10);
|
||||
}
|
||||
void on_render() override {
|
||||
char value[24]; snprintf(value, sizeof(value), "%.0f", ImGui::GetIO().Framerate);
|
||||
text_ = value; draw_text();
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,70 @@
|
||||
#pragma once
|
||||
#include <cmath>
|
||||
#include "text_hud.h"
|
||||
#include "../gui/fonts.h"
|
||||
#include "../gui/theme.h"
|
||||
|
||||
class keystrokes : public text_hud {
|
||||
public:
|
||||
keystrokes()
|
||||
: text_hud("keystrokes", "shows your key presses", category::hud, VK_F7) {
|
||||
hud_pos = ImVec2(10.f, 60.f);
|
||||
size_ = &add_float("key size", 40.f, 28.f, 64.f);
|
||||
space_ = &add_toggle("space bar", true);
|
||||
const ImVec4 a = theme::accent();
|
||||
pressed_ = &add_color("pressed color", a.x, a.y, a.z, 1.f);
|
||||
}
|
||||
|
||||
bool is_hud() const override { return true; }
|
||||
|
||||
ImVec2 hud_size() const override {
|
||||
const float s = size_->float_value;
|
||||
float w = 3.f * s + 2.f * gap;
|
||||
float h = 2.f * s + gap;
|
||||
if (space_->bool_value) h += gap + s * 0.55f;
|
||||
return ImVec2((w + 24.f) * scale_->float_value, (h + 14.f) * scale_->float_value);
|
||||
}
|
||||
|
||||
void on_render() override {
|
||||
const float scale = scale_->float_value;
|
||||
const float s = size_->float_value * scale, spacing = gap * scale;
|
||||
const float x = hud_pos.x + 12.f * scale, y = hud_pos.y + 7.f * scale;
|
||||
hud_card::background(ImGui::GetBackgroundDrawList(), hud_pos, hud_size(), scale, background_->bool_value);
|
||||
const float dt = ImGui::GetIO().DeltaTime;
|
||||
|
||||
draw_key(0, "W", 'W', x + s + spacing, y, s, s, dt);
|
||||
draw_key(1, "A", 'A', x, y + s + spacing, s, s, dt);
|
||||
draw_key(2, "S", 'S', x + s + spacing, y + s + spacing, s, s, dt);
|
||||
draw_key(3, "D", 'D', x + 2.f * (s + spacing), y + s + spacing, s, s, dt);
|
||||
if (space_->bool_value)
|
||||
draw_key(4, "space", VK_SPACE, x, y + 2.f * (s + spacing), 3.f * s + 2.f * spacing, s * 0.55f, dt);
|
||||
}
|
||||
|
||||
private:
|
||||
static constexpr float gap = 6.f;
|
||||
setting* size_ = nullptr;
|
||||
setting* space_ = nullptr;
|
||||
setting* pressed_ = nullptr;
|
||||
float press_t_[5] = {};
|
||||
|
||||
// each key is a small launcher button: Raised -> Accent with dark text when pressed
|
||||
void draw_key(int i, const char* label, int vk, float x, float y, float w, float h, float dt) {
|
||||
ImDrawList* dl = ImGui::GetBackgroundDrawList();
|
||||
|
||||
press_t_[i] = theme::approach(press_t_[i], is_key_down(vk) ? 1.f : 0.f, dt * 20.f);
|
||||
const float t = press_t_[i];
|
||||
|
||||
const auto pressed=ImGui::ColorConvertU32ToFloat4(theme::display_color(setting_color(*pressed_)));
|
||||
const auto text=ImGui::ColorConvertU32ToFloat4(theme::display_color(setting_color(*color_)));
|
||||
|
||||
const ImVec2 a(x, y), b(x + w, y + h);
|
||||
theme::gradient(dl,a,b,theme::mix(theme::raised(),pressed,t),theme::mix(theme::hex(0x303030),theme::shade(pressed,.5f),t));
|
||||
dl->AddRect(a,b,theme::u32(theme::line()));
|
||||
|
||||
const float scale = size_->float_value / 40.f * scale_->float_value;
|
||||
const ImVec2 ts = fonts::text_size(fonts::semibold, fonts::k_body_size * scale, label);
|
||||
dl->AddText(fonts::semibold, fonts::k_body_size * scale,
|
||||
ImVec2(floorf(x + (w - ts.x) * 0.5f), floorf(y + (h - ts.y) * 0.5f)),
|
||||
theme::u32(text), label);
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,155 @@
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#include "imgui.h"
|
||||
#include "setting.h"
|
||||
|
||||
enum class category { hud, visual, utility };
|
||||
|
||||
inline const char* category_name(category c) {
|
||||
switch (c) {
|
||||
case category::hud: return "HUD";
|
||||
case category::visual: return "VISUAL";
|
||||
case category::utility: return "UTILITY";
|
||||
}
|
||||
return "?";
|
||||
}
|
||||
|
||||
inline HWND g_game_window = nullptr;
|
||||
|
||||
inline bool is_game_focused() {
|
||||
return g_game_window && GetForegroundWindow() == g_game_window;
|
||||
}
|
||||
|
||||
// only reports keys while Minecraft is the focused window
|
||||
inline bool is_key_down(int vk) {
|
||||
return is_game_focused() && (GetAsyncKeyState(vk) & 0x8000);
|
||||
}
|
||||
|
||||
inline ImU32 setting_color(const setting& s) {
|
||||
return ImGui::ColorConvertFloat4ToU32(ImVec4(s.color[0], s.color[1], s.color[2], s.color[3]));
|
||||
}
|
||||
|
||||
class module {
|
||||
public:
|
||||
module(std::string name, std::string description, category cat, int toggle_key = 0)
|
||||
: name_(std::move(name)), description_(std::move(description)),
|
||||
cat_(cat), toggle_key_(toggle_key) {
|
||||
}
|
||||
virtual ~module() = default;
|
||||
|
||||
virtual void on_enable() {}
|
||||
virtual void on_disable() {}
|
||||
virtual void on_render() {} // every frame while enabled, inside the ImGui frame
|
||||
virtual void on_frame_end() {} // runs right after the game's Present returns (frame limiters go here)
|
||||
virtual bool consumes_key(int) const { return false; }
|
||||
virtual bool is_organizer() const {return false;}
|
||||
|
||||
void set_description(std::string d) { description_ = std::move(d); }
|
||||
|
||||
// HUD modules can be dragged around while the menu is open
|
||||
virtual bool is_hud() const { return false; }
|
||||
virtual ImVec2 hud_size() const { return ImVec2(0.f, 0.f); }
|
||||
virtual ImVec2 hud_drag_size() const { return hud_size(); }
|
||||
virtual bool hud_position_locked() const { return false; }
|
||||
virtual ImVec2 hud_render_position() const { return hud_pos; }
|
||||
|
||||
void set_enabled(bool enabled) {
|
||||
if (enabled == enabled_) return;
|
||||
enabled_ = enabled;
|
||||
if (enabled_) on_enable(); else on_disable();
|
||||
}
|
||||
void toggle() { set_enabled(!enabled_); }
|
||||
|
||||
bool enabled() const { return enabled_; }
|
||||
const std::string& name() const { return name_; }
|
||||
const std::string& description() const { return description_; }
|
||||
category cat() const { return cat_; }
|
||||
int toggle_key() const { return toggle_key_; }
|
||||
void set_toggle_key(int vk) { toggle_key_ = vk; }
|
||||
|
||||
// called once per frame; toggles on the key's press edge
|
||||
void update_key(bool blocked = false) {
|
||||
bool down = toggle_key_ && is_key_down(toggle_key_);
|
||||
if (!blocked && down && !key_was_down_) toggle();
|
||||
key_was_down_ = down;
|
||||
}
|
||||
|
||||
// ---- settings (a deque keeps references stable as more are added) ----
|
||||
std::deque<setting>& settings() { return settings_; }
|
||||
|
||||
setting& add_toggle(std::string name, bool value) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name);
|
||||
s.type = setting_type::toggle;
|
||||
s.bool_value = value;
|
||||
return s;
|
||||
}
|
||||
setting& add_float(std::string name, float value, float min_v, float max_v) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name);
|
||||
s.type = setting_type::slider_float;
|
||||
s.float_value = value; s.float_min = min_v; s.float_max = max_v;
|
||||
return s;
|
||||
}
|
||||
setting& add_int(std::string name, int value, int min_v, int max_v) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name);
|
||||
s.type = setting_type::slider_int;
|
||||
s.int_value = value; s.int_min = min_v; s.int_max = max_v;
|
||||
return s;
|
||||
}
|
||||
setting& add_key(std::string name, int vk) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name);
|
||||
s.type = setting_type::keybind;
|
||||
s.int_value = vk;
|
||||
return s;
|
||||
}
|
||||
setting& add_action(std::string name, std::function<void()> callback) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name); s.type = setting_type::action; s.action = std::move(callback);
|
||||
return s;
|
||||
}
|
||||
setting& add_text(std::string name, std::string value, int limit = 64) {
|
||||
setting& s = settings_.emplace_back(); s.name = std::move(name);
|
||||
s.type = setting_type::text; s.text_value = std::move(value); s.int_max = limit; return s;
|
||||
}
|
||||
setting& add_mode(std::string name, std::vector<std::string> modes, int selected = 0) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name);
|
||||
s.type = setting_type::mode;
|
||||
s.modes = std::move(modes);
|
||||
s.int_value = selected;
|
||||
return s;
|
||||
}
|
||||
setting& add_color(std::string name, float r, float g, float b, float a = 1.f) {
|
||||
setting& s = settings_.emplace_back();
|
||||
s.name = std::move(name);
|
||||
s.type = setting_type::color;
|
||||
s.color[0] = r; s.color[1] = g; s.color[2] = b; s.color[3] = a;
|
||||
return s;
|
||||
}
|
||||
|
||||
// ---- state used by the clickgui ----
|
||||
ImVec2 hud_pos = ImVec2(10.f, 10.f);
|
||||
|
||||
struct ui_state {
|
||||
bool expanded = false;
|
||||
bool binding = false;
|
||||
float hover_t = 0.f, enable_t = 0.f, expand_t = 0.f;
|
||||
float settings_height = 0.f;
|
||||
} ui;
|
||||
|
||||
private:
|
||||
std::string name_;
|
||||
std::string description_;
|
||||
category cat_;
|
||||
int toggle_key_;
|
||||
bool enabled_ = false;
|
||||
bool key_was_down_ = false;
|
||||
std::deque<setting> settings_;
|
||||
};
|
||||
@@ -0,0 +1,212 @@
|
||||
#pragma once
|
||||
#include "text_hud.h"
|
||||
#include "../input.h"
|
||||
#include "../game/media.h"
|
||||
#include "../game/lyrics.h"
|
||||
#include <d3d11.h>
|
||||
|
||||
namespace media_art {
|
||||
inline ID3D11Device* device=nullptr;
|
||||
}
|
||||
|
||||
class music_player : public text_hud {
|
||||
public:
|
||||
music_player():text_hud("music mini player","track details, controls and optional synced lyrics from LRCLIB") {
|
||||
hud_pos={10,560};width_=&add_float("width",300,220,600);
|
||||
progress_=&add_toggle("progress bar",true);controls_=&add_toggle("controls",true);
|
||||
hide_=&add_toggle("hide when idle",false);
|
||||
art_=&add_toggle("album art",true);
|
||||
match_hud_=&add_toggle("match hud text size",true);
|
||||
lyrics_enabled_=&add_toggle("lyrics",false);
|
||||
lyrics_lines_=&add_int("lyrics visible lines",3,1,7);
|
||||
lyrics_scale_=&add_float("lyrics scale",1.f,.7f,1.5f);
|
||||
lyrics_offset_=&add_float("lyrics timing offset (seconds)",0.f,-10.f,10.f);
|
||||
lyrics_speed_=&add_float("lyrics scroll speed",12.f,2.f,30.f);
|
||||
add_action("reload lyrics",[this]{reload_lyrics_=true;});
|
||||
player_=&add_text("player (blank = automatic)","",256);
|
||||
add_action("next player",[this] {
|
||||
const auto state=media::system().latest();
|
||||
const auto found=std::find(state.players.begin(),state.players.end(),player_->text_value);
|
||||
player_->text_value=found==state.players.end() ? (state.players.empty() ? "" : state.players.front()) :
|
||||
std::next(found)==state.players.end() ? "" : *std::next(found);
|
||||
media::system().prefer(player_->text_value);
|
||||
});
|
||||
add_action("previous track",[]{media::system().send(media::command::previous);});
|
||||
add_action("play / pause",[]{media::system().send(media::command::pause);});
|
||||
add_action("next track",[]{media::system().send(media::command::next);});
|
||||
}
|
||||
void on_enable() override {
|
||||
try {preferred_=player_->text_value;media::system().prefer(preferred_);media::system().start();}
|
||||
catch(...) {set_enabled(false);}
|
||||
}
|
||||
void on_disable() override {
|
||||
if(lyrics::instance)lyrics::instance->stop();
|
||||
media::system().stop();image_.Reset();uploaded_.reset();lyric_sheet_.reset();layout_sheet_.reset();lyric_scroll_.reset();had_lyrics_=false;lyric_request_=false;
|
||||
}
|
||||
float text_font_size() const {return match_hud_->bool_value ? fonts::k_body_size:fonts::k_media_size;}
|
||||
float lyrics_header_stride() const {return (std::max)(16.f,text_font_size()+3.f);}
|
||||
float lyrics_height() const {return lyrics_enabled_->bool_value ? lyrics_header_stride()+8.f+lyrics_lines_->int_value*text_font_size()*lyrics_scale_->float_value*1.7f:0.f;}
|
||||
ImVec2 hud_size() const override {return {width_->float_value*scale_->float_value,(76.f+lyrics_height()+(progress_->bool_value ? 12.f : 0.f)+(controls_->bool_value ? 30.f : 0.f))*scale_->float_value};}
|
||||
ImVec2 hud_drag_size() const override {return {hud_size().x,(76+lyrics_height())*scale_->float_value};}
|
||||
ImVec2 hud_render_position() const override {
|
||||
if(!lyrics_enabled_->bool_value)return hud_pos;
|
||||
const auto size=hud_size(),screen=ImGui::GetIO().DisplaySize;
|
||||
return {std::clamp(hud_pos.x,4.f,(std::max)(4.f,screen.x-size.x-4)),std::clamp(hud_pos.y,4.f,(std::max)(4.f,screen.y-size.y-4))};
|
||||
}
|
||||
void on_render() override {
|
||||
if(preferred_!=player_->text_value){preferred_=player_->text_value;media::system().prefer(preferred_);}
|
||||
const auto snapshot=media::system().current();
|
||||
const auto& state=*snapshot;
|
||||
if(lyrics_enabled_->bool_value) {
|
||||
const auto now=GetTickCount64();
|
||||
if(!had_lyrics_ || reload_lyrics_ || now>=next_lyric_poll_) {
|
||||
next_lyric_poll_=now+50;
|
||||
lyrics::track query{state.title,state.artist,state.album,std::isfinite(state.duration) && state.duration>=1 && state.duration<=3600 ? int(std::lround(state.duration)):0};
|
||||
if(state.available && query.valid()) {
|
||||
lyric_request_=true;
|
||||
try{lyric_sheet_=lyrics::system().request(std::move(query),reload_lyrics_);}catch(...){lyric_sheet_.reset();}
|
||||
reload_lyrics_=false;
|
||||
}else if(lyric_request_) {lyric_request_=false;lyric_sheet_.reset();if(lyrics::instance)lyrics::instance->stop();}
|
||||
}
|
||||
had_lyrics_=true;
|
||||
}else if(had_lyrics_) {
|
||||
if(lyrics::instance)lyrics::instance->stop();had_lyrics_=false;lyric_request_=false;lyric_sheet_.reset();layout_sheet_.reset();lyric_scroll_.reset();
|
||||
}
|
||||
if(hide_->bool_value && !state.available && !g_menu_open)return;
|
||||
draw(state,lyric_sheet_);
|
||||
}
|
||||
void draw(media::snapshot const& state,std::shared_ptr<const lyrics::document> sheet={}) {
|
||||
const float s=scale_->float_value,w=width_->float_value;
|
||||
const auto position=hud_render_position();
|
||||
const auto p=[&](float x,float y){return ImVec2(position.x+x*s,position.y+y*s);};
|
||||
auto* draw=ImGui::GetBackgroundDrawList();hud_card::background(draw,position,hud_size(),s,background_->bool_value);
|
||||
const auto color=setting_color(*color_);const auto muted=theme::u32(theme::muted());
|
||||
const float left=art_->bool_value ? 80.f : 12.f;
|
||||
ImFont* face=fonts::media ? fonts::media : fonts::body;
|
||||
if(!face)face=ImGui::GetFont();
|
||||
ImFont* ui_face=fonts::body ? fonts::body:face;
|
||||
auto text=[&](ImFont* font,ImVec2 at,ImU32 ink,const char* value) {
|
||||
draw->AddText(font,text_font_size()*s,{std::floor(at.x),std::floor(at.y)},theme::display_color(ink),value);
|
||||
};
|
||||
if(art_->bool_value) {
|
||||
upload(state.available ? state.art : nullptr);
|
||||
draw->AddRectFilled(p(12,10),p(68,66),theme::u32(theme::line()));
|
||||
if(image_) {
|
||||
// Spotify's Windows thumbnail frames a 234px square cover in a
|
||||
// 300px image, with side padding and its branding underneath.
|
||||
// Crop only the displayed UVs; other players keep their full art.
|
||||
const bool spotify=_stricmp(state.app.c_str(),"Spotify.exe")==0;
|
||||
const ImVec2 uv_min=spotify ? ImVec2(33.f/300.f,0) : ImVec2(0,0);
|
||||
const ImVec2 uv_max=spotify ? ImVec2(267.f/300.f,234.f/300.f) : ImVec2(1,1);
|
||||
draw->AddImage((ImTextureID)(uintptr_t)image_.Get(),p(12,10),p(68,66),uv_min,uv_max,IM_COL32_WHITE);
|
||||
}
|
||||
else {draw->AddCircle(p(40,38),15*s,muted,24,2*s);draw->AddCircleFilled(p(40,38),3*s,color);}
|
||||
} else {image_.Reset();uploaded_.reset();}
|
||||
const float metadata_top=(76.f-3.f*text_font_size()-4.f)*.5f;
|
||||
const float metadata_stride=text_font_size()+2.f;
|
||||
draw->PushClipRect(p(left,6),p(w-12,70),true);
|
||||
text(state.available ? face:ui_face,p(left,metadata_top),color,state.available ? state.title.c_str() : "music");
|
||||
const auto& detail=state.available ? (state.artist.empty() ? state.app : state.artist) : state.message;
|
||||
text(state.available ? face:ui_face,p(left,metadata_top+metadata_stride),muted,detail.c_str());
|
||||
text(ui_face,p(left,metadata_top+2*metadata_stride),muted,state.available ? (state.playing ? "playing" : "paused") : "open a player that supports windows media controls");
|
||||
draw->PopClipRect();
|
||||
if(lyrics_enabled_->bool_value)draw_lyrics(draw,state,sheet,face);
|
||||
if(progress_->bool_value && state.available && state.duration>0) {
|
||||
const float fraction=float(std::clamp(media::playback_position(state)/state.duration,0.,1.));
|
||||
theme::accent_bar(draw,p(12,74+lyrics_height()),p(w-12,78+lyrics_height()),fraction);
|
||||
}
|
||||
if(controls_->bool_value) {
|
||||
// Buttons become interactive only while the client menu releases the cursor.
|
||||
const float controls_y=(progress_->bool_value ? 86.f : 74.f)+lyrics_height();
|
||||
ImGui::SetNextWindowPos(p(12,controls_y));ImGui::SetNextWindowSize({(w-24)*s,22*s});
|
||||
fonts::push_font(ui_face,text_font_size()*s);
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding,{0,0});
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing,{4*s,0});
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding,{0,0});ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize,0);
|
||||
auto flags=ImGuiWindowFlags_NoDecoration|ImGuiWindowFlags_NoBackground|ImGuiWindowFlags_NoSavedSettings|ImGuiWindowFlags_NoMove|ImGuiWindowFlags_NoNav|ImGuiWindowFlags_NoScrollbar|ImGuiWindowFlags_NoScrollWithMouse;
|
||||
if(!g_menu_open)flags|=ImGuiWindowFlags_NoInputs;
|
||||
if(ImGui::Begin(controls_id_.c_str(),nullptr,flags)) {
|
||||
const float button=(w-32)/3*s;
|
||||
ImGui::BeginDisabled(!g_menu_open || !state.available || !state.previous);
|
||||
if(ImGui::Button("previous",{button,22*s}))media::system().send(media::command::previous);ImGui::EndDisabled();ImGui::SameLine(0,4*s);
|
||||
ImGui::BeginDisabled(!g_menu_open || !state.available || !state.pause);
|
||||
if(ImGui::Button(state.playing ? "pause" : "play",{button,22*s}))media::system().send(media::command::pause);ImGui::EndDisabled();ImGui::SameLine(0,4*s);
|
||||
ImGui::BeginDisabled(!g_menu_open || !state.available || !state.next);
|
||||
if(ImGui::Button("next",{button,22*s}))media::system().send(media::command::next);ImGui::EndDisabled();
|
||||
}
|
||||
ImGui::End();ImGui::PopStyleVar(4);ImGui::PopFont();
|
||||
}
|
||||
}
|
||||
private:
|
||||
setting *width_,*progress_,*controls_,*hide_,*player_,*art_,*match_hud_;
|
||||
setting *lyrics_enabled_,*lyrics_lines_,*lyrics_scale_,*lyrics_offset_,*lyrics_speed_;
|
||||
std::string preferred_;
|
||||
const std::string controls_id_="##music_controls_"+std::to_string(reinterpret_cast<uintptr_t>(this));
|
||||
uint64_t next_lyric_poll_=0;
|
||||
bool reload_lyrics_=false,had_lyrics_=false,lyric_request_=false;
|
||||
std::shared_ptr<const lyrics::document> lyric_sheet_,layout_sheet_;
|
||||
struct lyric_row {float top,height;};
|
||||
std::vector<lyric_row> lyric_rows_;float lyric_width_=0,lyric_font_size_=0,manual_scroll_=0;
|
||||
ImFont* lyric_font_=nullptr;lyrics::scroller lyric_scroll_;std::string lyric_player_;
|
||||
void draw_lyrics(ImDrawList* draw,media::snapshot const& state,const std::shared_ptr<const lyrics::document>& sheet,ImFont* face) {
|
||||
const float scale=scale_->float_value,width=(width_->float_value-24)*scale;
|
||||
const float font=text_font_size()*lyrics_scale_->float_value*scale;
|
||||
const float height=lyrics_lines_->int_value*font*1.7f;
|
||||
const auto position=hud_render_position();
|
||||
const ImVec2 origin{position.x+12*scale,position.y+(74+lyrics_header_stride())*scale};
|
||||
const ImVec2 end{origin.x+width,origin.y+height};
|
||||
const char* source=sheet && sheet->state==lyrics::status::plain ? "lyrics / lrclib / unsynced":"lyrics / lrclib";
|
||||
draw->AddText(fonts::body ? fonts::body:face,text_font_size()*scale,{std::floor(origin.x),std::floor(position.y+74*scale)},theme::u32(theme::dim()),source);
|
||||
draw->PushClipRect(origin,end,true);
|
||||
if(!sheet || sheet->lines.empty()) {
|
||||
const char* message=sheet ? sheet->message.c_str():state.available ? "lyrics unavailable":"play a track for lyrics";
|
||||
const auto size=face->CalcTextSizeA(font,FLT_MAX,width,message);
|
||||
draw->AddText(face,font,{origin.x,origin.y+(height-size.y)*.5f},theme::u32(theme::muted()),message,nullptr,width);
|
||||
lyric_scroll_.reset();layout_sheet_.reset();draw->PopClipRect();return;
|
||||
}
|
||||
if(layout_sheet_!=sheet || lyric_width_!=width || lyric_font_size_!=font || lyric_font_!=face || lyric_player_!=state.app) {
|
||||
layout_sheet_=sheet;lyric_width_=width;lyric_font_size_=font;lyric_font_=face;lyric_player_=state.app;
|
||||
lyric_rows_.clear();float y=0;
|
||||
for(const auto& row:sheet->lines) {
|
||||
const auto measured=face->CalcTextSizeA(font,FLT_MAX,width,row.text.empty() ? "...":row.text.c_str());
|
||||
const float h=(std::max)(font,measured.y);lyric_rows_.push_back({y,h});y+=h+font*.7f;
|
||||
}
|
||||
manual_scroll_=0;lyric_scroll_.reset();
|
||||
}
|
||||
const bool synced=sheet->state==lyrics::status::synced;
|
||||
const double time=media::playback_position(state)+lyrics_offset_->float_value;
|
||||
const int current=synced ? lyrics::active_line(sheet->lines,time):-1;
|
||||
float offset=0;
|
||||
if(synced) {
|
||||
const auto& row=lyric_rows_[current<0 ? 0:size_t(current)];
|
||||
const float target=row.top+row.height*.5f-height*.5f-(current<0 ? font*1.7f:0);
|
||||
offset=lyric_scroll_.update(target,time,lyrics_speed_->float_value,ImGui::GetIO().DeltaTime);
|
||||
}else {
|
||||
const auto& last=lyric_rows_.back();const float max=(std::max)(0.f,last.top+last.height-height);
|
||||
if(g_menu_open && ImGui::IsMouseHoveringRect(origin,end) && !ImGui::IsAnyItemActive())manual_scroll_-=ImGui::GetIO().MouseWheel*font*2;
|
||||
offset=manual_scroll_=std::clamp(manual_scroll_,0.f,max);
|
||||
}
|
||||
const auto first=std::lower_bound(lyric_rows_.begin(),lyric_rows_.end(),offset,[](const lyric_row& row,float y){return row.top+row.height<y;});
|
||||
for(size_t i=size_t(first-lyric_rows_.begin());i<lyric_rows_.size();++i) {
|
||||
const auto row=lyric_rows_[i];const float y=origin.y+row.top-offset;
|
||||
if(y>end.y)break;
|
||||
const bool active=synced && int(i)==current;
|
||||
auto color=active ? theme::mix(theme::accent(),theme::fg(),.35f):theme::muted();
|
||||
const float center=y+row.height*.5f;
|
||||
const float edge=std::clamp((std::min)(center-origin.y,end.y-center)/(font*.8f),0.f,1.f);
|
||||
color.w*=edge*(active || !synced ? 1.f:.78f);
|
||||
draw->AddText(face,font,{std::round(origin.x),std::round(y)},theme::u32(color),sheet->lines[i].text.empty() ? "...":sheet->lines[i].text.c_str(),nullptr,width);
|
||||
}
|
||||
draw->PopClipRect();
|
||||
}
|
||||
std::shared_ptr<const media::artwork> uploaded_;
|
||||
Microsoft::WRL::ComPtr<ID3D11ShaderResourceView> image_;
|
||||
void upload(std::shared_ptr<const media::artwork> const& art) {
|
||||
if(art==uploaded_)return;image_.Reset();uploaded_=art;
|
||||
if(!art || !media_art::device || !art->width || !art->height || art->width>256 || art->height>256 || art->rgba.size()!=art->width*art->height*4)return;
|
||||
D3D11_TEXTURE2D_DESC desc{};desc.Width=art->width;desc.Height=art->height;desc.MipLevels=desc.ArraySize=1;
|
||||
desc.Format=DXGI_FORMAT_R8G8B8A8_UNORM;desc.SampleDesc.Count=1;desc.Usage=D3D11_USAGE_IMMUTABLE;desc.BindFlags=D3D11_BIND_SHADER_RESOURCE;
|
||||
D3D11_SUBRESOURCE_DATA data{art->rgba.data(),art->width*4,0};Microsoft::WRL::ComPtr<ID3D11Texture2D> texture;
|
||||
if(SUCCEEDED(media_art::device->CreateTexture2D(&desc,&data,&texture)))media_art::device->CreateShaderResourceView(texture.Get(),nullptr,&image_);
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
|
||||
enum class setting_type { toggle, slider_float, slider_int, mode, color, keybind, action, text };
|
||||
|
||||
struct setting {
|
||||
std::string name;
|
||||
setting_type type = setting_type::toggle;
|
||||
|
||||
bool bool_value = false;
|
||||
bool binding = false;
|
||||
bool hidden = false; // persisted module data, excluded from the settings panel
|
||||
std::function<void()> action;
|
||||
std::string text_value;
|
||||
float float_value = 0.f, float_min = 0.f, float_max = 1.f;
|
||||
int int_value = 0, int_min = 0, int_max = 10; // int_value doubles as the mode index
|
||||
std::vector<std::string> modes;
|
||||
float color[4] = { 1.f, 1.f, 1.f, 1.f };
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include "module.h"
|
||||
#include "../gui/hud_card.h"
|
||||
|
||||
class text_hud : public module {
|
||||
public:
|
||||
text_hud(const char* name, const char* description, category cat = category::hud, int key = 0)
|
||||
: module(name, description, cat, key), label_(name) {
|
||||
background_ = &add_toggle("background", true);
|
||||
scale_ = &add_float("scale", 1.f, 0.7f, 2.5f);
|
||||
color_ = &add_color("color", 1, 1, 1); // white is the profile-stable theme-inheriting default
|
||||
}
|
||||
bool is_hud() const override { return true; }
|
||||
ImVec2 hud_size() const override {
|
||||
return hud_card::size(label_.c_str(), text_.c_str(), scale_->float_value, reserve_.c_str());
|
||||
}
|
||||
protected:
|
||||
std::string label_, text_, reserve_;
|
||||
void draw_text() {
|
||||
hud_card::draw(hud_pos, label_.c_str(), text_.c_str(), scale_->float_value, background_->bool_value, setting_color(*color_), reserve_.c_str());
|
||||
}
|
||||
protected:
|
||||
setting* background_;
|
||||
setting* scale_;
|
||||
setting* color_;
|
||||
};
|
||||
@@ -0,0 +1,127 @@
|
||||
#pragma once
|
||||
#include "module.h"
|
||||
#include "../gui/theme.h"
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
class theme_editor : public module {
|
||||
public:
|
||||
inline static theme_editor* instance=nullptr;
|
||||
theme_editor():module("themes","client-wide palette, fonts, widgets and branding; saved with your profile",category::utility) {
|
||||
previous_=instance;instance=this;
|
||||
section_=&add_mode("section",{"presets","palette","controls","status colors","fonts","layout","branding"});
|
||||
preset_=&group(add_mode("preset",{"amnesia","midnight","graphite","mint","rose","light"}),0);
|
||||
group(add_action("apply palette preset",[this]{preset(preset_->int_value);}),0);
|
||||
group(add_action("reset entire theme",[this]{reset();}),0);
|
||||
for(size_t i=0;i<colors_.size();++i) {
|
||||
const auto& def=theme::color_definitions[i];const auto c=theme::rgb(def.rgb);
|
||||
colors_[i]=&group(add_color(def.name,c.x,c.y,c.z,c.w),def.section);
|
||||
}
|
||||
boolean("theme text colors",true,1,&theme::configuration::inherit_text);
|
||||
integer("font family",{"verdana","tahoma","segoe ui","consolas","custom"},4,&theme::configuration::font_family);
|
||||
integer("font weight",{"regular","bold"},4,&theme::configuration::font_weight);
|
||||
integer("hinting",{"mono","normal","light","none"},4,&theme::configuration::font_hinting);
|
||||
boolean("lowercase text",true,4,&theme::configuration::lowercase);
|
||||
boolean("text outline",true,4,&theme::configuration::text_outline);
|
||||
number("body size",13,9,18,4,&theme::configuration::body_size);
|
||||
number("label size",11,8,16,4,&theme::configuration::label_size);
|
||||
number("heading size",13,10,24,4,&theme::configuration::heading_size);
|
||||
number("media text size",13,9,18,4,&theme::configuration::media_size);
|
||||
number("intro title size",51,32,80,4,&theme::configuration::intro_size);
|
||||
font_input_=&group(add_text("custom font path","",256),4);
|
||||
font_active_=&add_text("loaded font path","",256);font_active_->hidden=true;
|
||||
group(add_action("load / reload font",[this]{font_active_->text_value=clean_path(font_input_->text_value);for(auto& s:settings())if(s.name=="font family")s.int_value=4;++theme::current.font_revision;}),4);
|
||||
writers_.push_back([this]{return assign(theme::current.font_path,font_active_->text_value);});
|
||||
scalar("rounding",0,0,8,5,&theme::configuration::rounding);
|
||||
scalar("border width",1,0,2,5,&theme::configuration::border_width);
|
||||
scalar("panel opacity",1,.2f,1,5,&theme::configuration::panel_opacity);
|
||||
scalar("gradient shade",.5f,.1f,1,5,&theme::configuration::gradient_shade);
|
||||
scalar("control density",1,.75f,1.5f,5,&theme::configuration::density);
|
||||
scalar("menu dim",.6f,0,.9f,5,&theme::configuration::backdrop);
|
||||
scalar("panel padding x",12,6,24,5,&theme::configuration::padding_x);
|
||||
scalar("panel padding y",8,4,18,5,&theme::configuration::padding_y);
|
||||
scalar("item spacing",3,1,8,5,&theme::configuration::item_gap);
|
||||
scalar("hud padding x",12,4,20,5,&theme::configuration::hud_padding_x);
|
||||
scalar("hud padding y",7,3,12,5,&theme::configuration::hud_padding_y);
|
||||
boolean("accent strips",true,5,&theme::configuration::accent_strips);
|
||||
text("watermark name","amnesia",32,6,&theme::configuration::name);
|
||||
integer("icon",{"cube","monogram","none","custom image"},6,&theme::configuration::logo);
|
||||
text("monogram","a",8,6,&theme::configuration::monogram);
|
||||
boolean("custom cube colors",false,6,&theme::configuration::custom_logo_colors);
|
||||
icon_input_=&group(add_text("custom icon path","",256),6);
|
||||
icon_active_=&add_text("loaded icon path","",256);icon_active_->hidden=true;
|
||||
group(add_action("load / reload icon",[this]{icon_active_->text_value=clean_path(icon_input_->text_value);for(auto& s:settings())if(s.name=="icon")s.int_value=3;++theme::current.icon_revision;}),6);
|
||||
writers_.push_back([this]{return assign(theme::current.icon_path,icon_active_->text_value);});
|
||||
defaults_.assign(settings().begin(),settings().end());
|
||||
visibility();
|
||||
}
|
||||
~theme_editor() override {if(instance==this)instance=previous_;}
|
||||
bool is_organizer() const override {return true;}
|
||||
bool synchronize() {
|
||||
bool changed=false;
|
||||
for(size_t i=0;i<colors_.size();++i) {
|
||||
const auto* s=colors_[i];auto& target=theme::current.colors[i];
|
||||
changed|=assign(target.x,s->color[0]);changed|=assign(target.y,s->color[1]);
|
||||
changed|=assign(target.z,s->color[2]);changed|=assign(target.w,s->color[3]);
|
||||
}
|
||||
for(auto& writer:writers_)changed|=writer();
|
||||
visibility();return changed;
|
||||
}
|
||||
void reset() {
|
||||
const int section=section_->int_value;
|
||||
for(size_t i=0;i<defaults_.size();++i)if(settings()[i].type!=setting_type::action)settings()[i]=defaults_[i];
|
||||
section_->int_value=section;
|
||||
}
|
||||
void preset(int value) {
|
||||
for(size_t i=0;i<colors_.size();++i)set_color(i,theme::color_definitions[i].rgb);
|
||||
auto set=[&](theme::role r,unsigned c){set_color(size_t(r),c);};
|
||||
switch(value) {
|
||||
case 1:set(theme::role::accent,0x779ee8);set(theme::role::background,0x141b29);set(theme::role::panel_top,0x202b3f);set(theme::role::panel_bottom,0x101622);break;
|
||||
case 2:set(theme::role::accent,0xa5a8b0);set(theme::role::background,0x191a1c);set(theme::role::panel_top,0x282a2e);break;
|
||||
case 3:set(theme::role::accent,0x66c6ac);set(theme::role::background,0x15211f);set(theme::role::panel_top,0x22332e);set(theme::role::panel_bottom,0x101c18);break;
|
||||
case 4:set(theme::role::accent,0xd884a0);set(theme::role::background,0x251a21);set(theme::role::panel_top,0x382832);set(theme::role::panel_bottom,0x1c1419);break;
|
||||
case 5:
|
||||
set(theme::role::background,0xe8e7ec);set(theme::role::panel_top,0xfaf9fc);set(theme::role::panel_bottom,0xd9d7e0);
|
||||
set(theme::role::text,0x23212a);set(theme::role::muted,0x54505f);set(theme::role::dim,0x76717f);
|
||||
set(theme::role::border,0x8c8796);set(theme::role::raised,0xdedbe5);set(theme::role::focus,0x17131c);
|
||||
set(theme::role::hover,0xd0c9de);set(theme::role::success,0x277344);set(theme::role::warning,0x92620a);set(theme::role::error,0xb93446);
|
||||
for(auto role:{theme::role::control_top,theme::role::hover_top,theme::role::selected_top,theme::role::held_top,theme::role::input_top,theme::role::track_top})set(role,0xeae7ef);
|
||||
for(auto role:{theme::role::control_bottom,theme::role::hover_bottom,theme::role::selected_bottom,theme::role::held_bottom,theme::role::input_bottom,theme::role::track_bottom})set(role,0xc6c1d0);
|
||||
set(theme::role::input_highlight,0xfaf8ff);set(theme::role::track_highlight,0xfaf8ff);
|
||||
set(theme::role::hover_top,0xfbf9ff);set(theme::role::hover_bottom,0xd5cfe1);
|
||||
set(theme::role::selected_top,0xc3b6d6);set(theme::role::selected_bottom,0xd8d0e7);
|
||||
set(theme::role::input_border,0x8c8796);set(theme::role::track_border,0x8c8796);
|
||||
set(theme::role::popup_top,0xfaf9fc);set(theme::role::popup_bottom,0xe1dce9);set(theme::role::text_outline,0xffffff);break;
|
||||
}
|
||||
}
|
||||
private:
|
||||
setting *section_,*preset_,*font_input_,*font_active_,*icon_input_,*icon_active_;
|
||||
theme_editor* previous_=nullptr;
|
||||
std::array<setting*,size_t(theme::role::count)> colors_{};
|
||||
std::vector<std::pair<setting*,int>> groups_;
|
||||
std::vector<std::function<bool()>> writers_;
|
||||
std::vector<setting> defaults_;
|
||||
static std::string clean_path(std::string value) {
|
||||
const auto first=value.find_first_not_of(" \t\r\n\"");if(first==std::string::npos)return {};
|
||||
const auto last=value.find_last_not_of(" \t\r\n\"");return value.substr(first,last-first+1);
|
||||
}
|
||||
template<class T> static bool assign(T& to,const T& value){if(to==value)return false;to=value;return true;}
|
||||
setting& group(setting& s,int index){groups_.push_back({&s,index});return s;}
|
||||
void visibility(){for(auto& entry:groups_)entry.first->hidden=entry.second!=section_->int_value;}
|
||||
void set_color(size_t index,unsigned rgb){const auto c=theme::rgb(rgb);auto* s=colors_[index];s->color[0]=c.x;s->color[1]=c.y;s->color[2]=c.z;s->color[3]=1;}
|
||||
void scalar(const char* name,float value,float minimum,float maximum,int section,float theme::configuration::*member) {
|
||||
auto* s=&group(add_float(name,value,minimum,maximum),section);writers_.push_back([s,member]{return assign(theme::current.*member,s->float_value);});
|
||||
}
|
||||
void number(const char* name,int value,int minimum,int maximum,int section,int theme::configuration::*member) {
|
||||
auto* s=&group(add_int(name,value,minimum,maximum),section);writers_.push_back([s,member]{return assign(theme::current.*member,s->int_value);});
|
||||
}
|
||||
void integer(const char* name,std::vector<std::string> values,int section,int theme::configuration::*member) {
|
||||
auto* s=&group(add_mode(name,std::move(values)),section);writers_.push_back([s,member]{return assign(theme::current.*member,s->int_value);});
|
||||
}
|
||||
void boolean(const char* name,bool value,int section,bool theme::configuration::*member) {
|
||||
auto* s=&group(add_toggle(name,value),section);writers_.push_back([s,member]{return assign(theme::current.*member,s->bool_value);});
|
||||
}
|
||||
void text(const char* name,const char* value,int limit,int section,std::string theme::configuration::*member) {
|
||||
auto* s=&group(add_text(name,value,limit),section);writers_.push_back([s,member]{return assign(theme::current.*member,s->text_value);});
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,52 @@
|
||||
#pragma once
|
||||
#include <cstdio>
|
||||
#include "text_hud.h"
|
||||
#include "../account/license.h"
|
||||
#include "../gui/notifications.h"
|
||||
class watermark : public text_hud {
|
||||
public:
|
||||
watermark() : text_hud("watermark", "account, license and frame rate", category::hud, VK_F6) {
|
||||
text_=theme::brand_name();hud_pos=ImVec2(10,10);
|
||||
fps_=&add_toggle("show fps",true);
|
||||
expiry_=&add_toggle("show license expiry",true);
|
||||
}
|
||||
ImVec2 hud_size()const override {
|
||||
const float scale=scale_->float_value;
|
||||
return card_size(fonts::text_size(fonts::body,fonts::k_body_size*scale,text_.c_str()).x,scale);
|
||||
}
|
||||
void on_render() override {
|
||||
draw(licensing::client().latest());
|
||||
}
|
||||
void draw(const licensing::account& account) {
|
||||
text_=theme::brand_name();
|
||||
text_+=" | ";text_+=account.username;text_+=" | uid ";text_+=std::to_string(account.uid);
|
||||
if(expiry_->bool_value) {
|
||||
if(expiry_stamp_!=account.license_expiry) {
|
||||
expiry_stamp_=account.license_expiry;
|
||||
expiry_text_=licensing::expiry_text(expiry_stamp_);
|
||||
}
|
||||
text_+=" | ";if(expiry_stamp_)text_+="expires ";text_+=expiry_text_;
|
||||
}
|
||||
if(account.reconnecting)text_+=" | reconnecting";
|
||||
if(fps_->bool_value){char fps[24];snprintf(fps,sizeof(fps)," | %.0f fps",ImGui::GetIO().Framerate);text_+=fps;}
|
||||
const float scale=scale_->float_value,font=fonts::k_body_size*scale;
|
||||
const auto measured=fonts::text_size(fonts::body,font,text_.c_str());
|
||||
const auto bounds=card_size(measured.x,scale);
|
||||
auto* draw=ImGui::GetBackgroundDrawList();
|
||||
const ImVec2 pos{std::floor(hud_pos.x),std::floor(hud_pos.y)},end{pos.x+bounds.x,pos.y+bounds.y};
|
||||
notifications::below_watermark(pos,bounds);
|
||||
if(background_->bool_value)theme::panel(draw,pos,end);
|
||||
theme::draw_logo(draw,{pos.x+6.f*scale,pos.y+3.5f*scale},18.f*scale);
|
||||
draw->PushClipRect(pos,{end.x-6.f*scale,end.y},true);
|
||||
draw->AddText(fonts::body,font,{std::floor(pos.x+(theme::current.logo==2 ? 12.f:30.f)*scale),std::floor(pos.y+(bounds.y-measured.y)*.5f)},theme::display_color(setting_color(*color_)),text_.c_str());
|
||||
draw->PopClipRect();
|
||||
}
|
||||
private:
|
||||
static ImVec2 card_size(float text_width,float scale) {
|
||||
const float width=text_width+(theme::current.logo==2 ? 18.f:36.f)*scale;
|
||||
return {(std::min)(width,(std::max)(100.f,ImGui::GetIO().DisplaySize.x-20.f)),25.f*scale};
|
||||
}
|
||||
int64_t expiry_stamp_=0;
|
||||
std::string expiry_text_="lifetime";
|
||||
setting *fps_,*expiry_;
|
||||
};
|
||||
Reference in new issue
Block a user