minecraft-renderer 0.1.84 → 0.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mesher.js.map +2 -2
- package/dist/mesherWasm.js +214 -214
- package/dist/minecraft-renderer.js +15 -19
- package/dist/minecraft-renderer.js.meta.json +1 -1
- package/dist/threeWorker.js +4 -8
- package/package.json +1 -1
- package/src/lib/worldrendererCommon.ts +7 -0
- package/src/mesher-shared/shared.ts +5 -0
- package/src/three/modules/starfield.ts +3 -16
- package/src/wasm-mesher/bridge/render-from-wasm.ts +51 -21
- package/src/wasm-mesher/tests/blendEmissionOrder.test.ts +123 -0
- package/src/wasm-mesher/tests/crossColumnCulling.test.ts +205 -0
- package/src/wasm-mesher/tests/mesherWasmChunkBuffer.test.ts +24 -0
- package/src/wasm-mesher/tests/mesherWasmNeighborhood.test.ts +91 -0
- package/src/wasm-mesher/worker/mesherWasm.ts +148 -69
- package/src/wasm-mesher/worker/mesherWasmChunkBuffer.ts +28 -0
- package/src/wasm-mesher/worker/mesherWasmNeighborhood.ts +125 -0
package/dist/threeWorker.js
CHANGED
|
@@ -4643,7 +4643,7 @@ void main() {
|
|
|
4643
4643
|
applyFog();
|
|
4644
4644
|
writeLogDepth();
|
|
4645
4645
|
}
|
|
4646
|
-
`;l0=6;Xd={LX_BITS:4,LY_BITS:4,LZ_BITS:4,FACE_BITS:3,TINT_BITS:8,AO_BITS_PER_CORNER:2,NUM_CORNERS:4,LX_SHIFT:0,LY_SHIFT:4,LZ_SHIFT:8,FACE_SHIFT:12,TINT_SHIFT:15,AO_SHIFT:23,TRANSPARENT_SHIFT:31},D_e={TEX_INDEX_BITS:12,DIAGONAL_FLAG_SHIFT:12,SECTION_Y_SHIFT:13,SECTION_Y_BITS:5,EMPTY_SHIFT:18,SECTION_X_HI_SHIFT:19,SECTION_Z_HI_SHIFT:25,SECTION_HI_BITS:6,SPARE_BITS:1},bYe={SECTION_BITS:22,SECTION_MASK:(1<<22)-1,LO_BITS:16,HI_BITS:6,SECTION_BIAS:2097152}});var Zb,O_e=Vn(()=>{"use strict";h();p();m();Zb=class{atlasWidth;atlasHeight;tileSize;tilesPerRow;maxTiles;valid;constructor(e){this.atlasWidth=e.width,this.atlasHeight=e.height,this.tileSize=e.tileSize,this.tilesPerRow=Math.floor(this.atlasWidth/this.tileSize),this.maxTiles=this.tilesPerRow*Math.floor(this.atlasHeight/this.tileSize),this.valid=this.atlasWidth===1024&&this.atlasHeight===1024&&this.tileSize===16&&this.maxTiles<=4096}isValid(){return this.valid}getTilesPerRow(){return this.tilesPerRow}tileIndexFromPixelCoords(e,t){if(!this.valid)return-1;let n=Math.floor(e/this.tileSize),r=Math.floor(t/this.tileSize);if(n<0||n>=this.tilesPerRow||r<0)return-1;let s=r*this.tilesPerRow+n;return s>=this.maxTiles?-1:s}tileIndexFromTextureEntry(e){return!this.valid||e.su!==this.tileSize||e.sv!==this.tileSize?-1:this.tileIndexFromPixelCoords(e.u,e.v)}tileIndexFromTextureName(e,t){if(!this.valid)return-1;let n=t.textures[e];if(!n&&e.includes(":")&&(n=t.textures[e.split(":")[1]]),!n&&e.includes("/")&&(n=t.textures[e.split("/")[1]]),n||(n=t.textures[`block/${e}`]),!n){let r=e.replace(/^block\//,"");n=t.textures[r]}return n?this.tileIndexFromTextureEntry(n):-1}}});var Qb,N_e=Vn(()=>{"use strict";h();p();m();Lt();Qb=class i{entries=[{r:1,g:1,b:1}];colorToIndex=new Map;categoryBiomeToIndex=new Map;texture=null;ready=!1;packColor(e,t,n){let r=Math.round(e*255),s=Math.round(t*255),a=Math.round(n*255);return r<<16|s<<8|a}add(e,t,n,r,s){let a=this.packColor(e,t,n),o=`${r}:${s}`,l=this.categoryBiomeToIndex.get(o);if(l!==void 0)return l;let c=this.colorToIndex.get(a);if(c!==void 0)return this.categoryBiomeToIndex.set(o,c),c;let u=this.entries.length;return this.entries.push({r:e,g:t,b:n}),this.colorToIndex.set(a,u),this.categoryBiomeToIndex.set(o,u),u}getTintIndex(e,t,n,r){return e===void 0?0:e===0?t==="redstone_wire"?this.categoryBiomeToIndex.get(`redstone:${n.power}`)??this.categoryBiomeToIndex.get("redstone:0")??0:t==="birch_leaves"||t==="spruce_leaves"||t==="lily_pad"?this.categoryBiomeToIndex.get(`constant:${t}`)??this.categoryBiomeToIndex.get("constant:default")??0:t.includes("leaves")||t==="vine"?this.categoryBiomeToIndex.get(`foliage:${r}`)??this.categoryBiomeToIndex.get("foliage:plains")??0:this.categoryBiomeToIndex.get(`grass:${r}`)??this.categoryBiomeToIndex.get("grass:plains")??0:0}getEntry(e){return this.entries[e]??this.entries[0]}get size(){return this.entries.length}buildTextureData(){let e=new Float32Array(1024);for(let t=0;t<this.entries.length&&t<256;t++){let n=this.entries[t];e[t*4]=n.r,e[t*4+1]=n.g,e[t*4+2]=n.b,e[t*4+3]=1}return e}createTexture(){this.texture&&(this.texture.dispose(),this.texture=null,this.ready=!1);let e=this.buildTextureData(),t=new ui(e,256,1,Gr,qr);return t.minFilter=ct,t.magFilter=ct,t.wrapS=jn,t.wrapT=jn,t.needsUpdate=!0,this.texture=t,this.ready=!0,t}getTexture(){return this.texture}isReady(){return this.ready}static fromTintsData(e){let t=new i;function n(r){let s=(r>>16&255)/255,a=(r>>8&255)/255,o=(r&255)/255;return[s,a,o]}if(e.grass){let r=n(e.grass.default);for(let{keys:s,color:a}of e.grass.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"grass",l)}t.add(r[0],r[1],r[2],"grass","plains")}if(e.foliage){let r=n(e.foliage.default);for(let{keys:s,color:a}of e.foliage.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"foliage",l)}t.add(r[0],r[1],r[2],"foliage","plains")}if(e.redstone){let r=n(e.redstone.default);for(let{keys:s,color:a}of e.redstone.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"redstone",l)}t.add(r[0],r[1],r[2],"redstone","0")}if(e.constant){let r=n(e.constant.default);for(let{keys:s,color:a}of e.constant.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"constant",l)}t.add(r[0],r[1],r[2],"constant","default")}return t}}});function xYe(){let i=globalThis.loadedData?.tints;return i||(U_e||(U_e=!0,console.warn("[shaderCubeBridge] loadedData.tints missing; shader cubes use legacy path")),null)}function n9(){let i=xYe();if(!i)return null;if(e9||(e9=Qb.fromTintsData(i),e9.createTexture()),!xP){let e=M3.latest??M3;xP=new Zb({width:e.width,height:e.height,tileSize:e.tileSize??16,suSv:e.suSv??16,textures:e.textures??{}})}return{tintPalette:e9,textureIndexMapping:xP}}function F_e(){return 1<<D_e.EMPTY_SHIFT>>>0}var t9,e9,xP,U_e,z5=Vn(()=>{"use strict";h();p();m();kE();Kc();O_e();N_e();t9=4,e9=null,xP=null,U_e=!1});function wYe(i,e){let t=new Sa,n=new Float32Array(l0*3);t.setAttribute("position",new Mt(n,3));let r=new Uint32Array(e),s=new Uint32Array(e),a=new Uint32Array(e),o=new Uint32Array(e),l=t9;for(let c=0;c<e;c++)r[c]=i[c*l],s[c]=i[c*l+1],a[c]=i[c*l+2],o[c]=i[c*l+3];return t.setAttribute("a_w0",new Ar(r,1)),t.setAttribute("a_w1",new Ar(s,1)),t.setAttribute("a_w2",new Ar(a,1)),t.setAttribute("a_w3",new Ar(o,1)),t.instanceCount=e,t.boundingBox=new kn(new X(-8,-8,-8),new X(8,8,8)),t.boundingSphere=new Tn(new X(0,0,0),Math.sqrt(3*8**2)),t}function SYe(i){i.raycast=(e,t)=>{let{geometry:n}=i;if(!n.boundingBox||(V_e.copy(n.boundingBox).applyMatrix4(i.matrixWorld),!e.ray.intersectBox(V_e,wP)))return;let r=e.ray.origin.distanceTo(wP);t.push({distance:r,point:wP.clone(),object:i})}}function r9(i,e){let t=wYe(i.words,i.count),n=new Ke(t,e);return n.name="shaderMesh",n.matrixAutoUpdate=!1,n.frustumCulled=!1,SYe(n),n}function SP(i){i.geometry.dispose()}var V_e,wP,EP=Vn(()=>{"use strict";h();p();m();Lt();Kc();z5();V_e=new kn,wP=new X});var j_e={};so(j_e,{applyWorldGeometryExport:()=>AYe,createMeshesFromExport:()=>G_e,downloadWorldGeometry:()=>MP,exportWorldGeometry:()=>H_e,loadTextureFromDataUrl:()=>W_e,loadWorldGeometryFromUrl:()=>EYe});function H_e(i,e,t,n=!1){let r=[],s=Ml(i.timeOfTheDay)/15,a=i.chunkMeshManager.globalLegacyBuffer;for(let[l,c]of Object.entries(i.sectionObjects)){let u=[],d=[],f=[],v=[],g=[],b=[],y=[],_=a?.getSectionGeometryData(l);_&&(u.push(..._.positions),f.push(...jb(_.colors,_.skyLights,_.blockLights,s)),v.push(..._.skyLights),g.push(..._.blockLights),b.push(..._.uvs),y.push(..._.indices));let x=c.children.find(w=>w.name==="mesh");if(x?.geometry){let{geometry:w}=x,S=w.getAttribute("position"),A=w.getAttribute("normal"),T=w.getAttribute("color"),P=w.getAttribute("a_skyLight"),I=w.getAttribute("a_blockLight"),k=w.getAttribute("uv"),L=w.index;if(S&&L&&T){let B=u.length/3,U=S.count,O=Array.from(T.array),V=P?Array.from(P.array):new Array(U).fill(1),F=I?Array.from(I.array):new Array(U).fill(0);u.push(...Array.from(S.array)),A&&d.push(...Array.from(A.array)),f.push(...jb(O,V,F,s)),v.push(...V),g.push(...F),k&&b.push(...Array.from(k.array));for(let J of Array.from(L.array))y.push(J+B)}}u.length===0||y.length===0||r.push({key:l,position:{x:c.worldX??0,y:c.worldY??0,z:c.worldZ??0},geometry:{positions:u,normals:d,colors:f,skyLights:v,blockLights:g,uvs:b,indices:y}})}let o={version:i.version??"unknown",exportedAt:new Date().toISOString(),camera:{position:e,rotation:t},sections:r};if(n&&i.material.map){let l=document.createElement("canvas"),c=i.material.map,{image:u}=c;u&&(l.width=u.width,l.height=u.height,l.getContext("2d").drawImage(u,0,0),o.textureAtlasDataUrl=l.toDataURL("image/png"))}return o}function MP(i,e,t,n="world-geometry.json",r=!1){let s=H_e(i,e,t,r),a=JSON.stringify(s),o=new Blob([a],{type:"application/json"}),l=URL.createObjectURL(o),c=document.createElement("a");c.href=l,c.download=n,c.click(),URL.revokeObjectURL(l)}async function EYe(i){let e=await fetch(i);if(!e.ok)throw new Error(`Failed to fetch world geometry: ${e.statusText}`);return e.json()}function q_e(i,e){let t=i.map??i.map;if(!t)return null;let n=Yb();n.uniforms.u_atlas.value=t,Jb(n,e);let r=n9();if(!r)return null;let{tintPalette:s}=r;return s.isReady()||s.createTexture(),n.uniforms.u_tintPalette.value=s.getTexture(),n}function G_e(i,e,t,n=1){let r=[],s=t??q_e(e,n);for(let a of i.sections){let o=new bt;if(o.name="chunk",a.geometry.positions.length>0&&a.geometry.indices.length>0){let u=new dt;if(u.setAttribute("position",new Je(a.geometry.positions,3)),a.geometry.normals.length&&u.setAttribute("normal",new Je(a.geometry.normals,3)),a.geometry.colors.length){let g=a.geometry.skyLights?.length?jb(a.geometry.colors,a.geometry.skyLights,a.geometry.blockLights,n):a.geometry.colors;u.setAttribute("color",new Je(g,3))}a.geometry.uvs.length&&u.setAttribute("uv",new Je(a.geometry.uvs,2));let f=Math.max(...a.geometry.indices)>65535?Uint32Array:Uint16Array;u.setIndex(new Mt(new f(a.geometry.indices),1));let v=new Ke(u,e);v.position.set(a.position.x,a.position.y,a.position.z),v.name="mesh",o.add(v)}let c=a.shaderCubes;if(c&&c.count>0&&s){let u=r9(c,s);u.position.set(a.position.x,a.position.y,a.position.z),o.add(u)}o.children.length>0&&r.push(o)}return r}async function W_e(i){return new Promise((e,t)=>{let n=new Image;n.onload=()=>{let r=new sn(n);r.magFilter=ct,r.minFilter=ct,r.needsUpdate=!0,r.flipY=!1,e(r)},n.onerror=t,n.src=i})}async function AYe(i,e){let{scene:t,renderUpdateEmitter:n,material:r}=i,s=t.getObjectByName(z_e);s&&(t.remove(s),MYe(s));let a=!!e.textureAtlasDataUrl,o;if(a&&e.textureAtlasDataUrl){let f=await W_e(e.textureAtlasDataUrl);o=new ws({map:f,vertexColors:!0,transparent:!0,alphaTest:.1}),o.name="geometry-export-material"}else o=r;let l=Ml(i.timeOfTheDay)/15,c=e.sections.some(f=>(f.shaderCubes?.count??0)>0)?q_e(o,l):null,u=G_e(e,o,c,l),d=new bt;d.name=z_e,a&&(d.userData.geometryExportMaterial=o);for(let f of u)d.add(f);return t.add(d),n.emit("update"),u.length}var z_e,MYe,AP=Vn(()=>{"use strict";h();p();m();Lt();o4();L_e();z5();Kc();EP();z_e="geometry-export-root";MYe=i=>{i.traverse(t=>{t.isMesh&&t.geometry?.dispose()});let e=i.userData?.geometryExportMaterial;e&&(e.map?.dispose?.(),e.dispose?.())}});var E9=M((l9n,K4e)=>{h();p();m();var{Vec3:J4e}=gl(),ri={UNKNOWN:-999,BOTTOM:0,TOP:1,NORTH:2,SOUTH:3,WEST:4,EAST:5},S9=class{constructor(e,t,n){this.maxDistance=Math.floor(n),this.startx=e,this.starty=t,this.x=2,this.y=-1,this.layer=1,this.leg=-1}next(){if(this.leg===-1)return this.leg=0,new J4e(this.startx,0,this.starty);if(this.leg===0){if(this.maxDistance===1)return null;this.x--,this.y++,this.x===0&&(this.leg=1)}else if(this.leg===1)this.x--,this.y--,this.y===0&&(this.leg=2);else if(this.leg===2)this.x++,this.y--,this.x===0&&(this.leg=3);else if(this.leg===3&&(this.x++,this.y++,this.y===0&&(this.x++,this.leg=0,this.layer++,this.layer===this.maxDistance)))return null;return new J4e(this.startx+this.x,0,this.starty+this.y)}},JP=class{constructor(e,t){this.start=e.floored(),this.maxDistance=t,this.apothem=1,this.x=-1,this.y=-1,this.z=-1,this.L=this.apothem,this.R=this.L+1}next(){if(this.apothem>this.maxDistance)return null;this.R-=1,this.R<0&&(this.L-=1,this.L<0&&(this.z+=2,this.z>1&&(this.y+=2,this.y>1&&(this.x+=2,this.x>1&&(this.apothem+=1,this.x=-1),this.y=-1),this.z=-1),this.L=this.apothem),this.R=this.L);let e=this.x*this.R,t=this.y*(this.apothem-this.L),n=this.z*(this.apothem-(Math.abs(e)+Math.abs(t)));return this.start.offset(e,t,n)}},KP=class{constructor(e,t,n){this.block={x:Math.floor(e.x),y:Math.floor(e.y),z:Math.floor(e.z),face:ri.UNKNOWN},this.pos=e,this.dir=t,this.invDirX=t.x===0?Number.MAX_VALUE:1/t.x,this.invDirY=t.y===0?Number.MAX_VALUE:1/t.y,this.invDirZ=t.z===0?Number.MAX_VALUE:1/t.z,this.stepX=Math.sign(t.x),this.stepY=Math.sign(t.y),this.stepZ=Math.sign(t.z),this.tDeltaX=t.x===0?Number.MAX_VALUE:Math.abs(1/t.x),this.tDeltaY=t.y===0?Number.MAX_VALUE:Math.abs(1/t.y),this.tDeltaZ=t.z===0?Number.MAX_VALUE:Math.abs(1/t.z),this.tMaxX=t.x===0?Number.MAX_VALUE:Math.abs((this.block.x+(t.x>0?1:0)-e.x)/t.x),this.tMaxY=t.y===0?Number.MAX_VALUE:Math.abs((this.block.y+(t.y>0?1:0)-e.y)/t.y),this.tMaxZ=t.z===0?Number.MAX_VALUE:Math.abs((this.block.z+(t.z>0?1:0)-e.z)/t.z),this.maxDistance=n}intersect(e,t){let n=Number.MAX_VALUE,r=ri.UNKNOWN,s=this.pos.minus(t);for(let a of e){let o=(a[this.invDirX>0?0:3]-s.x)*this.invDirX,l=(a[this.invDirX>0?3:0]-s.x)*this.invDirX,c=(a[this.invDirY>0?1:4]-s.y)*this.invDirY,u=(a[this.invDirY>0?4:1]-s.y)*this.invDirY,d=this.stepX>0?ri.WEST:ri.EAST;if(o>u||c>l)continue;c>o&&(o=c,d=this.stepY>0?ri.BOTTOM:ri.TOP),u<l&&(l=u);let f=(a[this.invDirZ>0?2:5]-s.z)*this.invDirZ,v=(a[this.invDirZ>0?5:2]-s.z)*this.invDirZ;o>v||f>l||(f>o&&(o=f,d=this.stepZ>0?ri.NORTH:ri.SOUTH),v<l&&(l=v),o<n&&(n=o,r=d))}return n===Number.MAX_VALUE?null:{pos:this.pos.plus(this.dir.scaled(n)),face:r}}next(){return Math.min(Math.min(this.tMaxX,this.tMaxY),this.tMaxZ)>this.maxDistance?null:(this.tMaxX<this.tMaxY?this.tMaxX<this.tMaxZ?(this.block.x+=this.stepX,this.tMaxX+=this.tDeltaX,this.block.face=this.stepX>0?ri.WEST:ri.EAST):(this.block.z+=this.stepZ,this.tMaxZ+=this.tDeltaZ,this.block.face=this.stepZ>0?ri.NORTH:ri.SOUTH):this.tMaxY<this.tMaxZ?(this.block.y+=this.stepY,this.tMaxY+=this.tDeltaY,this.block.face=this.stepY>0?ri.BOTTOM:ri.TOP):(this.block.z+=this.stepZ,this.tMaxZ+=this.tDeltaZ,this.block.face=this.stepZ>0?ri.NORTH:ri.SOUTH),this.block)}},ZP=class{constructor(e,t){this.start=e,this.maxDistance=t,this.NUMBER_OF_POINTS=Math.floor(Math.pow((Math.floor(t)-.5)*2,2)),this.di=1,this.dj=0,this.segment_length=1,this.i=0,this.j=0,this.segment_passed=0,this.k=0}next(){if(this.k>=this.NUMBER_OF_POINTS)return null;let e=this.start.offset(this.i,0,this.j);if(this.i+=this.di,this.j+=this.dj,this.segment_passed+=1,this.segment_passed===this.segment_length){this.segment_passed=0;let t=this.di;this.di=-this.dj,this.dj=t,this.dj===0&&(this.segment_length+=1)}return this.k+=1,e}};K4e.exports={ManhattanIterator:S9,ManathanIterator:S9,OctahedronIterator:JP,RaycastIterator:KP,SpiralIterator2d:ZP,BlockFace:ri}});var Q4e=M((f9n,Z4e)=>{h();p();m();var{Vec3:vg}=gl(),{EventEmitter:mJe}=(Ia(),Er(j0)),{RaycastIterator:pJe}=E9();function Wi(i){return new vg(Math.floor(i.x)&15,Math.floor(i.y),Math.floor(i.z)&15)}var QP=class extends mJe{constructor(e){super(),this.async=e}initialize(e,t,n,r=256,s=new vg(0,0,0)){function a(u,d,f){return!(u>=n||u<0||f>=t||f<0||d>=r||d<0)}let o=Wi(s),l=Math.ceil((t+o.z)/16),c=Math.ceil((n+o.x)/16);for(let u=0;u<l;u++){let d=u+Math.floor(s.z/16);for(let f=0;f<c;f++){let v=f+Math.floor(s.x/16),g=this.getColumn(v,d),b=f*16-o.x,y=u*16-o.z;g.initialize((_,x,w)=>a(_+b,x-s.y,w+y)?e(_+b,x-s.y,w+y):null),this.setColumn(v,d,g)}}}raycast(e,t,n,r=null){let s=new pJe(e,t,n),a=e;for(;a;){let o=new vg(a.x,a.y,a.z),l=this.getBlock(o);if(l)if(r){if(r(l,s))return l}else{let c=s.intersect([...l.shapes,...l.interactionShapes??[]],o);if(c)return l.face=c.face,l.intersect=c.pos,l}a=s.next()}return null}_emitBlockUpdate(e,t,n){e.position=n.floored(),t.position=e.position,this.emit("blockUpdate",e,t),this.emit(`blockUpdate:${n}`,e,t)}unloadColumn(e,t){this.async.unloadColumn(e,t);let n=new vg(e*16,0,t*16);this.emit("chunkColumnUnload",n)}getColumns(){return this.async.getColumns()}getColumn(e,t){return this.async.getLoadedColumn(e,t)}getColumnAt(e){return this.async.getLoadedColumnAt(e)}setColumn(e,t,n,r=!0){this.async.setLoadedColumn(e,t,n,r);let s=new vg(e*16,0,t*16);this.emit("chunkColumnLoad",s)}getBlock(e){let t=this.getColumnAt(e);if(!t)return null;let n=t.getBlock(Wi(e));return n.position=e.floored(),n}getBlockStateId(e){let t=this.getColumnAt(e);return t?t.getBlockStateId(Wi(e)):0}getBlockType(e){let t=this.getColumnAt(e);return t?t.getBlockType(Wi(e)):0}getBlockData(e){let t=this.getColumnAt(e);return t?t.getBlockData(Wi(e)):0}getBlockLight(e){let t=this.getColumnAt(e);return t?t.getBlockLight(Wi(e)):0}getSkyLight(e){let t=this.getColumnAt(e);return t?t.getSkyLight(Wi(e)):0}getBiome(e){let t=this.getColumnAt(e);return t?t.getBiome(Wi(e)):0}setBlock(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlock(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,t,e)}setBlockStateId(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockStateId(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBlockType(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockType(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBlockData(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockData(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBlockLight(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockLight(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setSkyLight(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setSkyLight(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBiome(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBiome(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}};Z4e.exports=QP});var t8e=M((v9n,e8e)=>{h();p();m();var{Vec3:_g}=gl(),{EventEmitter:vJe}=(Ia(),Er(j0)),{RaycastIterator:gJe}=E9(),_Je=Q4e(),{once:yJe}=(Ia(),Er(j0));function gg(i,e){return i+","+e}function ji(i){return new _g(Math.floor(i.x)&15,Math.floor(i.y),Math.floor(i.z)&15)}var eL=class extends vJe{constructor(e,t=null,n=1e3){super(),this.savingQueue=new Map,this.unloadQueue=new Map,this.finishedSaving=Promise.resolve(),this.currentlySaving=!1,this.columns={},this.chunkGenerator=e,this.storageProvider=t,this.savingInterval=n,this.sync=new _Je(this),t&&n!==0&&this.startSaving()}initialize(e,t,n,r=256,s=new _g(0,0,0)){function a(d,f,v){return!(d>=n||d<0||v>=t||v<0||f>=r||f<0)}let o=[],l=ji(s),c=Math.ceil((t+l.z)/16),u=Math.ceil((n+l.x)/16);for(let d=0;d<c;d++){let f=d+Math.floor(s.z/16);for(let v=0;v<u;v++){let g=v+Math.floor(s.x/16);o.push(this.getColumn(g,f).then(b=>{let y=v*16-l.x,_=d*16-l.z;return b.initialize((x,w,S)=>a(x+y,w-s.y,S+_)?e(x+y,w-s.y,S+_):null),this.setColumn(g,f,b)}).then(()=>({chunkX:g,chunkZ:f})))}}return Promise.all(o)}async raycast(e,t,n,r=null){let s=new gJe(e,t,n),a=e;for(;a;){let o=new _g(a.x,a.y,a.z),l=await this.getBlock(o);if(l&&(!r||r(l))){let c=s.intersect([...l.shapes,...l.interactionShapes??[]],o);if(c)return l.face=c.face,l.intersect=c.pos,l}a=s.next()}return null}getLoadedColumn(e,t){let n=gg(e,t);return this.columns[n]}async getColumn(e,t){await Promise.resolve();let n=gg(e,t);if(!this.columns[n]){let r=null;if(this.storageProvider!=null){let a=await this.storageProvider.load(e,t);a!=null&&(r=a)}let s=r!=null;!s&&this.chunkGenerator&&(r=await this.chunkGenerator(e,t)),r!=null&&await this.setColumn(e,t,r,!s)}return this.columns[n]}_emitBlockUpdate(e,t,n){e.position=n.floored(),t.position=e.position,this.emit("blockUpdate",e,t),this.emit(`blockUpdate:${n}`,e,t)}setLoadedColumn(e,t,n,r=!0){let s=gg(e,t);this.columns[s]=n;let a=new _g(e*16,0,t*16);this.emit("chunkColumnLoad",a),this.storageProvider&&r&&this.queueSaving(e,t)}async setColumn(e,t,n,r=!0){await Promise.resolve(),this.setLoadedColumn(e,t,n,r)}unloadColumn(e,t){let n=gg(e,t);this.storageProvider&&this.savingQueue.has(n)?this.unloadQueue.set(n,{chunkX:e,chunkZ:t}):this.forceUnloadColumn(n,e,t)}forceUnloadColumn(e,t,n){this.unloadQueue.has(e)&&this.unloadQueue.delete(e),delete this.columns[e];let r=new _g(t*16,0,n*16);this.emit("chunkColumnUnload",r)}async saveNow(){if(this.savingQueue.size!==0){for(let[e,{chunkX:t,chunkZ:n}]of this.savingQueue.entries())this.finishedSaving=Promise.all([this.finishedSaving,this.storageProvider.save(t,n,this.columns[e])]);await this.finishedSaving,this.savingQueue.clear();for(let[e,{chunkX:t,chunkZ:n}]of this.unloadQueue.entries())this.forceUnloadColumn(e,t,n);this.emit("doneSaving")}}startSaving(){this.savingInt=setInterval(async()=>{this.currentlySaving===!1&&(this.currentlySaving=!0,await this.saveNow(),this.currentlySaving=!1)},this.savingInterval)}async waitSaving(){await this.saveNow(),this.savingQueue.size>0&&await yJe(this,"doneSaving"),await this.finishedSaving}stopSaving(){clearInterval(this.savingInt)}queueSaving(e,t){this.savingQueue.set(gg(e,t),{chunkX:e,chunkZ:t})}saveAt(e){let t=Math.floor(e.x/16),n=Math.floor(e.z/16);this.storageProvider&&this.queueSaving(t,n)}getColumns(){return Object.entries(this.columns).map(([e,t])=>{let n=e.split(",");return{chunkX:n[0],chunkZ:n[1],column:t}})}getLoadedColumnAt(e){let t=Math.floor(e.x/16),n=Math.floor(e.z/16);return this.getLoadedColumn(t,n)}async getColumnAt(e){let t=Math.floor(e.x/16),n=Math.floor(e.z/16);return this.getColumn(t,n)}async setBlock(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlock(r,t),this.saveAt(e),this._emitBlockUpdate(s,t,e)}async getBlock(e){let t=(await this.getColumnAt(e)).getBlock(ji(e));return t.position=e.floored(),t}async getBlockStateId(e){return(await this.getColumnAt(e)).getBlockStateId(ji(e))}async getBlockType(e){return(await this.getColumnAt(e)).getBlockType(ji(e))}async getBlockData(e){return(await this.getColumnAt(e)).getBlockData(ji(e))}async getBlockLight(e){return(await this.getColumnAt(e)).getBlockLight(ji(e))}async getSkyLight(e){return(await this.getColumnAt(e)).getSkyLight(ji(e))}async getBiome(e){return(await this.getColumnAt(e)).getBiome(ji(e))}async setBlockStateId(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockStateId(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBlockType(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockType(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBlockData(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockData(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBlockLight(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockLight(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setSkyLight(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setSkyLight(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBiome(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBiome(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}};function bJe(i){return eL}e8e.exports=bJe});var n8e=M((b9n,tL)=>{h();p();m();tL.exports=t8e();tL.exports.iterators=E9()});h();p();m();h();p();m();function kB(i){if(Array.isArray(i))return i;if(!i||typeof i!="object")return;let e=i,t=Object.keys(e).filter(n=>/^\d+$/.test(n)).map(Number).sort((n,r)=>n-r);if(!(!t.length||t[0]!==0)){for(let n=0;n<t.length;n++)if(t[n]!==n)return;return t.map(n=>e[String(n)])}}function m0(i,e){return Array.isArray(i)?i.reduce((t,n)=>(t[n[e]]=n,t),{}):(console.warn("[augmentWorkerMcData] buildIndexFromArray expected array, got",typeof i),{})}function E8e(i,e,t){return Array.isArray(i)?i.reduce((n,r)=>{let s=r[e],a=r[t];for(let o=s;o<=a;o++)n[o]=r;return n},{}):(console.warn("[augmentWorkerMcData] buildIndexFromArrayWithRanges expected array, got",typeof i),{})}function M8e(i){if(i.length&&!("minStateId"in i[0]&&"defaultState"in i[0]))for(let e of i){let t=e.id;e.minStateId=t<<4,e.maxStateId=e.minStateId+15,e.defaultState=e.minStateId}}function kg(i,e,t){let n=kB(i[e]);if(n?.length)return n;let r=kB(i[t]);if(r?.length)return r}function TB(i){if(i.__workerIndexesBuilt)return i;let e=kg(i,"blocksArray","blocks");e?.length&&(M8e(e),i.blocksArray=e,i.blocks=m0(e,"id"),i.blocksByName=m0(e,"name"),i.blocksByStateId=E8e(e,"minStateId","maxStateId"));let t=kg(i,"itemsArray","items");t?.length&&(i.itemsArray=t,i.itemsByName=m0(t,"name"),i.items=m0(t,"id"));let n=kg(i,"entitiesArray","entities");n?.length&&(i.entitiesArray=n,i.entitiesByName=m0(n,"name"),i.entities=m0(n,"id"));let r=kg(i,"biomesArray","biomes");return r?.length&&(i.biomesArray=r,i.biomes=m0(r,"id"),i.biomesByName=m0(r,"name")),i.__workerIndexesBuilt=!0,i}h();p();m();Lt();h();p();m();var _N=Yr(gl(),1);var kt=_N.default.Vec3;h();p();m();h();p();m();h();p();m();var _Ke=Symbol(),aEe=Symbol();var yN=Object.getPrototypeOf,Dw=new WeakMap,oEe=i=>i&&(Dw.has(i)?Dw.get(i):yN(i)===Object.prototype||yN(i)===Array.prototype);var bN=i=>oEe(i)&&i[aEe]||null,Ow=(i,e=!0)=>{Dw.set(i,e)};var p1={},Nw=i=>typeof i=="object"&&i!==null,G0=new WeakMap,U7=new WeakSet,lEe=(i=Object.is,e=(c,u)=>new Proxy(c,u),t=c=>Nw(c)&&!U7.has(c)&&(Array.isArray(c)||!(Symbol.iterator in c))&&!(c instanceof WeakMap)&&!(c instanceof WeakSet)&&!(c instanceof Error)&&!(c instanceof Number)&&!(c instanceof Date)&&!(c instanceof String)&&!(c instanceof RegExp)&&!(c instanceof ArrayBuffer),n=c=>{switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:throw c}},r=new WeakMap,s=(c,u,d=n)=>{let f=r.get(c);if(f?.[0]===u)return f[1];let v=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c));return Ow(v,!0),r.set(c,[u,v]),Reflect.ownKeys(c).forEach(g=>{if(Object.getOwnPropertyDescriptor(v,g))return;let b=Reflect.get(c,g),{enumerable:y}=Reflect.getOwnPropertyDescriptor(c,g),_={value:b,enumerable:y,configurable:!0};if(U7.has(b))Ow(b,!1);else if(b instanceof Promise)delete _.value,_.get=()=>d(b);else if(G0.has(b)){let[x,w]=G0.get(b);_.value=s(x,w(),d)}Object.defineProperty(v,g,_)}),Object.preventExtensions(v)},a=new WeakMap,o=[1,1],l=c=>{if(!Nw(c))throw new Error("object required");let u=a.get(c);if(u)return u;let d=o[0],f=new Set,v=(k,L=++o[0])=>{d!==L&&(d=L,f.forEach(B=>B(k,L)))},g=o[1],b=(k=++o[1])=>(g!==k&&!f.size&&(g=k,_.forEach(([L])=>{let B=L[1](k);B>d&&(d=B)})),d),y=k=>(L,B)=>{let U=[...L];U[1]=[k,...U[1]],v(U,B)},_=new Map,x=(k,L)=>{if((p1.env?p1.env.MODE:void 0)!=="production"&&_.has(k))throw new Error("prop listener already exists");if(f.size){let B=L[3](y(k));_.set(k,[L,B])}else _.set(k,[L])},w=k=>{var L;let B=_.get(k);B&&(_.delete(k),(L=B[1])==null||L.call(B))},S=k=>(f.add(k),f.size===1&&_.forEach(([B,U],O)=>{if((p1.env?p1.env.MODE:void 0)!=="production"&&U)throw new Error("remove already exists");let V=B[3](y(O));_.set(O,[B,V])}),()=>{f.delete(k),f.size===0&&_.forEach(([B,U],O)=>{U&&(U(),_.set(O,[B]))})}),A=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),P=e(A,{deleteProperty(k,L){let B=Reflect.get(k,L);w(L);let U=Reflect.deleteProperty(k,L);return U&&v(["delete",[L],B]),U},set(k,L,B,U){let O=Reflect.has(k,L),V=Reflect.get(k,L,U);if(O&&(i(V,B)||a.has(B)&&i(V,a.get(B))))return!0;w(L),Nw(B)&&(B=bN(B)||B);let F=B;if(B instanceof Promise)B.then(J=>{B.status="fulfilled",B.value=J,v(["resolve",[L],J])}).catch(J=>{B.status="rejected",B.reason=J,v(["reject",[L],J])});else{!G0.has(B)&&t(B)&&(F=l(B));let J=!U7.has(F)&&G0.get(F);J&&x(L,J)}return Reflect.set(k,L,F,U),v(["set",[L],B,V]),!0}});a.set(c,P);let I=[A,b,s,S];return G0.set(P,I),Reflect.ownKeys(c).forEach(k=>{let L=Object.getOwnPropertyDescriptor(c,k);"value"in L&&(P[k]=c[k],delete L.value,delete L.writable),Object.defineProperty(A,k,L)}),P})=>[l,G0,U7,i,e,t,n,r,s,a,o],[cEe]=lEe();function _l(i={}){return cEe(i)}function Uw(i){let e=G0.get(i);return e?.[1]()}function v1(i,e,t){let n=G0.get(i);(p1.env?p1.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let r,s=[],a=n[3],o=!1,c=a(u=>{if(s.push(u),t){e(s.splice(0));return}r||(r=Promise.resolve().then(()=>{r=void 0,o&&e(s.splice(0))}))});return o=!0,()=>{o=!1,c()}}function SN(i,e){let t=e??globalThis;return t.addEventListener("message",n=>{let{type:r,args:s,msgId:a}=n.data;if(i[r]){let o=i[r](...s);o instanceof Promise&&o.then(l=>{t.postMessage({type:"result",msgId:a,args:[l]})})}}),null}var EN=!1,c2={toWorker:0,fromWorker:0},xN=null,uEe=()=>{xN==null&&(typeof window>"u"||(xN=setInterval(()=>{globalThis.debugWorkerSyncStats={...c2},c2.toWorker=0,c2.fromWorker=0},1e3)))},V7=i=>{uEe(),i==="toWorker"?c2.toWorker++:c2.fromWorker++};var dEe=(i,e,t)=>{if(e.length===0)return;let n=i;for(let r=0;r<e.length-1;r++){let s=e[r];(n[s]==null||typeof n[s]!="object")&&(n[s]={}),n=n[s]}n[e[e.length-1]]=t},fEe=(i,e)=>{if(e.length===0)return;let t=i;for(let n=0;n<e.length-1;n++)if(t=t[e[n]],t==null)return;delete t[e[e.length-1]]},Fw=(i,e)=>{if(i==null||typeof i!="object")return i;if(i instanceof kt)return{x:i.x,y:i.y,z:i.z,__restorer:"Vec3"};if(typeof i.prepareForTransfer=="function")return i.prepareForTransfer(e);if(ArrayBuffer.isView(i))return i;if(Array.isArray(i))return i.map(n=>Fw(n,e));if(Uw(i)!==void 0)return F7(i);let t={};for(let n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=Fw(i[n],e));return t},hEe=(i,e)=>{let t=[];for(let n of i){let r=n[0];r==="delete"?t.push({kind:"delete",path:n[1]}):r==="set"&&t.push({kind:"set",path:n[1],value:Fw(n[2],e)})}return t},mEe=(i,e,t,n,r)=>{if(e.length===0)return;let s=hEe(e,t);if(s.length!==0)try{t.postMessage({type:"sync",syncId:i,ops:s}),n==="toWorker"&&V7("toWorker"),EN&&console.log(`sync ${r}`,s.length,"ops")}catch(a){console.error("Failed to send worker sync ops",a,r);for(let o of s)o.kind==="set"&&Vw(o.value)}},pEe=(i,e,t,n=!1)=>{for(let r of e)r.kind==="delete"?fEe(i,r.path):dEe(i,r.path,u2(r.value,[],t,!1,!1));n==="fromWorker"&&V7("fromWorker")},vEe=(i,e,t,n,r)=>{try{let s=F7(e);t.postMessage({type:"sync",syncId:i,value:s}),n==="toWorker"&&V7("toWorker"),EN&&console.log(`sync snapshot ${r}`)}catch(s){console.error("Failed to send worker sync snapshot",s,r),Vw(e)}},gEe=(i,e,t,n=!1)=>{Object.assign(i,u2(e,[],t,!1,!1)),n==="fromWorker"&&V7("fromWorker")};var F7=i=>{if(Uw(i)===void 0)return i;if(Array.isArray(i))return i.map(F7);if(typeof i=="object"&&i!==null){let e={};for(let t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=F7(i[t]));return e}return i};var Vw=(i,e=[])=>{for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){if(!i[t])continue;typeof i[t]=="object"&&i[t]!==null&&Vw(i[t],[...e,t]);try{structuredClone(i[t])}catch(n){console.error(n),console.log("Failed to clone for transfer",e.join("."))}}},wN=new WeakMap,_Ee=(i,e,t)=>{if(!i.__syncId)return;let n=i.__syncId,r=wN.get(e);if(r||(r=new Set,wN.set(e,r)),!r.has(n)&&(r.add(n),i.__syncToWorker&&e.addEventListener("message",s=>{s.data.type==="sync"&&s.data.syncId===n&&(s.data.ops?pEe(i,s.data.ops,e):s.data.value&&gEe(i,s.data.value,e))}),i.__syncFromWorker)){i.__valtio&&v1(i,a=>{mEe(n,a,e,"fromWorker",`fromWorker:${t}`)});let s=i.__syncFromWorkerInterval??0;s>0&&!i.__valtio&&setInterval(()=>{vEe(n,i,e,"fromWorker",`fromWorker:interval:${t}`)},s)}},yEe=[{restorerName:"Vec3",restoreTransferred(i,e){return new kt(i.x,i.y,i.z)}}];var u2=(i,e,t,n=!0,r=!0)=>{let s=[...yEe,...e],a=(o,l)=>{if(o==null||typeof o!="object")return o;if(o.__restorer){let c=s.find(d=>d.restorerName?d.restorerName===o.__restorer:d.name===o.__restorer);if(c)return c.restoreTransferred(o,t);let u=new Error(`Restorer ${o.__restorer} not found`);if(typeof n=="function")n(u);else{if(n)throw u;console.error(u)}return o}if(Array.isArray(o))return o.map((c,u)=>a(c,`${l}[${u}]`));for(let c in o){if(!Object.prototype.hasOwnProperty.call(o,c))continue;let u=o[c];u!=null&&typeof u=="object"&&(o[c]=a(u,`${l}.${c}`))}return o.__valtio&&(o=_l(o)),r&&_Ee(o,t,l),o};return a(i,"root")};h();p();m();h();p();m();Ia();var OE=Yr(E3(),1);kE();var y0e={latest:{suSv:.015625,tileSize:16,width:1024,height:1024,textures:{missing_texture:{u:0,v:0,tileIndex:0},air:{u:.015625,v:0,tileIndex:1},invsprite_acacia_leaves:{u:0,v:.015625,tileIndex:64},invsprite_banner:{u:.015625,v:.015625,tileIndex:65},invsprite_bed:{u:.03125,v:0,tileIndex:2},invsprite_birch_leaves:{u:.046875,v:0,tileIndex:3},invsprite_dark_oak_leaves:{u:.03125,v:.015625,tileIndex:66},invsprite_experience_bottle:{u:.046875,v:.015625,tileIndex:67},invsprite_grass:{u:0,v:.03125,tileIndex:128},invsprite_jungle_leaves:{u:0,v:.046875,tileIndex:192},invsprite_oak_leaves:{u:.015625,v:.03125,tileIndex:129},invsprite_spruce_leaves:{u:.015625,v:.046875,tileIndex:193},invsprite_tall_grass:{u:.03125,v:.03125,tileIndex:130},invsprite_shield:{u:.03125,v:.046875,tileIndex:194},invsprite_black_shulker_box:{u:.046875,v:.03125,tileIndex:131},invsprite_blue_shulker_box:{u:.046875,v:.046875,tileIndex:195},invsprite_brown_shulker_box:{u:.0625,v:0,tileIndex:4},invsprite_cyan_shulker_box:{u:.078125,v:0,tileIndex:5},invsprite_gray_shulker_box:{u:.09375,v:0,tileIndex:6},invsprite_green_shulker_box:{u:.109375,v:0,tileIndex:7},invsprite_light_blue_shulker_box:{u:.0625,v:.015625,tileIndex:68},invsprite_lime_shulker_box:{u:.078125,v:.015625,tileIndex:69},invsprite_magenta_shulker_box:{u:.09375,v:.015625,tileIndex:70},invsprite_orange_shulker_box:{u:.109375,v:.015625,tileIndex:71},invsprite_pink_shulker_box:{u:.0625,v:.03125,tileIndex:132},invsprite_purple_shulker_box:{u:.078125,v:.03125,tileIndex:133},invsprite_red_shulker_box:{u:.09375,v:.03125,tileIndex:134},invsprite_white_shulker_box:{u:.109375,v:.03125,tileIndex:135},invsprite_yellow_shulker_box:{u:.0625,v:.046875,tileIndex:196},invsprite_bat_spawn_egg:{u:.078125,v:.046875,tileIndex:197},invsprite_black_banner:{u:.09375,v:.046875,tileIndex:198},invsprite_black_bed:{u:.109375,v:.046875,tileIndex:199},invsprite_blaze_spawn_egg:{u:0,v:.0625,tileIndex:256},invsprite_blue_banner:{u:0,v:.078125,tileIndex:320},invsprite_blue_bed:{u:0,v:.09375,tileIndex:384},invsprite_brown_banner:{u:0,v:.109375,tileIndex:448},invsprite_brown_bed:{u:.015625,v:.0625,tileIndex:257},invsprite_cave_spider_spawn_egg:{u:.015625,v:.078125,tileIndex:321},invsprite_chicken_spawn_egg:{u:.015625,v:.09375,tileIndex:385},invsprite_cod_spawn_egg:{u:.015625,v:.109375,tileIndex:449},invsprite_conduit:{u:.03125,v:.0625,tileIndex:258},invsprite_cow_spawn_egg:{u:.03125,v:.078125,tileIndex:322},invsprite_creeper_head:{u:.03125,v:.09375,tileIndex:386},invsprite_creeper_spawn_egg:{u:.03125,v:.109375,tileIndex:450},invsprite_cyan_banner:{u:.046875,v:.0625,tileIndex:259},invsprite_cyan_bed:{u:.046875,v:.078125,tileIndex:323},invsprite_dolphin_spawn_egg:{u:.046875,v:.09375,tileIndex:387},invsprite_donkey_spawn_egg:{u:.046875,v:.109375,tileIndex:451},invsprite_dragon_head:{u:.0625,v:.0625,tileIndex:260},invsprite_drowned_spawn_egg:{u:.0625,v:.078125,tileIndex:324},invsprite_elder_guardian_spawn_egg:{u:.0625,v:.09375,tileIndex:388},invsprite_enderman_spawn_egg:{u:.0625,v:.109375,tileIndex:452},invsprite_endermite_spawn_egg:{u:.078125,v:.0625,tileIndex:261},invsprite_evoker_spawn_egg:{u:.09375,v:.0625,tileIndex:262},invsprite_firework_star:{u:.109375,v:.0625,tileIndex:263},invsprite_ghast_spawn_egg:{u:.078125,v:.078125,tileIndex:325},invsprite_gray_banner:{u:.078125,v:.09375,tileIndex:389},invsprite_gray_bed:{u:.078125,v:.109375,tileIndex:453},invsprite_green_banner:{u:.09375,v:.078125,tileIndex:326},invsprite_green_bed:{u:.109375,v:.078125,tileIndex:327},invsprite_guardian_spawn_egg:{u:.09375,v:.09375,tileIndex:390},invsprite_horse_spawn_egg:{u:.09375,v:.109375,tileIndex:454},invsprite_husk_spawn_egg:{u:.109375,v:.09375,tileIndex:391},invsprite_light_blue_banner:{u:.109375,v:.109375,tileIndex:455},invsprite_light_blue_bed:{u:.125,v:0,tileIndex:8},invsprite_light_gray_banner:{u:.140625,v:0,tileIndex:9},invsprite_light_gray_bed:{u:.15625,v:0,tileIndex:10},invsprite_light_gray_shulker_box:{u:.171875,v:0,tileIndex:11},invsprite_lime_banner:{u:.1875,v:0,tileIndex:12},invsprite_lime_bed:{u:.203125,v:0,tileIndex:13},invsprite_lingering_potion:{u:.21875,v:0,tileIndex:14},invsprite_llama_spawn_egg:{u:.234375,v:0,tileIndex:15},invsprite_magenta_banner:{u:.125,v:.015625,tileIndex:72},invsprite_magenta_bed:{u:.140625,v:.015625,tileIndex:73},invsprite_magma_cube_spawn_egg:{u:.15625,v:.015625,tileIndex:74},invsprite_mooshroom_spawn_egg:{u:.171875,v:.015625,tileIndex:75},invsprite_mule_spawn_egg:{u:.1875,v:.015625,tileIndex:76},invsprite_ocelot_spawn_egg:{u:.203125,v:.015625,tileIndex:77},invsprite_orange_banner:{u:.21875,v:.015625,tileIndex:78},invsprite_orange_bed:{u:.234375,v:.015625,tileIndex:79},invsprite_parrot_spawn_egg:{u:.125,v:.03125,tileIndex:136},invsprite_phantom_spawn_egg:{u:.140625,v:.03125,tileIndex:137},invsprite_pig_spawn_egg:{u:.15625,v:.03125,tileIndex:138},invsprite_pink_banner:{u:.171875,v:.03125,tileIndex:139},invsprite_pink_bed:{u:.1875,v:.03125,tileIndex:140},invsprite_player_head:{u:.203125,v:.03125,tileIndex:141},invsprite_polar_bear_spawn_egg:{u:.21875,v:.03125,tileIndex:142},invsprite_pufferfish_spawn_egg:{u:.234375,v:.03125,tileIndex:143},invsprite_purple_banner:{u:.125,v:.046875,tileIndex:200},invsprite_purple_bed:{u:.140625,v:.046875,tileIndex:201},invsprite_rabbit_spawn_egg:{u:.15625,v:.046875,tileIndex:202},invsprite_red_banner:{u:.171875,v:.046875,tileIndex:203},invsprite_red_bed:{u:.1875,v:.046875,tileIndex:204},invsprite_salmon_spawn_egg:{u:.203125,v:.046875,tileIndex:205},invsprite_sheep_spawn_egg:{u:.21875,v:.046875,tileIndex:206},invsprite_shulker_spawn_egg:{u:.234375,v:.046875,tileIndex:207},invsprite_silverfish_spawn_egg:{u:.125,v:.0625,tileIndex:264},invsprite_skeleton_horse_spawn_egg:{u:.140625,v:.0625,tileIndex:265},invsprite_skeleton_skull:{u:.15625,v:.0625,tileIndex:266},invsprite_skeleton_spawn_egg:{u:.171875,v:.0625,tileIndex:267},invsprite_slime_spawn_egg:{u:.1875,v:.0625,tileIndex:268},invsprite_spider_spawn_egg:{u:.203125,v:.0625,tileIndex:269},invsprite_splash_potion:{u:.21875,v:.0625,tileIndex:270},invsprite_squid_spawn_egg:{u:.234375,v:.0625,tileIndex:271},invsprite_stray_spawn_egg:{u:.125,v:.078125,tileIndex:328},invsprite_tropical_fish_spawn_egg:{u:.140625,v:.078125,tileIndex:329},invsprite_turtle_egg:{u:.15625,v:.078125,tileIndex:330},invsprite_turtle_spawn_egg:{u:.171875,v:.078125,tileIndex:331},invsprite_vex_spawn_egg:{u:.1875,v:.078125,tileIndex:332},invsprite_villager_spawn_egg:{u:.203125,v:.078125,tileIndex:333},invsprite_vindicator_spawn_egg:{u:.21875,v:.078125,tileIndex:334},invsprite_white_banner:{u:.234375,v:.078125,tileIndex:335},invsprite_white_bed:{u:.125,v:.09375,tileIndex:392},invsprite_witch_spawn_egg:{u:.140625,v:.09375,tileIndex:393},invsprite_wither_skeleton_skull:{u:.15625,v:.09375,tileIndex:394},invsprite_wither_skeleton_spawn_egg:{u:.171875,v:.09375,tileIndex:395},invsprite_wolf_spawn_egg:{u:.1875,v:.09375,tileIndex:396},invsprite_yellow_banner:{u:.203125,v:.09375,tileIndex:397},invsprite_yellow_bed:{u:.21875,v:.09375,tileIndex:398},invsprite_zombie_head:{u:.234375,v:.09375,tileIndex:399},invsprite_zombie_horse_spawn_egg:{u:.125,v:.109375,tileIndex:456},invsprite_zombie_spawn_egg:{u:.140625,v:.109375,tileIndex:457},invsprite_zombie_villager_spawn_egg:{u:.15625,v:.109375,tileIndex:458},invsprite_cat_spawn_egg:{u:.171875,v:.109375,tileIndex:459},invsprite_creeper_banner_pattern:{u:.1875,v:.109375,tileIndex:460},invsprite_flower_banner_pattern:{u:.203125,v:.109375,tileIndex:461},invsprite_fox_spawn_egg:{u:.21875,v:.109375,tileIndex:462},invsprite_globe_banner_pattern:{u:.234375,v:.109375,tileIndex:463},invsprite_mojang_banner_pattern:{u:0,v:.125,tileIndex:512},invsprite_panda_spawn_egg:{u:0,v:.140625,tileIndex:576},invsprite_pillager_spawn_egg:{u:0,v:.15625,tileIndex:640},invsprite_ravager_spawn_egg:{u:0,v:.171875,tileIndex:704},invsprite_scaffolding:{u:0,v:.1875,tileIndex:768},invsprite_skull_banner_pattern:{u:0,v:.203125,tileIndex:832},invsprite_trader_llama_spawn_egg:{u:0,v:.21875,tileIndex:896},invsprite_wandering_trader_spawn_egg:{u:0,v:.234375,tileIndex:960},invsprite_bee_spawn_egg:{u:.015625,v:.125,tileIndex:513},invsprite_hoglin_spawn_egg:{u:.015625,v:.140625,tileIndex:577},invsprite_piglin_banner_pattern:{u:.015625,v:.15625,tileIndex:641},invsprite_piglin_spawn_egg:{u:.015625,v:.171875,tileIndex:705},invsprite_strider_spawn_egg:{u:.015625,v:.1875,tileIndex:769},invsprite_twisting_vines:{u:.015625,v:.203125,tileIndex:833},invsprite_weeping_vines:{u:.015625,v:.21875,tileIndex:897},invsprite_zoglin_spawn_egg:{u:.015625,v:.234375,tileIndex:961},invsprite_zombified_piglin_spawn_egg:{u:.03125,v:.125,tileIndex:514},invsprite_piglin_brute_spawn_egg:{u:.03125,v:.140625,tileIndex:578},apple:{u:.03125,v:.15625,tileIndex:642},apple_golden:{u:.03125,v:.171875,tileIndex:706},arrow:{u:.03125,v:.1875,tileIndex:770},bed:{u:.03125,v:.203125,tileIndex:834},beef_cooked:{u:.03125,v:.21875,tileIndex:898},beef_raw:{u:.03125,v:.234375,tileIndex:962},blaze_powder:{u:.046875,v:.125,tileIndex:515},blaze_rod:{u:.046875,v:.140625,tileIndex:579},boat:{u:.046875,v:.15625,tileIndex:643},bone:{u:.046875,v:.171875,tileIndex:707},book_enchanted:{u:.046875,v:.1875,tileIndex:771},book_normal:{u:.046875,v:.203125,tileIndex:835},book_writable:{u:.046875,v:.21875,tileIndex:899},book_written:{u:.046875,v:.234375,tileIndex:963},bow_pulling_0:{u:.0625,v:.125,tileIndex:516},bow_pulling_1:{u:.0625,v:.140625,tileIndex:580},bow_pulling_2:{u:.0625,v:.15625,tileIndex:644},bow_standby:{u:.0625,v:.171875,tileIndex:708},bowl:{u:.0625,v:.1875,tileIndex:772},bread:{u:.0625,v:.203125,tileIndex:836},brewing_stand:{u:.0625,v:.21875,tileIndex:900},brick:{u:.0625,v:.234375,tileIndex:964},bucket_empty:{u:.078125,v:.125,tileIndex:517},bucket_lava:{u:.078125,v:.140625,tileIndex:581},bucket_milk:{u:.078125,v:.15625,tileIndex:645},bucket_water:{u:.078125,v:.171875,tileIndex:709},cake:{u:.078125,v:.1875,tileIndex:773},carrot:{u:.078125,v:.203125,tileIndex:837},carrot_golden:{u:.078125,v:.21875,tileIndex:901},carrot_on_a_stick:{u:.078125,v:.234375,tileIndex:965},cauldron:{u:.09375,v:.125,tileIndex:518},chainmail_boots:{u:.09375,v:.140625,tileIndex:582},chainmail_chestplate:{u:.09375,v:.15625,tileIndex:646},chainmail_helmet:{u:.09375,v:.171875,tileIndex:710},chainmail_leggings:{u:.09375,v:.1875,tileIndex:774},charcoal:{u:.09375,v:.203125,tileIndex:838},chicken_cooked:{u:.09375,v:.21875,tileIndex:902},chicken_raw:{u:.09375,v:.234375,tileIndex:966},clay_ball:{u:.109375,v:.125,tileIndex:519},clock:{u:.109375,v:.140625,tileIndex:583},coal:{u:.109375,v:.15625,tileIndex:647},comparator:{u:.109375,v:.171875,tileIndex:711},compass:{u:.109375,v:.1875,tileIndex:775},cookie:{u:.109375,v:.203125,tileIndex:839},diamond:{u:.109375,v:.21875,tileIndex:903},diamond_axe:{u:.109375,v:.234375,tileIndex:967},diamond_boots:{u:.125,v:.125,tileIndex:520},diamond_chestplate:{u:.125,v:.140625,tileIndex:584},diamond_helmet:{u:.125,v:.15625,tileIndex:648},diamond_hoe:{u:.125,v:.171875,tileIndex:712},diamond_horse_armor:{u:.125,v:.1875,tileIndex:776},diamond_leggings:{u:.125,v:.203125,tileIndex:840},diamond_pickaxe:{u:.125,v:.21875,tileIndex:904},diamond_shovel:{u:.125,v:.234375,tileIndex:968},diamond_sword:{u:.140625,v:.125,tileIndex:521},door_iron:{u:.15625,v:.125,tileIndex:522},door_wood:{u:.171875,v:.125,tileIndex:523},dye_powder_black:{u:.1875,v:.125,tileIndex:524},dye_powder_blue:{u:.203125,v:.125,tileIndex:525},dye_powder_brown:{u:.21875,v:.125,tileIndex:526},dye_powder_cyan:{u:.234375,v:.125,tileIndex:527},dye_powder_gray:{u:.140625,v:.140625,tileIndex:585},dye_powder_green:{u:.140625,v:.15625,tileIndex:649},dye_powder_light_blue:{u:.140625,v:.171875,tileIndex:713},dye_powder_lime:{u:.140625,v:.1875,tileIndex:777},dye_powder_magenta:{u:.140625,v:.203125,tileIndex:841},dye_powder_orange:{u:.140625,v:.21875,tileIndex:905},dye_powder_pink:{u:.140625,v:.234375,tileIndex:969},dye_powder_purple:{u:.15625,v:.140625,tileIndex:586},dye_powder_red:{u:.171875,v:.140625,tileIndex:587},dye_powder_silver:{u:.1875,v:.140625,tileIndex:588},dye_powder_white:{u:.203125,v:.140625,tileIndex:589},dye_powder_yellow:{u:.21875,v:.140625,tileIndex:590},egg:{u:.234375,v:.140625,tileIndex:591},emerald:{u:.15625,v:.15625,tileIndex:650},empty_armor_slot_boots:{u:.15625,v:.171875,tileIndex:714},empty_armor_slot_chestplate:{u:.15625,v:.1875,tileIndex:778},empty_armor_slot_helmet:{u:.15625,v:.203125,tileIndex:842},empty_armor_slot_leggings:{u:.15625,v:.21875,tileIndex:906},ender_eye:{u:.15625,v:.234375,tileIndex:970},ender_pearl:{u:.171875,v:.15625,tileIndex:651},experience_bottle:{u:.1875,v:.15625,tileIndex:652},feather:{u:.203125,v:.15625,tileIndex:653},fireball:{u:.21875,v:.15625,tileIndex:654},fireworks:{u:.234375,v:.15625,tileIndex:655},fireworks_charge:{u:.171875,v:.171875,tileIndex:715},fireworks_charge_overlay:{u:.171875,v:.1875,tileIndex:779},fish_clownfish_raw:{u:.171875,v:.203125,tileIndex:843},fish_cod_cooked:{u:.171875,v:.21875,tileIndex:907},fish_cod_raw:{u:.171875,v:.234375,tileIndex:971},fish_pufferfish_raw:{u:.1875,v:.171875,tileIndex:716},fish_salmon_cooked:{u:.203125,v:.171875,tileIndex:717},fish_salmon_raw:{u:.21875,v:.171875,tileIndex:718},fishing_rod_cast:{u:.234375,v:.171875,tileIndex:719},fishing_rod_uncast:{u:.1875,v:.1875,tileIndex:780},flint:{u:.1875,v:.203125,tileIndex:844},flint_and_steel:{u:.1875,v:.21875,tileIndex:908},flower_pot:{u:.1875,v:.234375,tileIndex:972},ghast_tear:{u:.203125,v:.1875,tileIndex:781},glowstone_dust:{u:.21875,v:.1875,tileIndex:782},gold_axe:{u:.234375,v:.1875,tileIndex:783},gold_boots:{u:.203125,v:.203125,tileIndex:845},gold_chestplate:{u:.203125,v:.21875,tileIndex:909},gold_helmet:{u:.203125,v:.234375,tileIndex:973},gold_hoe:{u:.21875,v:.203125,tileIndex:846},gold_horse_armor:{u:.234375,v:.203125,tileIndex:847},gold_ingot:{u:.21875,v:.21875,tileIndex:910},gold_leggings:{u:.21875,v:.234375,tileIndex:974},gold_nugget:{u:.234375,v:.21875,tileIndex:911},gold_pickaxe:{u:.234375,v:.234375,tileIndex:975},gold_shovel:{u:.25,v:0,tileIndex:16},gold_sword:{u:.265625,v:0,tileIndex:17},gunpowder:{u:.28125,v:0,tileIndex:18},hopper:{u:.296875,v:0,tileIndex:19},iron_axe:{u:.3125,v:0,tileIndex:20},iron_boots:{u:.328125,v:0,tileIndex:21},iron_chestplate:{u:.34375,v:0,tileIndex:22},iron_helmet:{u:.359375,v:0,tileIndex:23},iron_hoe:{u:.375,v:0,tileIndex:24},iron_horse_armor:{u:.390625,v:0,tileIndex:25},iron_ingot:{u:.40625,v:0,tileIndex:26},iron_leggings:{u:.421875,v:0,tileIndex:27},iron_pickaxe:{u:.4375,v:0,tileIndex:28},iron_shovel:{u:.453125,v:0,tileIndex:29},iron_sword:{u:.46875,v:0,tileIndex:30},item_frame:{u:.484375,v:0,tileIndex:31},lead:{u:.25,v:.015625,tileIndex:80},leather:{u:.265625,v:.015625,tileIndex:81},leather_boots:{u:.28125,v:.015625,tileIndex:82},leather_boots_overlay:{u:.296875,v:.015625,tileIndex:83},leather_chestplate:{u:.3125,v:.015625,tileIndex:84},leather_chestplate_overlay:{u:.328125,v:.015625,tileIndex:85},leather_helmet:{u:.34375,v:.015625,tileIndex:86},leather_helmet_overlay:{u:.359375,v:.015625,tileIndex:87},leather_leggings:{u:.375,v:.015625,tileIndex:88},leather_leggings_overlay:{u:.390625,v:.015625,tileIndex:89},magma_cream:{u:.40625,v:.015625,tileIndex:90},map_empty:{u:.421875,v:.015625,tileIndex:91},map_filled:{u:.4375,v:.015625,tileIndex:92},melon:{u:.453125,v:.015625,tileIndex:93},melon_speckled:{u:.46875,v:.015625,tileIndex:94},minecart_chest:{u:.484375,v:.015625,tileIndex:95},minecart_command_block:{u:.25,v:.03125,tileIndex:144},minecart_furnace:{u:.265625,v:.03125,tileIndex:145},minecart_hopper:{u:.28125,v:.03125,tileIndex:146},minecart_normal:{u:.296875,v:.03125,tileIndex:147},minecart_tnt:{u:.3125,v:.03125,tileIndex:148},mushroom_stew:{u:.328125,v:.03125,tileIndex:149},name_tag:{u:.34375,v:.03125,tileIndex:150},nether_star:{u:.359375,v:.03125,tileIndex:151},nether_wart:{u:.375,v:.03125,tileIndex:152},netherbrick:{u:.390625,v:.03125,tileIndex:153},painting:{u:.40625,v:.03125,tileIndex:154},paper:{u:.421875,v:.03125,tileIndex:155},porkchop_cooked:{u:.4375,v:.03125,tileIndex:156},porkchop_raw:{u:.453125,v:.03125,tileIndex:157},potato:{u:.46875,v:.03125,tileIndex:158},potato_baked:{u:.484375,v:.03125,tileIndex:159},potato_poisonous:{u:.25,v:.046875,tileIndex:208},potion_bottle_drinkable:{u:.265625,v:.046875,tileIndex:209},potion_bottle_empty:{u:.28125,v:.046875,tileIndex:210},potion_bottle_splash:{u:.296875,v:.046875,tileIndex:211},potion_overlay:{u:.3125,v:.046875,tileIndex:212},pumpkin_pie:{u:.328125,v:.046875,tileIndex:213},quartz:{u:.34375,v:.046875,tileIndex:214},quiver:{u:.359375,v:.046875,tileIndex:215},record_11:{u:.375,v:.046875,tileIndex:216},record_13:{u:.390625,v:.046875,tileIndex:217},record_blocks:{u:.40625,v:.046875,tileIndex:218},record_cat:{u:.421875,v:.046875,tileIndex:219},record_chirp:{u:.4375,v:.046875,tileIndex:220},record_far:{u:.453125,v:.046875,tileIndex:221},record_mall:{u:.46875,v:.046875,tileIndex:222},record_mellohi:{u:.484375,v:.046875,tileIndex:223},record_stal:{u:.25,v:.0625,tileIndex:272},record_strad:{u:.265625,v:.0625,tileIndex:273},record_wait:{u:.28125,v:.0625,tileIndex:274},record_ward:{u:.296875,v:.0625,tileIndex:275},redstone_dust:{u:.3125,v:.0625,tileIndex:276},reeds:{u:.328125,v:.0625,tileIndex:277},repeater:{u:.34375,v:.0625,tileIndex:278},rotten_flesh:{u:.359375,v:.0625,tileIndex:279},ruby:{u:.375,v:.0625,tileIndex:280},saddle:{u:.390625,v:.0625,tileIndex:281},seeds_melon:{u:.40625,v:.0625,tileIndex:282},seeds_pumpkin:{u:.421875,v:.0625,tileIndex:283},seeds_wheat:{u:.4375,v:.0625,tileIndex:284},shears:{u:.453125,v:.0625,tileIndex:285},sign:{u:.46875,v:.0625,tileIndex:286},skull_creeper:{u:.484375,v:.0625,tileIndex:287},skull_skeleton:{u:.25,v:.078125,tileIndex:336},skull_steve:{u:.265625,v:.078125,tileIndex:337},skull_wither:{u:.28125,v:.078125,tileIndex:338},skull_zombie:{u:.296875,v:.078125,tileIndex:339},slimeball:{u:.3125,v:.078125,tileIndex:340},snowball:{u:.328125,v:.078125,tileIndex:341},spawn_egg:{u:.34375,v:.078125,tileIndex:342},spawn_egg_overlay:{u:.359375,v:.078125,tileIndex:343},spider_eye:{u:.375,v:.078125,tileIndex:344},spider_eye_fermented:{u:.390625,v:.078125,tileIndex:345},stick:{u:.40625,v:.078125,tileIndex:346},stone_axe:{u:.421875,v:.078125,tileIndex:347},stone_hoe:{u:.4375,v:.078125,tileIndex:348},stone_pickaxe:{u:.453125,v:.078125,tileIndex:349},stone_shovel:{u:.46875,v:.078125,tileIndex:350},stone_sword:{u:.484375,v:.078125,tileIndex:351},string:{u:.25,v:.09375,tileIndex:400},sugar:{u:.265625,v:.09375,tileIndex:401},wheat:{u:.28125,v:.09375,tileIndex:402},wood_axe:{u:.296875,v:.09375,tileIndex:403},wood_hoe:{u:.3125,v:.09375,tileIndex:404},wood_pickaxe:{u:.328125,v:.09375,tileIndex:405},wood_shovel:{u:.34375,v:.09375,tileIndex:406},wood_sword:{u:.359375,v:.09375,tileIndex:407},banner_base:{u:.375,v:.09375,tileIndex:408},banner_overlay:{u:.390625,v:.09375,tileIndex:409},barrier:{u:.40625,v:.09375,tileIndex:410},door_acacia:{u:.421875,v:.09375,tileIndex:411},door_birch:{u:.4375,v:.09375,tileIndex:412},door_dark_oak:{u:.453125,v:.09375,tileIndex:413},door_jungle:{u:.46875,v:.09375,tileIndex:414},door_spruce:{u:.484375,v:.09375,tileIndex:415},mutton_cooked:{u:.25,v:.109375,tileIndex:464},mutton_raw:{u:.265625,v:.109375,tileIndex:465},prismarine_crystals:{u:.28125,v:.109375,tileIndex:466},prismarine_shard:{u:.296875,v:.109375,tileIndex:467},rabbit_cooked:{u:.3125,v:.109375,tileIndex:468},rabbit_foot:{u:.328125,v:.109375,tileIndex:469},rabbit_hide:{u:.34375,v:.109375,tileIndex:470},rabbit_raw:{u:.359375,v:.109375,tileIndex:471},rabbit_stew:{u:.375,v:.109375,tileIndex:472},wooden_armorstand:{u:.390625,v:.109375,tileIndex:473},acacia_boat:{u:.40625,v:.109375,tileIndex:474},beetroot:{u:.421875,v:.109375,tileIndex:475},beetroot_seeds:{u:.4375,v:.109375,tileIndex:476},beetroot_soup:{u:.453125,v:.109375,tileIndex:477},birch_boat:{u:.46875,v:.109375,tileIndex:478},broken_elytra:{u:.484375,v:.109375,tileIndex:479},chorus_fruit:{u:.25,v:.125,tileIndex:528},chorus_fruit_popped:{u:.265625,v:.125,tileIndex:529},clock_00:{u:.28125,v:.125,tileIndex:530},clock_01:{u:.296875,v:.125,tileIndex:531},clock_02:{u:.3125,v:.125,tileIndex:532},clock_03:{u:.328125,v:.125,tileIndex:533},clock_04:{u:.34375,v:.125,tileIndex:534},clock_05:{u:.359375,v:.125,tileIndex:535},clock_06:{u:.375,v:.125,tileIndex:536},clock_07:{u:.390625,v:.125,tileIndex:537},clock_08:{u:.40625,v:.125,tileIndex:538},clock_09:{u:.421875,v:.125,tileIndex:539},clock_10:{u:.4375,v:.125,tileIndex:540},clock_11:{u:.453125,v:.125,tileIndex:541},clock_12:{u:.46875,v:.125,tileIndex:542},clock_13:{u:.484375,v:.125,tileIndex:543},clock_14:{u:.25,v:.140625,tileIndex:592},clock_15:{u:.265625,v:.140625,tileIndex:593},clock_16:{u:.28125,v:.140625,tileIndex:594},clock_17:{u:.296875,v:.140625,tileIndex:595},clock_18:{u:.3125,v:.140625,tileIndex:596},clock_19:{u:.328125,v:.140625,tileIndex:597},clock_20:{u:.34375,v:.140625,tileIndex:598},clock_21:{u:.359375,v:.140625,tileIndex:599},clock_22:{u:.375,v:.140625,tileIndex:600},clock_23:{u:.390625,v:.140625,tileIndex:601},clock_24:{u:.40625,v:.140625,tileIndex:602},clock_25:{u:.421875,v:.140625,tileIndex:603},clock_26:{u:.4375,v:.140625,tileIndex:604},clock_27:{u:.453125,v:.140625,tileIndex:605},clock_28:{u:.46875,v:.140625,tileIndex:606},clock_29:{u:.484375,v:.140625,tileIndex:607},clock_30:{u:.25,v:.15625,tileIndex:656},clock_31:{u:.265625,v:.15625,tileIndex:657},clock_32:{u:.28125,v:.15625,tileIndex:658},clock_33:{u:.296875,v:.15625,tileIndex:659},clock_34:{u:.3125,v:.15625,tileIndex:660},clock_35:{u:.328125,v:.15625,tileIndex:661},clock_36:{u:.34375,v:.15625,tileIndex:662},clock_37:{u:.359375,v:.15625,tileIndex:663},clock_38:{u:.375,v:.15625,tileIndex:664},clock_39:{u:.390625,v:.15625,tileIndex:665},clock_40:{u:.40625,v:.15625,tileIndex:666},clock_41:{u:.421875,v:.15625,tileIndex:667},clock_42:{u:.4375,v:.15625,tileIndex:668},clock_43:{u:.453125,v:.15625,tileIndex:669},clock_44:{u:.46875,v:.15625,tileIndex:670},clock_45:{u:.484375,v:.15625,tileIndex:671},clock_46:{u:.25,v:.171875,tileIndex:720},clock_47:{u:.265625,v:.171875,tileIndex:721},clock_48:{u:.28125,v:.171875,tileIndex:722},clock_49:{u:.296875,v:.171875,tileIndex:723},clock_50:{u:.3125,v:.171875,tileIndex:724},clock_51:{u:.328125,v:.171875,tileIndex:725},clock_52:{u:.34375,v:.171875,tileIndex:726},clock_53:{u:.359375,v:.171875,tileIndex:727},clock_54:{u:.375,v:.171875,tileIndex:728},clock_55:{u:.390625,v:.171875,tileIndex:729},clock_56:{u:.40625,v:.171875,tileIndex:730},clock_57:{u:.421875,v:.171875,tileIndex:731},clock_58:{u:.4375,v:.171875,tileIndex:732},clock_59:{u:.453125,v:.171875,tileIndex:733},clock_60:{u:.46875,v:.171875,tileIndex:734},clock_61:{u:.484375,v:.171875,tileIndex:735},clock_62:{u:.25,v:.1875,tileIndex:784},clock_63:{u:.265625,v:.1875,tileIndex:785},compass_00:{u:.28125,v:.1875,tileIndex:786},compass_01:{u:.296875,v:.1875,tileIndex:787},compass_02:{u:.3125,v:.1875,tileIndex:788},compass_03:{u:.328125,v:.1875,tileIndex:789},compass_04:{u:.34375,v:.1875,tileIndex:790},compass_05:{u:.359375,v:.1875,tileIndex:791},compass_06:{u:.375,v:.1875,tileIndex:792},compass_07:{u:.390625,v:.1875,tileIndex:793},compass_08:{u:.40625,v:.1875,tileIndex:794},compass_09:{u:.421875,v:.1875,tileIndex:795},compass_10:{u:.4375,v:.1875,tileIndex:796},compass_11:{u:.453125,v:.1875,tileIndex:797},compass_12:{u:.46875,v:.1875,tileIndex:798},compass_13:{u:.484375,v:.1875,tileIndex:799},compass_14:{u:.25,v:.203125,tileIndex:848},compass_15:{u:.265625,v:.203125,tileIndex:849},compass_16:{u:.28125,v:.203125,tileIndex:850},compass_17:{u:.296875,v:.203125,tileIndex:851},compass_18:{u:.3125,v:.203125,tileIndex:852},compass_19:{u:.328125,v:.203125,tileIndex:853},compass_20:{u:.34375,v:.203125,tileIndex:854},compass_21:{u:.359375,v:.203125,tileIndex:855},compass_22:{u:.375,v:.203125,tileIndex:856},compass_23:{u:.390625,v:.203125,tileIndex:857},compass_24:{u:.40625,v:.203125,tileIndex:858},compass_25:{u:.421875,v:.203125,tileIndex:859},compass_26:{u:.4375,v:.203125,tileIndex:860},compass_27:{u:.453125,v:.203125,tileIndex:861},compass_28:{u:.46875,v:.203125,tileIndex:862},compass_29:{u:.484375,v:.203125,tileIndex:863},compass_30:{u:.25,v:.21875,tileIndex:912},compass_31:{u:.265625,v:.21875,tileIndex:913},dark_oak_boat:{u:.28125,v:.21875,tileIndex:914},dragon_breath:{u:.296875,v:.21875,tileIndex:915},elytra:{u:.3125,v:.21875,tileIndex:916},empty_armor_slot_shield:{u:.328125,v:.21875,tileIndex:917},end_crystal:{u:.34375,v:.21875,tileIndex:918},jungle_boat:{u:.359375,v:.21875,tileIndex:919},oak_boat:{u:.375,v:.21875,tileIndex:920},potion_bottle_lingering:{u:.390625,v:.21875,tileIndex:921},spectral_arrow:{u:.40625,v:.21875,tileIndex:922},spruce_boat:{u:.421875,v:.21875,tileIndex:923},tipped_arrow_base:{u:.4375,v:.21875,tileIndex:924},tipped_arrow_head:{u:.453125,v:.21875,tileIndex:925},structure_void:{u:.46875,v:.21875,tileIndex:926},map_filled_markings:{u:.484375,v:.21875,tileIndex:927},shulker_shell:{u:.25,v:.234375,tileIndex:976},totem:{u:.265625,v:.234375,tileIndex:977},iron_nugget:{u:.28125,v:.234375,tileIndex:978},knowledge_book:{u:.296875,v:.234375,tileIndex:979},acacia_door:{u:.3125,v:.234375,tileIndex:980},armor_stand:{u:.328125,v:.234375,tileIndex:981},baked_potato:{u:.34375,v:.234375,tileIndex:982},beef:{u:.359375,v:.234375,tileIndex:983},birch_door:{u:.375,v:.234375,tileIndex:984},bone_meal:{u:.390625,v:.234375,tileIndex:985},book:{u:.40625,v:.234375,tileIndex:986},bow:{u:.421875,v:.234375,tileIndex:987},bucket:{u:.4375,v:.234375,tileIndex:988},cactus_green:{u:.453125,v:.234375,tileIndex:989},chest_minecart:{u:.46875,v:.234375,tileIndex:990},chicken:{u:.484375,v:.234375,tileIndex:991},cocoa_beans:{u:0,v:.25,tileIndex:1024},cod:{u:0,v:.265625,tileIndex:1088},cod_bucket:{u:0,v:.28125,tileIndex:1152},command_block_minecart:{u:0,v:.296875,tileIndex:1216},cooked_beef:{u:0,v:.3125,tileIndex:1280},cooked_chicken:{u:0,v:.328125,tileIndex:1344},cooked_cod:{u:0,v:.34375,tileIndex:1408},cooked_mutton:{u:0,v:.359375,tileIndex:1472},cooked_porkchop:{u:0,v:.375,tileIndex:1536},cooked_rabbit:{u:0,v:.390625,tileIndex:1600},cooked_salmon:{u:0,v:.40625,tileIndex:1664},cyan_dye:{u:0,v:.421875,tileIndex:1728},dandelion_yellow:{u:0,v:.4375,tileIndex:1792},dark_oak_door:{u:0,v:.453125,tileIndex:1856},dried_kelp:{u:0,v:.46875,tileIndex:1920},enchanted_book:{u:0,v:.484375,tileIndex:1984},fermented_spider_eye:{u:.015625,v:.25,tileIndex:1025},filled_map:{u:.015625,v:.265625,tileIndex:1089},filled_map_markings:{u:.015625,v:.28125,tileIndex:1153},fire_charge:{u:.015625,v:.296875,tileIndex:1217},firework_rocket:{u:.015625,v:.3125,tileIndex:1281},firework_star:{u:.015625,v:.328125,tileIndex:1345},firework_star_overlay:{u:.015625,v:.34375,tileIndex:1409},fishing_rod:{u:.015625,v:.359375,tileIndex:1473},furnace_minecart:{u:.015625,v:.375,tileIndex:1537},glass_bottle:{u:.015625,v:.390625,tileIndex:1601},glistering_melon_slice:{u:.015625,v:.40625,tileIndex:1665},golden_apple:{u:.015625,v:.421875,tileIndex:1729},golden_axe:{u:.015625,v:.4375,tileIndex:1793},golden_boots:{u:.015625,v:.453125,tileIndex:1857},golden_carrot:{u:.015625,v:.46875,tileIndex:1921},golden_chestplate:{u:.015625,v:.484375,tileIndex:1985},golden_helmet:{u:.03125,v:.25,tileIndex:1026},golden_hoe:{u:.03125,v:.265625,tileIndex:1090},golden_horse_armor:{u:.03125,v:.28125,tileIndex:1154},golden_leggings:{u:.03125,v:.296875,tileIndex:1218},golden_pickaxe:{u:.03125,v:.3125,tileIndex:1282},golden_shovel:{u:.03125,v:.328125,tileIndex:1346},golden_sword:{u:.03125,v:.34375,tileIndex:1410},gray_dye:{u:.03125,v:.359375,tileIndex:1474},heart_of_the_sea:{u:.03125,v:.375,tileIndex:1538},hopper_minecart:{u:.03125,v:.390625,tileIndex:1602},ink_sac:{u:.03125,v:.40625,tileIndex:1666},iron_door:{u:.03125,v:.421875,tileIndex:1730},jungle_door:{u:.03125,v:.4375,tileIndex:1794},kelp:{u:.03125,v:.453125,tileIndex:1858},lapis_lazuli:{u:.03125,v:.46875,tileIndex:1922},lava_bucket:{u:.03125,v:.484375,tileIndex:1986},light_blue_dye:{u:.046875,v:.25,tileIndex:1027},light_gray_dye:{u:.046875,v:.265625,tileIndex:1091},lime_dye:{u:.046875,v:.28125,tileIndex:1155},lingering_potion:{u:.046875,v:.296875,tileIndex:1219},magenta_dye:{u:.046875,v:.3125,tileIndex:1283},map:{u:.046875,v:.328125,tileIndex:1347},melon_seeds:{u:.046875,v:.34375,tileIndex:1411},melon_slice:{u:.046875,v:.359375,tileIndex:1475},milk_bucket:{u:.046875,v:.375,tileIndex:1539},minecart:{u:.046875,v:.390625,tileIndex:1603},music_disc_11:{u:.046875,v:.40625,tileIndex:1667},music_disc_13:{u:.046875,v:.421875,tileIndex:1731},music_disc_blocks:{u:.046875,v:.4375,tileIndex:1795},music_disc_cat:{u:.046875,v:.453125,tileIndex:1859},music_disc_chirp:{u:.046875,v:.46875,tileIndex:1923},music_disc_far:{u:.046875,v:.484375,tileIndex:1987},music_disc_mall:{u:.0625,v:.25,tileIndex:1028},music_disc_mellohi:{u:.0625,v:.265625,tileIndex:1092},music_disc_stal:{u:.0625,v:.28125,tileIndex:1156},music_disc_strad:{u:.0625,v:.296875,tileIndex:1220},music_disc_wait:{u:.0625,v:.3125,tileIndex:1284},music_disc_ward:{u:.0625,v:.328125,tileIndex:1348},mutton:{u:.0625,v:.34375,tileIndex:1412},nautilus_shell:{u:.0625,v:.359375,tileIndex:1476},nether_brick:{u:.0625,v:.375,tileIndex:1540},oak_door:{u:.0625,v:.390625,tileIndex:1604},orange_dye:{u:.0625,v:.40625,tileIndex:1668},phantom_membrane:{u:.0625,v:.421875,tileIndex:1732},pink_dye:{u:.0625,v:.4375,tileIndex:1796},poisonous_potato:{u:.0625,v:.453125,tileIndex:1860},popped_chorus_fruit:{u:.0625,v:.46875,tileIndex:1924},porkchop:{u:.0625,v:.484375,tileIndex:1988},potion:{u:.078125,v:.25,tileIndex:1029},pufferfish:{u:.078125,v:.265625,tileIndex:1093},pufferfish_bucket:{u:.078125,v:.28125,tileIndex:1157},pumpkin_seeds:{u:.078125,v:.296875,tileIndex:1221},purple_dye:{u:.078125,v:.3125,tileIndex:1285},rabbit:{u:.078125,v:.328125,tileIndex:1349},redstone:{u:.078125,v:.34375,tileIndex:1413},rose_red:{u:.078125,v:.359375,tileIndex:1477},salmon:{u:.078125,v:.375,tileIndex:1541},salmon_bucket:{u:.078125,v:.390625,tileIndex:1605},scute:{u:.078125,v:.40625,tileIndex:1669},sea_pickle:{u:.078125,v:.421875,tileIndex:1733},seagrass:{u:.078125,v:.4375,tileIndex:1797},slime_ball:{u:.078125,v:.453125,tileIndex:1861},splash_potion:{u:.078125,v:.46875,tileIndex:1925},spruce_door:{u:.078125,v:.484375,tileIndex:1989},sugar_cane:{u:.09375,v:.25,tileIndex:1030},tnt_minecart:{u:.09375,v:.265625,tileIndex:1094},totem_of_undying:{u:.09375,v:.28125,tileIndex:1158},trident:{u:.09375,v:.296875,tileIndex:1222},tropical_fish:{u:.09375,v:.3125,tileIndex:1286},tropical_fish_bucket:{u:.09375,v:.328125,tileIndex:1350},turtle_egg:{u:.09375,v:.34375,tileIndex:1414},turtle_helmet:{u:.09375,v:.359375,tileIndex:1478},water_bucket:{u:.09375,v:.375,tileIndex:1542},wheat_seeds:{u:.09375,v:.390625,tileIndex:1606},wooden_axe:{u:.09375,v:.40625,tileIndex:1670},wooden_hoe:{u:.09375,v:.421875,tileIndex:1734},wooden_pickaxe:{u:.09375,v:.4375,tileIndex:1798},wooden_shovel:{u:.09375,v:.453125,tileIndex:1862},wooden_sword:{u:.09375,v:.46875,tileIndex:1926},writable_book:{u:.09375,v:.484375,tileIndex:1990},written_book:{u:.109375,v:.25,tileIndex:1031},acacia_sign:{u:.109375,v:.265625,tileIndex:1095},bamboo:{u:.109375,v:.28125,tileIndex:1159},bell:{u:.109375,v:.296875,tileIndex:1223},birch_sign:{u:.109375,v:.3125,tileIndex:1287},black_dye:{u:.109375,v:.328125,tileIndex:1351},blue_dye:{u:.109375,v:.34375,tileIndex:1415},brown_dye:{u:.109375,v:.359375,tileIndex:1479},campfire:{u:.109375,v:.375,tileIndex:1543},creeper_banner_pattern:{u:.109375,v:.390625,tileIndex:1607},crossbow_arrow:{u:.109375,v:.40625,tileIndex:1671},crossbow_firework:{u:.109375,v:.421875,tileIndex:1735},crossbow_pulling_0:{u:.109375,v:.4375,tileIndex:1799},crossbow_pulling_1:{u:.109375,v:.453125,tileIndex:1863},crossbow_pulling_2:{u:.109375,v:.46875,tileIndex:1927},crossbow_standby:{u:.109375,v:.484375,tileIndex:1991},dark_oak_sign:{u:.125,v:.25,tileIndex:1032},flower_banner_pattern:{u:.125,v:.265625,tileIndex:1096},globe_banner_pattern:{u:.125,v:.28125,tileIndex:1160},green_dye:{u:.125,v:.296875,tileIndex:1224},jungle_sign:{u:.125,v:.3125,tileIndex:1288},lantern:{u:.125,v:.328125,tileIndex:1352},leather_horse_armor:{u:.125,v:.34375,tileIndex:1416},mojang_banner_pattern:{u:.125,v:.359375,tileIndex:1480},oak_sign:{u:.125,v:.375,tileIndex:1544},red_dye:{u:.125,v:.390625,tileIndex:1608},skull_banner_pattern:{u:.125,v:.40625,tileIndex:1672},spruce_sign:{u:.125,v:.421875,tileIndex:1736},suspicious_stew:{u:.125,v:.4375,tileIndex:1800},sweet_berries:{u:.125,v:.453125,tileIndex:1864},white_dye:{u:.125,v:.46875,tileIndex:1928},yellow_dye:{u:.125,v:.484375,tileIndex:1992},honey_bottle:{u:.140625,v:.25,tileIndex:1033},honeycomb:{u:.140625,v:.265625,tileIndex:1097},chain:{u:.140625,v:.28125,tileIndex:1161},crimson_door:{u:.140625,v:.296875,tileIndex:1225},crimson_sign:{u:.140625,v:.3125,tileIndex:1289},music_disc_pigstep:{u:.140625,v:.328125,tileIndex:1353},nether_sprouts:{u:.140625,v:.34375,tileIndex:1417},netherite_axe:{u:.140625,v:.359375,tileIndex:1481},netherite_boots:{u:.140625,v:.375,tileIndex:1545},netherite_chestplate:{u:.140625,v:.390625,tileIndex:1609},netherite_helmet:{u:.140625,v:.40625,tileIndex:1673},netherite_hoe:{u:.140625,v:.421875,tileIndex:1737},netherite_ingot:{u:.140625,v:.4375,tileIndex:1801},netherite_leggings:{u:.140625,v:.453125,tileIndex:1865},netherite_pickaxe:{u:.140625,v:.46875,tileIndex:1929},netherite_scrap:{u:.140625,v:.484375,tileIndex:1993},netherite_shovel:{u:.15625,v:.25,tileIndex:1034},netherite_sword:{u:.15625,v:.265625,tileIndex:1098},piglin_banner_pattern:{u:.15625,v:.28125,tileIndex:1162},soul_campfire:{u:.15625,v:.296875,tileIndex:1226},soul_lantern:{u:.15625,v:.3125,tileIndex:1290},warped_door:{u:.15625,v:.328125,tileIndex:1354},warped_fungus_on_a_stick:{u:.15625,v:.34375,tileIndex:1418},warped_sign:{u:.15625,v:.359375,tileIndex:1482},amethyst_shard:{u:.15625,v:.375,tileIndex:1546},axolotl_bucket:{u:.15625,v:.390625,tileIndex:1610},black_candle:{u:.15625,v:.40625,tileIndex:1674},blue_candle:{u:.15625,v:.421875,tileIndex:1738},brown_candle:{u:.15625,v:.4375,tileIndex:1802},bundle:{u:.15625,v:.453125,tileIndex:1866},bundle_filled:{u:.15625,v:.46875,tileIndex:1930},candle:{u:.15625,v:.484375,tileIndex:1994},copper_ingot:{u:.171875,v:.25,tileIndex:1035},cyan_candle:{u:.171875,v:.265625,tileIndex:1099},glow_berries:{u:.171875,v:.28125,tileIndex:1163},glow_ink_sac:{u:.171875,v:.296875,tileIndex:1227},glow_item_frame:{u:.171875,v:.3125,tileIndex:1291},gray_candle:{u:.171875,v:.328125,tileIndex:1355},green_candle:{u:.171875,v:.34375,tileIndex:1419},light:{u:.171875,v:.359375,tileIndex:1483},light_00:{u:.171875,v:.375,tileIndex:1547},light_01:{u:.171875,v:.390625,tileIndex:1611},light_02:{u:.171875,v:.40625,tileIndex:1675},light_03:{u:.171875,v:.421875,tileIndex:1739},light_04:{u:.171875,v:.4375,tileIndex:1803},light_05:{u:.171875,v:.453125,tileIndex:1867},light_06:{u:.171875,v:.46875,tileIndex:1931},light_07:{u:.171875,v:.484375,tileIndex:1995},light_08:{u:.1875,v:.25,tileIndex:1036},light_09:{u:.1875,v:.265625,tileIndex:1100},light_10:{u:.1875,v:.28125,tileIndex:1164},light_11:{u:.1875,v:.296875,tileIndex:1228},light_12:{u:.1875,v:.3125,tileIndex:1292},light_13:{u:.1875,v:.328125,tileIndex:1356},light_14:{u:.1875,v:.34375,tileIndex:1420},light_15:{u:.1875,v:.359375,tileIndex:1484},light_blue_candle:{u:.1875,v:.375,tileIndex:1548},light_gray_candle:{u:.1875,v:.390625,tileIndex:1612},lime_candle:{u:.1875,v:.40625,tileIndex:1676},magenta_candle:{u:.1875,v:.421875,tileIndex:1740},orange_candle:{u:.1875,v:.4375,tileIndex:1804},pink_candle:{u:.1875,v:.453125,tileIndex:1868},pointed_dripstone:{u:.1875,v:.46875,tileIndex:1932},powder_snow_bucket:{u:.1875,v:.484375,tileIndex:1996},purple_candle:{u:.203125,v:.25,tileIndex:1037},raw_copper:{u:.203125,v:.265625,tileIndex:1101},raw_gold:{u:.203125,v:.28125,tileIndex:1165},raw_iron:{u:.203125,v:.296875,tileIndex:1229},red_candle:{u:.203125,v:.3125,tileIndex:1293},spyglass:{u:.203125,v:.328125,tileIndex:1357},spyglass_model:{u:.203125,v:.34375,tileIndex:1421},white_candle:{u:.203125,v:.359375,tileIndex:1485},yellow_candle:{u:.203125,v:.375,tileIndex:1549},music_disc_otherside:{u:.203125,v:.390625,tileIndex:1613},acacia_chest_boat:{u:.203125,v:.40625,tileIndex:1677},birch_chest_boat:{u:.203125,v:.421875,tileIndex:1741},dark_oak_chest_boat:{u:.203125,v:.4375,tileIndex:1805},disc_fragment_5:{u:.203125,v:.453125,tileIndex:1869},echo_shard:{u:.203125,v:.46875,tileIndex:1933},goat_horn:{u:.203125,v:.484375,tileIndex:1997},jungle_chest_boat:{u:.21875,v:.25,tileIndex:1038},mangrove_boat:{u:.21875,v:.265625,tileIndex:1102},mangrove_chest_boat:{u:.21875,v:.28125,tileIndex:1166},mangrove_door:{u:.21875,v:.296875,tileIndex:1230},mangrove_propagule:{u:.21875,v:.3125,tileIndex:1294},mangrove_sign:{u:.21875,v:.328125,tileIndex:1358},music_disc_5:{u:.21875,v:.34375,tileIndex:1422},oak_chest_boat:{u:.21875,v:.359375,tileIndex:1486},recovery_compass_00:{u:.21875,v:.375,tileIndex:1550},recovery_compass_01:{u:.21875,v:.390625,tileIndex:1614},recovery_compass_02:{u:.21875,v:.40625,tileIndex:1678},recovery_compass_03:{u:.21875,v:.421875,tileIndex:1742},recovery_compass_04:{u:.21875,v:.4375,tileIndex:1806},recovery_compass_05:{u:.21875,v:.453125,tileIndex:1870},recovery_compass_06:{u:.21875,v:.46875,tileIndex:1934},recovery_compass_07:{u:.21875,v:.484375,tileIndex:1998},recovery_compass_08:{u:.234375,v:.25,tileIndex:1039},recovery_compass_09:{u:.234375,v:.265625,tileIndex:1103},recovery_compass_10:{u:.234375,v:.28125,tileIndex:1167},recovery_compass_11:{u:.234375,v:.296875,tileIndex:1231},recovery_compass_12:{u:.234375,v:.3125,tileIndex:1295},recovery_compass_13:{u:.234375,v:.328125,tileIndex:1359},recovery_compass_14:{u:.234375,v:.34375,tileIndex:1423},recovery_compass_15:{u:.234375,v:.359375,tileIndex:1487},recovery_compass_16:{u:.234375,v:.375,tileIndex:1551},recovery_compass_17:{u:.234375,v:.390625,tileIndex:1615},recovery_compass_18:{u:.234375,v:.40625,tileIndex:1679},recovery_compass_19:{u:.234375,v:.421875,tileIndex:1743},recovery_compass_20:{u:.234375,v:.4375,tileIndex:1807},recovery_compass_21:{u:.234375,v:.453125,tileIndex:1871},recovery_compass_22:{u:.234375,v:.46875,tileIndex:1935},recovery_compass_23:{u:.234375,v:.484375,tileIndex:1999},recovery_compass_24:{u:.25,v:.25,tileIndex:1040},recovery_compass_25:{u:.25,v:.265625,tileIndex:1104},recovery_compass_26:{u:.25,v:.28125,tileIndex:1168},recovery_compass_27:{u:.25,v:.296875,tileIndex:1232},recovery_compass_28:{u:.25,v:.3125,tileIndex:1296},recovery_compass_29:{u:.25,v:.328125,tileIndex:1360},recovery_compass_30:{u:.25,v:.34375,tileIndex:1424},recovery_compass_31:{u:.25,v:.359375,tileIndex:1488},spruce_chest_boat:{u:.25,v:.375,tileIndex:1552},tadpole_bucket:{u:.25,v:.390625,tileIndex:1616},acacia_hanging_sign:{u:.25,v:.40625,tileIndex:1680},bamboo_chest_raft:{u:.25,v:.421875,tileIndex:1744},bamboo_door:{u:.25,v:.4375,tileIndex:1808},bamboo_hanging_sign:{u:.25,v:.453125,tileIndex:1872},bamboo_raft:{u:.25,v:.46875,tileIndex:1936},bamboo_sign:{u:.25,v:.484375,tileIndex:2e3},birch_hanging_sign:{u:.265625,v:.25,tileIndex:1041},crimson_hanging_sign:{u:.28125,v:.25,tileIndex:1042},dark_oak_hanging_sign:{u:.296875,v:.25,tileIndex:1043},jungle_hanging_sign:{u:.3125,v:.25,tileIndex:1044},mangrove_hanging_sign:{u:.328125,v:.25,tileIndex:1045},oak_hanging_sign:{u:.34375,v:.25,tileIndex:1046},spruce_hanging_sign:{u:.359375,v:.25,tileIndex:1047},warped_hanging_sign:{u:.375,v:.25,tileIndex:1048},brush:{u:.390625,v:.25,tileIndex:1049},cherry_boat:{u:.40625,v:.25,tileIndex:1050},cherry_chest_boat:{u:.421875,v:.25,tileIndex:1051},cherry_door:{u:.4375,v:.25,tileIndex:1052},cherry_hanging_sign:{u:.453125,v:.25,tileIndex:1053},cherry_sign:{u:.46875,v:.25,tileIndex:1054},coast_armor_trim_smithing_template:{u:.484375,v:.25,tileIndex:1055},dune_armor_trim_smithing_template:{u:.265625,v:.265625,tileIndex:1105},empty_slot_amethyst_shard:{u:.265625,v:.28125,tileIndex:1169},empty_slot_axe:{u:.265625,v:.296875,tileIndex:1233},empty_slot_diamond:{u:.265625,v:.3125,tileIndex:1297},empty_slot_emerald:{u:.265625,v:.328125,tileIndex:1361},empty_slot_hoe:{u:.265625,v:.34375,tileIndex:1425},empty_slot_ingot:{u:.265625,v:.359375,tileIndex:1489},empty_slot_lapis_lazuli:{u:.265625,v:.375,tileIndex:1553},empty_slot_pickaxe:{u:.265625,v:.390625,tileIndex:1617},empty_slot_quartz:{u:.265625,v:.40625,tileIndex:1681},empty_slot_redstone_dust:{u:.265625,v:.421875,tileIndex:1745},empty_slot_shovel:{u:.265625,v:.4375,tileIndex:1809},empty_slot_smithing_template_armor_trim:{u:.265625,v:.453125,tileIndex:1873},empty_slot_smithing_template_netherite_upgrade:{u:.265625,v:.46875,tileIndex:1937},empty_slot_sword:{u:.265625,v:.484375,tileIndex:2001},eye_armor_trim_smithing_template:{u:.28125,v:.265625,tileIndex:1106},netherite_upgrade_smithing_template:{u:.296875,v:.265625,tileIndex:1107},pink_petals:{u:.3125,v:.265625,tileIndex:1108},pottery_shard_archer:{u:.328125,v:.265625,tileIndex:1109},pottery_shard_arms_up:{u:.34375,v:.265625,tileIndex:1110},pottery_shard_prize:{u:.359375,v:.265625,tileIndex:1111},pottery_shard_skull:{u:.375,v:.265625,tileIndex:1112},rib_armor_trim_smithing_template:{u:.390625,v:.265625,tileIndex:1113},sentry_armor_trim_smithing_template:{u:.40625,v:.265625,tileIndex:1114},snout_armor_trim_smithing_template:{u:.421875,v:.265625,tileIndex:1115},spire_armor_trim_smithing_template:{u:.4375,v:.265625,tileIndex:1116},tide_armor_trim_smithing_template:{u:.453125,v:.265625,tileIndex:1117},torchflower_seeds:{u:.46875,v:.265625,tileIndex:1118},vex_armor_trim_smithing_template:{u:.484375,v:.265625,tileIndex:1119},ward_armor_trim_smithing_template:{u:.28125,v:.28125,tileIndex:1170},wild_armor_trim_smithing_template:{u:.28125,v:.296875,tileIndex:1234},angler_pottery_sherd:{u:.28125,v:.3125,tileIndex:1298},archer_pottery_sherd:{u:.28125,v:.328125,tileIndex:1362},arms_up_pottery_sherd:{u:.28125,v:.34375,tileIndex:1426},blade_pottery_sherd:{u:.28125,v:.359375,tileIndex:1490},brewer_pottery_sherd:{u:.28125,v:.375,tileIndex:1554},burn_pottery_sherd:{u:.28125,v:.390625,tileIndex:1618},danger_pottery_sherd:{u:.28125,v:.40625,tileIndex:1682},explorer_pottery_sherd:{u:.28125,v:.421875,tileIndex:1746},friend_pottery_sherd:{u:.28125,v:.4375,tileIndex:1810},heart_pottery_sherd:{u:.28125,v:.453125,tileIndex:1874},heartbreak_pottery_sherd:{u:.28125,v:.46875,tileIndex:1938},host_armor_trim_smithing_template:{u:.28125,v:.484375,tileIndex:2002},howl_pottery_sherd:{u:.296875,v:.28125,tileIndex:1171},miner_pottery_sherd:{u:.3125,v:.28125,tileIndex:1172},mourner_pottery_sherd:{u:.328125,v:.28125,tileIndex:1173},music_disc_relic:{u:.34375,v:.28125,tileIndex:1174},pitcher_plant:{u:.359375,v:.28125,tileIndex:1175},pitcher_pod:{u:.375,v:.28125,tileIndex:1176},plenty_pottery_sherd:{u:.390625,v:.28125,tileIndex:1177},prize_pottery_sherd:{u:.40625,v:.28125,tileIndex:1178},raiser_armor_trim_smithing_template:{u:.421875,v:.28125,tileIndex:1179},shaper_armor_trim_smithing_template:{u:.4375,v:.28125,tileIndex:1180},sheaf_pottery_sherd:{u:.453125,v:.28125,tileIndex:1181},shelter_pottery_sherd:{u:.46875,v:.28125,tileIndex:1182},silence_armor_trim_smithing_template:{u:.484375,v:.28125,tileIndex:1183},skull_pottery_sherd:{u:.296875,v:.296875,tileIndex:1235},sniffer_egg:{u:.296875,v:.3125,tileIndex:1299},snort_pottery_sherd:{u:.296875,v:.328125,tileIndex:1363},wayfinder_armor_trim_smithing_template:{u:.296875,v:.34375,tileIndex:1427},copper_door:{u:.296875,v:.359375,tileIndex:1491},exposed_copper_door:{u:.296875,v:.375,tileIndex:1555},oxidized_copper_door:{u:.296875,v:.390625,tileIndex:1619},trial_key:{u:.296875,v:.40625,tileIndex:1683},weathered_copper_door:{u:.296875,v:.421875,tileIndex:1747},armadillo_scute:{u:.296875,v:.4375,tileIndex:1811},bolt_armor_trim_smithing_template:{u:.296875,v:.453125,tileIndex:1875},breeze_rod:{u:.296875,v:.46875,tileIndex:1939},flow_armor_trim_smithing_template:{u:.296875,v:.484375,tileIndex:2003},flow_banner_pattern:{u:.3125,v:.296875,tileIndex:1236},flow_pottery_sherd:{u:.328125,v:.296875,tileIndex:1237},guster_banner_pattern:{u:.34375,v:.296875,tileIndex:1238},guster_pottery_sherd:{u:.359375,v:.296875,tileIndex:1239},mace:{u:.375,v:.296875,tileIndex:1240},ominous_bottle:{u:.390625,v:.296875,tileIndex:1241},ominous_trial_key:{u:.40625,v:.296875,tileIndex:1242},scrape_pottery_sherd:{u:.421875,v:.296875,tileIndex:1243},turtle_scute:{u:.4375,v:.296875,tileIndex:1244},wind_charge:{u:.453125,v:.296875,tileIndex:1245},wolf_armor:{u:.46875,v:.296875,tileIndex:1246},wolf_armor_overlay:{u:.484375,v:.296875,tileIndex:1247},music_disc_creator:{u:.3125,v:.3125,tileIndex:1300},music_disc_creator_music_box:{u:.3125,v:.328125,tileIndex:1364},music_disc_precipice:{u:.3125,v:.34375,tileIndex:1428},black_bundle:{u:.3125,v:.359375,tileIndex:1492},black_bundle_open_back:{u:.3125,v:.375,tileIndex:1556},black_bundle_open_front:{u:.3125,v:.390625,tileIndex:1620},blue_bundle:{u:.3125,v:.40625,tileIndex:1684},blue_bundle_open_back:{u:.3125,v:.421875,tileIndex:1748},blue_bundle_open_front:{u:.3125,v:.4375,tileIndex:1812},bordure_indented_banner_pattern:{u:.3125,v:.453125,tileIndex:1876},brown_bundle:{u:.3125,v:.46875,tileIndex:1940},brown_bundle_open_back:{u:.3125,v:.484375,tileIndex:2004},brown_bundle_open_front:{u:.328125,v:.3125,tileIndex:1301},bundle_open_back:{u:.34375,v:.3125,tileIndex:1302},bundle_open_front:{u:.359375,v:.3125,tileIndex:1303},cyan_bundle:{u:.375,v:.3125,tileIndex:1304},cyan_bundle_open_back:{u:.390625,v:.3125,tileIndex:1305},cyan_bundle_open_front:{u:.40625,v:.3125,tileIndex:1306},field_masoned_banner_pattern:{u:.421875,v:.3125,tileIndex:1307},gray_bundle:{u:.4375,v:.3125,tileIndex:1308},gray_bundle_open_back:{u:.453125,v:.3125,tileIndex:1309},gray_bundle_open_front:{u:.46875,v:.3125,tileIndex:1310},green_bundle:{u:.484375,v:.3125,tileIndex:1311},green_bundle_open_back:{u:.328125,v:.328125,tileIndex:1365},green_bundle_open_front:{u:.328125,v:.34375,tileIndex:1429},light_blue_bundle:{u:.328125,v:.359375,tileIndex:1493},light_blue_bundle_open_back:{u:.328125,v:.375,tileIndex:1557},light_blue_bundle_open_front:{u:.328125,v:.390625,tileIndex:1621},light_gray_bundle:{u:.328125,v:.40625,tileIndex:1685},light_gray_bundle_open_back:{u:.328125,v:.421875,tileIndex:1749},light_gray_bundle_open_front:{u:.328125,v:.4375,tileIndex:1813},lime_bundle:{u:.328125,v:.453125,tileIndex:1877},lime_bundle_open_back:{u:.328125,v:.46875,tileIndex:1941},lime_bundle_open_front:{u:.328125,v:.484375,tileIndex:2005},magenta_bundle:{u:.34375,v:.328125,tileIndex:1366},magenta_bundle_open_back:{u:.359375,v:.328125,tileIndex:1367},magenta_bundle_open_front:{u:.375,v:.328125,tileIndex:1368},orange_bundle:{u:.390625,v:.328125,tileIndex:1369},orange_bundle_open_back:{u:.40625,v:.328125,tileIndex:1370},orange_bundle_open_front:{u:.421875,v:.328125,tileIndex:1371},pale_oak_boat:{u:.4375,v:.328125,tileIndex:1372},pale_oak_chest_boat:{u:.453125,v:.328125,tileIndex:1373},pale_oak_door:{u:.46875,v:.328125,tileIndex:1374},pale_oak_hanging_sign:{u:.484375,v:.328125,tileIndex:1375},pale_oak_sign:{u:.34375,v:.34375,tileIndex:1430},pink_bundle:{u:.34375,v:.359375,tileIndex:1494},pink_bundle_open_back:{u:.34375,v:.375,tileIndex:1558},pink_bundle_open_front:{u:.34375,v:.390625,tileIndex:1622},purple_bundle:{u:.34375,v:.40625,tileIndex:1686},purple_bundle_open_back:{u:.34375,v:.421875,tileIndex:1750},purple_bundle_open_front:{u:.34375,v:.4375,tileIndex:1814},red_bundle:{u:.34375,v:.453125,tileIndex:1878},red_bundle_open_back:{u:.34375,v:.46875,tileIndex:1942},red_bundle_open_front:{u:.34375,v:.484375,tileIndex:2006},white_bundle:{u:.359375,v:.34375,tileIndex:1431},white_bundle_open_back:{u:.375,v:.34375,tileIndex:1432},white_bundle_open_front:{u:.390625,v:.34375,tileIndex:1433},yellow_bundle:{u:.40625,v:.34375,tileIndex:1434},yellow_bundle_open_back:{u:.421875,v:.34375,tileIndex:1435},yellow_bundle_open_front:{u:.4375,v:.34375,tileIndex:1436},elytra_broken:{u:.453125,v:.34375,tileIndex:1437},resin_brick:{u:.46875,v:.34375,tileIndex:1438},resin_clump:{u:.484375,v:.34375,tileIndex:1439},allay_spawn_egg:{u:.359375,v:.359375,tileIndex:1495},armadillo_spawn_egg:{u:.359375,v:.375,tileIndex:1559},axolotl_spawn_egg:{u:.359375,v:.390625,tileIndex:1623},bat_spawn_egg:{u:.359375,v:.40625,tileIndex:1687},bee_spawn_egg:{u:.359375,v:.421875,tileIndex:1751},blaze_spawn_egg:{u:.359375,v:.4375,tileIndex:1815},blue_egg:{u:.359375,v:.453125,tileIndex:1879},bogged_spawn_egg:{u:.359375,v:.46875,tileIndex:1943},breeze_spawn_egg:{u:.359375,v:.484375,tileIndex:2007},brown_egg:{u:.375,v:.359375,tileIndex:1496},camel_spawn_egg:{u:.390625,v:.359375,tileIndex:1497},cat_spawn_egg:{u:.40625,v:.359375,tileIndex:1498},cave_spider_spawn_egg:{u:.421875,v:.359375,tileIndex:1499},chicken_spawn_egg:{u:.4375,v:.359375,tileIndex:1500},cod_spawn_egg:{u:.453125,v:.359375,tileIndex:1501},cow_spawn_egg:{u:.46875,v:.359375,tileIndex:1502},creaking_spawn_egg:{u:.484375,v:.359375,tileIndex:1503},creeper_spawn_egg:{u:.375,v:.375,tileIndex:1560},dolphin_spawn_egg:{u:.375,v:.390625,tileIndex:1624},donkey_spawn_egg:{u:.375,v:.40625,tileIndex:1688},drowned_spawn_egg:{u:.375,v:.421875,tileIndex:1752},elder_guardian_spawn_egg:{u:.375,v:.4375,tileIndex:1816},ender_dragon_spawn_egg:{u:.375,v:.453125,tileIndex:1880},enderman_spawn_egg:{u:.375,v:.46875,tileIndex:1944},endermite_spawn_egg:{u:.375,v:.484375,tileIndex:2008},evoker_spawn_egg:{u:.390625,v:.375,tileIndex:1561},firefly_bush:{u:.40625,v:.375,tileIndex:1562},fox_spawn_egg:{u:.421875,v:.375,tileIndex:1563},frog_spawn_egg:{u:.4375,v:.375,tileIndex:1564},ghast_spawn_egg:{u:.453125,v:.375,tileIndex:1565},glow_squid_spawn_egg:{u:.46875,v:.375,tileIndex:1566},goat_spawn_egg:{u:.484375,v:.375,tileIndex:1567},guardian_spawn_egg:{u:.390625,v:.390625,tileIndex:1625},hoglin_spawn_egg:{u:.390625,v:.40625,tileIndex:1689},horse_spawn_egg:{u:.390625,v:.421875,tileIndex:1753},husk_spawn_egg:{u:.390625,v:.4375,tileIndex:1817},iron_golem_spawn_egg:{u:.390625,v:.453125,tileIndex:1881},leaf_litter:{u:.390625,v:.46875,tileIndex:1945},llama_spawn_egg:{u:.390625,v:.484375,tileIndex:2009},magma_cube_spawn_egg:{u:.40625,v:.390625,tileIndex:1626},mooshroom_spawn_egg:{u:.421875,v:.390625,tileIndex:1627},mule_spawn_egg:{u:.4375,v:.390625,tileIndex:1628},ocelot_spawn_egg:{u:.453125,v:.390625,tileIndex:1629},panda_spawn_egg:{u:.46875,v:.390625,tileIndex:1630},parrot_spawn_egg:{u:.484375,v:.390625,tileIndex:1631},phantom_spawn_egg:{u:.40625,v:.40625,tileIndex:1690},pig_spawn_egg:{u:.40625,v:.421875,tileIndex:1754},piglin_brute_spawn_egg:{u:.40625,v:.4375,tileIndex:1818},piglin_spawn_egg:{u:.40625,v:.453125,tileIndex:1882},pillager_spawn_egg:{u:.40625,v:.46875,tileIndex:1946},polar_bear_spawn_egg:{u:.40625,v:.484375,tileIndex:2010},pufferfish_spawn_egg:{u:.421875,v:.40625,tileIndex:1691},rabbit_spawn_egg:{u:.4375,v:.40625,tileIndex:1692},ravager_spawn_egg:{u:.453125,v:.40625,tileIndex:1693},salmon_spawn_egg:{u:.46875,v:.40625,tileIndex:1694},sheep_spawn_egg:{u:.484375,v:.40625,tileIndex:1695},shulker_spawn_egg:{u:.421875,v:.421875,tileIndex:1755},silverfish_spawn_egg:{u:.421875,v:.4375,tileIndex:1819},skeleton_horse_spawn_egg:{u:.421875,v:.453125,tileIndex:1883},skeleton_spawn_egg:{u:.421875,v:.46875,tileIndex:1947},slime_spawn_egg:{u:.421875,v:.484375,tileIndex:2011},sniffer_spawn_egg:{u:.4375,v:.421875,tileIndex:1756},snow_golem_spawn_egg:{u:.453125,v:.421875,tileIndex:1757},spider_spawn_egg:{u:.46875,v:.421875,tileIndex:1758},squid_spawn_egg:{u:.484375,v:.421875,tileIndex:1759},stray_spawn_egg:{u:.4375,v:.4375,tileIndex:1820},strider_spawn_egg:{u:.4375,v:.453125,tileIndex:1884},tadpole_spawn_egg:{u:.4375,v:.46875,tileIndex:1948},trader_llama_spawn_egg:{u:.4375,v:.484375,tileIndex:2012},tropical_fish_spawn_egg:{u:.453125,v:.4375,tileIndex:1821},turtle_spawn_egg:{u:.46875,v:.4375,tileIndex:1822},vex_spawn_egg:{u:.484375,v:.4375,tileIndex:1823},villager_spawn_egg:{u:.453125,v:.453125,tileIndex:1885},vindicator_spawn_egg:{u:.453125,v:.46875,tileIndex:1949},wandering_trader_spawn_egg:{u:.453125,v:.484375,tileIndex:2013},warden_spawn_egg:{u:.46875,v:.453125,tileIndex:1886},wildflowers:{u:.484375,v:.453125,tileIndex:1887},witch_spawn_egg:{u:.46875,v:.46875,tileIndex:1950},wither_skeleton_spawn_egg:{u:.46875,v:.484375,tileIndex:2014},wither_spawn_egg:{u:.484375,v:.46875,tileIndex:1951},wolf_spawn_egg:{u:.484375,v:.484375,tileIndex:2015},zoglin_spawn_egg:{u:.5,v:0,tileIndex:32},zombie_horse_spawn_egg:{u:.515625,v:0,tileIndex:33},zombie_spawn_egg:{u:.53125,v:0,tileIndex:34},zombie_villager_spawn_egg:{u:.546875,v:0,tileIndex:35},zombified_piglin_spawn_egg:{u:.5625,v:0,tileIndex:36},black_harness:{u:.578125,v:0,tileIndex:37},blue_harness:{u:.59375,v:0,tileIndex:38},brown_harness:{u:.609375,v:0,tileIndex:39},cyan_harness:{u:.625,v:0,tileIndex:40},gray_harness:{u:.640625,v:0,tileIndex:41},green_harness:{u:.65625,v:0,tileIndex:42},happy_ghast_spawn_egg:{u:.671875,v:0,tileIndex:43},light_blue_harness:{u:.6875,v:0,tileIndex:44},light_gray_harness:{u:.703125,v:0,tileIndex:45},lime_harness:{u:.71875,v:0,tileIndex:46},magenta_harness:{u:.734375,v:0,tileIndex:47},music_disc_tears:{u:.75,v:0,tileIndex:48},orange_harness:{u:.765625,v:0,tileIndex:49},pink_harness:{u:.78125,v:0,tileIndex:50},purple_harness:{u:.796875,v:0,tileIndex:51},red_harness:{u:.8125,v:0,tileIndex:52},white_harness:{u:.828125,v:0,tileIndex:53},yellow_harness:{u:.84375,v:0,tileIndex:54},music_disc_lava_chicken:{u:.859375,v:0,tileIndex:55},copper_axe:{u:.875,v:0,tileIndex:56},copper_boots:{u:.890625,v:0,tileIndex:57},copper_chain:{u:.90625,v:0,tileIndex:58},copper_chestplate:{u:.921875,v:0,tileIndex:59},copper_golem_spawn_egg:{u:.9375,v:0,tileIndex:60},copper_helmet:{u:.953125,v:0,tileIndex:61},copper_hoe:{u:.96875,v:0,tileIndex:62},copper_horse_armor:{u:.984375,v:0,tileIndex:63},copper_lantern:{u:.5,v:.015625,tileIndex:96},copper_leggings:{u:.515625,v:.015625,tileIndex:97},copper_nugget:{u:.53125,v:.015625,tileIndex:98},copper_pickaxe:{u:.546875,v:.015625,tileIndex:99},copper_shovel:{u:.5625,v:.015625,tileIndex:100},copper_sword:{u:.578125,v:.015625,tileIndex:101},exposed_copper_chain:{u:.59375,v:.015625,tileIndex:102},exposed_copper_lantern:{u:.609375,v:.015625,tileIndex:103},iron_chain:{u:.625,v:.015625,tileIndex:104},oxidized_copper_chain:{u:.640625,v:.015625,tileIndex:105},oxidized_copper_lantern:{u:.65625,v:.015625,tileIndex:106},weathered_copper_chain:{u:.671875,v:.015625,tileIndex:107},weathered_copper_lantern:{u:.6875,v:.015625,tileIndex:108},camel_husk_spawn_egg:{u:.703125,v:.015625,tileIndex:109},copper_nautilus_armor:{u:.71875,v:.015625,tileIndex:110},copper_spear:{u:.734375,v:.015625,tileIndex:111},copper_spear_in_hand:{u:.75,v:.015625,tileIndex:112},diamond_nautilus_armor:{u:.765625,v:.015625,tileIndex:113},diamond_spear:{u:.78125,v:.015625,tileIndex:114},diamond_spear_in_hand:{u:.796875,v:.015625,tileIndex:115},golden_nautilus_armor:{u:.8125,v:.015625,tileIndex:116},golden_spear:{u:.828125,v:.015625,tileIndex:117},golden_spear_in_hand:{u:.84375,v:.015625,tileIndex:118},iron_nautilus_armor:{u:.859375,v:.015625,tileIndex:119},iron_spear:{u:.875,v:.015625,tileIndex:120},iron_spear_in_hand:{u:.890625,v:.015625,tileIndex:121},leather_horse_armor_overlay:{u:.90625,v:.015625,tileIndex:122},nautilus_spawn_egg:{u:.921875,v:.015625,tileIndex:123},netherite_horse_armor:{u:.9375,v:.015625,tileIndex:124},netherite_nautilus_armor:{u:.953125,v:.015625,tileIndex:125},netherite_spear:{u:.96875,v:.015625,tileIndex:126},netherite_spear_in_hand:{u:.984375,v:.015625,tileIndex:127},parched_spawn_egg:{u:.5,v:.03125,tileIndex:160},stone_spear:{u:.515625,v:.03125,tileIndex:161},stone_spear_in_hand:{u:.53125,v:.03125,tileIndex:162},wooden_spear:{u:.546875,v:.03125,tileIndex:163},wooden_spear_in_hand:{u:.5625,v:.03125,tileIndex:164},zombie_nautilus_spawn_egg:{u:.578125,v:.03125,tileIndex:165}}},legacy:{suSv:.03125,tileSize:16,width:512,height:512,textures:{"1.8/beef_cooked":{u:0,v:0,tileIndex:0},"1.8/book_enchanted":{u:.03125,v:0,tileIndex:1},"1.8/door_iron":{u:0,v:.03125,tileIndex:32},"1.8/door_wood":{u:.03125,v:.03125,tileIndex:33},"1.8/fireworks_charge":{u:.0625,v:0,tileIndex:2},"1.8/leather_boots":{u:.09375,v:0,tileIndex:3},"1.8/leather_helmet":{u:.0625,v:.03125,tileIndex:34},"1.8/leather_leggings":{u:.09375,v:.03125,tileIndex:35},"1.8/potion_overlay":{u:0,v:.0625,tileIndex:64},"1.8/spawn_egg":{u:0,v:.09375,tileIndex:96},"1.9/book_enchanted":{u:.03125,v:.0625,tileIndex:65},"1.9/fish_pufferfish_raw":{u:.03125,v:.09375,tileIndex:97},"1.9/fish_salmon_cooked":{u:.0625,v:.0625,tileIndex:66},"1.9/fish_salmon_raw":{u:.0625,v:.09375,tileIndex:98},"1.9/name_tag":{u:.09375,v:.0625,tileIndex:67},"1.9/porkchop_cooked":{u:.09375,v:.09375,tileIndex:99},"1.11/map_empty":{u:.125,v:0,tileIndex:4},"1.11/map_filled":{u:.15625,v:0,tileIndex:5},"1.14/acacia_boat":{u:.1875,v:0,tileIndex:6},"1.14/apple":{u:.21875,v:0,tileIndex:7},"1.14/armor_stand":{u:.125,v:.03125,tileIndex:36},"1.14/baked_potato":{u:.15625,v:.03125,tileIndex:37},"1.14/barrier":{u:.1875,v:.03125,tileIndex:38},"1.14/beef":{u:.21875,v:.03125,tileIndex:39},"1.14/beetroot":{u:.125,v:.0625,tileIndex:68},"1.14/beetroot_seeds":{u:.15625,v:.0625,tileIndex:69},"1.14/beetroot_soup":{u:.1875,v:.0625,tileIndex:70},"1.14/birch_boat":{u:.21875,v:.0625,tileIndex:71},"1.14/bone":{u:.125,v:.09375,tileIndex:100},"1.14/bone_meal":{u:.15625,v:.09375,tileIndex:101},"1.14/book":{u:.1875,v:.09375,tileIndex:102},"1.14/bowl":{u:.21875,v:.09375,tileIndex:103},"1.14/bread":{u:0,v:.125,tileIndex:128},"1.14/brewing_stand":{u:0,v:.15625,tileIndex:160},"1.14/brick":{u:0,v:.1875,tileIndex:192},"1.14/broken_elytra":{u:0,v:.21875,tileIndex:224},"1.14/bucket":{u:.03125,v:.125,tileIndex:129},"1.14/cake":{u:.03125,v:.15625,tileIndex:161},"1.14/carrot":{u:.03125,v:.1875,tileIndex:193},"1.14/carrot_on_a_stick":{u:.03125,v:.21875,tileIndex:225},"1.14/cauldron":{u:.0625,v:.125,tileIndex:130},"1.14/chainmail_boots":{u:.0625,v:.15625,tileIndex:162},"1.14/chainmail_chestplate":{u:.0625,v:.1875,tileIndex:194},"1.14/chainmail_helmet":{u:.0625,v:.21875,tileIndex:226},"1.14/chainmail_leggings":{u:.09375,v:.125,tileIndex:131},"1.14/charcoal":{u:.09375,v:.15625,tileIndex:163},"1.14/chest_minecart":{u:.09375,v:.1875,tileIndex:195},"1.14/chicken":{u:.09375,v:.21875,tileIndex:227},"1.14/chorus_fruit":{u:.125,v:.125,tileIndex:132},"1.14/clay_ball":{u:.125,v:.15625,tileIndex:164},"1.14/coal":{u:.125,v:.1875,tileIndex:196},"1.14/cocoa_beans":{u:.125,v:.21875,tileIndex:228},"1.14/cod_bucket":{u:.15625,v:.125,tileIndex:133},"1.14/command_block_minecart":{u:.1875,v:.125,tileIndex:134},"1.14/comparator":{u:.21875,v:.125,tileIndex:135},"1.14/cooked_beef":{u:.15625,v:.15625,tileIndex:165},"1.14/cooked_chicken":{u:.15625,v:.1875,tileIndex:197},"1.14/cooked_mutton":{u:.15625,v:.21875,tileIndex:229},"1.14/cooked_porkchop":{u:.1875,v:.15625,tileIndex:166},"1.14/cooked_rabbit":{u:.21875,v:.15625,tileIndex:167},"1.14/cookie":{u:.1875,v:.1875,tileIndex:198},"1.14/cyan_dye":{u:.1875,v:.21875,tileIndex:230},"1.14/dark_oak_boat":{u:.21875,v:.1875,tileIndex:199},"1.14/diamond":{u:.21875,v:.21875,tileIndex:231},"1.14/diamond_boots":{u:.25,v:0,tileIndex:8},"1.14/diamond_chestplate":{u:.28125,v:0,tileIndex:9},"1.14/diamond_helmet":{u:.3125,v:0,tileIndex:10},"1.14/diamond_horse_armor":{u:.34375,v:0,tileIndex:11},"1.14/diamond_leggings":{u:.375,v:0,tileIndex:12},"1.14/diamond_pickaxe":{u:.40625,v:0,tileIndex:13},"1.14/diamond_shovel":{u:.4375,v:0,tileIndex:14},"1.14/diamond_sword":{u:.46875,v:0,tileIndex:15},"1.14/dragon_breath":{u:.25,v:.03125,tileIndex:40},"1.14/egg":{u:.28125,v:.03125,tileIndex:41},"1.14/elytra":{u:.3125,v:.03125,tileIndex:42},"1.14/emerald":{u:.34375,v:.03125,tileIndex:43},"1.14/enchanted_book":{u:.375,v:.03125,tileIndex:44},"1.14/end_crystal":{u:.40625,v:.03125,tileIndex:45},"1.14/ender_eye":{u:.4375,v:.03125,tileIndex:46},"1.14/ender_pearl":{u:.46875,v:.03125,tileIndex:47},"1.14/experience_bottle":{u:.25,v:.0625,tileIndex:72},"1.14/feather":{u:.28125,v:.0625,tileIndex:73},"1.14/fermented_spider_eye":{u:.3125,v:.0625,tileIndex:74},"1.14/filled_map":{u:.34375,v:.0625,tileIndex:75},"1.14/fire_charge":{u:.375,v:.0625,tileIndex:76},"1.14/firework_rocket":{u:.40625,v:.0625,tileIndex:77},"1.14/fishing_rod":{u:.4375,v:.0625,tileIndex:78},"1.14/fishing_rod_cast":{u:.46875,v:.0625,tileIndex:79},"1.14/flint":{u:.25,v:.09375,tileIndex:104},"1.14/flint_and_steel":{u:.28125,v:.09375,tileIndex:105},"1.14/flower_pot":{u:.3125,v:.09375,tileIndex:106},"1.14/furnace_minecart":{u:.34375,v:.09375,tileIndex:107},"1.14/ghast_tear":{u:.375,v:.09375,tileIndex:108},"1.14/glass_bottle":{u:.40625,v:.09375,tileIndex:109},"1.14/glistering_melon_slice":{u:.4375,v:.09375,tileIndex:110},"1.14/glowstone_dust":{u:.46875,v:.09375,tileIndex:111},"1.14/gold_ingot":{u:.25,v:.125,tileIndex:136},"1.14/gold_nugget":{u:.28125,v:.125,tileIndex:137},"1.14/golden_apple":{u:.3125,v:.125,tileIndex:138},"1.14/golden_axe":{u:.34375,v:.125,tileIndex:139},"1.14/golden_boots":{u:.375,v:.125,tileIndex:140},"1.14/golden_carrot":{u:.40625,v:.125,tileIndex:141},"1.14/golden_chestplate":{u:.4375,v:.125,tileIndex:142},"1.14/golden_helmet":{u:.46875,v:.125,tileIndex:143},"1.14/golden_hoe":{u:.25,v:.15625,tileIndex:168},"1.14/golden_horse_armor":{u:.28125,v:.15625,tileIndex:169},"1.14/golden_leggings":{u:.3125,v:.15625,tileIndex:170},"1.14/golden_pickaxe":{u:.34375,v:.15625,tileIndex:171},"1.14/golden_shovel":{u:.375,v:.15625,tileIndex:172},"1.14/golden_sword":{u:.40625,v:.15625,tileIndex:173},"1.14/gray_dye":{u:.4375,v:.15625,tileIndex:174},"1.14/gunpowder":{u:.46875,v:.15625,tileIndex:175},"1.14/hopper":{u:.25,v:.1875,tileIndex:200},"1.14/hopper_minecart":{u:.28125,v:.1875,tileIndex:201},"1.14/ink_sac":{u:.3125,v:.1875,tileIndex:202},"1.14/iron_boots":{u:.34375,v:.1875,tileIndex:203},"1.14/iron_chestplate":{u:.375,v:.1875,tileIndex:204},"1.14/iron_helmet":{u:.40625,v:.1875,tileIndex:205},"1.14/iron_horse_armor":{u:.4375,v:.1875,tileIndex:206},"1.14/iron_ingot":{u:.46875,v:.1875,tileIndex:207},"1.14/iron_leggings":{u:.25,v:.21875,tileIndex:232},"1.14/iron_pickaxe":{u:.28125,v:.21875,tileIndex:233},"1.14/iron_shovel":{u:.3125,v:.21875,tileIndex:234},"1.14/iron_sword":{u:.34375,v:.21875,tileIndex:235},"1.14/item_frame":{u:.375,v:.21875,tileIndex:236},"1.14/jungle_boat":{u:.40625,v:.21875,tileIndex:237},"1.14/knowledge_book":{u:.4375,v:.21875,tileIndex:238},"1.14/lapis_lazuli":{u:.46875,v:.21875,tileIndex:239},"1.14/lava_bucket":{u:0,v:.25,tileIndex:256},"1.14/lead":{u:0,v:.28125,tileIndex:288},"1.14/leather":{u:0,v:.3125,tileIndex:320},"1.14/leather_boots":{u:0,v:.34375,tileIndex:352},"1.14/leather_boots_overlay":{u:0,v:.375,tileIndex:384},"1.14/leather_chestplate":{u:0,v:.40625,tileIndex:416},"1.14/leather_chestplate_overlay":{u:0,v:.4375,tileIndex:448},"1.14/leather_helmet":{u:0,v:.46875,tileIndex:480},"1.14/leather_helmet_overlay":{u:.03125,v:.25,tileIndex:257},"1.14/leather_leggings":{u:.03125,v:.28125,tileIndex:289},"1.14/leather_leggings_overlay":{u:.03125,v:.3125,tileIndex:321},"1.14/light_blue_dye":{u:.03125,v:.34375,tileIndex:353},"1.14/light_gray_dye":{u:.03125,v:.375,tileIndex:385},"1.14/lime_dye":{u:.03125,v:.40625,tileIndex:417},"1.14/lingering_potion":{u:.03125,v:.4375,tileIndex:449},"1.14/magenta_dye":{u:.03125,v:.46875,tileIndex:481},"1.14/magma_cream":{u:.0625,v:.25,tileIndex:258},"1.14/map":{u:.0625,v:.28125,tileIndex:290},"1.14/melon_slice":{u:.0625,v:.3125,tileIndex:322},"1.14/milk_bucket":{u:.0625,v:.34375,tileIndex:354},"1.14/minecart":{u:.0625,v:.375,tileIndex:386},"1.14/mushroom_stew":{u:.0625,v:.40625,tileIndex:418},"1.14/music_disc_11":{u:.0625,v:.4375,tileIndex:450},"1.14/mutton":{u:.0625,v:.46875,tileIndex:482},"1.14/name_tag":{u:.09375,v:.25,tileIndex:259},"1.14/nether_brick":{u:.09375,v:.28125,tileIndex:291},"1.14/nether_star":{u:.09375,v:.3125,tileIndex:323},"1.14/oak_boat":{u:.09375,v:.34375,tileIndex:355},"1.14/orange_dye":{u:.09375,v:.375,tileIndex:387},"1.14/painting":{u:.09375,v:.40625,tileIndex:419},"1.14/paper":{u:.09375,v:.4375,tileIndex:451},"1.14/phantom_membrane":{u:.09375,v:.46875,tileIndex:483},"1.14/pink_dye":{u:.125,v:.25,tileIndex:260},"1.14/poisonous_potato":{u:.125,v:.28125,tileIndex:292},"1.14/popped_chorus_fruit":{u:.125,v:.3125,tileIndex:324},"1.14/porkchop":{u:.125,v:.34375,tileIndex:356},"1.14/potato":{u:.125,v:.375,tileIndex:388},"1.14/potion":{u:.125,v:.40625,tileIndex:420},"1.14/potion_overlay":{u:.125,v:.4375,tileIndex:452},"1.14/prismarine_crystals":{u:.125,v:.46875,tileIndex:484},"1.14/prismarine_shard":{u:.15625,v:.25,tileIndex:261},"1.14/pufferfish_bucket":{u:.15625,v:.28125,tileIndex:293},"1.14/pumpkin_pie":{u:.15625,v:.3125,tileIndex:325},"1.14/purple_dye":{u:.15625,v:.34375,tileIndex:357},"1.14/quartz":{u:.15625,v:.375,tileIndex:389},"1.14/rabbit":{u:.15625,v:.40625,tileIndex:421},"1.14/rabbit_foot":{u:.15625,v:.4375,tileIndex:453},"1.14/rabbit_hide":{u:.15625,v:.46875,tileIndex:485},"1.14/rabbit_stew":{u:.1875,v:.25,tileIndex:262},"1.14/redstone":{u:.1875,v:.28125,tileIndex:294},"1.14/repeater":{u:.1875,v:.3125,tileIndex:326},"1.14/rotten_flesh":{u:.1875,v:.34375,tileIndex:358},"1.14/saddle":{u:.1875,v:.375,tileIndex:390},"1.14/salmon_bucket":{u:.1875,v:.40625,tileIndex:422},"1.14/shears":{u:.1875,v:.4375,tileIndex:454},"1.14/shulker_shell":{u:.1875,v:.46875,tileIndex:486},"1.14/slime_ball":{u:.21875,v:.25,tileIndex:263},"1.14/snowball":{u:.21875,v:.28125,tileIndex:295},"1.14/spectral_arrow":{u:.21875,v:.3125,tileIndex:327},"1.14/spider_eye":{u:.21875,v:.34375,tileIndex:359},"1.14/splash_potion":{u:.21875,v:.375,tileIndex:391},"1.14/spruce_boat":{u:.21875,v:.40625,tileIndex:423},"1.14/stone_pickaxe":{u:.21875,v:.4375,tileIndex:455},"1.14/stone_shovel":{u:.21875,v:.46875,tileIndex:487},"1.14/stone_sword":{u:.25,v:.25,tileIndex:264},"1.14/string":{u:.25,v:.28125,tileIndex:296},"1.14/structure_void":{u:.25,v:.3125,tileIndex:328},"1.14/sugar":{u:.25,v:.34375,tileIndex:360},"1.14/sugar_cane":{u:.25,v:.375,tileIndex:392},"1.14/tipped_arrow_head":{u:.25,v:.40625,tileIndex:424},"1.14/tnt_minecart":{u:.25,v:.4375,tileIndex:456},"1.14/totem_of_undying":{u:.25,v:.46875,tileIndex:488},"1.14/tropical_fish_bucket":{u:.28125,v:.25,tileIndex:265},"1.14/water_bucket":{u:.3125,v:.25,tileIndex:266},"1.14/wheat":{u:.34375,v:.25,tileIndex:267},"1.14/wooden_pickaxe":{u:.375,v:.25,tileIndex:268},"1.14/wooden_shovel":{u:.40625,v:.25,tileIndex:269},"1.14/wooden_sword":{u:.4375,v:.25,tileIndex:270},"1.14/writable_book":{u:.46875,v:.25,tileIndex:271},"1.14/written_book":{u:.28125,v:.28125,tileIndex:297},"1.14.1/iron_horse_armor":{u:.28125,v:.3125,tileIndex:329},"1.14.1/leather_horse_armor":{u:.28125,v:.34375,tileIndex:361},"1.16/diamond_boots":{u:.28125,v:.375,tileIndex:393},"1.16/diamond_helmet":{u:.28125,v:.40625,tileIndex:425},"1.16/diamond_leggings":{u:.28125,v:.4375,tileIndex:457},"1.16/diamond_pickaxe":{u:.28125,v:.46875,tileIndex:489},"1.16/diamond_shovel":{u:.3125,v:.28125,tileIndex:298},"1.16/diamond_sword":{u:.34375,v:.28125,tileIndex:299},"1.16/wooden_hoe":{u:.375,v:.28125,tileIndex:300},"1.16/wooden_pickaxe":{u:.40625,v:.28125,tileIndex:301},"1.17/clock_00":{u:.4375,v:.28125,tileIndex:302},"1.17/clock_01":{u:.46875,v:.28125,tileIndex:303},"1.17/clock_02":{u:.3125,v:.3125,tileIndex:330},"1.17/clock_03":{u:.3125,v:.34375,tileIndex:362},"1.17/clock_04":{u:.3125,v:.375,tileIndex:394},"1.17/clock_05":{u:.3125,v:.40625,tileIndex:426},"1.17/clock_06":{u:.3125,v:.4375,tileIndex:458},"1.17/clock_07":{u:.3125,v:.46875,tileIndex:490},"1.17/clock_08":{u:.34375,v:.3125,tileIndex:331},"1.17/clock_09":{u:.375,v:.3125,tileIndex:332},"1.17/clock_10":{u:.40625,v:.3125,tileIndex:333},"1.17/clock_11":{u:.4375,v:.3125,tileIndex:334},"1.17/clock_12":{u:.46875,v:.3125,tileIndex:335},"1.17/clock_13":{u:.34375,v:.34375,tileIndex:363},"1.17/clock_14":{u:.34375,v:.375,tileIndex:395},"1.17/clock_15":{u:.34375,v:.40625,tileIndex:427},"1.17/clock_16":{u:.34375,v:.4375,tileIndex:459},"1.17/clock_17":{u:.34375,v:.46875,tileIndex:491},"1.17/clock_18":{u:.375,v:.34375,tileIndex:364},"1.17/clock_19":{u:.40625,v:.34375,tileIndex:365},"1.17/clock_20":{u:.4375,v:.34375,tileIndex:366},"1.17/clock_21":{u:.46875,v:.34375,tileIndex:367},"1.17/clock_22":{u:.375,v:.375,tileIndex:396},"1.17/clock_23":{u:.375,v:.40625,tileIndex:428},"1.17/clock_24":{u:.375,v:.4375,tileIndex:460},"1.17/clock_25":{u:.375,v:.46875,tileIndex:492},"1.17/clock_26":{u:.40625,v:.375,tileIndex:397},"1.17/clock_27":{u:.4375,v:.375,tileIndex:398},"1.17/clock_28":{u:.46875,v:.375,tileIndex:399},"1.17/clock_29":{u:.40625,v:.40625,tileIndex:429},"1.17/clock_30":{u:.40625,v:.4375,tileIndex:461},"1.17/clock_31":{u:.40625,v:.46875,tileIndex:493},"1.17/clock_32":{u:.4375,v:.40625,tileIndex:430},"1.17/clock_33":{u:.46875,v:.40625,tileIndex:431},"1.17/clock_34":{u:.4375,v:.4375,tileIndex:462},"1.17/clock_35":{u:.4375,v:.46875,tileIndex:494},"1.17/clock_36":{u:.46875,v:.4375,tileIndex:463},"1.17/clock_37":{u:.46875,v:.46875,tileIndex:495},"1.17/clock_38":{u:.5,v:0,tileIndex:16},"1.17/clock_39":{u:.53125,v:0,tileIndex:17},"1.17/clock_40":{u:.5625,v:0,tileIndex:18},"1.17/clock_41":{u:.59375,v:0,tileIndex:19},"1.17/clock_42":{u:.625,v:0,tileIndex:20},"1.17/clock_43":{u:.65625,v:0,tileIndex:21},"1.17/clock_44":{u:.6875,v:0,tileIndex:22},"1.17/clock_45":{u:.71875,v:0,tileIndex:23},"1.17/clock_46":{u:.75,v:0,tileIndex:24},"1.17/clock_47":{u:.78125,v:0,tileIndex:25},"1.17/clock_48":{u:.8125,v:0,tileIndex:26},"1.17/clock_49":{u:.84375,v:0,tileIndex:27},"1.17/clock_50":{u:.875,v:0,tileIndex:28},"1.17/clock_51":{u:.90625,v:0,tileIndex:29},"1.17/clock_52":{u:.9375,v:0,tileIndex:30},"1.17/clock_53":{u:.96875,v:0,tileIndex:31},"1.17/clock_54":{u:.5,v:.03125,tileIndex:48},"1.17/clock_55":{u:.53125,v:.03125,tileIndex:49},"1.17/clock_56":{u:.5625,v:.03125,tileIndex:50},"1.17/clock_57":{u:.59375,v:.03125,tileIndex:51},"1.17/clock_58":{u:.625,v:.03125,tileIndex:52},"1.17/clock_59":{u:.65625,v:.03125,tileIndex:53},"1.17/clock_60":{u:.6875,v:.03125,tileIndex:54},"1.17/clock_61":{u:.71875,v:.03125,tileIndex:55},"1.17/clock_62":{u:.75,v:.03125,tileIndex:56},"1.17/clock_63":{u:.78125,v:.03125,tileIndex:57},"1.17/compass_00":{u:.8125,v:.03125,tileIndex:58},"1.17/compass_01":{u:.84375,v:.03125,tileIndex:59},"1.17/compass_02":{u:.875,v:.03125,tileIndex:60},"1.17/compass_03":{u:.90625,v:.03125,tileIndex:61},"1.17/compass_04":{u:.9375,v:.03125,tileIndex:62},"1.17/compass_05":{u:.96875,v:.03125,tileIndex:63},"1.17/compass_06":{u:.5,v:.0625,tileIndex:80},"1.17/compass_07":{u:.53125,v:.0625,tileIndex:81},"1.17/compass_08":{u:.5625,v:.0625,tileIndex:82},"1.17/compass_09":{u:.59375,v:.0625,tileIndex:83},"1.17/compass_10":{u:.625,v:.0625,tileIndex:84},"1.17/compass_11":{u:.65625,v:.0625,tileIndex:85},"1.17/compass_12":{u:.6875,v:.0625,tileIndex:86},"1.17/compass_13":{u:.71875,v:.0625,tileIndex:87},"1.17/compass_14":{u:.75,v:.0625,tileIndex:88},"1.17/compass_15":{u:.78125,v:.0625,tileIndex:89},"1.17/compass_16":{u:.8125,v:.0625,tileIndex:90},"1.17/compass_17":{u:.84375,v:.0625,tileIndex:91},"1.17/compass_18":{u:.875,v:.0625,tileIndex:92},"1.17/compass_19":{u:.90625,v:.0625,tileIndex:93},"1.17/compass_20":{u:.9375,v:.0625,tileIndex:94},"1.17/compass_21":{u:.96875,v:.0625,tileIndex:95},"1.17/compass_22":{u:.5,v:.09375,tileIndex:112},"1.17/compass_23":{u:.53125,v:.09375,tileIndex:113},"1.17/compass_24":{u:.5625,v:.09375,tileIndex:114},"1.17/compass_25":{u:.59375,v:.09375,tileIndex:115},"1.17/compass_26":{u:.625,v:.09375,tileIndex:116},"1.17/compass_27":{u:.65625,v:.09375,tileIndex:117},"1.17/compass_28":{u:.6875,v:.09375,tileIndex:118},"1.17/compass_29":{u:.71875,v:.09375,tileIndex:119},"1.17/compass_30":{u:.75,v:.09375,tileIndex:120},"1.17/compass_31":{u:.78125,v:.09375,tileIndex:121},"1.17/jungle_door":{u:.8125,v:.09375,tileIndex:122},"1.17/sugar_cane":{u:.84375,v:.09375,tileIndex:123},"1.17.1/spyglass_model":{u:.875,v:.09375,tileIndex:124},"1.18/acacia_door":{u:.90625,v:.09375,tileIndex:125},"1.18/acacia_sign":{u:.9375,v:.09375,tileIndex:126},"1.18/beetroot_seeds":{u:.96875,v:.09375,tileIndex:127},"1.18/birch_sign":{u:.5,v:.125,tileIndex:144},"1.18/campfire":{u:.53125,v:.125,tileIndex:145},"1.18/crimson_sign":{u:.5625,v:.125,tileIndex:146},"1.18/dark_oak_door":{u:.59375,v:.125,tileIndex:147},"1.18/dark_oak_sign":{u:.625,v:.125,tileIndex:148},"1.18/glow_item_frame":{u:.65625,v:.125,tileIndex:149},"1.18/iron_door":{u:.6875,v:.125,tileIndex:150},"1.18/item_frame":{u:.71875,v:.125,tileIndex:151},"1.18/jungle_door":{u:.75,v:.125,tileIndex:152},"1.18/jungle_sign":{u:.78125,v:.125,tileIndex:153},"1.18/melon_seeds":{u:.8125,v:.125,tileIndex:154},"1.18/oak_door":{u:.84375,v:.125,tileIndex:155},"1.18/oak_sign":{u:.875,v:.125,tileIndex:156},"1.18/soul_campfire":{u:.90625,v:.125,tileIndex:157},"1.18/spruce_door":{u:.9375,v:.125,tileIndex:158},"1.18/spruce_sign":{u:.96875,v:.125,tileIndex:159},"1.19/acacia_boat":{u:.5,v:.15625,tileIndex:176},"1.19/birch_boat":{u:.53125,v:.15625,tileIndex:177},"1.19/dark_oak_boat":{u:.5625,v:.15625,tileIndex:178},"1.19/jungle_boat":{u:.59375,v:.15625,tileIndex:179},"1.19/oak_boat":{u:.625,v:.15625,tileIndex:180},"1.19/spruce_boat":{u:.65625,v:.15625,tileIndex:181},"1.19.4/empty_armor_slot_boots":{u:.6875,v:.15625,tileIndex:182},"1.19.4/empty_armor_slot_chestplate":{u:.71875,v:.15625,tileIndex:183},"1.19.4/empty_armor_slot_helmet":{u:.75,v:.15625,tileIndex:184},"1.19.4/empty_armor_slot_leggings":{u:.78125,v:.15625,tileIndex:185},"1.19.4/empty_armor_slot_shield":{u:.8125,v:.15625,tileIndex:186},"1.20/dune_armor_trim_smithing_template":{u:.84375,v:.15625,tileIndex:187},"1.20/sentry_armor_trim_smithing_template":{u:.875,v:.15625,tileIndex:188},"1.20.5/trial_key":{u:.90625,v:.15625,tileIndex:189},"1.21.2/bundle":{u:.9375,v:.15625,tileIndex:190},"1.21.2/creeper_banner_pattern":{u:.96875,v:.15625,tileIndex:191},"1.21.2/flow_banner_pattern":{u:.5,v:.1875,tileIndex:208},"1.21.2/flower_banner_pattern":{u:.53125,v:.1875,tileIndex:209},"1.21.2/globe_banner_pattern":{u:.5625,v:.1875,tileIndex:210},"1.21.2/guster_banner_pattern":{u:.59375,v:.1875,tileIndex:211},"1.21.2/mojang_banner_pattern":{u:.625,v:.1875,tileIndex:212},"1.21.2/piglin_banner_pattern":{u:.65625,v:.1875,tileIndex:213},"1.21.2/skull_banner_pattern":{u:.6875,v:.1875,tileIndex:214},"1.21.4/black_bundle_open_front":{u:.71875,v:.1875,tileIndex:215},"1.21.4/blue_bundle_open_front":{u:.75,v:.1875,tileIndex:216},"1.21.4/brown_bundle_open_front":{u:.78125,v:.1875,tileIndex:217},"1.21.4/bundle_open_front":{u:.8125,v:.1875,tileIndex:218},"1.21.4/cyan_bundle_open_front":{u:.84375,v:.1875,tileIndex:219},"1.21.4/gray_bundle_open_front":{u:.875,v:.1875,tileIndex:220},"1.21.4/green_bundle_open_front":{u:.90625,v:.1875,tileIndex:221},"1.21.4/light_blue_bundle_open_front":{u:.9375,v:.1875,tileIndex:222},"1.21.4/light_gray_bundle_open_front":{u:.96875,v:.1875,tileIndex:223},"1.21.4/lime_bundle_open_front":{u:.5,v:.21875,tileIndex:240},"1.21.4/magenta_bundle_open_front":{u:.53125,v:.21875,tileIndex:241},"1.21.4/orange_bundle_open_front":{u:.5625,v:.21875,tileIndex:242},"1.21.4/pale_oak_chest_boat":{u:.59375,v:.21875,tileIndex:243},"1.21.4/pale_oak_hanging_sign":{u:.625,v:.21875,tileIndex:244},"1.21.4/pale_oak_sign":{u:.65625,v:.21875,tileIndex:245},"1.21.4/pink_bundle_open_front":{u:.6875,v:.21875,tileIndex:246},"1.21.4/purple_bundle_open_front":{u:.71875,v:.21875,tileIndex:247},"1.21.4/red_bundle_open_front":{u:.75,v:.21875,tileIndex:248},"1.21.4/white_bundle_open_front":{u:.78125,v:.21875,tileIndex:249},"1.21.4/yellow_bundle_open_front":{u:.8125,v:.21875,tileIndex:250}}}};var H_={"1.7.10":{},"1.8":{},"1.8.1":{},"1.8.2":{},"1.8.3":{},"1.8.4":{},"1.8.5":{},"1.8.6":{},"1.8.7":{},"1.8.8":{},"1.8.9":{},"1.9":{},"1.9.1":{},"1.9.2":{},"1.9.3":{},"1.9.4":{},"1.10":{},"1.10.1":{},"1.10.2":{},"1.11":{},"1.11.1":{},"1.11.2":{},"1.12":{},"1.12.1":{},"1.12.2":{},"1.13":{},"1.13.1":{},"1.13.2":{},"1.14":{},"1.14.1":{},"1.14.2":{},"1.14.3":{},"1.14.4":{},"1.15":{},"1.15.1":{},"1.15.2":{},"1.16":{},"1.16.1":{},"1.16.2":{},"1.16.3":{},"1.16.4":{},"1.16.5":{},"1.17":{},"1.17.1":{},"1.18":{},"1.18.1":{},"1.18.2":{},"1.19":{},"1.19.1":{},"1.19.2":{},"1.19.3":{},"1.19.4":{},"1.20":{},"1.20.1":{},"1.20.2":{},"1.20.3":{},"1.20.4":{},"1.20.5":{},"1.20.6":{},"1.21":{},"1.21.1":{},"1.21.2":{},"1.21.3":{},"1.21.4":{},"1.21.5-pre2":{},"1.21.5-pre3":{},"1.21.5-rc1":{},"1.21.5-rc2":{},"1.21.5":{},"1.21.6-pre1":{},"1.21.6-pre2":{},"1.21.6-pre3":{},"1.21.6-rc1":{},"1.21.6":{},"1.21.7-rc2":{},"1.21.7":{},"1.21.8-rc1":{},"1.21.8":{},"1.21.9-pre2":{},"1.21.9-pre4":{},"1.21.9-rc1":{},"1.21.9":{},"1.21.10-rc1":{},"1.21.10":{},"1.21.11-pre2":{},"1.21.11-pre3":{},latest:{acacia_boat:{model:{type:"minecraft:model",model:"minecraft:item/acacia_boat"}},acacia_button:{model:{type:"minecraft:model",model:"minecraft:block/acacia_button_inventory"}},acacia_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/acacia_chest_boat"}},acacia_door:{model:{type:"minecraft:model",model:"minecraft:item/acacia_door"}},acacia_fence:{model:{type:"minecraft:model",model:"minecraft:block/acacia_fence_inventory"}},acacia_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/acacia_fence_gate"}},acacia_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/acacia_hanging_sign"}},acacia_leaves:{model:{type:"minecraft:model",model:"minecraft:block/acacia_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},acacia_log:{model:{type:"minecraft:model",model:"minecraft:block/acacia_log"}},acacia_planks:{model:{type:"minecraft:model",model:"minecraft:block/acacia_planks"}},acacia_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/acacia_pressure_plate"}},acacia_sapling:{model:{type:"minecraft:model",model:"minecraft:item/acacia_sapling"}},acacia_sign:{model:{type:"minecraft:model",model:"minecraft:item/acacia_sign"}},acacia_slab:{model:{type:"minecraft:model",model:"minecraft:block/acacia_slab"}},acacia_stairs:{model:{type:"minecraft:model",model:"minecraft:block/acacia_stairs"}},acacia_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/acacia_trapdoor_bottom"}},acacia_wood:{model:{type:"minecraft:model",model:"minecraft:block/acacia_wood"}},activator_rail:{model:{type:"minecraft:model",model:"minecraft:item/activator_rail"}},air:{model:{type:"minecraft:model",model:"minecraft:item/air"}},allay_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/allay_spawn_egg"}},allium:{model:{type:"minecraft:model",model:"minecraft:item/allium"}},amethyst_block:{model:{type:"minecraft:model",model:"minecraft:block/amethyst_block"}},amethyst_cluster:{model:{type:"minecraft:model",model:"minecraft:item/amethyst_cluster"}},amethyst_shard:{model:{type:"minecraft:model",model:"minecraft:item/amethyst_shard"}},ancient_debris:{model:{type:"minecraft:model",model:"minecraft:block/ancient_debris"}},andesite:{model:{type:"minecraft:model",model:"minecraft:block/andesite"}},andesite_slab:{model:{type:"minecraft:model",model:"minecraft:block/andesite_slab"}},andesite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/andesite_stairs"}},andesite_wall:{model:{type:"minecraft:model",model:"minecraft:block/andesite_wall_inventory"}},angler_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/angler_pottery_sherd"}},anvil:{model:{type:"minecraft:model",model:"minecraft:block/anvil"}},apple:{model:{type:"minecraft:model",model:"minecraft:item/apple"}},archer_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/archer_pottery_sherd"}},armadillo_scute:{model:{type:"minecraft:model",model:"minecraft:item/armadillo_scute"}},armadillo_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/armadillo_spawn_egg"}},armor_stand:{model:{type:"minecraft:model",model:"minecraft:item/armor_stand"}},arms_up_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/arms_up_pottery_sherd"}},arrow:{model:{type:"minecraft:model",model:"minecraft:item/arrow"}},axolotl_bucket:{model:{type:"minecraft:model",model:"minecraft:item/axolotl_bucket"}},axolotl_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/axolotl_spawn_egg"}},azalea:{model:{type:"minecraft:model",model:"minecraft:block/azalea"}},azalea_leaves:{model:{type:"minecraft:model",model:"minecraft:block/azalea_leaves"}},azure_bluet:{model:{type:"minecraft:model",model:"minecraft:item/azure_bluet"}},baked_potato:{model:{type:"minecraft:model",model:"minecraft:item/baked_potato"}},bamboo:{model:{type:"minecraft:model",model:"minecraft:item/bamboo"}},bamboo_block:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_block"}},bamboo_button:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_button_inventory"}},bamboo_chest_raft:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_chest_raft"}},bamboo_door:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_door"}},bamboo_fence:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_fence_inventory"}},bamboo_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_fence_gate"}},bamboo_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_hanging_sign"}},bamboo_mosaic:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_mosaic"}},bamboo_mosaic_slab:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_mosaic_slab"}},bamboo_mosaic_stairs:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_mosaic_stairs"}},bamboo_planks:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_planks"}},bamboo_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_pressure_plate"}},bamboo_raft:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_raft"}},bamboo_sign:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_sign"}},bamboo_slab:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_slab"}},bamboo_stairs:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_stairs"}},bamboo_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_trapdoor_bottom"}},barrel:{model:{type:"minecraft:model",model:"minecraft:block/barrel"}},barrier:{model:{type:"minecraft:model",model:"minecraft:item/barrier"}},basalt:{model:{type:"minecraft:model",model:"minecraft:block/basalt"}},bat_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/bat_spawn_egg"}},beacon:{model:{type:"minecraft:model",model:"minecraft:block/beacon"}},bedrock:{model:{type:"minecraft:model",model:"minecraft:block/bedrock"}},bee_nest:{model:{type:"minecraft:select",block_state_property:"honey_level",cases:[{model:{type:"minecraft:model",model:"minecraft:block/bee_nest_honey"},when:"5"}],fallback:{type:"minecraft:model",model:"minecraft:block/bee_nest_empty"},property:"minecraft:block_state"}},bee_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/bee_spawn_egg"}},beef:{model:{type:"minecraft:model",model:"minecraft:item/beef"}},beehive:{model:{type:"minecraft:select",block_state_property:"honey_level",cases:[{model:{type:"minecraft:model",model:"minecraft:block/beehive_honey"},when:"5"}],fallback:{type:"minecraft:model",model:"minecraft:block/beehive_empty"},property:"minecraft:block_state"}},beetroot:{model:{type:"minecraft:model",model:"minecraft:item/beetroot"}},beetroot_seeds:{model:{type:"minecraft:model",model:"minecraft:item/beetroot_seeds"}},beetroot_soup:{model:{type:"minecraft:model",model:"minecraft:item/beetroot_soup"}},bell:{model:{type:"minecraft:model",model:"minecraft:item/bell"}},big_dripleaf:{model:{type:"minecraft:model",model:"minecraft:item/big_dripleaf"}},birch_boat:{model:{type:"minecraft:model",model:"minecraft:item/birch_boat"}},birch_button:{model:{type:"minecraft:model",model:"minecraft:block/birch_button_inventory"}},birch_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/birch_chest_boat"}},birch_door:{model:{type:"minecraft:model",model:"minecraft:item/birch_door"}},birch_fence:{model:{type:"minecraft:model",model:"minecraft:block/birch_fence_inventory"}},birch_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/birch_fence_gate"}},birch_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/birch_hanging_sign"}},birch_leaves:{model:{type:"minecraft:model",model:"minecraft:block/birch_leaves",tints:[{type:"minecraft:constant",value:-8345771}]}},birch_log:{model:{type:"minecraft:model",model:"minecraft:block/birch_log"}},birch_planks:{model:{type:"minecraft:model",model:"minecraft:block/birch_planks"}},birch_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/birch_pressure_plate"}},birch_sapling:{model:{type:"minecraft:model",model:"minecraft:item/birch_sapling"}},birch_sign:{model:{type:"minecraft:model",model:"minecraft:item/birch_sign"}},birch_slab:{model:{type:"minecraft:model",model:"minecraft:block/birch_slab"}},birch_stairs:{model:{type:"minecraft:model",model:"minecraft:block/birch_stairs"}},birch_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/birch_trapdoor_bottom"}},birch_wood:{model:{type:"minecraft:model",model:"minecraft:block/birch_wood"}},black_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"black"}}},black_bed:{model:{type:"minecraft:special",base:"minecraft:item/black_bed",model:{type:"minecraft:bed",texture:"minecraft:black"}}},black_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/black_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/black_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/black_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/black_bundle"},property:"minecraft:display_context"}},black_candle:{model:{type:"minecraft:model",model:"minecraft:item/black_candle"}},black_carpet:{model:{type:"minecraft:model",model:"minecraft:block/black_carpet"}},black_concrete:{model:{type:"minecraft:model",model:"minecraft:block/black_concrete"}},black_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/black_concrete_powder"}},black_dye:{model:{type:"minecraft:model",model:"minecraft:item/black_dye"}},black_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/black_glazed_terracotta"}},black_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/black_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_black"}}},black_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/black_stained_glass"}},black_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/black_stained_glass_pane"}},black_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/black_terracotta"}},black_wool:{model:{type:"minecraft:model",model:"minecraft:block/black_wool"}},blackstone:{model:{type:"minecraft:model",model:"minecraft:block/blackstone"}},blackstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/blackstone_slab"}},blackstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/blackstone_stairs"}},blackstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/blackstone_wall_inventory"}},blade_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/blade_pottery_sherd"}},blast_furnace:{model:{type:"minecraft:model",model:"minecraft:block/blast_furnace"}},blaze_powder:{model:{type:"minecraft:model",model:"minecraft:item/blaze_powder"}},blaze_rod:{model:{type:"minecraft:model",model:"minecraft:item/blaze_rod"}},blaze_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/blaze_spawn_egg"}},blue_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"blue"}}},blue_bed:{model:{type:"minecraft:special",base:"minecraft:item/blue_bed",model:{type:"minecraft:bed",texture:"minecraft:blue"}}},blue_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/blue_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/blue_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/blue_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/blue_bundle"},property:"minecraft:display_context"}},blue_candle:{model:{type:"minecraft:model",model:"minecraft:item/blue_candle"}},blue_carpet:{model:{type:"minecraft:model",model:"minecraft:block/blue_carpet"}},blue_concrete:{model:{type:"minecraft:model",model:"minecraft:block/blue_concrete"}},blue_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/blue_concrete_powder"}},blue_dye:{model:{type:"minecraft:model",model:"minecraft:item/blue_dye"}},blue_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/blue_glazed_terracotta"}},blue_ice:{model:{type:"minecraft:model",model:"minecraft:block/blue_ice"}},blue_orchid:{model:{type:"minecraft:model",model:"minecraft:item/blue_orchid"}},blue_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/blue_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_blue"}}},blue_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/blue_stained_glass"}},blue_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/blue_stained_glass_pane"}},blue_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/blue_terracotta"}},blue_wool:{model:{type:"minecraft:model",model:"minecraft:block/blue_wool"}},bogged_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/bogged_spawn_egg"}},bolt_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/bolt_armor_trim_smithing_template"}},bone:{model:{type:"minecraft:model",model:"minecraft:item/bone"}},bone_block:{model:{type:"minecraft:model",model:"minecraft:block/bone_block"}},bone_meal:{model:{type:"minecraft:model",model:"minecraft:item/bone_meal"}},book:{model:{type:"minecraft:model",model:"minecraft:item/book"}},bookshelf:{model:{type:"minecraft:model",model:"minecraft:block/bookshelf"}},bordure_indented_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/bordure_indented_banner_pattern"}},bow:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/bow"},on_true:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/bow_pulling_1"},threshold:.65},{model:{type:"minecraft:model",model:"minecraft:item/bow_pulling_2"},threshold:.9}],fallback:{type:"minecraft:model",model:"minecraft:item/bow_pulling_0"},property:"minecraft:use_duration",scale:.05},property:"minecraft:using_item"}},bowl:{model:{type:"minecraft:model",model:"minecraft:item/bowl"}},brain_coral:{model:{type:"minecraft:model",model:"minecraft:item/brain_coral"}},brain_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/brain_coral_block"}},brain_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/brain_coral_fan"}},bread:{model:{type:"minecraft:model",model:"minecraft:item/bread"}},breeze_rod:{model:{type:"minecraft:model",model:"minecraft:item/breeze_rod"}},breeze_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/breeze_spawn_egg"}},brewer_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/brewer_pottery_sherd"}},brewing_stand:{model:{type:"minecraft:model",model:"minecraft:item/brewing_stand"}},brick:{model:{type:"minecraft:model",model:"minecraft:item/brick"}},brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/brick_slab"}},brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/brick_stairs"}},brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/brick_wall_inventory"}},bricks:{model:{type:"minecraft:model",model:"minecraft:block/bricks"}},brown_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"brown"}}},brown_bed:{model:{type:"minecraft:special",base:"minecraft:item/brown_bed",model:{type:"minecraft:bed",texture:"minecraft:brown"}}},brown_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/brown_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/brown_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/brown_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/brown_bundle"},property:"minecraft:display_context"}},brown_candle:{model:{type:"minecraft:model",model:"minecraft:item/brown_candle"}},brown_carpet:{model:{type:"minecraft:model",model:"minecraft:block/brown_carpet"}},brown_concrete:{model:{type:"minecraft:model",model:"minecraft:block/brown_concrete"}},brown_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/brown_concrete_powder"}},brown_dye:{model:{type:"minecraft:model",model:"minecraft:item/brown_dye"}},brown_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/brown_glazed_terracotta"}},brown_mushroom:{model:{type:"minecraft:model",model:"minecraft:item/brown_mushroom"}},brown_mushroom_block:{model:{type:"minecraft:model",model:"minecraft:block/brown_mushroom_block_inventory"}},brown_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/brown_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_brown"}}},brown_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/brown_stained_glass"}},brown_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/brown_stained_glass_pane"}},brown_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/brown_terracotta"}},brown_wool:{model:{type:"minecraft:model",model:"minecraft:block/brown_wool"}},brush:{model:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/brush_brushing_0"},threshold:.25},{model:{type:"minecraft:model",model:"minecraft:item/brush_brushing_1"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/brush_brushing_2"},threshold:.75}],fallback:{type:"minecraft:model",model:"minecraft:item/brush"},period:10,property:"minecraft:use_cycle",scale:.1}},bubble_coral:{model:{type:"minecraft:model",model:"minecraft:item/bubble_coral"}},bubble_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/bubble_coral_block"}},bubble_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/bubble_coral_fan"}},bucket:{model:{type:"minecraft:model",model:"minecraft:item/bucket"}},budding_amethyst:{model:{type:"minecraft:model",model:"minecraft:block/budding_amethyst"}},bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/bundle"},property:"minecraft:display_context"}},burn_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/burn_pottery_sherd"}},cactus:{model:{type:"minecraft:model",model:"minecraft:block/cactus"}},cake:{model:{type:"minecraft:model",model:"minecraft:item/cake"}},calcite:{model:{type:"minecraft:model",model:"minecraft:block/calcite"}},calibrated_sculk_sensor:{model:{type:"minecraft:model",model:"minecraft:block/calibrated_sculk_sensor_inactive"}},camel_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/camel_spawn_egg"}},campfire:{model:{type:"minecraft:model",model:"minecraft:item/campfire"}},candle:{model:{type:"minecraft:model",model:"minecraft:item/candle"}},carrot:{model:{type:"minecraft:model",model:"minecraft:item/carrot"}},carrot_on_a_stick:{model:{type:"minecraft:model",model:"minecraft:item/carrot_on_a_stick"}},cartography_table:{model:{type:"minecraft:model",model:"minecraft:block/cartography_table"}},carved_pumpkin:{model:{type:"minecraft:model",model:"minecraft:block/carved_pumpkin"}},cat_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cat_spawn_egg"}},cauldron:{model:{type:"minecraft:model",model:"minecraft:item/cauldron"}},cave_spider_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cave_spider_spawn_egg"}},chain:{model:{type:"minecraft:model",model:"minecraft:item/chain"}},chain_command_block:{model:{type:"minecraft:model",model:"minecraft:block/chain_command_block"}},chainmail_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_boots"},property:"minecraft:trim_material"}},chainmail_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate"},property:"minecraft:trim_material"}},chainmail_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet"},property:"minecraft:trim_material"}},chainmail_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings"},property:"minecraft:trim_material"}},charcoal:{model:{type:"minecraft:model",model:"minecraft:item/charcoal"}},cherry_boat:{model:{type:"minecraft:model",model:"minecraft:item/cherry_boat"}},cherry_button:{model:{type:"minecraft:model",model:"minecraft:block/cherry_button_inventory"}},cherry_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/cherry_chest_boat"}},cherry_door:{model:{type:"minecraft:model",model:"minecraft:item/cherry_door"}},cherry_fence:{model:{type:"minecraft:model",model:"minecraft:block/cherry_fence_inventory"}},cherry_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/cherry_fence_gate"}},cherry_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/cherry_hanging_sign"}},cherry_leaves:{model:{type:"minecraft:model",model:"minecraft:block/cherry_leaves"}},cherry_log:{model:{type:"minecraft:model",model:"minecraft:block/cherry_log"}},cherry_planks:{model:{type:"minecraft:model",model:"minecraft:block/cherry_planks"}},cherry_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/cherry_pressure_plate"}},cherry_sapling:{model:{type:"minecraft:model",model:"minecraft:item/cherry_sapling"}},cherry_sign:{model:{type:"minecraft:model",model:"minecraft:item/cherry_sign"}},cherry_slab:{model:{type:"minecraft:model",model:"minecraft:block/cherry_slab"}},cherry_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cherry_stairs"}},cherry_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/cherry_trapdoor_bottom"}},cherry_wood:{model:{type:"minecraft:model",model:"minecraft:block/cherry_wood"}},chest:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:special",base:"minecraft:item/chest",model:{type:"minecraft:chest",texture:"minecraft:christmas"}},when:["12-24","12-25","12-26"]}],fallback:{type:"minecraft:special",base:"minecraft:item/chest",model:{type:"minecraft:chest",texture:"minecraft:normal"}},pattern:"MM-dd",property:"minecraft:local_time"}},chest_minecart:{model:{type:"minecraft:model",model:"minecraft:item/chest_minecart"}},chicken:{model:{type:"minecraft:model",model:"minecraft:item/chicken"}},chicken_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/chicken_spawn_egg"}},chipped_anvil:{model:{type:"minecraft:model",model:"minecraft:block/chipped_anvil"}},chiseled_bookshelf:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_bookshelf_inventory"}},chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_copper"}},chiseled_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_deepslate"}},chiseled_nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_nether_bricks"}},chiseled_polished_blackstone:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_polished_blackstone"}},chiseled_quartz_block:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_quartz_block"}},chiseled_red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_red_sandstone"}},chiseled_resin_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_resin_bricks"}},chiseled_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_sandstone"}},chiseled_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_stone_bricks"}},chiseled_tuff:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_tuff"}},chiseled_tuff_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_tuff_bricks"}},chorus_flower:{model:{type:"minecraft:model",model:"minecraft:block/chorus_flower"}},chorus_fruit:{model:{type:"minecraft:model",model:"minecraft:item/chorus_fruit"}},chorus_plant:{model:{type:"minecraft:model",model:"minecraft:block/chorus_plant"}},clay:{model:{type:"minecraft:model",model:"minecraft:block/clay"}},clay_ball:{model:{type:"minecraft:model",model:"minecraft:item/clay_ball"}},clock:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/clock_01"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_02"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_03"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_04"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_05"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_06"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_07"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_08"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_09"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_10"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_11"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_12"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_13"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_14"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_15"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_16"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_17"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_18"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_19"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_20"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_21"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_22"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_23"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_24"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_25"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_26"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_27"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_28"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_29"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_30"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_31"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_32"},threshold:31.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_33"},threshold:32.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_34"},threshold:33.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_35"},threshold:34.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_36"},threshold:35.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_37"},threshold:36.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_38"},threshold:37.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_39"},threshold:38.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_40"},threshold:39.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_41"},threshold:40.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_42"},threshold:41.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_43"},threshold:42.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_44"},threshold:43.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_45"},threshold:44.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_46"},threshold:45.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_47"},threshold:46.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_48"},threshold:47.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_49"},threshold:48.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_50"},threshold:49.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_51"},threshold:50.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_52"},threshold:51.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_53"},threshold:52.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_54"},threshold:53.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_55"},threshold:54.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_56"},threshold:55.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_57"},threshold:56.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_58"},threshold:57.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_59"},threshold:58.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_60"},threshold:59.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_61"},threshold:60.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_62"},threshold:61.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_63"},threshold:62.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:63.5}],property:"minecraft:time",scale:64,source:"daytime"},when:"minecraft:overworld"}],fallback:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/clock_01"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_02"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_03"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_04"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_05"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_06"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_07"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_08"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_09"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_10"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_11"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_12"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_13"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_14"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_15"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_16"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_17"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_18"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_19"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_20"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_21"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_22"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_23"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_24"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_25"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_26"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_27"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_28"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_29"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_30"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_31"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_32"},threshold:31.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_33"},threshold:32.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_34"},threshold:33.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_35"},threshold:34.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_36"},threshold:35.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_37"},threshold:36.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_38"},threshold:37.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_39"},threshold:38.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_40"},threshold:39.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_41"},threshold:40.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_42"},threshold:41.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_43"},threshold:42.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_44"},threshold:43.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_45"},threshold:44.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_46"},threshold:45.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_47"},threshold:46.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_48"},threshold:47.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_49"},threshold:48.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_50"},threshold:49.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_51"},threshold:50.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_52"},threshold:51.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_53"},threshold:52.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_54"},threshold:53.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_55"},threshold:54.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_56"},threshold:55.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_57"},threshold:56.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_58"},threshold:57.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_59"},threshold:58.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_60"},threshold:59.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_61"},threshold:60.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_62"},threshold:61.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_63"},threshold:62.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:63.5}],property:"minecraft:time",scale:64,source:"random"},property:"minecraft:context_dimension"}},closed_eyeblossom:{model:{type:"minecraft:model",model:"minecraft:item/closed_eyeblossom"}},coal:{model:{type:"minecraft:model",model:"minecraft:item/coal"}},coal_block:{model:{type:"minecraft:model",model:"minecraft:block/coal_block"}},coal_ore:{model:{type:"minecraft:model",model:"minecraft:block/coal_ore"}},coarse_dirt:{model:{type:"minecraft:model",model:"minecraft:block/coarse_dirt"}},coast_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/coast_armor_trim_smithing_template"}},cobbled_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate"}},cobbled_deepslate_slab:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate_slab"}},cobbled_deepslate_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate_stairs"}},cobbled_deepslate_wall:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate_wall_inventory"}},cobblestone:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone"}},cobblestone_slab:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone_slab"}},cobblestone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone_stairs"}},cobblestone_wall:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone_wall_inventory"}},cobweb:{model:{type:"minecraft:model",model:"minecraft:item/cobweb"}},cocoa_beans:{model:{type:"minecraft:model",model:"minecraft:item/cocoa_beans"}},cod:{model:{type:"minecraft:model",model:"minecraft:item/cod"}},cod_bucket:{model:{type:"minecraft:model",model:"minecraft:item/cod_bucket"}},cod_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cod_spawn_egg"}},command_block:{model:{type:"minecraft:model",model:"minecraft:block/command_block"}},command_block_minecart:{model:{type:"minecraft:model",model:"minecraft:item/command_block_minecart"}},comparator:{model:{type:"minecraft:model",model:"minecraft:item/comparator"}},compass:{model:{type:"minecraft:condition",component:"minecraft:lodestone_tracker",on_false:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/compass_17"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_18"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_19"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_20"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_21"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_22"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_23"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_24"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_25"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_26"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_27"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_28"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_29"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_30"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_31"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_00"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_01"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_02"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_03"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_04"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_05"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_06"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_07"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_08"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_09"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_10"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_11"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_12"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_13"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_14"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_15"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:31.5}],property:"minecraft:compass",scale:32,target:"spawn"},on_true:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/compass_17"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_18"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_19"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_20"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_21"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_22"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_23"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_24"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_25"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_26"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_27"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_28"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_29"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_30"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_31"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_00"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_01"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_02"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_03"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_04"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_05"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_06"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_07"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_08"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_09"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_10"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_11"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_12"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_13"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_14"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_15"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:31.5}],property:"minecraft:compass",scale:32,target:"lodestone"},property:"minecraft:has_component"}},composter:{model:{type:"minecraft:model",model:"minecraft:block/composter"}},conduit:{model:{type:"minecraft:special",base:"minecraft:item/conduit",model:{type:"minecraft:conduit"}}},cooked_beef:{model:{type:"minecraft:model",model:"minecraft:item/cooked_beef"}},cooked_chicken:{model:{type:"minecraft:model",model:"minecraft:item/cooked_chicken"}},cooked_cod:{model:{type:"minecraft:model",model:"minecraft:item/cooked_cod"}},cooked_mutton:{model:{type:"minecraft:model",model:"minecraft:item/cooked_mutton"}},cooked_porkchop:{model:{type:"minecraft:model",model:"minecraft:item/cooked_porkchop"}},cooked_rabbit:{model:{type:"minecraft:model",model:"minecraft:item/cooked_rabbit"}},cooked_salmon:{model:{type:"minecraft:model",model:"minecraft:item/cooked_salmon"}},cookie:{model:{type:"minecraft:model",model:"minecraft:item/cookie"}},copper_block:{model:{type:"minecraft:model",model:"minecraft:block/copper_block"}},copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/copper_bulb"}},copper_door:{model:{type:"minecraft:model",model:"minecraft:item/copper_door"}},copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/copper_grate"}},copper_ingot:{model:{type:"minecraft:model",model:"minecraft:item/copper_ingot"}},copper_ore:{model:{type:"minecraft:model",model:"minecraft:block/copper_ore"}},copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/copper_trapdoor_bottom"}},cornflower:{model:{type:"minecraft:model",model:"minecraft:item/cornflower"}},cow_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cow_spawn_egg"}},cracked_deepslate_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_deepslate_bricks"}},cracked_deepslate_tiles:{model:{type:"minecraft:model",model:"minecraft:block/cracked_deepslate_tiles"}},cracked_nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_nether_bricks"}},cracked_polished_blackstone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_polished_blackstone_bricks"}},cracked_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_stone_bricks"}},crafter:{model:{type:"minecraft:model",model:"minecraft:block/crafter"}},crafting_table:{model:{type:"minecraft:model",model:"minecraft:block/crafting_table"}},creaking_heart:{model:{type:"minecraft:model",model:"minecraft:block/creaking_heart"}},creaking_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/creaking_spawn_egg"}},creeper_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/creeper_banner_pattern"}},creeper_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"creeper"}}},creeper_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/creeper_spawn_egg"}},crimson_button:{model:{type:"minecraft:model",model:"minecraft:block/crimson_button_inventory"}},crimson_door:{model:{type:"minecraft:model",model:"minecraft:item/crimson_door"}},crimson_fence:{model:{type:"minecraft:model",model:"minecraft:block/crimson_fence_inventory"}},crimson_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/crimson_fence_gate"}},crimson_fungus:{model:{type:"minecraft:model",model:"minecraft:item/crimson_fungus"}},crimson_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/crimson_hanging_sign"}},crimson_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/crimson_hyphae"}},crimson_nylium:{model:{type:"minecraft:model",model:"minecraft:block/crimson_nylium"}},crimson_planks:{model:{type:"minecraft:model",model:"minecraft:block/crimson_planks"}},crimson_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/crimson_pressure_plate"}},crimson_roots:{model:{type:"minecraft:model",model:"minecraft:item/crimson_roots"}},crimson_sign:{model:{type:"minecraft:model",model:"minecraft:item/crimson_sign"}},crimson_slab:{model:{type:"minecraft:model",model:"minecraft:block/crimson_slab"}},crimson_stairs:{model:{type:"minecraft:model",model:"minecraft:block/crimson_stairs"}},crimson_stem:{model:{type:"minecraft:model",model:"minecraft:block/crimson_stem"}},crimson_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/crimson_trapdoor_bottom"}},crossbow:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/crossbow_arrow"},when:"arrow"},{model:{type:"minecraft:model",model:"minecraft:item/crossbow_firework"},when:"rocket"}],fallback:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/crossbow"},on_true:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/crossbow_pulling_1"},threshold:.58},{model:{type:"minecraft:model",model:"minecraft:item/crossbow_pulling_2"},threshold:1}],fallback:{type:"minecraft:model",model:"minecraft:item/crossbow_pulling_0"},property:"minecraft:crossbow/pull"},property:"minecraft:using_item"},property:"minecraft:charge_type"}},crying_obsidian:{model:{type:"minecraft:model",model:"minecraft:block/crying_obsidian"}},cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper"}},cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_slab"}},cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_stairs"}},cut_red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/cut_red_sandstone"}},cut_red_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_red_sandstone_slab"}},cut_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/cut_sandstone"}},cut_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_sandstone_slab"}},cyan_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"cyan"}}},cyan_bed:{model:{type:"minecraft:special",base:"minecraft:item/cyan_bed",model:{type:"minecraft:bed",texture:"minecraft:cyan"}}},cyan_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/cyan_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/cyan_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/cyan_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/cyan_bundle"},property:"minecraft:display_context"}},cyan_candle:{model:{type:"minecraft:model",model:"minecraft:item/cyan_candle"}},cyan_carpet:{model:{type:"minecraft:model",model:"minecraft:block/cyan_carpet"}},cyan_concrete:{model:{type:"minecraft:model",model:"minecraft:block/cyan_concrete"}},cyan_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/cyan_concrete_powder"}},cyan_dye:{model:{type:"minecraft:model",model:"minecraft:item/cyan_dye"}},cyan_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/cyan_glazed_terracotta"}},cyan_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/cyan_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_cyan"}}},cyan_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/cyan_stained_glass"}},cyan_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/cyan_stained_glass_pane"}},cyan_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/cyan_terracotta"}},cyan_wool:{model:{type:"minecraft:model",model:"minecraft:block/cyan_wool"}},damaged_anvil:{model:{type:"minecraft:model",model:"minecraft:block/damaged_anvil"}},dandelion:{model:{type:"minecraft:model",model:"minecraft:item/dandelion"}},danger_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/danger_pottery_sherd"}},dark_oak_boat:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_boat"}},dark_oak_button:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_button_inventory"}},dark_oak_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_chest_boat"}},dark_oak_door:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_door"}},dark_oak_fence:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_fence_inventory"}},dark_oak_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_fence_gate"}},dark_oak_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_hanging_sign"}},dark_oak_leaves:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},dark_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_log"}},dark_oak_planks:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_planks"}},dark_oak_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_pressure_plate"}},dark_oak_sapling:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_sapling"}},dark_oak_sign:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_sign"}},dark_oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_slab"}},dark_oak_stairs:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_stairs"}},dark_oak_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_trapdoor_bottom"}},dark_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_wood"}},dark_prismarine:{model:{type:"minecraft:model",model:"minecraft:block/dark_prismarine"}},dark_prismarine_slab:{model:{type:"minecraft:model",model:"minecraft:block/dark_prismarine_slab"}},dark_prismarine_stairs:{model:{type:"minecraft:model",model:"minecraft:block/dark_prismarine_stairs"}},daylight_detector:{model:{type:"minecraft:model",model:"minecraft:block/daylight_detector"}},dead_brain_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_brain_coral"}},dead_brain_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_brain_coral_block"}},dead_brain_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_brain_coral_fan"}},dead_bubble_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_bubble_coral"}},dead_bubble_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_bubble_coral_block"}},dead_bubble_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_bubble_coral_fan"}},dead_bush:{model:{type:"minecraft:model",model:"minecraft:item/dead_bush"}},dead_fire_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_fire_coral"}},dead_fire_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_fire_coral_block"}},dead_fire_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_fire_coral_fan"}},dead_horn_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_horn_coral"}},dead_horn_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_horn_coral_block"}},dead_horn_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_horn_coral_fan"}},dead_tube_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_tube_coral"}},dead_tube_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_tube_coral_block"}},dead_tube_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_tube_coral_fan"}},debug_stick:{model:{type:"minecraft:model",model:"minecraft:item/debug_stick"}},decorated_pot:{model:{type:"minecraft:special",base:"minecraft:item/decorated_pot",model:{type:"minecraft:decorated_pot"}}},deepslate:{model:{type:"minecraft:model",model:"minecraft:block/deepslate"}},deepslate_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_brick_slab"}},deepslate_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_brick_stairs"}},deepslate_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_brick_wall_inventory"}},deepslate_bricks:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_bricks"}},deepslate_coal_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_coal_ore"}},deepslate_copper_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_copper_ore"}},deepslate_diamond_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_diamond_ore"}},deepslate_emerald_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_emerald_ore"}},deepslate_gold_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_gold_ore"}},deepslate_iron_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_iron_ore"}},deepslate_lapis_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_lapis_ore"}},deepslate_redstone_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_redstone_ore"}},deepslate_tile_slab:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tile_slab"}},deepslate_tile_stairs:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tile_stairs"}},deepslate_tile_wall:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tile_wall_inventory"}},deepslate_tiles:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tiles"}},detector_rail:{model:{type:"minecraft:model",model:"minecraft:item/detector_rail"}},diamond:{model:{type:"minecraft:model",model:"minecraft:item/diamond"}},diamond_axe:{model:{type:"minecraft:model",model:"minecraft:item/diamond_axe"}},diamond_block:{model:{type:"minecraft:model",model:"minecraft:block/diamond_block"}},diamond_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_boots"},property:"minecraft:trim_material"}},diamond_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate"},property:"minecraft:trim_material"}},diamond_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_helmet"},property:"minecraft:trim_material"}},diamond_hoe:{model:{type:"minecraft:model",model:"minecraft:item/diamond_hoe"}},diamond_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/diamond_horse_armor"}},diamond_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_leggings"},property:"minecraft:trim_material"}},diamond_ore:{model:{type:"minecraft:model",model:"minecraft:block/diamond_ore"}},diamond_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/diamond_pickaxe"}},diamond_shovel:{model:{type:"minecraft:model",model:"minecraft:item/diamond_shovel"}},diamond_sword:{model:{type:"minecraft:model",model:"minecraft:item/diamond_sword"}},diorite:{model:{type:"minecraft:model",model:"minecraft:block/diorite"}},diorite_slab:{model:{type:"minecraft:model",model:"minecraft:block/diorite_slab"}},diorite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/diorite_stairs"}},diorite_wall:{model:{type:"minecraft:model",model:"minecraft:block/diorite_wall_inventory"}},dirt:{model:{type:"minecraft:model",model:"minecraft:block/dirt"}},dirt_path:{model:{type:"minecraft:model",model:"minecraft:block/dirt_path"}},disc_fragment_5:{model:{type:"minecraft:model",model:"minecraft:item/disc_fragment_5"}},dispenser:{model:{type:"minecraft:model",model:"minecraft:block/dispenser"}},dolphin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/dolphin_spawn_egg"}},donkey_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/donkey_spawn_egg"}},dragon_breath:{model:{type:"minecraft:model",model:"minecraft:item/dragon_breath"}},dragon_egg:{model:{type:"minecraft:model",model:"minecraft:block/dragon_egg"}},dragon_head:{model:{type:"minecraft:special",base:"minecraft:item/dragon_head",model:{type:"minecraft:head",kind:"dragon"}}},dried_kelp:{model:{type:"minecraft:model",model:"minecraft:item/dried_kelp"}},dried_kelp_block:{model:{type:"minecraft:model",model:"minecraft:block/dried_kelp_block"}},dripstone_block:{model:{type:"minecraft:model",model:"minecraft:block/dripstone_block"}},dropper:{model:{type:"minecraft:model",model:"minecraft:block/dropper"}},drowned_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/drowned_spawn_egg"}},dune_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/dune_armor_trim_smithing_template"}},echo_shard:{model:{type:"minecraft:model",model:"minecraft:item/echo_shard"}},egg:{model:{type:"minecraft:model",model:"minecraft:item/egg"}},elder_guardian_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/elder_guardian_spawn_egg"}},elytra:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/elytra"},on_true:{type:"minecraft:model",model:"minecraft:item/elytra_broken"},property:"minecraft:broken"}},emerald:{model:{type:"minecraft:model",model:"minecraft:item/emerald"}},emerald_block:{model:{type:"minecraft:model",model:"minecraft:block/emerald_block"}},emerald_ore:{model:{type:"minecraft:model",model:"minecraft:block/emerald_ore"}},enchanted_book:{model:{type:"minecraft:model",model:"minecraft:item/enchanted_book"}},enchanted_golden_apple:{model:{type:"minecraft:model",model:"minecraft:item/enchanted_golden_apple"}},enchanting_table:{model:{type:"minecraft:model",model:"minecraft:block/enchanting_table"}},end_crystal:{model:{type:"minecraft:model",model:"minecraft:item/end_crystal"}},end_portal_frame:{model:{type:"minecraft:model",model:"minecraft:block/end_portal_frame"}},end_rod:{model:{type:"minecraft:model",model:"minecraft:block/end_rod"}},end_stone:{model:{type:"minecraft:model",model:"minecraft:block/end_stone"}},end_stone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_brick_slab"}},end_stone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_brick_stairs"}},end_stone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_brick_wall_inventory"}},end_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_bricks"}},ender_chest:{model:{type:"minecraft:special",base:"minecraft:item/ender_chest",model:{type:"minecraft:chest",texture:"minecraft:ender"}}},ender_dragon_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ender_dragon_spawn_egg"}},ender_eye:{model:{type:"minecraft:model",model:"minecraft:item/ender_eye"}},ender_pearl:{model:{type:"minecraft:model",model:"minecraft:item/ender_pearl"}},enderman_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/enderman_spawn_egg"}},endermite_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/endermite_spawn_egg"}},evoker_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/evoker_spawn_egg"}},experience_bottle:{model:{type:"minecraft:model",model:"minecraft:item/experience_bottle"}},explorer_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/explorer_pottery_sherd"}},exposed_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_chiseled_copper"}},exposed_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper"}},exposed_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_bulb"}},exposed_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_door"}},exposed_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_grate"}},exposed_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_trapdoor_bottom"}},exposed_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper"}},exposed_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_slab"}},exposed_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_stairs"}},eye_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/eye_armor_trim_smithing_template"}},farmland:{model:{type:"minecraft:model",model:"minecraft:block/farmland"}},feather:{model:{type:"minecraft:model",model:"minecraft:item/feather"}},fermented_spider_eye:{model:{type:"minecraft:model",model:"minecraft:item/fermented_spider_eye"}},fern:{model:{type:"minecraft:model",model:"minecraft:item/fern",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},field_masoned_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/field_masoned_banner_pattern"}},filled_map:{model:{type:"minecraft:model",model:"minecraft:item/filled_map",tints:[{type:"minecraft:constant",value:-1},{type:"minecraft:map_color",default:4603950}]}},fire_charge:{model:{type:"minecraft:model",model:"minecraft:item/fire_charge"}},fire_coral:{model:{type:"minecraft:model",model:"minecraft:item/fire_coral"}},fire_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/fire_coral_block"}},fire_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/fire_coral_fan"}},firework_rocket:{model:{type:"minecraft:model",model:"minecraft:item/firework_rocket"}},firework_star:{model:{type:"minecraft:model",model:"minecraft:item/firework_star",tints:[{type:"minecraft:constant",value:-1},{type:"minecraft:firework",default:-7697782}]}},fishing_rod:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/fishing_rod"},on_true:{type:"minecraft:model",model:"minecraft:item/fishing_rod_cast"},property:"minecraft:fishing_rod/cast"}},fletching_table:{model:{type:"minecraft:model",model:"minecraft:block/fletching_table"}},flint:{model:{type:"minecraft:model",model:"minecraft:item/flint"}},flint_and_steel:{model:{type:"minecraft:model",model:"minecraft:item/flint_and_steel"}},flow_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/flow_armor_trim_smithing_template"}},flow_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/flow_banner_pattern"}},flow_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/flow_pottery_sherd"}},flower_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/flower_banner_pattern"}},flower_pot:{model:{type:"minecraft:model",model:"minecraft:item/flower_pot"}},flowering_azalea:{model:{type:"minecraft:model",model:"minecraft:block/flowering_azalea"}},flowering_azalea_leaves:{model:{type:"minecraft:model",model:"minecraft:block/flowering_azalea_leaves"}},fox_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/fox_spawn_egg"}},friend_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/friend_pottery_sherd"}},frog_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/frog_spawn_egg"}},frogspawn:{model:{type:"minecraft:model",model:"minecraft:item/frogspawn"}},furnace:{model:{type:"minecraft:model",model:"minecraft:block/furnace"}},furnace_minecart:{model:{type:"minecraft:model",model:"minecraft:item/furnace_minecart"}},ghast_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ghast_spawn_egg"}},ghast_tear:{model:{type:"minecraft:model",model:"minecraft:item/ghast_tear"}},gilded_blackstone:{model:{type:"minecraft:model",model:"minecraft:block/gilded_blackstone"}},glass:{model:{type:"minecraft:model",model:"minecraft:block/glass"}},glass_bottle:{model:{type:"minecraft:model",model:"minecraft:item/glass_bottle"}},glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/glass_pane"}},glistering_melon_slice:{model:{type:"minecraft:model",model:"minecraft:item/glistering_melon_slice"}},globe_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/globe_banner_pattern"}},glow_berries:{model:{type:"minecraft:model",model:"minecraft:item/glow_berries"}},glow_ink_sac:{model:{type:"minecraft:model",model:"minecraft:item/glow_ink_sac"}},glow_item_frame:{model:{type:"minecraft:model",model:"minecraft:item/glow_item_frame"}},glow_lichen:{model:{type:"minecraft:model",model:"minecraft:item/glow_lichen"}},glow_squid_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/glow_squid_spawn_egg"}},glowstone:{model:{type:"minecraft:model",model:"minecraft:block/glowstone"}},glowstone_dust:{model:{type:"minecraft:model",model:"minecraft:item/glowstone_dust"}},goat_horn:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/goat_horn"},on_true:{type:"minecraft:model",model:"minecraft:item/tooting_goat_horn"},property:"minecraft:using_item"}},goat_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/goat_spawn_egg"}},gold_block:{model:{type:"minecraft:model",model:"minecraft:block/gold_block"}},gold_ingot:{model:{type:"minecraft:model",model:"minecraft:item/gold_ingot"}},gold_nugget:{model:{type:"minecraft:model",model:"minecraft:item/gold_nugget"}},gold_ore:{model:{type:"minecraft:model",model:"minecraft:block/gold_ore"}},golden_apple:{model:{type:"minecraft:model",model:"minecraft:item/golden_apple"}},golden_axe:{model:{type:"minecraft:model",model:"minecraft:item/golden_axe"}},golden_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_boots"},property:"minecraft:trim_material"}},golden_carrot:{model:{type:"minecraft:model",model:"minecraft:item/golden_carrot"}},golden_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_chestplate"},property:"minecraft:trim_material"}},golden_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_helmet"},property:"minecraft:trim_material"}},golden_hoe:{model:{type:"minecraft:model",model:"minecraft:item/golden_hoe"}},golden_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/golden_horse_armor"}},golden_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_leggings"},property:"minecraft:trim_material"}},golden_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/golden_pickaxe"}},golden_shovel:{model:{type:"minecraft:model",model:"minecraft:item/golden_shovel"}},golden_sword:{model:{type:"minecraft:model",model:"minecraft:item/golden_sword"}},granite:{model:{type:"minecraft:model",model:"minecraft:block/granite"}},granite_slab:{model:{type:"minecraft:model",model:"minecraft:block/granite_slab"}},granite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/granite_stairs"}},granite_wall:{model:{type:"minecraft:model",model:"minecraft:block/granite_wall_inventory"}},grass_block:{model:{type:"minecraft:model",model:"minecraft:block/grass_block",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},gravel:{model:{type:"minecraft:model",model:"minecraft:block/gravel"}},gray_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"gray"}}},gray_bed:{model:{type:"minecraft:special",base:"minecraft:item/gray_bed",model:{type:"minecraft:bed",texture:"minecraft:gray"}}},gray_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/gray_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/gray_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/gray_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/gray_bundle"},property:"minecraft:display_context"}},gray_candle:{model:{type:"minecraft:model",model:"minecraft:item/gray_candle"}},gray_carpet:{model:{type:"minecraft:model",model:"minecraft:block/gray_carpet"}},gray_concrete:{model:{type:"minecraft:model",model:"minecraft:block/gray_concrete"}},gray_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/gray_concrete_powder"}},gray_dye:{model:{type:"minecraft:model",model:"minecraft:item/gray_dye"}},gray_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/gray_glazed_terracotta"}},gray_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/gray_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_gray"}}},gray_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/gray_stained_glass"}},gray_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/gray_stained_glass_pane"}},gray_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/gray_terracotta"}},gray_wool:{model:{type:"minecraft:model",model:"minecraft:block/gray_wool"}},green_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"green"}}},green_bed:{model:{type:"minecraft:special",base:"minecraft:item/green_bed",model:{type:"minecraft:bed",texture:"minecraft:green"}}},green_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/green_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/green_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/green_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/green_bundle"},property:"minecraft:display_context"}},green_candle:{model:{type:"minecraft:model",model:"minecraft:item/green_candle"}},green_carpet:{model:{type:"minecraft:model",model:"minecraft:block/green_carpet"}},green_concrete:{model:{type:"minecraft:model",model:"minecraft:block/green_concrete"}},green_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/green_concrete_powder"}},green_dye:{model:{type:"minecraft:model",model:"minecraft:item/green_dye"}},green_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/green_glazed_terracotta"}},green_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/green_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_green"}}},green_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/green_stained_glass"}},green_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/green_stained_glass_pane"}},green_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/green_terracotta"}},green_wool:{model:{type:"minecraft:model",model:"minecraft:block/green_wool"}},grindstone:{model:{type:"minecraft:model",model:"minecraft:block/grindstone"}},guardian_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/guardian_spawn_egg"}},gunpowder:{model:{type:"minecraft:model",model:"minecraft:item/gunpowder"}},guster_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/guster_banner_pattern"}},guster_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/guster_pottery_sherd"}},hanging_roots:{model:{type:"minecraft:model",model:"minecraft:item/hanging_roots"}},hay_block:{model:{type:"minecraft:model",model:"minecraft:block/hay_block"}},heart_of_the_sea:{model:{type:"minecraft:model",model:"minecraft:item/heart_of_the_sea"}},heart_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/heart_pottery_sherd"}},heartbreak_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/heartbreak_pottery_sherd"}},heavy_core:{model:{type:"minecraft:model",model:"minecraft:block/heavy_core"}},heavy_weighted_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/heavy_weighted_pressure_plate"}},hoglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/hoglin_spawn_egg"}},honey_block:{model:{type:"minecraft:model",model:"minecraft:block/honey_block"}},honey_bottle:{model:{type:"minecraft:model",model:"minecraft:item/honey_bottle"}},honeycomb:{model:{type:"minecraft:model",model:"minecraft:item/honeycomb"}},honeycomb_block:{model:{type:"minecraft:model",model:"minecraft:block/honeycomb_block"}},hopper:{model:{type:"minecraft:model",model:"minecraft:item/hopper"}},hopper_minecart:{model:{type:"minecraft:model",model:"minecraft:item/hopper_minecart"}},horn_coral:{model:{type:"minecraft:model",model:"minecraft:item/horn_coral"}},horn_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/horn_coral_block"}},horn_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/horn_coral_fan"}},horse_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/horse_spawn_egg"}},host_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/host_armor_trim_smithing_template"}},howl_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/howl_pottery_sherd"}},husk_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/husk_spawn_egg"}},ice:{model:{type:"minecraft:model",model:"minecraft:block/ice"}},infested_chiseled_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_stone_bricks"}},infested_cobblestone:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone"}},infested_cracked_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_stone_bricks"}},infested_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/deepslate"}},infested_mossy_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_bricks"}},infested_stone:{model:{type:"minecraft:model",model:"minecraft:block/stone"}},infested_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/stone_bricks"}},ink_sac:{model:{type:"minecraft:model",model:"minecraft:item/ink_sac"}},iron_axe:{model:{type:"minecraft:model",model:"minecraft:item/iron_axe"}},iron_bars:{model:{type:"minecraft:model",model:"minecraft:item/iron_bars"}},iron_block:{model:{type:"minecraft:model",model:"minecraft:block/iron_block"}},iron_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_boots"},property:"minecraft:trim_material"}},iron_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_chestplate"},property:"minecraft:trim_material"}},iron_door:{model:{type:"minecraft:model",model:"minecraft:item/iron_door"}},iron_golem_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/iron_golem_spawn_egg"}},iron_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_helmet"},property:"minecraft:trim_material"}},iron_hoe:{model:{type:"minecraft:model",model:"minecraft:item/iron_hoe"}},iron_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/iron_horse_armor"}},iron_ingot:{model:{type:"minecraft:model",model:"minecraft:item/iron_ingot"}},iron_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_leggings"},property:"minecraft:trim_material"}},iron_nugget:{model:{type:"minecraft:model",model:"minecraft:item/iron_nugget"}},iron_ore:{model:{type:"minecraft:model",model:"minecraft:block/iron_ore"}},iron_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/iron_pickaxe"}},iron_shovel:{model:{type:"minecraft:model",model:"minecraft:item/iron_shovel"}},iron_sword:{model:{type:"minecraft:model",model:"minecraft:item/iron_sword"}},iron_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/iron_trapdoor_bottom"}},item_frame:{model:{type:"minecraft:model",model:"minecraft:item/item_frame"}},jack_o_lantern:{model:{type:"minecraft:model",model:"minecraft:block/jack_o_lantern"}},jigsaw:{model:{type:"minecraft:model",model:"minecraft:block/jigsaw"}},jukebox:{model:{type:"minecraft:model",model:"minecraft:block/jukebox"}},jungle_boat:{model:{type:"minecraft:model",model:"minecraft:item/jungle_boat"}},jungle_button:{model:{type:"minecraft:model",model:"minecraft:block/jungle_button_inventory"}},jungle_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/jungle_chest_boat"}},jungle_door:{model:{type:"minecraft:model",model:"minecraft:item/jungle_door"}},jungle_fence:{model:{type:"minecraft:model",model:"minecraft:block/jungle_fence_inventory"}},jungle_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/jungle_fence_gate"}},jungle_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/jungle_hanging_sign"}},jungle_leaves:{model:{type:"minecraft:model",model:"minecraft:block/jungle_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},jungle_log:{model:{type:"minecraft:model",model:"minecraft:block/jungle_log"}},jungle_planks:{model:{type:"minecraft:model",model:"minecraft:block/jungle_planks"}},jungle_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/jungle_pressure_plate"}},jungle_sapling:{model:{type:"minecraft:model",model:"minecraft:item/jungle_sapling"}},jungle_sign:{model:{type:"minecraft:model",model:"minecraft:item/jungle_sign"}},jungle_slab:{model:{type:"minecraft:model",model:"minecraft:block/jungle_slab"}},jungle_stairs:{model:{type:"minecraft:model",model:"minecraft:block/jungle_stairs"}},jungle_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/jungle_trapdoor_bottom"}},jungle_wood:{model:{type:"minecraft:model",model:"minecraft:block/jungle_wood"}},kelp:{model:{type:"minecraft:model",model:"minecraft:item/kelp"}},knowledge_book:{model:{type:"minecraft:model",model:"minecraft:item/knowledge_book"}},ladder:{model:{type:"minecraft:model",model:"minecraft:item/ladder"}},lantern:{model:{type:"minecraft:model",model:"minecraft:item/lantern"}},lapis_block:{model:{type:"minecraft:model",model:"minecraft:block/lapis_block"}},lapis_lazuli:{model:{type:"minecraft:model",model:"minecraft:item/lapis_lazuli"}},lapis_ore:{model:{type:"minecraft:model",model:"minecraft:block/lapis_ore"}},large_amethyst_bud:{model:{type:"minecraft:model",model:"minecraft:item/large_amethyst_bud"}},large_fern:{model:{type:"minecraft:model",model:"minecraft:item/large_fern",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},lava_bucket:{model:{type:"minecraft:model",model:"minecraft:item/lava_bucket"}},lead:{model:{type:"minecraft:model",model:"minecraft:item/lead"}},leather:{model:{type:"minecraft:model",model:"minecraft:item/leather"}},leather_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_boots",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},leather_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_chestplate",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},leather_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_helmet",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},leather_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/leather_horse_armor",tints:[{type:"minecraft:dye",default:-6265536}]}},leather_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_leggings",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},lectern:{model:{type:"minecraft:model",model:"minecraft:block/lectern"}},lever:{model:{type:"minecraft:model",model:"minecraft:item/lever"}},light:{model:{type:"minecraft:select",block_state_property:"level",cases:[{model:{type:"minecraft:model",model:"minecraft:item/light_00"},when:"0"},{model:{type:"minecraft:model",model:"minecraft:item/light_01"},when:"1"},{model:{type:"minecraft:model",model:"minecraft:item/light_02"},when:"2"},{model:{type:"minecraft:model",model:"minecraft:item/light_03"},when:"3"},{model:{type:"minecraft:model",model:"minecraft:item/light_04"},when:"4"},{model:{type:"minecraft:model",model:"minecraft:item/light_05"},when:"5"},{model:{type:"minecraft:model",model:"minecraft:item/light_06"},when:"6"},{model:{type:"minecraft:model",model:"minecraft:item/light_07"},when:"7"},{model:{type:"minecraft:model",model:"minecraft:item/light_08"},when:"8"},{model:{type:"minecraft:model",model:"minecraft:item/light_09"},when:"9"},{model:{type:"minecraft:model",model:"minecraft:item/light_10"},when:"10"},{model:{type:"minecraft:model",model:"minecraft:item/light_11"},when:"11"},{model:{type:"minecraft:model",model:"minecraft:item/light_12"},when:"12"},{model:{type:"minecraft:model",model:"minecraft:item/light_13"},when:"13"},{model:{type:"minecraft:model",model:"minecraft:item/light_14"},when:"14"},{model:{type:"minecraft:model",model:"minecraft:item/light_15"},when:"15"}],fallback:{type:"minecraft:model",model:"minecraft:item/light"},property:"minecraft:block_state"}},light_blue_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"light_blue"}}},light_blue_bed:{model:{type:"minecraft:special",base:"minecraft:item/light_blue_bed",model:{type:"minecraft:bed",texture:"minecraft:light_blue"}}},light_blue_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/light_blue_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/light_blue_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/light_blue_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/light_blue_bundle"},property:"minecraft:display_context"}},light_blue_candle:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_candle"}},light_blue_carpet:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_carpet"}},light_blue_concrete:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_concrete"}},light_blue_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_concrete_powder"}},light_blue_dye:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_dye"}},light_blue_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_glazed_terracotta"}},light_blue_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/light_blue_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_light_blue"}}},light_blue_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_stained_glass"}},light_blue_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_stained_glass_pane"}},light_blue_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_terracotta"}},light_blue_wool:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_wool"}},light_gray_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"light_gray"}}},light_gray_bed:{model:{type:"minecraft:special",base:"minecraft:item/light_gray_bed",model:{type:"minecraft:bed",texture:"minecraft:light_gray"}}},light_gray_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/light_gray_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/light_gray_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/light_gray_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/light_gray_bundle"},property:"minecraft:display_context"}},light_gray_candle:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_candle"}},light_gray_carpet:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_carpet"}},light_gray_concrete:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_concrete"}},light_gray_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_concrete_powder"}},light_gray_dye:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_dye"}},light_gray_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_glazed_terracotta"}},light_gray_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/light_gray_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_light_gray"}}},light_gray_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_stained_glass"}},light_gray_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_stained_glass_pane"}},light_gray_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_terracotta"}},light_gray_wool:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_wool"}},light_weighted_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/light_weighted_pressure_plate"}},lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/lightning_rod"}},lilac:{model:{type:"minecraft:model",model:"minecraft:item/lilac"}},lily_of_the_valley:{model:{type:"minecraft:model",model:"minecraft:item/lily_of_the_valley"}},lily_pad:{model:{type:"minecraft:model",model:"minecraft:item/lily_pad",tints:[{type:"minecraft:constant",value:-9321636}]}},lime_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"lime"}}},lime_bed:{model:{type:"minecraft:special",base:"minecraft:item/lime_bed",model:{type:"minecraft:bed",texture:"minecraft:lime"}}},lime_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/lime_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/lime_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/lime_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/lime_bundle"},property:"minecraft:display_context"}},lime_candle:{model:{type:"minecraft:model",model:"minecraft:item/lime_candle"}},lime_carpet:{model:{type:"minecraft:model",model:"minecraft:block/lime_carpet"}},lime_concrete:{model:{type:"minecraft:model",model:"minecraft:block/lime_concrete"}},lime_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/lime_concrete_powder"}},lime_dye:{model:{type:"minecraft:model",model:"minecraft:item/lime_dye"}},lime_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/lime_glazed_terracotta"}},lime_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/lime_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_lime"}}},lime_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/lime_stained_glass"}},lime_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/lime_stained_glass_pane"}},lime_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/lime_terracotta"}},lime_wool:{model:{type:"minecraft:model",model:"minecraft:block/lime_wool"}},lingering_potion:{model:{type:"minecraft:model",model:"minecraft:item/lingering_potion",tints:[{type:"minecraft:potion",default:-13083194}]}},llama_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/llama_spawn_egg"}},lodestone:{model:{type:"minecraft:model",model:"minecraft:block/lodestone"}},loom:{model:{type:"minecraft:model",model:"minecraft:block/loom"}},mace:{model:{type:"minecraft:model",model:"minecraft:item/mace"}},magenta_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"magenta"}}},magenta_bed:{model:{type:"minecraft:special",base:"minecraft:item/magenta_bed",model:{type:"minecraft:bed",texture:"minecraft:magenta"}}},magenta_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/magenta_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/magenta_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/magenta_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/magenta_bundle"},property:"minecraft:display_context"}},magenta_candle:{model:{type:"minecraft:model",model:"minecraft:item/magenta_candle"}},magenta_carpet:{model:{type:"minecraft:model",model:"minecraft:block/magenta_carpet"}},magenta_concrete:{model:{type:"minecraft:model",model:"minecraft:block/magenta_concrete"}},magenta_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/magenta_concrete_powder"}},magenta_dye:{model:{type:"minecraft:model",model:"minecraft:item/magenta_dye"}},magenta_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/magenta_glazed_terracotta"}},magenta_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/magenta_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_magenta"}}},magenta_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/magenta_stained_glass"}},magenta_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/magenta_stained_glass_pane"}},magenta_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/magenta_terracotta"}},magenta_wool:{model:{type:"minecraft:model",model:"minecraft:block/magenta_wool"}},magma_block:{model:{type:"minecraft:model",model:"minecraft:block/magma_block"}},magma_cream:{model:{type:"minecraft:model",model:"minecraft:item/magma_cream"}},magma_cube_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/magma_cube_spawn_egg"}},mangrove_boat:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_boat"}},mangrove_button:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_button_inventory"}},mangrove_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_chest_boat"}},mangrove_door:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_door"}},mangrove_fence:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_fence_inventory"}},mangrove_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_fence_gate"}},mangrove_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_hanging_sign"}},mangrove_leaves:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_leaves",tints:[{type:"minecraft:constant",value:-7158200}]}},mangrove_log:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_log"}},mangrove_planks:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_planks"}},mangrove_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_pressure_plate"}},mangrove_propagule:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_propagule"}},mangrove_roots:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_roots"}},mangrove_sign:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_sign"}},mangrove_slab:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_slab"}},mangrove_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_stairs"}},mangrove_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_trapdoor_bottom"}},mangrove_wood:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_wood"}},map:{model:{type:"minecraft:model",model:"minecraft:item/map"}},medium_amethyst_bud:{model:{type:"minecraft:model",model:"minecraft:item/medium_amethyst_bud"}},melon:{model:{type:"minecraft:model",model:"minecraft:block/melon"}},melon_seeds:{model:{type:"minecraft:model",model:"minecraft:item/melon_seeds"}},melon_slice:{model:{type:"minecraft:model",model:"minecraft:item/melon_slice"}},milk_bucket:{model:{type:"minecraft:model",model:"minecraft:item/milk_bucket"}},minecart:{model:{type:"minecraft:model",model:"minecraft:item/minecart"}},miner_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/miner_pottery_sherd"}},mojang_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/mojang_banner_pattern"}},mooshroom_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/mooshroom_spawn_egg"}},moss_block:{model:{type:"minecraft:model",model:"minecraft:block/moss_block"}},moss_carpet:{model:{type:"minecraft:model",model:"minecraft:block/moss_carpet"}},mossy_cobblestone:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone"}},mossy_cobblestone_slab:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone_slab"}},mossy_cobblestone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone_stairs"}},mossy_cobblestone_wall:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone_wall_inventory"}},mossy_stone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_brick_slab"}},mossy_stone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_brick_stairs"}},mossy_stone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_brick_wall_inventory"}},mossy_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_bricks"}},mourner_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/mourner_pottery_sherd"}},mud:{model:{type:"minecraft:model",model:"minecraft:block/mud"}},mud_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/mud_brick_slab"}},mud_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mud_brick_stairs"}},mud_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/mud_brick_wall_inventory"}},mud_bricks:{model:{type:"minecraft:model",model:"minecraft:block/mud_bricks"}},muddy_mangrove_roots:{model:{type:"minecraft:model",model:"minecraft:block/muddy_mangrove_roots"}},mule_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/mule_spawn_egg"}},mushroom_stem:{model:{type:"minecraft:model",model:"minecraft:block/mushroom_stem_inventory"}},mushroom_stew:{model:{type:"minecraft:model",model:"minecraft:item/mushroom_stew"}},music_disc_11:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_11"}},music_disc_13:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_13"}},music_disc_5:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_5"}},music_disc_blocks:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_blocks"}},music_disc_cat:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_cat"}},music_disc_chirp:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_chirp"}},music_disc_creator:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_creator"}},music_disc_creator_music_box:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_creator_music_box"}},music_disc_far:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_far"}},music_disc_mall:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_mall"}},music_disc_mellohi:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_mellohi"}},music_disc_otherside:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_otherside"}},music_disc_pigstep:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_pigstep"}},music_disc_precipice:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_precipice"}},music_disc_relic:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_relic"}},music_disc_stal:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_stal"}},music_disc_strad:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_strad"}},music_disc_wait:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_wait"}},music_disc_ward:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_ward"}},mutton:{model:{type:"minecraft:model",model:"minecraft:item/mutton"}},mycelium:{model:{type:"minecraft:model",model:"minecraft:block/mycelium"}},name_tag:{model:{type:"minecraft:model",model:"minecraft:item/name_tag"}},nautilus_shell:{model:{type:"minecraft:model",model:"minecraft:item/nautilus_shell"}},nether_brick:{model:{type:"minecraft:model",model:"minecraft:item/nether_brick"}},nether_brick_fence:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_fence_inventory"}},nether_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_slab"}},nether_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_stairs"}},nether_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_wall_inventory"}},nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/nether_bricks"}},nether_gold_ore:{model:{type:"minecraft:model",model:"minecraft:block/nether_gold_ore"}},nether_quartz_ore:{model:{type:"minecraft:model",model:"minecraft:block/nether_quartz_ore"}},nether_sprouts:{model:{type:"minecraft:model",model:"minecraft:item/nether_sprouts"}},nether_star:{model:{type:"minecraft:model",model:"minecraft:item/nether_star"}},nether_wart:{model:{type:"minecraft:model",model:"minecraft:item/nether_wart"}},nether_wart_block:{model:{type:"minecraft:model",model:"minecraft:block/nether_wart_block"}},netherite_axe:{model:{type:"minecraft:model",model:"minecraft:item/netherite_axe"}},netherite_block:{model:{type:"minecraft:model",model:"minecraft:block/netherite_block"}},netherite_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_boots"},property:"minecraft:trim_material"}},netherite_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate"},property:"minecraft:trim_material"}},netherite_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_helmet"},property:"minecraft:trim_material"}},netherite_hoe:{model:{type:"minecraft:model",model:"minecraft:item/netherite_hoe"}},netherite_ingot:{model:{type:"minecraft:model",model:"minecraft:item/netherite_ingot"}},netherite_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_leggings"},property:"minecraft:trim_material"}},netherite_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/netherite_pickaxe"}},netherite_scrap:{model:{type:"minecraft:model",model:"minecraft:item/netherite_scrap"}},netherite_shovel:{model:{type:"minecraft:model",model:"minecraft:item/netherite_shovel"}},netherite_sword:{model:{type:"minecraft:model",model:"minecraft:item/netherite_sword"}},netherite_upgrade_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/netherite_upgrade_smithing_template"}},netherrack:{model:{type:"minecraft:model",model:"minecraft:block/netherrack"}},note_block:{model:{type:"minecraft:model",model:"minecraft:block/note_block"}},oak_boat:{model:{type:"minecraft:model",model:"minecraft:item/oak_boat"}},oak_button:{model:{type:"minecraft:model",model:"minecraft:block/oak_button_inventory"}},oak_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/oak_chest_boat"}},oak_door:{model:{type:"minecraft:model",model:"minecraft:item/oak_door"}},oak_fence:{model:{type:"minecraft:model",model:"minecraft:block/oak_fence_inventory"}},oak_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/oak_fence_gate"}},oak_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/oak_hanging_sign"}},oak_leaves:{model:{type:"minecraft:model",model:"minecraft:block/oak_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},oak_log:{model:{type:"minecraft:model",model:"minecraft:block/oak_log"}},oak_planks:{model:{type:"minecraft:model",model:"minecraft:block/oak_planks"}},oak_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/oak_pressure_plate"}},oak_sapling:{model:{type:"minecraft:model",model:"minecraft:item/oak_sapling"}},oak_sign:{model:{type:"minecraft:model",model:"minecraft:item/oak_sign"}},oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/oak_slab"}},oak_stairs:{model:{type:"minecraft:model",model:"minecraft:block/oak_stairs"}},oak_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/oak_trapdoor_bottom"}},oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/oak_wood"}},observer:{model:{type:"minecraft:model",model:"minecraft:block/observer"}},obsidian:{model:{type:"minecraft:model",model:"minecraft:block/obsidian"}},ocelot_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ocelot_spawn_egg"}},ochre_froglight:{model:{type:"minecraft:model",model:"minecraft:block/ochre_froglight"}},ominous_bottle:{model:{type:"minecraft:model",model:"minecraft:item/ominous_bottle"}},ominous_trial_key:{model:{type:"minecraft:model",model:"minecraft:item/ominous_trial_key"}},open_eyeblossom:{model:{type:"minecraft:model",model:"minecraft:item/open_eyeblossom"}},orange_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"orange"}}},orange_bed:{model:{type:"minecraft:special",base:"minecraft:item/orange_bed",model:{type:"minecraft:bed",texture:"minecraft:orange"}}},orange_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/orange_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/orange_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/orange_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/orange_bundle"},property:"minecraft:display_context"}},orange_candle:{model:{type:"minecraft:model",model:"minecraft:item/orange_candle"}},orange_carpet:{model:{type:"minecraft:model",model:"minecraft:block/orange_carpet"}},orange_concrete:{model:{type:"minecraft:model",model:"minecraft:block/orange_concrete"}},orange_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/orange_concrete_powder"}},orange_dye:{model:{type:"minecraft:model",model:"minecraft:item/orange_dye"}},orange_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/orange_glazed_terracotta"}},orange_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/orange_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_orange"}}},orange_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/orange_stained_glass"}},orange_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/orange_stained_glass_pane"}},orange_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/orange_terracotta"}},orange_tulip:{model:{type:"minecraft:model",model:"minecraft:item/orange_tulip"}},orange_wool:{model:{type:"minecraft:model",model:"minecraft:block/orange_wool"}},oxeye_daisy:{model:{type:"minecraft:model",model:"minecraft:item/oxeye_daisy"}},oxidized_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_chiseled_copper"}},oxidized_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper"}},oxidized_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_bulb"}},oxidized_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_door"}},oxidized_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_grate"}},oxidized_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_trapdoor_bottom"}},oxidized_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper"}},oxidized_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_slab"}},oxidized_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_stairs"}},packed_ice:{model:{type:"minecraft:model",model:"minecraft:block/packed_ice"}},packed_mud:{model:{type:"minecraft:model",model:"minecraft:block/packed_mud"}},painting:{model:{type:"minecraft:model",model:"minecraft:item/painting"}},pale_hanging_moss:{model:{type:"minecraft:model",model:"minecraft:item/pale_hanging_moss"}},pale_moss_block:{model:{type:"minecraft:model",model:"minecraft:block/pale_moss_block"}},pale_moss_carpet:{model:{type:"minecraft:model",model:"minecraft:block/pale_moss_carpet"}},pale_oak_boat:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_boat"}},pale_oak_button:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_button_inventory"}},pale_oak_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_chest_boat"}},pale_oak_door:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_door"}},pale_oak_fence:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_fence_inventory"}},pale_oak_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_fence_gate"}},pale_oak_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_hanging_sign"}},pale_oak_leaves:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_leaves"}},pale_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_log"}},pale_oak_planks:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_planks"}},pale_oak_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_pressure_plate"}},pale_oak_sapling:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_sapling"}},pale_oak_sign:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_sign"}},pale_oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_slab"}},pale_oak_stairs:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_stairs"}},pale_oak_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_trapdoor_bottom"}},pale_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_wood"}},panda_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/panda_spawn_egg"}},paper:{model:{type:"minecraft:model",model:"minecraft:item/paper"}},parrot_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/parrot_spawn_egg"}},pearlescent_froglight:{model:{type:"minecraft:model",model:"minecraft:block/pearlescent_froglight"}},peony:{model:{type:"minecraft:model",model:"minecraft:item/peony"}},petrified_oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/petrified_oak_slab"}},phantom_membrane:{model:{type:"minecraft:model",model:"minecraft:item/phantom_membrane"}},phantom_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/phantom_spawn_egg"}},pig_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/pig_spawn_egg"}},piglin_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/piglin_banner_pattern"}},piglin_brute_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/piglin_brute_spawn_egg"}},piglin_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"piglin"}}},piglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/piglin_spawn_egg"}},pillager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/pillager_spawn_egg"}},pink_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"pink"}}},pink_bed:{model:{type:"minecraft:special",base:"minecraft:item/pink_bed",model:{type:"minecraft:bed",texture:"minecraft:pink"}}},pink_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/pink_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/pink_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/pink_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/pink_bundle"},property:"minecraft:display_context"}},pink_candle:{model:{type:"minecraft:model",model:"minecraft:item/pink_candle"}},pink_carpet:{model:{type:"minecraft:model",model:"minecraft:block/pink_carpet"}},pink_concrete:{model:{type:"minecraft:model",model:"minecraft:block/pink_concrete"}},pink_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/pink_concrete_powder"}},pink_dye:{model:{type:"minecraft:model",model:"minecraft:item/pink_dye"}},pink_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/pink_glazed_terracotta"}},pink_petals:{model:{type:"minecraft:model",model:"minecraft:item/pink_petals"}},pink_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/pink_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_pink"}}},pink_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/pink_stained_glass"}},pink_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/pink_stained_glass_pane"}},pink_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/pink_terracotta"}},pink_tulip:{model:{type:"minecraft:model",model:"minecraft:item/pink_tulip"}},pink_wool:{model:{type:"minecraft:model",model:"minecraft:block/pink_wool"}},piston:{model:{type:"minecraft:model",model:"minecraft:block/piston_inventory"}},pitcher_plant:{model:{type:"minecraft:model",model:"minecraft:item/pitcher_plant"}},pitcher_pod:{model:{type:"minecraft:model",model:"minecraft:item/pitcher_pod"}},player_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:player_head"}}},plenty_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/plenty_pottery_sherd"}},podzol:{model:{type:"minecraft:model",model:"minecraft:block/podzol"}},pointed_dripstone:{model:{type:"minecraft:model",model:"minecraft:item/pointed_dripstone"}},poisonous_potato:{model:{type:"minecraft:model",model:"minecraft:item/poisonous_potato"}},polar_bear_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/polar_bear_spawn_egg"}},polished_andesite:{model:{type:"minecraft:model",model:"minecraft:block/polished_andesite"}},polished_andesite_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_andesite_slab"}},polished_andesite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_andesite_stairs"}},polished_basalt:{model:{type:"minecraft:model",model:"minecraft:block/polished_basalt"}},polished_blackstone:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone"}},polished_blackstone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_brick_slab"}},polished_blackstone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_brick_stairs"}},polished_blackstone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_brick_wall_inventory"}},polished_blackstone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_bricks"}},polished_blackstone_button:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_button_inventory"}},polished_blackstone_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_pressure_plate"}},polished_blackstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_slab"}},polished_blackstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_stairs"}},polished_blackstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_wall_inventory"}},polished_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate"}},polished_deepslate_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate_slab"}},polished_deepslate_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate_stairs"}},polished_deepslate_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate_wall_inventory"}},polished_diorite:{model:{type:"minecraft:model",model:"minecraft:block/polished_diorite"}},polished_diorite_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_diorite_slab"}},polished_diorite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_diorite_stairs"}},polished_granite:{model:{type:"minecraft:model",model:"minecraft:block/polished_granite"}},polished_granite_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_granite_slab"}},polished_granite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_granite_stairs"}},polished_tuff:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff"}},polished_tuff_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff_slab"}},polished_tuff_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff_stairs"}},polished_tuff_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff_wall_inventory"}},popped_chorus_fruit:{model:{type:"minecraft:model",model:"minecraft:item/popped_chorus_fruit"}},poppy:{model:{type:"minecraft:model",model:"minecraft:item/poppy"}},porkchop:{model:{type:"minecraft:model",model:"minecraft:item/porkchop"}},potato:{model:{type:"minecraft:model",model:"minecraft:item/potato"}},potion:{model:{type:"minecraft:model",model:"minecraft:item/potion",tints:[{type:"minecraft:potion",default:-13083194}]}},powder_snow_bucket:{model:{type:"minecraft:model",model:"minecraft:item/powder_snow_bucket"}},powered_rail:{model:{type:"minecraft:model",model:"minecraft:item/powered_rail"}},prismarine:{model:{type:"minecraft:model",model:"minecraft:block/prismarine"}},prismarine_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_brick_slab"}},prismarine_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_brick_stairs"}},prismarine_bricks:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_bricks"}},prismarine_crystals:{model:{type:"minecraft:model",model:"minecraft:item/prismarine_crystals"}},prismarine_shard:{model:{type:"minecraft:model",model:"minecraft:item/prismarine_shard"}},prismarine_slab:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_slab"}},prismarine_stairs:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_stairs"}},prismarine_wall:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_wall_inventory"}},prize_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/prize_pottery_sherd"}},pufferfish:{model:{type:"minecraft:model",model:"minecraft:item/pufferfish"}},pufferfish_bucket:{model:{type:"minecraft:model",model:"minecraft:item/pufferfish_bucket"}},pufferfish_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/pufferfish_spawn_egg"}},pumpkin:{model:{type:"minecraft:model",model:"minecraft:block/pumpkin"}},pumpkin_pie:{model:{type:"minecraft:model",model:"minecraft:item/pumpkin_pie"}},pumpkin_seeds:{model:{type:"minecraft:model",model:"minecraft:item/pumpkin_seeds"}},purple_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"purple"}}},purple_bed:{model:{type:"minecraft:special",base:"minecraft:item/purple_bed",model:{type:"minecraft:bed",texture:"minecraft:purple"}}},purple_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/purple_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/purple_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/purple_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/purple_bundle"},property:"minecraft:display_context"}},purple_candle:{model:{type:"minecraft:model",model:"minecraft:item/purple_candle"}},purple_carpet:{model:{type:"minecraft:model",model:"minecraft:block/purple_carpet"}},purple_concrete:{model:{type:"minecraft:model",model:"minecraft:block/purple_concrete"}},purple_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/purple_concrete_powder"}},purple_dye:{model:{type:"minecraft:model",model:"minecraft:item/purple_dye"}},purple_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/purple_glazed_terracotta"}},purple_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/purple_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_purple"}}},purple_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/purple_stained_glass"}},purple_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/purple_stained_glass_pane"}},purple_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/purple_terracotta"}},purple_wool:{model:{type:"minecraft:model",model:"minecraft:block/purple_wool"}},purpur_block:{model:{type:"minecraft:model",model:"minecraft:block/purpur_block"}},purpur_pillar:{model:{type:"minecraft:model",model:"minecraft:block/purpur_pillar"}},purpur_slab:{model:{type:"minecraft:model",model:"minecraft:block/purpur_slab"}},purpur_stairs:{model:{type:"minecraft:model",model:"minecraft:block/purpur_stairs"}},quartz:{model:{type:"minecraft:model",model:"minecraft:item/quartz"}},quartz_block:{model:{type:"minecraft:model",model:"minecraft:block/quartz_block"}},quartz_bricks:{model:{type:"minecraft:model",model:"minecraft:block/quartz_bricks"}},quartz_pillar:{model:{type:"minecraft:model",model:"minecraft:block/quartz_pillar"}},quartz_slab:{model:{type:"minecraft:model",model:"minecraft:block/quartz_slab"}},quartz_stairs:{model:{type:"minecraft:model",model:"minecraft:block/quartz_stairs"}},rabbit:{model:{type:"minecraft:model",model:"minecraft:item/rabbit"}},rabbit_foot:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_foot"}},rabbit_hide:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_hide"}},rabbit_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_spawn_egg"}},rabbit_stew:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_stew"}},rail:{model:{type:"minecraft:model",model:"minecraft:item/rail"}},raiser_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/raiser_armor_trim_smithing_template"}},ravager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ravager_spawn_egg"}},raw_copper:{model:{type:"minecraft:model",model:"minecraft:item/raw_copper"}},raw_copper_block:{model:{type:"minecraft:model",model:"minecraft:block/raw_copper_block"}},raw_gold:{model:{type:"minecraft:model",model:"minecraft:item/raw_gold"}},raw_gold_block:{model:{type:"minecraft:model",model:"minecraft:block/raw_gold_block"}},raw_iron:{model:{type:"minecraft:model",model:"minecraft:item/raw_iron"}},raw_iron_block:{model:{type:"minecraft:model",model:"minecraft:block/raw_iron_block"}},recovery_compass:{model:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_16"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_17"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_18"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_19"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_20"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_21"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_22"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_23"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_24"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_25"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_26"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_27"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_28"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_29"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_30"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_31"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_00"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_01"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_02"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_03"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_04"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_05"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_06"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_07"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_08"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_09"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_10"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_11"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_12"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_13"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_14"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_15"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_16"},threshold:31.5}],property:"minecraft:compass",scale:32,target:"recovery"}},red_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"red"}}},red_bed:{model:{type:"minecraft:special",base:"minecraft:item/red_bed",model:{type:"minecraft:bed",texture:"minecraft:red"}}},red_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/red_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/red_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/red_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/red_bundle"},property:"minecraft:display_context"}},red_candle:{model:{type:"minecraft:model",model:"minecraft:item/red_candle"}},red_carpet:{model:{type:"minecraft:model",model:"minecraft:block/red_carpet"}},red_concrete:{model:{type:"minecraft:model",model:"minecraft:block/red_concrete"}},red_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/red_concrete_powder"}},red_dye:{model:{type:"minecraft:model",model:"minecraft:item/red_dye"}},red_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/red_glazed_terracotta"}},red_mushroom:{model:{type:"minecraft:model",model:"minecraft:item/red_mushroom"}},red_mushroom_block:{model:{type:"minecraft:model",model:"minecraft:block/red_mushroom_block_inventory"}},red_nether_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_brick_slab"}},red_nether_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_brick_stairs"}},red_nether_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_brick_wall_inventory"}},red_nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_bricks"}},red_sand:{model:{type:"minecraft:model",model:"minecraft:block/red_sand"}},red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone"}},red_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone_slab"}},red_sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone_stairs"}},red_sandstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone_wall_inventory"}},red_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/red_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_red"}}},red_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/red_stained_glass"}},red_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/red_stained_glass_pane"}},red_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/red_terracotta"}},red_tulip:{model:{type:"minecraft:model",model:"minecraft:item/red_tulip"}},red_wool:{model:{type:"minecraft:model",model:"minecraft:block/red_wool"}},redstone:{model:{type:"minecraft:model",model:"minecraft:item/redstone"}},redstone_block:{model:{type:"minecraft:model",model:"minecraft:block/redstone_block"}},redstone_lamp:{model:{type:"minecraft:model",model:"minecraft:block/redstone_lamp"}},redstone_ore:{model:{type:"minecraft:model",model:"minecraft:block/redstone_ore"}},redstone_torch:{model:{type:"minecraft:model",model:"minecraft:item/redstone_torch"}},reinforced_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/reinforced_deepslate"}},repeater:{model:{type:"minecraft:model",model:"minecraft:item/repeater"}},repeating_command_block:{model:{type:"minecraft:model",model:"minecraft:block/repeating_command_block"}},resin_block:{model:{type:"minecraft:model",model:"minecraft:block/resin_block"}},resin_brick:{model:{type:"minecraft:model",model:"minecraft:item/resin_brick"}},resin_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/resin_brick_slab"}},resin_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/resin_brick_stairs"}},resin_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/resin_brick_wall_inventory"}},resin_bricks:{model:{type:"minecraft:model",model:"minecraft:block/resin_bricks"}},resin_clump:{model:{type:"minecraft:model",model:"minecraft:item/resin_clump"}},respawn_anchor:{model:{type:"minecraft:model",model:"minecraft:block/respawn_anchor_0"}},rib_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/rib_armor_trim_smithing_template"}},rooted_dirt:{model:{type:"minecraft:model",model:"minecraft:block/rooted_dirt"}},rose_bush:{model:{type:"minecraft:model",model:"minecraft:item/rose_bush"}},rotten_flesh:{model:{type:"minecraft:model",model:"minecraft:item/rotten_flesh"}},saddle:{model:{type:"minecraft:model",model:"minecraft:item/saddle"}},salmon:{model:{type:"minecraft:model",model:"minecraft:item/salmon"}},salmon_bucket:{model:{type:"minecraft:model",model:"minecraft:item/salmon_bucket"}},salmon_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/salmon_spawn_egg"}},sand:{model:{type:"minecraft:model",model:"minecraft:block/sand"}},sandstone:{model:{type:"minecraft:model",model:"minecraft:block/sandstone"}},sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/sandstone_slab"}},sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/sandstone_stairs"}},sandstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/sandstone_wall_inventory"}},scaffolding:{model:{type:"minecraft:model",model:"minecraft:block/scaffolding_stable"}},scrape_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/scrape_pottery_sherd"}},sculk:{model:{type:"minecraft:model",model:"minecraft:block/sculk"}},sculk_catalyst:{model:{type:"minecraft:model",model:"minecraft:block/sculk_catalyst"}},sculk_sensor:{model:{type:"minecraft:model",model:"minecraft:block/sculk_sensor_inactive"}},sculk_shrieker:{model:{type:"minecraft:model",model:"minecraft:block/sculk_shrieker"}},sculk_vein:{model:{type:"minecraft:model",model:"minecraft:item/sculk_vein"}},sea_lantern:{model:{type:"minecraft:model",model:"minecraft:block/sea_lantern"}},sea_pickle:{model:{type:"minecraft:model",model:"minecraft:item/sea_pickle"}},seagrass:{model:{type:"minecraft:model",model:"minecraft:item/seagrass"}},sentry_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/sentry_armor_trim_smithing_template"}},shaper_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/shaper_armor_trim_smithing_template"}},sheaf_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/sheaf_pottery_sherd"}},shears:{model:{type:"minecraft:model",model:"minecraft:item/shears"}},sheep_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/sheep_spawn_egg"}},shelter_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/shelter_pottery_sherd"}},shield:{model:{type:"minecraft:condition",on_false:{type:"minecraft:special",base:"minecraft:item/shield",model:{type:"minecraft:shield"}},on_true:{type:"minecraft:special",base:"minecraft:item/shield_blocking",model:{type:"minecraft:shield"}},property:"minecraft:using_item"}},short_grass:{model:{type:"minecraft:model",model:"minecraft:item/short_grass",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},shroomlight:{model:{type:"minecraft:model",model:"minecraft:block/shroomlight"}},shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker"}}},shulker_shell:{model:{type:"minecraft:model",model:"minecraft:item/shulker_shell"}},shulker_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/shulker_spawn_egg"}},silence_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/silence_armor_trim_smithing_template"}},silverfish_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/silverfish_spawn_egg"}},skeleton_horse_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/skeleton_horse_spawn_egg"}},skeleton_skull:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"skeleton"}}},skeleton_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/skeleton_spawn_egg"}},skull_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/skull_banner_pattern"}},skull_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/skull_pottery_sherd"}},slime_ball:{model:{type:"minecraft:model",model:"minecraft:item/slime_ball"}},slime_block:{model:{type:"minecraft:model",model:"minecraft:block/slime_block"}},slime_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/slime_spawn_egg"}},small_amethyst_bud:{model:{type:"minecraft:model",model:"minecraft:item/small_amethyst_bud"}},small_dripleaf:{model:{type:"minecraft:model",model:"minecraft:item/small_dripleaf"}},smithing_table:{model:{type:"minecraft:model",model:"minecraft:block/smithing_table"}},smoker:{model:{type:"minecraft:model",model:"minecraft:block/smoker"}},smooth_basalt:{model:{type:"minecraft:model",model:"minecraft:block/smooth_basalt"}},smooth_quartz:{model:{type:"minecraft:model",model:"minecraft:block/smooth_quartz"}},smooth_quartz_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_quartz_slab"}},smooth_quartz_stairs:{model:{type:"minecraft:model",model:"minecraft:block/smooth_quartz_stairs"}},smooth_red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/smooth_red_sandstone"}},smooth_red_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_red_sandstone_slab"}},smooth_red_sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/smooth_red_sandstone_stairs"}},smooth_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/smooth_sandstone"}},smooth_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_sandstone_slab"}},smooth_sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/smooth_sandstone_stairs"}},smooth_stone:{model:{type:"minecraft:model",model:"minecraft:block/smooth_stone"}},smooth_stone_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_stone_slab"}},sniffer_egg:{model:{type:"minecraft:model",model:"minecraft:item/sniffer_egg"}},sniffer_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/sniffer_spawn_egg"}},snort_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/snort_pottery_sherd"}},snout_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/snout_armor_trim_smithing_template"}},snow:{model:{type:"minecraft:model",model:"minecraft:block/snow_height2"}},snow_block:{model:{type:"minecraft:model",model:"minecraft:block/snow_block"}},snow_golem_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/snow_golem_spawn_egg"}},snowball:{model:{type:"minecraft:model",model:"minecraft:item/snowball"}},soul_campfire:{model:{type:"minecraft:model",model:"minecraft:item/soul_campfire"}},soul_lantern:{model:{type:"minecraft:model",model:"minecraft:item/soul_lantern"}},soul_sand:{model:{type:"minecraft:model",model:"minecraft:block/soul_sand"}},soul_soil:{model:{type:"minecraft:model",model:"minecraft:block/soul_soil"}},soul_torch:{model:{type:"minecraft:model",model:"minecraft:item/soul_torch"}},spawner:{model:{type:"minecraft:model",model:"minecraft:block/spawner"}},spectral_arrow:{model:{type:"minecraft:model",model:"minecraft:item/spectral_arrow"}},spider_eye:{model:{type:"minecraft:model",model:"minecraft:item/spider_eye"}},spider_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/spider_spawn_egg"}},spire_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/spire_armor_trim_smithing_template"}},splash_potion:{model:{type:"minecraft:model",model:"minecraft:item/splash_potion",tints:[{type:"minecraft:potion",default:-13083194}]}},sponge:{model:{type:"minecraft:model",model:"minecraft:block/sponge"}},spore_blossom:{model:{type:"minecraft:model",model:"minecraft:block/spore_blossom"}},spruce_boat:{model:{type:"minecraft:model",model:"minecraft:item/spruce_boat"}},spruce_button:{model:{type:"minecraft:model",model:"minecraft:block/spruce_button_inventory"}},spruce_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/spruce_chest_boat"}},spruce_door:{model:{type:"minecraft:model",model:"minecraft:item/spruce_door"}},spruce_fence:{model:{type:"minecraft:model",model:"minecraft:block/spruce_fence_inventory"}},spruce_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/spruce_fence_gate"}},spruce_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/spruce_hanging_sign"}},spruce_leaves:{model:{type:"minecraft:model",model:"minecraft:block/spruce_leaves",tints:[{type:"minecraft:constant",value:-10380959}]}},spruce_log:{model:{type:"minecraft:model",model:"minecraft:block/spruce_log"}},spruce_planks:{model:{type:"minecraft:model",model:"minecraft:block/spruce_planks"}},spruce_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/spruce_pressure_plate"}},spruce_sapling:{model:{type:"minecraft:model",model:"minecraft:item/spruce_sapling"}},spruce_sign:{model:{type:"minecraft:model",model:"minecraft:item/spruce_sign"}},spruce_slab:{model:{type:"minecraft:model",model:"minecraft:block/spruce_slab"}},spruce_stairs:{model:{type:"minecraft:model",model:"minecraft:block/spruce_stairs"}},spruce_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/spruce_trapdoor_bottom"}},spruce_wood:{model:{type:"minecraft:model",model:"minecraft:block/spruce_wood"}},spyglass:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/spyglass"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/spyglass_in_hand"},property:"minecraft:display_context"}},squid_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/squid_spawn_egg"}},stick:{model:{type:"minecraft:model",model:"minecraft:item/stick"}},sticky_piston:{model:{type:"minecraft:model",model:"minecraft:block/sticky_piston_inventory"}},stone:{model:{type:"minecraft:model",model:"minecraft:block/stone"}},stone_axe:{model:{type:"minecraft:model",model:"minecraft:item/stone_axe"}},stone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/stone_brick_slab"}},stone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/stone_brick_stairs"}},stone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/stone_brick_wall_inventory"}},stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/stone_bricks"}},stone_button:{model:{type:"minecraft:model",model:"minecraft:block/stone_button_inventory"}},stone_hoe:{model:{type:"minecraft:model",model:"minecraft:item/stone_hoe"}},stone_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/stone_pickaxe"}},stone_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/stone_pressure_plate"}},stone_shovel:{model:{type:"minecraft:model",model:"minecraft:item/stone_shovel"}},stone_slab:{model:{type:"minecraft:model",model:"minecraft:block/stone_slab"}},stone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/stone_stairs"}},stone_sword:{model:{type:"minecraft:model",model:"minecraft:item/stone_sword"}},stonecutter:{model:{type:"minecraft:model",model:"minecraft:block/stonecutter"}},stray_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/stray_spawn_egg"}},strider_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/strider_spawn_egg"}},string:{model:{type:"minecraft:model",model:"minecraft:item/string"}},stripped_acacia_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_acacia_log"}},stripped_acacia_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_acacia_wood"}},stripped_bamboo_block:{model:{type:"minecraft:model",model:"minecraft:block/stripped_bamboo_block"}},stripped_birch_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_birch_log"}},stripped_birch_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_birch_wood"}},stripped_cherry_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_cherry_log"}},stripped_cherry_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_cherry_wood"}},stripped_crimson_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/stripped_crimson_hyphae"}},stripped_crimson_stem:{model:{type:"minecraft:model",model:"minecraft:block/stripped_crimson_stem"}},stripped_dark_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_dark_oak_log"}},stripped_dark_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_dark_oak_wood"}},stripped_jungle_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_jungle_log"}},stripped_jungle_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_jungle_wood"}},stripped_mangrove_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_mangrove_log"}},stripped_mangrove_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_mangrove_wood"}},stripped_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_oak_log"}},stripped_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_oak_wood"}},stripped_pale_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_pale_oak_log"}},stripped_pale_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_pale_oak_wood"}},stripped_spruce_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_spruce_log"}},stripped_spruce_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_spruce_wood"}},stripped_warped_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/stripped_warped_hyphae"}},stripped_warped_stem:{model:{type:"minecraft:model",model:"minecraft:block/stripped_warped_stem"}},structure_block:{model:{type:"minecraft:model",model:"minecraft:block/structure_block"}},structure_void:{model:{type:"minecraft:model",model:"minecraft:item/structure_void"}},sugar:{model:{type:"minecraft:model",model:"minecraft:item/sugar"}},sugar_cane:{model:{type:"minecraft:model",model:"minecraft:item/sugar_cane"}},sunflower:{model:{type:"minecraft:model",model:"minecraft:item/sunflower"}},suspicious_gravel:{model:{type:"minecraft:model",model:"minecraft:block/suspicious_gravel_0"}},suspicious_sand:{model:{type:"minecraft:model",model:"minecraft:block/suspicious_sand_0"}},suspicious_stew:{model:{type:"minecraft:model",model:"minecraft:item/suspicious_stew"}},sweet_berries:{model:{type:"minecraft:model",model:"minecraft:item/sweet_berries"}},tadpole_bucket:{model:{type:"minecraft:model",model:"minecraft:item/tadpole_bucket"}},tadpole_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/tadpole_spawn_egg"}},tall_grass:{model:{type:"minecraft:model",model:"minecraft:item/tall_grass",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},target:{model:{type:"minecraft:model",model:"minecraft:block/target"}},terracotta:{model:{type:"minecraft:model",model:"minecraft:block/terracotta"}},tide_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/tide_armor_trim_smithing_template"}},tinted_glass:{model:{type:"minecraft:model",model:"minecraft:block/tinted_glass"}},tipped_arrow:{model:{type:"minecraft:model",model:"minecraft:item/tipped_arrow",tints:[{type:"minecraft:potion",default:-13083194}]}},tnt:{model:{type:"minecraft:model",model:"minecraft:block/tnt"}},tnt_minecart:{model:{type:"minecraft:model",model:"minecraft:item/tnt_minecart"}},torch:{model:{type:"minecraft:model",model:"minecraft:item/torch"}},torchflower:{model:{type:"minecraft:model",model:"minecraft:item/torchflower"}},torchflower_seeds:{model:{type:"minecraft:model",model:"minecraft:item/torchflower_seeds"}},totem_of_undying:{model:{type:"minecraft:model",model:"minecraft:item/totem_of_undying"}},trader_llama_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/trader_llama_spawn_egg"}},trapped_chest:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:special",base:"minecraft:item/trapped_chest",model:{type:"minecraft:chest",texture:"minecraft:christmas"}},when:["12-24","12-25","12-26"]}],fallback:{type:"minecraft:special",base:"minecraft:item/trapped_chest",model:{type:"minecraft:chest",texture:"minecraft:trapped"}},pattern:"MM-dd",property:"minecraft:local_time"}},trial_key:{model:{type:"minecraft:model",model:"minecraft:item/trial_key"}},trial_spawner:{model:{type:"minecraft:model",model:"minecraft:block/trial_spawner"}},trident:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/trident"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:condition",on_false:{type:"minecraft:special",base:"minecraft:item/trident_in_hand",model:{type:"minecraft:trident"}},on_true:{type:"minecraft:special",base:"minecraft:item/trident_throwing",model:{type:"minecraft:trident"}},property:"minecraft:using_item"},property:"minecraft:display_context"}},tripwire_hook:{model:{type:"minecraft:model",model:"minecraft:item/tripwire_hook"}},tropical_fish:{model:{type:"minecraft:model",model:"minecraft:item/tropical_fish"}},tropical_fish_bucket:{model:{type:"minecraft:model",model:"minecraft:item/tropical_fish_bucket"}},tropical_fish_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/tropical_fish_spawn_egg"}},tube_coral:{model:{type:"minecraft:model",model:"minecraft:item/tube_coral"}},tube_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/tube_coral_block"}},tube_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/tube_coral_fan"}},tuff:{model:{type:"minecraft:model",model:"minecraft:block/tuff"}},tuff_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/tuff_brick_slab"}},tuff_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/tuff_brick_stairs"}},tuff_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/tuff_brick_wall_inventory"}},tuff_bricks:{model:{type:"minecraft:model",model:"minecraft:block/tuff_bricks"}},tuff_slab:{model:{type:"minecraft:model",model:"minecraft:block/tuff_slab"}},tuff_stairs:{model:{type:"minecraft:model",model:"minecraft:block/tuff_stairs"}},tuff_wall:{model:{type:"minecraft:model",model:"minecraft:block/tuff_wall_inventory"}},turtle_egg:{model:{type:"minecraft:model",model:"minecraft:item/turtle_egg"}},turtle_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/turtle_helmet"},property:"minecraft:trim_material"}},turtle_scute:{model:{type:"minecraft:model",model:"minecraft:item/turtle_scute"}},turtle_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/turtle_spawn_egg"}},twisting_vines:{model:{type:"minecraft:model",model:"minecraft:item/twisting_vines"}},vault:{model:{type:"minecraft:model",model:"minecraft:block/vault"}},verdant_froglight:{model:{type:"minecraft:model",model:"minecraft:block/verdant_froglight"}},vex_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/vex_armor_trim_smithing_template"}},vex_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/vex_spawn_egg"}},villager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/villager_spawn_egg"}},vindicator_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/vindicator_spawn_egg"}},vine:{model:{type:"minecraft:model",model:"minecraft:item/vine",tints:[{type:"minecraft:constant",value:-12012264}]}},wandering_trader_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wandering_trader_spawn_egg"}},ward_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/ward_armor_trim_smithing_template"}},warden_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/warden_spawn_egg"}},warped_button:{model:{type:"minecraft:model",model:"minecraft:block/warped_button_inventory"}},warped_door:{model:{type:"minecraft:model",model:"minecraft:item/warped_door"}},warped_fence:{model:{type:"minecraft:model",model:"minecraft:block/warped_fence_inventory"}},warped_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/warped_fence_gate"}},warped_fungus:{model:{type:"minecraft:model",model:"minecraft:item/warped_fungus"}},warped_fungus_on_a_stick:{model:{type:"minecraft:model",model:"minecraft:item/warped_fungus_on_a_stick"}},warped_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/warped_hanging_sign"}},warped_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/warped_hyphae"}},warped_nylium:{model:{type:"minecraft:model",model:"minecraft:block/warped_nylium"}},warped_planks:{model:{type:"minecraft:model",model:"minecraft:block/warped_planks"}},warped_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/warped_pressure_plate"}},warped_roots:{model:{type:"minecraft:model",model:"minecraft:item/warped_roots"}},warped_sign:{model:{type:"minecraft:model",model:"minecraft:item/warped_sign"}},warped_slab:{model:{type:"minecraft:model",model:"minecraft:block/warped_slab"}},warped_stairs:{model:{type:"minecraft:model",model:"minecraft:block/warped_stairs"}},warped_stem:{model:{type:"minecraft:model",model:"minecraft:block/warped_stem"}},warped_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/warped_trapdoor_bottom"}},warped_wart_block:{model:{type:"minecraft:model",model:"minecraft:block/warped_wart_block"}},water_bucket:{model:{type:"minecraft:model",model:"minecraft:item/water_bucket"}},waxed_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_copper"}},waxed_copper_block:{model:{type:"minecraft:model",model:"minecraft:block/copper_block"}},waxed_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/copper_bulb"}},waxed_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/copper_door"}},waxed_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/copper_grate"}},waxed_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/copper_trapdoor_bottom"}},waxed_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper"}},waxed_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_slab"}},waxed_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_stairs"}},waxed_exposed_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_chiseled_copper"}},waxed_exposed_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper"}},waxed_exposed_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_bulb"}},waxed_exposed_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_door"}},waxed_exposed_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_grate"}},waxed_exposed_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_trapdoor_bottom"}},waxed_exposed_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper"}},waxed_exposed_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_slab"}},waxed_exposed_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_stairs"}},waxed_oxidized_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_chiseled_copper"}},waxed_oxidized_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper"}},waxed_oxidized_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_bulb"}},waxed_oxidized_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_door"}},waxed_oxidized_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_grate"}},waxed_oxidized_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_trapdoor_bottom"}},waxed_oxidized_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper"}},waxed_oxidized_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_slab"}},waxed_oxidized_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_stairs"}},waxed_weathered_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_chiseled_copper"}},waxed_weathered_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper"}},waxed_weathered_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_bulb"}},waxed_weathered_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_door"}},waxed_weathered_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_grate"}},waxed_weathered_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_trapdoor_bottom"}},waxed_weathered_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper"}},waxed_weathered_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_slab"}},waxed_weathered_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_stairs"}},wayfinder_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/wayfinder_armor_trim_smithing_template"}},weathered_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_chiseled_copper"}},weathered_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper"}},weathered_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_bulb"}},weathered_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_door"}},weathered_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_grate"}},weathered_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_trapdoor_bottom"}},weathered_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper"}},weathered_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_slab"}},weathered_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_stairs"}},weeping_vines:{model:{type:"minecraft:model",model:"minecraft:item/weeping_vines"}},wet_sponge:{model:{type:"minecraft:model",model:"minecraft:block/wet_sponge"}},wheat:{model:{type:"minecraft:model",model:"minecraft:item/wheat"}},wheat_seeds:{model:{type:"minecraft:model",model:"minecraft:item/wheat_seeds"}},white_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"white"}}},white_bed:{model:{type:"minecraft:special",base:"minecraft:item/white_bed",model:{type:"minecraft:bed",texture:"minecraft:white"}}},white_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/white_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/white_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/white_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/white_bundle"},property:"minecraft:display_context"}},white_candle:{model:{type:"minecraft:model",model:"minecraft:item/white_candle"}},white_carpet:{model:{type:"minecraft:model",model:"minecraft:block/white_carpet"}},white_concrete:{model:{type:"minecraft:model",model:"minecraft:block/white_concrete"}},white_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/white_concrete_powder"}},white_dye:{model:{type:"minecraft:model",model:"minecraft:item/white_dye"}},white_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/white_glazed_terracotta"}},white_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/white_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_white"}}},white_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/white_stained_glass"}},white_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/white_stained_glass_pane"}},white_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/white_terracotta"}},white_tulip:{model:{type:"minecraft:model",model:"minecraft:item/white_tulip"}},white_wool:{model:{type:"minecraft:model",model:"minecraft:block/white_wool"}},wild_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/wild_armor_trim_smithing_template"}},wind_charge:{model:{type:"minecraft:model",model:"minecraft:item/wind_charge"}},witch_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/witch_spawn_egg"}},wither_rose:{model:{type:"minecraft:model",model:"minecraft:item/wither_rose"}},wither_skeleton_skull:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"wither_skeleton"}}},wither_skeleton_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wither_skeleton_spawn_egg"}},wither_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wither_spawn_egg"}},wolf_armor:{model:{type:"minecraft:condition",component:"minecraft:dyed_color",on_false:{type:"minecraft:model",model:"minecraft:item/wolf_armor"},on_true:{type:"minecraft:model",model:"minecraft:item/wolf_armor_dyed",tints:[{type:"minecraft:constant",value:-1},{type:"minecraft:dye",default:0}]},property:"minecraft:has_component"}},wolf_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wolf_spawn_egg"}},wooden_axe:{model:{type:"minecraft:model",model:"minecraft:item/wooden_axe"}},wooden_hoe:{model:{type:"minecraft:model",model:"minecraft:item/wooden_hoe"}},wooden_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/wooden_pickaxe"}},wooden_shovel:{model:{type:"minecraft:model",model:"minecraft:item/wooden_shovel"}},wooden_sword:{model:{type:"minecraft:model",model:"minecraft:item/wooden_sword"}},writable_book:{model:{type:"minecraft:model",model:"minecraft:item/writable_book"}},written_book:{model:{type:"minecraft:model",model:"minecraft:item/written_book"}},yellow_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"yellow"}}},yellow_bed:{model:{type:"minecraft:special",base:"minecraft:item/yellow_bed",model:{type:"minecraft:bed",texture:"minecraft:yellow"}}},yellow_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/yellow_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/yellow_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/yellow_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/yellow_bundle"},property:"minecraft:display_context"}},yellow_candle:{model:{type:"minecraft:model",model:"minecraft:item/yellow_candle"}},yellow_carpet:{model:{type:"minecraft:model",model:"minecraft:block/yellow_carpet"}},yellow_concrete:{model:{type:"minecraft:model",model:"minecraft:block/yellow_concrete"}},yellow_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/yellow_concrete_powder"}},yellow_dye:{model:{type:"minecraft:model",model:"minecraft:item/yellow_dye"}},yellow_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/yellow_glazed_terracotta"}},yellow_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/yellow_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_yellow"}}},yellow_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/yellow_stained_glass"}},yellow_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/yellow_stained_glass_pane"}},yellow_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/yellow_terracotta"}},yellow_wool:{model:{type:"minecraft:model",model:"minecraft:block/yellow_wool"}},zoglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zoglin_spawn_egg"}},zombie_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"zombie"}}},zombie_horse_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_horse_spawn_egg"}},zombie_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_spawn_egg"}},zombie_villager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_villager_spawn_egg"}},zombified_piglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombified_piglin_spawn_egg"}},blue_egg:{model:{type:"minecraft:model",model:"minecraft:item/blue_egg"}},brown_egg:{model:{type:"minecraft:model",model:"minecraft:item/brown_egg"}},bush:{model:{type:"minecraft:model",model:"minecraft:item/bush",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},cactus_flower:{model:{type:"minecraft:model",model:"minecraft:item/cactus_flower"}},firefly_bush:{model:{type:"minecraft:model",model:"minecraft:item/firefly_bush"}},leaf_litter:{model:{type:"minecraft:model",model:"minecraft:item/leaf_litter"}},short_dry_grass:{model:{type:"minecraft:model",model:"minecraft:item/short_dry_grass"}},tall_dry_grass:{model:{type:"minecraft:model",model:"minecraft:item/tall_dry_grass"}},test_block:{model:{type:"minecraft:select",block_state_property:"mode",cases:[{model:{type:"minecraft:model",model:"minecraft:block/test_block_log"},when:"log"},{model:{type:"minecraft:model",model:"minecraft:block/test_block_fail"},when:"fail"},{model:{type:"minecraft:model",model:"minecraft:block/test_block_accept"},when:"accept"}],fallback:{type:"minecraft:model",model:"minecraft:block/test_block_start"},property:"minecraft:block_state"}},test_instance_block:{model:{type:"minecraft:model",model:"minecraft:block/test_instance_block"}},wildflowers:{model:{type:"minecraft:model",model:"minecraft:item/wildflowers"}},black_harness:{model:{type:"minecraft:model",model:"minecraft:item/black_harness"}},blue_harness:{model:{type:"minecraft:model",model:"minecraft:item/blue_harness"}},brown_harness:{model:{type:"minecraft:model",model:"minecraft:item/brown_harness"}},cyan_harness:{model:{type:"minecraft:model",model:"minecraft:item/cyan_harness"}},dried_ghast:{model:{type:"minecraft:model",model:"minecraft:block/dried_ghast_hydration_0"}},gray_harness:{model:{type:"minecraft:model",model:"minecraft:item/gray_harness"}},green_harness:{model:{type:"minecraft:model",model:"minecraft:item/green_harness"}},happy_ghast_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/happy_ghast_spawn_egg"}},light_blue_harness:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_harness"}},light_gray_harness:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_harness"}},lime_harness:{model:{type:"minecraft:model",model:"minecraft:item/lime_harness"}},magenta_harness:{model:{type:"minecraft:model",model:"minecraft:item/magenta_harness"}},music_disc_tears:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_tears"}},orange_harness:{model:{type:"minecraft:model",model:"minecraft:item/orange_harness"}},pink_harness:{model:{type:"minecraft:model",model:"minecraft:item/pink_harness"}},purple_harness:{model:{type:"minecraft:model",model:"minecraft:item/purple_harness"}},red_harness:{model:{type:"minecraft:model",model:"minecraft:item/red_harness"}},white_harness:{model:{type:"minecraft:model",model:"minecraft:item/white_harness"}},yellow_harness:{model:{type:"minecraft:model",model:"minecraft:item/yellow_harness"}},music_disc_lava_chicken:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_lava_chicken"}},acacia_shelf:{model:{type:"minecraft:model",model:"minecraft:block/acacia_shelf_inventory"}},bamboo_shelf:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_shelf_inventory"}},birch_shelf:{model:{type:"minecraft:model",model:"minecraft:block/birch_shelf_inventory"}},cherry_shelf:{model:{type:"minecraft:model",model:"minecraft:block/cherry_shelf_inventory"}},copper_axe:{model:{type:"minecraft:model",model:"minecraft:item/copper_axe"}},copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/copper_bars"}},copper_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_boots"},property:"minecraft:trim_material"}},copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/copper_chain"}},copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper"}}},copper_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_chestplate"},property:"minecraft:trim_material"}},copper_golem_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/copper_golem_spawn_egg"}},copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},property:"minecraft:block_state"}},copper_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_helmet"},property:"minecraft:trim_material"}},copper_hoe:{model:{type:"minecraft:model",model:"minecraft:item/copper_hoe"}},copper_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/copper_horse_armor"}},copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/copper_lantern"}},copper_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_leggings"},property:"minecraft:trim_material"}},copper_nugget:{model:{type:"minecraft:model",model:"minecraft:item/copper_nugget"}},copper_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/copper_pickaxe"}},copper_shovel:{model:{type:"minecraft:model",model:"minecraft:item/copper_shovel"}},copper_sword:{model:{type:"minecraft:model",model:"minecraft:item/copper_sword"}},copper_torch:{model:{type:"minecraft:model",model:"minecraft:item/copper_torch"}},crimson_shelf:{model:{type:"minecraft:model",model:"minecraft:block/crimson_shelf_inventory"}},dark_oak_shelf:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_shelf_inventory"}},exposed_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_bars"}},exposed_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_chain"}},exposed_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/exposed_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_exposed"}}},exposed_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},property:"minecraft:block_state"}},exposed_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_lantern"}},exposed_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/exposed_lightning_rod"}},iron_chain:{model:{type:"minecraft:model",model:"minecraft:item/iron_chain"}},jungle_shelf:{model:{type:"minecraft:model",model:"minecraft:block/jungle_shelf_inventory"}},mangrove_shelf:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_shelf_inventory"}},oak_shelf:{model:{type:"minecraft:model",model:"minecraft:block/oak_shelf_inventory"}},oxidized_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_bars"}},oxidized_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_chain"}},oxidized_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/oxidized_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_oxidized"}}},oxidized_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},property:"minecraft:block_state"}},oxidized_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_lantern"}},oxidized_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_lightning_rod"}},pale_oak_shelf:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_shelf_inventory"}},spruce_shelf:{model:{type:"minecraft:model",model:"minecraft:block/spruce_shelf_inventory"}},warped_shelf:{model:{type:"minecraft:model",model:"minecraft:block/warped_shelf_inventory"}},waxed_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/copper_bars"}},waxed_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/copper_chain"}},waxed_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper"}}},waxed_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},property:"minecraft:block_state"}},waxed_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/copper_lantern"}},waxed_exposed_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_bars"}},waxed_exposed_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_chain"}},waxed_exposed_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/exposed_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_exposed"}}},waxed_exposed_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},property:"minecraft:block_state"}},waxed_exposed_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_lantern"}},waxed_exposed_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/exposed_lightning_rod"}},waxed_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/lightning_rod"}},waxed_oxidized_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_bars"}},waxed_oxidized_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_chain"}},waxed_oxidized_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/oxidized_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_oxidized"}}},waxed_oxidized_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},property:"minecraft:block_state"}},waxed_oxidized_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_lantern"}},waxed_oxidized_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_lightning_rod"}},waxed_weathered_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_bars"}},waxed_weathered_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_chain"}},waxed_weathered_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/weathered_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_weathered"}}},waxed_weathered_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},property:"minecraft:block_state"}},waxed_weathered_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_lantern"}},waxed_weathered_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/weathered_lightning_rod"}},weathered_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_bars"}},weathered_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_chain"}},weathered_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/weathered_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_weathered"}}},weathered_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},property:"minecraft:block_state"}},weathered_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_lantern"}},weathered_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/weathered_lightning_rod"}},camel_husk_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/camel_husk_spawn_egg"}},copper_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/copper_nautilus_armor"}},copper_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},diamond_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/diamond_nautilus_armor"}},diamond_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},golden_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/golden_nautilus_armor"}},golden_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},iron_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/iron_nautilus_armor"}},iron_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},nautilus_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/nautilus_spawn_egg"}},netherite_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/netherite_horse_armor"}},netherite_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/netherite_nautilus_armor"}},netherite_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},parched_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/parched_spawn_egg"}},stone_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/stone_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/stone_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},wooden_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/wooden_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/wooden_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},zombie_nautilus_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_nautilus_spawn_egg"}}}};h();p();m();var b0e="";h();p();m();var x0e="";h();p();m();var w0e="";h();p();m();var S0e="";h();p();m();var E0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABjFBMVEUAAAD/8Yv46Xjs2ELm00Dk0T/hzj7eyz7byT3ayD3ZxzzYxjzXxTzVwzvTwTvTwTbSwDrRvzXNuznJuDXFtDfBsTbBsTDAsDW/rzW5qSqXiybQOC7POC7HNSzHNSu8MSm3MCm2MCm0MCmzMCizLyixLyitLSapLCW0HBWZJyGzHBSzGxOqHheyGhOnHhewGhOwGBCvGBCuGBGsGRGqGBGpGBGrFxCSIRmoFxCnFxCmFxCoFg+lFxCkFxGkFxCmFg+jFxClFg+iFxChFxCiFhCiFg+hFhCMHxihFg+gFg+dFxGfFhCMHhidFhCdFg+cFg+dFQ+cFQ+YFQ6UFhCTFQ+SFQ6JFA+AEg50FxJ/Eg1zFxJwFxJvFxKADAZ/DAZzEAxyEAyACgV/CgRwEAx8CwV9CgR8CgR7CgR6CgV5CgR3CgR2CgV2CgR0CQRzCQNyCQNxCQRwCQNnBwJiBgJhBgFZBgJbBQFFCgdDCgdCCQZMAwBLAwA+CAZJAwA6CQY2CAY1BwUzBwUxBwUAAADLKmhYAAAAAXRSTlMAQObYZgAAA3ZJREFUeNrtlcuK5FQch79zSdJVSWmJjotxo4LICCriDUUfxIXoU7hzIYgLn2Jc+xQyghsv9IgiCC2Cs+qrXTmVSs7N7iRV6YIqCDLL/qDyq48DP1Knkv8RpFjp6fliBfANn4Dy6n6EA47k87CCR+xCp57EK0/H8khQEjksfJW/GF/TXPDXwd35sikeshMNoDxrzOukzdsA/mcol8wWU9SCFXvQKCDQI/OEmMTuqzwonHKTKq0hK/YVeAVeRDpCCJ4U8BBUbFzDDJUZXLa3wMNAopRqPAoVrUJOPQsD5HUznbATwRZ346ckokGBvy/s0iGboDREXQV2IWGbJCEmiZQygVOpXAPCWqvkHXai2eLjX4OHFKLljVe/fW4V4Jfsrbph+ogxd5AUKAXeB5UWiZwjJVNnnJzN5ag7sCga8CnRexvIWYDNqY0KowpkjPRPghSydjUpnlpdUY8qCPweUQ/4EK+EgplnmiTPsJw6RhVMXgbL97wAkIqHTALls78BtWAn4t5LZ4HiR96Nl/LyYnIXnZufeNNpd7zI7qAlh7yTUS/+md67CHr2gPdLmdV//k2HdiZTGVQlT+POg0T4g4oVBVUZD6ron9TKmHnihftXpJlzOto5paBHs1QsPbXjhNWWVYIllhNv2zXRrk2W7qS1oaBJXaCKdcT52Bk4UWGvLPExuksnrAvdWkWstcVGenQ8BVhxhgDWdsxgpbhpcIbY/zJ9lLFG+eqVFYOpL8f8jWmByXH6+krsBlxR0g44xhQAOcPVvMeaHxj1MgmM6VsNQuYMvXJUQSTPAQzkqBDYENSoAg04A3k/4NigGFXgweiN2JIN5aiCYRsdgJyyYepH7gH55rfEsGTDMozeA0z/0UnBhiIZVeAMkBtDDsZZBrwdVSBygyHPXSsyMqyMG6qRnBzQmDyvAocRBbQDblRBU4FDEGFB0w04oS1Ayk7E517EQW1y05Tfb1/RoY/mkNS2sNdxrlrLuGlCRgaLmWuNHkmeIWdF2QZ0Mdj+6JGi1BN9Dl105rZMbxmdDQUUSJ6ii/PeDrpgfzAUXHr8hZu0kXRGF+u1wYa1cijQS86sqNqwna26OO0C2UborYvjoSBJVrOCiUxWqb/oDXkVYm3u2vx5a09kyLCaOdaIz/h/fL11NvLH6LPxOz7oz8ZbbrnlllseO/8B75fyEJNDhsMAAAAASUVORK5CYII=";var M0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABFFBMVEUAAAAySQsxSgY2UQczTQdFZA5IaQ9Jaw9KbBBGZQ9HZw9IaBBPchJVdCBWdR9MbhBRcBzr58X08MtfhSNUcx9Ucx1GZg5TcR/t6MedFhCvGBCMEQtLbBDn4sHb17j///9YeCBNcBBMbBTg273i4MD///TQOC5Rbx3Rzq729OVWdR27JBtPbxfT0LDh3r7l4cDo5MPg27pOcBJQcxPNyKTTzq3X1LTb2LhfhCR9fh01Twl/fx6HhSE6UQ03UAxIYhpCYA4WHwUzSwlBXg5qcBbV0bMmOgArPgYqPAYxRwtAXQ1BXQ8AAAA8Vg4eLAZFZBAZJAYYIwUdKgYaJgYcKgArQgAtRAAqQAAoPAAeLgApPgAZJgAMEV1YAAAAAXRSTlMAQObYZgAAAshJREFUeNrtlXtX2jAUwMFHkpZSpKAOENGpm9vc+/1+OBVhvBKgafb9v8fuTUsBbY9B9ye/E3O9gfx6c3NOyWQqDzJT+AyCC887OSlvAvlyuVQqZZKpVDMxvZhOu9fqeofWBDtnmQj4gIdjMBiIXvfgkBDCciyng4mgP0uLe3VCKQyEpFUw1wR4LucwIArRFpUaYZTazCaMMRsENyLEAMvnEPu8I6pPaoQWrIJFMJQNBHB+3oeBCt4TlWrtnqZer784PDIQ9GcBQaUSCjzPe/7sqYGARz3gcALe61arNbg/HLRQyOXNBBqMgw42Ee8PBmPEKhsJwibCX1+0u55HQyxCmZ1ftAen3PPw/ihshkqMrrEzpd1piYMDQqwQ27JMBN05fh4f5/P5DQRi6YOB4OzMggNTx7GJTe7vPaQUat/d3Vpf36J733/A6npEsZgoKBYdh2pylkXdbTy79fZNLspsOAjRsKKXLpg4XuW3dXz3Hud9yAiL8VIqaDghbMdxXrvbBcp2Ci8bbGffcXRWiAWPEgWNhuu6G4gLbXPLLuIdudNsEyk/3kipIDvDZfariIjecJmbWV0BYFrDaSV75Q1nIFjRoADJ/pml1zWsYBUnjFcELW5aAaIll3OCtjARrOFOnK4LOsZNRJJ6YCTQ6DZeE5wu1IPb3kLUvVUYt+4BjkgzX0HbpIJ4+xoK7tQDtFz2IqI3nIEgO8c3MSF8wxkI/i5AokApNZRjpaRSgRxfNCUEhQzjzFcqXE0WBMEwCMbjUYD/XDQDROnVSeaPxzqmCFQA+0GAEZ8JQUo1ycAzAkG4mlIBAmeAr8bPlLg6U0GYpgh83A8CPMNIVzBUSvnTehQIwtVEgYTvjlCg468miHxfhasXYab1EFN6IOVHOfZ9X8rfcvSpeS6/YAswA905BAkfnsvPUiYLggW4+2/jkiVLliz53/wDNukpDItbIB4AAAAASUVORK5CYII=";var A0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABBVBMVEUAAAApPgAeLgAoPAAqQAArQgAtRABFZA5GZQ9IaQ9HZw9Jaw9KbBBIaBBMbhBWdR/08MtUcx1VdCBUcx9RcBxPchLr58WdFhBNcBBfhSNLbBD///+MEQuvGBD///Tb17hTcR/n4sFIYhq7JBtGZg7QOC5fhCRPax3i4MDo5MNegCLg2737+vPU0LFhfSlPbxfl4cDh3r5/fx6HhSFqcBaIhiGFhCB0dxpafyE1SwkzSwlLahQXIQUWHwVYeCA3UAw1TwlBXg7V0bMmOgAxRwsrPgZBXQ8qPAZAXQ0AAAA8Vg5FZBAZJAYYIwUdKgYeLAYaJgYcKgA2UQcxSgYySQszTQcZJgB7eh3IAAAAAXRSTlMAQObYZgAAAsNJREFUeNrtlWdb4kAQgDfZJO6mQqKUi8J5XtFrXi9esQFyYAqg9/9/irObXSCxBfQj75NnlpHJu5MxCQjVX6AZf+IcL5vNahCsV6vrwf5+GKKbqCO0NcuS/mAwnNEkAoeY71ulBMM4juJIhqbjutSllNoOpbuVEoK4fz5PQCw427IsCh8qtwrmhpD0Utg4ksE3bSqw6WYd3U86iKI4TWUICKUuOCyXWJtbJQR8BudRLMO73b297UpGvaTgfJ7Wxw8VSX1nq5QghZ0jGXyHmPywXHezvlNqBmmaxpEMAc1wbJuSUkNM2BDjSAZf/AcJtWyzUikhKNwHTWrbtgkHdFFOkPSPe73BlCa1MohJyJsygt9w4ckMeJgCvwrPUhW45Vl4tsbaa7fJc0p//XgFn9eI4OQE5ajV1gSmScy/KOOpCRlpbzsOIdZrnklqtaKACFitJwX8cWm3LKDh80xyTdCyBbxWClzLdt3tsNFobGx4kG1MKQrehvYTARTLDgKPEYae5/u+x7N1jucVBWEIf64yeC26icOLHOINlwrQ/VxMJuPJ5FLG7A0HR0Y5AXApYzL8N08pwXg8AUSM+4sLciS9RQUd1vp4ImM6WKIDdiJEvibD5QQwATGD44fOYLjMDGB3znIzyFoXcZwsMcQxO5HFR7kPxBtugVv5sNPpXMzI3nB3P0z/c6j59K5S+eUZVlSs6FiBRetmGSR8VVAORVFG2IDIavWuFKgjVYVcZXTP+MJsjKJAZbUgV4HRVMBSDevsFL3LM13JijBGObjWUAzMVm0qYFrZwcHZiO8sOigKVAYI+JrrAHbUmPWnyCAH77UZsBrDMLA2YrVSoOiqxi5Bg+8Osgyuga8FAYYaHYaYrUdScIo/Y843zTiC7DvGuqad4i8YFzvA+BM2YDesfcVTgXoXKIea5+G/jStWrFix4rG5Atyu/TOf0H2DAAAAAElFTkSuQmCC";var k0e={"entity/chest/normal":E0e,"entity/chest/normal_left":M0e,"entity/chest/normal_right":A0e};h();p();m();h();p();m();var Oa=class{strictVersioned;data={latest:{}};previousVersion="";currentVersion="";inclusive=!0;constructor(e=!1){this.strictVersioned=e,e&&(this.data={})}get versionsSorted(){let e=Object.keys(this.data).filter(t=>t!=="latest").sort((t,n)=>this.semverToNumber(t)-this.semverToNumber(n));return this.strictVersioned||e.push("latest"),e}push(e,t,n){this.currentVersion||=e,this.currentVersion!==e&&(this.strictVersioned?this.previousVersion=this.currentVersion:this.previousVersion=this.previousVersion?this.currentVersion:"latest",this.currentVersion=e),this.data[this.previousVersion]?.[t]!==n&&(this.strictVersioned?(this.data[e]??={},this.data[e][t]=n):this.data.latest[t]?(this.data[e]??={},this.data[e][t]=n):this.data.latest[t]=n)}get(e,t,n=this.inclusive){let r=this.semverToNumber(e),s;for(let o of this.versionsSorted)if((n?r<=this.semverToNumber(o):r<this.semverToNumber(o))&&this.data[o]?.[t]){s=o;break}let a;return this.strictVersioned?a=this.data[s]?.[t]:this.data[s]?.[t]?a=this.data[s][t]:this.data.latest[t]&&(a=this.data.latest[t]),a&&typeof a=="object"?structuredClone(a):a}semverToNumber(e){let[t,n="0",r="0"]=e.split(".");return+`${t.padStart(2,"0")}${n.padStart(2,"0")}${r.padStart(2,"0")}`}loadData(e){this.data=e}};h();p();m();h();p();m();var Zn=class{oversized=!1;constructor(e=0,t=0,n=0,r=0,s=!1,a=void 0){this._width=e,this._height=t,this._x=n,this._y=r,this._data={},this._rot=s,this._allowRotation=a}static Collide(e,t){return e.collide(t)}static Contain(e,t){return e.contain(t)}area(){return this.width*this.height}collide(e){return e.x<this.x+this.width&&e.x+e.width>this.x&&e.y<this.y+this.height&&e.y+e.height>this.y}contain(e){return e.x>=this.x&&e.y>=this.y&&e.x+e.width<=this.x+this.width&&e.y+e.height<=this.y+this.height}_width;get width(){return this._width}set width(e){e!==this._width&&(this._width=e,this._dirty++)}_height;get height(){return this._height}set height(e){e!==this._height&&(this._height=e,this._dirty++)}_x;get x(){return this._x}set x(e){e!==this._x&&(this._x=e,this._dirty++)}_y;get y(){return this._y}set y(e){e!==this._y&&(this._y=e,this._dirty++)}_rot=!1;get rot(){return this._rot}set rot(e){if(this._allowRotation!==!1&&this._rot!==e){let t=this.width;this.width=this.height,this.height=t,this._rot=e,this._dirty++}}_allowRotation=void 0;get allowRotation(){return this._allowRotation}set allowRotation(e){this._allowRotation!==e&&(this._allowRotation=e,this._dirty++)}_data;get data(){return this._data}set data(e){e===null||e===this._data||(this._data=e,typeof e=="object"&&e.hasOwnProperty("allowRotation")&&(this._allowRotation=e.allowRotation),this._dirty++)}_dirty=0;get dirty(){return this._dirty>0}setDirty(e=!0){this._dirty=e?this._dirty+1:0}},q_=class{width;height;maxWidth;maxHeight;freeRects;rects;options;data;tag;_dirty=0;get dirty(){return this._dirty>0||this.rects.some(e=>e.dirty)}setDirty(e=!0){if(this._dirty=e?this._dirty+1:0,!e)for(let t of this.rects)t.setDirty&&t.setDirty(!1)}},hh=class i extends q_{maxWidth;maxHeight;padding;width;height;freeRects=[];rects=[];verticalExpand=!1;stage;border;options={smart:!0,pot:!0,square:!0,allowRotation:!1,tag:!1,exclusiveTag:!0,border:0,logic:rs.MAX_EDGE};constructor(e=G_,t=G_,n=0,r={}){super(),this.maxWidth=e,this.maxHeight=t,this.padding=n,this.options={...this.options,...r},this.width=this.options.smart?0:e,this.height=this.options.smart?0:t,this.border=this.options.border?this.options.border:0,this.freeRects.push(new Zn(this.maxWidth+this.padding-this.border*2,this.maxHeight+this.padding-this.border*2,this.border,this.border)),this.stage=new Zn(this.width,this.height)}add(...e){let t,n;if(e.length===1){if(typeof e[0]!="object")throw new Error("MacrectsBin.add(): Wrong parameters");n=e[0];let s=n.data&&n.data.tag?n.data.tag:n.tag?n.tag:void 0;if(this.options.tag&&this.options.exclusiveTag&&this.tag!==s)return}else{if(t=e.length>2?e[2]:null,this.options.tag&&this.options.exclusiveTag&&(t&&this.tag!==t.tag||!t&&this.tag))return;n=new Zn(e[0],e[1]),n.data=t,n.setDirty(!1)}let r=this.place(n);return r&&this.rects.push(r),r}repack(){let e=[];this.reset(),this.rects.sort((t,n)=>{let r=Math.max(n.width,n.height)-Math.max(t.width,t.height);return r===0&&t.hash&&n.hash?t.hash>n.hash?-1:1:r});for(let t of this.rects)this.place(t)||e.push(t);for(let t of e)this.rects.splice(this.rects.indexOf(t),1);return e.length>0?e:void 0}reset(e=!1,t=!1){e&&(this.data&&delete this.data,this.tag&&delete this.tag,this.rects=[],t&&(this.options={smart:!0,pot:!0,square:!0,allowRotation:!1,tag:!1,border:0})),this.width=this.options.smart?0:this.maxWidth,this.height=this.options.smart?0:this.maxHeight,this.border=this.options.border?this.options.border:0,this.freeRects=[new Zn(this.maxWidth+this.padding-this.border*2,this.maxHeight+this.padding-this.border*2,this.border,this.border)],this.stage=new Zn(this.width,this.height),this._dirty=0}clone(){let e=new i(this.maxWidth,this.maxHeight,this.padding,this.options);for(let t of this.rects)e.add(t);return e}place(e){let t=e.data&&e.data.tag?e.data.tag:e.tag?e.tag:void 0;if(this.options.tag&&this.options.exclusiveTag&&this.tag!==t)return;let n,r;if(e.hasOwnProperty("_allowRotation")&&e.allowRotation!==void 0?r=e.allowRotation:r=this.options.allowRotation,n=this.findNode(e.width+this.padding,e.height+this.padding,r),n){this.updateBinSize(n);let s=this.freeRects.length,a=0;for(;a<s;)this.splitNode(this.freeRects[a],n)&&(this.freeRects.splice(a,1),s--,a--),a++;return this.pruneFreeList(),this.verticalExpand=this.options.logic===rs.FILL_WIDTH?!1:this.width>this.height,e.x=n.x,e.y=n.y,e.rot===void 0&&(e.rot=!1),e.rot=n.rot?!e.rot:e.rot,this._dirty++,e}else if(this.verticalExpand){if(this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.border,this.height+this.padding-this.border))||this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.width+this.padding-this.border,this.border)))return this.place(e)}else if(this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.width+this.padding-this.border,this.border))||this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.border,this.height+this.padding-this.border)))return this.place(e)}findNode(e,t,n){let r=Number.MAX_VALUE,s,a,o;for(let l in this.freeRects){if(a=this.freeRects[l],a.width>=e&&a.height>=t){if(this.options.logic===rs.MAX_AREA)s=a.width*a.height-e*t;else if(this.options.logic===rs.FILL_WIDTH){let c=a.x+a.y*this.maxWidth,u=this.freeRects.filter(f=>f.x+f.y*this.maxWidth<c).length,d=a.y+t-this.height;s=u+d}else s=Math.min(a.width-e,a.height-t);s<r&&(o=new Zn(e,t,a.x,a.y),r=s)}if(n&&a.width>=t&&a.height>=e){if(this.options.logic===rs.MAX_AREA)s=a.width*a.height-t*e;else if(this.options.logic===rs.FILL_WIDTH){let c=a.x+a.y*this.maxWidth,u=this.freeRects.filter(f=>f.x+f.y*this.maxWidth<c).length,d=a.y+e-this.height;s=u+d}else s=Math.min(a.height-e,a.width-t);s<r&&(o=new Zn(t,e,a.x,a.y,!0),r=s)}}return o}splitNode(e,t){if(!e.collide(t))return!1;if(t.x<e.x+e.width&&t.x+t.width>e.x){if(t.y>e.y&&t.y<e.y+e.height){let n=new Zn(e.width,t.y-e.y,e.x,e.y);this.freeRects.push(n)}if(t.y+t.height<e.y+e.height){let n=new Zn(e.width,e.y+e.height-(t.y+t.height),e.x,t.y+t.height);this.freeRects.push(n)}}if(t.y<e.y+e.height&&t.y+t.height>e.y){if(t.x>e.x&&t.x<e.x+e.width){let n=new Zn(t.x-e.x,e.height,e.x,e.y);this.freeRects.push(n)}if(t.x+t.width<e.x+e.width){let n=new Zn(e.x+e.width-(t.x+t.width),e.height,t.x+t.width,e.y);this.freeRects.push(n)}}return!0}pruneFreeList(){let e=0,t=0,n=this.freeRects.length;for(;e<n;){t=e+1;let r=this.freeRects[e];for(;t<n;){let s=this.freeRects[t];if(s.contain(r)){this.freeRects.splice(e,1),e--,n--;break}r.contain(s)&&(this.freeRects.splice(t,1),t--,n--),t++}e++}}updateBinSize(e){if(!this.options.smart||this.stage.contain(e))return!1;let t=Math.max(this.width,e.x+e.width-this.padding+this.border),n=Math.max(this.height,e.y+e.height-this.padding+this.border);if(this.options.allowRotation){let r=Math.max(this.width,e.x+e.height-this.padding+this.border),s=Math.max(this.height,e.y+e.width-this.padding+this.border);r*s<t*n&&(t=r,n=s)}return this.options.pot&&(t=Math.pow(2,Math.ceil(Math.log(t)*Math.LOG2E)),n=Math.pow(2,Math.ceil(Math.log(n)*Math.LOG2E))),this.options.square&&(t=n=Math.max(t,n)),t>this.maxWidth+this.padding||n>this.maxHeight+this.padding?!1:(this.expandFreeRects(t+this.padding,n+this.padding),this.width=this.stage.width=t,this.height=this.stage.height=n,!0)}expandFreeRects(e,t){this.freeRects.forEach((n,r)=>{n.x+n.width>=Math.min(this.width+this.padding-this.border,e)&&(n.width=e-n.x-this.border),n.y+n.height>=Math.min(this.height+this.padding-this.border,t)&&(n.height=t-n.y-this.border)},this),this.freeRects.push(new Zn(e-this.width-this.padding,t-this.border*2,this.width+this.padding-this.border,this.border)),this.freeRects.push(new Zn(e-this.border*2,t-this.height-this.padding,this.border,this.height+this.padding-this.border)),this.freeRects=this.freeRects.filter(n=>!(n.width<=0||n.height<=0||n.x<this.border||n.y<this.border)),this.pruneFreeList()}},A3=class i extends q_{width;height;data;maxWidth;maxHeight;options;rects=[];freeRects;constructor(...e){if(super(),e.length===1){if(typeof e[0]!="object")throw new Error("OversizedElementBin: Wrong parameters");let t=e[0];this.rects=[t],this.width=t.width,this.height=t.height,this.data=t.data,t.oversized=!0}else{this.width=e[0],this.height=e[1],this.data=e.length>2?e[2]:null;let t=new Zn(this.width,this.height);t.oversized=!0,t.data=this.data,this.rects.push(t)}this.freeRects=[],this.maxWidth=this.width,this.maxHeight=this.height,this.options={smart:!1,pot:!1,square:!1}}add(){}reset(e=!1){}repack(){}clone(){return new i(this.rects[0])}},G_=4096,rs;(function(i){i[i.MAX_AREA=0]="MAX_AREA",i[i.MAX_EDGE=1]="MAX_EDGE",i[i.FILL_WIDTH=2]="FILL_WIDTH"})(rs||(rs={}));var W_=class{width;height;padding;bins;options={smart:!0,pot:!0,square:!1,allowRotation:!1,tag:!1,exclusiveTag:!0,border:0,logic:rs.MAX_EDGE};constructor(e=G_,t=G_,n=0,r={}){this.width=e,this.height=t,this.padding=n,this.bins=[],this.options={...this.options,...r}}add(...e){if(e.length===1){if(typeof e[0]!="object")throw new Error("MacrectsPacker.add(): Wrong parameters");let t=e[0];if(!(t.width<=this.width&&t.height<=this.height||this.options.allowRotation&&t.width<=this.height&&t.height<=this.width))this.bins.push(new A3(t));else if(!this.bins.slice(this._currentBinIndex).find(r=>r.add(t)!==void 0)){let r=new hh(this.width,this.height,this.padding,this.options),s=t.data&&t.data.tag?t.data.tag:t.tag?t.tag:void 0;this.options.tag&&s&&(r.tag=s),r.add(t),this.bins.push(r)}return t}else{let t=new Zn(e[0],e[1]);if(e.length>2&&(t.data=e[2]),!(t.width<=this.width&&t.height<=this.height||this.options.allowRotation&&t.width<=this.height&&t.height<=this.width))this.bins.push(new A3(t));else if(!this.bins.slice(this._currentBinIndex).find(r=>r.add(t)!==void 0)){let r=new hh(this.width,this.height,this.padding,this.options);this.options.tag&&t.data.tag&&(r.tag=t.data.tag),r.add(t),this.bins.push(r)}return t}}addArray(e){if(!this.options.tag||this.options.exclusiveTag)this.sort(e,this.options.logic).forEach(t=>this.add(t));else{if(e.length===0)return;e.sort((s,a)=>{let o=s.data&&s.data.tag?s.data.tag:s.tag?s.tag:void 0,l=a.data&&a.data.tag?a.data.tag:a.tag?a.tag:void 0;return l===void 0?-1:o===void 0?1:l>o?-1:1});let t,n=0;if(!this.bins.slice(this._currentBinIndex).find((s,a)=>{let o=s.clone();for(let l=n;l<e.length;l++){let c=e[l],u=c.data&&c.data.tag?c.data.tag:c.tag?c.tag:void 0;if(l===0&&(t=u),u!==t)return t=u,this.sort(e.slice(n,l),this.options.logic).forEach(d=>s.add(d)),n=l,this.addArray(e.slice(l)),!0;if(u===void 0)return this.sort(e.slice(l),this.options.logic).forEach(d=>this.add(d)),n=e.length,!0;if(o.add(c)===void 0)return this.sort(e.slice(n,l),this.options.logic).forEach(d=>s.add(d)),n=l,!1}return this.sort(e.slice(n),this.options.logic).forEach(l=>s.add(l)),!0})){let s=e[n],a=new hh(this.width,this.height,this.padding,this.options),o=s.data&&s.data.tag?s.data.tag:s.tag?s.tag:void 0;this.options.tag&&this.options.exclusiveTag&&o&&(a.tag=o),this.bins.push(a),a.add(s),n++,this.addArray(e.slice(n))}}}reset(){this.bins=[],this._currentBinIndex=0}repack(e=!0){if(e){let n=[];for(let r of this.bins)if(r.dirty){let s=r.repack();s&&n.push(...s)}this.addArray(n);return}if(!this.dirty)return;let t=this.rects;this.reset(),this.addArray(t)}next(){return this._currentBinIndex=this.bins.length,this._currentBinIndex}load(e){e.forEach((t,n)=>{if(t.maxWidth>this.width||t.maxHeight>this.height)this.bins.push(new A3(t.width,t.height,{}));else{let r=new hh(this.width,this.height,this.padding,t.options);r.freeRects.splice(0),t.freeRects.forEach((s,a)=>{r.freeRects.push(new Zn(s.width,s.height,s.x,s.y))}),r.width=t.width,r.height=t.height,t.tag&&(r.tag=t.tag),this.bins[n]=r}},this)}save(){let e=[];return this.bins.forEach(t=>{let n={width:t.width,height:t.height,maxWidth:t.maxWidth,maxHeight:t.maxHeight,freeRects:[],rects:[],options:t.options};t.tag&&(n={...n,tag:t.tag}),t.freeRects.forEach(r=>{n.freeRects.push({x:r.x,y:r.y,width:r.width,height:r.height})}),e.push(n)}),e}sort(e,t=rs.MAX_EDGE){return e.slice().sort((n,r)=>{let s=t===rs.MAX_EDGE?Math.max(r.width,r.height)-Math.max(n.width,n.height):r.width*r.height-n.width*n.height;return s===0&&n.hash&&r.hash?n.hash>r.hash?-1:1:s})}_currentBinIndex=0;get currentBinIndex(){return this._currentBinIndex}get dirty(){return this.bins.some(e=>e.dirty)}get rects(){let e=[];for(let t of this.bins)e.push(...t.rects);return e}};var j_=16384;function T0e(i){return i===0?1:(i--,i|=i>>1,i|=i>>2,i|=i>>4,i|=i>>8,i|=i>>16,i+1)}var I0e=({input:i,getLoadedImage:e,tileSize:t=16,getCanvas:n=s=>typeof document<"u"&&document.createElement?document.createElement("canvas"):new globalThis.Canvas(s,s,"png"),needHorizontalIndexes:r=!1})=>{let s=[...new Set(i)].map(_=>{let x=e(_),w;if(x.image)w=x.image;else if(x.contents)w=new Image,w.src=x.contents;else throw new Error("No image or contents");let S=t*(x.tileWidthMult??1),A=t;if(x.useOriginalSize||x.renderWidth||x.renderHeight){let T=x.renderWidth??w.width,P=x.renderHeight??w.height;S=Math.ceil(T/t)*t,A=Math.ceil(P/t)*t}return{keyValue:_,img:w,inputData:x,renderWidth:S,renderHeight:A,renderSourceWidth:x.useOriginalSize?w.width:x.renderSourceWidth??Math.min(w.width,w.height),renderSourceHeight:x.useOriginalSize?w.height:x.renderSourceHeight??Math.min(w.width,w.height),renderSourceStartX:x.renderSourceStartX??0,renderSourceStartY:x.renderSourceStartY??0}}),a=new W_(void 0,void 0,0,{square:!0,pot:!0,...r?{}:{smart:!0},logic:r?rs.FILL_WIDTH:rs.MAX_AREA}),o=s.map(_=>{let x=new Zn(_.renderWidth,_.renderHeight);return x.data=_,x});a.addArray(o);let l=a.bins[0];if(!l||!l.rects||!l.rects.length)throw new Error("Failed to pack textures");let c={width:l.width,height:l.height,coords:l.rects.map(_=>({x:_.x,y:_.y,img:{data:_.data}}))},u=new Set;for(let _ of c.coords){let x=_.img.data;if(u.has(x.keyValue))throw new Error(`Duplicate texture keyValue found in atlas: ${x.keyValue}`);u.add(x.keyValue)}if(u.size!==i.length)throw new Error(`Lost some textures in packing: ${i.length-u.size}`);let d=Math.max(T0e(c.width),T0e(c.height));if(d>j_){let _=s.reduce((w,S)=>{let A=`${S.renderWidth}x${S.renderHeight}`;return w[A]=(w[A]||0)+1,w},{}),x=Object.entries(_).sort(([,w],[,S])=>S-w).map(([w,S])=>`${w}(${S})`).join(", ");throw new Error(`Required atlas size ${d} exceeds maximum ${j_}. Texture sizes: ${x}`)}let f=n(d);f.width=d,f.height=d;let v=f.getContext("2d");v.imageSmoothingEnabled=!1;let g={},b=t/d,y=Math.ceil(d/t);for(let _ of c.coords){let x=_.img.data,w=_.x,S=_.y,A=Math.floor(S/t),T=Math.floor(w/t),P=A*y+T;try{v.drawImage(x.img,x.renderSourceStartX,x.renderSourceStartY,x.renderSourceWidth,x.renderSourceHeight,w,S,x.renderWidth,x.renderHeight)}catch(B){throw new Error(`Error drawing ${x.keyValue}: ${B}`)}let I=x.keyValue.split(".").slice(0,-1).join(".")||x.keyValue,k=x.renderWidth/d,L=x.renderHeight/d;g[I]={u:w/d,v:S/d,tileIndex:P,...k==b&&L==b?{}:{su:k,sv:L}}}return{canvas:f,json:{suSv:b,tileSize:t,width:d,height:d,textures:g}}};h();p();m();var TE=i=>{i=i.split("-")[0];let[e,t="0",n="0"]=i.split(".");return parseInt(`${e.padStart(2,"0")}${t.padStart(2,"0")}${n.padStart(2,"0")}`,10)},Hu=async i=>{let e=new Image;return e.crossOrigin="anonymous",e.src=i,e.complete||await new Promise((t,n)=>{e.onload=t,e.onerror=n}),e};var Ys=class i{atlasJson;latestImage;legacyImage;atlasStore;atlasHasLegacyImage;static getTextureInfo(e,t,n,r="latest"){let s=e.get(r,n);if(!s)return;let a=(s.imageType==="latest"?t.latest:t.legacy).suSv;return{...s,su:s?.su??a,sv:s?.sv??a}}constructor(e,t,n){this.atlasJson=e,this.latestImage=t,this.legacyImage=n,this.atlasStore=new Oa,this.atlasStore.inclusive=!1;let r=e,s=(a,o,l,c)=>{for(let[u,d]of Object.entries(l))a.push(o,u,{...d,version:o,imageType:c})};if(s(this.atlasStore,"latest",r.latest.textures,"latest"),this.atlasHasLegacyImage=!!n,n&&r.legacy)for(let a of Object.keys(r.legacy.textures)){let[o,l]=a.split("/");s(this.atlasStore,o,{[l]:r.legacy.textures[a]},"legacy")}}get atlas(){return this.atlasJson}getTextureInfo(e,t="latest"){let n=i.getTextureInfo(this.atlasStore,this.atlas,e,t);if(n)return{...n,getLoadedImage:async()=>await Hu(n.imageType==="latest"?this.latestImage:this.legacyImage),getLoadedAtlasImage:async()=>await Hu(n.imageType==="latest"?this.latestImage:this.legacyImage)}}async makeNewAtlas(e,t,n=this.atlas.latest.tileSize,r,s=[],a={}){let o=this.atlasJson,l={},c=this.atlasHasLegacyImage?await Hu(this.legacyImage):null,u=await Hu(this.latestImage);for(let b of new Set([...Object.keys(o.latest.textures),...s])){let y=t?.(b);if(y===!1)continue;if(y&&y!==!0){let I=typeof y=="string"?await Hu(y):y;l[b]={u:0,v:0,su:1,sv:1,img:I};continue}let _=this.getTextureInfo(b,e);if(!_)throw new Error(`Missing texture info from the provided atlas for ${b} and not custom data is provided`);let{u:x,v:w,su:S,sv:A}=_,T=_.version==="latest"?o.latest:o.legacy,P=_.imageType==="latest"?u:c;if(!P)throw new Error(`Missing image for ${b}`);l[b]={u:x,v:w,su:S??T.suSv,sv:A??T.suSv,img:P}}let d=Object.keys(l);if(r){let b=typeof r=="function"?r:y=>r.includes(y)?1:-1;d.sort((y,_)=>b(_)-b(y))}let{json:f,canvas:v}=I0e({input:d,getLoadedImage:b=>{let y=l[b],_=y.img,x=_.width,w=_.height;return delete y.img,{image:_,renderWidth:y.su*x,renderHeight:y.sv*w,renderSourceStartX:y.u*x,renderSourceStartY:y.v*w,renderSourceWidth:y.su*x,renderSourceHeight:y.sv*w}},tileSize:this.atlas.latest.tileSize,...a}),g;return{canvas:v,atlas:f,get newAtlasParser(){return g||(g=new i({latest:f},v.toDataURL())),g},get image(){return v.toDataURL()}}}async createDebugImage(e=!1){let t=this.atlas.latest;if(t.width!==t.height)throw new Error("Atlas must be square");let r=Math.min(j_,t.width*(e?6:1))/t.width,s=t.height*r,a=t.width*r,o=globalThis.Canvas?new globalThis.Canvas(a,s):document.createElement("canvas");o.width=a,o.height=s;let l=o.getContext("2d");l.imageSmoothingEnabled=!1,l.webkitImageSmoothingEnabled=!1,l.mozImageSmoothingEnabled=!1,l.msImageSmoothingEnabled=!1;let c=await Hu(this.latestImage);l.drawImage(c,0,0,t.width,t.height,0,0,a,s),l.strokeStyle="#ff0000",l.lineWidth=2;let u=Object.keys(t.textures),d=u.length,f=0;return u.forEach((v,g)=>{let b=t.textures[v],y=Math.floor(g/d*100);y>=f+10&&(console.log(`Processing textures: ${y}% (${g}/${d})`),f=y);let _=b.u*t.width*r,x=b.v*t.height*r,w=(b.su||t.suSv)*t.width*r,S=(b.sv||t.suSv)*t.height*r,A=l.createPattern((()=>{let T=globalThis.Canvas?new globalThis.Canvas(10,10):document.createElement("canvas");T.width=10,T.height=10;let P=T.getContext("2d");return P.fillStyle="#ff0000",P.fillRect(0,0,5,10),P.fillStyle="#ffff00",P.fillRect(5,0,5,10),T})(),"repeat");if(l.strokeStyle=A,l.strokeRect(_,x,w,S),e){let T=v,P=4,I=w-P*2,k=12;do{if(l.font=`${k}px monospace`,l.measureText(T).width<=I||k<=6)break;k-=1}while(k>6);l.fillStyle="white",l.strokeStyle="black",l.lineWidth=Math.max(1,k/6),l.textBaseline="top";let L=_+P,B=x+P,U=T.split(/(?=[A-Z_/])/g),O="",V=[];for(let J of U){let $=O+J;l.measureText($).width>I&&O!==""?(V.push(O),O=J):O=$}V.push(O);let F=k*1.2;V.forEach((J,$)=>{l.strokeText(J,L,B+$*F),l.fillText(J,L,B+$*F)})}}),console.log(`Processing textures: 100% (${d}/${d})`),o.toDataURL()}};h();p();m();h();p();m();var R0e=i=>{let e=i.split(":");return e.length===1?"minecraft":e.length===2?e[0]:e.slice(0,-1).join(":")},mh=class{version;blockStatesStore;blockModelsStore;stateIdToElements={};constructor(e,t,n){this.version=e,this.blockStatesStore=t,this.blockModelsStore=n}getElementsCached(e){let{stateId:t}=e;if(this.stateIdToElements[t])return this.stateIdToElements[t];let n=this.getElements(e),r=n===0?[]:n;return this.stateIdToElements[t]=r,r}parseProperties(e){if(typeof e=="object")return e;let t={};for(let n of e.split(",")){let[r,s]=n.split("=");t[r]=s}return t}getElements(e,t=!1){let n=this.getResolvedModelFirst(e,t);if(!n)return 0;let r=[];for(let a of n)a?.elements&&r.push(...a.elements.map(({from:o,to:l})=>[o,l]));return r.length===1&&C0e(r[0][0],[0,0,0])&&C0e(r[0][1],[16,16,16])?1:r}resolvedModel={modelName:""};issues=[];matchedModels=[];matchedConditions=[];getModelsByBlock(e,t,n){this.matchedModels=[],this.matchedConditions=[];let r=(d,f)=>{if(!f)return!0;typeof f=="string"&&(f=this.parseProperties(f));let v=d.properties;if(f.OR)return f.OR.some(g=>r(d,g));if(f.AND)return f.AND.every(g=>r(d,g));for(let g in f)if(typeof f[g]!="string"&&(f[g]=String(f[g])),!f[g].split("|").some(b=>b===String(v[g])))return!1;return!0},s=[],a=this.blockStatesStore.get(this.version,e.name);if(!a){this.issues.push(`Block ${e.name} not found in all registered blockstates. Place it into assets/${R0e(e.name)}/blockstates/${e.name}.json`);return}let o=a.variants,l=!1;if(o){let d=o[""]||o.normal;for(let f in o)if(f!==""&&r(e,f)){d=o[f];break}if(d){let f=Object.entries(o).find(([v])=>d===o[v])?.[0];this.matchedConditions.push(`variant:${f}`)}if(!d)if(t){let f=Object.keys(o)[0];d=o[f],this.matchedConditions.push(`fallback:${f}`)}else return;d&&(s.push(d),l=!0)}if(a.multipart){for(let{when:d,apply:f}of a.multipart)(!d||r(e,d))&&(s.push(f),this.matchedConditions.push(d?`multipart:${JSON.stringify(d)}`:"multipart:always"));if(!s.length&&t){let f=a.multipart.filter(v=>v.when)[0]?.apply;f&&(s.push(f),this.matchedConditions.push("multipart:fallback"))}}if(!s.length){if(!l){let d=Object.keys(o??{}).length;d?this.issues.push(`Block did not match any possible state (${d} possible states)`):this.issues.push(`Blockstates for ${e.name} are not defined`)}return}let c=[],u=0;for(let d of s){u++;let f=0;c.push([]);for(let v of Array.isArray(d)?d:[d])if(f++,this.resolvedModel={modelName:v.model??e.name,x:v.x,y:v.y,z:v.z,uvlock:v.uvlock,weight:v.weight},!!v&&(this.getResolvedModelsByModel(v.model,e.name+"-"+u+"-"+f,!1),c[c.length-1].push(this.resolvedModel),!n&&c[c.length-1].length>0))break}return c}getModelData(e){return this.blockModelsStore.get(this.version,e.replace("minecraft:",""))}getResolvedModelsByModel(e,t,n=!0){n&&(this.resolvedModel={modelName:this.resolvedModel.modelName});let r=this.getModelData(e);if(!r){this.issues.push(`Model ${e} not found. Ensure it is present in assets/${R0e(e)}/models/${e}.json`);return}return this.matchedModels.push(e),this.getResolvedModelsByModelData(r,t,n)}getResolvedModelsByModelData(e,t,n=!0){n&&(this.resolvedModel={modelName:this.resolvedModel.modelName});let r=[],s=o=>{if(r.push(o),o.parent){let l=this.getModelData(o.parent);if(!l){this.issues.push(`Parent model ${o.parent} not found for ${t}`);return}this.matchedModels.push(`parent:${o.parent}`),s(l)}};s(e),r.reverse();for(let o of r){if(o.textures){this.resolvedModel.textures??={};for(let[l,c]of Object.entries(o.textures)){if(c.includes("#")&&(c=c.split("/").at(-1)),c.startsWith("#")){let u=c.slice(1);this.resolvedModel.textures[u]&&(c=this.resolvedModel.textures[u])}this.resolvedModel.textures[l]=c}}o.elements&&(this.resolvedModel.elements=o.elements);for(let[l,c]of Object.entries(o))l!=="elements"&&l!=="textures"&&l!=="parent"&&(this.resolvedModel[l]&&typeof this.resolvedModel[l]=="object"&&c&&typeof c=="object"?Object.assign(this.resolvedModel[l],c):this.resolvedModel[l]=c)}let a=(o,l,c)=>{if(c.push(l),o.includes("#")){if(o=o.split("/").at(-1).replace("#",""),this.resolvedModel.textures??={},c.includes(o)){this.issues.push(`${t}: Circular texture reference detected: ${c.join(" -> ")}`);return}let u=this.resolvedModel.textures[o];if(u)return a(u,o,c);this.issues.push(`${t}: Cannot resolve texture ${o} for ${l} because it is not defined`);return}return o};for(let[o,l]of Object.entries(this.resolvedModel.textures??{})){if(!l.includes("#"))continue;let c=a(l,o,[]);c?this.resolvedModel.textures[o]=c:delete this.resolvedModel.textures[o]}for(let o of this.resolvedModel.elements??[])for(let[l,c]of Object.entries(o.faces??{}))c.texture&&(c.texture=this.resolvedModel.textures[c.texture.replace("#","")]??c.texture);return{resolvedModel:this.resolvedModel}}getResolvedModelFirst(e,t=!1){return this.getModelsByBlock(e,t,!1)?.map(n=>n[0])}getResolvedModelRandom(e,t=!1){return this.getModelsByBlock(e,t,!1)?.map(n=>n[Math.floor(Math.random()*n.length)])}getAllResolvedModels(e,t=!1){return this.getModelsByBlock(e,t,!0)}},C0e=(i,e)=>!!i&&!!e&&i.length===e.length&&i.every((t,n)=>t===e[n]);h();p();m();var qEe=new Oa,GEe=new Oa,WEe=new Oa;qEe.inclusive=!1;GEe.inclusive=!1;WEe.inclusive=!1;var X_=i=>{let e=new Oa;return e.inclusive=!1,e.loadData(i.blockstates),e},$_=i=>{let e=new Oa;return e.inclusive=!1,e.loadData(i.models),e},Y_=i=>{let e=new Oa;return e.inclusive=!1,e.loadData(i),e};function J_(i,e,t){let n=X_(i),r=$_(i),s=new mh(t,n,r),a=new Ys(e,"latest","legacy"),o=c=>a.getTextureInfo(c.replace("block/","").replace("blocks/",""),t),l=(c,u,d)=>{let{elements:f,textures:v,...g}=c;return{elements:f?.map((b,y)=>{try{return{...b,faces:Object.fromEntries(Object.entries(b.faces).map(([_,x])=>{let w=x.texture;if(!w)throw new Error(`Missing resolved texture ${w} for face ${_} of ${u.name}`);let S=o(w);if(!S)throw new Error(`Missing texture data ${w} for ${u.name}`);let A=b.from,T=b.to,P=16,I=x.uv||{north:[T[0],P-T[1],A[0],P-A[1]],east:[A[2],P-T[1],T[2],P-A[1]],south:[A[0],P-T[1],T[0],P-A[1]],west:[A[2],P-T[1],T[2],P-A[1]],up:[A[0],A[2],T[0],T[2]],down:[T[0],A[2],A[0],T[2]]}[_],k=(I[2]-I[0])/P*S.su,L=(I[3]-I[1])/P*S.sv;return[_,{...x,texture:{u:S.u+I[0]/16*S.su,v:S.v+I[1]/16*S.sv,su:k,sv:L,tileIndex:S.tileIndex,debugName:w}}]}))}}catch(_){return d?.push(`Error processing element ${y} in ${u.name}: ${_.message}`),null}}).filter(b=>b!==null),...g}};return{getAllResolvedModels0_1(c,u=!1,d=[],f=[],v=[],g=!1){s.issues=[],s.matchedModels=[],s.matchedConditions=[];let b=s.getAllResolvedModels(c,u)??[];if(d.push(...s.issues),f.push(...s.matchedModels),v.push(...s.matchedConditions),!b.length)return d.push(`No models found for block ${c.name}`),[];let y=["north","east","south","west","up","down"];try{let _=b.map(x=>x.map(w=>{try{return l(w,c,g?d:void 0)}catch(S){return d.push(`Error transforming model for ${c.name}: ${S.message}`),null}}).filter(w=>w?.elements?.length)).filter(x=>x.length);return _.length||d.push(`No valid models after transformation for block ${c.name}`),_}catch(_){return d.push(`Fatal error processing models for ${c.name}: ${_.message}`),[]}},transformModel:l,getTextureInfo:o}}h();p();m();Lt();var LE=Yr(P0e(),1);h();p();m();h();p();m();var K_=class{constructor(e,t,n){this.name=e,this.fg=t,this.bg=n,this.PR=Math.round(window.devicePixelRatio||1),this.WIDTH=90*this.PR,this.HEIGHT=48*this.PR,this.TEXT_X=3*this.PR,this.TEXT_Y=2*this.PR,this.GRAPH_X=3*this.PR,this.GRAPH_Y=15*this.PR,this.GRAPH_WIDTH=84*this.PR,this.GRAPH_HEIGHT=30*this.PR,this.canvas=document.createElement("canvas"),this.canvas.width=90*this.PR,this.canvas.height=48*this.PR,this.canvas.style.width="90px",this.canvas.style.position="absolute",this.canvas.style.height="48px",this.canvas.style.cssText="width:90px;height:48px",this.context=this.canvas.getContext("2d"),this.context&&(this.context.font="bold "+9*this.PR+"px Helvetica,Arial,sans-serif",this.context.textBaseline="top",this.context.fillStyle=this.bg,this.context.fillRect(0,0,this.WIDTH,this.HEIGHT),this.context.fillStyle=this.fg,this.context.fillText(this.name,this.TEXT_X,this.TEXT_Y),this.context.fillRect(this.GRAPH_X,this.GRAPH_Y,this.GRAPH_WIDTH,this.GRAPH_HEIGHT),this.context.fillStyle=this.bg,this.context.globalAlpha=.9,this.context.fillRect(this.GRAPH_X,this.GRAPH_Y,this.GRAPH_WIDTH,this.GRAPH_HEIGHT))}update(e,t,n,r,s=0){let a=1/0,o=0;this.context&&(a=Math.min(a,e),o=Math.max(n,e),r=Math.max(r,t),this.context.fillStyle=this.bg,this.context.globalAlpha=1,this.context.fillRect(0,0,this.WIDTH,this.GRAPH_Y),this.context.fillStyle=this.fg,this.context.fillText(e.toFixed(s)+" "+this.name+" ("+a.toFixed(s)+"-"+parseFloat(o.toFixed(s))+")",this.TEXT_X,this.TEXT_Y),this.context.drawImage(this.canvas,this.GRAPH_X+this.PR,this.GRAPH_Y,this.GRAPH_WIDTH-this.PR,this.GRAPH_HEIGHT,this.GRAPH_X,this.GRAPH_Y,this.GRAPH_WIDTH-this.PR,this.GRAPH_HEIGHT),this.context.fillRect(this.GRAPH_X+this.GRAPH_WIDTH-this.PR,this.GRAPH_Y,this.PR,this.GRAPH_HEIGHT),this.context.fillStyle=this.bg,this.context.globalAlpha=.9,this.context.fillRect(this.GRAPH_X+this.GRAPH_WIDTH-this.PR,this.GRAPH_Y,this.PR,(1-t/r)*this.GRAPH_HEIGHT))}};var L0e=class Z_{constructor({logsPerSecond:e=20,samplesLog:t=100,samplesGraph:n=10,precision:r=2,minimal:s=!1,horizontal:a=!0,mode:o=0}={}){this.mode=o,this.horizontal=a,this.container=document.createElement("div"),this.container.style.cssText="position:fixed;top:0;left:0;opacity:0.9;z-index:10000;",s&&(this.container.style.cssText+="cursor:pointer"),this.gl=null,this.query=null,this.minimal=s,this.beginTime=(performance||Date).now(),this.prevTime=this.beginTime,this.prevCpuTime=this.beginTime,this.frames=0,this.averageCpu={logs:[],graph:[]},this.averageGpu={logs:[],graph:[]},this.queryCreated=!1,this.fpsPanel=this.addPanel(new Z_.Panel("FPS","#0ff","#002"),0),this.msPanel=this.addPanel(new Z_.Panel("CPU","#0f0","#020"),1),this.gpuPanel=null,this.samplesLog=t,this.samplesGraph=n,this.precision=r,this.logsPerSecond=e,this.minimal?(this.container.addEventListener("click",l=>{l.preventDefault(),this.showPanel(++this.mode%this.container.children.length)},!1),this.mode=o,this.showPanel(this.mode)):window.addEventListener("resize",()=>{this.resizePanel(this.fpsPanel,0),this.resizePanel(this.msPanel,1),this.gpuPanel&&this.resizePanel(this.gpuPanel,2)})}resizePanel(e,t){e.canvas.style.position="absolute",this.minimal?e.canvas.style.display="none":(e.canvas.style.display="block",this.horizontal?(e.canvas.style.top="0px",e.canvas.style.left=t*e.WIDTH/e.PR+"px"):(e.canvas.style.left="0px",e.canvas.style.top=t*e.HEIGHT/e.PR+"px"))}addPanel(e,t){return e.canvas&&(this.container.appendChild(e.canvas),this.resizePanel(e,t)),e}showPanel(e){for(let t=0;t<this.container.children.length;t++){let n=this.container.children[t];n.style.display=t===e?"block":"none"}this.mode=e}init(e){if(!e){console.error('Stats: The "canvas" parameter is undefined.');return}if(e instanceof WebGL2RenderingContext)this.gl=e;else if(e instanceof HTMLCanvasElement||e instanceof OffscreenCanvas){if(this.gl=e.getContext("webgl2"),!this.gl){console.error("Stats: Unable to obtain WebGL2 context.");return}}else{console.error("Stats: Invalid input type. Expected WebGL2RenderingContext, HTMLCanvasElement, or OffscreenCanvas.");return}this.ext=this.gl.getExtension("EXT_disjoint_timer_query_webgl2"),this.ext&&(this.gpuPanel=this.addPanel(new Z_.Panel("GPU","#ff0","#220"),2))}begin(){if(this.beginProfiling("cpu-started"),!(!this.gl||!this.ext)){if(this.query){let e=this.gl.getQueryParameter(this.query,this.gl.QUERY_RESULT_AVAILABLE);if(this.disjoint=this.gl.getParameter(this.ext.GPU_DISJOINT_EXT),e&&!this.disjoint){this.ns=this.gl.getQueryParameter(this.query,this.gl.QUERY_RESULT);let t=this.ns*1e-6;(e||this.disjoint)&&(this.gl.deleteQuery(this.query),this.query=null),e&&this.addToAverage(t,this.averageGpu)}}this.query||(this.queryCreated=!0,this.query=this.gl.createQuery(),this.query&&this.gl.beginQuery(this.ext.TIME_ELAPSED_EXT,this.query))}}end(){this.beginTime=this.endInternal(),this.endProfiling("cpu-started","cpu-finished","cpu-duration",this.averageCpu),!(!this.gl||!this.ext)&&this.queryCreated&&this.gl.getQuery(this.ext.TIME_ELAPSED_EXT,this.gl.CURRENT_QUERY)&&this.gl.endQuery(this.ext.TIME_ELAPSED_EXT)}endInternal(){this.frames++;let e=(performance||Date).now();if(e>=this.prevCpuTime+1e3/this.logsPerSecond&&(this.updatePanel(this.msPanel,this.averageCpu),this.updatePanel(this.gpuPanel,this.averageGpu),this.prevCpuTime=e),e>=this.prevTime+1e3){let t=this.frames*1e3/(e-this.prevTime);this.fpsPanel.update(t,t,100,100,0),this.prevTime=e,this.frames=0}return e}addToAverage(e,t){t.logs.push(e),t.logs.length>this.samplesLog&&t.logs.shift(),t.graph.push(e),t.graph.length>this.samplesGraph&&t.graph.shift()}beginProfiling(e){window.performance&&window.performance.mark(e)}endProfiling(e,t,n,r){if(window.performance&&t){window.performance.mark(t);let s=performance.measure(n,e,t);this.addToAverage(s.duration,r)}}updatePanel(e,t){if(t.logs.length>0){let n=0,r=.01;for(let o=0;o<t.logs.length;o++)n+=t.logs[o],t.logs[o]>r&&(r=t.logs[o]);let s=0,a=.01;for(let o=0;o<t.graph.length;o++)s+=t.graph[o],t.graph[o]>a&&(a=t.graph[o]);e&&e.update(n/Math.min(t.logs.length,this.samplesLog),s/Math.min(t.graph.length,this.samplesGraph),r,a,this.precision)}}};L0e.Panel=K_;var B0e=L0e;h();p();m();var Br=Object.freeze({Linear:Object.freeze({None:function(i){return i},In:function(i){return this.None(i)},Out:function(i){return this.None(i)},InOut:function(i){return this.None(i)}}),Quadratic:Object.freeze({In:function(i){return i*i},Out:function(i){return i*(2-i)},InOut:function(i){return(i*=2)<1?.5*i*i:-.5*(--i*(i-2)-1)}}),Cubic:Object.freeze({In:function(i){return i*i*i},Out:function(i){return--i*i*i+1},InOut:function(i){return(i*=2)<1?.5*i*i*i:.5*((i-=2)*i*i+2)}}),Quartic:Object.freeze({In:function(i){return i*i*i*i},Out:function(i){return 1- --i*i*i*i},InOut:function(i){return(i*=2)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2)}}),Quintic:Object.freeze({In:function(i){return i*i*i*i*i},Out:function(i){return--i*i*i*i*i+1},InOut:function(i){return(i*=2)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2)}}),Sinusoidal:Object.freeze({In:function(i){return 1-Math.sin((1-i)*Math.PI/2)},Out:function(i){return Math.sin(i*Math.PI/2)},InOut:function(i){return .5*(1-Math.sin(Math.PI*(.5-i)))}}),Exponential:Object.freeze({In:function(i){return i===0?0:Math.pow(1024,i-1)},Out:function(i){return i===1?1:1-Math.pow(2,-10*i)},InOut:function(i){return i===0?0:i===1?1:(i*=2)<1?.5*Math.pow(1024,i-1):.5*(-Math.pow(2,-10*(i-1))+2)}}),Circular:Object.freeze({In:function(i){return 1-Math.sqrt(1-i*i)},Out:function(i){return Math.sqrt(1- --i*i)},InOut:function(i){return(i*=2)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1)}}),Elastic:Object.freeze({In:function(i){return i===0?0:i===1?1:-Math.pow(2,10*(i-1))*Math.sin((i-1.1)*5*Math.PI)},Out:function(i){return i===0?0:i===1?1:Math.pow(2,-10*i)*Math.sin((i-.1)*5*Math.PI)+1},InOut:function(i){return i===0?0:i===1?1:(i*=2,i<1?-.5*Math.pow(2,10*(i-1))*Math.sin((i-1.1)*5*Math.PI):.5*Math.pow(2,-10*(i-1))*Math.sin((i-1.1)*5*Math.PI)+1)}}),Back:Object.freeze({In:function(i){var e=1.70158;return i===1?1:i*i*((e+1)*i-e)},Out:function(i){var e=1.70158;return i===0?0:--i*i*((e+1)*i+e)+1},InOut:function(i){var e=2.5949095;return(i*=2)<1?.5*(i*i*((e+1)*i-e)):.5*((i-=2)*i*((e+1)*i+e)+2)}}),Bounce:Object.freeze({In:function(i){return 1-Br.Bounce.Out(1-i)},Out:function(i){return i<.36363636363636365?7.5625*i*i:i<.7272727272727273?7.5625*(i-=.5454545454545454)*i+.75:i<.9090909090909091?7.5625*(i-=.8181818181818182)*i+.9375:7.5625*(i-=.9545454545454546)*i+.984375},InOut:function(i){return i<.5?Br.Bounce.In(i*2)*.5:Br.Bounce.Out(i*2-1)*.5+.5}}),generatePow:function(i){return i===void 0&&(i=4),i=i<Number.EPSILON?Number.EPSILON:i,i=i>1e4?1e4:i,{In:function(e){return Math.pow(e,i)},Out:function(e){return 1-Math.pow(1-e,i)},InOut:function(e){return e<.5?Math.pow(e*2,i)/2:(1-Math.pow(2-e*2,i))/2+.5}}}}),k3=function(){return performance.now()},vh=function(){function i(){this._tweens={},this._tweensAddedDuringUpdate={}}return i.prototype.getAll=function(){var e=this;return Object.keys(this._tweens).map(function(t){return e._tweens[t]})},i.prototype.removeAll=function(){this._tweens={}},i.prototype.add=function(e){this._tweens[e.getId()]=e,this._tweensAddedDuringUpdate[e.getId()]=e},i.prototype.remove=function(e){delete this._tweens[e.getId()],delete this._tweensAddedDuringUpdate[e.getId()]},i.prototype.update=function(e,t){e===void 0&&(e=k3()),t===void 0&&(t=!1);var n=Object.keys(this._tweens);if(n.length===0)return!1;for(;n.length>0;){this._tweensAddedDuringUpdate={};for(var r=0;r<n.length;r++){var s=this._tweens[n[r]],a=!t;s&&s.update(e,a)===!1&&!t&&delete this._tweens[n[r]]}n=Object.keys(this._tweensAddedDuringUpdate)}return!0},i}(),ph={Linear:function(i,e){var t=i.length-1,n=t*e,r=Math.floor(n),s=ph.Utils.Linear;return e<0?s(i[0],i[1],n):e>1?s(i[t],i[t-1],t-n):s(i[r],i[r+1>t?t:r+1],n-r)},Bezier:function(i,e){for(var t=0,n=i.length-1,r=Math.pow,s=ph.Utils.Bernstein,a=0;a<=n;a++)t+=r(1-e,n-a)*r(e,a)*i[a]*s(n,a);return t},CatmullRom:function(i,e){var t=i.length-1,n=t*e,r=Math.floor(n),s=ph.Utils.CatmullRom;return i[0]===i[t]?(e<0&&(r=Math.floor(n=t*(1+e))),s(i[(r-1+t)%t],i[r],i[(r+1)%t],i[(r+2)%t],n-r)):e<0?i[0]-(s(i[0],i[0],i[1],i[1],-n)-i[0]):e>1?i[t]-(s(i[t],i[t],i[t-1],i[t-1],n-t)-i[t]):s(i[r?r-1:0],i[r],i[t<r+1?t:r+1],i[t<r+2?t:r+2],n-r)},Utils:{Linear:function(i,e,t){return(e-i)*t+i},Bernstein:function(i,e){var t=ph.Utils.Factorial;return t(i)/t(e)/t(i-e)},Factorial:function(){var i=[1];return function(e){var t=1;if(i[e])return i[e];for(var n=e;n>1;n--)t*=n;return i[e]=t,t}}(),CatmullRom:function(i,e,t,n,r){var s=(t-i)*.5,a=(n-e)*.5,o=r*r,l=r*o;return(2*e-2*t+s+a)*l+(-3*e+3*t-2*s-a)*o+s*r+e}}},D0e=function(){function i(){}return i.nextId=function(){return i._nextId++},i._nextId=0,i}(),CE=new vh,jr=function(){function i(e,t){t===void 0&&(t=CE),this._object=e,this._group=t,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=Br.Linear.None,this._interpolationFunction=ph.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=D0e.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1}return i.prototype.getId=function(){return this._id},i.prototype.isPlaying=function(){return this._isPlaying},i.prototype.isPaused=function(){return this._isPaused},i.prototype.to=function(e,t){if(t===void 0&&(t=1e3),this._isPlaying)throw new Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=e,this._propertiesAreSetUp=!1,this._duration=t,this},i.prototype.duration=function(e){return e===void 0&&(e=1e3),this._duration=e,this},i.prototype.dynamic=function(e){return e===void 0&&(e=!1),this._isDynamic=e,this},i.prototype.start=function(e,t){if(e===void 0&&(e=k3()),t===void 0&&(t=!1),this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var n in this._valuesStartRepeat)this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n]}if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=e,this._startTime+=this._delayTime,!this._propertiesAreSetUp||t){if(this._propertiesAreSetUp=!0,!this._isDynamic){var r={};for(var s in this._valuesEnd)r[s]=this._valuesEnd[s];this._valuesEnd=r}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,t)}return this},i.prototype.startFromCurrentValues=function(e){return this.start(e,!0)},i.prototype._setupProperties=function(e,t,n,r,s){for(var a in n){var o=e[a],l=Array.isArray(o),c=l?"array":typeof o,u=!l&&Array.isArray(n[a]);if(!(c==="undefined"||c==="function")){if(u){var d=n[a];if(d.length===0)continue;for(var f=[o],v=0,g=d.length;v<g;v+=1){var b=this._handleRelativeValue(o,d[v]);if(isNaN(b)){u=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(b)}u&&(n[a]=f)}if((c==="object"||l)&&o&&!u){t[a]=l?[]:{};var y=o;for(var _ in y)t[a][_]=y[_];r[a]=l?[]:{};var d=n[a];if(!this._isDynamic){var x={};for(var _ in d)x[_]=d[_];n[a]=d=x}this._setupProperties(y,t[a],d,r[a],s)}else(typeof t[a]>"u"||s)&&(t[a]=o),l||(t[a]*=1),u?r[a]=n[a].slice().reverse():r[a]=t[a]||0}}},i.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},i.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},i.prototype.pause=function(e){return e===void 0&&(e=k3()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=e,this._group&&this._group.remove(this),this)},i.prototype.resume=function(e){return e===void 0&&(e=k3()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=e-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},i.prototype.stopChainedTweens=function(){for(var e=0,t=this._chainedTweens.length;e<t;e++)this._chainedTweens[e].stop();return this},i.prototype.group=function(e){return e===void 0&&(e=CE),this._group=e,this},i.prototype.delay=function(e){return e===void 0&&(e=0),this._delayTime=e,this},i.prototype.repeat=function(e){return e===void 0&&(e=0),this._initialRepeat=e,this._repeat=e,this},i.prototype.repeatDelay=function(e){return this._repeatDelayTime=e,this},i.prototype.yoyo=function(e){return e===void 0&&(e=!1),this._yoyo=e,this},i.prototype.easing=function(e){return e===void 0&&(e=Br.Linear.None),this._easingFunction=e,this},i.prototype.interpolation=function(e){return e===void 0&&(e=ph.Linear),this._interpolationFunction=e,this},i.prototype.chain=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._chainedTweens=e,this},i.prototype.onStart=function(e){return this._onStartCallback=e,this},i.prototype.onEveryStart=function(e){return this._onEveryStartCallback=e,this},i.prototype.onUpdate=function(e){return this._onUpdateCallback=e,this},i.prototype.onRepeat=function(e){return this._onRepeatCallback=e,this},i.prototype.onComplete=function(e){return this._onCompleteCallback=e,this},i.prototype.onStop=function(e){return this._onStopCallback=e,this},i.prototype.update=function(e,t){if(e===void 0&&(e=k3()),t===void 0&&(t=!0),this._isPaused)return!0;var n,r,s=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(e>s)return!1;t&&this.start(e,!0)}if(this._goToEnd=!1,e<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),r=(e-this._startTime)/this._duration,r=this._duration===0||r>1?1:r;var a=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=e+this._repeatDelayTime:this._startTime=e+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var o=0,l=this._chainedTweens.length;o<l;o++)this._chainedTweens[o].start(this._startTime+this._duration,!1);return this._isPlaying=!1,!1}return!0},i.prototype._updateProperties=function(e,t,n,r){for(var s in n)if(t[s]!==void 0){var a=t[s]||0,o=n[s],l=Array.isArray(e[s]),c=Array.isArray(o),u=!l&&c;u?e[s]=this._interpolationFunction(o,r):typeof o=="object"&&o?this._updateProperties(e[s],a,o,r):(o=this._handleRelativeValue(a,o),typeof o=="number"&&(e[s]=a+(o-a)*r))}},i.prototype._handleRelativeValue=function(e,t){return typeof t!="string"?t:t.charAt(0)==="+"||t.charAt(0)==="-"?e+parseFloat(t):parseFloat(t)},i.prototype._swapEndStartRepeatValues=function(e){var t=this._valuesStartRepeat[e],n=this._valuesEnd[e];typeof n=="string"?this._valuesStartRepeat[e]=this._valuesStartRepeat[e]+parseFloat(n):this._valuesStartRepeat[e]=this._valuesEnd[e],this._valuesEnd[e]=t},i}();var CZt=D0e.nextId,Io=CE,PZt=Io.getAll.bind(Io),LZt=Io.removeAll.bind(Io),BZt=Io.add.bind(Io),DZt=Io.remove.bind(Io),O0e=Io.update.bind(Io);h();p();m();function PE(i){if(i==="high-performance")return"high-performance";if(i==="low-power")return"low-power"}var Ln=typeof globalThis.WorkerGlobalScope<"u"&&globalThis instanceof globalThis.WorkerGlobalScope,BE=class{constructor(e,t=0){this.canvas=e;this.stats=new LE.default,this.stats2=new LE.default,this.statsGl=new B0e({minimal:!0}),this.stats2.showPanel(2),this.denseMode=typeof process<"u"&&!0||typeof window<"u"&&window.innerHeight<500,this.initStats(),this.setVisibility(t)}stats;stats2;statsGl;total=0;denseMode;addStat(e,t=80){e.style.position="absolute",this.denseMode&&(e.style.height="12px"),e.style.overflow="hidden",e.style.left="",e.style.top="0",e.style.right=`${this.total}px`,e.style.width="80px",e.style.zIndex="1",e.style.opacity="0.8";let n=document.getElementById("corner-indicator-stats"),r=n??document.body;n&&(e.style.position="relative"),r.appendChild(e),this.total+=t}initStats(){let e=this.stats2.dom.children.length===3;this.addStat(this.stats.dom),e&&this.addStat(this.stats2.dom),this.statsGl.init(this.canvas),this.statsGl.container.style.display="flex",this.statsGl.container.style.justifyContent="flex-end";let t=0;for(let n of this.statsGl.container.children){let r=n;t++===0&&(r.style.display="none"),r.style.position=""}}setVisibility(e){e>0?(this.stats.dom.style.display="block",this.stats2.dom.style.display=e>=2?"block":"none",this.statsGl.container.style.display=e>=2?"block":"none"):(this.stats.dom.style.display="none",this.stats2.dom.style.display="none",this.statsGl.container.style.display="none")}markStart(){this.stats.begin(),this.stats2.begin(),this.statsGl.begin()}markEnd(){this.stats.end(),this.stats2.end(),this.statsGl.end()}dispose(){this.stats.dom.remove(),this.stats2.dom.remove(),this.statsGl.container.remove()}},Q_=class{constructor(e,t,n){this.initOptions=e;this.externalCanvas=t;this.config=e.config,t?this.canvas=t:this.addToPage();try{let s=e.getRendererOptions?.()?.gpuPreference??"default";this.renderer=new l2({canvas:this.canvas,preserveDrawingBuffer:!0,logarithmicDepthBuffer:!0,powerPreference:PE(s)})}catch(s){throw e.callbacks.displayCriticalError(new Error(`Failed to create WebGL context, not possible to render (restart browser): ${s.message}`)),s}this.renderer.outputColorSpace=Wr,t||(this.updatePixelRatio(),this.setupResizeListener()),this.sizeUpdated(),this.previousCanvasWidth=this.canvas.width,this.previousCanvasHeight=this.canvas.height;let r="WebGL2RenderingContext"in globalThis;!t&&r&&!Ln&&(this.stats=new BE(this.canvas,this.config.statsVisible)),this.setupFpsTracking(),this.startRenderLoop()}canvas;renderer;animationFrameId;timeoutId;lastRenderTime=0;previousCanvasWidth=0;previousCanvasHeight=0;currentWidth=0;currentHeight=0;pendingResize=!1;renderedFps=0;fpsInterval;stats;paused=!1;disconnected=!1;preRender=()=>{};render=e=>{};postRender=()=>{};sizeChanged=()=>{};droppedFpsPercentage=0;config;onRender=[];inWorldRenderingConfig;nonReactiveState;setupResizeListener(){if(typeof window>"u")return;let e,t=()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.pendingResize=!0},16)};window.addEventListener("resize",t,{passive:!0})}updatePixelRatio(){if(typeof window>"u")return;let e=window.devicePixelRatio||1;this.renderer.capabilities.isWebGL2||(e=1),this.renderer.setPixelRatio(e)}sizeUpdated(){this.renderer.setSize(this.currentWidth,this.currentHeight,!1)}addToPage(){this.canvas=jEe(),this.updateCanvasSize()}updateSizeExternal(e,t,n){this.currentWidth=e,this.currentHeight=t,this.renderer.setPixelRatio(n),this.sizeUpdated()}updateCanvasSize(){if(this.externalCanvas||typeof document>"u")return;let e=document.body.offsetWidth,t=document.body.offsetHeight;this.currentWidth!==e&&(this.currentWidth=e),this.currentHeight!==t&&(this.currentHeight=t)}setupFpsTracking(){let e=0;this.fpsInterval=setInterval(()=>{e>0&&(this.droppedFpsPercentage=this.renderedFps/e),e=Math.max(this.renderedFps,e),this.nonReactiveState&&(this.nonReactiveState.fps=this.renderedFps),this.renderedFps=0},1e3)}startRenderLoop(){let e=()=>{if(this.disconnected)return;if(this.config.timeoutRendering){let r=1e3/(this.config.fpsLimit?Math.min(this.config.fpsLimit,60):60);this.timeoutId=setTimeout(e,r)}else this.animationFrameId=requestAnimationFrame(e);if(this.paused||this.renderer.xr.isPresenting&&!this.inWorldRenderingConfig?.vrPageGameRendering)return;if(!this.config.timeoutRendering&&this.config.fpsLimit){let n=performance.now(),r=n-this.lastRenderTime,s=1e3/this.config.fpsLimit;if(r<s)return;this.lastRenderTime=n-r%s}let t=!1;this.pendingResize&&(this.updateCanvasSize(),this.pendingResize=!1),(this.previousCanvasWidth!==this.currentWidth||this.previousCanvasHeight!==this.currentHeight)&&(this.previousCanvasWidth=this.currentWidth,this.previousCanvasHeight=this.currentHeight,this.sizeUpdated(),t=!0),this.frameRender(t),this.config.statsVisible!==void 0&&this.stats?.setVisibility(this.config.statsVisible)};e()}frameRender(e){this.preRender(),this.stats?.markStart(),O0e(),globalThis.freezeRender||this.render(e);for(let t of this.onRender)t(e);this.renderedFps++,this.stats?.markEnd(),this.postRender()}setPaused(e){this.paused=e}dispose(){this.disconnected=!0,this.animationFrameId&&cancelAnimationFrame(this.animationFrameId),this.timeoutId&&clearTimeout(this.timeoutId),this.canvas instanceof HTMLCanvasElement&&this.canvas.remove(),clearInterval(this.fpsInterval),this.stats?.dispose(),this.renderer.dispose()}};function jEe(){let i=document.createElement("canvas");return i.id="viewer-canvas",document.body.appendChild(i),i}h();p();m();var T3=class{version;itemsAtlasParser;blocksAtlasParser;blockStatesStore;modelsStore;assetsParser;constructor(e,t,n,r){this.version=e,this.itemsAtlasParser=n,this.blocksAtlasParser=r,this.blockStatesStore=X_(t),this.modelsStore=$_(t),this.assetsParser=new mh(e,this.blockStatesStore,this.modelsStore)}resolveTexture(e){e.startsWith("minecraft:")&&(e=e.slice(10));let t=e.includes("items/")?"items":e.includes("block/")||e.includes("blocks/")?"blocks":"items",n=t==="blocks"?this.blocksAtlasParser:this.itemsAtlasParser,r=n.getTextureInfo(e.replace("block/","").replace("blocks/","").replace("item/","").replace("items/",""),this.version);if(!r)return;let s=n.atlas[r.imageType];return{slice:[r.u*s.width,r.v*s.height,r.su*s.width,r.sv*s.height],type:t,path:t}}resolveBlockModel(e,t){if(!this.blocksAtlasParser)return;let{resolvedModel:n}=this.assetsParser.getResolvedModelsByModelData(e);if(n?.elements?.length)return{resolvedModel:n,get top(){throw new Error("Was called with onlyResolveBlockModel = true")},get left(){throw new Error("Was called with onlyResolveBlockModel = true")},get right(){throw new Error("Was called with onlyResolveBlockModel = true")}}}tryGetFullBlock(e,t){if(!this.blocksAtlasParser)return;let{resolvedModel:n}=this.assetsParser.getResolvedModelsByModelData(e);if(!n?.elements?.length||!n.elements.every(f=>f.from[0]===0&&f.from[1]===0&&f.from[2]===0&&f.to[0]===16&&f.to[1]===16&&f.to[2]===16))return;let s=n.elements[0],a=s.faces.up?.texture??s.faces.top?.texture,o=s.faces.east?.texture??s.faces.left?.texture??s.faces.side?.texture,l=s.faces.north?.texture??s.faces.right?.texture??s.faces.side?.texture;if(!a||!o||!l)return;let c=this.resolveTexture(a);if(!c)throw new Error(`Missing texture for ${t} top texture`);let u=this.resolveTexture(o);if(!u)throw new Error(`Missing texture for ${t} left texture`);let d=this.resolveTexture(l);if(!d)throw new Error(`Missing texture for ${t} right texture`);return{top:c,left:u,right:d,resolvedModel:n}}getItemTexture(e,t={},n=!1,r=!1){let[s,a]=e.includes(":")?e.split(":"):["minecraft",e],o=s==="minecraft"?"":s,l=a,c=o?`${o}:item/${l}`:`item/${l}`,u=o?`${o}:block/${l}`:`block/${l}`,d=o?`${o}:${l}`:l,f=b=>this.modelsStore.get(this.version,b),v;{if(v=f(d),!n&&!v){let y=f(c);y&&y.textures?.layer0&&(v=y)}let b=v?.parent?.includes("block/");if(!v)if(r&&!o){let[y]=this.assetsParser.getResolvedModelFirst({name:l,properties:{}},!0)??[];if(y)return{resolvedModel:y,get top(){throw new Error("Was called with onlyResolveBlockModel = true")},get left(){throw new Error("Was called with onlyResolveBlockModel = true")},get right(){throw new Error("Was called with onlyResolveBlockModel = true")}}}else v=f(u),v&&(b=!0);if(b||v?.elements)return r?this.resolveBlockModel(v,d):this.tryGetFullBlock(v,d)}if(!v)return;let g=d.includes("block/")?Object.values(v.textures??{})[0]:v.textures?.layer0;if(g)return(g.startsWith("invsprite_")?this.resolveTexture(g.replace("invsprite_","")):void 0)??this.resolveTexture(g)}};h();p();m();function DE(i,e=0){if(e>16)return;if(i==null)return i;let t=typeof i;if(t==="function"||t==="symbol")return;if(t==="bigint")return i.toString();if(t!=="object"||i instanceof ArrayBuffer)return i;if(ArrayBuffer.isView(i)){let s=i;return s.buffer.slice(s.byteOffset,s.byteOffset+s.byteLength)}if(i instanceof Date)return i.toISOString();if(Array.isArray(i))return i.map(s=>DE(s,e+1)).filter(s=>s!==void 0);let n=i;if(typeof n.x=="number"&&typeof n.y=="number"&&typeof n.z=="number"&&!("w"in n))return{x:n.x,y:n.y,z:n.z};let r={};for(let s of Object.keys(n)){if(s==="_client"||s==="_events"||s==="_eventsCount")continue;let a=DE(n[s],e+1);a!==void 0&&(r[s]=a)}return r}function e4(i){return i.map(e=>DE(e))}var t4=null;function V0e(i){return Ln?((!t4||typeof t4.get!="function")&&(t4=Y_(H_)),t4):(z0e(i),i.itemsDefinitionsStore)}function z0e(i){Ln||typeof i.itemsDefinitionsStore?.get=="function"||(i.itemsDefinitionsStore=Y_(i.sourceItemDefinitionsJson??H_))}var I3=class{sourceItemDefinitionsJson=H_;itemsDefinitionsStore=Y_(this.sourceItemDefinitionsJson);allReady=!1;itemsAtlasImage;blocksAtlasImage;blocksAtlasJson;itemsAtlasJson;customBlockStates;customModels;customItemModelNames={};customTextures={};guiAtlas=null;guiAtlasVersion=0;itemsRenderer;worldBlockProvider;blockstatesModels=null;version;texturesVersion;mcData;constructor(e){if(e){let t={...e};delete t.itemsDefinitionsStore,delete t.sourceItemDefinitionsJson,Object.assign(this,t),z0e(this)}if(this.version){let t=globalThis.loadedData??globalThis.mcData;Ln&&t?.entitiesByName?this.mcData=t:this.mcData=(0,OE.default)(this.version)}}prepareForTransfer(){let e={};for(let t in this)Object.prototype.hasOwnProperty.call(this,t)&&typeof this[t]!="function"&&(t==="itemsRenderer"||t==="worldBlockProvider"||t==="mcData"||t==="itemsDefinitionsStore"||t==="sourceItemDefinitionsJson"||(e[t]=this[t]));return e.customTextures={},delete e.itemsDefinitionsStore,delete e.sourceItemDefinitionsJson,e}},F0e="1.21.4",oc=class oc extends W0{rebuildWorkerRenderers(e){if(Ln&&!(!e.version||!e.blockstatesModels||!e.blocksAtlasJson)){if(this.blocksAtlasParser=new Ys({latest:e.blocksAtlasJson},""),e.itemsAtlasJson)this.itemsAtlasParser=new Ys({latest:e.itemsAtlasJson},"");else if(!this.itemsAtlasParser?.atlas?.latest){if(!this.sourceItemsAtlases||Object.keys(this.sourceItemsAtlases).length===0)return;this.itemsAtlasParser=new Ys(this.sourceItemsAtlases,"")}e.itemsRenderer=new T3(e.version,e.blockstatesModels,this.itemsAtlasParser,this.blocksAtlasParser),e.worldBlockProvider=J_(e.blockstatesModels,this.blocksAtlasParser.atlas,F0e)}}static restoreTransferred(e,t){let n=new oc,r=s=>{n.currentResources=new I3(s),n.rebuildWorkerRenderers(n.currentResources)};return r(e.currentResources),t&&t.addEventListener("message",({data:s})=>{s.class===oc.restorerName&&(s.type==="newResources"&&(console.log("[worker] got new resources"),r(s.currentResources)),s.type==="event"&&n.emit(s.eventName,...s.args))}),n}enrichTransferSnapshot(e){return e&&(this.itemsAtlasParser?.atlas?.latest&&(e.itemsAtlasJson=this.itemsAtlasParser.atlas.latest),this.blocksAtlasParser?.atlas?.latest&&(e.blocksAtlasJson=this.blocksAtlasParser.atlas.latest),e)}prepareForTransfer(e){if(e){let t=this.emit.bind(this);this.emit=(n,...r)=>{if(t(n,...r),e.postMessage({class:oc.restorerName,type:"event",eventName:n,args:e4(r)}),n==="assetsTexturesUpdated"||n==="assetsInventoryReady"){let s=this.enrichTransferSnapshot(this.currentResources?.prepareForTransfer());e.postMessage({class:oc.restorerName,type:"newResources",currentResources:s})}}}return{__restorer:oc.restorerName,currentResources:this.enrichTransferSnapshot(this.currentResources?.prepareForTransfer())}}sourceBlockStatesModels=null;sourceBlocksAtlases=M3;sourceItemsAtlases=y0e;currentResources;itemsAtlasParser;blocksAtlasParser;currentConfig;abortController=new AbortController;_promiseAssetsReadyResolvers=Promise.withResolvers();get promiseAssetsReady(){return this._promiseAssetsReadyResolvers.promise}async loadSourceData(e=this.currentConfig?.version){if(!e)throw new Error("No version loaded");this.sourceBlockStatesModels??=(await Promise.resolve().then(()=>(U0e(),N0e))).default}resetResources(){this.currentResources=new I3}async updateAssetsData(e,t=!1){if(!this.currentConfig)throw new Error("No config loaded");this._promiseAssetsReadyResolvers=Promise.withResolvers();let n=new AbortController;if(await this.loadSourceData(this.currentConfig.version),n.signal.aborted)return;let r=this.currentResources??new I3;r.version=this.currentConfig.version,r.texturesVersion=this.currentConfig.texturesVersion??r.version,r.mcData=(0,OE.default)(r.version),r.blockstatesModels={blockstates:{},models:{}},r.blockstatesModels.blockstates.latest={...this.sourceBlockStatesModels.blockstates.latest,...r.customBlockStates},r.blockstatesModels.models.latest={...this.sourceBlockStatesModels.models.latest,...r.customModels},console.time("recreateAtlases"),await Promise.all([this.recreateBlockAtlas(r),this.recreateItemsAtlas(r)]),console.timeEnd("recreateAtlases"),!n.signal.aborted&&(r.version&&r.blockstatesModels&&this.itemsAtlasParser&&this.blocksAtlasParser&&(r.itemsRenderer=new T3(r.version,r.blockstatesModels,this.itemsAtlasParser,this.blocksAtlasParser)),!n.signal.aborted&&(this.currentResources=r,r.allReady=!0,t||this.emit("assetsTexturesUpdated"),this.currentConfig.noInventoryGui?this._promiseAssetsReadyResolvers.resolve():(this.emit("assetsInventoryStarted"),this.generateGuiTextures().then(()=>{n.signal.aborted||(t||this.emit("assetsInventoryReady"),this._promiseAssetsReadyResolvers.resolve())}))))}async recreateBlockAtlas(e=this.currentResources){let t={},n=new Date;(n.getMonth()===11&&n.getDate()>=24||n.getMonth()===0&&n.getDate()<=6)&&Object.assign(t,k0e);let r=new Ys(this.sourceBlocksAtlases,b0e,x0e),s=Object.keys(e.customTextures.blocks?.textures??{});console.time("createBlocksAtlas");let{atlas:a,canvas:o}=await r.makeNewAtlas(e.texturesVersion,l=>{if(this.currentConfig.includeOnlyBlocks&&!this.currentConfig.includeOnlyBlocks.includes(l))return!1;let c=e.customTextures.blocks?.textures[l];return t[l]??c},void 0,void 0,s,{needHorizontalIndexes:!!this.currentConfig.includeOnlyBlocks});console.timeEnd("createBlocksAtlas"),this.blocksAtlasParser=new Ys({latest:a},o.toDataURL()),e.blocksAtlasImage=await createImageBitmap(o),e.blocksAtlasJson=this.blocksAtlasParser.atlas.latest,e.worldBlockProvider=J_(e.blockstatesModels,this.blocksAtlasParser.atlas,F0e)}async recreateItemsAtlas(e=this.currentResources){let t=new Ys(this.sourceItemsAtlases,w0e,S0e),n=Object.keys(e.customTextures.items?.textures??{}),{atlas:r,canvas:s}=await t.makeNewAtlas(e.texturesVersion,a=>{let o=e.customTextures.items?.textures[a];if(o)return o},e.customTextures.items?.tileSize,void 0,n);this.itemsAtlasParser=new Ys({latest:r},s.toDataURL()),e.itemsAtlasImage=await createImageBitmap(s),e.itemsAtlasJson=this.itemsAtlasParser.atlas.latest}async generateGuiTextures(){}async downloadDebugAtlas(e=!1){if(!this.currentResources)throw new Error("No resources loaded");let r=await(e?this.itemsAtlasParser:this.blocksAtlasParser).createDebugImage(!0),s=document.createElement("a");s.href=r,s.download=`atlas-debug-${e?"items":"blocks"}.png`,s.click()}destroy(){this.abortController.abort(),this.currentResources=void 0,this.abortController=new AbortController}};Wn(oc,"restorerName","ResourcesManager");var lc=oc;h();p();m();var n4=class{constructor(e){this.nonReactiveState=e;this.nonReactiveState.renderer||(this.nonReactiveState.renderer={timeline:{live:[],frozen:[],lastSecond:[]}}),this.nonReactiveState.renderer.timeline||(this.nonReactiveState.renderer.timeline={live:[],frozen:[],lastSecond:[]}),setInterval(()=>{this.updateLastSecondTimeline()},this.lastSecondUpdateInterval)}events=[];frozenEvents=[];lastSecondEvents=[];currentFrameStartTime=null;lastInteractionTime=0;lastSecondUpdateTime=0;timeWindowMs=5e3;lastSecondWindowMs=1e3;maxEvents=500;lastSecondUpdateInterval=1e3;markFrameStart(){this.currentFrameStartTime=performance.now(),this.addEvent({type:"frameStart",timestamp:this.currentFrameStartTime})}markFrameEnd(){if(!this.currentFrameStartTime)return;let e=performance.now(),t=e-this.currentFrameStartTime;this.addEvent({type:"frameEnd",timestamp:e,duration:t}),this.currentFrameStartTime=null}markCameraUpdate(e){if(!e)return;let t=performance.now();this.lastInteractionTime=t,this.addEvent({type:"cameraUpdate",timestamp:t}),this.frozenEvents=[...this.events],this.trimEvents(this.frozenEvents),this.syncFrozenEvents()}markFrameDisplay(){this.addEvent({type:"frameDisplay",timestamp:performance.now()})}addEvent(e){this.events.push(e),this.lastSecondEvents.push(e),this.trimEvents(this.events),this.trimLastSecondEvents(),this.syncLiveEvents()}trimEvents(e){let n=performance.now()-this.timeWindowMs;for(;e.length>0&&e[0].timestamp<n;)e.shift();e.length>this.maxEvents&&e.splice(0,e.length-this.maxEvents)}trimLastSecondEvents(){let t=performance.now()-this.lastSecondWindowMs;for(;this.lastSecondEvents.length>0&&this.lastSecondEvents[0].timestamp<t;)this.lastSecondEvents.shift()}updateLastSecondTimeline(){let e=performance.now();e-this.lastSecondUpdateTime<this.lastSecondUpdateInterval||(this.lastSecondUpdateTime=e,this.trimLastSecondEvents(),this.syncLastSecondEvents())}syncLiveEvents(){this.nonReactiveState.renderer.timeline.live=[...this.events]}syncFrozenEvents(){this.nonReactiveState.renderer.timeline.frozen=[...this.frozenEvents]}syncLastSecondEvents(){this.nonReactiveState.renderer.timeline.lastSecond=[...this.lastSecondEvents]}clear(){this.events=[],this.frozenEvents=[],this.lastSecondEvents=[],this.syncLiveEvents(),this.syncFrozenEvents(),this.syncLastSecondEvents()}};h();p();m();Lt();h();p();m();function H0e(i){let e=Math.floor(i.x/16),t=Math.floor(i.z/16);return[e,t]}function NE(i){let e=Math.floor(i.x/16),t=Math.floor(i.y/16),n=Math.floor(i.z/16);return[e,t,n]}h();p();m();Ia();h();p();m();function Sl(i,e,t,n){let r=i[e];return v1(i,()=>{let s=i[e];Object.is(r,s)||t(r=s)},n)}var $Qt=Symbol();h();p();m();var UE={blocks:"blocksArray",blockCollisionShapes:"blockCollisionShapes",biomes:"biomesArray",tints:"tints"};h();p();m();var q0e=16;var G0e=(i,e)=>e?`${i}:${e}`:String(i);h();p();m();var W0e=0,El={},FE=40,r4="mc-renderer-debug-overlay",i4=(i,e=80,t=W0e,n=FE,r)=>{if(Ln)return{updateText(){},setVisibility(){}};let s=document.createElement("div");return s.style.position="fixed",s.style.top=`${n??FE}px`,s.style.right=`${t}px`,s.style.backgroundColor="rgba(0, 0, 0, 0.7)",s.style.color="white",s.style.padding="2px",s.style.fontFamily="monospace",s.style.fontSize="12px",r?.className?s.className=r.className:s.style.zIndex="100",s.style.pointerEvents="none",document.body.appendChild(s),El[i]=s,n===void 0&&t===W0e&&(FE+=20),{updateText(a){s.innerText!==a&&(s.innerText=a)},setVisibility(a){s.style.display=a?"block":"none"}}};var VE=(i,e)=>{Ln||!El[i]||(El[i].innerText=e)},j0e=i=>{if(!Ln)for(let e in El)El[e].style.display=i?"block":"none"},X0e=()=>{if(!Ln)for(let i in El)$Ee(i)},$Ee=i=>{Ln||!El[i]||(El[i].remove(),delete El[i])};h();p();m();var YEe=()=>_l({playerSkin:void 0,inWater:!1,waterBreathing:!1,backgroundColor:[0,0,0],ambientLight:0,directionalLight:0,eyeHeight:0,gameMode:void 0,lookingAtBlock:void 0,diggingBlock:void 0,movementState:"NOT_MOVING",onGround:!0,sneaking:!1,flying:!1,sprinting:!1,walkDist:0,prevWalkDist:0,bob:0,prevBob:0,itemUsageTicks:0,username:"",onlineMode:!1,cardinalLight:"default",lightingDisabled:!1,shouldHideHand:!1,heldItemMain:void 0,heldItemOff:void 0,perspective:"first_person",onFire:!1,fovMultiplier:1,cameraSpectatingEntity:void 0,team:void 0}),$0e=i=>({isSpectator(){return i.gameMode==="spectator"},isSpectatingEntity(){return i.cameraSpectatingEntity!==void 0&&i.gameMode==="spectator"},isThirdPerson(){return this.isSpectatingEntity()?!1:i.perspective==="third_person_back"||i.perspective==="third_person_front"}}),Y0e=()=>({reactive:YEe()});h();p();m();h();p();m();h();p();m();h();p();m();function zE(i,e,t,n,r){let s=i.getImageData(e,t,n,r);for(let a=0;a<n;a++)for(let o=0;o<r;o++){let l=(a+o*n)*4;if(s.data[l+3]!==255)return!0}return!1}function s4(i){return i/64}function J0e(i,e,t){if(t){if(zE(i,0,0,e,e))return}else if(zE(i,0,0,e,e/2))return;let n=s4(e),r=(s,a,o,l)=>i.clearRect(s*n,a*n,o*n,l*n);r(40,0,8,8),r(48,0,8,8),r(32,8,8,8),r(40,8,8,8),r(48,8,8,8),r(56,8,8,8),t&&(r(4,32,4,4),r(8,32,4,4),r(0,36,4,12),r(4,36,4,12),r(8,36,4,12),r(12,36,4,12),r(20,32,8,4),r(28,32,8,4),r(16,36,4,12),r(20,36,8,12),r(28,36,4,12),r(32,36,8,12),r(44,32,4,4),r(48,32,4,4),r(40,36,4,12),r(44,36,4,12),r(48,36,4,12),r(52,36,12,12),r(4,48,4,4),r(8,48,4,4),r(0,52,4,12),r(4,52,4,12),r(8,52,4,12),r(12,52,4,12),r(52,48,4,4),r(56,48,4,4),r(48,52,4,12),r(52,52,4,12),r(56,52,4,12),r(60,52,4,12))}function JEe(i,e){i.save(),i.scale(-1,1);let t=s4(e),n=(r,s,a,o,l,c)=>i.drawImage(i.canvas,r*t,s*t,a*t,o*t,-l*t,c*t,-a*t,o*t);n(4,16,4,4,20,48),n(8,16,4,4,24,48),n(0,20,4,12,24,52),n(4,20,4,12,20,52),n(8,20,4,12,16,52),n(12,20,4,12,28,52),n(44,16,4,4,36,48),n(48,16,4,4,40,48),n(40,20,4,12,40,52),n(44,20,4,12,36,52),n(48,20,4,12,32,52),n(52,20,4,12,44,52),i.restore()}function HE(i,e){let t=!1;if(e.width!==e.height)if(e.width===2*e.height)t=!0;else throw new Error(`Bad skin size: ${e.width}x${e.height}`);let n=i.getContext("2d",{willReadFrequently:!0});if(t){let r=e.width;i.width=r,i.height=r,n.clearRect(0,0,r,r),n.drawImage(e,0,0,r,r/2),JEe(n,r),J0e(n,i.width,!1)}else i.width=e.width,i.height=e.height,n.clearRect(0,0,e.width,e.height),n.drawImage(e,0,0,i.width,i.height),J0e(n,i.width,!0)}function KEe(i){if(i.width===2*i.height)return i.width/64;if(i.width*17===i.height*22)return i.width/22;if(i.width*11===i.height*23)return i.width/46;throw new Error(`Bad cape size: ${i.width}x${i.height}`)}function qE(i,e){let t=KEe(e);i.width=64*t,i.height=32*t;let n=i.getContext("2d",{willReadFrequently:!0});n.clearRect(0,0,i.width,i.height),n.drawImage(e,0,0,e.width,e.height)}function ZEe(i,e,t,n,r){let s=i.getImageData(e,t,n,r);for(let a=0;a<n;a++)for(let o=0;o<r;o++){let l=(a+o*n)*4;if(!(s.data[l+0]===0&&s.data[l+1]===0&&s.data[l+2]===0&&s.data[l+3]===255))return!1}return!0}function QEe(i,e,t,n,r){let s=i.getImageData(e,t,n,r);for(let a=0;a<n;a++)for(let o=0;o<r;o++){let l=(a+o*n)*4;if(!(s.data[l+0]===255&&s.data[l+1]===255&&s.data[l+2]===255&&s.data[l+3]===255))return!1}return!0}function GE(i){let e=s4(i.width),t=i.getContext("2d",{willReadFrequently:!0}),n=(o,l,c,u)=>zE(t,o*e,l*e,c*e,u*e),r=(o,l,c,u)=>ZEe(t,o*e,l*e,c*e,u*e),s=(o,l,c,u)=>QEe(t,o*e,l*e,c*e,u*e);return n(50,16,2,4)||n(54,20,2,12)||n(42,48,2,4)||n(46,52,2,12)||r(50,16,2,4)&&r(54,20,2,12)&&r(42,48,2,4)&&r(46,52,2,12)||s(50,16,2,4)&&s(54,20,2,12)&&s(42,48,2,4)&&s(46,52,2,12)?"slim":"default"}function WE(i,e){if(e.width!==e.height&&e.width!==2*e.height)throw new Error(`Bad skin size: ${e.width}x${e.height}`);let t=s4(e.width),n=14*t,r=7*t;i.width=n,i.height=r;let s=i.getContext("2d",{willReadFrequently:!0});s.clearRect(0,0,n,r),s.drawImage(e,24*t,0,n,r,0,0,n,r)}h();p();m();var K0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAdVBMVEUAAAAKvLwAzMwmGgokGAgrHg0zJBE/KhW3g2uzeV5SPYn///+qclmbY0mQWT8Af38AaGhVVVWUYD52SzOBUzmPXj5JJRBCHQp3QjVqQDA0JRIoKCg3Nzc/Pz9KSko6MYlBNZtGOqUDenoFiIgElZUApKQAr6/wvakZAAAAAXRSTlMAQObYZgAAAolJREFUeNrt1l1rHucZReFrj/whu5hSCCQtlOTE/f+/Jz4q9Cu0YIhLcFVpVg+FsOCVehi8jmZgWOzZz33DM4CXlum3gH95GgeAzQZVeL4gTm6Cbp4vqFkD8HwBazPY8wWbMq9utu3mNZ5fotVezbzOE3kBEFbaZuc8kb00NTMUbWJp678Xf2GV7RRtx1TDQQ6XBNvsmL2+2vHq1TftmMPIyAWujtN2cl274ua2jpVpZneXEjjo7XW1q53V9ds4ODO5xIuhvGHvfLI3aixauig415uuO2+vl9+cncfsFw25zL650fXn687jqnXuP68/X3+eV3zE7y6u9eB73MlfAcfbTf3yR8CfAX+if8S/H5/EAbAxj5LN48tULvEBOh8V1AageMTXe2YHAOwHbZxrzPkSR3+ffr8TR2JDzE/4Fj8CDgEwDsW+q+9GsR07hhg2CsALBgMo2v5wNxXnQXMeGQVW7gUAyKI2m6KDsJ8Au3++F5RZO+kKNQjQcLLWgjwUjBXLltFgWWMUUlviocBgNoxNGgMjSxiYAA7zgLFo2hgIENiDU8gQCzDOmViGFAsEuBcQSDCothhpJaDRA8E5fHqH2nTbYm5fHLo1V0u3B7DAuheoeScRYabjjjuzs17cHVaTrTXmK78m9swP34d9oK/dfeXSIH2PW/MXwPvxN/bJlxw8zlYAcEyeI6gNgA/O8P8neN8xe1IHP2gTzegjvhUDfuRygmwEs2GE4mkCDIAzm2R4yAuPsIdR9k8AvMc+3L9+2UEjo4WP0FpgP19O0MzCsqxIoMsdDBvYcQyGmO0ZJRoYCKjLJWY0BAhYwGUBCgkh8MRdOKt+ruqMwAB2OcEX94U1TPbYJP0PkyyAI1S6cSIAAAAASUVORK5CYII=";h();p();m();Lt();h();p();m();var tMe=()=>{if(typeof OffscreenCanvas>"u")return!1;try{let i=new OffscreenCanvas(1,1);return(i.getContext("webgl2")||i.getContext("webgl"))!==null}catch{return!1}},nMe=tMe(),yi=(i,e)=>{if(nMe||typeof document>"u")return new OffscreenCanvas(i,e);let t=document.createElement("canvas");return t.width=i,t.height=e,t};async function qu(i){let t=await(await fetch(i)).blob();return createImageBitmap(t)}var dr=(i,e=!1)=>{i instanceof Ke&&(i.geometry?.dispose?.(),i.material?.dispose?.()),i instanceof pa&&i.skeleton?.dispose?.(),i.children&&i.children.forEach(t=>dr(t,e)),e&&i instanceof Ke&&i.material?.map?.dispose?.()},jE={},Z0e={},R3=i=>{let e=new sn,t=qu(i).then(n=>{let r=new OffscreenCanvas(n.width,n.height);return r.getContext("2d").drawImage(n,0,0),e.source.data=r,e.needsUpdate=!0,e});return{texture:e,promise:t}},gh=async i=>R3(i).texture,cc=i=>{let e=yi(i.width,i.height);e.getContext("2d").drawImage(i,0,0);let n=new sn(e);return n.magFilter=ct,n.minFilter=ct,n};function _h(i){let{texture:e,promise:t}=R3(i);return e.magFilter=ct,e.minFilter=ct,t.catch(n=>{console.error("[texture] failed to load",i,n)}),e}async function a4(i,e,t){if(!jE[i]){let{promise:r,resolve:s}=Promise.withResolvers(),a=R3(i);jE[i]=a.texture,a.promise.then(s),Z0e[i]=r}e(jE[i]),Z0e[i].then(()=>{t?.()})}var is=K0e,Jen=gh(is);var Q0e={apiEnabled:!0},ece=i=>{Object.assign(Q0e,i)};async function uc(i,e){if(!Q0e.apiEnabled||e==="cape")return;let t=`https://playerdb.co/api/player/minecraft/${i}`,n=await fetch(t);return n.ok?(await n.json()).data.player.skin_texture:void 0}async function Ro(i){i.startsWith("data:")||(i=await rMe(i.replace("http://","https://")));let e=await qu(i),t=yi(64,64);return HE(t,e),{canvas:t,image:e}}var rMe=async i=>{let t=await(await fetch(i,{})).arrayBuffer();return`data:image/png;base64,${Buffer.from(t).toString("base64")}`};o4();h();p();m();function ei(i,e,t,n){if(i.on(e,t),n.aborted){i.off(e,t);return}n.addEventListener("abort",()=>{i.off(e,t)},{once:!0})}function tce(i,e,t,n){if(i.on(e,t),n.aborted){i.off(e,t);return}n.addEventListener("abort",()=>{i.off(e,t)},{once:!0})}h();p();m();function C3(i){let e=i*2+1;if(e<=0)return[];let t=[],n=0,r=0,s=0,a=-1;for(let o=0;o<e*e;o++){if(Math.abs(n)<=e/2&&Math.abs(r)<=e/2&&t.push([n,r]),n===r||n<0&&n===-r||n>0&&n===1-r){let l=s;s=-a,a=l}n+=s,r+=a}return t}h();p();m();var NI=Yr(CI(),1);h();p();m();var yve=Yr(E3(),1),bve=Yr(Si(),1);var PI={lightLevels:{lava:15,brown_mushroom:1,torch:14,wall_torch:14,fire:15,soul_fire:10,soul_torch:10,soul_wall_torch:10,glowstone:15,nether_portal:11,jack_o_lantern:15,enchanting_table:7,brewing_stand:1,lava_cauldron:15,end_portal:15,end_portal_frame:1,dragon_egg:1,ender_chest:7,beacon:15,sea_lantern:15,end_rod:14,end_gateway:15,magma_block:3,conduit:15,lantern:15,soul_lantern:10,shroomlight:15,crying_obsidian:10,amethyst_cluster:5,large_amethyst_bud:4,medium_amethyst_bud:2,small_amethyst_bud:1,sculk_sensor:1,sculk_catalyst:6,ochre_froglight:15,verdant_froglight:15,pearlescent_froglight:15},noOcclusions:{mangrove_roots:!0,oak_leaves:!0,spruce_leaves:!0,birch_leaves:!0,jungle_leaves:!0,acacia_leaves:!0,cherry_leaves:!0,dark_oak_leaves:!0,mangrove_leaves:!0,azalea_leaves:!0,flowering_azalea_leaves:!0,glass:!0,white_bed:!0,orange_bed:!0,magenta_bed:!0,light_blue_bed:!0,yellow_bed:!0,lime_bed:!0,pink_bed:!0,gray_bed:!0,light_gray_bed:!0,cyan_bed:!0,purple_bed:!0,blue_bed:!0,brown_bed:!0,green_bed:!0,red_bed:!0,black_bed:!0,moving_piston:!0,spawner:!0,oak_door:!0,ladder:!0,iron_door:!0,ice:!0,white_stained_glass:!0,orange_stained_glass:!0,magenta_stained_glass:!0,light_blue_stained_glass:!0,yellow_stained_glass:!0,lime_stained_glass:!0,pink_stained_glass:!0,gray_stained_glass:!0,light_gray_stained_glass:!0,cyan_stained_glass:!0,purple_stained_glass:!0,blue_stained_glass:!0,brown_stained_glass:!0,green_stained_glass:!0,red_stained_glass:!0,black_stained_glass:!0,oak_trapdoor:!0,spruce_trapdoor:!0,birch_trapdoor:!0,jungle_trapdoor:!0,acacia_trapdoor:!0,cherry_trapdoor:!0,dark_oak_trapdoor:!0,mangrove_trapdoor:!0,bamboo_trapdoor:!0,iron_bars:!0,chain:!0,glass_pane:!0,lily_pad:!0,brewing_stand:!0,cauldron:!0,dragon_egg:!0,cocoa:!0,beacon:!0,hopper:!0,white_stained_glass_pane:!0,orange_stained_glass_pane:!0,magenta_stained_glass_pane:!0,light_blue_stained_glass_pane:!0,yellow_stained_glass_pane:!0,lime_stained_glass_pane:!0,pink_stained_glass_pane:!0,gray_stained_glass_pane:!0,light_gray_stained_glass_pane:!0,cyan_stained_glass_pane:!0,purple_stained_glass_pane:!0,blue_stained_glass_pane:!0,brown_stained_glass_pane:!0,green_stained_glass_pane:!0,red_stained_glass_pane:!0,black_stained_glass_pane:!0,slime_block:!0,barrier:!0,light:!0,iron_trapdoor:!0,spruce_door:!0,birch_door:!0,jungle_door:!0,acacia_door:!0,cherry_door:!0,dark_oak_door:!0,mangrove_door:!0,bamboo_door:!0,end_rod:!0,chorus_plant:!0,chorus_flower:!0,frosted_ice:!0,turtle_egg:!0,sniffer_egg:!0,sea_pickle:!0,conduit:!0,bamboo:!0,lantern:!0,soul_lantern:!0,campfire:!0,soul_campfire:!0,crimson_trapdoor:!0,warped_trapdoor:!0,crimson_door:!0,warped_door:!0,honey_block:!0,candle:!0,white_candle:!0,orange_candle:!0,magenta_candle:!0,light_blue_candle:!0,yellow_candle:!0,lime_candle:!0,pink_candle:!0,gray_candle:!0,light_gray_candle:!0,cyan_candle:!0,purple_candle:!0,blue_candle:!0,brown_candle:!0,green_candle:!0,red_candle:!0,black_candle:!0,amethyst_cluster:!0,tinted_glass:!0,lightning_rod:!0,pointed_dripstone:!0,azalea:!0,flowering_azalea:!0,frogspawn:!0,decorated_pot:!0},colors:{stone:"rgb(112, 112, 112)",granite:"rgb(151, 109, 77)",polished_granite:"rgb(151, 109, 77)",diorite:"rgb(255, 252, 245)",polished_diorite:"rgb(255, 252, 245)",andesite:"rgb(112, 112, 112)",polished_andesite:"rgb(112, 112, 112)",grass_block:"rgb(127, 178, 56)",dirt:"rgb(151, 109, 77)",coarse_dirt:"rgb(151, 109, 77)",podzol:"rgb(129, 86, 49)",cobblestone:"rgb(112, 112, 112)",oak_planks:"rgb(143, 119, 72)",spruce_planks:"rgb(129, 86, 49)",birch_planks:"rgb(247, 233, 163)",jungle_planks:"rgb(151, 109, 77)",acacia_planks:"rgb(216, 127, 51)",cherry_planks:"rgb(209, 177, 161)",dark_oak_planks:"rgb(102, 76, 51)",mangrove_planks:"rgb(153, 51, 51)",bamboo_planks:"rgb(229, 229, 51)",bamboo_mosaic:"rgb(229, 229, 51)",oak_sapling:"rgb(0, 124, 0)",spruce_sapling:"rgb(0, 124, 0)",birch_sapling:"rgb(0, 124, 0)",jungle_sapling:"rgb(0, 124, 0)",acacia_sapling:"rgb(0, 124, 0)",cherry_sapling:"rgb(242, 127, 165)",dark_oak_sapling:"rgb(0, 124, 0)",mangrove_propagule:"rgb(0, 124, 0)",bedrock:"rgb(112, 112, 112)",water:"rgb(64, 64, 255)",lava:"rgb(255, 0, 0)",sand:"rgb(247, 233, 163)",suspicious_sand:"rgb(247, 233, 163)",red_sand:"rgb(216, 127, 51)",gravel:"rgb(112, 112, 112)",suspicious_gravel:"rgb(112, 112, 112)",gold_ore:"rgb(112, 112, 112)",deepslate_gold_ore:"rgb(100, 100, 100)",iron_ore:"rgb(112, 112, 112)",deepslate_iron_ore:"rgb(100, 100, 100)",coal_ore:"rgb(112, 112, 112)",deepslate_coal_ore:"rgb(100, 100, 100)",nether_gold_ore:"rgb(112, 2, 0)",mangrove_roots:"rgb(129, 86, 49)",muddy_mangrove_roots:"rgb(129, 86, 49)",oak_wood:"rgb(143, 119, 72)",spruce_wood:"rgb(129, 86, 49)",birch_wood:"rgb(247, 233, 163)",jungle_wood:"rgb(151, 109, 77)",acacia_wood:"rgb(76, 76, 76)",cherry_wood:"rgb(57, 41, 35)",dark_oak_wood:"rgb(102, 76, 51)",mangrove_wood:"rgb(153, 51, 51)",stripped_oak_wood:"rgb(143, 119, 72)",stripped_spruce_wood:"rgb(129, 86, 49)",stripped_birch_wood:"rgb(247, 233, 163)",stripped_jungle_wood:"rgb(151, 109, 77)",stripped_acacia_wood:"rgb(216, 127, 51)",stripped_cherry_wood:"rgb(160, 77, 78)",stripped_dark_oak_wood:"rgb(102, 76, 51)",oak_leaves:"rgb(0, 124, 0)",spruce_leaves:"rgb(0, 124, 0)",birch_leaves:"rgb(0, 124, 0)",jungle_leaves:"rgb(0, 124, 0)",acacia_leaves:"rgb(0, 124, 0)",cherry_leaves:"rgb(242, 127, 165)",dark_oak_leaves:"rgb(0, 124, 0)",mangrove_leaves:"rgb(0, 124, 0)",azalea_leaves:"rgb(0, 124, 0)",flowering_azalea_leaves:"rgb(0, 124, 0)",sponge:"rgb(229, 229, 51)",wet_sponge:"rgb(229, 229, 51)",lapis_ore:"rgb(112, 112, 112)",deepslate_lapis_ore:"rgb(100, 100, 100)",lapis_block:"rgb(74, 128, 255)",dispenser:"rgb(112, 112, 112)",sandstone:"rgb(247, 233, 163)",chiseled_sandstone:"rgb(247, 233, 163)",cut_sandstone:"rgb(247, 233, 163)",note_block:"rgb(143, 119, 72)",sticky_piston:"rgb(112, 112, 112)",cobweb:"rgb(199, 199, 199)",grass:"rgb(0, 124, 0)",fern:"rgb(0, 124, 0)",dead_bush:"rgb(143, 119, 72)",seagrass:"rgb(64, 64, 255)",tall_seagrass:"rgb(64, 64, 255)",piston:"rgb(112, 112, 112)",piston_head:"rgb(112, 112, 112)",white_wool:"rgb(255, 255, 255)",orange_wool:"rgb(216, 127, 51)",magenta_wool:"rgb(178, 76, 216)",light_blue_wool:"rgb(102, 153, 216)",yellow_wool:"rgb(229, 229, 51)",lime_wool:"rgb(127, 204, 25)",pink_wool:"rgb(242, 127, 165)",gray_wool:"rgb(76, 76, 76)",light_gray_wool:"rgb(153, 153, 153)",cyan_wool:"rgb(76, 127, 153)",purple_wool:"rgb(127, 63, 178)",blue_wool:"rgb(51, 76, 178)",brown_wool:"rgb(102, 76, 51)",green_wool:"rgb(102, 127, 51)",red_wool:"rgb(153, 51, 51)",black_wool:"rgb(25, 25, 25)",moving_piston:"rgb(112, 112, 112)",dandelion:"rgb(0, 124, 0)",torchflower:"rgb(0, 124, 0)",poppy:"rgb(0, 124, 0)",blue_orchid:"rgb(0, 124, 0)",allium:"rgb(0, 124, 0)",azure_bluet:"rgb(0, 124, 0)",red_tulip:"rgb(0, 124, 0)",orange_tulip:"rgb(0, 124, 0)",white_tulip:"rgb(0, 124, 0)",pink_tulip:"rgb(0, 124, 0)",oxeye_daisy:"rgb(0, 124, 0)",cornflower:"rgb(0, 124, 0)",wither_rose:"rgb(0, 124, 0)",lily_of_the_valley:"rgb(0, 124, 0)",brown_mushroom:"rgb(102, 76, 51)",red_mushroom:"rgb(153, 51, 51)",gold_block:"rgb(250, 238, 77)",iron_block:"rgb(167, 167, 167)",bricks:"rgb(153, 51, 51)",tnt:"rgb(255, 0, 0)",bookshelf:"rgb(143, 119, 72)",chiseled_bookshelf:"rgb(143, 119, 72)",mossy_cobblestone:"rgb(112, 112, 112)",obsidian:"rgb(25, 25, 25)",fire:"rgb(255, 0, 0)",soul_fire:"rgb(102, 153, 216)",spawner:"rgb(112, 112, 112)",chest:"rgb(143, 119, 72)",diamond_ore:"rgb(112, 112, 112)",deepslate_diamond_ore:"rgb(100, 100, 100)",diamond_block:"rgb(92, 219, 213)",crafting_table:"rgb(143, 119, 72)",wheat:"rgb(0, 124, 0)",farmland:"rgb(151, 109, 77)",furnace:"rgb(112, 112, 112)",oak_sign:"rgb(143, 119, 72)",birch_sign:"rgb(247, 233, 163)",acacia_sign:"rgb(216, 127, 51)",oak_wall_sign:"rgb(143, 119, 72)",birch_wall_sign:"rgb(247, 233, 163)",acacia_wall_sign:"rgb(216, 127, 51)",birch_hanging_sign:"rgb(247, 233, 163)",acacia_hanging_sign:"rgb(216, 127, 51)",cherry_hanging_sign:"rgb(160, 77, 78)",crimson_hanging_sign:"rgb(148, 63, 97)",warped_hanging_sign:"rgb(58, 142, 140)",bamboo_hanging_sign:"rgb(229, 229, 51)",spruce_wall_hanging_sign:"rgb(143, 119, 72)",birch_wall_hanging_sign:"rgb(247, 233, 163)",acacia_wall_hanging_sign:"rgb(216, 127, 51)",cherry_wall_hanging_sign:"rgb(160, 77, 78)",crimson_wall_hanging_sign:"rgb(148, 63, 97)",warped_wall_hanging_sign:"rgb(58, 142, 140)",bamboo_wall_hanging_sign:"rgb(229, 229, 51)",stone_pressure_plate:"rgb(112, 112, 112)",iron_door:"rgb(167, 167, 167)",redstone_ore:"rgb(112, 112, 112)",deepslate_redstone_ore:"rgb(100, 100, 100)",snow:"rgb(255, 255, 255)",ice:"rgb(160, 160, 255)",snow_block:"rgb(255, 255, 255)",cactus:"rgb(0, 124, 0)",clay:"rgb(164, 168, 184)",sugar_cane:"rgb(0, 124, 0)",jukebox:"rgb(151, 109, 77)",pumpkin:"rgb(216, 127, 51)",netherrack:"rgb(112, 2, 0)",soul_sand:"rgb(102, 76, 51)",soul_soil:"rgb(102, 76, 51)",basalt:"rgb(25, 25, 25)",polished_basalt:"rgb(25, 25, 25)",glowstone:"rgb(247, 233, 163)",carved_pumpkin:"rgb(216, 127, 51)",jack_o_lantern:"rgb(216, 127, 51)",oak_trapdoor:"rgb(143, 119, 72)",spruce_trapdoor:"rgb(129, 86, 49)",birch_trapdoor:"rgb(247, 233, 163)",jungle_trapdoor:"rgb(151, 109, 77)",acacia_trapdoor:"rgb(216, 127, 51)",cherry_trapdoor:"rgb(209, 177, 161)",dark_oak_trapdoor:"rgb(102, 76, 51)",mangrove_trapdoor:"rgb(153, 51, 51)",bamboo_trapdoor:"rgb(229, 229, 51)",stone_bricks:"rgb(112, 112, 112)",mossy_stone_bricks:"rgb(112, 112, 112)",cracked_stone_bricks:"rgb(112, 112, 112)",chiseled_stone_bricks:"rgb(112, 112, 112)",mud_bricks:"rgb(135, 107, 98)",infested_stone:"rgb(164, 168, 184)",infested_cobblestone:"rgb(164, 168, 184)",infested_stone_bricks:"rgb(164, 168, 184)",infested_mossy_stone_bricks:"rgb(164, 168, 184)",infested_cracked_stone_bricks:"rgb(164, 168, 184)",infested_chiseled_stone_bricks:"rgb(164, 168, 184)",brown_mushroom_block:"rgb(151, 109, 77)",red_mushroom_block:"rgb(153, 51, 51)",mushroom_stem:"rgb(199, 199, 199)",melon:"rgb(127, 204, 25)",attached_pumpkin_stem:"rgb(0, 124, 0)",attached_melon_stem:"rgb(0, 124, 0)",pumpkin_stem:"rgb(0, 124, 0)",melon_stem:"rgb(0, 124, 0)",vine:"rgb(0, 124, 0)",glow_lichen:"rgb(127, 167, 150)",mycelium:"rgb(127, 63, 178)",lily_pad:"rgb(0, 124, 0)",nether_bricks:"rgb(112, 2, 0)",nether_brick_fence:"rgb(112, 2, 0)",nether_wart:"rgb(153, 51, 51)",enchanting_table:"rgb(153, 51, 51)",brewing_stand:"rgb(167, 167, 167)",cauldron:"rgb(112, 112, 112)",end_portal:"rgb(25, 25, 25)",end_portal_frame:"rgb(102, 127, 51)",end_stone:"rgb(247, 233, 163)",dragon_egg:"rgb(25, 25, 25)",cocoa:"rgb(0, 124, 0)",emerald_ore:"rgb(112, 112, 112)",deepslate_emerald_ore:"rgb(100, 100, 100)",ender_chest:"rgb(112, 112, 112)",emerald_block:"rgb(0, 217, 58)",command_block:"rgb(102, 76, 51)",beacon:"rgb(92, 219, 213)",carrots:"rgb(0, 124, 0)",potatoes:"rgb(0, 124, 0)",anvil:"rgb(167, 167, 167)",chipped_anvil:"rgb(167, 167, 167)",damaged_anvil:"rgb(167, 167, 167)",trapped_chest:"rgb(143, 119, 72)",light_weighted_pressure_plate:"rgb(250, 238, 77)",heavy_weighted_pressure_plate:"rgb(167, 167, 167)",daylight_detector:"rgb(143, 119, 72)",redstone_block:"rgb(255, 0, 0)",nether_quartz_ore:"rgb(112, 2, 0)",hopper:"rgb(112, 112, 112)",quartz_block:"rgb(255, 252, 245)",chiseled_quartz_block:"rgb(255, 252, 245)",quartz_pillar:"rgb(255, 252, 245)",dropper:"rgb(112, 112, 112)",white_terracotta:"rgb(209, 177, 161)",orange_terracotta:"rgb(159, 82, 36)",magenta_terracotta:"rgb(149, 87, 108)",light_blue_terracotta:"rgb(112, 108, 138)",yellow_terracotta:"rgb(186, 133, 36)",lime_terracotta:"rgb(103, 117, 53)",pink_terracotta:"rgb(160, 77, 78)",gray_terracotta:"rgb(57, 41, 35)",light_gray_terracotta:"rgb(135, 107, 98)",cyan_terracotta:"rgb(87, 92, 92)",purple_terracotta:"rgb(122, 73, 88)",blue_terracotta:"rgb(76, 62, 92)",brown_terracotta:"rgb(76, 50, 35)",green_terracotta:"rgb(76, 82, 42)",red_terracotta:"rgb(142, 60, 46)",black_terracotta:"rgb(37, 22, 16)",slime_block:"rgb(127, 178, 56)",iron_trapdoor:"rgb(167, 167, 167)",prismarine:"rgb(76, 127, 153)",prismarine_bricks:"rgb(92, 219, 213)",dark_prismarine:"rgb(92, 219, 213)",prismarine_slab:"rgb(76, 127, 153)",prismarine_brick_slab:"rgb(92, 219, 213)",dark_prismarine_slab:"rgb(92, 219, 213)",sea_lantern:"rgb(255, 252, 245)",hay_block:"rgb(229, 229, 51)",white_carpet:"rgb(255, 255, 255)",orange_carpet:"rgb(216, 127, 51)",magenta_carpet:"rgb(178, 76, 216)",light_blue_carpet:"rgb(102, 153, 216)",yellow_carpet:"rgb(229, 229, 51)",lime_carpet:"rgb(127, 204, 25)",pink_carpet:"rgb(242, 127, 165)",gray_carpet:"rgb(76, 76, 76)",light_gray_carpet:"rgb(153, 153, 153)",cyan_carpet:"rgb(76, 127, 153)",purple_carpet:"rgb(127, 63, 178)",blue_carpet:"rgb(51, 76, 178)",brown_carpet:"rgb(102, 76, 51)",green_carpet:"rgb(102, 127, 51)",red_carpet:"rgb(153, 51, 51)",black_carpet:"rgb(25, 25, 25)",terracotta:"rgb(216, 127, 51)",coal_block:"rgb(25, 25, 25)",packed_ice:"rgb(160, 160, 255)",sunflower:"rgb(0, 124, 0)",lilac:"rgb(0, 124, 0)",rose_bush:"rgb(0, 124, 0)",peony:"rgb(0, 124, 0)",tall_grass:"rgb(0, 124, 0)",large_fern:"rgb(0, 124, 0)",white_banner:"rgb(143, 119, 72)",orange_banner:"rgb(143, 119, 72)",magenta_banner:"rgb(143, 119, 72)",light_blue_banner:"rgb(143, 119, 72)",yellow_banner:"rgb(143, 119, 72)",lime_banner:"rgb(143, 119, 72)",pink_banner:"rgb(143, 119, 72)",gray_banner:"rgb(143, 119, 72)",light_gray_banner:"rgb(143, 119, 72)",cyan_banner:"rgb(143, 119, 72)",purple_banner:"rgb(143, 119, 72)",blue_banner:"rgb(143, 119, 72)",brown_banner:"rgb(143, 119, 72)",green_banner:"rgb(143, 119, 72)",red_banner:"rgb(143, 119, 72)",black_banner:"rgb(143, 119, 72)",white_wall_banner:"rgb(143, 119, 72)",orange_wall_banner:"rgb(143, 119, 72)",magenta_wall_banner:"rgb(143, 119, 72)",light_blue_wall_banner:"rgb(143, 119, 72)",yellow_wall_banner:"rgb(143, 119, 72)",lime_wall_banner:"rgb(143, 119, 72)",pink_wall_banner:"rgb(143, 119, 72)",gray_wall_banner:"rgb(143, 119, 72)",light_gray_wall_banner:"rgb(143, 119, 72)",cyan_wall_banner:"rgb(143, 119, 72)",purple_wall_banner:"rgb(143, 119, 72)",blue_wall_banner:"rgb(143, 119, 72)",brown_wall_banner:"rgb(143, 119, 72)",green_wall_banner:"rgb(143, 119, 72)",red_wall_banner:"rgb(143, 119, 72)",black_wall_banner:"rgb(143, 119, 72)",red_sandstone:"rgb(216, 127, 51)",chiseled_red_sandstone:"rgb(216, 127, 51)",cut_red_sandstone:"rgb(216, 127, 51)",oak_slab:"rgb(143, 119, 72)",spruce_slab:"rgb(129, 86, 49)",birch_slab:"rgb(247, 233, 163)",jungle_slab:"rgb(151, 109, 77)",acacia_slab:"rgb(216, 127, 51)",cherry_slab:"rgb(209, 177, 161)",dark_oak_slab:"rgb(102, 76, 51)",mangrove_slab:"rgb(153, 51, 51)",bamboo_slab:"rgb(229, 229, 51)",bamboo_mosaic_slab:"rgb(229, 229, 51)",stone_slab:"rgb(112, 112, 112)",smooth_stone_slab:"rgb(112, 112, 112)",sandstone_slab:"rgb(247, 233, 163)",cut_sandstone_slab:"rgb(247, 233, 163)",petrified_oak_slab:"rgb(143, 119, 72)",cobblestone_slab:"rgb(112, 112, 112)",brick_slab:"rgb(153, 51, 51)",stone_brick_slab:"rgb(112, 112, 112)",mud_brick_slab:"rgb(135, 107, 98)",nether_brick_slab:"rgb(112, 2, 0)",quartz_slab:"rgb(255, 252, 245)",red_sandstone_slab:"rgb(216, 127, 51)",cut_red_sandstone_slab:"rgb(216, 127, 51)",purpur_slab:"rgb(178, 76, 216)",smooth_stone:"rgb(112, 112, 112)",smooth_sandstone:"rgb(247, 233, 163)",smooth_quartz:"rgb(255, 252, 245)",smooth_red_sandstone:"rgb(216, 127, 51)",chorus_plant:"rgb(127, 63, 178)",chorus_flower:"rgb(127, 63, 178)",purpur_block:"rgb(178, 76, 216)",purpur_pillar:"rgb(178, 76, 216)",end_stone_bricks:"rgb(247, 233, 163)",torchflower_crop:"rgb(0, 124, 0)",pitcher_crop:"rgb(0, 124, 0)",pitcher_plant:"rgb(0, 124, 0)",beetroots:"rgb(0, 124, 0)",dirt_path:"rgb(151, 109, 77)",end_gateway:"rgb(25, 25, 25)",repeating_command_block:"rgb(127, 63, 178)",chain_command_block:"rgb(102, 127, 51)",frosted_ice:"rgb(160, 160, 255)",magma_block:"rgb(112, 2, 0)",nether_wart_block:"rgb(153, 51, 51)",red_nether_bricks:"rgb(112, 2, 0)",bone_block:"rgb(247, 233, 163)",observer:"rgb(112, 112, 112)",kelp:"rgb(64, 64, 255)",kelp_plant:"rgb(64, 64, 255)",dried_kelp_block:"rgb(102, 127, 51)",turtle_egg:"rgb(247, 233, 163)",sniffer_egg:"rgb(153, 51, 51)",dead_tube_coral_block:"rgb(76, 76, 76)",dead_brain_coral_block:"rgb(76, 76, 76)",dead_bubble_coral_block:"rgb(76, 76, 76)",dead_fire_coral_block:"rgb(76, 76, 76)",dead_horn_coral_block:"rgb(76, 76, 76)",tube_coral_block:"rgb(51, 76, 178)",brain_coral_block:"rgb(242, 127, 165)",bubble_coral_block:"rgb(127, 63, 178)",fire_coral_block:"rgb(153, 51, 51)",horn_coral_block:"rgb(229, 229, 51)",dead_tube_coral:"rgb(76, 76, 76)",dead_brain_coral:"rgb(76, 76, 76)",dead_bubble_coral:"rgb(76, 76, 76)",dead_fire_coral:"rgb(76, 76, 76)",dead_horn_coral:"rgb(76, 76, 76)",tube_coral:"rgb(51, 76, 178)",brain_coral:"rgb(242, 127, 165)",bubble_coral:"rgb(127, 63, 178)",fire_coral:"rgb(153, 51, 51)",horn_coral:"rgb(229, 229, 51)",dead_tube_coral_fan:"rgb(76, 76, 76)",dead_brain_coral_fan:"rgb(76, 76, 76)",dead_bubble_coral_fan:"rgb(76, 76, 76)",dead_fire_coral_fan:"rgb(76, 76, 76)",dead_horn_coral_fan:"rgb(76, 76, 76)",tube_coral_fan:"rgb(51, 76, 178)",brain_coral_fan:"rgb(242, 127, 165)",bubble_coral_fan:"rgb(127, 63, 178)",fire_coral_fan:"rgb(153, 51, 51)",horn_coral_fan:"rgb(229, 229, 51)",dead_tube_coral_wall_fan:"rgb(76, 76, 76)",dead_brain_coral_wall_fan:"rgb(76, 76, 76)",dead_bubble_coral_wall_fan:"rgb(76, 76, 76)",dead_fire_coral_wall_fan:"rgb(76, 76, 76)",dead_horn_coral_wall_fan:"rgb(76, 76, 76)",tube_coral_wall_fan:"rgb(51, 76, 178)",brain_coral_wall_fan:"rgb(242, 127, 165)",bubble_coral_wall_fan:"rgb(127, 63, 178)",fire_coral_wall_fan:"rgb(153, 51, 51)",horn_coral_wall_fan:"rgb(229, 229, 51)",sea_pickle:"rgb(102, 127, 51)",blue_ice:"rgb(160, 160, 255)",conduit:"rgb(92, 219, 213)",bamboo_sapling:"rgb(143, 119, 72)",bamboo:"rgb(0, 124, 0)",bubble_column:"rgb(64, 64, 255)",scaffolding:"rgb(247, 233, 163)",loom:"rgb(143, 119, 72)",barrel:"rgb(143, 119, 72)",smoker:"rgb(112, 112, 112)",blast_furnace:"rgb(112, 112, 112)",cartography_table:"rgb(143, 119, 72)",fletching_table:"rgb(143, 119, 72)",grindstone:"rgb(167, 167, 167)",lectern:"rgb(143, 119, 72)",smithing_table:"rgb(143, 119, 72)",stonecutter:"rgb(112, 112, 112)",bell:"rgb(250, 238, 77)",lantern:"rgb(167, 167, 167)",soul_lantern:"rgb(167, 167, 167)",campfire:"rgb(129, 86, 49)",soul_campfire:"rgb(129, 86, 49)",sweet_berry_bush:"rgb(0, 124, 0)",warped_hyphae:"rgb(86, 44, 62)",stripped_warped_hyphae:"rgb(86, 44, 62)",warped_nylium:"rgb(22, 126, 134)",warped_fungus:"rgb(76, 127, 153)",warped_wart_block:"rgb(20, 180, 133)",warped_roots:"rgb(76, 127, 153)",nether_sprouts:"rgb(76, 127, 153)",crimson_hyphae:"rgb(92, 25, 29)",stripped_crimson_hyphae:"rgb(92, 25, 29)",crimson_nylium:"rgb(189, 48, 49)",crimson_fungus:"rgb(112, 2, 0)",shroomlight:"rgb(153, 51, 51)",weeping_vines:"rgb(112, 2, 0)",weeping_vines_plant:"rgb(112, 2, 0)",twisting_vines:"rgb(76, 127, 153)",twisting_vines_plant:"rgb(76, 127, 153)",crimson_roots:"rgb(112, 2, 0)",crimson_planks:"rgb(148, 63, 97)",warped_planks:"rgb(58, 142, 140)",structure_block:"rgb(153, 153, 153)",jigsaw:"rgb(153, 153, 153)",composter:"rgb(143, 119, 72)",target:"rgb(255, 252, 245)",bee_nest:"rgb(229, 229, 51)",beehive:"rgb(143, 119, 72)",honey_block:"rgb(216, 127, 51)",honeycomb_block:"rgb(216, 127, 51)",netherite_block:"rgb(25, 25, 25)",ancient_debris:"rgb(25, 25, 25)",crying_obsidian:"rgb(25, 25, 25)",respawn_anchor:"rgb(25, 25, 25)",lodestone:"rgb(167, 167, 167)",blackstone:"rgb(25, 25, 25)",polished_blackstone_pressure_plate:"rgb(25, 25, 25)",chiseled_nether_bricks:"rgb(112, 2, 0)",cracked_nether_bricks:"rgb(112, 2, 0)",amethyst_block:"rgb(127, 63, 178)",budding_amethyst:"rgb(127, 63, 178)",amethyst_cluster:"rgb(127, 63, 178)",tuff:"rgb(57, 41, 35)",calcite:"rgb(209, 177, 161)",tinted_glass:"rgb(76, 76, 76)",powder_snow:"rgb(255, 255, 255)",sculk_sensor:"rgb(76, 127, 153)",sculk:"rgb(25, 25, 25)",sculk_vein:"rgb(25, 25, 25)",sculk_catalyst:"rgb(25, 25, 25)",sculk_shrieker:"rgb(25, 25, 25)",oxidized_copper:"rgb(22, 126, 134)",weathered_copper:"rgb(58, 142, 140)",exposed_copper:"rgb(135, 107, 98)",copper_block:"rgb(216, 127, 51)",deepslate_copper_ore:"rgb(100, 100, 100)",lightning_rod:"rgb(216, 127, 51)",pointed_dripstone:"rgb(76, 50, 35)",dripstone_block:"rgb(76, 50, 35)",cave_vines:"rgb(0, 124, 0)",cave_vines_plant:"rgb(0, 124, 0)",spore_blossom:"rgb(0, 124, 0)",azalea:"rgb(0, 124, 0)",flowering_azalea:"rgb(0, 124, 0)",moss_carpet:"rgb(102, 127, 51)",pink_petals:"rgb(0, 124, 0)",moss_block:"rgb(102, 127, 51)",big_dripleaf:"rgb(0, 124, 0)",big_dripleaf_stem:"rgb(0, 124, 0)",small_dripleaf:"rgb(0, 124, 0)",hanging_roots:"rgb(151, 109, 77)",rooted_dirt:"rgb(151, 109, 77)",mud:"rgb(87, 92, 92)",deepslate:"rgb(100, 100, 100)",infested_deepslate:"rgb(100, 100, 100)",raw_iron_block:"rgb(216, 175, 147)",raw_copper_block:"rgb(216, 127, 51)",raw_gold_block:"rgb(250, 238, 77)",ochre_froglight:"rgb(247, 233, 163)",verdant_froglight:"rgb(127, 167, 150)",pearlescent_froglight:"rgb(242, 127, 165)",frogspawn:"rgb(64, 64, 255)",reinforced_deepslate:"rgb(100, 100, 100)",decorated_pot:"rgb(142, 60, 46)"},invisibleBlocks:{air:!0,void_air:!0,cave_air:!0,barrier:!0,light:!0,moving_piston:!0},hasSemiTransparentTextuersRegex:{_stained_glass$:!0,_stained_glass_pane$:!0,"^ice$":!0,"^tinted_glass$":!0,"^slime_block$":!0,"^honey_block$":!0}};var _ve=new Map,AVe=new Set(["water","flowing_water","lava","flowing_lava","grass","short_grass","tall_grass"]);function LI(i){let e=_ve.get(i);if(e)return e;let t=(0,yve.default)(i),n=(0,bve.default)(i),r=new Set(Object.keys(PI.noOcclusions)),s=new Set(t.blocksArray.filter(l=>PI.invisibleBlocks[l.name]).map(l=>l.name)),a=0;for(let l of Object.keys(t.blocksByStateId))a=Math.max(a,Number(l));let o=new Uint8Array(a+1);for(let l of Object.keys(t.blocksByStateId)){let c=Number(l);if(!c)continue;let u=n.fromStateId(c,0);u&&(s.has(u.name)||r.has(u.name)||AVe.has(u.name)||u.boundingBox!=="empty"&&(u.transparent&&u.boundingBox!=="block"||!u.shapes||u.shapes.length===0||(o[c]=1)))}return _ve.set(i,o),o}function BI(i,e){return i>0&&i<e.length&&e[i]===1}var Ty=128,kVe=Ty*4,Ay=(i,e,t)=>`${i},${e},${t}`,ja=i=>Math.floor(i/16)*16,ky=i=>(i%16+16)%16,DI=(i,e,t)=>i+t*16+e*256,TVe=(i,e)=>{let t=e>>>5;return(i[t]&1<<(e&31))!==0},OI=(i,e,t)=>{let n=e>>>5,r=1<<(e&31);t?i[n]|=r:i[n]&=~r},IVe=i=>{for(let e=0;e<Ty;e++)if(i[e])return!1;return!0},Iy=class{sections=new Map;Chunk;solidityTable;worldMinY=0;worldMaxY=256;constructor(e){this.Chunk=(0,NI.default)(e),this.solidityTable=LI(e)}setVersion(e){this.Chunk=(0,NI.default)(e),this.solidityTable=LI(e),this.sections.clear()}setWorldBounds(e,t){this.worldMinY===e&&this.worldMaxY===t||(this.worldMinY=e,this.worldMaxY=t,this.sections.clear())}clear(){this.sections.clear()}getAllocatedSectionCount(){return this.sections.size}getAllocatedBytes(){return this.sections.size*kVe}removeColumn(e,t){let n=ja(this.worldMinY);for(let r=n;r<this.worldMaxY;r+=16)this.sections.delete(Ay(e,r,t))}ingestColumn(e,t,n){let r=this.Chunk.fromJson(n),s=new kt(0,0,0);for(let a=this.worldMinY;a<this.worldMaxY;a++){s.y=a;let o=ja(a),l=a-o;for(let c=0;c<16;c++){s.z=c;let u=t+c,d=ja(u),f=u-d;for(let v=0;v<16;v++){s.x=v;let g=r.getBlockStateId(s)||0;if(!BI(g,this.solidityTable))continue;let b=e+v,y=ja(b),_=Ay(y,o,d),x=this.sections.get(_);x||(x=new Uint32Array(Ty),this.sections.set(_,x)),OI(x,DI(b-y,l,f),!0)}}}}setBlockStateId(e,t,n,r){if(t<this.worldMinY||t>=this.worldMaxY)return;let s=ja(e),a=ja(t),o=ja(n),l=Ay(s,a,o),c=DI(ky(e),t-a,ky(n));if(BI(r,this.solidityTable)){let f=this.sections.get(l);f||(f=new Uint32Array(Ty),this.sections.set(l,f)),OI(f,c,!0);return}let d=this.sections.get(l);d&&(OI(d,c,!1),IVe(d)&&this.sections.delete(l))}isSolidBlock(e,t,n){if(t<this.worldMinY||t>=this.worldMaxY)return!1;let r=this.sections.get(Ay(ja(e),ja(t),ja(n)));return r?TVe(r,DI(ky(e),t-ja(t),ky(n))):!1}};function Cv(i,e){return(i%e+e)%e}var jl=class jl{constructor(e,t,n){this.resourcesManager=e;this.displayOptions=t;this.initOptions=n;this.cameraCollisionBlockCache=new Iy(this.displayOptions.version),this.snapshotInitialValues(),this.worldRendererConfig=t.inWorldRenderingConfig,this.playerStateReactive=t.playerStateReactive,this.playerStateUtils=$0e(this.playerStateReactive),this.reactiveState=t.rendererState,this.renderUpdateEmitter.on("update",()=>{let a=Object.keys(this.finishedChunks).length;VE("loaded-chunks",`${a}/${this.chunksLength} chunks (${this.lastChunkDistance}/${this.viewDistance})`)}),i4("downloaded-chunks",100,140,20,{className:r4}),this.connect(this.displayOptions.worldView);let r=setInterval(()=>{this.geometryReceiveCountPerSec=Object.values(this.geometryReceiveCount).reduce((a,o)=>a+o,0),this.geometryReceiveCount={},j0e(this.displayAdvancedStats),this.updateChunksStats()},500),s=setInterval(()=>{this.fpsUpdate()},1e3);this.abortController.signal.addEventListener("abort",()=>{clearInterval(r),clearInterval(s)})}worldReadyResolvers=Promise.withResolvers();worldReadyPromise=this.worldReadyResolvers.promise;timeOfTheDay=0;lastMesherSkyLight=15;worldSizeParams={minY:0,worldHeight:256};cameraCollisionBlockCache;reactiveDebugParams=_l({stopRendering:!1,chunksRenderAboveOverride:void 0,chunksRenderAboveEnabled:!1,chunksRenderBelowOverride:void 0,chunksRenderBelowEnabled:!1,chunksRenderDistanceOverride:void 0,chunksRenderDistanceEnabled:!1,disableEntities:!1});active=!1;loadedChunks={};finishedChunks={};finishedSections={};sectionsWaiting=new Map;queuedChunks=new Set;queuedFunctions=[];renderUpdateEmitter=new W0;customTexturesDataUrl=void 0;workers=[];viewerChunkPosition;lastViewerChunkGridX;lastViewerChunkGridZ;lastCamUpdate=0;droppedFpsPercentage=0;initialChunkLoadWasStartedIn;initialChunksLoad=!0;enableChunksLoadDelay=!1;texturesVersion;viewDistance=-1;onRenderDistanceChanged;chunksLength=0;allChunksFinished=!1;messageQueue=[];isProcessingQueue=!1;ONMESSAGE_TIME_LIMIT=30;handleResize=()=>{};highestBlocksByChunks=new Map;blockEntities={};workersProcessAverageTime=0;workersProcessAverageTimeCount=0;maxWorkersProcessTime=0;workersPreAverageTime=0;workersWasmAverageTime=0;workersPostAverageTime=0;workersPhaseSampleCount=0;workersPreTargetConvertAverageTime=0;workersPreNeighborConvertAverageTime=0;workersPreNeighborCountAverage=0;workersPreTypedArrayBuildAverageTime=0;workersPreOtherAverageTime=0;workersPreCacheHitsTotal=0;workersPreCacheMissesTotal=0;geometryReceiveCount={};allLoadedIn;onWorldSwitched=[];renderTimeMax=0;renderTimeAvg=0;renderTimeAvgCount=0;edgeChunks={};lastAddChunk=null;neighborChunkUpdates=!0;lastChunkDistance=0;debugStopGeometryUpdate=!1;protocolCustomBlocks=new Map;mesherPoolSnapshot={mesherWorkers:-1,wasmMesher:!1,dedicatedChangeWorker:!1};mesherReconfigureQueue=Promise.resolve();heightmapDebounceTimers=new Map;sectionDirtyCount=new Map;sectionDirtyTimers=new Map;sectionDirtyPendingArgs=new Map;blockStateModelInfo=new Map;worldBlockProvider;soundSystem;anyModuleRequiresHeightmap(){return!1}isShaderCubeBlocksEnabled(){return this.worldRendererConfig.shaderCubeBlocks===!0}shaderCubeBlocksEnabled(){return this.isShaderCubeBlocksEnabled()}worldRendererConfig;playerStateReactive;playerStateUtils;reactiveState;mesherLogReader;forceCallFromMesherReplayer=!1;stopMesherMessagesProcessing=!1;abortController=new AbortController;valtioUnsubs=[];lastRendered=0;renderingActive=!0;geometryReceiveCountPerSec=0;mesherLogger={contents:[],active:new URL(location.href).searchParams.get("mesherlog")==="true"};currentRenderedFrames=0;fpsAverage=0;lastFps=0;fpsWorst=void 0;fpsSamples=0;backendInfoReport="-";chunksFullInfo="-";workerCustomHandleTime=0;get version(){return this.displayOptions.version}get displayAdvancedStats(){return(this.initOptions.config.statsVisible??0)>1}fpsUpdate(){this.fpsSamples++,this.fpsAverage=(this.fpsAverage*(this.fpsSamples-1)+this.currentRenderedFrames)/this.fpsSamples,this.fpsWorst===void 0?this.fpsWorst=this.currentRenderedFrames:this.fpsWorst=Math.min(this.fpsWorst,this.currentRenderedFrames),this.lastFps=this.currentRenderedFrames,this.displayOptions.nonReactiveState.fps=this.currentRenderedFrames,this.displayOptions.nonReactiveState.worstRenderTime=this.renderTimeMax,this.displayOptions.nonReactiveState.avgRenderTime=this.renderTimeAvg,this.currentRenderedFrames=0}logWorkerWork(e){this.mesherLogger.active&&this.mesherLogger.contents.push(typeof e=="function"?e():e)}async init(){if(this.active)throw new Error("WorldRendererCommon is already initialized");await Promise.all([this.resetWorkers(),(async()=>{this.resourcesManager.currentResources?.allReady&&await this.updateAssetsData()})()]);let e=async()=>{this.active&&await this.updateAssetsData()};tce(this.resourcesManager,"assetsTexturesUpdated",e,this.abortController.signal),this.watchReactivePlayerState(),this.watchReactiveConfig(),this.watchMesherPoolConfig(),this.worldReadyResolvers.resolve()}snapshotInitialValues(){}wasChunkSentToWorker(e){return this.loadedChunks[e]}async getHighestBlocks(e){return this.highestBlocksByChunks.get(e)}updateCustomBlock(e,t,n){if(this.protocolCustomBlocks.set(e,{...this.protocolCustomBlocks.get(e),[t]:n}),this.logWorkerWork(()=>`-> updateCustomBlock ${e} ${t} ${n} ${this.wasChunkSentToWorker(e)}`),this.wasChunkSentToWorker(e)){let[r,s,a]=t.split(",").map(Number);this.setBlockStateId(new kt(r,s,a),void 0)}}async getBlockInfo(e,t){let r=`${Math.floor(e.x/16)*16},${Math.floor(e.z/16)*16}`,s=this.protocolCustomBlocks.get(r)?.[`${e.x},${e.y},${e.z}`],a=G0e(t,s),o=this.blockStateModelInfo.get(a);return{customBlockName:s,modelInfo:o}}getMesherWorkerScript(){return this.worldRendererConfig.wasmMesher?"wasm":"legacy"}createMesherWorker(){let e=this.getMesherWorkerScript();return RVe(t=>{Array.isArray(t)?this.messageQueue.push(...t):this.messageQueue.push(t),this.processMessageQueue("worker")},e==="wasm"?"mesherWasm.js":"mesher.js")}initWorkers(e=this.worldRendererConfig.mesherWorkers){for(let t=0;t<e;t++)this.workers.push(this.createMesherWorker())}syncMesherPoolSnapshot(){this.mesherPoolSnapshot={mesherWorkers:this.worldRendererConfig.mesherWorkers,wasmMesher:this.worldRendererConfig.wasmMesher,dedicatedChangeWorker:this.worldRendererConfig.dedicatedChangeWorker}}watchMesherPoolConfig(){this.syncMesherPoolSnapshot();let e=()=>{let t=this.worldRendererConfig,n=this.mesherPoolSnapshot;t.mesherWorkers===n.mesherWorkers&&t.wasmMesher===n.wasmMesher&&t.dedicatedChangeWorker===n.dedicatedChangeWorker||(this.syncMesherPoolSnapshot(),this.enqueueMesherWorkersReconfigure())};for(let t of["mesherWorkers","wasmMesher","dedicatedChangeWorker"])this.valtioUnsubs.push(this.onReactiveConfigUpdated(t,e,!1))}enqueueMesherWorkersReconfigure(){this.mesherReconfigureQueue=this.mesherReconfigureQueue.then(()=>this.reconfigureMesherWorkers()).catch(e=>{console.error("[Mesher] Failed to reconfigure workers:",e)})}clearMesherPendingState(){this.sectionsWaiting.clear(),this.toWorkerMessagesQueue={},this.queueAwaited=!1,this.messageQueue=[],this.isProcessingQueue=!1;for(let e of this.sectionDirtyTimers.values())clearTimeout(e);this.sectionDirtyTimers.clear(),this.sectionDirtyCount.clear(),this.sectionDirtyPendingArgs.clear(),this.reactiveState.world.mesherWork=!1}terminateAllMesherWorkers(){for(let e of this.workers)e.terminate();this.workers=[]}async bootstrapMesherWorkers(){this.workers.length!==0&&(this.sendMesherMcData(),await this.updateAssetsData(),this.logWorkerWork("# mesher workers bootstrapped"))}async reconfigureMesherWorkers(){this.active&&(this.clearMesherPendingState(),this.terminateAllMesherWorkers(),this.initWorkers(),await this.bootstrapMesherWorkers(),this.active&&await this.requestLoadedChunksReload())}async requestLoadedChunksReload(){try{let e=this.displayOptions.worldView;if(typeof e.reloadLoadedChunks=="function"){await e.reloadLoadedChunks();return}let t=globalThis;typeof t.WorkerGlobalScope<"u"&&globalThis instanceof t.WorkerGlobalScope&&self.postMessage({type:"reloadLoadedChunks"})}catch(e){console.error("[Mesher] Failed to reload chunks after worker reconfigure:",e)}}onReactivePlayerStateUpdated(e,t,n=!0){return n&&t(this.playerStateReactive[e]),Sl(this.playerStateReactive,e,t)}onReactiveConfigUpdated(e,t,n=!0){return n&&t(this.worldRendererConfig[e]),e==="*"?v1(this.worldRendererConfig,t):Sl(this.worldRendererConfig,e,t)}onReactiveDebugUpdated(e,t){t(this.reactiveDebugParams[e]),Sl(this.reactiveDebugParams,e,t)}watchReactivePlayerState(){this.valtioUnsubs.push(this.onReactivePlayerStateUpdated("backgroundColor",e=>{this.changeBackgroundColor(e)})),this.valtioUnsubs.push(this.onReactivePlayerStateUpdated("cardinalLight",e=>{this.changeCardinalLight(e)}))}watchReactiveConfig(){this.valtioUnsubs.push(this.onReactiveConfigUpdated("fetchPlayerSkins",e=>{ece({apiEnabled:e})}))}async processMessageQueue(e){if(this.isProcessingQueue||this.messageQueue.length===0)return;if(this.logWorkerWork(`# ${e} processing queue`),this.lastRendered&&performance.now()-this.lastRendered>this.ONMESSAGE_TIME_LIMIT&&this.worldRendererConfig._experimentalSmoothChunkLoading&&this.renderingActive){let r=performance.now();await new Promise(s=>{requestAnimationFrame(s)}),this.logWorkerWork(`# processing got delayed by ${performance.now()-r}ms`)}this.isProcessingQueue=!0;let t=performance.now(),n=0;for(;this.messageQueue.length>0;){let r=this.stopMesherMessagesProcessing;if(!r){let s=this.messageQueue.shift();this.handleMessage(s),n++}if(r||performance.now()-t>this.ONMESSAGE_TIME_LIMIT&&this.renderingActive&&this.worldRendererConfig._experimentalSmoothChunkLoading){if(this.messageQueue.length>0){requestAnimationFrame(async()=>{this.isProcessingQueue=!1,this.processMessageQueue("queue-delay")});return}break}}this.isProcessingQueue=!1}handleMessage(e){let t=e;if(this.active){if(this.mesherLogReader?.workerMessageReceived(t.type,t),t.type!=="geometry"||!this.debugStopGeometryUpdate){let n=performance.now();this.handleWorkerMessage(t),this.workerCustomHandleTime+=performance.now()-n}if(t.type==="geometry"){this.logWorkerWork(()=>`-> ${t.workerIndex} geometry ${t.key} ${JSON.stringify({dataSize:JSON.stringify(t).length})}`),this.geometryReceiveCount[t.workerIndex]??=0,this.geometryReceiveCount[t.workerIndex]++;let n=t.key.split(",").map(Number);this.lastChunkDistance=Math.max(...this.getDistance(new kt(n[0],0,n[2])))}if(t.type==="sectionFinished"){if(this.logWorkerWork(`<- ${t.workerIndex} sectionFinished ${t.key} ${JSON.stringify({processTime:t.processTime})}`),!this.sectionsWaiting.has(t.key)){console.debug(`sectionFinished for non-outstanding section ${t.key} (viewDistance=${this.viewDistance})`);return}this.sectionsWaiting.set(t.key,this.sectionsWaiting.get(t.key)-1),this.sectionsWaiting.get(t.key)===0&&(this.sectionsWaiting.delete(t.key),this.finishedSections[t.key]=!0);let n=t.key.split(",").map(Number),r=`${n[0]},${n[2]}`;if(this.loadedChunks[r]){let s=!0,a=this.getSectionHeight();for(let o=this.worldMinYRender;o<this.worldSizeParams.worldHeight;o+=a)if(!this.finishedSections[`${n[0]},${o},${n[2]}`]){s=!1;break}if(s){this.finishedChunks[r]=!0;let o=16,l=`${Math.floor(n[0]/o)},${Math.floor(n[2]/o)}`;this.reactiveState.world.chunksLoaded[l]=!0,this.renderUpdateEmitter.emit("chunkFinished",`${n[0]},${n[2]}`),this.checkAllFinished()}}if(this.renderUpdateEmitter.emit("update"),t.processTime&&(this.workersProcessAverageTimeCount++,this.workersProcessAverageTime=(this.workersProcessAverageTime*(this.workersProcessAverageTimeCount-1)+t.processTime)/this.workersProcessAverageTimeCount,this.maxWorkersProcessTime=Math.max(this.maxWorkersProcessTime,t.processTime)),typeof t.pre=="number"&&typeof t.wasm=="number"&&typeof t.post=="number"&&(t.pre>0||t.wasm>0||t.post>0)){let s=++this.workersPhaseSampleCount;this.workersPreAverageTime=(this.workersPreAverageTime*(s-1)+t.pre)/s,this.workersWasmAverageTime=(this.workersWasmAverageTime*(s-1)+t.wasm)/s,this.workersPostAverageTime=(this.workersPostAverageTime*(s-1)+t.post)/s;let a=typeof t.preTargetConvert=="number"?t.preTargetConvert:0,o=typeof t.preNeighborConvert=="number"?t.preNeighborConvert:0,l=typeof t.preNeighborCount=="number"?t.preNeighborCount:0,c=typeof t.preTypedArrayBuild=="number"?t.preTypedArrayBuild:0,u=typeof t.preOther=="number"?t.preOther:0,d=typeof t.preCacheHits=="number"?t.preCacheHits:0,f=typeof t.preCacheMisses=="number"?t.preCacheMisses:0;if(this.workersPreTargetConvertAverageTime=(this.workersPreTargetConvertAverageTime*(s-1)+a)/s,this.workersPreNeighborConvertAverageTime=(this.workersPreNeighborConvertAverageTime*(s-1)+o)/s,this.workersPreNeighborCountAverage=(this.workersPreNeighborCountAverage*(s-1)+l)/s,this.workersPreTypedArrayBuildAverageTime=(this.workersPreTypedArrayBuildAverageTime*(s-1)+c)/s,this.workersPreOtherAverageTime=(this.workersPreOtherAverageTime*(s-1)+u)/s,this.workersPreCacheHitsTotal+=d,this.workersPreCacheMissesTotal+=f,this.worldRendererConfig.debugWasmPerf&&s%jl.PHASE_PERF_LOG_INTERVAL===0){let v=this.workersPreAverageTime+this.workersWasmAverageTime+this.workersPostAverageTime,g=v>0?this.workersPreAverageTime/v*100:0,b=v>0?this.workersWasmAverageTime/v*100:0,y=v>0?this.workersPostAverageTime/v*100:0,_=this.workersPreAverageTime,x=_>0?this.workersPreTargetConvertAverageTime/_*100:0,w=_>0?this.workersPreNeighborConvertAverageTime/_*100:0,S=_>0?this.workersPreTypedArrayBuildAverageTime/_*100:0,A=_>0?this.workersPreOtherAverageTime/_*100:0,T=this.workersPreNeighborCountAverage,P=T>0?this.workersPreNeighborConvertAverageTime/T:0,I=this.workersPreCacheHitsTotal+this.workersPreCacheMissesTotal,k=I>0?this.workersPreCacheHitsTotal/I*100:0;console.log(`[wasm-mesher perf] n=${s} pre=${this.workersPreAverageTime.toFixed(2)}ms (${g.toFixed(1)}%) wasm=${this.workersWasmAverageTime.toFixed(2)}ms (${b.toFixed(1)}%) post=${this.workersPostAverageTime.toFixed(2)}ms (${y.toFixed(1)}%) | pre.targetConvert=${this.workersPreTargetConvertAverageTime.toFixed(2)}ms (${x.toFixed(1)}%) pre.neighborConvert=${this.workersPreNeighborConvertAverageTime.toFixed(2)}ms (${w.toFixed(1)}%) [n\u0304=${T.toFixed(2)}, per-nbr=${P.toFixed(2)}ms] pre.typedArrayBuild=${this.workersPreTypedArrayBuildAverageTime.toFixed(2)}ms (${S.toFixed(1)}%) pre.other=${this.workersPreOtherAverageTime.toFixed(2)}ms (${A.toFixed(1)}%) | pre.cache hits=${this.workersPreCacheHitsTotal} misses=${this.workersPreCacheMissesTotal} (${k.toFixed(1)}% hit)`)}}}if(t.type==="blockStateModelInfo")for(let[n,r]of Object.entries(t.info))this.blockStateModelInfo.set(n,r);if(t.type==="heightmap"){let n=new Int16Array(t.heightmap);this.reactiveState.world.heightmaps[t.key]=n}}}downloadMesherLog(){let e=document.createElement("a");e.href="data:text/plain;charset=utf-8,"+encodeURIComponent(this.mesherLogger.contents.join(`
|
|
4646
|
+
`;l0=6;Xd={LX_BITS:4,LY_BITS:4,LZ_BITS:4,FACE_BITS:3,TINT_BITS:8,AO_BITS_PER_CORNER:2,NUM_CORNERS:4,LX_SHIFT:0,LY_SHIFT:4,LZ_SHIFT:8,FACE_SHIFT:12,TINT_SHIFT:15,AO_SHIFT:23,TRANSPARENT_SHIFT:31},D_e={TEX_INDEX_BITS:12,DIAGONAL_FLAG_SHIFT:12,SECTION_Y_SHIFT:13,SECTION_Y_BITS:5,EMPTY_SHIFT:18,SECTION_X_HI_SHIFT:19,SECTION_Z_HI_SHIFT:25,SECTION_HI_BITS:6,SPARE_BITS:1},bYe={SECTION_BITS:22,SECTION_MASK:(1<<22)-1,LO_BITS:16,HI_BITS:6,SECTION_BIAS:2097152}});var Zb,O_e=Vn(()=>{"use strict";h();p();m();Zb=class{atlasWidth;atlasHeight;tileSize;tilesPerRow;maxTiles;valid;constructor(e){this.atlasWidth=e.width,this.atlasHeight=e.height,this.tileSize=e.tileSize,this.tilesPerRow=Math.floor(this.atlasWidth/this.tileSize),this.maxTiles=this.tilesPerRow*Math.floor(this.atlasHeight/this.tileSize),this.valid=this.atlasWidth===1024&&this.atlasHeight===1024&&this.tileSize===16&&this.maxTiles<=4096}isValid(){return this.valid}getTilesPerRow(){return this.tilesPerRow}tileIndexFromPixelCoords(e,t){if(!this.valid)return-1;let n=Math.floor(e/this.tileSize),r=Math.floor(t/this.tileSize);if(n<0||n>=this.tilesPerRow||r<0)return-1;let s=r*this.tilesPerRow+n;return s>=this.maxTiles?-1:s}tileIndexFromTextureEntry(e){return!this.valid||e.su!==this.tileSize||e.sv!==this.tileSize?-1:this.tileIndexFromPixelCoords(e.u,e.v)}tileIndexFromTextureName(e,t){if(!this.valid)return-1;let n=t.textures[e];if(!n&&e.includes(":")&&(n=t.textures[e.split(":")[1]]),!n&&e.includes("/")&&(n=t.textures[e.split("/")[1]]),n||(n=t.textures[`block/${e}`]),!n){let r=e.replace(/^block\//,"");n=t.textures[r]}return n?this.tileIndexFromTextureEntry(n):-1}}});var Qb,N_e=Vn(()=>{"use strict";h();p();m();Lt();Qb=class i{entries=[{r:1,g:1,b:1}];colorToIndex=new Map;categoryBiomeToIndex=new Map;texture=null;ready=!1;packColor(e,t,n){let r=Math.round(e*255),s=Math.round(t*255),a=Math.round(n*255);return r<<16|s<<8|a}add(e,t,n,r,s){let a=this.packColor(e,t,n),o=`${r}:${s}`,l=this.categoryBiomeToIndex.get(o);if(l!==void 0)return l;let c=this.colorToIndex.get(a);if(c!==void 0)return this.categoryBiomeToIndex.set(o,c),c;let u=this.entries.length;return this.entries.push({r:e,g:t,b:n}),this.colorToIndex.set(a,u),this.categoryBiomeToIndex.set(o,u),u}getTintIndex(e,t,n,r){return e===void 0?0:e===0?t==="redstone_wire"?this.categoryBiomeToIndex.get(`redstone:${n.power}`)??this.categoryBiomeToIndex.get("redstone:0")??0:t==="birch_leaves"||t==="spruce_leaves"||t==="lily_pad"?this.categoryBiomeToIndex.get(`constant:${t}`)??this.categoryBiomeToIndex.get("constant:default")??0:t.includes("leaves")||t==="vine"?this.categoryBiomeToIndex.get(`foliage:${r}`)??this.categoryBiomeToIndex.get("foliage:plains")??0:this.categoryBiomeToIndex.get(`grass:${r}`)??this.categoryBiomeToIndex.get("grass:plains")??0:0}getEntry(e){return this.entries[e]??this.entries[0]}get size(){return this.entries.length}buildTextureData(){let e=new Float32Array(1024);for(let t=0;t<this.entries.length&&t<256;t++){let n=this.entries[t];e[t*4]=n.r,e[t*4+1]=n.g,e[t*4+2]=n.b,e[t*4+3]=1}return e}createTexture(){this.texture&&(this.texture.dispose(),this.texture=null,this.ready=!1);let e=this.buildTextureData(),t=new ui(e,256,1,Gr,qr);return t.minFilter=ct,t.magFilter=ct,t.wrapS=jn,t.wrapT=jn,t.needsUpdate=!0,this.texture=t,this.ready=!0,t}getTexture(){return this.texture}isReady(){return this.ready}static fromTintsData(e){let t=new i;function n(r){let s=(r>>16&255)/255,a=(r>>8&255)/255,o=(r&255)/255;return[s,a,o]}if(e.grass){let r=n(e.grass.default);for(let{keys:s,color:a}of e.grass.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"grass",l)}t.add(r[0],r[1],r[2],"grass","plains")}if(e.foliage){let r=n(e.foliage.default);for(let{keys:s,color:a}of e.foliage.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"foliage",l)}t.add(r[0],r[1],r[2],"foliage","plains")}if(e.redstone){let r=n(e.redstone.default);for(let{keys:s,color:a}of e.redstone.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"redstone",l)}t.add(r[0],r[1],r[2],"redstone","0")}if(e.constant){let r=n(e.constant.default);for(let{keys:s,color:a}of e.constant.data??[]){let o=n(a);for(let l of s)t.add(o[0],o[1],o[2],"constant",l)}t.add(r[0],r[1],r[2],"constant","default")}return t}}});function xYe(){let i=globalThis.loadedData?.tints;return i||(U_e||(U_e=!0,console.warn("[shaderCubeBridge] loadedData.tints missing; shader cubes use legacy path")),null)}function n9(){let i=xYe();if(!i)return null;if(e9||(e9=Qb.fromTintsData(i),e9.createTexture()),!xP){let e=M3.latest??M3;xP=new Zb({width:e.width,height:e.height,tileSize:e.tileSize??16,suSv:e.suSv??16,textures:e.textures??{}})}return{tintPalette:e9,textureIndexMapping:xP}}function F_e(){return 1<<D_e.EMPTY_SHIFT>>>0}var t9,e9,xP,U_e,z5=Vn(()=>{"use strict";h();p();m();kE();Kc();O_e();N_e();t9=4,e9=null,xP=null,U_e=!1});function wYe(i,e){let t=new Sa,n=new Float32Array(l0*3);t.setAttribute("position",new Mt(n,3));let r=new Uint32Array(e),s=new Uint32Array(e),a=new Uint32Array(e),o=new Uint32Array(e),l=t9;for(let c=0;c<e;c++)r[c]=i[c*l],s[c]=i[c*l+1],a[c]=i[c*l+2],o[c]=i[c*l+3];return t.setAttribute("a_w0",new Ar(r,1)),t.setAttribute("a_w1",new Ar(s,1)),t.setAttribute("a_w2",new Ar(a,1)),t.setAttribute("a_w3",new Ar(o,1)),t.instanceCount=e,t.boundingBox=new kn(new X(-8,-8,-8),new X(8,8,8)),t.boundingSphere=new Tn(new X(0,0,0),Math.sqrt(3*8**2)),t}function SYe(i){i.raycast=(e,t)=>{let{geometry:n}=i;if(!n.boundingBox||(V_e.copy(n.boundingBox).applyMatrix4(i.matrixWorld),!e.ray.intersectBox(V_e,wP)))return;let r=e.ray.origin.distanceTo(wP);t.push({distance:r,point:wP.clone(),object:i})}}function r9(i,e){let t=wYe(i.words,i.count),n=new Ke(t,e);return n.name="shaderMesh",n.matrixAutoUpdate=!1,n.frustumCulled=!1,SYe(n),n}function SP(i){i.geometry.dispose()}var V_e,wP,EP=Vn(()=>{"use strict";h();p();m();Lt();Kc();z5();V_e=new kn,wP=new X});var j_e={};so(j_e,{applyWorldGeometryExport:()=>AYe,createMeshesFromExport:()=>G_e,downloadWorldGeometry:()=>MP,exportWorldGeometry:()=>H_e,loadTextureFromDataUrl:()=>W_e,loadWorldGeometryFromUrl:()=>EYe});function H_e(i,e,t,n=!1){let r=[],s=Ml(i.timeOfTheDay)/15,a=i.chunkMeshManager.globalLegacyBuffer;for(let[l,c]of Object.entries(i.sectionObjects)){let u=[],d=[],f=[],v=[],g=[],b=[],y=[],_=a?.getSectionGeometryData(l);_&&(u.push(..._.positions),f.push(...jb(_.colors,_.skyLights,_.blockLights,s)),v.push(..._.skyLights),g.push(..._.blockLights),b.push(..._.uvs),y.push(..._.indices));let x=c.children.find(w=>w.name==="mesh");if(x?.geometry){let{geometry:w}=x,S=w.getAttribute("position"),A=w.getAttribute("normal"),T=w.getAttribute("color"),P=w.getAttribute("a_skyLight"),I=w.getAttribute("a_blockLight"),k=w.getAttribute("uv"),L=w.index;if(S&&L&&T){let B=u.length/3,U=S.count,O=Array.from(T.array),V=P?Array.from(P.array):new Array(U).fill(1),F=I?Array.from(I.array):new Array(U).fill(0);u.push(...Array.from(S.array)),A&&d.push(...Array.from(A.array)),f.push(...jb(O,V,F,s)),v.push(...V),g.push(...F),k&&b.push(...Array.from(k.array));for(let J of Array.from(L.array))y.push(J+B)}}u.length===0||y.length===0||r.push({key:l,position:{x:c.worldX??0,y:c.worldY??0,z:c.worldZ??0},geometry:{positions:u,normals:d,colors:f,skyLights:v,blockLights:g,uvs:b,indices:y}})}let o={version:i.version??"unknown",exportedAt:new Date().toISOString(),camera:{position:e,rotation:t},sections:r};if(n&&i.material.map){let l=document.createElement("canvas"),c=i.material.map,{image:u}=c;u&&(l.width=u.width,l.height=u.height,l.getContext("2d").drawImage(u,0,0),o.textureAtlasDataUrl=l.toDataURL("image/png"))}return o}function MP(i,e,t,n="world-geometry.json",r=!1){let s=H_e(i,e,t,r),a=JSON.stringify(s),o=new Blob([a],{type:"application/json"}),l=URL.createObjectURL(o),c=document.createElement("a");c.href=l,c.download=n,c.click(),URL.revokeObjectURL(l)}async function EYe(i){let e=await fetch(i);if(!e.ok)throw new Error(`Failed to fetch world geometry: ${e.statusText}`);return e.json()}function q_e(i,e){let t=i.map??i.map;if(!t)return null;let n=Yb();n.uniforms.u_atlas.value=t,Jb(n,e);let r=n9();if(!r)return null;let{tintPalette:s}=r;return s.isReady()||s.createTexture(),n.uniforms.u_tintPalette.value=s.getTexture(),n}function G_e(i,e,t,n=1){let r=[],s=t??q_e(e,n);for(let a of i.sections){let o=new bt;if(o.name="chunk",a.geometry.positions.length>0&&a.geometry.indices.length>0){let u=new dt;if(u.setAttribute("position",new Je(a.geometry.positions,3)),a.geometry.normals.length&&u.setAttribute("normal",new Je(a.geometry.normals,3)),a.geometry.colors.length){let g=a.geometry.skyLights?.length?jb(a.geometry.colors,a.geometry.skyLights,a.geometry.blockLights,n):a.geometry.colors;u.setAttribute("color",new Je(g,3))}a.geometry.uvs.length&&u.setAttribute("uv",new Je(a.geometry.uvs,2));let f=Math.max(...a.geometry.indices)>65535?Uint32Array:Uint16Array;u.setIndex(new Mt(new f(a.geometry.indices),1));let v=new Ke(u,e);v.position.set(a.position.x,a.position.y,a.position.z),v.name="mesh",o.add(v)}let c=a.shaderCubes;if(c&&c.count>0&&s){let u=r9(c,s);u.position.set(a.position.x,a.position.y,a.position.z),o.add(u)}o.children.length>0&&r.push(o)}return r}async function W_e(i){return new Promise((e,t)=>{let n=new Image;n.onload=()=>{let r=new sn(n);r.magFilter=ct,r.minFilter=ct,r.needsUpdate=!0,r.flipY=!1,e(r)},n.onerror=t,n.src=i})}async function AYe(i,e){let{scene:t,renderUpdateEmitter:n,material:r}=i,s=t.getObjectByName(z_e);s&&(t.remove(s),MYe(s));let a=!!e.textureAtlasDataUrl,o;if(a&&e.textureAtlasDataUrl){let f=await W_e(e.textureAtlasDataUrl);o=new ws({map:f,vertexColors:!0,transparent:!0,alphaTest:.1}),o.name="geometry-export-material"}else o=r;let l=Ml(i.timeOfTheDay)/15,c=e.sections.some(f=>(f.shaderCubes?.count??0)>0)?q_e(o,l):null,u=G_e(e,o,c,l),d=new bt;d.name=z_e,a&&(d.userData.geometryExportMaterial=o);for(let f of u)d.add(f);return t.add(d),n.emit("update"),u.length}var z_e,MYe,AP=Vn(()=>{"use strict";h();p();m();Lt();o4();L_e();z5();Kc();EP();z_e="geometry-export-root";MYe=i=>{i.traverse(t=>{t.isMesh&&t.geometry?.dispose()});let e=i.userData?.geometryExportMaterial;e&&(e.map?.dispose?.(),e.dispose?.())}});var E9=M((l9n,K4e)=>{h();p();m();var{Vec3:J4e}=gl(),ri={UNKNOWN:-999,BOTTOM:0,TOP:1,NORTH:2,SOUTH:3,WEST:4,EAST:5},S9=class{constructor(e,t,n){this.maxDistance=Math.floor(n),this.startx=e,this.starty=t,this.x=2,this.y=-1,this.layer=1,this.leg=-1}next(){if(this.leg===-1)return this.leg=0,new J4e(this.startx,0,this.starty);if(this.leg===0){if(this.maxDistance===1)return null;this.x--,this.y++,this.x===0&&(this.leg=1)}else if(this.leg===1)this.x--,this.y--,this.y===0&&(this.leg=2);else if(this.leg===2)this.x++,this.y--,this.x===0&&(this.leg=3);else if(this.leg===3&&(this.x++,this.y++,this.y===0&&(this.x++,this.leg=0,this.layer++,this.layer===this.maxDistance)))return null;return new J4e(this.startx+this.x,0,this.starty+this.y)}},JP=class{constructor(e,t){this.start=e.floored(),this.maxDistance=t,this.apothem=1,this.x=-1,this.y=-1,this.z=-1,this.L=this.apothem,this.R=this.L+1}next(){if(this.apothem>this.maxDistance)return null;this.R-=1,this.R<0&&(this.L-=1,this.L<0&&(this.z+=2,this.z>1&&(this.y+=2,this.y>1&&(this.x+=2,this.x>1&&(this.apothem+=1,this.x=-1),this.y=-1),this.z=-1),this.L=this.apothem),this.R=this.L);let e=this.x*this.R,t=this.y*(this.apothem-this.L),n=this.z*(this.apothem-(Math.abs(e)+Math.abs(t)));return this.start.offset(e,t,n)}},KP=class{constructor(e,t,n){this.block={x:Math.floor(e.x),y:Math.floor(e.y),z:Math.floor(e.z),face:ri.UNKNOWN},this.pos=e,this.dir=t,this.invDirX=t.x===0?Number.MAX_VALUE:1/t.x,this.invDirY=t.y===0?Number.MAX_VALUE:1/t.y,this.invDirZ=t.z===0?Number.MAX_VALUE:1/t.z,this.stepX=Math.sign(t.x),this.stepY=Math.sign(t.y),this.stepZ=Math.sign(t.z),this.tDeltaX=t.x===0?Number.MAX_VALUE:Math.abs(1/t.x),this.tDeltaY=t.y===0?Number.MAX_VALUE:Math.abs(1/t.y),this.tDeltaZ=t.z===0?Number.MAX_VALUE:Math.abs(1/t.z),this.tMaxX=t.x===0?Number.MAX_VALUE:Math.abs((this.block.x+(t.x>0?1:0)-e.x)/t.x),this.tMaxY=t.y===0?Number.MAX_VALUE:Math.abs((this.block.y+(t.y>0?1:0)-e.y)/t.y),this.tMaxZ=t.z===0?Number.MAX_VALUE:Math.abs((this.block.z+(t.z>0?1:0)-e.z)/t.z),this.maxDistance=n}intersect(e,t){let n=Number.MAX_VALUE,r=ri.UNKNOWN,s=this.pos.minus(t);for(let a of e){let o=(a[this.invDirX>0?0:3]-s.x)*this.invDirX,l=(a[this.invDirX>0?3:0]-s.x)*this.invDirX,c=(a[this.invDirY>0?1:4]-s.y)*this.invDirY,u=(a[this.invDirY>0?4:1]-s.y)*this.invDirY,d=this.stepX>0?ri.WEST:ri.EAST;if(o>u||c>l)continue;c>o&&(o=c,d=this.stepY>0?ri.BOTTOM:ri.TOP),u<l&&(l=u);let f=(a[this.invDirZ>0?2:5]-s.z)*this.invDirZ,v=(a[this.invDirZ>0?5:2]-s.z)*this.invDirZ;o>v||f>l||(f>o&&(o=f,d=this.stepZ>0?ri.NORTH:ri.SOUTH),v<l&&(l=v),o<n&&(n=o,r=d))}return n===Number.MAX_VALUE?null:{pos:this.pos.plus(this.dir.scaled(n)),face:r}}next(){return Math.min(Math.min(this.tMaxX,this.tMaxY),this.tMaxZ)>this.maxDistance?null:(this.tMaxX<this.tMaxY?this.tMaxX<this.tMaxZ?(this.block.x+=this.stepX,this.tMaxX+=this.tDeltaX,this.block.face=this.stepX>0?ri.WEST:ri.EAST):(this.block.z+=this.stepZ,this.tMaxZ+=this.tDeltaZ,this.block.face=this.stepZ>0?ri.NORTH:ri.SOUTH):this.tMaxY<this.tMaxZ?(this.block.y+=this.stepY,this.tMaxY+=this.tDeltaY,this.block.face=this.stepY>0?ri.BOTTOM:ri.TOP):(this.block.z+=this.stepZ,this.tMaxZ+=this.tDeltaZ,this.block.face=this.stepZ>0?ri.NORTH:ri.SOUTH),this.block)}},ZP=class{constructor(e,t){this.start=e,this.maxDistance=t,this.NUMBER_OF_POINTS=Math.floor(Math.pow((Math.floor(t)-.5)*2,2)),this.di=1,this.dj=0,this.segment_length=1,this.i=0,this.j=0,this.segment_passed=0,this.k=0}next(){if(this.k>=this.NUMBER_OF_POINTS)return null;let e=this.start.offset(this.i,0,this.j);if(this.i+=this.di,this.j+=this.dj,this.segment_passed+=1,this.segment_passed===this.segment_length){this.segment_passed=0;let t=this.di;this.di=-this.dj,this.dj=t,this.dj===0&&(this.segment_length+=1)}return this.k+=1,e}};K4e.exports={ManhattanIterator:S9,ManathanIterator:S9,OctahedronIterator:JP,RaycastIterator:KP,SpiralIterator2d:ZP,BlockFace:ri}});var Q4e=M((f9n,Z4e)=>{h();p();m();var{Vec3:vg}=gl(),{EventEmitter:mJe}=(Ia(),Er(j0)),{RaycastIterator:pJe}=E9();function Wi(i){return new vg(Math.floor(i.x)&15,Math.floor(i.y),Math.floor(i.z)&15)}var QP=class extends mJe{constructor(e){super(),this.async=e}initialize(e,t,n,r=256,s=new vg(0,0,0)){function a(u,d,f){return!(u>=n||u<0||f>=t||f<0||d>=r||d<0)}let o=Wi(s),l=Math.ceil((t+o.z)/16),c=Math.ceil((n+o.x)/16);for(let u=0;u<l;u++){let d=u+Math.floor(s.z/16);for(let f=0;f<c;f++){let v=f+Math.floor(s.x/16),g=this.getColumn(v,d),b=f*16-o.x,y=u*16-o.z;g.initialize((_,x,w)=>a(_+b,x-s.y,w+y)?e(_+b,x-s.y,w+y):null),this.setColumn(v,d,g)}}}raycast(e,t,n,r=null){let s=new pJe(e,t,n),a=e;for(;a;){let o=new vg(a.x,a.y,a.z),l=this.getBlock(o);if(l)if(r){if(r(l,s))return l}else{let c=s.intersect([...l.shapes,...l.interactionShapes??[]],o);if(c)return l.face=c.face,l.intersect=c.pos,l}a=s.next()}return null}_emitBlockUpdate(e,t,n){e.position=n.floored(),t.position=e.position,this.emit("blockUpdate",e,t),this.emit(`blockUpdate:${n}`,e,t)}unloadColumn(e,t){this.async.unloadColumn(e,t);let n=new vg(e*16,0,t*16);this.emit("chunkColumnUnload",n)}getColumns(){return this.async.getColumns()}getColumn(e,t){return this.async.getLoadedColumn(e,t)}getColumnAt(e){return this.async.getLoadedColumnAt(e)}setColumn(e,t,n,r=!0){this.async.setLoadedColumn(e,t,n,r);let s=new vg(e*16,0,t*16);this.emit("chunkColumnLoad",s)}getBlock(e){let t=this.getColumnAt(e);if(!t)return null;let n=t.getBlock(Wi(e));return n.position=e.floored(),n}getBlockStateId(e){let t=this.getColumnAt(e);return t?t.getBlockStateId(Wi(e)):0}getBlockType(e){let t=this.getColumnAt(e);return t?t.getBlockType(Wi(e)):0}getBlockData(e){let t=this.getColumnAt(e);return t?t.getBlockData(Wi(e)):0}getBlockLight(e){let t=this.getColumnAt(e);return t?t.getBlockLight(Wi(e)):0}getSkyLight(e){let t=this.getColumnAt(e);return t?t.getSkyLight(Wi(e)):0}getBiome(e){let t=this.getColumnAt(e);return t?t.getBiome(Wi(e)):0}setBlock(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlock(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,t,e)}setBlockStateId(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockStateId(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBlockType(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockType(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBlockData(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockData(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBlockLight(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBlockLight(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setSkyLight(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setSkyLight(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}setBiome(e,t){let n=this.getColumnAt(e);if(!n)return;let r=Wi(e),s=n.getBlock(r);n.setBiome(r,t),this.async.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}};Z4e.exports=QP});var t8e=M((v9n,e8e)=>{h();p();m();var{Vec3:_g}=gl(),{EventEmitter:vJe}=(Ia(),Er(j0)),{RaycastIterator:gJe}=E9(),_Je=Q4e(),{once:yJe}=(Ia(),Er(j0));function gg(i,e){return i+","+e}function ji(i){return new _g(Math.floor(i.x)&15,Math.floor(i.y),Math.floor(i.z)&15)}var eL=class extends vJe{constructor(e,t=null,n=1e3){super(),this.savingQueue=new Map,this.unloadQueue=new Map,this.finishedSaving=Promise.resolve(),this.currentlySaving=!1,this.columns={},this.chunkGenerator=e,this.storageProvider=t,this.savingInterval=n,this.sync=new _Je(this),t&&n!==0&&this.startSaving()}initialize(e,t,n,r=256,s=new _g(0,0,0)){function a(d,f,v){return!(d>=n||d<0||v>=t||v<0||f>=r||f<0)}let o=[],l=ji(s),c=Math.ceil((t+l.z)/16),u=Math.ceil((n+l.x)/16);for(let d=0;d<c;d++){let f=d+Math.floor(s.z/16);for(let v=0;v<u;v++){let g=v+Math.floor(s.x/16);o.push(this.getColumn(g,f).then(b=>{let y=v*16-l.x,_=d*16-l.z;return b.initialize((x,w,S)=>a(x+y,w-s.y,S+_)?e(x+y,w-s.y,S+_):null),this.setColumn(g,f,b)}).then(()=>({chunkX:g,chunkZ:f})))}}return Promise.all(o)}async raycast(e,t,n,r=null){let s=new gJe(e,t,n),a=e;for(;a;){let o=new _g(a.x,a.y,a.z),l=await this.getBlock(o);if(l&&(!r||r(l))){let c=s.intersect([...l.shapes,...l.interactionShapes??[]],o);if(c)return l.face=c.face,l.intersect=c.pos,l}a=s.next()}return null}getLoadedColumn(e,t){let n=gg(e,t);return this.columns[n]}async getColumn(e,t){await Promise.resolve();let n=gg(e,t);if(!this.columns[n]){let r=null;if(this.storageProvider!=null){let a=await this.storageProvider.load(e,t);a!=null&&(r=a)}let s=r!=null;!s&&this.chunkGenerator&&(r=await this.chunkGenerator(e,t)),r!=null&&await this.setColumn(e,t,r,!s)}return this.columns[n]}_emitBlockUpdate(e,t,n){e.position=n.floored(),t.position=e.position,this.emit("blockUpdate",e,t),this.emit(`blockUpdate:${n}`,e,t)}setLoadedColumn(e,t,n,r=!0){let s=gg(e,t);this.columns[s]=n;let a=new _g(e*16,0,t*16);this.emit("chunkColumnLoad",a),this.storageProvider&&r&&this.queueSaving(e,t)}async setColumn(e,t,n,r=!0){await Promise.resolve(),this.setLoadedColumn(e,t,n,r)}unloadColumn(e,t){let n=gg(e,t);this.storageProvider&&this.savingQueue.has(n)?this.unloadQueue.set(n,{chunkX:e,chunkZ:t}):this.forceUnloadColumn(n,e,t)}forceUnloadColumn(e,t,n){this.unloadQueue.has(e)&&this.unloadQueue.delete(e),delete this.columns[e];let r=new _g(t*16,0,n*16);this.emit("chunkColumnUnload",r)}async saveNow(){if(this.savingQueue.size!==0){for(let[e,{chunkX:t,chunkZ:n}]of this.savingQueue.entries())this.finishedSaving=Promise.all([this.finishedSaving,this.storageProvider.save(t,n,this.columns[e])]);await this.finishedSaving,this.savingQueue.clear();for(let[e,{chunkX:t,chunkZ:n}]of this.unloadQueue.entries())this.forceUnloadColumn(e,t,n);this.emit("doneSaving")}}startSaving(){this.savingInt=setInterval(async()=>{this.currentlySaving===!1&&(this.currentlySaving=!0,await this.saveNow(),this.currentlySaving=!1)},this.savingInterval)}async waitSaving(){await this.saveNow(),this.savingQueue.size>0&&await yJe(this,"doneSaving"),await this.finishedSaving}stopSaving(){clearInterval(this.savingInt)}queueSaving(e,t){this.savingQueue.set(gg(e,t),{chunkX:e,chunkZ:t})}saveAt(e){let t=Math.floor(e.x/16),n=Math.floor(e.z/16);this.storageProvider&&this.queueSaving(t,n)}getColumns(){return Object.entries(this.columns).map(([e,t])=>{let n=e.split(",");return{chunkX:n[0],chunkZ:n[1],column:t}})}getLoadedColumnAt(e){let t=Math.floor(e.x/16),n=Math.floor(e.z/16);return this.getLoadedColumn(t,n)}async getColumnAt(e){let t=Math.floor(e.x/16),n=Math.floor(e.z/16);return this.getColumn(t,n)}async setBlock(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlock(r,t),this.saveAt(e),this._emitBlockUpdate(s,t,e)}async getBlock(e){let t=(await this.getColumnAt(e)).getBlock(ji(e));return t.position=e.floored(),t}async getBlockStateId(e){return(await this.getColumnAt(e)).getBlockStateId(ji(e))}async getBlockType(e){return(await this.getColumnAt(e)).getBlockType(ji(e))}async getBlockData(e){return(await this.getColumnAt(e)).getBlockData(ji(e))}async getBlockLight(e){return(await this.getColumnAt(e)).getBlockLight(ji(e))}async getSkyLight(e){return(await this.getColumnAt(e)).getSkyLight(ji(e))}async getBiome(e){return(await this.getColumnAt(e)).getBiome(ji(e))}async setBlockStateId(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockStateId(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBlockType(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockType(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBlockData(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockData(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBlockLight(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBlockLight(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setSkyLight(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setSkyLight(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}async setBiome(e,t){let n=await this.getColumnAt(e),r=ji(e),s=n.getBlock(r);n.setBiome(r,t),this.saveAt(e),this._emitBlockUpdate(s,n.getBlock(r),e)}};function bJe(i){return eL}e8e.exports=bJe});var n8e=M((b9n,tL)=>{h();p();m();tL.exports=t8e();tL.exports.iterators=E9()});h();p();m();h();p();m();function kB(i){if(Array.isArray(i))return i;if(!i||typeof i!="object")return;let e=i,t=Object.keys(e).filter(n=>/^\d+$/.test(n)).map(Number).sort((n,r)=>n-r);if(!(!t.length||t[0]!==0)){for(let n=0;n<t.length;n++)if(t[n]!==n)return;return t.map(n=>e[String(n)])}}function m0(i,e){return Array.isArray(i)?i.reduce((t,n)=>(t[n[e]]=n,t),{}):(console.warn("[augmentWorkerMcData] buildIndexFromArray expected array, got",typeof i),{})}function E8e(i,e,t){return Array.isArray(i)?i.reduce((n,r)=>{let s=r[e],a=r[t];for(let o=s;o<=a;o++)n[o]=r;return n},{}):(console.warn("[augmentWorkerMcData] buildIndexFromArrayWithRanges expected array, got",typeof i),{})}function M8e(i){if(i.length&&!("minStateId"in i[0]&&"defaultState"in i[0]))for(let e of i){let t=e.id;e.minStateId=t<<4,e.maxStateId=e.minStateId+15,e.defaultState=e.minStateId}}function kg(i,e,t){let n=kB(i[e]);if(n?.length)return n;let r=kB(i[t]);if(r?.length)return r}function TB(i){if(i.__workerIndexesBuilt)return i;let e=kg(i,"blocksArray","blocks");e?.length&&(M8e(e),i.blocksArray=e,i.blocks=m0(e,"id"),i.blocksByName=m0(e,"name"),i.blocksByStateId=E8e(e,"minStateId","maxStateId"));let t=kg(i,"itemsArray","items");t?.length&&(i.itemsArray=t,i.itemsByName=m0(t,"name"),i.items=m0(t,"id"));let n=kg(i,"entitiesArray","entities");n?.length&&(i.entitiesArray=n,i.entitiesByName=m0(n,"name"),i.entities=m0(n,"id"));let r=kg(i,"biomesArray","biomes");return r?.length&&(i.biomesArray=r,i.biomes=m0(r,"id"),i.biomesByName=m0(r,"name")),i.__workerIndexesBuilt=!0,i}h();p();m();Lt();h();p();m();var _N=Yr(gl(),1);var kt=_N.default.Vec3;h();p();m();h();p();m();h();p();m();var _Ke=Symbol(),aEe=Symbol();var yN=Object.getPrototypeOf,Dw=new WeakMap,oEe=i=>i&&(Dw.has(i)?Dw.get(i):yN(i)===Object.prototype||yN(i)===Array.prototype);var bN=i=>oEe(i)&&i[aEe]||null,Ow=(i,e=!0)=>{Dw.set(i,e)};var p1={},Nw=i=>typeof i=="object"&&i!==null,G0=new WeakMap,U7=new WeakSet,lEe=(i=Object.is,e=(c,u)=>new Proxy(c,u),t=c=>Nw(c)&&!U7.has(c)&&(Array.isArray(c)||!(Symbol.iterator in c))&&!(c instanceof WeakMap)&&!(c instanceof WeakSet)&&!(c instanceof Error)&&!(c instanceof Number)&&!(c instanceof Date)&&!(c instanceof String)&&!(c instanceof RegExp)&&!(c instanceof ArrayBuffer),n=c=>{switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:throw c}},r=new WeakMap,s=(c,u,d=n)=>{let f=r.get(c);if(f?.[0]===u)return f[1];let v=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c));return Ow(v,!0),r.set(c,[u,v]),Reflect.ownKeys(c).forEach(g=>{if(Object.getOwnPropertyDescriptor(v,g))return;let b=Reflect.get(c,g),{enumerable:y}=Reflect.getOwnPropertyDescriptor(c,g),_={value:b,enumerable:y,configurable:!0};if(U7.has(b))Ow(b,!1);else if(b instanceof Promise)delete _.value,_.get=()=>d(b);else if(G0.has(b)){let[x,w]=G0.get(b);_.value=s(x,w(),d)}Object.defineProperty(v,g,_)}),Object.preventExtensions(v)},a=new WeakMap,o=[1,1],l=c=>{if(!Nw(c))throw new Error("object required");let u=a.get(c);if(u)return u;let d=o[0],f=new Set,v=(k,L=++o[0])=>{d!==L&&(d=L,f.forEach(B=>B(k,L)))},g=o[1],b=(k=++o[1])=>(g!==k&&!f.size&&(g=k,_.forEach(([L])=>{let B=L[1](k);B>d&&(d=B)})),d),y=k=>(L,B)=>{let U=[...L];U[1]=[k,...U[1]],v(U,B)},_=new Map,x=(k,L)=>{if((p1.env?p1.env.MODE:void 0)!=="production"&&_.has(k))throw new Error("prop listener already exists");if(f.size){let B=L[3](y(k));_.set(k,[L,B])}else _.set(k,[L])},w=k=>{var L;let B=_.get(k);B&&(_.delete(k),(L=B[1])==null||L.call(B))},S=k=>(f.add(k),f.size===1&&_.forEach(([B,U],O)=>{if((p1.env?p1.env.MODE:void 0)!=="production"&&U)throw new Error("remove already exists");let V=B[3](y(O));_.set(O,[B,V])}),()=>{f.delete(k),f.size===0&&_.forEach(([B,U],O)=>{U&&(U(),_.set(O,[B]))})}),A=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),P=e(A,{deleteProperty(k,L){let B=Reflect.get(k,L);w(L);let U=Reflect.deleteProperty(k,L);return U&&v(["delete",[L],B]),U},set(k,L,B,U){let O=Reflect.has(k,L),V=Reflect.get(k,L,U);if(O&&(i(V,B)||a.has(B)&&i(V,a.get(B))))return!0;w(L),Nw(B)&&(B=bN(B)||B);let F=B;if(B instanceof Promise)B.then(J=>{B.status="fulfilled",B.value=J,v(["resolve",[L],J])}).catch(J=>{B.status="rejected",B.reason=J,v(["reject",[L],J])});else{!G0.has(B)&&t(B)&&(F=l(B));let J=!U7.has(F)&&G0.get(F);J&&x(L,J)}return Reflect.set(k,L,F,U),v(["set",[L],B,V]),!0}});a.set(c,P);let I=[A,b,s,S];return G0.set(P,I),Reflect.ownKeys(c).forEach(k=>{let L=Object.getOwnPropertyDescriptor(c,k);"value"in L&&(P[k]=c[k],delete L.value,delete L.writable),Object.defineProperty(A,k,L)}),P})=>[l,G0,U7,i,e,t,n,r,s,a,o],[cEe]=lEe();function _l(i={}){return cEe(i)}function Uw(i){let e=G0.get(i);return e?.[1]()}function v1(i,e,t){let n=G0.get(i);(p1.env?p1.env.MODE:void 0)!=="production"&&!n&&console.warn("Please use proxy object");let r,s=[],a=n[3],o=!1,c=a(u=>{if(s.push(u),t){e(s.splice(0));return}r||(r=Promise.resolve().then(()=>{r=void 0,o&&e(s.splice(0))}))});return o=!0,()=>{o=!1,c()}}function SN(i,e){let t=e??globalThis;return t.addEventListener("message",n=>{let{type:r,args:s,msgId:a}=n.data;if(i[r]){let o=i[r](...s);o instanceof Promise&&o.then(l=>{t.postMessage({type:"result",msgId:a,args:[l]})})}}),null}var EN=!1,c2={toWorker:0,fromWorker:0},xN=null,uEe=()=>{xN==null&&(typeof window>"u"||(xN=setInterval(()=>{globalThis.debugWorkerSyncStats={...c2},c2.toWorker=0,c2.fromWorker=0},1e3)))},V7=i=>{uEe(),i==="toWorker"?c2.toWorker++:c2.fromWorker++};var dEe=(i,e,t)=>{if(e.length===0)return;let n=i;for(let r=0;r<e.length-1;r++){let s=e[r];(n[s]==null||typeof n[s]!="object")&&(n[s]={}),n=n[s]}n[e[e.length-1]]=t},fEe=(i,e)=>{if(e.length===0)return;let t=i;for(let n=0;n<e.length-1;n++)if(t=t[e[n]],t==null)return;delete t[e[e.length-1]]},Fw=(i,e)=>{if(i==null||typeof i!="object")return i;if(i instanceof kt)return{x:i.x,y:i.y,z:i.z,__restorer:"Vec3"};if(typeof i.prepareForTransfer=="function")return i.prepareForTransfer(e);if(ArrayBuffer.isView(i))return i;if(Array.isArray(i))return i.map(n=>Fw(n,e));if(Uw(i)!==void 0)return F7(i);let t={};for(let n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=Fw(i[n],e));return t},hEe=(i,e)=>{let t=[];for(let n of i){let r=n[0];r==="delete"?t.push({kind:"delete",path:n[1]}):r==="set"&&t.push({kind:"set",path:n[1],value:Fw(n[2],e)})}return t},mEe=(i,e,t,n,r)=>{if(e.length===0)return;let s=hEe(e,t);if(s.length!==0)try{t.postMessage({type:"sync",syncId:i,ops:s}),n==="toWorker"&&V7("toWorker"),EN&&console.log(`sync ${r}`,s.length,"ops")}catch(a){console.error("Failed to send worker sync ops",a,r);for(let o of s)o.kind==="set"&&Vw(o.value)}},pEe=(i,e,t,n=!1)=>{for(let r of e)r.kind==="delete"?fEe(i,r.path):dEe(i,r.path,u2(r.value,[],t,!1,!1));n==="fromWorker"&&V7("fromWorker")},vEe=(i,e,t,n,r)=>{try{let s=F7(e);t.postMessage({type:"sync",syncId:i,value:s}),n==="toWorker"&&V7("toWorker"),EN&&console.log(`sync snapshot ${r}`)}catch(s){console.error("Failed to send worker sync snapshot",s,r),Vw(e)}},gEe=(i,e,t,n=!1)=>{Object.assign(i,u2(e,[],t,!1,!1)),n==="fromWorker"&&V7("fromWorker")};var F7=i=>{if(Uw(i)===void 0)return i;if(Array.isArray(i))return i.map(F7);if(typeof i=="object"&&i!==null){let e={};for(let t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=F7(i[t]));return e}return i};var Vw=(i,e=[])=>{for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){if(!i[t])continue;typeof i[t]=="object"&&i[t]!==null&&Vw(i[t],[...e,t]);try{structuredClone(i[t])}catch(n){console.error(n),console.log("Failed to clone for transfer",e.join("."))}}},wN=new WeakMap,_Ee=(i,e,t)=>{if(!i.__syncId)return;let n=i.__syncId,r=wN.get(e);if(r||(r=new Set,wN.set(e,r)),!r.has(n)&&(r.add(n),i.__syncToWorker&&e.addEventListener("message",s=>{s.data.type==="sync"&&s.data.syncId===n&&(s.data.ops?pEe(i,s.data.ops,e):s.data.value&&gEe(i,s.data.value,e))}),i.__syncFromWorker)){i.__valtio&&v1(i,a=>{mEe(n,a,e,"fromWorker",`fromWorker:${t}`)});let s=i.__syncFromWorkerInterval??0;s>0&&!i.__valtio&&setInterval(()=>{vEe(n,i,e,"fromWorker",`fromWorker:interval:${t}`)},s)}},yEe=[{restorerName:"Vec3",restoreTransferred(i,e){return new kt(i.x,i.y,i.z)}}];var u2=(i,e,t,n=!0,r=!0)=>{let s=[...yEe,...e],a=(o,l)=>{if(o==null||typeof o!="object")return o;if(o.__restorer){let c=s.find(d=>d.restorerName?d.restorerName===o.__restorer:d.name===o.__restorer);if(c)return c.restoreTransferred(o,t);let u=new Error(`Restorer ${o.__restorer} not found`);if(typeof n=="function")n(u);else{if(n)throw u;console.error(u)}return o}if(Array.isArray(o))return o.map((c,u)=>a(c,`${l}[${u}]`));for(let c in o){if(!Object.prototype.hasOwnProperty.call(o,c))continue;let u=o[c];u!=null&&typeof u=="object"&&(o[c]=a(u,`${l}.${c}`))}return o.__valtio&&(o=_l(o)),r&&_Ee(o,t,l),o};return a(i,"root")};h();p();m();h();p();m();Ia();var OE=Yr(E3(),1);kE();var y0e={latest:{suSv:.015625,tileSize:16,width:1024,height:1024,textures:{missing_texture:{u:0,v:0,tileIndex:0},air:{u:.015625,v:0,tileIndex:1},invsprite_acacia_leaves:{u:0,v:.015625,tileIndex:64},invsprite_banner:{u:.015625,v:.015625,tileIndex:65},invsprite_bed:{u:.03125,v:0,tileIndex:2},invsprite_birch_leaves:{u:.046875,v:0,tileIndex:3},invsprite_dark_oak_leaves:{u:.03125,v:.015625,tileIndex:66},invsprite_experience_bottle:{u:.046875,v:.015625,tileIndex:67},invsprite_grass:{u:0,v:.03125,tileIndex:128},invsprite_jungle_leaves:{u:0,v:.046875,tileIndex:192},invsprite_oak_leaves:{u:.015625,v:.03125,tileIndex:129},invsprite_spruce_leaves:{u:.015625,v:.046875,tileIndex:193},invsprite_tall_grass:{u:.03125,v:.03125,tileIndex:130},invsprite_shield:{u:.03125,v:.046875,tileIndex:194},invsprite_black_shulker_box:{u:.046875,v:.03125,tileIndex:131},invsprite_blue_shulker_box:{u:.046875,v:.046875,tileIndex:195},invsprite_brown_shulker_box:{u:.0625,v:0,tileIndex:4},invsprite_cyan_shulker_box:{u:.078125,v:0,tileIndex:5},invsprite_gray_shulker_box:{u:.09375,v:0,tileIndex:6},invsprite_green_shulker_box:{u:.109375,v:0,tileIndex:7},invsprite_light_blue_shulker_box:{u:.0625,v:.015625,tileIndex:68},invsprite_lime_shulker_box:{u:.078125,v:.015625,tileIndex:69},invsprite_magenta_shulker_box:{u:.09375,v:.015625,tileIndex:70},invsprite_orange_shulker_box:{u:.109375,v:.015625,tileIndex:71},invsprite_pink_shulker_box:{u:.0625,v:.03125,tileIndex:132},invsprite_purple_shulker_box:{u:.078125,v:.03125,tileIndex:133},invsprite_red_shulker_box:{u:.09375,v:.03125,tileIndex:134},invsprite_white_shulker_box:{u:.109375,v:.03125,tileIndex:135},invsprite_yellow_shulker_box:{u:.0625,v:.046875,tileIndex:196},invsprite_bat_spawn_egg:{u:.078125,v:.046875,tileIndex:197},invsprite_black_banner:{u:.09375,v:.046875,tileIndex:198},invsprite_black_bed:{u:.109375,v:.046875,tileIndex:199},invsprite_blaze_spawn_egg:{u:0,v:.0625,tileIndex:256},invsprite_blue_banner:{u:0,v:.078125,tileIndex:320},invsprite_blue_bed:{u:0,v:.09375,tileIndex:384},invsprite_brown_banner:{u:0,v:.109375,tileIndex:448},invsprite_brown_bed:{u:.015625,v:.0625,tileIndex:257},invsprite_cave_spider_spawn_egg:{u:.015625,v:.078125,tileIndex:321},invsprite_chicken_spawn_egg:{u:.015625,v:.09375,tileIndex:385},invsprite_cod_spawn_egg:{u:.015625,v:.109375,tileIndex:449},invsprite_conduit:{u:.03125,v:.0625,tileIndex:258},invsprite_cow_spawn_egg:{u:.03125,v:.078125,tileIndex:322},invsprite_creeper_head:{u:.03125,v:.09375,tileIndex:386},invsprite_creeper_spawn_egg:{u:.03125,v:.109375,tileIndex:450},invsprite_cyan_banner:{u:.046875,v:.0625,tileIndex:259},invsprite_cyan_bed:{u:.046875,v:.078125,tileIndex:323},invsprite_dolphin_spawn_egg:{u:.046875,v:.09375,tileIndex:387},invsprite_donkey_spawn_egg:{u:.046875,v:.109375,tileIndex:451},invsprite_dragon_head:{u:.0625,v:.0625,tileIndex:260},invsprite_drowned_spawn_egg:{u:.0625,v:.078125,tileIndex:324},invsprite_elder_guardian_spawn_egg:{u:.0625,v:.09375,tileIndex:388},invsprite_enderman_spawn_egg:{u:.0625,v:.109375,tileIndex:452},invsprite_endermite_spawn_egg:{u:.078125,v:.0625,tileIndex:261},invsprite_evoker_spawn_egg:{u:.09375,v:.0625,tileIndex:262},invsprite_firework_star:{u:.109375,v:.0625,tileIndex:263},invsprite_ghast_spawn_egg:{u:.078125,v:.078125,tileIndex:325},invsprite_gray_banner:{u:.078125,v:.09375,tileIndex:389},invsprite_gray_bed:{u:.078125,v:.109375,tileIndex:453},invsprite_green_banner:{u:.09375,v:.078125,tileIndex:326},invsprite_green_bed:{u:.109375,v:.078125,tileIndex:327},invsprite_guardian_spawn_egg:{u:.09375,v:.09375,tileIndex:390},invsprite_horse_spawn_egg:{u:.09375,v:.109375,tileIndex:454},invsprite_husk_spawn_egg:{u:.109375,v:.09375,tileIndex:391},invsprite_light_blue_banner:{u:.109375,v:.109375,tileIndex:455},invsprite_light_blue_bed:{u:.125,v:0,tileIndex:8},invsprite_light_gray_banner:{u:.140625,v:0,tileIndex:9},invsprite_light_gray_bed:{u:.15625,v:0,tileIndex:10},invsprite_light_gray_shulker_box:{u:.171875,v:0,tileIndex:11},invsprite_lime_banner:{u:.1875,v:0,tileIndex:12},invsprite_lime_bed:{u:.203125,v:0,tileIndex:13},invsprite_lingering_potion:{u:.21875,v:0,tileIndex:14},invsprite_llama_spawn_egg:{u:.234375,v:0,tileIndex:15},invsprite_magenta_banner:{u:.125,v:.015625,tileIndex:72},invsprite_magenta_bed:{u:.140625,v:.015625,tileIndex:73},invsprite_magma_cube_spawn_egg:{u:.15625,v:.015625,tileIndex:74},invsprite_mooshroom_spawn_egg:{u:.171875,v:.015625,tileIndex:75},invsprite_mule_spawn_egg:{u:.1875,v:.015625,tileIndex:76},invsprite_ocelot_spawn_egg:{u:.203125,v:.015625,tileIndex:77},invsprite_orange_banner:{u:.21875,v:.015625,tileIndex:78},invsprite_orange_bed:{u:.234375,v:.015625,tileIndex:79},invsprite_parrot_spawn_egg:{u:.125,v:.03125,tileIndex:136},invsprite_phantom_spawn_egg:{u:.140625,v:.03125,tileIndex:137},invsprite_pig_spawn_egg:{u:.15625,v:.03125,tileIndex:138},invsprite_pink_banner:{u:.171875,v:.03125,tileIndex:139},invsprite_pink_bed:{u:.1875,v:.03125,tileIndex:140},invsprite_player_head:{u:.203125,v:.03125,tileIndex:141},invsprite_polar_bear_spawn_egg:{u:.21875,v:.03125,tileIndex:142},invsprite_pufferfish_spawn_egg:{u:.234375,v:.03125,tileIndex:143},invsprite_purple_banner:{u:.125,v:.046875,tileIndex:200},invsprite_purple_bed:{u:.140625,v:.046875,tileIndex:201},invsprite_rabbit_spawn_egg:{u:.15625,v:.046875,tileIndex:202},invsprite_red_banner:{u:.171875,v:.046875,tileIndex:203},invsprite_red_bed:{u:.1875,v:.046875,tileIndex:204},invsprite_salmon_spawn_egg:{u:.203125,v:.046875,tileIndex:205},invsprite_sheep_spawn_egg:{u:.21875,v:.046875,tileIndex:206},invsprite_shulker_spawn_egg:{u:.234375,v:.046875,tileIndex:207},invsprite_silverfish_spawn_egg:{u:.125,v:.0625,tileIndex:264},invsprite_skeleton_horse_spawn_egg:{u:.140625,v:.0625,tileIndex:265},invsprite_skeleton_skull:{u:.15625,v:.0625,tileIndex:266},invsprite_skeleton_spawn_egg:{u:.171875,v:.0625,tileIndex:267},invsprite_slime_spawn_egg:{u:.1875,v:.0625,tileIndex:268},invsprite_spider_spawn_egg:{u:.203125,v:.0625,tileIndex:269},invsprite_splash_potion:{u:.21875,v:.0625,tileIndex:270},invsprite_squid_spawn_egg:{u:.234375,v:.0625,tileIndex:271},invsprite_stray_spawn_egg:{u:.125,v:.078125,tileIndex:328},invsprite_tropical_fish_spawn_egg:{u:.140625,v:.078125,tileIndex:329},invsprite_turtle_egg:{u:.15625,v:.078125,tileIndex:330},invsprite_turtle_spawn_egg:{u:.171875,v:.078125,tileIndex:331},invsprite_vex_spawn_egg:{u:.1875,v:.078125,tileIndex:332},invsprite_villager_spawn_egg:{u:.203125,v:.078125,tileIndex:333},invsprite_vindicator_spawn_egg:{u:.21875,v:.078125,tileIndex:334},invsprite_white_banner:{u:.234375,v:.078125,tileIndex:335},invsprite_white_bed:{u:.125,v:.09375,tileIndex:392},invsprite_witch_spawn_egg:{u:.140625,v:.09375,tileIndex:393},invsprite_wither_skeleton_skull:{u:.15625,v:.09375,tileIndex:394},invsprite_wither_skeleton_spawn_egg:{u:.171875,v:.09375,tileIndex:395},invsprite_wolf_spawn_egg:{u:.1875,v:.09375,tileIndex:396},invsprite_yellow_banner:{u:.203125,v:.09375,tileIndex:397},invsprite_yellow_bed:{u:.21875,v:.09375,tileIndex:398},invsprite_zombie_head:{u:.234375,v:.09375,tileIndex:399},invsprite_zombie_horse_spawn_egg:{u:.125,v:.109375,tileIndex:456},invsprite_zombie_spawn_egg:{u:.140625,v:.109375,tileIndex:457},invsprite_zombie_villager_spawn_egg:{u:.15625,v:.109375,tileIndex:458},invsprite_cat_spawn_egg:{u:.171875,v:.109375,tileIndex:459},invsprite_creeper_banner_pattern:{u:.1875,v:.109375,tileIndex:460},invsprite_flower_banner_pattern:{u:.203125,v:.109375,tileIndex:461},invsprite_fox_spawn_egg:{u:.21875,v:.109375,tileIndex:462},invsprite_globe_banner_pattern:{u:.234375,v:.109375,tileIndex:463},invsprite_mojang_banner_pattern:{u:0,v:.125,tileIndex:512},invsprite_panda_spawn_egg:{u:0,v:.140625,tileIndex:576},invsprite_pillager_spawn_egg:{u:0,v:.15625,tileIndex:640},invsprite_ravager_spawn_egg:{u:0,v:.171875,tileIndex:704},invsprite_scaffolding:{u:0,v:.1875,tileIndex:768},invsprite_skull_banner_pattern:{u:0,v:.203125,tileIndex:832},invsprite_trader_llama_spawn_egg:{u:0,v:.21875,tileIndex:896},invsprite_wandering_trader_spawn_egg:{u:0,v:.234375,tileIndex:960},invsprite_bee_spawn_egg:{u:.015625,v:.125,tileIndex:513},invsprite_hoglin_spawn_egg:{u:.015625,v:.140625,tileIndex:577},invsprite_piglin_banner_pattern:{u:.015625,v:.15625,tileIndex:641},invsprite_piglin_spawn_egg:{u:.015625,v:.171875,tileIndex:705},invsprite_strider_spawn_egg:{u:.015625,v:.1875,tileIndex:769},invsprite_twisting_vines:{u:.015625,v:.203125,tileIndex:833},invsprite_weeping_vines:{u:.015625,v:.21875,tileIndex:897},invsprite_zoglin_spawn_egg:{u:.015625,v:.234375,tileIndex:961},invsprite_zombified_piglin_spawn_egg:{u:.03125,v:.125,tileIndex:514},invsprite_piglin_brute_spawn_egg:{u:.03125,v:.140625,tileIndex:578},apple:{u:.03125,v:.15625,tileIndex:642},apple_golden:{u:.03125,v:.171875,tileIndex:706},arrow:{u:.03125,v:.1875,tileIndex:770},bed:{u:.03125,v:.203125,tileIndex:834},beef_cooked:{u:.03125,v:.21875,tileIndex:898},beef_raw:{u:.03125,v:.234375,tileIndex:962},blaze_powder:{u:.046875,v:.125,tileIndex:515},blaze_rod:{u:.046875,v:.140625,tileIndex:579},boat:{u:.046875,v:.15625,tileIndex:643},bone:{u:.046875,v:.171875,tileIndex:707},book_enchanted:{u:.046875,v:.1875,tileIndex:771},book_normal:{u:.046875,v:.203125,tileIndex:835},book_writable:{u:.046875,v:.21875,tileIndex:899},book_written:{u:.046875,v:.234375,tileIndex:963},bow_pulling_0:{u:.0625,v:.125,tileIndex:516},bow_pulling_1:{u:.0625,v:.140625,tileIndex:580},bow_pulling_2:{u:.0625,v:.15625,tileIndex:644},bow_standby:{u:.0625,v:.171875,tileIndex:708},bowl:{u:.0625,v:.1875,tileIndex:772},bread:{u:.0625,v:.203125,tileIndex:836},brewing_stand:{u:.0625,v:.21875,tileIndex:900},brick:{u:.0625,v:.234375,tileIndex:964},bucket_empty:{u:.078125,v:.125,tileIndex:517},bucket_lava:{u:.078125,v:.140625,tileIndex:581},bucket_milk:{u:.078125,v:.15625,tileIndex:645},bucket_water:{u:.078125,v:.171875,tileIndex:709},cake:{u:.078125,v:.1875,tileIndex:773},carrot:{u:.078125,v:.203125,tileIndex:837},carrot_golden:{u:.078125,v:.21875,tileIndex:901},carrot_on_a_stick:{u:.078125,v:.234375,tileIndex:965},cauldron:{u:.09375,v:.125,tileIndex:518},chainmail_boots:{u:.09375,v:.140625,tileIndex:582},chainmail_chestplate:{u:.09375,v:.15625,tileIndex:646},chainmail_helmet:{u:.09375,v:.171875,tileIndex:710},chainmail_leggings:{u:.09375,v:.1875,tileIndex:774},charcoal:{u:.09375,v:.203125,tileIndex:838},chicken_cooked:{u:.09375,v:.21875,tileIndex:902},chicken_raw:{u:.09375,v:.234375,tileIndex:966},clay_ball:{u:.109375,v:.125,tileIndex:519},clock:{u:.109375,v:.140625,tileIndex:583},coal:{u:.109375,v:.15625,tileIndex:647},comparator:{u:.109375,v:.171875,tileIndex:711},compass:{u:.109375,v:.1875,tileIndex:775},cookie:{u:.109375,v:.203125,tileIndex:839},diamond:{u:.109375,v:.21875,tileIndex:903},diamond_axe:{u:.109375,v:.234375,tileIndex:967},diamond_boots:{u:.125,v:.125,tileIndex:520},diamond_chestplate:{u:.125,v:.140625,tileIndex:584},diamond_helmet:{u:.125,v:.15625,tileIndex:648},diamond_hoe:{u:.125,v:.171875,tileIndex:712},diamond_horse_armor:{u:.125,v:.1875,tileIndex:776},diamond_leggings:{u:.125,v:.203125,tileIndex:840},diamond_pickaxe:{u:.125,v:.21875,tileIndex:904},diamond_shovel:{u:.125,v:.234375,tileIndex:968},diamond_sword:{u:.140625,v:.125,tileIndex:521},door_iron:{u:.15625,v:.125,tileIndex:522},door_wood:{u:.171875,v:.125,tileIndex:523},dye_powder_black:{u:.1875,v:.125,tileIndex:524},dye_powder_blue:{u:.203125,v:.125,tileIndex:525},dye_powder_brown:{u:.21875,v:.125,tileIndex:526},dye_powder_cyan:{u:.234375,v:.125,tileIndex:527},dye_powder_gray:{u:.140625,v:.140625,tileIndex:585},dye_powder_green:{u:.140625,v:.15625,tileIndex:649},dye_powder_light_blue:{u:.140625,v:.171875,tileIndex:713},dye_powder_lime:{u:.140625,v:.1875,tileIndex:777},dye_powder_magenta:{u:.140625,v:.203125,tileIndex:841},dye_powder_orange:{u:.140625,v:.21875,tileIndex:905},dye_powder_pink:{u:.140625,v:.234375,tileIndex:969},dye_powder_purple:{u:.15625,v:.140625,tileIndex:586},dye_powder_red:{u:.171875,v:.140625,tileIndex:587},dye_powder_silver:{u:.1875,v:.140625,tileIndex:588},dye_powder_white:{u:.203125,v:.140625,tileIndex:589},dye_powder_yellow:{u:.21875,v:.140625,tileIndex:590},egg:{u:.234375,v:.140625,tileIndex:591},emerald:{u:.15625,v:.15625,tileIndex:650},empty_armor_slot_boots:{u:.15625,v:.171875,tileIndex:714},empty_armor_slot_chestplate:{u:.15625,v:.1875,tileIndex:778},empty_armor_slot_helmet:{u:.15625,v:.203125,tileIndex:842},empty_armor_slot_leggings:{u:.15625,v:.21875,tileIndex:906},ender_eye:{u:.15625,v:.234375,tileIndex:970},ender_pearl:{u:.171875,v:.15625,tileIndex:651},experience_bottle:{u:.1875,v:.15625,tileIndex:652},feather:{u:.203125,v:.15625,tileIndex:653},fireball:{u:.21875,v:.15625,tileIndex:654},fireworks:{u:.234375,v:.15625,tileIndex:655},fireworks_charge:{u:.171875,v:.171875,tileIndex:715},fireworks_charge_overlay:{u:.171875,v:.1875,tileIndex:779},fish_clownfish_raw:{u:.171875,v:.203125,tileIndex:843},fish_cod_cooked:{u:.171875,v:.21875,tileIndex:907},fish_cod_raw:{u:.171875,v:.234375,tileIndex:971},fish_pufferfish_raw:{u:.1875,v:.171875,tileIndex:716},fish_salmon_cooked:{u:.203125,v:.171875,tileIndex:717},fish_salmon_raw:{u:.21875,v:.171875,tileIndex:718},fishing_rod_cast:{u:.234375,v:.171875,tileIndex:719},fishing_rod_uncast:{u:.1875,v:.1875,tileIndex:780},flint:{u:.1875,v:.203125,tileIndex:844},flint_and_steel:{u:.1875,v:.21875,tileIndex:908},flower_pot:{u:.1875,v:.234375,tileIndex:972},ghast_tear:{u:.203125,v:.1875,tileIndex:781},glowstone_dust:{u:.21875,v:.1875,tileIndex:782},gold_axe:{u:.234375,v:.1875,tileIndex:783},gold_boots:{u:.203125,v:.203125,tileIndex:845},gold_chestplate:{u:.203125,v:.21875,tileIndex:909},gold_helmet:{u:.203125,v:.234375,tileIndex:973},gold_hoe:{u:.21875,v:.203125,tileIndex:846},gold_horse_armor:{u:.234375,v:.203125,tileIndex:847},gold_ingot:{u:.21875,v:.21875,tileIndex:910},gold_leggings:{u:.21875,v:.234375,tileIndex:974},gold_nugget:{u:.234375,v:.21875,tileIndex:911},gold_pickaxe:{u:.234375,v:.234375,tileIndex:975},gold_shovel:{u:.25,v:0,tileIndex:16},gold_sword:{u:.265625,v:0,tileIndex:17},gunpowder:{u:.28125,v:0,tileIndex:18},hopper:{u:.296875,v:0,tileIndex:19},iron_axe:{u:.3125,v:0,tileIndex:20},iron_boots:{u:.328125,v:0,tileIndex:21},iron_chestplate:{u:.34375,v:0,tileIndex:22},iron_helmet:{u:.359375,v:0,tileIndex:23},iron_hoe:{u:.375,v:0,tileIndex:24},iron_horse_armor:{u:.390625,v:0,tileIndex:25},iron_ingot:{u:.40625,v:0,tileIndex:26},iron_leggings:{u:.421875,v:0,tileIndex:27},iron_pickaxe:{u:.4375,v:0,tileIndex:28},iron_shovel:{u:.453125,v:0,tileIndex:29},iron_sword:{u:.46875,v:0,tileIndex:30},item_frame:{u:.484375,v:0,tileIndex:31},lead:{u:.25,v:.015625,tileIndex:80},leather:{u:.265625,v:.015625,tileIndex:81},leather_boots:{u:.28125,v:.015625,tileIndex:82},leather_boots_overlay:{u:.296875,v:.015625,tileIndex:83},leather_chestplate:{u:.3125,v:.015625,tileIndex:84},leather_chestplate_overlay:{u:.328125,v:.015625,tileIndex:85},leather_helmet:{u:.34375,v:.015625,tileIndex:86},leather_helmet_overlay:{u:.359375,v:.015625,tileIndex:87},leather_leggings:{u:.375,v:.015625,tileIndex:88},leather_leggings_overlay:{u:.390625,v:.015625,tileIndex:89},magma_cream:{u:.40625,v:.015625,tileIndex:90},map_empty:{u:.421875,v:.015625,tileIndex:91},map_filled:{u:.4375,v:.015625,tileIndex:92},melon:{u:.453125,v:.015625,tileIndex:93},melon_speckled:{u:.46875,v:.015625,tileIndex:94},minecart_chest:{u:.484375,v:.015625,tileIndex:95},minecart_command_block:{u:.25,v:.03125,tileIndex:144},minecart_furnace:{u:.265625,v:.03125,tileIndex:145},minecart_hopper:{u:.28125,v:.03125,tileIndex:146},minecart_normal:{u:.296875,v:.03125,tileIndex:147},minecart_tnt:{u:.3125,v:.03125,tileIndex:148},mushroom_stew:{u:.328125,v:.03125,tileIndex:149},name_tag:{u:.34375,v:.03125,tileIndex:150},nether_star:{u:.359375,v:.03125,tileIndex:151},nether_wart:{u:.375,v:.03125,tileIndex:152},netherbrick:{u:.390625,v:.03125,tileIndex:153},painting:{u:.40625,v:.03125,tileIndex:154},paper:{u:.421875,v:.03125,tileIndex:155},porkchop_cooked:{u:.4375,v:.03125,tileIndex:156},porkchop_raw:{u:.453125,v:.03125,tileIndex:157},potato:{u:.46875,v:.03125,tileIndex:158},potato_baked:{u:.484375,v:.03125,tileIndex:159},potato_poisonous:{u:.25,v:.046875,tileIndex:208},potion_bottle_drinkable:{u:.265625,v:.046875,tileIndex:209},potion_bottle_empty:{u:.28125,v:.046875,tileIndex:210},potion_bottle_splash:{u:.296875,v:.046875,tileIndex:211},potion_overlay:{u:.3125,v:.046875,tileIndex:212},pumpkin_pie:{u:.328125,v:.046875,tileIndex:213},quartz:{u:.34375,v:.046875,tileIndex:214},quiver:{u:.359375,v:.046875,tileIndex:215},record_11:{u:.375,v:.046875,tileIndex:216},record_13:{u:.390625,v:.046875,tileIndex:217},record_blocks:{u:.40625,v:.046875,tileIndex:218},record_cat:{u:.421875,v:.046875,tileIndex:219},record_chirp:{u:.4375,v:.046875,tileIndex:220},record_far:{u:.453125,v:.046875,tileIndex:221},record_mall:{u:.46875,v:.046875,tileIndex:222},record_mellohi:{u:.484375,v:.046875,tileIndex:223},record_stal:{u:.25,v:.0625,tileIndex:272},record_strad:{u:.265625,v:.0625,tileIndex:273},record_wait:{u:.28125,v:.0625,tileIndex:274},record_ward:{u:.296875,v:.0625,tileIndex:275},redstone_dust:{u:.3125,v:.0625,tileIndex:276},reeds:{u:.328125,v:.0625,tileIndex:277},repeater:{u:.34375,v:.0625,tileIndex:278},rotten_flesh:{u:.359375,v:.0625,tileIndex:279},ruby:{u:.375,v:.0625,tileIndex:280},saddle:{u:.390625,v:.0625,tileIndex:281},seeds_melon:{u:.40625,v:.0625,tileIndex:282},seeds_pumpkin:{u:.421875,v:.0625,tileIndex:283},seeds_wheat:{u:.4375,v:.0625,tileIndex:284},shears:{u:.453125,v:.0625,tileIndex:285},sign:{u:.46875,v:.0625,tileIndex:286},skull_creeper:{u:.484375,v:.0625,tileIndex:287},skull_skeleton:{u:.25,v:.078125,tileIndex:336},skull_steve:{u:.265625,v:.078125,tileIndex:337},skull_wither:{u:.28125,v:.078125,tileIndex:338},skull_zombie:{u:.296875,v:.078125,tileIndex:339},slimeball:{u:.3125,v:.078125,tileIndex:340},snowball:{u:.328125,v:.078125,tileIndex:341},spawn_egg:{u:.34375,v:.078125,tileIndex:342},spawn_egg_overlay:{u:.359375,v:.078125,tileIndex:343},spider_eye:{u:.375,v:.078125,tileIndex:344},spider_eye_fermented:{u:.390625,v:.078125,tileIndex:345},stick:{u:.40625,v:.078125,tileIndex:346},stone_axe:{u:.421875,v:.078125,tileIndex:347},stone_hoe:{u:.4375,v:.078125,tileIndex:348},stone_pickaxe:{u:.453125,v:.078125,tileIndex:349},stone_shovel:{u:.46875,v:.078125,tileIndex:350},stone_sword:{u:.484375,v:.078125,tileIndex:351},string:{u:.25,v:.09375,tileIndex:400},sugar:{u:.265625,v:.09375,tileIndex:401},wheat:{u:.28125,v:.09375,tileIndex:402},wood_axe:{u:.296875,v:.09375,tileIndex:403},wood_hoe:{u:.3125,v:.09375,tileIndex:404},wood_pickaxe:{u:.328125,v:.09375,tileIndex:405},wood_shovel:{u:.34375,v:.09375,tileIndex:406},wood_sword:{u:.359375,v:.09375,tileIndex:407},banner_base:{u:.375,v:.09375,tileIndex:408},banner_overlay:{u:.390625,v:.09375,tileIndex:409},barrier:{u:.40625,v:.09375,tileIndex:410},door_acacia:{u:.421875,v:.09375,tileIndex:411},door_birch:{u:.4375,v:.09375,tileIndex:412},door_dark_oak:{u:.453125,v:.09375,tileIndex:413},door_jungle:{u:.46875,v:.09375,tileIndex:414},door_spruce:{u:.484375,v:.09375,tileIndex:415},mutton_cooked:{u:.25,v:.109375,tileIndex:464},mutton_raw:{u:.265625,v:.109375,tileIndex:465},prismarine_crystals:{u:.28125,v:.109375,tileIndex:466},prismarine_shard:{u:.296875,v:.109375,tileIndex:467},rabbit_cooked:{u:.3125,v:.109375,tileIndex:468},rabbit_foot:{u:.328125,v:.109375,tileIndex:469},rabbit_hide:{u:.34375,v:.109375,tileIndex:470},rabbit_raw:{u:.359375,v:.109375,tileIndex:471},rabbit_stew:{u:.375,v:.109375,tileIndex:472},wooden_armorstand:{u:.390625,v:.109375,tileIndex:473},acacia_boat:{u:.40625,v:.109375,tileIndex:474},beetroot:{u:.421875,v:.109375,tileIndex:475},beetroot_seeds:{u:.4375,v:.109375,tileIndex:476},beetroot_soup:{u:.453125,v:.109375,tileIndex:477},birch_boat:{u:.46875,v:.109375,tileIndex:478},broken_elytra:{u:.484375,v:.109375,tileIndex:479},chorus_fruit:{u:.25,v:.125,tileIndex:528},chorus_fruit_popped:{u:.265625,v:.125,tileIndex:529},clock_00:{u:.28125,v:.125,tileIndex:530},clock_01:{u:.296875,v:.125,tileIndex:531},clock_02:{u:.3125,v:.125,tileIndex:532},clock_03:{u:.328125,v:.125,tileIndex:533},clock_04:{u:.34375,v:.125,tileIndex:534},clock_05:{u:.359375,v:.125,tileIndex:535},clock_06:{u:.375,v:.125,tileIndex:536},clock_07:{u:.390625,v:.125,tileIndex:537},clock_08:{u:.40625,v:.125,tileIndex:538},clock_09:{u:.421875,v:.125,tileIndex:539},clock_10:{u:.4375,v:.125,tileIndex:540},clock_11:{u:.453125,v:.125,tileIndex:541},clock_12:{u:.46875,v:.125,tileIndex:542},clock_13:{u:.484375,v:.125,tileIndex:543},clock_14:{u:.25,v:.140625,tileIndex:592},clock_15:{u:.265625,v:.140625,tileIndex:593},clock_16:{u:.28125,v:.140625,tileIndex:594},clock_17:{u:.296875,v:.140625,tileIndex:595},clock_18:{u:.3125,v:.140625,tileIndex:596},clock_19:{u:.328125,v:.140625,tileIndex:597},clock_20:{u:.34375,v:.140625,tileIndex:598},clock_21:{u:.359375,v:.140625,tileIndex:599},clock_22:{u:.375,v:.140625,tileIndex:600},clock_23:{u:.390625,v:.140625,tileIndex:601},clock_24:{u:.40625,v:.140625,tileIndex:602},clock_25:{u:.421875,v:.140625,tileIndex:603},clock_26:{u:.4375,v:.140625,tileIndex:604},clock_27:{u:.453125,v:.140625,tileIndex:605},clock_28:{u:.46875,v:.140625,tileIndex:606},clock_29:{u:.484375,v:.140625,tileIndex:607},clock_30:{u:.25,v:.15625,tileIndex:656},clock_31:{u:.265625,v:.15625,tileIndex:657},clock_32:{u:.28125,v:.15625,tileIndex:658},clock_33:{u:.296875,v:.15625,tileIndex:659},clock_34:{u:.3125,v:.15625,tileIndex:660},clock_35:{u:.328125,v:.15625,tileIndex:661},clock_36:{u:.34375,v:.15625,tileIndex:662},clock_37:{u:.359375,v:.15625,tileIndex:663},clock_38:{u:.375,v:.15625,tileIndex:664},clock_39:{u:.390625,v:.15625,tileIndex:665},clock_40:{u:.40625,v:.15625,tileIndex:666},clock_41:{u:.421875,v:.15625,tileIndex:667},clock_42:{u:.4375,v:.15625,tileIndex:668},clock_43:{u:.453125,v:.15625,tileIndex:669},clock_44:{u:.46875,v:.15625,tileIndex:670},clock_45:{u:.484375,v:.15625,tileIndex:671},clock_46:{u:.25,v:.171875,tileIndex:720},clock_47:{u:.265625,v:.171875,tileIndex:721},clock_48:{u:.28125,v:.171875,tileIndex:722},clock_49:{u:.296875,v:.171875,tileIndex:723},clock_50:{u:.3125,v:.171875,tileIndex:724},clock_51:{u:.328125,v:.171875,tileIndex:725},clock_52:{u:.34375,v:.171875,tileIndex:726},clock_53:{u:.359375,v:.171875,tileIndex:727},clock_54:{u:.375,v:.171875,tileIndex:728},clock_55:{u:.390625,v:.171875,tileIndex:729},clock_56:{u:.40625,v:.171875,tileIndex:730},clock_57:{u:.421875,v:.171875,tileIndex:731},clock_58:{u:.4375,v:.171875,tileIndex:732},clock_59:{u:.453125,v:.171875,tileIndex:733},clock_60:{u:.46875,v:.171875,tileIndex:734},clock_61:{u:.484375,v:.171875,tileIndex:735},clock_62:{u:.25,v:.1875,tileIndex:784},clock_63:{u:.265625,v:.1875,tileIndex:785},compass_00:{u:.28125,v:.1875,tileIndex:786},compass_01:{u:.296875,v:.1875,tileIndex:787},compass_02:{u:.3125,v:.1875,tileIndex:788},compass_03:{u:.328125,v:.1875,tileIndex:789},compass_04:{u:.34375,v:.1875,tileIndex:790},compass_05:{u:.359375,v:.1875,tileIndex:791},compass_06:{u:.375,v:.1875,tileIndex:792},compass_07:{u:.390625,v:.1875,tileIndex:793},compass_08:{u:.40625,v:.1875,tileIndex:794},compass_09:{u:.421875,v:.1875,tileIndex:795},compass_10:{u:.4375,v:.1875,tileIndex:796},compass_11:{u:.453125,v:.1875,tileIndex:797},compass_12:{u:.46875,v:.1875,tileIndex:798},compass_13:{u:.484375,v:.1875,tileIndex:799},compass_14:{u:.25,v:.203125,tileIndex:848},compass_15:{u:.265625,v:.203125,tileIndex:849},compass_16:{u:.28125,v:.203125,tileIndex:850},compass_17:{u:.296875,v:.203125,tileIndex:851},compass_18:{u:.3125,v:.203125,tileIndex:852},compass_19:{u:.328125,v:.203125,tileIndex:853},compass_20:{u:.34375,v:.203125,tileIndex:854},compass_21:{u:.359375,v:.203125,tileIndex:855},compass_22:{u:.375,v:.203125,tileIndex:856},compass_23:{u:.390625,v:.203125,tileIndex:857},compass_24:{u:.40625,v:.203125,tileIndex:858},compass_25:{u:.421875,v:.203125,tileIndex:859},compass_26:{u:.4375,v:.203125,tileIndex:860},compass_27:{u:.453125,v:.203125,tileIndex:861},compass_28:{u:.46875,v:.203125,tileIndex:862},compass_29:{u:.484375,v:.203125,tileIndex:863},compass_30:{u:.25,v:.21875,tileIndex:912},compass_31:{u:.265625,v:.21875,tileIndex:913},dark_oak_boat:{u:.28125,v:.21875,tileIndex:914},dragon_breath:{u:.296875,v:.21875,tileIndex:915},elytra:{u:.3125,v:.21875,tileIndex:916},empty_armor_slot_shield:{u:.328125,v:.21875,tileIndex:917},end_crystal:{u:.34375,v:.21875,tileIndex:918},jungle_boat:{u:.359375,v:.21875,tileIndex:919},oak_boat:{u:.375,v:.21875,tileIndex:920},potion_bottle_lingering:{u:.390625,v:.21875,tileIndex:921},spectral_arrow:{u:.40625,v:.21875,tileIndex:922},spruce_boat:{u:.421875,v:.21875,tileIndex:923},tipped_arrow_base:{u:.4375,v:.21875,tileIndex:924},tipped_arrow_head:{u:.453125,v:.21875,tileIndex:925},structure_void:{u:.46875,v:.21875,tileIndex:926},map_filled_markings:{u:.484375,v:.21875,tileIndex:927},shulker_shell:{u:.25,v:.234375,tileIndex:976},totem:{u:.265625,v:.234375,tileIndex:977},iron_nugget:{u:.28125,v:.234375,tileIndex:978},knowledge_book:{u:.296875,v:.234375,tileIndex:979},acacia_door:{u:.3125,v:.234375,tileIndex:980},armor_stand:{u:.328125,v:.234375,tileIndex:981},baked_potato:{u:.34375,v:.234375,tileIndex:982},beef:{u:.359375,v:.234375,tileIndex:983},birch_door:{u:.375,v:.234375,tileIndex:984},bone_meal:{u:.390625,v:.234375,tileIndex:985},book:{u:.40625,v:.234375,tileIndex:986},bow:{u:.421875,v:.234375,tileIndex:987},bucket:{u:.4375,v:.234375,tileIndex:988},cactus_green:{u:.453125,v:.234375,tileIndex:989},chest_minecart:{u:.46875,v:.234375,tileIndex:990},chicken:{u:.484375,v:.234375,tileIndex:991},cocoa_beans:{u:0,v:.25,tileIndex:1024},cod:{u:0,v:.265625,tileIndex:1088},cod_bucket:{u:0,v:.28125,tileIndex:1152},command_block_minecart:{u:0,v:.296875,tileIndex:1216},cooked_beef:{u:0,v:.3125,tileIndex:1280},cooked_chicken:{u:0,v:.328125,tileIndex:1344},cooked_cod:{u:0,v:.34375,tileIndex:1408},cooked_mutton:{u:0,v:.359375,tileIndex:1472},cooked_porkchop:{u:0,v:.375,tileIndex:1536},cooked_rabbit:{u:0,v:.390625,tileIndex:1600},cooked_salmon:{u:0,v:.40625,tileIndex:1664},cyan_dye:{u:0,v:.421875,tileIndex:1728},dandelion_yellow:{u:0,v:.4375,tileIndex:1792},dark_oak_door:{u:0,v:.453125,tileIndex:1856},dried_kelp:{u:0,v:.46875,tileIndex:1920},enchanted_book:{u:0,v:.484375,tileIndex:1984},fermented_spider_eye:{u:.015625,v:.25,tileIndex:1025},filled_map:{u:.015625,v:.265625,tileIndex:1089},filled_map_markings:{u:.015625,v:.28125,tileIndex:1153},fire_charge:{u:.015625,v:.296875,tileIndex:1217},firework_rocket:{u:.015625,v:.3125,tileIndex:1281},firework_star:{u:.015625,v:.328125,tileIndex:1345},firework_star_overlay:{u:.015625,v:.34375,tileIndex:1409},fishing_rod:{u:.015625,v:.359375,tileIndex:1473},furnace_minecart:{u:.015625,v:.375,tileIndex:1537},glass_bottle:{u:.015625,v:.390625,tileIndex:1601},glistering_melon_slice:{u:.015625,v:.40625,tileIndex:1665},golden_apple:{u:.015625,v:.421875,tileIndex:1729},golden_axe:{u:.015625,v:.4375,tileIndex:1793},golden_boots:{u:.015625,v:.453125,tileIndex:1857},golden_carrot:{u:.015625,v:.46875,tileIndex:1921},golden_chestplate:{u:.015625,v:.484375,tileIndex:1985},golden_helmet:{u:.03125,v:.25,tileIndex:1026},golden_hoe:{u:.03125,v:.265625,tileIndex:1090},golden_horse_armor:{u:.03125,v:.28125,tileIndex:1154},golden_leggings:{u:.03125,v:.296875,tileIndex:1218},golden_pickaxe:{u:.03125,v:.3125,tileIndex:1282},golden_shovel:{u:.03125,v:.328125,tileIndex:1346},golden_sword:{u:.03125,v:.34375,tileIndex:1410},gray_dye:{u:.03125,v:.359375,tileIndex:1474},heart_of_the_sea:{u:.03125,v:.375,tileIndex:1538},hopper_minecart:{u:.03125,v:.390625,tileIndex:1602},ink_sac:{u:.03125,v:.40625,tileIndex:1666},iron_door:{u:.03125,v:.421875,tileIndex:1730},jungle_door:{u:.03125,v:.4375,tileIndex:1794},kelp:{u:.03125,v:.453125,tileIndex:1858},lapis_lazuli:{u:.03125,v:.46875,tileIndex:1922},lava_bucket:{u:.03125,v:.484375,tileIndex:1986},light_blue_dye:{u:.046875,v:.25,tileIndex:1027},light_gray_dye:{u:.046875,v:.265625,tileIndex:1091},lime_dye:{u:.046875,v:.28125,tileIndex:1155},lingering_potion:{u:.046875,v:.296875,tileIndex:1219},magenta_dye:{u:.046875,v:.3125,tileIndex:1283},map:{u:.046875,v:.328125,tileIndex:1347},melon_seeds:{u:.046875,v:.34375,tileIndex:1411},melon_slice:{u:.046875,v:.359375,tileIndex:1475},milk_bucket:{u:.046875,v:.375,tileIndex:1539},minecart:{u:.046875,v:.390625,tileIndex:1603},music_disc_11:{u:.046875,v:.40625,tileIndex:1667},music_disc_13:{u:.046875,v:.421875,tileIndex:1731},music_disc_blocks:{u:.046875,v:.4375,tileIndex:1795},music_disc_cat:{u:.046875,v:.453125,tileIndex:1859},music_disc_chirp:{u:.046875,v:.46875,tileIndex:1923},music_disc_far:{u:.046875,v:.484375,tileIndex:1987},music_disc_mall:{u:.0625,v:.25,tileIndex:1028},music_disc_mellohi:{u:.0625,v:.265625,tileIndex:1092},music_disc_stal:{u:.0625,v:.28125,tileIndex:1156},music_disc_strad:{u:.0625,v:.296875,tileIndex:1220},music_disc_wait:{u:.0625,v:.3125,tileIndex:1284},music_disc_ward:{u:.0625,v:.328125,tileIndex:1348},mutton:{u:.0625,v:.34375,tileIndex:1412},nautilus_shell:{u:.0625,v:.359375,tileIndex:1476},nether_brick:{u:.0625,v:.375,tileIndex:1540},oak_door:{u:.0625,v:.390625,tileIndex:1604},orange_dye:{u:.0625,v:.40625,tileIndex:1668},phantom_membrane:{u:.0625,v:.421875,tileIndex:1732},pink_dye:{u:.0625,v:.4375,tileIndex:1796},poisonous_potato:{u:.0625,v:.453125,tileIndex:1860},popped_chorus_fruit:{u:.0625,v:.46875,tileIndex:1924},porkchop:{u:.0625,v:.484375,tileIndex:1988},potion:{u:.078125,v:.25,tileIndex:1029},pufferfish:{u:.078125,v:.265625,tileIndex:1093},pufferfish_bucket:{u:.078125,v:.28125,tileIndex:1157},pumpkin_seeds:{u:.078125,v:.296875,tileIndex:1221},purple_dye:{u:.078125,v:.3125,tileIndex:1285},rabbit:{u:.078125,v:.328125,tileIndex:1349},redstone:{u:.078125,v:.34375,tileIndex:1413},rose_red:{u:.078125,v:.359375,tileIndex:1477},salmon:{u:.078125,v:.375,tileIndex:1541},salmon_bucket:{u:.078125,v:.390625,tileIndex:1605},scute:{u:.078125,v:.40625,tileIndex:1669},sea_pickle:{u:.078125,v:.421875,tileIndex:1733},seagrass:{u:.078125,v:.4375,tileIndex:1797},slime_ball:{u:.078125,v:.453125,tileIndex:1861},splash_potion:{u:.078125,v:.46875,tileIndex:1925},spruce_door:{u:.078125,v:.484375,tileIndex:1989},sugar_cane:{u:.09375,v:.25,tileIndex:1030},tnt_minecart:{u:.09375,v:.265625,tileIndex:1094},totem_of_undying:{u:.09375,v:.28125,tileIndex:1158},trident:{u:.09375,v:.296875,tileIndex:1222},tropical_fish:{u:.09375,v:.3125,tileIndex:1286},tropical_fish_bucket:{u:.09375,v:.328125,tileIndex:1350},turtle_egg:{u:.09375,v:.34375,tileIndex:1414},turtle_helmet:{u:.09375,v:.359375,tileIndex:1478},water_bucket:{u:.09375,v:.375,tileIndex:1542},wheat_seeds:{u:.09375,v:.390625,tileIndex:1606},wooden_axe:{u:.09375,v:.40625,tileIndex:1670},wooden_hoe:{u:.09375,v:.421875,tileIndex:1734},wooden_pickaxe:{u:.09375,v:.4375,tileIndex:1798},wooden_shovel:{u:.09375,v:.453125,tileIndex:1862},wooden_sword:{u:.09375,v:.46875,tileIndex:1926},writable_book:{u:.09375,v:.484375,tileIndex:1990},written_book:{u:.109375,v:.25,tileIndex:1031},acacia_sign:{u:.109375,v:.265625,tileIndex:1095},bamboo:{u:.109375,v:.28125,tileIndex:1159},bell:{u:.109375,v:.296875,tileIndex:1223},birch_sign:{u:.109375,v:.3125,tileIndex:1287},black_dye:{u:.109375,v:.328125,tileIndex:1351},blue_dye:{u:.109375,v:.34375,tileIndex:1415},brown_dye:{u:.109375,v:.359375,tileIndex:1479},campfire:{u:.109375,v:.375,tileIndex:1543},creeper_banner_pattern:{u:.109375,v:.390625,tileIndex:1607},crossbow_arrow:{u:.109375,v:.40625,tileIndex:1671},crossbow_firework:{u:.109375,v:.421875,tileIndex:1735},crossbow_pulling_0:{u:.109375,v:.4375,tileIndex:1799},crossbow_pulling_1:{u:.109375,v:.453125,tileIndex:1863},crossbow_pulling_2:{u:.109375,v:.46875,tileIndex:1927},crossbow_standby:{u:.109375,v:.484375,tileIndex:1991},dark_oak_sign:{u:.125,v:.25,tileIndex:1032},flower_banner_pattern:{u:.125,v:.265625,tileIndex:1096},globe_banner_pattern:{u:.125,v:.28125,tileIndex:1160},green_dye:{u:.125,v:.296875,tileIndex:1224},jungle_sign:{u:.125,v:.3125,tileIndex:1288},lantern:{u:.125,v:.328125,tileIndex:1352},leather_horse_armor:{u:.125,v:.34375,tileIndex:1416},mojang_banner_pattern:{u:.125,v:.359375,tileIndex:1480},oak_sign:{u:.125,v:.375,tileIndex:1544},red_dye:{u:.125,v:.390625,tileIndex:1608},skull_banner_pattern:{u:.125,v:.40625,tileIndex:1672},spruce_sign:{u:.125,v:.421875,tileIndex:1736},suspicious_stew:{u:.125,v:.4375,tileIndex:1800},sweet_berries:{u:.125,v:.453125,tileIndex:1864},white_dye:{u:.125,v:.46875,tileIndex:1928},yellow_dye:{u:.125,v:.484375,tileIndex:1992},honey_bottle:{u:.140625,v:.25,tileIndex:1033},honeycomb:{u:.140625,v:.265625,tileIndex:1097},chain:{u:.140625,v:.28125,tileIndex:1161},crimson_door:{u:.140625,v:.296875,tileIndex:1225},crimson_sign:{u:.140625,v:.3125,tileIndex:1289},music_disc_pigstep:{u:.140625,v:.328125,tileIndex:1353},nether_sprouts:{u:.140625,v:.34375,tileIndex:1417},netherite_axe:{u:.140625,v:.359375,tileIndex:1481},netherite_boots:{u:.140625,v:.375,tileIndex:1545},netherite_chestplate:{u:.140625,v:.390625,tileIndex:1609},netherite_helmet:{u:.140625,v:.40625,tileIndex:1673},netherite_hoe:{u:.140625,v:.421875,tileIndex:1737},netherite_ingot:{u:.140625,v:.4375,tileIndex:1801},netherite_leggings:{u:.140625,v:.453125,tileIndex:1865},netherite_pickaxe:{u:.140625,v:.46875,tileIndex:1929},netherite_scrap:{u:.140625,v:.484375,tileIndex:1993},netherite_shovel:{u:.15625,v:.25,tileIndex:1034},netherite_sword:{u:.15625,v:.265625,tileIndex:1098},piglin_banner_pattern:{u:.15625,v:.28125,tileIndex:1162},soul_campfire:{u:.15625,v:.296875,tileIndex:1226},soul_lantern:{u:.15625,v:.3125,tileIndex:1290},warped_door:{u:.15625,v:.328125,tileIndex:1354},warped_fungus_on_a_stick:{u:.15625,v:.34375,tileIndex:1418},warped_sign:{u:.15625,v:.359375,tileIndex:1482},amethyst_shard:{u:.15625,v:.375,tileIndex:1546},axolotl_bucket:{u:.15625,v:.390625,tileIndex:1610},black_candle:{u:.15625,v:.40625,tileIndex:1674},blue_candle:{u:.15625,v:.421875,tileIndex:1738},brown_candle:{u:.15625,v:.4375,tileIndex:1802},bundle:{u:.15625,v:.453125,tileIndex:1866},bundle_filled:{u:.15625,v:.46875,tileIndex:1930},candle:{u:.15625,v:.484375,tileIndex:1994},copper_ingot:{u:.171875,v:.25,tileIndex:1035},cyan_candle:{u:.171875,v:.265625,tileIndex:1099},glow_berries:{u:.171875,v:.28125,tileIndex:1163},glow_ink_sac:{u:.171875,v:.296875,tileIndex:1227},glow_item_frame:{u:.171875,v:.3125,tileIndex:1291},gray_candle:{u:.171875,v:.328125,tileIndex:1355},green_candle:{u:.171875,v:.34375,tileIndex:1419},light:{u:.171875,v:.359375,tileIndex:1483},light_00:{u:.171875,v:.375,tileIndex:1547},light_01:{u:.171875,v:.390625,tileIndex:1611},light_02:{u:.171875,v:.40625,tileIndex:1675},light_03:{u:.171875,v:.421875,tileIndex:1739},light_04:{u:.171875,v:.4375,tileIndex:1803},light_05:{u:.171875,v:.453125,tileIndex:1867},light_06:{u:.171875,v:.46875,tileIndex:1931},light_07:{u:.171875,v:.484375,tileIndex:1995},light_08:{u:.1875,v:.25,tileIndex:1036},light_09:{u:.1875,v:.265625,tileIndex:1100},light_10:{u:.1875,v:.28125,tileIndex:1164},light_11:{u:.1875,v:.296875,tileIndex:1228},light_12:{u:.1875,v:.3125,tileIndex:1292},light_13:{u:.1875,v:.328125,tileIndex:1356},light_14:{u:.1875,v:.34375,tileIndex:1420},light_15:{u:.1875,v:.359375,tileIndex:1484},light_blue_candle:{u:.1875,v:.375,tileIndex:1548},light_gray_candle:{u:.1875,v:.390625,tileIndex:1612},lime_candle:{u:.1875,v:.40625,tileIndex:1676},magenta_candle:{u:.1875,v:.421875,tileIndex:1740},orange_candle:{u:.1875,v:.4375,tileIndex:1804},pink_candle:{u:.1875,v:.453125,tileIndex:1868},pointed_dripstone:{u:.1875,v:.46875,tileIndex:1932},powder_snow_bucket:{u:.1875,v:.484375,tileIndex:1996},purple_candle:{u:.203125,v:.25,tileIndex:1037},raw_copper:{u:.203125,v:.265625,tileIndex:1101},raw_gold:{u:.203125,v:.28125,tileIndex:1165},raw_iron:{u:.203125,v:.296875,tileIndex:1229},red_candle:{u:.203125,v:.3125,tileIndex:1293},spyglass:{u:.203125,v:.328125,tileIndex:1357},spyglass_model:{u:.203125,v:.34375,tileIndex:1421},white_candle:{u:.203125,v:.359375,tileIndex:1485},yellow_candle:{u:.203125,v:.375,tileIndex:1549},music_disc_otherside:{u:.203125,v:.390625,tileIndex:1613},acacia_chest_boat:{u:.203125,v:.40625,tileIndex:1677},birch_chest_boat:{u:.203125,v:.421875,tileIndex:1741},dark_oak_chest_boat:{u:.203125,v:.4375,tileIndex:1805},disc_fragment_5:{u:.203125,v:.453125,tileIndex:1869},echo_shard:{u:.203125,v:.46875,tileIndex:1933},goat_horn:{u:.203125,v:.484375,tileIndex:1997},jungle_chest_boat:{u:.21875,v:.25,tileIndex:1038},mangrove_boat:{u:.21875,v:.265625,tileIndex:1102},mangrove_chest_boat:{u:.21875,v:.28125,tileIndex:1166},mangrove_door:{u:.21875,v:.296875,tileIndex:1230},mangrove_propagule:{u:.21875,v:.3125,tileIndex:1294},mangrove_sign:{u:.21875,v:.328125,tileIndex:1358},music_disc_5:{u:.21875,v:.34375,tileIndex:1422},oak_chest_boat:{u:.21875,v:.359375,tileIndex:1486},recovery_compass_00:{u:.21875,v:.375,tileIndex:1550},recovery_compass_01:{u:.21875,v:.390625,tileIndex:1614},recovery_compass_02:{u:.21875,v:.40625,tileIndex:1678},recovery_compass_03:{u:.21875,v:.421875,tileIndex:1742},recovery_compass_04:{u:.21875,v:.4375,tileIndex:1806},recovery_compass_05:{u:.21875,v:.453125,tileIndex:1870},recovery_compass_06:{u:.21875,v:.46875,tileIndex:1934},recovery_compass_07:{u:.21875,v:.484375,tileIndex:1998},recovery_compass_08:{u:.234375,v:.25,tileIndex:1039},recovery_compass_09:{u:.234375,v:.265625,tileIndex:1103},recovery_compass_10:{u:.234375,v:.28125,tileIndex:1167},recovery_compass_11:{u:.234375,v:.296875,tileIndex:1231},recovery_compass_12:{u:.234375,v:.3125,tileIndex:1295},recovery_compass_13:{u:.234375,v:.328125,tileIndex:1359},recovery_compass_14:{u:.234375,v:.34375,tileIndex:1423},recovery_compass_15:{u:.234375,v:.359375,tileIndex:1487},recovery_compass_16:{u:.234375,v:.375,tileIndex:1551},recovery_compass_17:{u:.234375,v:.390625,tileIndex:1615},recovery_compass_18:{u:.234375,v:.40625,tileIndex:1679},recovery_compass_19:{u:.234375,v:.421875,tileIndex:1743},recovery_compass_20:{u:.234375,v:.4375,tileIndex:1807},recovery_compass_21:{u:.234375,v:.453125,tileIndex:1871},recovery_compass_22:{u:.234375,v:.46875,tileIndex:1935},recovery_compass_23:{u:.234375,v:.484375,tileIndex:1999},recovery_compass_24:{u:.25,v:.25,tileIndex:1040},recovery_compass_25:{u:.25,v:.265625,tileIndex:1104},recovery_compass_26:{u:.25,v:.28125,tileIndex:1168},recovery_compass_27:{u:.25,v:.296875,tileIndex:1232},recovery_compass_28:{u:.25,v:.3125,tileIndex:1296},recovery_compass_29:{u:.25,v:.328125,tileIndex:1360},recovery_compass_30:{u:.25,v:.34375,tileIndex:1424},recovery_compass_31:{u:.25,v:.359375,tileIndex:1488},spruce_chest_boat:{u:.25,v:.375,tileIndex:1552},tadpole_bucket:{u:.25,v:.390625,tileIndex:1616},acacia_hanging_sign:{u:.25,v:.40625,tileIndex:1680},bamboo_chest_raft:{u:.25,v:.421875,tileIndex:1744},bamboo_door:{u:.25,v:.4375,tileIndex:1808},bamboo_hanging_sign:{u:.25,v:.453125,tileIndex:1872},bamboo_raft:{u:.25,v:.46875,tileIndex:1936},bamboo_sign:{u:.25,v:.484375,tileIndex:2e3},birch_hanging_sign:{u:.265625,v:.25,tileIndex:1041},crimson_hanging_sign:{u:.28125,v:.25,tileIndex:1042},dark_oak_hanging_sign:{u:.296875,v:.25,tileIndex:1043},jungle_hanging_sign:{u:.3125,v:.25,tileIndex:1044},mangrove_hanging_sign:{u:.328125,v:.25,tileIndex:1045},oak_hanging_sign:{u:.34375,v:.25,tileIndex:1046},spruce_hanging_sign:{u:.359375,v:.25,tileIndex:1047},warped_hanging_sign:{u:.375,v:.25,tileIndex:1048},brush:{u:.390625,v:.25,tileIndex:1049},cherry_boat:{u:.40625,v:.25,tileIndex:1050},cherry_chest_boat:{u:.421875,v:.25,tileIndex:1051},cherry_door:{u:.4375,v:.25,tileIndex:1052},cherry_hanging_sign:{u:.453125,v:.25,tileIndex:1053},cherry_sign:{u:.46875,v:.25,tileIndex:1054},coast_armor_trim_smithing_template:{u:.484375,v:.25,tileIndex:1055},dune_armor_trim_smithing_template:{u:.265625,v:.265625,tileIndex:1105},empty_slot_amethyst_shard:{u:.265625,v:.28125,tileIndex:1169},empty_slot_axe:{u:.265625,v:.296875,tileIndex:1233},empty_slot_diamond:{u:.265625,v:.3125,tileIndex:1297},empty_slot_emerald:{u:.265625,v:.328125,tileIndex:1361},empty_slot_hoe:{u:.265625,v:.34375,tileIndex:1425},empty_slot_ingot:{u:.265625,v:.359375,tileIndex:1489},empty_slot_lapis_lazuli:{u:.265625,v:.375,tileIndex:1553},empty_slot_pickaxe:{u:.265625,v:.390625,tileIndex:1617},empty_slot_quartz:{u:.265625,v:.40625,tileIndex:1681},empty_slot_redstone_dust:{u:.265625,v:.421875,tileIndex:1745},empty_slot_shovel:{u:.265625,v:.4375,tileIndex:1809},empty_slot_smithing_template_armor_trim:{u:.265625,v:.453125,tileIndex:1873},empty_slot_smithing_template_netherite_upgrade:{u:.265625,v:.46875,tileIndex:1937},empty_slot_sword:{u:.265625,v:.484375,tileIndex:2001},eye_armor_trim_smithing_template:{u:.28125,v:.265625,tileIndex:1106},netherite_upgrade_smithing_template:{u:.296875,v:.265625,tileIndex:1107},pink_petals:{u:.3125,v:.265625,tileIndex:1108},pottery_shard_archer:{u:.328125,v:.265625,tileIndex:1109},pottery_shard_arms_up:{u:.34375,v:.265625,tileIndex:1110},pottery_shard_prize:{u:.359375,v:.265625,tileIndex:1111},pottery_shard_skull:{u:.375,v:.265625,tileIndex:1112},rib_armor_trim_smithing_template:{u:.390625,v:.265625,tileIndex:1113},sentry_armor_trim_smithing_template:{u:.40625,v:.265625,tileIndex:1114},snout_armor_trim_smithing_template:{u:.421875,v:.265625,tileIndex:1115},spire_armor_trim_smithing_template:{u:.4375,v:.265625,tileIndex:1116},tide_armor_trim_smithing_template:{u:.453125,v:.265625,tileIndex:1117},torchflower_seeds:{u:.46875,v:.265625,tileIndex:1118},vex_armor_trim_smithing_template:{u:.484375,v:.265625,tileIndex:1119},ward_armor_trim_smithing_template:{u:.28125,v:.28125,tileIndex:1170},wild_armor_trim_smithing_template:{u:.28125,v:.296875,tileIndex:1234},angler_pottery_sherd:{u:.28125,v:.3125,tileIndex:1298},archer_pottery_sherd:{u:.28125,v:.328125,tileIndex:1362},arms_up_pottery_sherd:{u:.28125,v:.34375,tileIndex:1426},blade_pottery_sherd:{u:.28125,v:.359375,tileIndex:1490},brewer_pottery_sherd:{u:.28125,v:.375,tileIndex:1554},burn_pottery_sherd:{u:.28125,v:.390625,tileIndex:1618},danger_pottery_sherd:{u:.28125,v:.40625,tileIndex:1682},explorer_pottery_sherd:{u:.28125,v:.421875,tileIndex:1746},friend_pottery_sherd:{u:.28125,v:.4375,tileIndex:1810},heart_pottery_sherd:{u:.28125,v:.453125,tileIndex:1874},heartbreak_pottery_sherd:{u:.28125,v:.46875,tileIndex:1938},host_armor_trim_smithing_template:{u:.28125,v:.484375,tileIndex:2002},howl_pottery_sherd:{u:.296875,v:.28125,tileIndex:1171},miner_pottery_sherd:{u:.3125,v:.28125,tileIndex:1172},mourner_pottery_sherd:{u:.328125,v:.28125,tileIndex:1173},music_disc_relic:{u:.34375,v:.28125,tileIndex:1174},pitcher_plant:{u:.359375,v:.28125,tileIndex:1175},pitcher_pod:{u:.375,v:.28125,tileIndex:1176},plenty_pottery_sherd:{u:.390625,v:.28125,tileIndex:1177},prize_pottery_sherd:{u:.40625,v:.28125,tileIndex:1178},raiser_armor_trim_smithing_template:{u:.421875,v:.28125,tileIndex:1179},shaper_armor_trim_smithing_template:{u:.4375,v:.28125,tileIndex:1180},sheaf_pottery_sherd:{u:.453125,v:.28125,tileIndex:1181},shelter_pottery_sherd:{u:.46875,v:.28125,tileIndex:1182},silence_armor_trim_smithing_template:{u:.484375,v:.28125,tileIndex:1183},skull_pottery_sherd:{u:.296875,v:.296875,tileIndex:1235},sniffer_egg:{u:.296875,v:.3125,tileIndex:1299},snort_pottery_sherd:{u:.296875,v:.328125,tileIndex:1363},wayfinder_armor_trim_smithing_template:{u:.296875,v:.34375,tileIndex:1427},copper_door:{u:.296875,v:.359375,tileIndex:1491},exposed_copper_door:{u:.296875,v:.375,tileIndex:1555},oxidized_copper_door:{u:.296875,v:.390625,tileIndex:1619},trial_key:{u:.296875,v:.40625,tileIndex:1683},weathered_copper_door:{u:.296875,v:.421875,tileIndex:1747},armadillo_scute:{u:.296875,v:.4375,tileIndex:1811},bolt_armor_trim_smithing_template:{u:.296875,v:.453125,tileIndex:1875},breeze_rod:{u:.296875,v:.46875,tileIndex:1939},flow_armor_trim_smithing_template:{u:.296875,v:.484375,tileIndex:2003},flow_banner_pattern:{u:.3125,v:.296875,tileIndex:1236},flow_pottery_sherd:{u:.328125,v:.296875,tileIndex:1237},guster_banner_pattern:{u:.34375,v:.296875,tileIndex:1238},guster_pottery_sherd:{u:.359375,v:.296875,tileIndex:1239},mace:{u:.375,v:.296875,tileIndex:1240},ominous_bottle:{u:.390625,v:.296875,tileIndex:1241},ominous_trial_key:{u:.40625,v:.296875,tileIndex:1242},scrape_pottery_sherd:{u:.421875,v:.296875,tileIndex:1243},turtle_scute:{u:.4375,v:.296875,tileIndex:1244},wind_charge:{u:.453125,v:.296875,tileIndex:1245},wolf_armor:{u:.46875,v:.296875,tileIndex:1246},wolf_armor_overlay:{u:.484375,v:.296875,tileIndex:1247},music_disc_creator:{u:.3125,v:.3125,tileIndex:1300},music_disc_creator_music_box:{u:.3125,v:.328125,tileIndex:1364},music_disc_precipice:{u:.3125,v:.34375,tileIndex:1428},black_bundle:{u:.3125,v:.359375,tileIndex:1492},black_bundle_open_back:{u:.3125,v:.375,tileIndex:1556},black_bundle_open_front:{u:.3125,v:.390625,tileIndex:1620},blue_bundle:{u:.3125,v:.40625,tileIndex:1684},blue_bundle_open_back:{u:.3125,v:.421875,tileIndex:1748},blue_bundle_open_front:{u:.3125,v:.4375,tileIndex:1812},bordure_indented_banner_pattern:{u:.3125,v:.453125,tileIndex:1876},brown_bundle:{u:.3125,v:.46875,tileIndex:1940},brown_bundle_open_back:{u:.3125,v:.484375,tileIndex:2004},brown_bundle_open_front:{u:.328125,v:.3125,tileIndex:1301},bundle_open_back:{u:.34375,v:.3125,tileIndex:1302},bundle_open_front:{u:.359375,v:.3125,tileIndex:1303},cyan_bundle:{u:.375,v:.3125,tileIndex:1304},cyan_bundle_open_back:{u:.390625,v:.3125,tileIndex:1305},cyan_bundle_open_front:{u:.40625,v:.3125,tileIndex:1306},field_masoned_banner_pattern:{u:.421875,v:.3125,tileIndex:1307},gray_bundle:{u:.4375,v:.3125,tileIndex:1308},gray_bundle_open_back:{u:.453125,v:.3125,tileIndex:1309},gray_bundle_open_front:{u:.46875,v:.3125,tileIndex:1310},green_bundle:{u:.484375,v:.3125,tileIndex:1311},green_bundle_open_back:{u:.328125,v:.328125,tileIndex:1365},green_bundle_open_front:{u:.328125,v:.34375,tileIndex:1429},light_blue_bundle:{u:.328125,v:.359375,tileIndex:1493},light_blue_bundle_open_back:{u:.328125,v:.375,tileIndex:1557},light_blue_bundle_open_front:{u:.328125,v:.390625,tileIndex:1621},light_gray_bundle:{u:.328125,v:.40625,tileIndex:1685},light_gray_bundle_open_back:{u:.328125,v:.421875,tileIndex:1749},light_gray_bundle_open_front:{u:.328125,v:.4375,tileIndex:1813},lime_bundle:{u:.328125,v:.453125,tileIndex:1877},lime_bundle_open_back:{u:.328125,v:.46875,tileIndex:1941},lime_bundle_open_front:{u:.328125,v:.484375,tileIndex:2005},magenta_bundle:{u:.34375,v:.328125,tileIndex:1366},magenta_bundle_open_back:{u:.359375,v:.328125,tileIndex:1367},magenta_bundle_open_front:{u:.375,v:.328125,tileIndex:1368},orange_bundle:{u:.390625,v:.328125,tileIndex:1369},orange_bundle_open_back:{u:.40625,v:.328125,tileIndex:1370},orange_bundle_open_front:{u:.421875,v:.328125,tileIndex:1371},pale_oak_boat:{u:.4375,v:.328125,tileIndex:1372},pale_oak_chest_boat:{u:.453125,v:.328125,tileIndex:1373},pale_oak_door:{u:.46875,v:.328125,tileIndex:1374},pale_oak_hanging_sign:{u:.484375,v:.328125,tileIndex:1375},pale_oak_sign:{u:.34375,v:.34375,tileIndex:1430},pink_bundle:{u:.34375,v:.359375,tileIndex:1494},pink_bundle_open_back:{u:.34375,v:.375,tileIndex:1558},pink_bundle_open_front:{u:.34375,v:.390625,tileIndex:1622},purple_bundle:{u:.34375,v:.40625,tileIndex:1686},purple_bundle_open_back:{u:.34375,v:.421875,tileIndex:1750},purple_bundle_open_front:{u:.34375,v:.4375,tileIndex:1814},red_bundle:{u:.34375,v:.453125,tileIndex:1878},red_bundle_open_back:{u:.34375,v:.46875,tileIndex:1942},red_bundle_open_front:{u:.34375,v:.484375,tileIndex:2006},white_bundle:{u:.359375,v:.34375,tileIndex:1431},white_bundle_open_back:{u:.375,v:.34375,tileIndex:1432},white_bundle_open_front:{u:.390625,v:.34375,tileIndex:1433},yellow_bundle:{u:.40625,v:.34375,tileIndex:1434},yellow_bundle_open_back:{u:.421875,v:.34375,tileIndex:1435},yellow_bundle_open_front:{u:.4375,v:.34375,tileIndex:1436},elytra_broken:{u:.453125,v:.34375,tileIndex:1437},resin_brick:{u:.46875,v:.34375,tileIndex:1438},resin_clump:{u:.484375,v:.34375,tileIndex:1439},allay_spawn_egg:{u:.359375,v:.359375,tileIndex:1495},armadillo_spawn_egg:{u:.359375,v:.375,tileIndex:1559},axolotl_spawn_egg:{u:.359375,v:.390625,tileIndex:1623},bat_spawn_egg:{u:.359375,v:.40625,tileIndex:1687},bee_spawn_egg:{u:.359375,v:.421875,tileIndex:1751},blaze_spawn_egg:{u:.359375,v:.4375,tileIndex:1815},blue_egg:{u:.359375,v:.453125,tileIndex:1879},bogged_spawn_egg:{u:.359375,v:.46875,tileIndex:1943},breeze_spawn_egg:{u:.359375,v:.484375,tileIndex:2007},brown_egg:{u:.375,v:.359375,tileIndex:1496},camel_spawn_egg:{u:.390625,v:.359375,tileIndex:1497},cat_spawn_egg:{u:.40625,v:.359375,tileIndex:1498},cave_spider_spawn_egg:{u:.421875,v:.359375,tileIndex:1499},chicken_spawn_egg:{u:.4375,v:.359375,tileIndex:1500},cod_spawn_egg:{u:.453125,v:.359375,tileIndex:1501},cow_spawn_egg:{u:.46875,v:.359375,tileIndex:1502},creaking_spawn_egg:{u:.484375,v:.359375,tileIndex:1503},creeper_spawn_egg:{u:.375,v:.375,tileIndex:1560},dolphin_spawn_egg:{u:.375,v:.390625,tileIndex:1624},donkey_spawn_egg:{u:.375,v:.40625,tileIndex:1688},drowned_spawn_egg:{u:.375,v:.421875,tileIndex:1752},elder_guardian_spawn_egg:{u:.375,v:.4375,tileIndex:1816},ender_dragon_spawn_egg:{u:.375,v:.453125,tileIndex:1880},enderman_spawn_egg:{u:.375,v:.46875,tileIndex:1944},endermite_spawn_egg:{u:.375,v:.484375,tileIndex:2008},evoker_spawn_egg:{u:.390625,v:.375,tileIndex:1561},firefly_bush:{u:.40625,v:.375,tileIndex:1562},fox_spawn_egg:{u:.421875,v:.375,tileIndex:1563},frog_spawn_egg:{u:.4375,v:.375,tileIndex:1564},ghast_spawn_egg:{u:.453125,v:.375,tileIndex:1565},glow_squid_spawn_egg:{u:.46875,v:.375,tileIndex:1566},goat_spawn_egg:{u:.484375,v:.375,tileIndex:1567},guardian_spawn_egg:{u:.390625,v:.390625,tileIndex:1625},hoglin_spawn_egg:{u:.390625,v:.40625,tileIndex:1689},horse_spawn_egg:{u:.390625,v:.421875,tileIndex:1753},husk_spawn_egg:{u:.390625,v:.4375,tileIndex:1817},iron_golem_spawn_egg:{u:.390625,v:.453125,tileIndex:1881},leaf_litter:{u:.390625,v:.46875,tileIndex:1945},llama_spawn_egg:{u:.390625,v:.484375,tileIndex:2009},magma_cube_spawn_egg:{u:.40625,v:.390625,tileIndex:1626},mooshroom_spawn_egg:{u:.421875,v:.390625,tileIndex:1627},mule_spawn_egg:{u:.4375,v:.390625,tileIndex:1628},ocelot_spawn_egg:{u:.453125,v:.390625,tileIndex:1629},panda_spawn_egg:{u:.46875,v:.390625,tileIndex:1630},parrot_spawn_egg:{u:.484375,v:.390625,tileIndex:1631},phantom_spawn_egg:{u:.40625,v:.40625,tileIndex:1690},pig_spawn_egg:{u:.40625,v:.421875,tileIndex:1754},piglin_brute_spawn_egg:{u:.40625,v:.4375,tileIndex:1818},piglin_spawn_egg:{u:.40625,v:.453125,tileIndex:1882},pillager_spawn_egg:{u:.40625,v:.46875,tileIndex:1946},polar_bear_spawn_egg:{u:.40625,v:.484375,tileIndex:2010},pufferfish_spawn_egg:{u:.421875,v:.40625,tileIndex:1691},rabbit_spawn_egg:{u:.4375,v:.40625,tileIndex:1692},ravager_spawn_egg:{u:.453125,v:.40625,tileIndex:1693},salmon_spawn_egg:{u:.46875,v:.40625,tileIndex:1694},sheep_spawn_egg:{u:.484375,v:.40625,tileIndex:1695},shulker_spawn_egg:{u:.421875,v:.421875,tileIndex:1755},silverfish_spawn_egg:{u:.421875,v:.4375,tileIndex:1819},skeleton_horse_spawn_egg:{u:.421875,v:.453125,tileIndex:1883},skeleton_spawn_egg:{u:.421875,v:.46875,tileIndex:1947},slime_spawn_egg:{u:.421875,v:.484375,tileIndex:2011},sniffer_spawn_egg:{u:.4375,v:.421875,tileIndex:1756},snow_golem_spawn_egg:{u:.453125,v:.421875,tileIndex:1757},spider_spawn_egg:{u:.46875,v:.421875,tileIndex:1758},squid_spawn_egg:{u:.484375,v:.421875,tileIndex:1759},stray_spawn_egg:{u:.4375,v:.4375,tileIndex:1820},strider_spawn_egg:{u:.4375,v:.453125,tileIndex:1884},tadpole_spawn_egg:{u:.4375,v:.46875,tileIndex:1948},trader_llama_spawn_egg:{u:.4375,v:.484375,tileIndex:2012},tropical_fish_spawn_egg:{u:.453125,v:.4375,tileIndex:1821},turtle_spawn_egg:{u:.46875,v:.4375,tileIndex:1822},vex_spawn_egg:{u:.484375,v:.4375,tileIndex:1823},villager_spawn_egg:{u:.453125,v:.453125,tileIndex:1885},vindicator_spawn_egg:{u:.453125,v:.46875,tileIndex:1949},wandering_trader_spawn_egg:{u:.453125,v:.484375,tileIndex:2013},warden_spawn_egg:{u:.46875,v:.453125,tileIndex:1886},wildflowers:{u:.484375,v:.453125,tileIndex:1887},witch_spawn_egg:{u:.46875,v:.46875,tileIndex:1950},wither_skeleton_spawn_egg:{u:.46875,v:.484375,tileIndex:2014},wither_spawn_egg:{u:.484375,v:.46875,tileIndex:1951},wolf_spawn_egg:{u:.484375,v:.484375,tileIndex:2015},zoglin_spawn_egg:{u:.5,v:0,tileIndex:32},zombie_horse_spawn_egg:{u:.515625,v:0,tileIndex:33},zombie_spawn_egg:{u:.53125,v:0,tileIndex:34},zombie_villager_spawn_egg:{u:.546875,v:0,tileIndex:35},zombified_piglin_spawn_egg:{u:.5625,v:0,tileIndex:36},black_harness:{u:.578125,v:0,tileIndex:37},blue_harness:{u:.59375,v:0,tileIndex:38},brown_harness:{u:.609375,v:0,tileIndex:39},cyan_harness:{u:.625,v:0,tileIndex:40},gray_harness:{u:.640625,v:0,tileIndex:41},green_harness:{u:.65625,v:0,tileIndex:42},happy_ghast_spawn_egg:{u:.671875,v:0,tileIndex:43},light_blue_harness:{u:.6875,v:0,tileIndex:44},light_gray_harness:{u:.703125,v:0,tileIndex:45},lime_harness:{u:.71875,v:0,tileIndex:46},magenta_harness:{u:.734375,v:0,tileIndex:47},music_disc_tears:{u:.75,v:0,tileIndex:48},orange_harness:{u:.765625,v:0,tileIndex:49},pink_harness:{u:.78125,v:0,tileIndex:50},purple_harness:{u:.796875,v:0,tileIndex:51},red_harness:{u:.8125,v:0,tileIndex:52},white_harness:{u:.828125,v:0,tileIndex:53},yellow_harness:{u:.84375,v:0,tileIndex:54},music_disc_lava_chicken:{u:.859375,v:0,tileIndex:55},copper_axe:{u:.875,v:0,tileIndex:56},copper_boots:{u:.890625,v:0,tileIndex:57},copper_chain:{u:.90625,v:0,tileIndex:58},copper_chestplate:{u:.921875,v:0,tileIndex:59},copper_golem_spawn_egg:{u:.9375,v:0,tileIndex:60},copper_helmet:{u:.953125,v:0,tileIndex:61},copper_hoe:{u:.96875,v:0,tileIndex:62},copper_horse_armor:{u:.984375,v:0,tileIndex:63},copper_lantern:{u:.5,v:.015625,tileIndex:96},copper_leggings:{u:.515625,v:.015625,tileIndex:97},copper_nugget:{u:.53125,v:.015625,tileIndex:98},copper_pickaxe:{u:.546875,v:.015625,tileIndex:99},copper_shovel:{u:.5625,v:.015625,tileIndex:100},copper_sword:{u:.578125,v:.015625,tileIndex:101},exposed_copper_chain:{u:.59375,v:.015625,tileIndex:102},exposed_copper_lantern:{u:.609375,v:.015625,tileIndex:103},iron_chain:{u:.625,v:.015625,tileIndex:104},oxidized_copper_chain:{u:.640625,v:.015625,tileIndex:105},oxidized_copper_lantern:{u:.65625,v:.015625,tileIndex:106},weathered_copper_chain:{u:.671875,v:.015625,tileIndex:107},weathered_copper_lantern:{u:.6875,v:.015625,tileIndex:108},camel_husk_spawn_egg:{u:.703125,v:.015625,tileIndex:109},copper_nautilus_armor:{u:.71875,v:.015625,tileIndex:110},copper_spear:{u:.734375,v:.015625,tileIndex:111},copper_spear_in_hand:{u:.75,v:.015625,tileIndex:112},diamond_nautilus_armor:{u:.765625,v:.015625,tileIndex:113},diamond_spear:{u:.78125,v:.015625,tileIndex:114},diamond_spear_in_hand:{u:.796875,v:.015625,tileIndex:115},golden_nautilus_armor:{u:.8125,v:.015625,tileIndex:116},golden_spear:{u:.828125,v:.015625,tileIndex:117},golden_spear_in_hand:{u:.84375,v:.015625,tileIndex:118},iron_nautilus_armor:{u:.859375,v:.015625,tileIndex:119},iron_spear:{u:.875,v:.015625,tileIndex:120},iron_spear_in_hand:{u:.890625,v:.015625,tileIndex:121},leather_horse_armor_overlay:{u:.90625,v:.015625,tileIndex:122},nautilus_spawn_egg:{u:.921875,v:.015625,tileIndex:123},netherite_horse_armor:{u:.9375,v:.015625,tileIndex:124},netherite_nautilus_armor:{u:.953125,v:.015625,tileIndex:125},netherite_spear:{u:.96875,v:.015625,tileIndex:126},netherite_spear_in_hand:{u:.984375,v:.015625,tileIndex:127},parched_spawn_egg:{u:.5,v:.03125,tileIndex:160},stone_spear:{u:.515625,v:.03125,tileIndex:161},stone_spear_in_hand:{u:.53125,v:.03125,tileIndex:162},wooden_spear:{u:.546875,v:.03125,tileIndex:163},wooden_spear_in_hand:{u:.5625,v:.03125,tileIndex:164},zombie_nautilus_spawn_egg:{u:.578125,v:.03125,tileIndex:165}}},legacy:{suSv:.03125,tileSize:16,width:512,height:512,textures:{"1.8/beef_cooked":{u:0,v:0,tileIndex:0},"1.8/book_enchanted":{u:.03125,v:0,tileIndex:1},"1.8/door_iron":{u:0,v:.03125,tileIndex:32},"1.8/door_wood":{u:.03125,v:.03125,tileIndex:33},"1.8/fireworks_charge":{u:.0625,v:0,tileIndex:2},"1.8/leather_boots":{u:.09375,v:0,tileIndex:3},"1.8/leather_helmet":{u:.0625,v:.03125,tileIndex:34},"1.8/leather_leggings":{u:.09375,v:.03125,tileIndex:35},"1.8/potion_overlay":{u:0,v:.0625,tileIndex:64},"1.8/spawn_egg":{u:0,v:.09375,tileIndex:96},"1.9/book_enchanted":{u:.03125,v:.0625,tileIndex:65},"1.9/fish_pufferfish_raw":{u:.03125,v:.09375,tileIndex:97},"1.9/fish_salmon_cooked":{u:.0625,v:.0625,tileIndex:66},"1.9/fish_salmon_raw":{u:.0625,v:.09375,tileIndex:98},"1.9/name_tag":{u:.09375,v:.0625,tileIndex:67},"1.9/porkchop_cooked":{u:.09375,v:.09375,tileIndex:99},"1.11/map_empty":{u:.125,v:0,tileIndex:4},"1.11/map_filled":{u:.15625,v:0,tileIndex:5},"1.14/acacia_boat":{u:.1875,v:0,tileIndex:6},"1.14/apple":{u:.21875,v:0,tileIndex:7},"1.14/armor_stand":{u:.125,v:.03125,tileIndex:36},"1.14/baked_potato":{u:.15625,v:.03125,tileIndex:37},"1.14/barrier":{u:.1875,v:.03125,tileIndex:38},"1.14/beef":{u:.21875,v:.03125,tileIndex:39},"1.14/beetroot":{u:.125,v:.0625,tileIndex:68},"1.14/beetroot_seeds":{u:.15625,v:.0625,tileIndex:69},"1.14/beetroot_soup":{u:.1875,v:.0625,tileIndex:70},"1.14/birch_boat":{u:.21875,v:.0625,tileIndex:71},"1.14/bone":{u:.125,v:.09375,tileIndex:100},"1.14/bone_meal":{u:.15625,v:.09375,tileIndex:101},"1.14/book":{u:.1875,v:.09375,tileIndex:102},"1.14/bowl":{u:.21875,v:.09375,tileIndex:103},"1.14/bread":{u:0,v:.125,tileIndex:128},"1.14/brewing_stand":{u:0,v:.15625,tileIndex:160},"1.14/brick":{u:0,v:.1875,tileIndex:192},"1.14/broken_elytra":{u:0,v:.21875,tileIndex:224},"1.14/bucket":{u:.03125,v:.125,tileIndex:129},"1.14/cake":{u:.03125,v:.15625,tileIndex:161},"1.14/carrot":{u:.03125,v:.1875,tileIndex:193},"1.14/carrot_on_a_stick":{u:.03125,v:.21875,tileIndex:225},"1.14/cauldron":{u:.0625,v:.125,tileIndex:130},"1.14/chainmail_boots":{u:.0625,v:.15625,tileIndex:162},"1.14/chainmail_chestplate":{u:.0625,v:.1875,tileIndex:194},"1.14/chainmail_helmet":{u:.0625,v:.21875,tileIndex:226},"1.14/chainmail_leggings":{u:.09375,v:.125,tileIndex:131},"1.14/charcoal":{u:.09375,v:.15625,tileIndex:163},"1.14/chest_minecart":{u:.09375,v:.1875,tileIndex:195},"1.14/chicken":{u:.09375,v:.21875,tileIndex:227},"1.14/chorus_fruit":{u:.125,v:.125,tileIndex:132},"1.14/clay_ball":{u:.125,v:.15625,tileIndex:164},"1.14/coal":{u:.125,v:.1875,tileIndex:196},"1.14/cocoa_beans":{u:.125,v:.21875,tileIndex:228},"1.14/cod_bucket":{u:.15625,v:.125,tileIndex:133},"1.14/command_block_minecart":{u:.1875,v:.125,tileIndex:134},"1.14/comparator":{u:.21875,v:.125,tileIndex:135},"1.14/cooked_beef":{u:.15625,v:.15625,tileIndex:165},"1.14/cooked_chicken":{u:.15625,v:.1875,tileIndex:197},"1.14/cooked_mutton":{u:.15625,v:.21875,tileIndex:229},"1.14/cooked_porkchop":{u:.1875,v:.15625,tileIndex:166},"1.14/cooked_rabbit":{u:.21875,v:.15625,tileIndex:167},"1.14/cookie":{u:.1875,v:.1875,tileIndex:198},"1.14/cyan_dye":{u:.1875,v:.21875,tileIndex:230},"1.14/dark_oak_boat":{u:.21875,v:.1875,tileIndex:199},"1.14/diamond":{u:.21875,v:.21875,tileIndex:231},"1.14/diamond_boots":{u:.25,v:0,tileIndex:8},"1.14/diamond_chestplate":{u:.28125,v:0,tileIndex:9},"1.14/diamond_helmet":{u:.3125,v:0,tileIndex:10},"1.14/diamond_horse_armor":{u:.34375,v:0,tileIndex:11},"1.14/diamond_leggings":{u:.375,v:0,tileIndex:12},"1.14/diamond_pickaxe":{u:.40625,v:0,tileIndex:13},"1.14/diamond_shovel":{u:.4375,v:0,tileIndex:14},"1.14/diamond_sword":{u:.46875,v:0,tileIndex:15},"1.14/dragon_breath":{u:.25,v:.03125,tileIndex:40},"1.14/egg":{u:.28125,v:.03125,tileIndex:41},"1.14/elytra":{u:.3125,v:.03125,tileIndex:42},"1.14/emerald":{u:.34375,v:.03125,tileIndex:43},"1.14/enchanted_book":{u:.375,v:.03125,tileIndex:44},"1.14/end_crystal":{u:.40625,v:.03125,tileIndex:45},"1.14/ender_eye":{u:.4375,v:.03125,tileIndex:46},"1.14/ender_pearl":{u:.46875,v:.03125,tileIndex:47},"1.14/experience_bottle":{u:.25,v:.0625,tileIndex:72},"1.14/feather":{u:.28125,v:.0625,tileIndex:73},"1.14/fermented_spider_eye":{u:.3125,v:.0625,tileIndex:74},"1.14/filled_map":{u:.34375,v:.0625,tileIndex:75},"1.14/fire_charge":{u:.375,v:.0625,tileIndex:76},"1.14/firework_rocket":{u:.40625,v:.0625,tileIndex:77},"1.14/fishing_rod":{u:.4375,v:.0625,tileIndex:78},"1.14/fishing_rod_cast":{u:.46875,v:.0625,tileIndex:79},"1.14/flint":{u:.25,v:.09375,tileIndex:104},"1.14/flint_and_steel":{u:.28125,v:.09375,tileIndex:105},"1.14/flower_pot":{u:.3125,v:.09375,tileIndex:106},"1.14/furnace_minecart":{u:.34375,v:.09375,tileIndex:107},"1.14/ghast_tear":{u:.375,v:.09375,tileIndex:108},"1.14/glass_bottle":{u:.40625,v:.09375,tileIndex:109},"1.14/glistering_melon_slice":{u:.4375,v:.09375,tileIndex:110},"1.14/glowstone_dust":{u:.46875,v:.09375,tileIndex:111},"1.14/gold_ingot":{u:.25,v:.125,tileIndex:136},"1.14/gold_nugget":{u:.28125,v:.125,tileIndex:137},"1.14/golden_apple":{u:.3125,v:.125,tileIndex:138},"1.14/golden_axe":{u:.34375,v:.125,tileIndex:139},"1.14/golden_boots":{u:.375,v:.125,tileIndex:140},"1.14/golden_carrot":{u:.40625,v:.125,tileIndex:141},"1.14/golden_chestplate":{u:.4375,v:.125,tileIndex:142},"1.14/golden_helmet":{u:.46875,v:.125,tileIndex:143},"1.14/golden_hoe":{u:.25,v:.15625,tileIndex:168},"1.14/golden_horse_armor":{u:.28125,v:.15625,tileIndex:169},"1.14/golden_leggings":{u:.3125,v:.15625,tileIndex:170},"1.14/golden_pickaxe":{u:.34375,v:.15625,tileIndex:171},"1.14/golden_shovel":{u:.375,v:.15625,tileIndex:172},"1.14/golden_sword":{u:.40625,v:.15625,tileIndex:173},"1.14/gray_dye":{u:.4375,v:.15625,tileIndex:174},"1.14/gunpowder":{u:.46875,v:.15625,tileIndex:175},"1.14/hopper":{u:.25,v:.1875,tileIndex:200},"1.14/hopper_minecart":{u:.28125,v:.1875,tileIndex:201},"1.14/ink_sac":{u:.3125,v:.1875,tileIndex:202},"1.14/iron_boots":{u:.34375,v:.1875,tileIndex:203},"1.14/iron_chestplate":{u:.375,v:.1875,tileIndex:204},"1.14/iron_helmet":{u:.40625,v:.1875,tileIndex:205},"1.14/iron_horse_armor":{u:.4375,v:.1875,tileIndex:206},"1.14/iron_ingot":{u:.46875,v:.1875,tileIndex:207},"1.14/iron_leggings":{u:.25,v:.21875,tileIndex:232},"1.14/iron_pickaxe":{u:.28125,v:.21875,tileIndex:233},"1.14/iron_shovel":{u:.3125,v:.21875,tileIndex:234},"1.14/iron_sword":{u:.34375,v:.21875,tileIndex:235},"1.14/item_frame":{u:.375,v:.21875,tileIndex:236},"1.14/jungle_boat":{u:.40625,v:.21875,tileIndex:237},"1.14/knowledge_book":{u:.4375,v:.21875,tileIndex:238},"1.14/lapis_lazuli":{u:.46875,v:.21875,tileIndex:239},"1.14/lava_bucket":{u:0,v:.25,tileIndex:256},"1.14/lead":{u:0,v:.28125,tileIndex:288},"1.14/leather":{u:0,v:.3125,tileIndex:320},"1.14/leather_boots":{u:0,v:.34375,tileIndex:352},"1.14/leather_boots_overlay":{u:0,v:.375,tileIndex:384},"1.14/leather_chestplate":{u:0,v:.40625,tileIndex:416},"1.14/leather_chestplate_overlay":{u:0,v:.4375,tileIndex:448},"1.14/leather_helmet":{u:0,v:.46875,tileIndex:480},"1.14/leather_helmet_overlay":{u:.03125,v:.25,tileIndex:257},"1.14/leather_leggings":{u:.03125,v:.28125,tileIndex:289},"1.14/leather_leggings_overlay":{u:.03125,v:.3125,tileIndex:321},"1.14/light_blue_dye":{u:.03125,v:.34375,tileIndex:353},"1.14/light_gray_dye":{u:.03125,v:.375,tileIndex:385},"1.14/lime_dye":{u:.03125,v:.40625,tileIndex:417},"1.14/lingering_potion":{u:.03125,v:.4375,tileIndex:449},"1.14/magenta_dye":{u:.03125,v:.46875,tileIndex:481},"1.14/magma_cream":{u:.0625,v:.25,tileIndex:258},"1.14/map":{u:.0625,v:.28125,tileIndex:290},"1.14/melon_slice":{u:.0625,v:.3125,tileIndex:322},"1.14/milk_bucket":{u:.0625,v:.34375,tileIndex:354},"1.14/minecart":{u:.0625,v:.375,tileIndex:386},"1.14/mushroom_stew":{u:.0625,v:.40625,tileIndex:418},"1.14/music_disc_11":{u:.0625,v:.4375,tileIndex:450},"1.14/mutton":{u:.0625,v:.46875,tileIndex:482},"1.14/name_tag":{u:.09375,v:.25,tileIndex:259},"1.14/nether_brick":{u:.09375,v:.28125,tileIndex:291},"1.14/nether_star":{u:.09375,v:.3125,tileIndex:323},"1.14/oak_boat":{u:.09375,v:.34375,tileIndex:355},"1.14/orange_dye":{u:.09375,v:.375,tileIndex:387},"1.14/painting":{u:.09375,v:.40625,tileIndex:419},"1.14/paper":{u:.09375,v:.4375,tileIndex:451},"1.14/phantom_membrane":{u:.09375,v:.46875,tileIndex:483},"1.14/pink_dye":{u:.125,v:.25,tileIndex:260},"1.14/poisonous_potato":{u:.125,v:.28125,tileIndex:292},"1.14/popped_chorus_fruit":{u:.125,v:.3125,tileIndex:324},"1.14/porkchop":{u:.125,v:.34375,tileIndex:356},"1.14/potato":{u:.125,v:.375,tileIndex:388},"1.14/potion":{u:.125,v:.40625,tileIndex:420},"1.14/potion_overlay":{u:.125,v:.4375,tileIndex:452},"1.14/prismarine_crystals":{u:.125,v:.46875,tileIndex:484},"1.14/prismarine_shard":{u:.15625,v:.25,tileIndex:261},"1.14/pufferfish_bucket":{u:.15625,v:.28125,tileIndex:293},"1.14/pumpkin_pie":{u:.15625,v:.3125,tileIndex:325},"1.14/purple_dye":{u:.15625,v:.34375,tileIndex:357},"1.14/quartz":{u:.15625,v:.375,tileIndex:389},"1.14/rabbit":{u:.15625,v:.40625,tileIndex:421},"1.14/rabbit_foot":{u:.15625,v:.4375,tileIndex:453},"1.14/rabbit_hide":{u:.15625,v:.46875,tileIndex:485},"1.14/rabbit_stew":{u:.1875,v:.25,tileIndex:262},"1.14/redstone":{u:.1875,v:.28125,tileIndex:294},"1.14/repeater":{u:.1875,v:.3125,tileIndex:326},"1.14/rotten_flesh":{u:.1875,v:.34375,tileIndex:358},"1.14/saddle":{u:.1875,v:.375,tileIndex:390},"1.14/salmon_bucket":{u:.1875,v:.40625,tileIndex:422},"1.14/shears":{u:.1875,v:.4375,tileIndex:454},"1.14/shulker_shell":{u:.1875,v:.46875,tileIndex:486},"1.14/slime_ball":{u:.21875,v:.25,tileIndex:263},"1.14/snowball":{u:.21875,v:.28125,tileIndex:295},"1.14/spectral_arrow":{u:.21875,v:.3125,tileIndex:327},"1.14/spider_eye":{u:.21875,v:.34375,tileIndex:359},"1.14/splash_potion":{u:.21875,v:.375,tileIndex:391},"1.14/spruce_boat":{u:.21875,v:.40625,tileIndex:423},"1.14/stone_pickaxe":{u:.21875,v:.4375,tileIndex:455},"1.14/stone_shovel":{u:.21875,v:.46875,tileIndex:487},"1.14/stone_sword":{u:.25,v:.25,tileIndex:264},"1.14/string":{u:.25,v:.28125,tileIndex:296},"1.14/structure_void":{u:.25,v:.3125,tileIndex:328},"1.14/sugar":{u:.25,v:.34375,tileIndex:360},"1.14/sugar_cane":{u:.25,v:.375,tileIndex:392},"1.14/tipped_arrow_head":{u:.25,v:.40625,tileIndex:424},"1.14/tnt_minecart":{u:.25,v:.4375,tileIndex:456},"1.14/totem_of_undying":{u:.25,v:.46875,tileIndex:488},"1.14/tropical_fish_bucket":{u:.28125,v:.25,tileIndex:265},"1.14/water_bucket":{u:.3125,v:.25,tileIndex:266},"1.14/wheat":{u:.34375,v:.25,tileIndex:267},"1.14/wooden_pickaxe":{u:.375,v:.25,tileIndex:268},"1.14/wooden_shovel":{u:.40625,v:.25,tileIndex:269},"1.14/wooden_sword":{u:.4375,v:.25,tileIndex:270},"1.14/writable_book":{u:.46875,v:.25,tileIndex:271},"1.14/written_book":{u:.28125,v:.28125,tileIndex:297},"1.14.1/iron_horse_armor":{u:.28125,v:.3125,tileIndex:329},"1.14.1/leather_horse_armor":{u:.28125,v:.34375,tileIndex:361},"1.16/diamond_boots":{u:.28125,v:.375,tileIndex:393},"1.16/diamond_helmet":{u:.28125,v:.40625,tileIndex:425},"1.16/diamond_leggings":{u:.28125,v:.4375,tileIndex:457},"1.16/diamond_pickaxe":{u:.28125,v:.46875,tileIndex:489},"1.16/diamond_shovel":{u:.3125,v:.28125,tileIndex:298},"1.16/diamond_sword":{u:.34375,v:.28125,tileIndex:299},"1.16/wooden_hoe":{u:.375,v:.28125,tileIndex:300},"1.16/wooden_pickaxe":{u:.40625,v:.28125,tileIndex:301},"1.17/clock_00":{u:.4375,v:.28125,tileIndex:302},"1.17/clock_01":{u:.46875,v:.28125,tileIndex:303},"1.17/clock_02":{u:.3125,v:.3125,tileIndex:330},"1.17/clock_03":{u:.3125,v:.34375,tileIndex:362},"1.17/clock_04":{u:.3125,v:.375,tileIndex:394},"1.17/clock_05":{u:.3125,v:.40625,tileIndex:426},"1.17/clock_06":{u:.3125,v:.4375,tileIndex:458},"1.17/clock_07":{u:.3125,v:.46875,tileIndex:490},"1.17/clock_08":{u:.34375,v:.3125,tileIndex:331},"1.17/clock_09":{u:.375,v:.3125,tileIndex:332},"1.17/clock_10":{u:.40625,v:.3125,tileIndex:333},"1.17/clock_11":{u:.4375,v:.3125,tileIndex:334},"1.17/clock_12":{u:.46875,v:.3125,tileIndex:335},"1.17/clock_13":{u:.34375,v:.34375,tileIndex:363},"1.17/clock_14":{u:.34375,v:.375,tileIndex:395},"1.17/clock_15":{u:.34375,v:.40625,tileIndex:427},"1.17/clock_16":{u:.34375,v:.4375,tileIndex:459},"1.17/clock_17":{u:.34375,v:.46875,tileIndex:491},"1.17/clock_18":{u:.375,v:.34375,tileIndex:364},"1.17/clock_19":{u:.40625,v:.34375,tileIndex:365},"1.17/clock_20":{u:.4375,v:.34375,tileIndex:366},"1.17/clock_21":{u:.46875,v:.34375,tileIndex:367},"1.17/clock_22":{u:.375,v:.375,tileIndex:396},"1.17/clock_23":{u:.375,v:.40625,tileIndex:428},"1.17/clock_24":{u:.375,v:.4375,tileIndex:460},"1.17/clock_25":{u:.375,v:.46875,tileIndex:492},"1.17/clock_26":{u:.40625,v:.375,tileIndex:397},"1.17/clock_27":{u:.4375,v:.375,tileIndex:398},"1.17/clock_28":{u:.46875,v:.375,tileIndex:399},"1.17/clock_29":{u:.40625,v:.40625,tileIndex:429},"1.17/clock_30":{u:.40625,v:.4375,tileIndex:461},"1.17/clock_31":{u:.40625,v:.46875,tileIndex:493},"1.17/clock_32":{u:.4375,v:.40625,tileIndex:430},"1.17/clock_33":{u:.46875,v:.40625,tileIndex:431},"1.17/clock_34":{u:.4375,v:.4375,tileIndex:462},"1.17/clock_35":{u:.4375,v:.46875,tileIndex:494},"1.17/clock_36":{u:.46875,v:.4375,tileIndex:463},"1.17/clock_37":{u:.46875,v:.46875,tileIndex:495},"1.17/clock_38":{u:.5,v:0,tileIndex:16},"1.17/clock_39":{u:.53125,v:0,tileIndex:17},"1.17/clock_40":{u:.5625,v:0,tileIndex:18},"1.17/clock_41":{u:.59375,v:0,tileIndex:19},"1.17/clock_42":{u:.625,v:0,tileIndex:20},"1.17/clock_43":{u:.65625,v:0,tileIndex:21},"1.17/clock_44":{u:.6875,v:0,tileIndex:22},"1.17/clock_45":{u:.71875,v:0,tileIndex:23},"1.17/clock_46":{u:.75,v:0,tileIndex:24},"1.17/clock_47":{u:.78125,v:0,tileIndex:25},"1.17/clock_48":{u:.8125,v:0,tileIndex:26},"1.17/clock_49":{u:.84375,v:0,tileIndex:27},"1.17/clock_50":{u:.875,v:0,tileIndex:28},"1.17/clock_51":{u:.90625,v:0,tileIndex:29},"1.17/clock_52":{u:.9375,v:0,tileIndex:30},"1.17/clock_53":{u:.96875,v:0,tileIndex:31},"1.17/clock_54":{u:.5,v:.03125,tileIndex:48},"1.17/clock_55":{u:.53125,v:.03125,tileIndex:49},"1.17/clock_56":{u:.5625,v:.03125,tileIndex:50},"1.17/clock_57":{u:.59375,v:.03125,tileIndex:51},"1.17/clock_58":{u:.625,v:.03125,tileIndex:52},"1.17/clock_59":{u:.65625,v:.03125,tileIndex:53},"1.17/clock_60":{u:.6875,v:.03125,tileIndex:54},"1.17/clock_61":{u:.71875,v:.03125,tileIndex:55},"1.17/clock_62":{u:.75,v:.03125,tileIndex:56},"1.17/clock_63":{u:.78125,v:.03125,tileIndex:57},"1.17/compass_00":{u:.8125,v:.03125,tileIndex:58},"1.17/compass_01":{u:.84375,v:.03125,tileIndex:59},"1.17/compass_02":{u:.875,v:.03125,tileIndex:60},"1.17/compass_03":{u:.90625,v:.03125,tileIndex:61},"1.17/compass_04":{u:.9375,v:.03125,tileIndex:62},"1.17/compass_05":{u:.96875,v:.03125,tileIndex:63},"1.17/compass_06":{u:.5,v:.0625,tileIndex:80},"1.17/compass_07":{u:.53125,v:.0625,tileIndex:81},"1.17/compass_08":{u:.5625,v:.0625,tileIndex:82},"1.17/compass_09":{u:.59375,v:.0625,tileIndex:83},"1.17/compass_10":{u:.625,v:.0625,tileIndex:84},"1.17/compass_11":{u:.65625,v:.0625,tileIndex:85},"1.17/compass_12":{u:.6875,v:.0625,tileIndex:86},"1.17/compass_13":{u:.71875,v:.0625,tileIndex:87},"1.17/compass_14":{u:.75,v:.0625,tileIndex:88},"1.17/compass_15":{u:.78125,v:.0625,tileIndex:89},"1.17/compass_16":{u:.8125,v:.0625,tileIndex:90},"1.17/compass_17":{u:.84375,v:.0625,tileIndex:91},"1.17/compass_18":{u:.875,v:.0625,tileIndex:92},"1.17/compass_19":{u:.90625,v:.0625,tileIndex:93},"1.17/compass_20":{u:.9375,v:.0625,tileIndex:94},"1.17/compass_21":{u:.96875,v:.0625,tileIndex:95},"1.17/compass_22":{u:.5,v:.09375,tileIndex:112},"1.17/compass_23":{u:.53125,v:.09375,tileIndex:113},"1.17/compass_24":{u:.5625,v:.09375,tileIndex:114},"1.17/compass_25":{u:.59375,v:.09375,tileIndex:115},"1.17/compass_26":{u:.625,v:.09375,tileIndex:116},"1.17/compass_27":{u:.65625,v:.09375,tileIndex:117},"1.17/compass_28":{u:.6875,v:.09375,tileIndex:118},"1.17/compass_29":{u:.71875,v:.09375,tileIndex:119},"1.17/compass_30":{u:.75,v:.09375,tileIndex:120},"1.17/compass_31":{u:.78125,v:.09375,tileIndex:121},"1.17/jungle_door":{u:.8125,v:.09375,tileIndex:122},"1.17/sugar_cane":{u:.84375,v:.09375,tileIndex:123},"1.17.1/spyglass_model":{u:.875,v:.09375,tileIndex:124},"1.18/acacia_door":{u:.90625,v:.09375,tileIndex:125},"1.18/acacia_sign":{u:.9375,v:.09375,tileIndex:126},"1.18/beetroot_seeds":{u:.96875,v:.09375,tileIndex:127},"1.18/birch_sign":{u:.5,v:.125,tileIndex:144},"1.18/campfire":{u:.53125,v:.125,tileIndex:145},"1.18/crimson_sign":{u:.5625,v:.125,tileIndex:146},"1.18/dark_oak_door":{u:.59375,v:.125,tileIndex:147},"1.18/dark_oak_sign":{u:.625,v:.125,tileIndex:148},"1.18/glow_item_frame":{u:.65625,v:.125,tileIndex:149},"1.18/iron_door":{u:.6875,v:.125,tileIndex:150},"1.18/item_frame":{u:.71875,v:.125,tileIndex:151},"1.18/jungle_door":{u:.75,v:.125,tileIndex:152},"1.18/jungle_sign":{u:.78125,v:.125,tileIndex:153},"1.18/melon_seeds":{u:.8125,v:.125,tileIndex:154},"1.18/oak_door":{u:.84375,v:.125,tileIndex:155},"1.18/oak_sign":{u:.875,v:.125,tileIndex:156},"1.18/soul_campfire":{u:.90625,v:.125,tileIndex:157},"1.18/spruce_door":{u:.9375,v:.125,tileIndex:158},"1.18/spruce_sign":{u:.96875,v:.125,tileIndex:159},"1.19/acacia_boat":{u:.5,v:.15625,tileIndex:176},"1.19/birch_boat":{u:.53125,v:.15625,tileIndex:177},"1.19/dark_oak_boat":{u:.5625,v:.15625,tileIndex:178},"1.19/jungle_boat":{u:.59375,v:.15625,tileIndex:179},"1.19/oak_boat":{u:.625,v:.15625,tileIndex:180},"1.19/spruce_boat":{u:.65625,v:.15625,tileIndex:181},"1.19.4/empty_armor_slot_boots":{u:.6875,v:.15625,tileIndex:182},"1.19.4/empty_armor_slot_chestplate":{u:.71875,v:.15625,tileIndex:183},"1.19.4/empty_armor_slot_helmet":{u:.75,v:.15625,tileIndex:184},"1.19.4/empty_armor_slot_leggings":{u:.78125,v:.15625,tileIndex:185},"1.19.4/empty_armor_slot_shield":{u:.8125,v:.15625,tileIndex:186},"1.20/dune_armor_trim_smithing_template":{u:.84375,v:.15625,tileIndex:187},"1.20/sentry_armor_trim_smithing_template":{u:.875,v:.15625,tileIndex:188},"1.20.5/trial_key":{u:.90625,v:.15625,tileIndex:189},"1.21.2/bundle":{u:.9375,v:.15625,tileIndex:190},"1.21.2/creeper_banner_pattern":{u:.96875,v:.15625,tileIndex:191},"1.21.2/flow_banner_pattern":{u:.5,v:.1875,tileIndex:208},"1.21.2/flower_banner_pattern":{u:.53125,v:.1875,tileIndex:209},"1.21.2/globe_banner_pattern":{u:.5625,v:.1875,tileIndex:210},"1.21.2/guster_banner_pattern":{u:.59375,v:.1875,tileIndex:211},"1.21.2/mojang_banner_pattern":{u:.625,v:.1875,tileIndex:212},"1.21.2/piglin_banner_pattern":{u:.65625,v:.1875,tileIndex:213},"1.21.2/skull_banner_pattern":{u:.6875,v:.1875,tileIndex:214},"1.21.4/black_bundle_open_front":{u:.71875,v:.1875,tileIndex:215},"1.21.4/blue_bundle_open_front":{u:.75,v:.1875,tileIndex:216},"1.21.4/brown_bundle_open_front":{u:.78125,v:.1875,tileIndex:217},"1.21.4/bundle_open_front":{u:.8125,v:.1875,tileIndex:218},"1.21.4/cyan_bundle_open_front":{u:.84375,v:.1875,tileIndex:219},"1.21.4/gray_bundle_open_front":{u:.875,v:.1875,tileIndex:220},"1.21.4/green_bundle_open_front":{u:.90625,v:.1875,tileIndex:221},"1.21.4/light_blue_bundle_open_front":{u:.9375,v:.1875,tileIndex:222},"1.21.4/light_gray_bundle_open_front":{u:.96875,v:.1875,tileIndex:223},"1.21.4/lime_bundle_open_front":{u:.5,v:.21875,tileIndex:240},"1.21.4/magenta_bundle_open_front":{u:.53125,v:.21875,tileIndex:241},"1.21.4/orange_bundle_open_front":{u:.5625,v:.21875,tileIndex:242},"1.21.4/pale_oak_chest_boat":{u:.59375,v:.21875,tileIndex:243},"1.21.4/pale_oak_hanging_sign":{u:.625,v:.21875,tileIndex:244},"1.21.4/pale_oak_sign":{u:.65625,v:.21875,tileIndex:245},"1.21.4/pink_bundle_open_front":{u:.6875,v:.21875,tileIndex:246},"1.21.4/purple_bundle_open_front":{u:.71875,v:.21875,tileIndex:247},"1.21.4/red_bundle_open_front":{u:.75,v:.21875,tileIndex:248},"1.21.4/white_bundle_open_front":{u:.78125,v:.21875,tileIndex:249},"1.21.4/yellow_bundle_open_front":{u:.8125,v:.21875,tileIndex:250}}}};var H_={"1.7.10":{},"1.8":{},"1.8.1":{},"1.8.2":{},"1.8.3":{},"1.8.4":{},"1.8.5":{},"1.8.6":{},"1.8.7":{},"1.8.8":{},"1.8.9":{},"1.9":{},"1.9.1":{},"1.9.2":{},"1.9.3":{},"1.9.4":{},"1.10":{},"1.10.1":{},"1.10.2":{},"1.11":{},"1.11.1":{},"1.11.2":{},"1.12":{},"1.12.1":{},"1.12.2":{},"1.13":{},"1.13.1":{},"1.13.2":{},"1.14":{},"1.14.1":{},"1.14.2":{},"1.14.3":{},"1.14.4":{},"1.15":{},"1.15.1":{},"1.15.2":{},"1.16":{},"1.16.1":{},"1.16.2":{},"1.16.3":{},"1.16.4":{},"1.16.5":{},"1.17":{},"1.17.1":{},"1.18":{},"1.18.1":{},"1.18.2":{},"1.19":{},"1.19.1":{},"1.19.2":{},"1.19.3":{},"1.19.4":{},"1.20":{},"1.20.1":{},"1.20.2":{},"1.20.3":{},"1.20.4":{},"1.20.5":{},"1.20.6":{},"1.21":{},"1.21.1":{},"1.21.2":{},"1.21.3":{},"1.21.4":{},"1.21.5-pre2":{},"1.21.5-pre3":{},"1.21.5-rc1":{},"1.21.5-rc2":{},"1.21.5":{},"1.21.6-pre1":{},"1.21.6-pre2":{},"1.21.6-pre3":{},"1.21.6-rc1":{},"1.21.6":{},"1.21.7-rc2":{},"1.21.7":{},"1.21.8-rc1":{},"1.21.8":{},"1.21.9-pre2":{},"1.21.9-pre4":{},"1.21.9-rc1":{},"1.21.9":{},"1.21.10-rc1":{},"1.21.10":{},"1.21.11-pre2":{},"1.21.11-pre3":{},latest:{acacia_boat:{model:{type:"minecraft:model",model:"minecraft:item/acacia_boat"}},acacia_button:{model:{type:"minecraft:model",model:"minecraft:block/acacia_button_inventory"}},acacia_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/acacia_chest_boat"}},acacia_door:{model:{type:"minecraft:model",model:"minecraft:item/acacia_door"}},acacia_fence:{model:{type:"minecraft:model",model:"minecraft:block/acacia_fence_inventory"}},acacia_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/acacia_fence_gate"}},acacia_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/acacia_hanging_sign"}},acacia_leaves:{model:{type:"minecraft:model",model:"minecraft:block/acacia_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},acacia_log:{model:{type:"minecraft:model",model:"minecraft:block/acacia_log"}},acacia_planks:{model:{type:"minecraft:model",model:"minecraft:block/acacia_planks"}},acacia_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/acacia_pressure_plate"}},acacia_sapling:{model:{type:"minecraft:model",model:"minecraft:item/acacia_sapling"}},acacia_sign:{model:{type:"minecraft:model",model:"minecraft:item/acacia_sign"}},acacia_slab:{model:{type:"minecraft:model",model:"minecraft:block/acacia_slab"}},acacia_stairs:{model:{type:"minecraft:model",model:"minecraft:block/acacia_stairs"}},acacia_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/acacia_trapdoor_bottom"}},acacia_wood:{model:{type:"minecraft:model",model:"minecraft:block/acacia_wood"}},activator_rail:{model:{type:"minecraft:model",model:"minecraft:item/activator_rail"}},air:{model:{type:"minecraft:model",model:"minecraft:item/air"}},allay_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/allay_spawn_egg"}},allium:{model:{type:"minecraft:model",model:"minecraft:item/allium"}},amethyst_block:{model:{type:"minecraft:model",model:"minecraft:block/amethyst_block"}},amethyst_cluster:{model:{type:"minecraft:model",model:"minecraft:item/amethyst_cluster"}},amethyst_shard:{model:{type:"minecraft:model",model:"minecraft:item/amethyst_shard"}},ancient_debris:{model:{type:"minecraft:model",model:"minecraft:block/ancient_debris"}},andesite:{model:{type:"minecraft:model",model:"minecraft:block/andesite"}},andesite_slab:{model:{type:"minecraft:model",model:"minecraft:block/andesite_slab"}},andesite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/andesite_stairs"}},andesite_wall:{model:{type:"minecraft:model",model:"minecraft:block/andesite_wall_inventory"}},angler_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/angler_pottery_sherd"}},anvil:{model:{type:"minecraft:model",model:"minecraft:block/anvil"}},apple:{model:{type:"minecraft:model",model:"minecraft:item/apple"}},archer_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/archer_pottery_sherd"}},armadillo_scute:{model:{type:"minecraft:model",model:"minecraft:item/armadillo_scute"}},armadillo_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/armadillo_spawn_egg"}},armor_stand:{model:{type:"minecraft:model",model:"minecraft:item/armor_stand"}},arms_up_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/arms_up_pottery_sherd"}},arrow:{model:{type:"minecraft:model",model:"minecraft:item/arrow"}},axolotl_bucket:{model:{type:"minecraft:model",model:"minecraft:item/axolotl_bucket"}},axolotl_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/axolotl_spawn_egg"}},azalea:{model:{type:"minecraft:model",model:"minecraft:block/azalea"}},azalea_leaves:{model:{type:"minecraft:model",model:"minecraft:block/azalea_leaves"}},azure_bluet:{model:{type:"minecraft:model",model:"minecraft:item/azure_bluet"}},baked_potato:{model:{type:"minecraft:model",model:"minecraft:item/baked_potato"}},bamboo:{model:{type:"minecraft:model",model:"minecraft:item/bamboo"}},bamboo_block:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_block"}},bamboo_button:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_button_inventory"}},bamboo_chest_raft:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_chest_raft"}},bamboo_door:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_door"}},bamboo_fence:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_fence_inventory"}},bamboo_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_fence_gate"}},bamboo_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_hanging_sign"}},bamboo_mosaic:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_mosaic"}},bamboo_mosaic_slab:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_mosaic_slab"}},bamboo_mosaic_stairs:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_mosaic_stairs"}},bamboo_planks:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_planks"}},bamboo_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_pressure_plate"}},bamboo_raft:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_raft"}},bamboo_sign:{model:{type:"minecraft:model",model:"minecraft:item/bamboo_sign"}},bamboo_slab:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_slab"}},bamboo_stairs:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_stairs"}},bamboo_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_trapdoor_bottom"}},barrel:{model:{type:"minecraft:model",model:"minecraft:block/barrel"}},barrier:{model:{type:"minecraft:model",model:"minecraft:item/barrier"}},basalt:{model:{type:"minecraft:model",model:"minecraft:block/basalt"}},bat_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/bat_spawn_egg"}},beacon:{model:{type:"minecraft:model",model:"minecraft:block/beacon"}},bedrock:{model:{type:"minecraft:model",model:"minecraft:block/bedrock"}},bee_nest:{model:{type:"minecraft:select",block_state_property:"honey_level",cases:[{model:{type:"minecraft:model",model:"minecraft:block/bee_nest_honey"},when:"5"}],fallback:{type:"minecraft:model",model:"minecraft:block/bee_nest_empty"},property:"minecraft:block_state"}},bee_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/bee_spawn_egg"}},beef:{model:{type:"minecraft:model",model:"minecraft:item/beef"}},beehive:{model:{type:"minecraft:select",block_state_property:"honey_level",cases:[{model:{type:"minecraft:model",model:"minecraft:block/beehive_honey"},when:"5"}],fallback:{type:"minecraft:model",model:"minecraft:block/beehive_empty"},property:"minecraft:block_state"}},beetroot:{model:{type:"minecraft:model",model:"minecraft:item/beetroot"}},beetroot_seeds:{model:{type:"minecraft:model",model:"minecraft:item/beetroot_seeds"}},beetroot_soup:{model:{type:"minecraft:model",model:"minecraft:item/beetroot_soup"}},bell:{model:{type:"minecraft:model",model:"minecraft:item/bell"}},big_dripleaf:{model:{type:"minecraft:model",model:"minecraft:item/big_dripleaf"}},birch_boat:{model:{type:"minecraft:model",model:"minecraft:item/birch_boat"}},birch_button:{model:{type:"minecraft:model",model:"minecraft:block/birch_button_inventory"}},birch_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/birch_chest_boat"}},birch_door:{model:{type:"minecraft:model",model:"minecraft:item/birch_door"}},birch_fence:{model:{type:"minecraft:model",model:"minecraft:block/birch_fence_inventory"}},birch_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/birch_fence_gate"}},birch_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/birch_hanging_sign"}},birch_leaves:{model:{type:"minecraft:model",model:"minecraft:block/birch_leaves",tints:[{type:"minecraft:constant",value:-8345771}]}},birch_log:{model:{type:"minecraft:model",model:"minecraft:block/birch_log"}},birch_planks:{model:{type:"minecraft:model",model:"minecraft:block/birch_planks"}},birch_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/birch_pressure_plate"}},birch_sapling:{model:{type:"minecraft:model",model:"minecraft:item/birch_sapling"}},birch_sign:{model:{type:"minecraft:model",model:"minecraft:item/birch_sign"}},birch_slab:{model:{type:"minecraft:model",model:"minecraft:block/birch_slab"}},birch_stairs:{model:{type:"minecraft:model",model:"minecraft:block/birch_stairs"}},birch_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/birch_trapdoor_bottom"}},birch_wood:{model:{type:"minecraft:model",model:"minecraft:block/birch_wood"}},black_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"black"}}},black_bed:{model:{type:"minecraft:special",base:"minecraft:item/black_bed",model:{type:"minecraft:bed",texture:"minecraft:black"}}},black_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/black_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/black_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/black_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/black_bundle"},property:"minecraft:display_context"}},black_candle:{model:{type:"minecraft:model",model:"minecraft:item/black_candle"}},black_carpet:{model:{type:"minecraft:model",model:"minecraft:block/black_carpet"}},black_concrete:{model:{type:"minecraft:model",model:"minecraft:block/black_concrete"}},black_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/black_concrete_powder"}},black_dye:{model:{type:"minecraft:model",model:"minecraft:item/black_dye"}},black_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/black_glazed_terracotta"}},black_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/black_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_black"}}},black_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/black_stained_glass"}},black_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/black_stained_glass_pane"}},black_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/black_terracotta"}},black_wool:{model:{type:"minecraft:model",model:"minecraft:block/black_wool"}},blackstone:{model:{type:"minecraft:model",model:"minecraft:block/blackstone"}},blackstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/blackstone_slab"}},blackstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/blackstone_stairs"}},blackstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/blackstone_wall_inventory"}},blade_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/blade_pottery_sherd"}},blast_furnace:{model:{type:"minecraft:model",model:"minecraft:block/blast_furnace"}},blaze_powder:{model:{type:"minecraft:model",model:"minecraft:item/blaze_powder"}},blaze_rod:{model:{type:"minecraft:model",model:"minecraft:item/blaze_rod"}},blaze_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/blaze_spawn_egg"}},blue_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"blue"}}},blue_bed:{model:{type:"minecraft:special",base:"minecraft:item/blue_bed",model:{type:"minecraft:bed",texture:"minecraft:blue"}}},blue_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/blue_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/blue_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/blue_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/blue_bundle"},property:"minecraft:display_context"}},blue_candle:{model:{type:"minecraft:model",model:"minecraft:item/blue_candle"}},blue_carpet:{model:{type:"minecraft:model",model:"minecraft:block/blue_carpet"}},blue_concrete:{model:{type:"minecraft:model",model:"minecraft:block/blue_concrete"}},blue_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/blue_concrete_powder"}},blue_dye:{model:{type:"minecraft:model",model:"minecraft:item/blue_dye"}},blue_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/blue_glazed_terracotta"}},blue_ice:{model:{type:"minecraft:model",model:"minecraft:block/blue_ice"}},blue_orchid:{model:{type:"minecraft:model",model:"minecraft:item/blue_orchid"}},blue_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/blue_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_blue"}}},blue_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/blue_stained_glass"}},blue_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/blue_stained_glass_pane"}},blue_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/blue_terracotta"}},blue_wool:{model:{type:"minecraft:model",model:"minecraft:block/blue_wool"}},bogged_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/bogged_spawn_egg"}},bolt_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/bolt_armor_trim_smithing_template"}},bone:{model:{type:"minecraft:model",model:"minecraft:item/bone"}},bone_block:{model:{type:"minecraft:model",model:"minecraft:block/bone_block"}},bone_meal:{model:{type:"minecraft:model",model:"minecraft:item/bone_meal"}},book:{model:{type:"minecraft:model",model:"minecraft:item/book"}},bookshelf:{model:{type:"minecraft:model",model:"minecraft:block/bookshelf"}},bordure_indented_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/bordure_indented_banner_pattern"}},bow:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/bow"},on_true:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/bow_pulling_1"},threshold:.65},{model:{type:"minecraft:model",model:"minecraft:item/bow_pulling_2"},threshold:.9}],fallback:{type:"minecraft:model",model:"minecraft:item/bow_pulling_0"},property:"minecraft:use_duration",scale:.05},property:"minecraft:using_item"}},bowl:{model:{type:"minecraft:model",model:"minecraft:item/bowl"}},brain_coral:{model:{type:"minecraft:model",model:"minecraft:item/brain_coral"}},brain_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/brain_coral_block"}},brain_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/brain_coral_fan"}},bread:{model:{type:"minecraft:model",model:"minecraft:item/bread"}},breeze_rod:{model:{type:"minecraft:model",model:"minecraft:item/breeze_rod"}},breeze_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/breeze_spawn_egg"}},brewer_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/brewer_pottery_sherd"}},brewing_stand:{model:{type:"minecraft:model",model:"minecraft:item/brewing_stand"}},brick:{model:{type:"minecraft:model",model:"minecraft:item/brick"}},brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/brick_slab"}},brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/brick_stairs"}},brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/brick_wall_inventory"}},bricks:{model:{type:"minecraft:model",model:"minecraft:block/bricks"}},brown_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"brown"}}},brown_bed:{model:{type:"minecraft:special",base:"minecraft:item/brown_bed",model:{type:"minecraft:bed",texture:"minecraft:brown"}}},brown_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/brown_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/brown_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/brown_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/brown_bundle"},property:"minecraft:display_context"}},brown_candle:{model:{type:"minecraft:model",model:"minecraft:item/brown_candle"}},brown_carpet:{model:{type:"minecraft:model",model:"minecraft:block/brown_carpet"}},brown_concrete:{model:{type:"minecraft:model",model:"minecraft:block/brown_concrete"}},brown_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/brown_concrete_powder"}},brown_dye:{model:{type:"minecraft:model",model:"minecraft:item/brown_dye"}},brown_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/brown_glazed_terracotta"}},brown_mushroom:{model:{type:"minecraft:model",model:"minecraft:item/brown_mushroom"}},brown_mushroom_block:{model:{type:"minecraft:model",model:"minecraft:block/brown_mushroom_block_inventory"}},brown_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/brown_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_brown"}}},brown_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/brown_stained_glass"}},brown_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/brown_stained_glass_pane"}},brown_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/brown_terracotta"}},brown_wool:{model:{type:"minecraft:model",model:"minecraft:block/brown_wool"}},brush:{model:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/brush_brushing_0"},threshold:.25},{model:{type:"minecraft:model",model:"minecraft:item/brush_brushing_1"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/brush_brushing_2"},threshold:.75}],fallback:{type:"minecraft:model",model:"minecraft:item/brush"},period:10,property:"minecraft:use_cycle",scale:.1}},bubble_coral:{model:{type:"minecraft:model",model:"minecraft:item/bubble_coral"}},bubble_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/bubble_coral_block"}},bubble_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/bubble_coral_fan"}},bucket:{model:{type:"minecraft:model",model:"minecraft:item/bucket"}},budding_amethyst:{model:{type:"minecraft:model",model:"minecraft:block/budding_amethyst"}},bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/bundle"},property:"minecraft:display_context"}},burn_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/burn_pottery_sherd"}},cactus:{model:{type:"minecraft:model",model:"minecraft:block/cactus"}},cake:{model:{type:"minecraft:model",model:"minecraft:item/cake"}},calcite:{model:{type:"minecraft:model",model:"minecraft:block/calcite"}},calibrated_sculk_sensor:{model:{type:"minecraft:model",model:"minecraft:block/calibrated_sculk_sensor_inactive"}},camel_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/camel_spawn_egg"}},campfire:{model:{type:"minecraft:model",model:"minecraft:item/campfire"}},candle:{model:{type:"minecraft:model",model:"minecraft:item/candle"}},carrot:{model:{type:"minecraft:model",model:"minecraft:item/carrot"}},carrot_on_a_stick:{model:{type:"minecraft:model",model:"minecraft:item/carrot_on_a_stick"}},cartography_table:{model:{type:"minecraft:model",model:"minecraft:block/cartography_table"}},carved_pumpkin:{model:{type:"minecraft:model",model:"minecraft:block/carved_pumpkin"}},cat_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cat_spawn_egg"}},cauldron:{model:{type:"minecraft:model",model:"minecraft:item/cauldron"}},cave_spider_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cave_spider_spawn_egg"}},chain:{model:{type:"minecraft:model",model:"minecraft:item/chain"}},chain_command_block:{model:{type:"minecraft:model",model:"minecraft:block/chain_command_block"}},chainmail_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_boots"},property:"minecraft:trim_material"}},chainmail_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_chestplate"},property:"minecraft:trim_material"}},chainmail_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_helmet"},property:"minecraft:trim_material"}},chainmail_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/chainmail_leggings"},property:"minecraft:trim_material"}},charcoal:{model:{type:"minecraft:model",model:"minecraft:item/charcoal"}},cherry_boat:{model:{type:"minecraft:model",model:"minecraft:item/cherry_boat"}},cherry_button:{model:{type:"minecraft:model",model:"minecraft:block/cherry_button_inventory"}},cherry_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/cherry_chest_boat"}},cherry_door:{model:{type:"minecraft:model",model:"minecraft:item/cherry_door"}},cherry_fence:{model:{type:"minecraft:model",model:"minecraft:block/cherry_fence_inventory"}},cherry_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/cherry_fence_gate"}},cherry_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/cherry_hanging_sign"}},cherry_leaves:{model:{type:"minecraft:model",model:"minecraft:block/cherry_leaves"}},cherry_log:{model:{type:"minecraft:model",model:"minecraft:block/cherry_log"}},cherry_planks:{model:{type:"minecraft:model",model:"minecraft:block/cherry_planks"}},cherry_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/cherry_pressure_plate"}},cherry_sapling:{model:{type:"minecraft:model",model:"minecraft:item/cherry_sapling"}},cherry_sign:{model:{type:"minecraft:model",model:"minecraft:item/cherry_sign"}},cherry_slab:{model:{type:"minecraft:model",model:"minecraft:block/cherry_slab"}},cherry_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cherry_stairs"}},cherry_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/cherry_trapdoor_bottom"}},cherry_wood:{model:{type:"minecraft:model",model:"minecraft:block/cherry_wood"}},chest:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:special",base:"minecraft:item/chest",model:{type:"minecraft:chest",texture:"minecraft:christmas"}},when:["12-24","12-25","12-26"]}],fallback:{type:"minecraft:special",base:"minecraft:item/chest",model:{type:"minecraft:chest",texture:"minecraft:normal"}},pattern:"MM-dd",property:"minecraft:local_time"}},chest_minecart:{model:{type:"minecraft:model",model:"minecraft:item/chest_minecart"}},chicken:{model:{type:"minecraft:model",model:"minecraft:item/chicken"}},chicken_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/chicken_spawn_egg"}},chipped_anvil:{model:{type:"minecraft:model",model:"minecraft:block/chipped_anvil"}},chiseled_bookshelf:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_bookshelf_inventory"}},chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_copper"}},chiseled_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_deepslate"}},chiseled_nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_nether_bricks"}},chiseled_polished_blackstone:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_polished_blackstone"}},chiseled_quartz_block:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_quartz_block"}},chiseled_red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_red_sandstone"}},chiseled_resin_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_resin_bricks"}},chiseled_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_sandstone"}},chiseled_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_stone_bricks"}},chiseled_tuff:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_tuff"}},chiseled_tuff_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_tuff_bricks"}},chorus_flower:{model:{type:"minecraft:model",model:"minecraft:block/chorus_flower"}},chorus_fruit:{model:{type:"minecraft:model",model:"minecraft:item/chorus_fruit"}},chorus_plant:{model:{type:"minecraft:model",model:"minecraft:block/chorus_plant"}},clay:{model:{type:"minecraft:model",model:"minecraft:block/clay"}},clay_ball:{model:{type:"minecraft:model",model:"minecraft:item/clay_ball"}},clock:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/clock_01"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_02"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_03"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_04"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_05"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_06"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_07"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_08"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_09"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_10"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_11"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_12"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_13"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_14"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_15"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_16"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_17"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_18"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_19"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_20"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_21"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_22"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_23"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_24"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_25"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_26"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_27"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_28"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_29"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_30"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_31"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_32"},threshold:31.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_33"},threshold:32.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_34"},threshold:33.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_35"},threshold:34.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_36"},threshold:35.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_37"},threshold:36.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_38"},threshold:37.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_39"},threshold:38.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_40"},threshold:39.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_41"},threshold:40.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_42"},threshold:41.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_43"},threshold:42.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_44"},threshold:43.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_45"},threshold:44.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_46"},threshold:45.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_47"},threshold:46.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_48"},threshold:47.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_49"},threshold:48.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_50"},threshold:49.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_51"},threshold:50.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_52"},threshold:51.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_53"},threshold:52.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_54"},threshold:53.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_55"},threshold:54.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_56"},threshold:55.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_57"},threshold:56.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_58"},threshold:57.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_59"},threshold:58.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_60"},threshold:59.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_61"},threshold:60.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_62"},threshold:61.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_63"},threshold:62.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:63.5}],property:"minecraft:time",scale:64,source:"daytime"},when:"minecraft:overworld"}],fallback:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/clock_01"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_02"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_03"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_04"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_05"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_06"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_07"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_08"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_09"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_10"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_11"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_12"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_13"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_14"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_15"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_16"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_17"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_18"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_19"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_20"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_21"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_22"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_23"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_24"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_25"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_26"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_27"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_28"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_29"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_30"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_31"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_32"},threshold:31.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_33"},threshold:32.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_34"},threshold:33.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_35"},threshold:34.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_36"},threshold:35.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_37"},threshold:36.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_38"},threshold:37.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_39"},threshold:38.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_40"},threshold:39.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_41"},threshold:40.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_42"},threshold:41.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_43"},threshold:42.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_44"},threshold:43.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_45"},threshold:44.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_46"},threshold:45.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_47"},threshold:46.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_48"},threshold:47.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_49"},threshold:48.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_50"},threshold:49.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_51"},threshold:50.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_52"},threshold:51.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_53"},threshold:52.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_54"},threshold:53.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_55"},threshold:54.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_56"},threshold:55.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_57"},threshold:56.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_58"},threshold:57.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_59"},threshold:58.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_60"},threshold:59.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_61"},threshold:60.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_62"},threshold:61.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_63"},threshold:62.5},{model:{type:"minecraft:model",model:"minecraft:item/clock_00"},threshold:63.5}],property:"minecraft:time",scale:64,source:"random"},property:"minecraft:context_dimension"}},closed_eyeblossom:{model:{type:"minecraft:model",model:"minecraft:item/closed_eyeblossom"}},coal:{model:{type:"minecraft:model",model:"minecraft:item/coal"}},coal_block:{model:{type:"minecraft:model",model:"minecraft:block/coal_block"}},coal_ore:{model:{type:"minecraft:model",model:"minecraft:block/coal_ore"}},coarse_dirt:{model:{type:"minecraft:model",model:"minecraft:block/coarse_dirt"}},coast_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/coast_armor_trim_smithing_template"}},cobbled_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate"}},cobbled_deepslate_slab:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate_slab"}},cobbled_deepslate_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate_stairs"}},cobbled_deepslate_wall:{model:{type:"minecraft:model",model:"minecraft:block/cobbled_deepslate_wall_inventory"}},cobblestone:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone"}},cobblestone_slab:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone_slab"}},cobblestone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone_stairs"}},cobblestone_wall:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone_wall_inventory"}},cobweb:{model:{type:"minecraft:model",model:"minecraft:item/cobweb"}},cocoa_beans:{model:{type:"minecraft:model",model:"minecraft:item/cocoa_beans"}},cod:{model:{type:"minecraft:model",model:"minecraft:item/cod"}},cod_bucket:{model:{type:"minecraft:model",model:"minecraft:item/cod_bucket"}},cod_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cod_spawn_egg"}},command_block:{model:{type:"minecraft:model",model:"minecraft:block/command_block"}},command_block_minecart:{model:{type:"minecraft:model",model:"minecraft:item/command_block_minecart"}},comparator:{model:{type:"minecraft:model",model:"minecraft:item/comparator"}},compass:{model:{type:"minecraft:condition",component:"minecraft:lodestone_tracker",on_false:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/compass_17"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_18"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_19"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_20"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_21"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_22"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_23"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_24"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_25"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_26"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_27"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_28"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_29"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_30"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_31"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_00"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_01"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_02"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_03"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_04"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_05"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_06"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_07"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_08"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_09"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_10"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_11"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_12"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_13"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_14"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_15"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:31.5}],property:"minecraft:compass",scale:32,target:"spawn"},on_true:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/compass_17"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_18"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_19"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_20"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_21"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_22"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_23"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_24"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_25"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_26"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_27"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_28"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_29"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_30"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_31"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_00"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_01"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_02"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_03"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_04"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_05"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_06"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_07"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_08"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_09"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_10"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_11"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_12"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_13"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_14"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_15"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/compass_16"},threshold:31.5}],property:"minecraft:compass",scale:32,target:"lodestone"},property:"minecraft:has_component"}},composter:{model:{type:"minecraft:model",model:"minecraft:block/composter"}},conduit:{model:{type:"minecraft:special",base:"minecraft:item/conduit",model:{type:"minecraft:conduit"}}},cooked_beef:{model:{type:"minecraft:model",model:"minecraft:item/cooked_beef"}},cooked_chicken:{model:{type:"minecraft:model",model:"minecraft:item/cooked_chicken"}},cooked_cod:{model:{type:"minecraft:model",model:"minecraft:item/cooked_cod"}},cooked_mutton:{model:{type:"minecraft:model",model:"minecraft:item/cooked_mutton"}},cooked_porkchop:{model:{type:"minecraft:model",model:"minecraft:item/cooked_porkchop"}},cooked_rabbit:{model:{type:"minecraft:model",model:"minecraft:item/cooked_rabbit"}},cooked_salmon:{model:{type:"minecraft:model",model:"minecraft:item/cooked_salmon"}},cookie:{model:{type:"minecraft:model",model:"minecraft:item/cookie"}},copper_block:{model:{type:"minecraft:model",model:"minecraft:block/copper_block"}},copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/copper_bulb"}},copper_door:{model:{type:"minecraft:model",model:"minecraft:item/copper_door"}},copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/copper_grate"}},copper_ingot:{model:{type:"minecraft:model",model:"minecraft:item/copper_ingot"}},copper_ore:{model:{type:"minecraft:model",model:"minecraft:block/copper_ore"}},copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/copper_trapdoor_bottom"}},cornflower:{model:{type:"minecraft:model",model:"minecraft:item/cornflower"}},cow_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/cow_spawn_egg"}},cracked_deepslate_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_deepslate_bricks"}},cracked_deepslate_tiles:{model:{type:"minecraft:model",model:"minecraft:block/cracked_deepslate_tiles"}},cracked_nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_nether_bricks"}},cracked_polished_blackstone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_polished_blackstone_bricks"}},cracked_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_stone_bricks"}},crafter:{model:{type:"minecraft:model",model:"minecraft:block/crafter"}},crafting_table:{model:{type:"minecraft:model",model:"minecraft:block/crafting_table"}},creaking_heart:{model:{type:"minecraft:model",model:"minecraft:block/creaking_heart"}},creaking_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/creaking_spawn_egg"}},creeper_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/creeper_banner_pattern"}},creeper_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"creeper"}}},creeper_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/creeper_spawn_egg"}},crimson_button:{model:{type:"minecraft:model",model:"minecraft:block/crimson_button_inventory"}},crimson_door:{model:{type:"minecraft:model",model:"minecraft:item/crimson_door"}},crimson_fence:{model:{type:"minecraft:model",model:"minecraft:block/crimson_fence_inventory"}},crimson_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/crimson_fence_gate"}},crimson_fungus:{model:{type:"minecraft:model",model:"minecraft:item/crimson_fungus"}},crimson_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/crimson_hanging_sign"}},crimson_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/crimson_hyphae"}},crimson_nylium:{model:{type:"minecraft:model",model:"minecraft:block/crimson_nylium"}},crimson_planks:{model:{type:"minecraft:model",model:"minecraft:block/crimson_planks"}},crimson_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/crimson_pressure_plate"}},crimson_roots:{model:{type:"minecraft:model",model:"minecraft:item/crimson_roots"}},crimson_sign:{model:{type:"minecraft:model",model:"minecraft:item/crimson_sign"}},crimson_slab:{model:{type:"minecraft:model",model:"minecraft:block/crimson_slab"}},crimson_stairs:{model:{type:"minecraft:model",model:"minecraft:block/crimson_stairs"}},crimson_stem:{model:{type:"minecraft:model",model:"minecraft:block/crimson_stem"}},crimson_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/crimson_trapdoor_bottom"}},crossbow:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/crossbow_arrow"},when:"arrow"},{model:{type:"minecraft:model",model:"minecraft:item/crossbow_firework"},when:"rocket"}],fallback:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/crossbow"},on_true:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/crossbow_pulling_1"},threshold:.58},{model:{type:"minecraft:model",model:"minecraft:item/crossbow_pulling_2"},threshold:1}],fallback:{type:"minecraft:model",model:"minecraft:item/crossbow_pulling_0"},property:"minecraft:crossbow/pull"},property:"minecraft:using_item"},property:"minecraft:charge_type"}},crying_obsidian:{model:{type:"minecraft:model",model:"minecraft:block/crying_obsidian"}},cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper"}},cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_slab"}},cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_stairs"}},cut_red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/cut_red_sandstone"}},cut_red_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_red_sandstone_slab"}},cut_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/cut_sandstone"}},cut_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_sandstone_slab"}},cyan_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"cyan"}}},cyan_bed:{model:{type:"minecraft:special",base:"minecraft:item/cyan_bed",model:{type:"minecraft:bed",texture:"minecraft:cyan"}}},cyan_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/cyan_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/cyan_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/cyan_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/cyan_bundle"},property:"minecraft:display_context"}},cyan_candle:{model:{type:"minecraft:model",model:"minecraft:item/cyan_candle"}},cyan_carpet:{model:{type:"minecraft:model",model:"minecraft:block/cyan_carpet"}},cyan_concrete:{model:{type:"minecraft:model",model:"minecraft:block/cyan_concrete"}},cyan_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/cyan_concrete_powder"}},cyan_dye:{model:{type:"minecraft:model",model:"minecraft:item/cyan_dye"}},cyan_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/cyan_glazed_terracotta"}},cyan_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/cyan_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_cyan"}}},cyan_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/cyan_stained_glass"}},cyan_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/cyan_stained_glass_pane"}},cyan_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/cyan_terracotta"}},cyan_wool:{model:{type:"minecraft:model",model:"minecraft:block/cyan_wool"}},damaged_anvil:{model:{type:"minecraft:model",model:"minecraft:block/damaged_anvil"}},dandelion:{model:{type:"minecraft:model",model:"minecraft:item/dandelion"}},danger_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/danger_pottery_sherd"}},dark_oak_boat:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_boat"}},dark_oak_button:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_button_inventory"}},dark_oak_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_chest_boat"}},dark_oak_door:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_door"}},dark_oak_fence:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_fence_inventory"}},dark_oak_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_fence_gate"}},dark_oak_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_hanging_sign"}},dark_oak_leaves:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},dark_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_log"}},dark_oak_planks:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_planks"}},dark_oak_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_pressure_plate"}},dark_oak_sapling:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_sapling"}},dark_oak_sign:{model:{type:"minecraft:model",model:"minecraft:item/dark_oak_sign"}},dark_oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_slab"}},dark_oak_stairs:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_stairs"}},dark_oak_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_trapdoor_bottom"}},dark_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_wood"}},dark_prismarine:{model:{type:"minecraft:model",model:"minecraft:block/dark_prismarine"}},dark_prismarine_slab:{model:{type:"minecraft:model",model:"minecraft:block/dark_prismarine_slab"}},dark_prismarine_stairs:{model:{type:"minecraft:model",model:"minecraft:block/dark_prismarine_stairs"}},daylight_detector:{model:{type:"minecraft:model",model:"minecraft:block/daylight_detector"}},dead_brain_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_brain_coral"}},dead_brain_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_brain_coral_block"}},dead_brain_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_brain_coral_fan"}},dead_bubble_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_bubble_coral"}},dead_bubble_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_bubble_coral_block"}},dead_bubble_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_bubble_coral_fan"}},dead_bush:{model:{type:"minecraft:model",model:"minecraft:item/dead_bush"}},dead_fire_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_fire_coral"}},dead_fire_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_fire_coral_block"}},dead_fire_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_fire_coral_fan"}},dead_horn_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_horn_coral"}},dead_horn_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_horn_coral_block"}},dead_horn_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_horn_coral_fan"}},dead_tube_coral:{model:{type:"minecraft:model",model:"minecraft:item/dead_tube_coral"}},dead_tube_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/dead_tube_coral_block"}},dead_tube_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/dead_tube_coral_fan"}},debug_stick:{model:{type:"minecraft:model",model:"minecraft:item/debug_stick"}},decorated_pot:{model:{type:"minecraft:special",base:"minecraft:item/decorated_pot",model:{type:"minecraft:decorated_pot"}}},deepslate:{model:{type:"minecraft:model",model:"minecraft:block/deepslate"}},deepslate_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_brick_slab"}},deepslate_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_brick_stairs"}},deepslate_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_brick_wall_inventory"}},deepslate_bricks:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_bricks"}},deepslate_coal_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_coal_ore"}},deepslate_copper_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_copper_ore"}},deepslate_diamond_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_diamond_ore"}},deepslate_emerald_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_emerald_ore"}},deepslate_gold_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_gold_ore"}},deepslate_iron_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_iron_ore"}},deepslate_lapis_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_lapis_ore"}},deepslate_redstone_ore:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_redstone_ore"}},deepslate_tile_slab:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tile_slab"}},deepslate_tile_stairs:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tile_stairs"}},deepslate_tile_wall:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tile_wall_inventory"}},deepslate_tiles:{model:{type:"minecraft:model",model:"minecraft:block/deepslate_tiles"}},detector_rail:{model:{type:"minecraft:model",model:"minecraft:item/detector_rail"}},diamond:{model:{type:"minecraft:model",model:"minecraft:item/diamond"}},diamond_axe:{model:{type:"minecraft:model",model:"minecraft:item/diamond_axe"}},diamond_block:{model:{type:"minecraft:model",model:"minecraft:block/diamond_block"}},diamond_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_boots"},property:"minecraft:trim_material"}},diamond_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_chestplate"},property:"minecraft:trim_material"}},diamond_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_helmet"},property:"minecraft:trim_material"}},diamond_hoe:{model:{type:"minecraft:model",model:"minecraft:item/diamond_hoe"}},diamond_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/diamond_horse_armor"}},diamond_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/diamond_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_leggings"},property:"minecraft:trim_material"}},diamond_ore:{model:{type:"minecraft:model",model:"minecraft:block/diamond_ore"}},diamond_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/diamond_pickaxe"}},diamond_shovel:{model:{type:"minecraft:model",model:"minecraft:item/diamond_shovel"}},diamond_sword:{model:{type:"minecraft:model",model:"minecraft:item/diamond_sword"}},diorite:{model:{type:"minecraft:model",model:"minecraft:block/diorite"}},diorite_slab:{model:{type:"minecraft:model",model:"minecraft:block/diorite_slab"}},diorite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/diorite_stairs"}},diorite_wall:{model:{type:"minecraft:model",model:"minecraft:block/diorite_wall_inventory"}},dirt:{model:{type:"minecraft:model",model:"minecraft:block/dirt"}},dirt_path:{model:{type:"minecraft:model",model:"minecraft:block/dirt_path"}},disc_fragment_5:{model:{type:"minecraft:model",model:"minecraft:item/disc_fragment_5"}},dispenser:{model:{type:"minecraft:model",model:"minecraft:block/dispenser"}},dolphin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/dolphin_spawn_egg"}},donkey_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/donkey_spawn_egg"}},dragon_breath:{model:{type:"minecraft:model",model:"minecraft:item/dragon_breath"}},dragon_egg:{model:{type:"minecraft:model",model:"minecraft:block/dragon_egg"}},dragon_head:{model:{type:"minecraft:special",base:"minecraft:item/dragon_head",model:{type:"minecraft:head",kind:"dragon"}}},dried_kelp:{model:{type:"minecraft:model",model:"minecraft:item/dried_kelp"}},dried_kelp_block:{model:{type:"minecraft:model",model:"minecraft:block/dried_kelp_block"}},dripstone_block:{model:{type:"minecraft:model",model:"minecraft:block/dripstone_block"}},dropper:{model:{type:"minecraft:model",model:"minecraft:block/dropper"}},drowned_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/drowned_spawn_egg"}},dune_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/dune_armor_trim_smithing_template"}},echo_shard:{model:{type:"minecraft:model",model:"minecraft:item/echo_shard"}},egg:{model:{type:"minecraft:model",model:"minecraft:item/egg"}},elder_guardian_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/elder_guardian_spawn_egg"}},elytra:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/elytra"},on_true:{type:"minecraft:model",model:"minecraft:item/elytra_broken"},property:"minecraft:broken"}},emerald:{model:{type:"minecraft:model",model:"minecraft:item/emerald"}},emerald_block:{model:{type:"minecraft:model",model:"minecraft:block/emerald_block"}},emerald_ore:{model:{type:"minecraft:model",model:"minecraft:block/emerald_ore"}},enchanted_book:{model:{type:"minecraft:model",model:"minecraft:item/enchanted_book"}},enchanted_golden_apple:{model:{type:"minecraft:model",model:"minecraft:item/enchanted_golden_apple"}},enchanting_table:{model:{type:"minecraft:model",model:"minecraft:block/enchanting_table"}},end_crystal:{model:{type:"minecraft:model",model:"minecraft:item/end_crystal"}},end_portal_frame:{model:{type:"minecraft:model",model:"minecraft:block/end_portal_frame"}},end_rod:{model:{type:"minecraft:model",model:"minecraft:block/end_rod"}},end_stone:{model:{type:"minecraft:model",model:"minecraft:block/end_stone"}},end_stone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_brick_slab"}},end_stone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_brick_stairs"}},end_stone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_brick_wall_inventory"}},end_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/end_stone_bricks"}},ender_chest:{model:{type:"minecraft:special",base:"minecraft:item/ender_chest",model:{type:"minecraft:chest",texture:"minecraft:ender"}}},ender_dragon_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ender_dragon_spawn_egg"}},ender_eye:{model:{type:"minecraft:model",model:"minecraft:item/ender_eye"}},ender_pearl:{model:{type:"minecraft:model",model:"minecraft:item/ender_pearl"}},enderman_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/enderman_spawn_egg"}},endermite_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/endermite_spawn_egg"}},evoker_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/evoker_spawn_egg"}},experience_bottle:{model:{type:"minecraft:model",model:"minecraft:item/experience_bottle"}},explorer_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/explorer_pottery_sherd"}},exposed_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_chiseled_copper"}},exposed_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper"}},exposed_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_bulb"}},exposed_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_door"}},exposed_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_grate"}},exposed_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_trapdoor_bottom"}},exposed_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper"}},exposed_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_slab"}},exposed_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_stairs"}},eye_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/eye_armor_trim_smithing_template"}},farmland:{model:{type:"minecraft:model",model:"minecraft:block/farmland"}},feather:{model:{type:"minecraft:model",model:"minecraft:item/feather"}},fermented_spider_eye:{model:{type:"minecraft:model",model:"minecraft:item/fermented_spider_eye"}},fern:{model:{type:"minecraft:model",model:"minecraft:item/fern",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},field_masoned_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/field_masoned_banner_pattern"}},filled_map:{model:{type:"minecraft:model",model:"minecraft:item/filled_map",tints:[{type:"minecraft:constant",value:-1},{type:"minecraft:map_color",default:4603950}]}},fire_charge:{model:{type:"minecraft:model",model:"minecraft:item/fire_charge"}},fire_coral:{model:{type:"minecraft:model",model:"minecraft:item/fire_coral"}},fire_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/fire_coral_block"}},fire_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/fire_coral_fan"}},firework_rocket:{model:{type:"minecraft:model",model:"minecraft:item/firework_rocket"}},firework_star:{model:{type:"minecraft:model",model:"minecraft:item/firework_star",tints:[{type:"minecraft:constant",value:-1},{type:"minecraft:firework",default:-7697782}]}},fishing_rod:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/fishing_rod"},on_true:{type:"minecraft:model",model:"minecraft:item/fishing_rod_cast"},property:"minecraft:fishing_rod/cast"}},fletching_table:{model:{type:"minecraft:model",model:"minecraft:block/fletching_table"}},flint:{model:{type:"minecraft:model",model:"minecraft:item/flint"}},flint_and_steel:{model:{type:"minecraft:model",model:"minecraft:item/flint_and_steel"}},flow_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/flow_armor_trim_smithing_template"}},flow_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/flow_banner_pattern"}},flow_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/flow_pottery_sherd"}},flower_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/flower_banner_pattern"}},flower_pot:{model:{type:"minecraft:model",model:"minecraft:item/flower_pot"}},flowering_azalea:{model:{type:"minecraft:model",model:"minecraft:block/flowering_azalea"}},flowering_azalea_leaves:{model:{type:"minecraft:model",model:"minecraft:block/flowering_azalea_leaves"}},fox_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/fox_spawn_egg"}},friend_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/friend_pottery_sherd"}},frog_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/frog_spawn_egg"}},frogspawn:{model:{type:"minecraft:model",model:"minecraft:item/frogspawn"}},furnace:{model:{type:"minecraft:model",model:"minecraft:block/furnace"}},furnace_minecart:{model:{type:"minecraft:model",model:"minecraft:item/furnace_minecart"}},ghast_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ghast_spawn_egg"}},ghast_tear:{model:{type:"minecraft:model",model:"minecraft:item/ghast_tear"}},gilded_blackstone:{model:{type:"minecraft:model",model:"minecraft:block/gilded_blackstone"}},glass:{model:{type:"minecraft:model",model:"minecraft:block/glass"}},glass_bottle:{model:{type:"minecraft:model",model:"minecraft:item/glass_bottle"}},glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/glass_pane"}},glistering_melon_slice:{model:{type:"minecraft:model",model:"minecraft:item/glistering_melon_slice"}},globe_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/globe_banner_pattern"}},glow_berries:{model:{type:"minecraft:model",model:"minecraft:item/glow_berries"}},glow_ink_sac:{model:{type:"minecraft:model",model:"minecraft:item/glow_ink_sac"}},glow_item_frame:{model:{type:"minecraft:model",model:"minecraft:item/glow_item_frame"}},glow_lichen:{model:{type:"minecraft:model",model:"minecraft:item/glow_lichen"}},glow_squid_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/glow_squid_spawn_egg"}},glowstone:{model:{type:"minecraft:model",model:"minecraft:block/glowstone"}},glowstone_dust:{model:{type:"minecraft:model",model:"minecraft:item/glowstone_dust"}},goat_horn:{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/goat_horn"},on_true:{type:"minecraft:model",model:"minecraft:item/tooting_goat_horn"},property:"minecraft:using_item"}},goat_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/goat_spawn_egg"}},gold_block:{model:{type:"minecraft:model",model:"minecraft:block/gold_block"}},gold_ingot:{model:{type:"minecraft:model",model:"minecraft:item/gold_ingot"}},gold_nugget:{model:{type:"minecraft:model",model:"minecraft:item/gold_nugget"}},gold_ore:{model:{type:"minecraft:model",model:"minecraft:block/gold_ore"}},golden_apple:{model:{type:"minecraft:model",model:"minecraft:item/golden_apple"}},golden_axe:{model:{type:"minecraft:model",model:"minecraft:item/golden_axe"}},golden_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_boots"},property:"minecraft:trim_material"}},golden_carrot:{model:{type:"minecraft:model",model:"minecraft:item/golden_carrot"}},golden_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_chestplate"},property:"minecraft:trim_material"}},golden_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_helmet"},property:"minecraft:trim_material"}},golden_hoe:{model:{type:"minecraft:model",model:"minecraft:item/golden_hoe"}},golden_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/golden_horse_armor"}},golden_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/golden_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_leggings"},property:"minecraft:trim_material"}},golden_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/golden_pickaxe"}},golden_shovel:{model:{type:"minecraft:model",model:"minecraft:item/golden_shovel"}},golden_sword:{model:{type:"minecraft:model",model:"minecraft:item/golden_sword"}},granite:{model:{type:"minecraft:model",model:"minecraft:block/granite"}},granite_slab:{model:{type:"minecraft:model",model:"minecraft:block/granite_slab"}},granite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/granite_stairs"}},granite_wall:{model:{type:"minecraft:model",model:"minecraft:block/granite_wall_inventory"}},grass_block:{model:{type:"minecraft:model",model:"minecraft:block/grass_block",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},gravel:{model:{type:"minecraft:model",model:"minecraft:block/gravel"}},gray_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"gray"}}},gray_bed:{model:{type:"minecraft:special",base:"minecraft:item/gray_bed",model:{type:"minecraft:bed",texture:"minecraft:gray"}}},gray_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/gray_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/gray_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/gray_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/gray_bundle"},property:"minecraft:display_context"}},gray_candle:{model:{type:"minecraft:model",model:"minecraft:item/gray_candle"}},gray_carpet:{model:{type:"minecraft:model",model:"minecraft:block/gray_carpet"}},gray_concrete:{model:{type:"minecraft:model",model:"minecraft:block/gray_concrete"}},gray_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/gray_concrete_powder"}},gray_dye:{model:{type:"minecraft:model",model:"minecraft:item/gray_dye"}},gray_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/gray_glazed_terracotta"}},gray_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/gray_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_gray"}}},gray_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/gray_stained_glass"}},gray_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/gray_stained_glass_pane"}},gray_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/gray_terracotta"}},gray_wool:{model:{type:"minecraft:model",model:"minecraft:block/gray_wool"}},green_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"green"}}},green_bed:{model:{type:"minecraft:special",base:"minecraft:item/green_bed",model:{type:"minecraft:bed",texture:"minecraft:green"}}},green_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/green_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/green_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/green_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/green_bundle"},property:"minecraft:display_context"}},green_candle:{model:{type:"minecraft:model",model:"minecraft:item/green_candle"}},green_carpet:{model:{type:"minecraft:model",model:"minecraft:block/green_carpet"}},green_concrete:{model:{type:"minecraft:model",model:"minecraft:block/green_concrete"}},green_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/green_concrete_powder"}},green_dye:{model:{type:"minecraft:model",model:"minecraft:item/green_dye"}},green_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/green_glazed_terracotta"}},green_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/green_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_green"}}},green_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/green_stained_glass"}},green_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/green_stained_glass_pane"}},green_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/green_terracotta"}},green_wool:{model:{type:"minecraft:model",model:"minecraft:block/green_wool"}},grindstone:{model:{type:"minecraft:model",model:"minecraft:block/grindstone"}},guardian_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/guardian_spawn_egg"}},gunpowder:{model:{type:"minecraft:model",model:"minecraft:item/gunpowder"}},guster_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/guster_banner_pattern"}},guster_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/guster_pottery_sherd"}},hanging_roots:{model:{type:"minecraft:model",model:"minecraft:item/hanging_roots"}},hay_block:{model:{type:"minecraft:model",model:"minecraft:block/hay_block"}},heart_of_the_sea:{model:{type:"minecraft:model",model:"minecraft:item/heart_of_the_sea"}},heart_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/heart_pottery_sherd"}},heartbreak_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/heartbreak_pottery_sherd"}},heavy_core:{model:{type:"minecraft:model",model:"minecraft:block/heavy_core"}},heavy_weighted_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/heavy_weighted_pressure_plate"}},hoglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/hoglin_spawn_egg"}},honey_block:{model:{type:"minecraft:model",model:"minecraft:block/honey_block"}},honey_bottle:{model:{type:"minecraft:model",model:"minecraft:item/honey_bottle"}},honeycomb:{model:{type:"minecraft:model",model:"minecraft:item/honeycomb"}},honeycomb_block:{model:{type:"minecraft:model",model:"minecraft:block/honeycomb_block"}},hopper:{model:{type:"minecraft:model",model:"minecraft:item/hopper"}},hopper_minecart:{model:{type:"minecraft:model",model:"minecraft:item/hopper_minecart"}},horn_coral:{model:{type:"minecraft:model",model:"minecraft:item/horn_coral"}},horn_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/horn_coral_block"}},horn_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/horn_coral_fan"}},horse_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/horse_spawn_egg"}},host_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/host_armor_trim_smithing_template"}},howl_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/howl_pottery_sherd"}},husk_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/husk_spawn_egg"}},ice:{model:{type:"minecraft:model",model:"minecraft:block/ice"}},infested_chiseled_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_stone_bricks"}},infested_cobblestone:{model:{type:"minecraft:model",model:"minecraft:block/cobblestone"}},infested_cracked_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/cracked_stone_bricks"}},infested_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/deepslate"}},infested_mossy_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_bricks"}},infested_stone:{model:{type:"minecraft:model",model:"minecraft:block/stone"}},infested_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/stone_bricks"}},ink_sac:{model:{type:"minecraft:model",model:"minecraft:item/ink_sac"}},iron_axe:{model:{type:"minecraft:model",model:"minecraft:item/iron_axe"}},iron_bars:{model:{type:"minecraft:model",model:"minecraft:item/iron_bars"}},iron_block:{model:{type:"minecraft:model",model:"minecraft:block/iron_block"}},iron_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_boots"},property:"minecraft:trim_material"}},iron_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_chestplate"},property:"minecraft:trim_material"}},iron_door:{model:{type:"minecraft:model",model:"minecraft:item/iron_door"}},iron_golem_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/iron_golem_spawn_egg"}},iron_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_helmet"},property:"minecraft:trim_material"}},iron_hoe:{model:{type:"minecraft:model",model:"minecraft:item/iron_hoe"}},iron_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/iron_horse_armor"}},iron_ingot:{model:{type:"minecraft:model",model:"minecraft:item/iron_ingot"}},iron_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/iron_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_leggings"},property:"minecraft:trim_material"}},iron_nugget:{model:{type:"minecraft:model",model:"minecraft:item/iron_nugget"}},iron_ore:{model:{type:"minecraft:model",model:"minecraft:block/iron_ore"}},iron_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/iron_pickaxe"}},iron_shovel:{model:{type:"minecraft:model",model:"minecraft:item/iron_shovel"}},iron_sword:{model:{type:"minecraft:model",model:"minecraft:item/iron_sword"}},iron_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/iron_trapdoor_bottom"}},item_frame:{model:{type:"minecraft:model",model:"minecraft:item/item_frame"}},jack_o_lantern:{model:{type:"minecraft:model",model:"minecraft:block/jack_o_lantern"}},jigsaw:{model:{type:"minecraft:model",model:"minecraft:block/jigsaw"}},jukebox:{model:{type:"minecraft:model",model:"minecraft:block/jukebox"}},jungle_boat:{model:{type:"minecraft:model",model:"minecraft:item/jungle_boat"}},jungle_button:{model:{type:"minecraft:model",model:"minecraft:block/jungle_button_inventory"}},jungle_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/jungle_chest_boat"}},jungle_door:{model:{type:"minecraft:model",model:"minecraft:item/jungle_door"}},jungle_fence:{model:{type:"minecraft:model",model:"minecraft:block/jungle_fence_inventory"}},jungle_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/jungle_fence_gate"}},jungle_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/jungle_hanging_sign"}},jungle_leaves:{model:{type:"minecraft:model",model:"minecraft:block/jungle_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},jungle_log:{model:{type:"minecraft:model",model:"minecraft:block/jungle_log"}},jungle_planks:{model:{type:"minecraft:model",model:"minecraft:block/jungle_planks"}},jungle_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/jungle_pressure_plate"}},jungle_sapling:{model:{type:"minecraft:model",model:"minecraft:item/jungle_sapling"}},jungle_sign:{model:{type:"minecraft:model",model:"minecraft:item/jungle_sign"}},jungle_slab:{model:{type:"minecraft:model",model:"minecraft:block/jungle_slab"}},jungle_stairs:{model:{type:"minecraft:model",model:"minecraft:block/jungle_stairs"}},jungle_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/jungle_trapdoor_bottom"}},jungle_wood:{model:{type:"minecraft:model",model:"minecraft:block/jungle_wood"}},kelp:{model:{type:"minecraft:model",model:"minecraft:item/kelp"}},knowledge_book:{model:{type:"minecraft:model",model:"minecraft:item/knowledge_book"}},ladder:{model:{type:"minecraft:model",model:"minecraft:item/ladder"}},lantern:{model:{type:"minecraft:model",model:"minecraft:item/lantern"}},lapis_block:{model:{type:"minecraft:model",model:"minecraft:block/lapis_block"}},lapis_lazuli:{model:{type:"minecraft:model",model:"minecraft:item/lapis_lazuli"}},lapis_ore:{model:{type:"minecraft:model",model:"minecraft:block/lapis_ore"}},large_amethyst_bud:{model:{type:"minecraft:model",model:"minecraft:item/large_amethyst_bud"}},large_fern:{model:{type:"minecraft:model",model:"minecraft:item/large_fern",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},lava_bucket:{model:{type:"minecraft:model",model:"minecraft:item/lava_bucket"}},lead:{model:{type:"minecraft:model",model:"minecraft:item/lead"}},leather:{model:{type:"minecraft:model",model:"minecraft:item/leather"}},leather_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_boots_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_boots",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},leather_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_chestplate_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_chestplate",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},leather_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_helmet_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_helmet",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},leather_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/leather_horse_armor",tints:[{type:"minecraft:dye",default:-6265536}]}},leather_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_quartz_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_iron_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_netherite_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_redstone_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_copper_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_gold_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_emerald_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_diamond_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_lapis_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_amethyst_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/leather_leggings_resin_trim",tints:[{type:"minecraft:dye",default:-6265536}]},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/leather_leggings",tints:[{type:"minecraft:dye",default:-6265536}]},property:"minecraft:trim_material"}},lectern:{model:{type:"minecraft:model",model:"minecraft:block/lectern"}},lever:{model:{type:"minecraft:model",model:"minecraft:item/lever"}},light:{model:{type:"minecraft:select",block_state_property:"level",cases:[{model:{type:"minecraft:model",model:"minecraft:item/light_00"},when:"0"},{model:{type:"minecraft:model",model:"minecraft:item/light_01"},when:"1"},{model:{type:"minecraft:model",model:"minecraft:item/light_02"},when:"2"},{model:{type:"minecraft:model",model:"minecraft:item/light_03"},when:"3"},{model:{type:"minecraft:model",model:"minecraft:item/light_04"},when:"4"},{model:{type:"minecraft:model",model:"minecraft:item/light_05"},when:"5"},{model:{type:"minecraft:model",model:"minecraft:item/light_06"},when:"6"},{model:{type:"minecraft:model",model:"minecraft:item/light_07"},when:"7"},{model:{type:"minecraft:model",model:"minecraft:item/light_08"},when:"8"},{model:{type:"minecraft:model",model:"minecraft:item/light_09"},when:"9"},{model:{type:"minecraft:model",model:"minecraft:item/light_10"},when:"10"},{model:{type:"minecraft:model",model:"minecraft:item/light_11"},when:"11"},{model:{type:"minecraft:model",model:"minecraft:item/light_12"},when:"12"},{model:{type:"minecraft:model",model:"minecraft:item/light_13"},when:"13"},{model:{type:"minecraft:model",model:"minecraft:item/light_14"},when:"14"},{model:{type:"minecraft:model",model:"minecraft:item/light_15"},when:"15"}],fallback:{type:"minecraft:model",model:"minecraft:item/light"},property:"minecraft:block_state"}},light_blue_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"light_blue"}}},light_blue_bed:{model:{type:"minecraft:special",base:"minecraft:item/light_blue_bed",model:{type:"minecraft:bed",texture:"minecraft:light_blue"}}},light_blue_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/light_blue_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/light_blue_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/light_blue_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/light_blue_bundle"},property:"minecraft:display_context"}},light_blue_candle:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_candle"}},light_blue_carpet:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_carpet"}},light_blue_concrete:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_concrete"}},light_blue_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_concrete_powder"}},light_blue_dye:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_dye"}},light_blue_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_glazed_terracotta"}},light_blue_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/light_blue_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_light_blue"}}},light_blue_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_stained_glass"}},light_blue_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_stained_glass_pane"}},light_blue_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_terracotta"}},light_blue_wool:{model:{type:"minecraft:model",model:"minecraft:block/light_blue_wool"}},light_gray_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"light_gray"}}},light_gray_bed:{model:{type:"minecraft:special",base:"minecraft:item/light_gray_bed",model:{type:"minecraft:bed",texture:"minecraft:light_gray"}}},light_gray_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/light_gray_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/light_gray_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/light_gray_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/light_gray_bundle"},property:"minecraft:display_context"}},light_gray_candle:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_candle"}},light_gray_carpet:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_carpet"}},light_gray_concrete:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_concrete"}},light_gray_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_concrete_powder"}},light_gray_dye:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_dye"}},light_gray_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_glazed_terracotta"}},light_gray_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/light_gray_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_light_gray"}}},light_gray_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_stained_glass"}},light_gray_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_stained_glass_pane"}},light_gray_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_terracotta"}},light_gray_wool:{model:{type:"minecraft:model",model:"minecraft:block/light_gray_wool"}},light_weighted_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/light_weighted_pressure_plate"}},lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/lightning_rod"}},lilac:{model:{type:"minecraft:model",model:"minecraft:item/lilac"}},lily_of_the_valley:{model:{type:"minecraft:model",model:"minecraft:item/lily_of_the_valley"}},lily_pad:{model:{type:"minecraft:model",model:"minecraft:item/lily_pad",tints:[{type:"minecraft:constant",value:-9321636}]}},lime_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"lime"}}},lime_bed:{model:{type:"minecraft:special",base:"minecraft:item/lime_bed",model:{type:"minecraft:bed",texture:"minecraft:lime"}}},lime_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/lime_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/lime_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/lime_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/lime_bundle"},property:"minecraft:display_context"}},lime_candle:{model:{type:"minecraft:model",model:"minecraft:item/lime_candle"}},lime_carpet:{model:{type:"minecraft:model",model:"minecraft:block/lime_carpet"}},lime_concrete:{model:{type:"minecraft:model",model:"minecraft:block/lime_concrete"}},lime_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/lime_concrete_powder"}},lime_dye:{model:{type:"minecraft:model",model:"minecraft:item/lime_dye"}},lime_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/lime_glazed_terracotta"}},lime_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/lime_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_lime"}}},lime_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/lime_stained_glass"}},lime_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/lime_stained_glass_pane"}},lime_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/lime_terracotta"}},lime_wool:{model:{type:"minecraft:model",model:"minecraft:block/lime_wool"}},lingering_potion:{model:{type:"minecraft:model",model:"minecraft:item/lingering_potion",tints:[{type:"minecraft:potion",default:-13083194}]}},llama_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/llama_spawn_egg"}},lodestone:{model:{type:"minecraft:model",model:"minecraft:block/lodestone"}},loom:{model:{type:"minecraft:model",model:"minecraft:block/loom"}},mace:{model:{type:"minecraft:model",model:"minecraft:item/mace"}},magenta_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"magenta"}}},magenta_bed:{model:{type:"minecraft:special",base:"minecraft:item/magenta_bed",model:{type:"minecraft:bed",texture:"minecraft:magenta"}}},magenta_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/magenta_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/magenta_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/magenta_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/magenta_bundle"},property:"minecraft:display_context"}},magenta_candle:{model:{type:"minecraft:model",model:"minecraft:item/magenta_candle"}},magenta_carpet:{model:{type:"minecraft:model",model:"minecraft:block/magenta_carpet"}},magenta_concrete:{model:{type:"minecraft:model",model:"minecraft:block/magenta_concrete"}},magenta_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/magenta_concrete_powder"}},magenta_dye:{model:{type:"minecraft:model",model:"minecraft:item/magenta_dye"}},magenta_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/magenta_glazed_terracotta"}},magenta_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/magenta_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_magenta"}}},magenta_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/magenta_stained_glass"}},magenta_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/magenta_stained_glass_pane"}},magenta_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/magenta_terracotta"}},magenta_wool:{model:{type:"minecraft:model",model:"minecraft:block/magenta_wool"}},magma_block:{model:{type:"minecraft:model",model:"minecraft:block/magma_block"}},magma_cream:{model:{type:"minecraft:model",model:"minecraft:item/magma_cream"}},magma_cube_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/magma_cube_spawn_egg"}},mangrove_boat:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_boat"}},mangrove_button:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_button_inventory"}},mangrove_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_chest_boat"}},mangrove_door:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_door"}},mangrove_fence:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_fence_inventory"}},mangrove_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_fence_gate"}},mangrove_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_hanging_sign"}},mangrove_leaves:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_leaves",tints:[{type:"minecraft:constant",value:-7158200}]}},mangrove_log:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_log"}},mangrove_planks:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_planks"}},mangrove_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_pressure_plate"}},mangrove_propagule:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_propagule"}},mangrove_roots:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_roots"}},mangrove_sign:{model:{type:"minecraft:model",model:"minecraft:item/mangrove_sign"}},mangrove_slab:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_slab"}},mangrove_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_stairs"}},mangrove_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_trapdoor_bottom"}},mangrove_wood:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_wood"}},map:{model:{type:"minecraft:model",model:"minecraft:item/map"}},medium_amethyst_bud:{model:{type:"minecraft:model",model:"minecraft:item/medium_amethyst_bud"}},melon:{model:{type:"minecraft:model",model:"minecraft:block/melon"}},melon_seeds:{model:{type:"minecraft:model",model:"minecraft:item/melon_seeds"}},melon_slice:{model:{type:"minecraft:model",model:"minecraft:item/melon_slice"}},milk_bucket:{model:{type:"minecraft:model",model:"minecraft:item/milk_bucket"}},minecart:{model:{type:"minecraft:model",model:"minecraft:item/minecart"}},miner_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/miner_pottery_sherd"}},mojang_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/mojang_banner_pattern"}},mooshroom_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/mooshroom_spawn_egg"}},moss_block:{model:{type:"minecraft:model",model:"minecraft:block/moss_block"}},moss_carpet:{model:{type:"minecraft:model",model:"minecraft:block/moss_carpet"}},mossy_cobblestone:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone"}},mossy_cobblestone_slab:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone_slab"}},mossy_cobblestone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone_stairs"}},mossy_cobblestone_wall:{model:{type:"minecraft:model",model:"minecraft:block/mossy_cobblestone_wall_inventory"}},mossy_stone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_brick_slab"}},mossy_stone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_brick_stairs"}},mossy_stone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_brick_wall_inventory"}},mossy_stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/mossy_stone_bricks"}},mourner_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/mourner_pottery_sherd"}},mud:{model:{type:"minecraft:model",model:"minecraft:block/mud"}},mud_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/mud_brick_slab"}},mud_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/mud_brick_stairs"}},mud_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/mud_brick_wall_inventory"}},mud_bricks:{model:{type:"minecraft:model",model:"minecraft:block/mud_bricks"}},muddy_mangrove_roots:{model:{type:"minecraft:model",model:"minecraft:block/muddy_mangrove_roots"}},mule_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/mule_spawn_egg"}},mushroom_stem:{model:{type:"minecraft:model",model:"minecraft:block/mushroom_stem_inventory"}},mushroom_stew:{model:{type:"minecraft:model",model:"minecraft:item/mushroom_stew"}},music_disc_11:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_11"}},music_disc_13:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_13"}},music_disc_5:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_5"}},music_disc_blocks:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_blocks"}},music_disc_cat:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_cat"}},music_disc_chirp:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_chirp"}},music_disc_creator:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_creator"}},music_disc_creator_music_box:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_creator_music_box"}},music_disc_far:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_far"}},music_disc_mall:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_mall"}},music_disc_mellohi:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_mellohi"}},music_disc_otherside:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_otherside"}},music_disc_pigstep:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_pigstep"}},music_disc_precipice:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_precipice"}},music_disc_relic:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_relic"}},music_disc_stal:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_stal"}},music_disc_strad:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_strad"}},music_disc_wait:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_wait"}},music_disc_ward:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_ward"}},mutton:{model:{type:"minecraft:model",model:"minecraft:item/mutton"}},mycelium:{model:{type:"minecraft:model",model:"minecraft:block/mycelium"}},name_tag:{model:{type:"minecraft:model",model:"minecraft:item/name_tag"}},nautilus_shell:{model:{type:"minecraft:model",model:"minecraft:item/nautilus_shell"}},nether_brick:{model:{type:"minecraft:model",model:"minecraft:item/nether_brick"}},nether_brick_fence:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_fence_inventory"}},nether_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_slab"}},nether_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_stairs"}},nether_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/nether_brick_wall_inventory"}},nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/nether_bricks"}},nether_gold_ore:{model:{type:"minecraft:model",model:"minecraft:block/nether_gold_ore"}},nether_quartz_ore:{model:{type:"minecraft:model",model:"minecraft:block/nether_quartz_ore"}},nether_sprouts:{model:{type:"minecraft:model",model:"minecraft:item/nether_sprouts"}},nether_star:{model:{type:"minecraft:model",model:"minecraft:item/nether_star"}},nether_wart:{model:{type:"minecraft:model",model:"minecraft:item/nether_wart"}},nether_wart_block:{model:{type:"minecraft:model",model:"minecraft:block/nether_wart_block"}},netherite_axe:{model:{type:"minecraft:model",model:"minecraft:item/netherite_axe"}},netherite_block:{model:{type:"minecraft:model",model:"minecraft:block/netherite_block"}},netherite_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_boots"},property:"minecraft:trim_material"}},netherite_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_chestplate"},property:"minecraft:trim_material"}},netherite_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_helmet"},property:"minecraft:trim_material"}},netherite_hoe:{model:{type:"minecraft:model",model:"minecraft:item/netherite_hoe"}},netherite_ingot:{model:{type:"minecraft:model",model:"minecraft:item/netherite_ingot"}},netherite_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/netherite_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_leggings"},property:"minecraft:trim_material"}},netherite_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/netherite_pickaxe"}},netherite_scrap:{model:{type:"minecraft:model",model:"minecraft:item/netherite_scrap"}},netherite_shovel:{model:{type:"minecraft:model",model:"minecraft:item/netherite_shovel"}},netherite_sword:{model:{type:"minecraft:model",model:"minecraft:item/netherite_sword"}},netherite_upgrade_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/netherite_upgrade_smithing_template"}},netherrack:{model:{type:"minecraft:model",model:"minecraft:block/netherrack"}},note_block:{model:{type:"minecraft:model",model:"minecraft:block/note_block"}},oak_boat:{model:{type:"minecraft:model",model:"minecraft:item/oak_boat"}},oak_button:{model:{type:"minecraft:model",model:"minecraft:block/oak_button_inventory"}},oak_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/oak_chest_boat"}},oak_door:{model:{type:"minecraft:model",model:"minecraft:item/oak_door"}},oak_fence:{model:{type:"minecraft:model",model:"minecraft:block/oak_fence_inventory"}},oak_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/oak_fence_gate"}},oak_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/oak_hanging_sign"}},oak_leaves:{model:{type:"minecraft:model",model:"minecraft:block/oak_leaves",tints:[{type:"minecraft:constant",value:-12012264}]}},oak_log:{model:{type:"minecraft:model",model:"minecraft:block/oak_log"}},oak_planks:{model:{type:"minecraft:model",model:"minecraft:block/oak_planks"}},oak_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/oak_pressure_plate"}},oak_sapling:{model:{type:"minecraft:model",model:"minecraft:item/oak_sapling"}},oak_sign:{model:{type:"minecraft:model",model:"minecraft:item/oak_sign"}},oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/oak_slab"}},oak_stairs:{model:{type:"minecraft:model",model:"minecraft:block/oak_stairs"}},oak_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/oak_trapdoor_bottom"}},oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/oak_wood"}},observer:{model:{type:"minecraft:model",model:"minecraft:block/observer"}},obsidian:{model:{type:"minecraft:model",model:"minecraft:block/obsidian"}},ocelot_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ocelot_spawn_egg"}},ochre_froglight:{model:{type:"minecraft:model",model:"minecraft:block/ochre_froglight"}},ominous_bottle:{model:{type:"minecraft:model",model:"minecraft:item/ominous_bottle"}},ominous_trial_key:{model:{type:"minecraft:model",model:"minecraft:item/ominous_trial_key"}},open_eyeblossom:{model:{type:"minecraft:model",model:"minecraft:item/open_eyeblossom"}},orange_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"orange"}}},orange_bed:{model:{type:"minecraft:special",base:"minecraft:item/orange_bed",model:{type:"minecraft:bed",texture:"minecraft:orange"}}},orange_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/orange_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/orange_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/orange_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/orange_bundle"},property:"minecraft:display_context"}},orange_candle:{model:{type:"minecraft:model",model:"minecraft:item/orange_candle"}},orange_carpet:{model:{type:"minecraft:model",model:"minecraft:block/orange_carpet"}},orange_concrete:{model:{type:"minecraft:model",model:"minecraft:block/orange_concrete"}},orange_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/orange_concrete_powder"}},orange_dye:{model:{type:"minecraft:model",model:"minecraft:item/orange_dye"}},orange_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/orange_glazed_terracotta"}},orange_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/orange_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_orange"}}},orange_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/orange_stained_glass"}},orange_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/orange_stained_glass_pane"}},orange_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/orange_terracotta"}},orange_tulip:{model:{type:"minecraft:model",model:"minecraft:item/orange_tulip"}},orange_wool:{model:{type:"minecraft:model",model:"minecraft:block/orange_wool"}},oxeye_daisy:{model:{type:"minecraft:model",model:"minecraft:item/oxeye_daisy"}},oxidized_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_chiseled_copper"}},oxidized_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper"}},oxidized_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_bulb"}},oxidized_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_door"}},oxidized_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_grate"}},oxidized_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_trapdoor_bottom"}},oxidized_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper"}},oxidized_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_slab"}},oxidized_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_stairs"}},packed_ice:{model:{type:"minecraft:model",model:"minecraft:block/packed_ice"}},packed_mud:{model:{type:"minecraft:model",model:"minecraft:block/packed_mud"}},painting:{model:{type:"minecraft:model",model:"minecraft:item/painting"}},pale_hanging_moss:{model:{type:"minecraft:model",model:"minecraft:item/pale_hanging_moss"}},pale_moss_block:{model:{type:"minecraft:model",model:"minecraft:block/pale_moss_block"}},pale_moss_carpet:{model:{type:"minecraft:model",model:"minecraft:block/pale_moss_carpet"}},pale_oak_boat:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_boat"}},pale_oak_button:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_button_inventory"}},pale_oak_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_chest_boat"}},pale_oak_door:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_door"}},pale_oak_fence:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_fence_inventory"}},pale_oak_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_fence_gate"}},pale_oak_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_hanging_sign"}},pale_oak_leaves:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_leaves"}},pale_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_log"}},pale_oak_planks:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_planks"}},pale_oak_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_pressure_plate"}},pale_oak_sapling:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_sapling"}},pale_oak_sign:{model:{type:"minecraft:model",model:"minecraft:item/pale_oak_sign"}},pale_oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_slab"}},pale_oak_stairs:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_stairs"}},pale_oak_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_trapdoor_bottom"}},pale_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_wood"}},panda_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/panda_spawn_egg"}},paper:{model:{type:"minecraft:model",model:"minecraft:item/paper"}},parrot_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/parrot_spawn_egg"}},pearlescent_froglight:{model:{type:"minecraft:model",model:"minecraft:block/pearlescent_froglight"}},peony:{model:{type:"minecraft:model",model:"minecraft:item/peony"}},petrified_oak_slab:{model:{type:"minecraft:model",model:"minecraft:block/petrified_oak_slab"}},phantom_membrane:{model:{type:"minecraft:model",model:"minecraft:item/phantom_membrane"}},phantom_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/phantom_spawn_egg"}},pig_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/pig_spawn_egg"}},piglin_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/piglin_banner_pattern"}},piglin_brute_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/piglin_brute_spawn_egg"}},piglin_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"piglin"}}},piglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/piglin_spawn_egg"}},pillager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/pillager_spawn_egg"}},pink_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"pink"}}},pink_bed:{model:{type:"minecraft:special",base:"minecraft:item/pink_bed",model:{type:"minecraft:bed",texture:"minecraft:pink"}}},pink_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/pink_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/pink_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/pink_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/pink_bundle"},property:"minecraft:display_context"}},pink_candle:{model:{type:"minecraft:model",model:"minecraft:item/pink_candle"}},pink_carpet:{model:{type:"minecraft:model",model:"minecraft:block/pink_carpet"}},pink_concrete:{model:{type:"minecraft:model",model:"minecraft:block/pink_concrete"}},pink_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/pink_concrete_powder"}},pink_dye:{model:{type:"minecraft:model",model:"minecraft:item/pink_dye"}},pink_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/pink_glazed_terracotta"}},pink_petals:{model:{type:"minecraft:model",model:"minecraft:item/pink_petals"}},pink_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/pink_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_pink"}}},pink_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/pink_stained_glass"}},pink_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/pink_stained_glass_pane"}},pink_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/pink_terracotta"}},pink_tulip:{model:{type:"minecraft:model",model:"minecraft:item/pink_tulip"}},pink_wool:{model:{type:"minecraft:model",model:"minecraft:block/pink_wool"}},piston:{model:{type:"minecraft:model",model:"minecraft:block/piston_inventory"}},pitcher_plant:{model:{type:"minecraft:model",model:"minecraft:item/pitcher_plant"}},pitcher_pod:{model:{type:"minecraft:model",model:"minecraft:item/pitcher_pod"}},player_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:player_head"}}},plenty_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/plenty_pottery_sherd"}},podzol:{model:{type:"minecraft:model",model:"minecraft:block/podzol"}},pointed_dripstone:{model:{type:"minecraft:model",model:"minecraft:item/pointed_dripstone"}},poisonous_potato:{model:{type:"minecraft:model",model:"minecraft:item/poisonous_potato"}},polar_bear_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/polar_bear_spawn_egg"}},polished_andesite:{model:{type:"minecraft:model",model:"minecraft:block/polished_andesite"}},polished_andesite_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_andesite_slab"}},polished_andesite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_andesite_stairs"}},polished_basalt:{model:{type:"minecraft:model",model:"minecraft:block/polished_basalt"}},polished_blackstone:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone"}},polished_blackstone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_brick_slab"}},polished_blackstone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_brick_stairs"}},polished_blackstone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_brick_wall_inventory"}},polished_blackstone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_bricks"}},polished_blackstone_button:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_button_inventory"}},polished_blackstone_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_pressure_plate"}},polished_blackstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_slab"}},polished_blackstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_stairs"}},polished_blackstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_blackstone_wall_inventory"}},polished_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate"}},polished_deepslate_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate_slab"}},polished_deepslate_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate_stairs"}},polished_deepslate_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_deepslate_wall_inventory"}},polished_diorite:{model:{type:"minecraft:model",model:"minecraft:block/polished_diorite"}},polished_diorite_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_diorite_slab"}},polished_diorite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_diorite_stairs"}},polished_granite:{model:{type:"minecraft:model",model:"minecraft:block/polished_granite"}},polished_granite_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_granite_slab"}},polished_granite_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_granite_stairs"}},polished_tuff:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff"}},polished_tuff_slab:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff_slab"}},polished_tuff_stairs:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff_stairs"}},polished_tuff_wall:{model:{type:"minecraft:model",model:"minecraft:block/polished_tuff_wall_inventory"}},popped_chorus_fruit:{model:{type:"minecraft:model",model:"minecraft:item/popped_chorus_fruit"}},poppy:{model:{type:"minecraft:model",model:"minecraft:item/poppy"}},porkchop:{model:{type:"minecraft:model",model:"minecraft:item/porkchop"}},potato:{model:{type:"minecraft:model",model:"minecraft:item/potato"}},potion:{model:{type:"minecraft:model",model:"minecraft:item/potion",tints:[{type:"minecraft:potion",default:-13083194}]}},powder_snow_bucket:{model:{type:"minecraft:model",model:"minecraft:item/powder_snow_bucket"}},powered_rail:{model:{type:"minecraft:model",model:"minecraft:item/powered_rail"}},prismarine:{model:{type:"minecraft:model",model:"minecraft:block/prismarine"}},prismarine_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_brick_slab"}},prismarine_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_brick_stairs"}},prismarine_bricks:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_bricks"}},prismarine_crystals:{model:{type:"minecraft:model",model:"minecraft:item/prismarine_crystals"}},prismarine_shard:{model:{type:"minecraft:model",model:"minecraft:item/prismarine_shard"}},prismarine_slab:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_slab"}},prismarine_stairs:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_stairs"}},prismarine_wall:{model:{type:"minecraft:model",model:"minecraft:block/prismarine_wall_inventory"}},prize_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/prize_pottery_sherd"}},pufferfish:{model:{type:"minecraft:model",model:"minecraft:item/pufferfish"}},pufferfish_bucket:{model:{type:"minecraft:model",model:"minecraft:item/pufferfish_bucket"}},pufferfish_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/pufferfish_spawn_egg"}},pumpkin:{model:{type:"minecraft:model",model:"minecraft:block/pumpkin"}},pumpkin_pie:{model:{type:"minecraft:model",model:"minecraft:item/pumpkin_pie"}},pumpkin_seeds:{model:{type:"minecraft:model",model:"minecraft:item/pumpkin_seeds"}},purple_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"purple"}}},purple_bed:{model:{type:"minecraft:special",base:"minecraft:item/purple_bed",model:{type:"minecraft:bed",texture:"minecraft:purple"}}},purple_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/purple_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/purple_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/purple_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/purple_bundle"},property:"minecraft:display_context"}},purple_candle:{model:{type:"minecraft:model",model:"minecraft:item/purple_candle"}},purple_carpet:{model:{type:"minecraft:model",model:"minecraft:block/purple_carpet"}},purple_concrete:{model:{type:"minecraft:model",model:"minecraft:block/purple_concrete"}},purple_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/purple_concrete_powder"}},purple_dye:{model:{type:"minecraft:model",model:"minecraft:item/purple_dye"}},purple_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/purple_glazed_terracotta"}},purple_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/purple_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_purple"}}},purple_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/purple_stained_glass"}},purple_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/purple_stained_glass_pane"}},purple_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/purple_terracotta"}},purple_wool:{model:{type:"minecraft:model",model:"minecraft:block/purple_wool"}},purpur_block:{model:{type:"minecraft:model",model:"minecraft:block/purpur_block"}},purpur_pillar:{model:{type:"minecraft:model",model:"minecraft:block/purpur_pillar"}},purpur_slab:{model:{type:"minecraft:model",model:"minecraft:block/purpur_slab"}},purpur_stairs:{model:{type:"minecraft:model",model:"minecraft:block/purpur_stairs"}},quartz:{model:{type:"minecraft:model",model:"minecraft:item/quartz"}},quartz_block:{model:{type:"minecraft:model",model:"minecraft:block/quartz_block"}},quartz_bricks:{model:{type:"minecraft:model",model:"minecraft:block/quartz_bricks"}},quartz_pillar:{model:{type:"minecraft:model",model:"minecraft:block/quartz_pillar"}},quartz_slab:{model:{type:"minecraft:model",model:"minecraft:block/quartz_slab"}},quartz_stairs:{model:{type:"minecraft:model",model:"minecraft:block/quartz_stairs"}},rabbit:{model:{type:"minecraft:model",model:"minecraft:item/rabbit"}},rabbit_foot:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_foot"}},rabbit_hide:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_hide"}},rabbit_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_spawn_egg"}},rabbit_stew:{model:{type:"minecraft:model",model:"minecraft:item/rabbit_stew"}},rail:{model:{type:"minecraft:model",model:"minecraft:item/rail"}},raiser_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/raiser_armor_trim_smithing_template"}},ravager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/ravager_spawn_egg"}},raw_copper:{model:{type:"minecraft:model",model:"minecraft:item/raw_copper"}},raw_copper_block:{model:{type:"minecraft:model",model:"minecraft:block/raw_copper_block"}},raw_gold:{model:{type:"minecraft:model",model:"minecraft:item/raw_gold"}},raw_gold_block:{model:{type:"minecraft:model",model:"minecraft:block/raw_gold_block"}},raw_iron:{model:{type:"minecraft:model",model:"minecraft:item/raw_iron"}},raw_iron_block:{model:{type:"minecraft:model",model:"minecraft:block/raw_iron_block"}},recovery_compass:{model:{type:"minecraft:range_dispatch",entries:[{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_16"},threshold:0},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_17"},threshold:.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_18"},threshold:1.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_19"},threshold:2.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_20"},threshold:3.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_21"},threshold:4.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_22"},threshold:5.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_23"},threshold:6.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_24"},threshold:7.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_25"},threshold:8.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_26"},threshold:9.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_27"},threshold:10.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_28"},threshold:11.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_29"},threshold:12.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_30"},threshold:13.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_31"},threshold:14.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_00"},threshold:15.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_01"},threshold:16.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_02"},threshold:17.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_03"},threshold:18.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_04"},threshold:19.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_05"},threshold:20.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_06"},threshold:21.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_07"},threshold:22.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_08"},threshold:23.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_09"},threshold:24.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_10"},threshold:25.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_11"},threshold:26.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_12"},threshold:27.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_13"},threshold:28.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_14"},threshold:29.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_15"},threshold:30.5},{model:{type:"minecraft:model",model:"minecraft:item/recovery_compass_16"},threshold:31.5}],property:"minecraft:compass",scale:32,target:"recovery"}},red_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"red"}}},red_bed:{model:{type:"minecraft:special",base:"minecraft:item/red_bed",model:{type:"minecraft:bed",texture:"minecraft:red"}}},red_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/red_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/red_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/red_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/red_bundle"},property:"minecraft:display_context"}},red_candle:{model:{type:"minecraft:model",model:"minecraft:item/red_candle"}},red_carpet:{model:{type:"minecraft:model",model:"minecraft:block/red_carpet"}},red_concrete:{model:{type:"minecraft:model",model:"minecraft:block/red_concrete"}},red_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/red_concrete_powder"}},red_dye:{model:{type:"minecraft:model",model:"minecraft:item/red_dye"}},red_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/red_glazed_terracotta"}},red_mushroom:{model:{type:"minecraft:model",model:"minecraft:item/red_mushroom"}},red_mushroom_block:{model:{type:"minecraft:model",model:"minecraft:block/red_mushroom_block_inventory"}},red_nether_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_brick_slab"}},red_nether_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_brick_stairs"}},red_nether_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_brick_wall_inventory"}},red_nether_bricks:{model:{type:"minecraft:model",model:"minecraft:block/red_nether_bricks"}},red_sand:{model:{type:"minecraft:model",model:"minecraft:block/red_sand"}},red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone"}},red_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone_slab"}},red_sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone_stairs"}},red_sandstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/red_sandstone_wall_inventory"}},red_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/red_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_red"}}},red_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/red_stained_glass"}},red_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/red_stained_glass_pane"}},red_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/red_terracotta"}},red_tulip:{model:{type:"minecraft:model",model:"minecraft:item/red_tulip"}},red_wool:{model:{type:"minecraft:model",model:"minecraft:block/red_wool"}},redstone:{model:{type:"minecraft:model",model:"minecraft:item/redstone"}},redstone_block:{model:{type:"minecraft:model",model:"minecraft:block/redstone_block"}},redstone_lamp:{model:{type:"minecraft:model",model:"minecraft:block/redstone_lamp"}},redstone_ore:{model:{type:"minecraft:model",model:"minecraft:block/redstone_ore"}},redstone_torch:{model:{type:"minecraft:model",model:"minecraft:item/redstone_torch"}},reinforced_deepslate:{model:{type:"minecraft:model",model:"minecraft:block/reinforced_deepslate"}},repeater:{model:{type:"minecraft:model",model:"minecraft:item/repeater"}},repeating_command_block:{model:{type:"minecraft:model",model:"minecraft:block/repeating_command_block"}},resin_block:{model:{type:"minecraft:model",model:"minecraft:block/resin_block"}},resin_brick:{model:{type:"minecraft:model",model:"minecraft:item/resin_brick"}},resin_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/resin_brick_slab"}},resin_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/resin_brick_stairs"}},resin_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/resin_brick_wall_inventory"}},resin_bricks:{model:{type:"minecraft:model",model:"minecraft:block/resin_bricks"}},resin_clump:{model:{type:"minecraft:model",model:"minecraft:item/resin_clump"}},respawn_anchor:{model:{type:"minecraft:model",model:"minecraft:block/respawn_anchor_0"}},rib_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/rib_armor_trim_smithing_template"}},rooted_dirt:{model:{type:"minecraft:model",model:"minecraft:block/rooted_dirt"}},rose_bush:{model:{type:"minecraft:model",model:"minecraft:item/rose_bush"}},rotten_flesh:{model:{type:"minecraft:model",model:"minecraft:item/rotten_flesh"}},saddle:{model:{type:"minecraft:model",model:"minecraft:item/saddle"}},salmon:{model:{type:"minecraft:model",model:"minecraft:item/salmon"}},salmon_bucket:{model:{type:"minecraft:model",model:"minecraft:item/salmon_bucket"}},salmon_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/salmon_spawn_egg"}},sand:{model:{type:"minecraft:model",model:"minecraft:block/sand"}},sandstone:{model:{type:"minecraft:model",model:"minecraft:block/sandstone"}},sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/sandstone_slab"}},sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/sandstone_stairs"}},sandstone_wall:{model:{type:"minecraft:model",model:"minecraft:block/sandstone_wall_inventory"}},scaffolding:{model:{type:"minecraft:model",model:"minecraft:block/scaffolding_stable"}},scrape_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/scrape_pottery_sherd"}},sculk:{model:{type:"minecraft:model",model:"minecraft:block/sculk"}},sculk_catalyst:{model:{type:"minecraft:model",model:"minecraft:block/sculk_catalyst"}},sculk_sensor:{model:{type:"minecraft:model",model:"minecraft:block/sculk_sensor_inactive"}},sculk_shrieker:{model:{type:"minecraft:model",model:"minecraft:block/sculk_shrieker"}},sculk_vein:{model:{type:"minecraft:model",model:"minecraft:item/sculk_vein"}},sea_lantern:{model:{type:"minecraft:model",model:"minecraft:block/sea_lantern"}},sea_pickle:{model:{type:"minecraft:model",model:"minecraft:item/sea_pickle"}},seagrass:{model:{type:"minecraft:model",model:"minecraft:item/seagrass"}},sentry_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/sentry_armor_trim_smithing_template"}},shaper_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/shaper_armor_trim_smithing_template"}},sheaf_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/sheaf_pottery_sherd"}},shears:{model:{type:"minecraft:model",model:"minecraft:item/shears"}},sheep_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/sheep_spawn_egg"}},shelter_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/shelter_pottery_sherd"}},shield:{model:{type:"minecraft:condition",on_false:{type:"minecraft:special",base:"minecraft:item/shield",model:{type:"minecraft:shield"}},on_true:{type:"minecraft:special",base:"minecraft:item/shield_blocking",model:{type:"minecraft:shield"}},property:"minecraft:using_item"}},short_grass:{model:{type:"minecraft:model",model:"minecraft:item/short_grass",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},shroomlight:{model:{type:"minecraft:model",model:"minecraft:block/shroomlight"}},shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker"}}},shulker_shell:{model:{type:"minecraft:model",model:"minecraft:item/shulker_shell"}},shulker_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/shulker_spawn_egg"}},silence_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/silence_armor_trim_smithing_template"}},silverfish_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/silverfish_spawn_egg"}},skeleton_horse_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/skeleton_horse_spawn_egg"}},skeleton_skull:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"skeleton"}}},skeleton_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/skeleton_spawn_egg"}},skull_banner_pattern:{model:{type:"minecraft:model",model:"minecraft:item/skull_banner_pattern"}},skull_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/skull_pottery_sherd"}},slime_ball:{model:{type:"minecraft:model",model:"minecraft:item/slime_ball"}},slime_block:{model:{type:"minecraft:model",model:"minecraft:block/slime_block"}},slime_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/slime_spawn_egg"}},small_amethyst_bud:{model:{type:"minecraft:model",model:"minecraft:item/small_amethyst_bud"}},small_dripleaf:{model:{type:"minecraft:model",model:"minecraft:item/small_dripleaf"}},smithing_table:{model:{type:"minecraft:model",model:"minecraft:block/smithing_table"}},smoker:{model:{type:"minecraft:model",model:"minecraft:block/smoker"}},smooth_basalt:{model:{type:"minecraft:model",model:"minecraft:block/smooth_basalt"}},smooth_quartz:{model:{type:"minecraft:model",model:"minecraft:block/smooth_quartz"}},smooth_quartz_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_quartz_slab"}},smooth_quartz_stairs:{model:{type:"minecraft:model",model:"minecraft:block/smooth_quartz_stairs"}},smooth_red_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/smooth_red_sandstone"}},smooth_red_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_red_sandstone_slab"}},smooth_red_sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/smooth_red_sandstone_stairs"}},smooth_sandstone:{model:{type:"minecraft:model",model:"minecraft:block/smooth_sandstone"}},smooth_sandstone_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_sandstone_slab"}},smooth_sandstone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/smooth_sandstone_stairs"}},smooth_stone:{model:{type:"minecraft:model",model:"minecraft:block/smooth_stone"}},smooth_stone_slab:{model:{type:"minecraft:model",model:"minecraft:block/smooth_stone_slab"}},sniffer_egg:{model:{type:"minecraft:model",model:"minecraft:item/sniffer_egg"}},sniffer_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/sniffer_spawn_egg"}},snort_pottery_sherd:{model:{type:"minecraft:model",model:"minecraft:item/snort_pottery_sherd"}},snout_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/snout_armor_trim_smithing_template"}},snow:{model:{type:"minecraft:model",model:"minecraft:block/snow_height2"}},snow_block:{model:{type:"minecraft:model",model:"minecraft:block/snow_block"}},snow_golem_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/snow_golem_spawn_egg"}},snowball:{model:{type:"minecraft:model",model:"minecraft:item/snowball"}},soul_campfire:{model:{type:"minecraft:model",model:"minecraft:item/soul_campfire"}},soul_lantern:{model:{type:"minecraft:model",model:"minecraft:item/soul_lantern"}},soul_sand:{model:{type:"minecraft:model",model:"minecraft:block/soul_sand"}},soul_soil:{model:{type:"minecraft:model",model:"minecraft:block/soul_soil"}},soul_torch:{model:{type:"minecraft:model",model:"minecraft:item/soul_torch"}},spawner:{model:{type:"minecraft:model",model:"minecraft:block/spawner"}},spectral_arrow:{model:{type:"minecraft:model",model:"minecraft:item/spectral_arrow"}},spider_eye:{model:{type:"minecraft:model",model:"minecraft:item/spider_eye"}},spider_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/spider_spawn_egg"}},spire_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/spire_armor_trim_smithing_template"}},splash_potion:{model:{type:"minecraft:model",model:"minecraft:item/splash_potion",tints:[{type:"minecraft:potion",default:-13083194}]}},sponge:{model:{type:"minecraft:model",model:"minecraft:block/sponge"}},spore_blossom:{model:{type:"minecraft:model",model:"minecraft:block/spore_blossom"}},spruce_boat:{model:{type:"minecraft:model",model:"minecraft:item/spruce_boat"}},spruce_button:{model:{type:"minecraft:model",model:"minecraft:block/spruce_button_inventory"}},spruce_chest_boat:{model:{type:"minecraft:model",model:"minecraft:item/spruce_chest_boat"}},spruce_door:{model:{type:"minecraft:model",model:"minecraft:item/spruce_door"}},spruce_fence:{model:{type:"minecraft:model",model:"minecraft:block/spruce_fence_inventory"}},spruce_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/spruce_fence_gate"}},spruce_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/spruce_hanging_sign"}},spruce_leaves:{model:{type:"minecraft:model",model:"minecraft:block/spruce_leaves",tints:[{type:"minecraft:constant",value:-10380959}]}},spruce_log:{model:{type:"minecraft:model",model:"minecraft:block/spruce_log"}},spruce_planks:{model:{type:"minecraft:model",model:"minecraft:block/spruce_planks"}},spruce_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/spruce_pressure_plate"}},spruce_sapling:{model:{type:"minecraft:model",model:"minecraft:item/spruce_sapling"}},spruce_sign:{model:{type:"minecraft:model",model:"minecraft:item/spruce_sign"}},spruce_slab:{model:{type:"minecraft:model",model:"minecraft:block/spruce_slab"}},spruce_stairs:{model:{type:"minecraft:model",model:"minecraft:block/spruce_stairs"}},spruce_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/spruce_trapdoor_bottom"}},spruce_wood:{model:{type:"minecraft:model",model:"minecraft:block/spruce_wood"}},spyglass:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/spyglass"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/spyglass_in_hand"},property:"minecraft:display_context"}},squid_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/squid_spawn_egg"}},stick:{model:{type:"minecraft:model",model:"minecraft:item/stick"}},sticky_piston:{model:{type:"minecraft:model",model:"minecraft:block/sticky_piston_inventory"}},stone:{model:{type:"minecraft:model",model:"minecraft:block/stone"}},stone_axe:{model:{type:"minecraft:model",model:"minecraft:item/stone_axe"}},stone_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/stone_brick_slab"}},stone_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/stone_brick_stairs"}},stone_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/stone_brick_wall_inventory"}},stone_bricks:{model:{type:"minecraft:model",model:"minecraft:block/stone_bricks"}},stone_button:{model:{type:"minecraft:model",model:"minecraft:block/stone_button_inventory"}},stone_hoe:{model:{type:"minecraft:model",model:"minecraft:item/stone_hoe"}},stone_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/stone_pickaxe"}},stone_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/stone_pressure_plate"}},stone_shovel:{model:{type:"minecraft:model",model:"minecraft:item/stone_shovel"}},stone_slab:{model:{type:"minecraft:model",model:"minecraft:block/stone_slab"}},stone_stairs:{model:{type:"minecraft:model",model:"minecraft:block/stone_stairs"}},stone_sword:{model:{type:"minecraft:model",model:"minecraft:item/stone_sword"}},stonecutter:{model:{type:"minecraft:model",model:"minecraft:block/stonecutter"}},stray_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/stray_spawn_egg"}},strider_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/strider_spawn_egg"}},string:{model:{type:"minecraft:model",model:"minecraft:item/string"}},stripped_acacia_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_acacia_log"}},stripped_acacia_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_acacia_wood"}},stripped_bamboo_block:{model:{type:"minecraft:model",model:"minecraft:block/stripped_bamboo_block"}},stripped_birch_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_birch_log"}},stripped_birch_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_birch_wood"}},stripped_cherry_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_cherry_log"}},stripped_cherry_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_cherry_wood"}},stripped_crimson_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/stripped_crimson_hyphae"}},stripped_crimson_stem:{model:{type:"minecraft:model",model:"minecraft:block/stripped_crimson_stem"}},stripped_dark_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_dark_oak_log"}},stripped_dark_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_dark_oak_wood"}},stripped_jungle_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_jungle_log"}},stripped_jungle_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_jungle_wood"}},stripped_mangrove_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_mangrove_log"}},stripped_mangrove_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_mangrove_wood"}},stripped_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_oak_log"}},stripped_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_oak_wood"}},stripped_pale_oak_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_pale_oak_log"}},stripped_pale_oak_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_pale_oak_wood"}},stripped_spruce_log:{model:{type:"minecraft:model",model:"minecraft:block/stripped_spruce_log"}},stripped_spruce_wood:{model:{type:"minecraft:model",model:"minecraft:block/stripped_spruce_wood"}},stripped_warped_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/stripped_warped_hyphae"}},stripped_warped_stem:{model:{type:"minecraft:model",model:"minecraft:block/stripped_warped_stem"}},structure_block:{model:{type:"minecraft:model",model:"minecraft:block/structure_block"}},structure_void:{model:{type:"minecraft:model",model:"minecraft:item/structure_void"}},sugar:{model:{type:"minecraft:model",model:"minecraft:item/sugar"}},sugar_cane:{model:{type:"minecraft:model",model:"minecraft:item/sugar_cane"}},sunflower:{model:{type:"minecraft:model",model:"minecraft:item/sunflower"}},suspicious_gravel:{model:{type:"minecraft:model",model:"minecraft:block/suspicious_gravel_0"}},suspicious_sand:{model:{type:"minecraft:model",model:"minecraft:block/suspicious_sand_0"}},suspicious_stew:{model:{type:"minecraft:model",model:"minecraft:item/suspicious_stew"}},sweet_berries:{model:{type:"minecraft:model",model:"minecraft:item/sweet_berries"}},tadpole_bucket:{model:{type:"minecraft:model",model:"minecraft:item/tadpole_bucket"}},tadpole_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/tadpole_spawn_egg"}},tall_grass:{model:{type:"minecraft:model",model:"minecraft:item/tall_grass",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},target:{model:{type:"minecraft:model",model:"minecraft:block/target"}},terracotta:{model:{type:"minecraft:model",model:"minecraft:block/terracotta"}},tide_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/tide_armor_trim_smithing_template"}},tinted_glass:{model:{type:"minecraft:model",model:"minecraft:block/tinted_glass"}},tipped_arrow:{model:{type:"minecraft:model",model:"minecraft:item/tipped_arrow",tints:[{type:"minecraft:potion",default:-13083194}]}},tnt:{model:{type:"minecraft:model",model:"minecraft:block/tnt"}},tnt_minecart:{model:{type:"minecraft:model",model:"minecraft:item/tnt_minecart"}},torch:{model:{type:"minecraft:model",model:"minecraft:item/torch"}},torchflower:{model:{type:"minecraft:model",model:"minecraft:item/torchflower"}},torchflower_seeds:{model:{type:"minecraft:model",model:"minecraft:item/torchflower_seeds"}},totem_of_undying:{model:{type:"minecraft:model",model:"minecraft:item/totem_of_undying"}},trader_llama_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/trader_llama_spawn_egg"}},trapped_chest:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:special",base:"minecraft:item/trapped_chest",model:{type:"minecraft:chest",texture:"minecraft:christmas"}},when:["12-24","12-25","12-26"]}],fallback:{type:"minecraft:special",base:"minecraft:item/trapped_chest",model:{type:"minecraft:chest",texture:"minecraft:trapped"}},pattern:"MM-dd",property:"minecraft:local_time"}},trial_key:{model:{type:"minecraft:model",model:"minecraft:item/trial_key"}},trial_spawner:{model:{type:"minecraft:model",model:"minecraft:block/trial_spawner"}},trident:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/trident"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:condition",on_false:{type:"minecraft:special",base:"minecraft:item/trident_in_hand",model:{type:"minecraft:trident"}},on_true:{type:"minecraft:special",base:"minecraft:item/trident_throwing",model:{type:"minecraft:trident"}},property:"minecraft:using_item"},property:"minecraft:display_context"}},tripwire_hook:{model:{type:"minecraft:model",model:"minecraft:item/tripwire_hook"}},tropical_fish:{model:{type:"minecraft:model",model:"minecraft:item/tropical_fish"}},tropical_fish_bucket:{model:{type:"minecraft:model",model:"minecraft:item/tropical_fish_bucket"}},tropical_fish_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/tropical_fish_spawn_egg"}},tube_coral:{model:{type:"minecraft:model",model:"minecraft:item/tube_coral"}},tube_coral_block:{model:{type:"minecraft:model",model:"minecraft:block/tube_coral_block"}},tube_coral_fan:{model:{type:"minecraft:model",model:"minecraft:item/tube_coral_fan"}},tuff:{model:{type:"minecraft:model",model:"minecraft:block/tuff"}},tuff_brick_slab:{model:{type:"minecraft:model",model:"minecraft:block/tuff_brick_slab"}},tuff_brick_stairs:{model:{type:"minecraft:model",model:"minecraft:block/tuff_brick_stairs"}},tuff_brick_wall:{model:{type:"minecraft:model",model:"minecraft:block/tuff_brick_wall_inventory"}},tuff_bricks:{model:{type:"minecraft:model",model:"minecraft:block/tuff_bricks"}},tuff_slab:{model:{type:"minecraft:model",model:"minecraft:block/tuff_slab"}},tuff_stairs:{model:{type:"minecraft:model",model:"minecraft:block/tuff_stairs"}},tuff_wall:{model:{type:"minecraft:model",model:"minecraft:block/tuff_wall_inventory"}},turtle_egg:{model:{type:"minecraft:model",model:"minecraft:item/turtle_egg"}},turtle_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/turtle_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/turtle_helmet"},property:"minecraft:trim_material"}},turtle_scute:{model:{type:"minecraft:model",model:"minecraft:item/turtle_scute"}},turtle_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/turtle_spawn_egg"}},twisting_vines:{model:{type:"minecraft:model",model:"minecraft:item/twisting_vines"}},vault:{model:{type:"minecraft:model",model:"minecraft:block/vault"}},verdant_froglight:{model:{type:"minecraft:model",model:"minecraft:block/verdant_froglight"}},vex_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/vex_armor_trim_smithing_template"}},vex_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/vex_spawn_egg"}},villager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/villager_spawn_egg"}},vindicator_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/vindicator_spawn_egg"}},vine:{model:{type:"minecraft:model",model:"minecraft:item/vine",tints:[{type:"minecraft:constant",value:-12012264}]}},wandering_trader_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wandering_trader_spawn_egg"}},ward_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/ward_armor_trim_smithing_template"}},warden_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/warden_spawn_egg"}},warped_button:{model:{type:"minecraft:model",model:"minecraft:block/warped_button_inventory"}},warped_door:{model:{type:"minecraft:model",model:"minecraft:item/warped_door"}},warped_fence:{model:{type:"minecraft:model",model:"minecraft:block/warped_fence_inventory"}},warped_fence_gate:{model:{type:"minecraft:model",model:"minecraft:block/warped_fence_gate"}},warped_fungus:{model:{type:"minecraft:model",model:"minecraft:item/warped_fungus"}},warped_fungus_on_a_stick:{model:{type:"minecraft:model",model:"minecraft:item/warped_fungus_on_a_stick"}},warped_hanging_sign:{model:{type:"minecraft:model",model:"minecraft:item/warped_hanging_sign"}},warped_hyphae:{model:{type:"minecraft:model",model:"minecraft:block/warped_hyphae"}},warped_nylium:{model:{type:"minecraft:model",model:"minecraft:block/warped_nylium"}},warped_planks:{model:{type:"minecraft:model",model:"minecraft:block/warped_planks"}},warped_pressure_plate:{model:{type:"minecraft:model",model:"minecraft:block/warped_pressure_plate"}},warped_roots:{model:{type:"minecraft:model",model:"minecraft:item/warped_roots"}},warped_sign:{model:{type:"minecraft:model",model:"minecraft:item/warped_sign"}},warped_slab:{model:{type:"minecraft:model",model:"minecraft:block/warped_slab"}},warped_stairs:{model:{type:"minecraft:model",model:"minecraft:block/warped_stairs"}},warped_stem:{model:{type:"minecraft:model",model:"minecraft:block/warped_stem"}},warped_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/warped_trapdoor_bottom"}},warped_wart_block:{model:{type:"minecraft:model",model:"minecraft:block/warped_wart_block"}},water_bucket:{model:{type:"minecraft:model",model:"minecraft:item/water_bucket"}},waxed_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/chiseled_copper"}},waxed_copper_block:{model:{type:"minecraft:model",model:"minecraft:block/copper_block"}},waxed_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/copper_bulb"}},waxed_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/copper_door"}},waxed_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/copper_grate"}},waxed_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/copper_trapdoor_bottom"}},waxed_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper"}},waxed_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_slab"}},waxed_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/cut_copper_stairs"}},waxed_exposed_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_chiseled_copper"}},waxed_exposed_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper"}},waxed_exposed_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_bulb"}},waxed_exposed_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_door"}},waxed_exposed_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_grate"}},waxed_exposed_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/exposed_copper_trapdoor_bottom"}},waxed_exposed_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper"}},waxed_exposed_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_slab"}},waxed_exposed_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/exposed_cut_copper_stairs"}},waxed_oxidized_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_chiseled_copper"}},waxed_oxidized_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper"}},waxed_oxidized_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_bulb"}},waxed_oxidized_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_door"}},waxed_oxidized_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_grate"}},waxed_oxidized_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_copper_trapdoor_bottom"}},waxed_oxidized_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper"}},waxed_oxidized_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_slab"}},waxed_oxidized_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_cut_copper_stairs"}},waxed_weathered_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_chiseled_copper"}},waxed_weathered_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper"}},waxed_weathered_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_bulb"}},waxed_weathered_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_door"}},waxed_weathered_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_grate"}},waxed_weathered_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_trapdoor_bottom"}},waxed_weathered_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper"}},waxed_weathered_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_slab"}},waxed_weathered_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_stairs"}},wayfinder_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/wayfinder_armor_trim_smithing_template"}},weathered_chiseled_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_chiseled_copper"}},weathered_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper"}},weathered_copper_bulb:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_bulb"}},weathered_copper_door:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_door"}},weathered_copper_grate:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_grate"}},weathered_copper_trapdoor:{model:{type:"minecraft:model",model:"minecraft:block/weathered_copper_trapdoor_bottom"}},weathered_cut_copper:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper"}},weathered_cut_copper_slab:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_slab"}},weathered_cut_copper_stairs:{model:{type:"minecraft:model",model:"minecraft:block/weathered_cut_copper_stairs"}},weeping_vines:{model:{type:"minecraft:model",model:"minecraft:item/weeping_vines"}},wet_sponge:{model:{type:"minecraft:model",model:"minecraft:block/wet_sponge"}},wheat:{model:{type:"minecraft:model",model:"minecraft:item/wheat"}},wheat_seeds:{model:{type:"minecraft:model",model:"minecraft:item/wheat_seeds"}},white_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"white"}}},white_bed:{model:{type:"minecraft:special",base:"minecraft:item/white_bed",model:{type:"minecraft:bed",texture:"minecraft:white"}}},white_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/white_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/white_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/white_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/white_bundle"},property:"minecraft:display_context"}},white_candle:{model:{type:"minecraft:model",model:"minecraft:item/white_candle"}},white_carpet:{model:{type:"minecraft:model",model:"minecraft:block/white_carpet"}},white_concrete:{model:{type:"minecraft:model",model:"minecraft:block/white_concrete"}},white_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/white_concrete_powder"}},white_dye:{model:{type:"minecraft:model",model:"minecraft:item/white_dye"}},white_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/white_glazed_terracotta"}},white_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/white_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_white"}}},white_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/white_stained_glass"}},white_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/white_stained_glass_pane"}},white_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/white_terracotta"}},white_tulip:{model:{type:"minecraft:model",model:"minecraft:item/white_tulip"}},white_wool:{model:{type:"minecraft:model",model:"minecraft:block/white_wool"}},wild_armor_trim_smithing_template:{model:{type:"minecraft:model",model:"minecraft:item/wild_armor_trim_smithing_template"}},wind_charge:{model:{type:"minecraft:model",model:"minecraft:item/wind_charge"}},witch_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/witch_spawn_egg"}},wither_rose:{model:{type:"minecraft:model",model:"minecraft:item/wither_rose"}},wither_skeleton_skull:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"wither_skeleton"}}},wither_skeleton_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wither_skeleton_spawn_egg"}},wither_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wither_spawn_egg"}},wolf_armor:{model:{type:"minecraft:condition",component:"minecraft:dyed_color",on_false:{type:"minecraft:model",model:"minecraft:item/wolf_armor"},on_true:{type:"minecraft:model",model:"minecraft:item/wolf_armor_dyed",tints:[{type:"minecraft:constant",value:-1},{type:"minecraft:dye",default:0}]},property:"minecraft:has_component"}},wolf_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/wolf_spawn_egg"}},wooden_axe:{model:{type:"minecraft:model",model:"minecraft:item/wooden_axe"}},wooden_hoe:{model:{type:"minecraft:model",model:"minecraft:item/wooden_hoe"}},wooden_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/wooden_pickaxe"}},wooden_shovel:{model:{type:"minecraft:model",model:"minecraft:item/wooden_shovel"}},wooden_sword:{model:{type:"minecraft:model",model:"minecraft:item/wooden_sword"}},writable_book:{model:{type:"minecraft:model",model:"minecraft:item/writable_book"}},written_book:{model:{type:"minecraft:model",model:"minecraft:item/written_book"}},yellow_banner:{model:{type:"minecraft:special",base:"minecraft:item/template_banner",model:{type:"minecraft:banner",color:"yellow"}}},yellow_bed:{model:{type:"minecraft:special",base:"minecraft:item/yellow_bed",model:{type:"minecraft:bed",texture:"minecraft:yellow"}}},yellow_bundle:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:condition",on_false:{type:"minecraft:model",model:"minecraft:item/yellow_bundle"},on_true:{type:"minecraft:composite",models:[{type:"minecraft:model",model:"minecraft:item/yellow_bundle_open_back"},{type:"minecraft:bundle/selected_item"},{type:"minecraft:model",model:"minecraft:item/yellow_bundle_open_front"}]},property:"minecraft:bundle/has_selected_item"},when:"gui"}],fallback:{type:"minecraft:model",model:"minecraft:item/yellow_bundle"},property:"minecraft:display_context"}},yellow_candle:{model:{type:"minecraft:model",model:"minecraft:item/yellow_candle"}},yellow_carpet:{model:{type:"minecraft:model",model:"minecraft:block/yellow_carpet"}},yellow_concrete:{model:{type:"minecraft:model",model:"minecraft:block/yellow_concrete"}},yellow_concrete_powder:{model:{type:"minecraft:model",model:"minecraft:block/yellow_concrete_powder"}},yellow_dye:{model:{type:"minecraft:model",model:"minecraft:item/yellow_dye"}},yellow_glazed_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/yellow_glazed_terracotta"}},yellow_shulker_box:{model:{type:"minecraft:special",base:"minecraft:item/yellow_shulker_box",model:{type:"minecraft:shulker_box",texture:"minecraft:shulker_yellow"}}},yellow_stained_glass:{model:{type:"minecraft:model",model:"minecraft:block/yellow_stained_glass"}},yellow_stained_glass_pane:{model:{type:"minecraft:model",model:"minecraft:item/yellow_stained_glass_pane"}},yellow_terracotta:{model:{type:"minecraft:model",model:"minecraft:block/yellow_terracotta"}},yellow_wool:{model:{type:"minecraft:model",model:"minecraft:block/yellow_wool"}},zoglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zoglin_spawn_egg"}},zombie_head:{model:{type:"minecraft:special",base:"minecraft:item/template_skull",model:{type:"minecraft:head",kind:"zombie"}}},zombie_horse_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_horse_spawn_egg"}},zombie_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_spawn_egg"}},zombie_villager_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_villager_spawn_egg"}},zombified_piglin_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombified_piglin_spawn_egg"}},blue_egg:{model:{type:"minecraft:model",model:"minecraft:item/blue_egg"}},brown_egg:{model:{type:"minecraft:model",model:"minecraft:item/brown_egg"}},bush:{model:{type:"minecraft:model",model:"minecraft:item/bush",tints:[{type:"minecraft:grass",downfall:1,temperature:.5}]}},cactus_flower:{model:{type:"minecraft:model",model:"minecraft:item/cactus_flower"}},firefly_bush:{model:{type:"minecraft:model",model:"minecraft:item/firefly_bush"}},leaf_litter:{model:{type:"minecraft:model",model:"minecraft:item/leaf_litter"}},short_dry_grass:{model:{type:"minecraft:model",model:"minecraft:item/short_dry_grass"}},tall_dry_grass:{model:{type:"minecraft:model",model:"minecraft:item/tall_dry_grass"}},test_block:{model:{type:"minecraft:select",block_state_property:"mode",cases:[{model:{type:"minecraft:model",model:"minecraft:block/test_block_log"},when:"log"},{model:{type:"minecraft:model",model:"minecraft:block/test_block_fail"},when:"fail"},{model:{type:"minecraft:model",model:"minecraft:block/test_block_accept"},when:"accept"}],fallback:{type:"minecraft:model",model:"minecraft:block/test_block_start"},property:"minecraft:block_state"}},test_instance_block:{model:{type:"minecraft:model",model:"minecraft:block/test_instance_block"}},wildflowers:{model:{type:"minecraft:model",model:"minecraft:item/wildflowers"}},black_harness:{model:{type:"minecraft:model",model:"minecraft:item/black_harness"}},blue_harness:{model:{type:"minecraft:model",model:"minecraft:item/blue_harness"}},brown_harness:{model:{type:"minecraft:model",model:"minecraft:item/brown_harness"}},cyan_harness:{model:{type:"minecraft:model",model:"minecraft:item/cyan_harness"}},dried_ghast:{model:{type:"minecraft:model",model:"minecraft:block/dried_ghast_hydration_0"}},gray_harness:{model:{type:"minecraft:model",model:"minecraft:item/gray_harness"}},green_harness:{model:{type:"minecraft:model",model:"minecraft:item/green_harness"}},happy_ghast_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/happy_ghast_spawn_egg"}},light_blue_harness:{model:{type:"minecraft:model",model:"minecraft:item/light_blue_harness"}},light_gray_harness:{model:{type:"minecraft:model",model:"minecraft:item/light_gray_harness"}},lime_harness:{model:{type:"minecraft:model",model:"minecraft:item/lime_harness"}},magenta_harness:{model:{type:"minecraft:model",model:"minecraft:item/magenta_harness"}},music_disc_tears:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_tears"}},orange_harness:{model:{type:"minecraft:model",model:"minecraft:item/orange_harness"}},pink_harness:{model:{type:"minecraft:model",model:"minecraft:item/pink_harness"}},purple_harness:{model:{type:"minecraft:model",model:"minecraft:item/purple_harness"}},red_harness:{model:{type:"minecraft:model",model:"minecraft:item/red_harness"}},white_harness:{model:{type:"minecraft:model",model:"minecraft:item/white_harness"}},yellow_harness:{model:{type:"minecraft:model",model:"minecraft:item/yellow_harness"}},music_disc_lava_chicken:{model:{type:"minecraft:model",model:"minecraft:item/music_disc_lava_chicken"}},acacia_shelf:{model:{type:"minecraft:model",model:"minecraft:block/acacia_shelf_inventory"}},bamboo_shelf:{model:{type:"minecraft:model",model:"minecraft:block/bamboo_shelf_inventory"}},birch_shelf:{model:{type:"minecraft:model",model:"minecraft:block/birch_shelf_inventory"}},cherry_shelf:{model:{type:"minecraft:model",model:"minecraft:block/cherry_shelf_inventory"}},copper_axe:{model:{type:"minecraft:model",model:"minecraft:item/copper_axe"}},copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/copper_bars"}},copper_boots:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_boots_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_boots"},property:"minecraft:trim_material"}},copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/copper_chain"}},copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper"}}},copper_chestplate:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_chestplate_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_chestplate"},property:"minecraft:trim_material"}},copper_golem_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/copper_golem_spawn_egg"}},copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},property:"minecraft:block_state"}},copper_helmet:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_helmet_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_helmet"},property:"minecraft:trim_material"}},copper_hoe:{model:{type:"minecraft:model",model:"minecraft:item/copper_hoe"}},copper_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/copper_horse_armor"}},copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/copper_lantern"}},copper_leggings:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_quartz_trim"},when:"minecraft:quartz"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_iron_trim"},when:"minecraft:iron"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_netherite_trim"},when:"minecraft:netherite"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_redstone_trim"},when:"minecraft:redstone"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_copper_trim"},when:"minecraft:copper"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_gold_trim"},when:"minecraft:gold"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_emerald_trim"},when:"minecraft:emerald"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_diamond_trim"},when:"minecraft:diamond"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_lapis_trim"},when:"minecraft:lapis"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_amethyst_trim"},when:"minecraft:amethyst"},{model:{type:"minecraft:model",model:"minecraft:item/copper_leggings_resin_trim"},when:"minecraft:resin"}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_leggings"},property:"minecraft:trim_material"}},copper_nugget:{model:{type:"minecraft:model",model:"minecraft:item/copper_nugget"}},copper_pickaxe:{model:{type:"minecraft:model",model:"minecraft:item/copper_pickaxe"}},copper_shovel:{model:{type:"minecraft:model",model:"minecraft:item/copper_shovel"}},copper_sword:{model:{type:"minecraft:model",model:"minecraft:item/copper_sword"}},copper_torch:{model:{type:"minecraft:model",model:"minecraft:item/copper_torch"}},crimson_shelf:{model:{type:"minecraft:model",model:"minecraft:block/crimson_shelf_inventory"}},dark_oak_shelf:{model:{type:"minecraft:model",model:"minecraft:block/dark_oak_shelf_inventory"}},exposed_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_bars"}},exposed_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_chain"}},exposed_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/exposed_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_exposed"}}},exposed_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},property:"minecraft:block_state"}},exposed_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_lantern"}},exposed_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/exposed_lightning_rod"}},iron_chain:{model:{type:"minecraft:model",model:"minecraft:item/iron_chain"}},jungle_shelf:{model:{type:"minecraft:model",model:"minecraft:block/jungle_shelf_inventory"}},mangrove_shelf:{model:{type:"minecraft:model",model:"minecraft:block/mangrove_shelf_inventory"}},oak_shelf:{model:{type:"minecraft:model",model:"minecraft:block/oak_shelf_inventory"}},oxidized_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_bars"}},oxidized_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_chain"}},oxidized_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/oxidized_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_oxidized"}}},oxidized_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},property:"minecraft:block_state"}},oxidized_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_lantern"}},oxidized_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_lightning_rod"}},pale_oak_shelf:{model:{type:"minecraft:model",model:"minecraft:block/pale_oak_shelf_inventory"}},spruce_shelf:{model:{type:"minecraft:model",model:"minecraft:block/spruce_shelf_inventory"}},warped_shelf:{model:{type:"minecraft:model",model:"minecraft:block/warped_shelf_inventory"}},waxed_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/copper_bars"}},waxed_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/copper_chain"}},waxed_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper"}}},waxed_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/copper_golem.png"}},property:"minecraft:block_state"}},waxed_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/copper_lantern"}},waxed_exposed_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_bars"}},waxed_exposed_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_chain"}},waxed_exposed_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/exposed_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_exposed"}}},waxed_exposed_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/exposed_copper_golem.png"}},property:"minecraft:block_state"}},waxed_exposed_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/exposed_copper_lantern"}},waxed_exposed_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/exposed_lightning_rod"}},waxed_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/lightning_rod"}},waxed_oxidized_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_bars"}},waxed_oxidized_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_chain"}},waxed_oxidized_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/oxidized_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_oxidized"}}},waxed_oxidized_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/oxidized_copper_golem.png"}},property:"minecraft:block_state"}},waxed_oxidized_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/oxidized_copper_lantern"}},waxed_oxidized_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/oxidized_lightning_rod"}},waxed_weathered_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_bars"}},waxed_weathered_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_chain"}},waxed_weathered_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/weathered_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_weathered"}}},waxed_weathered_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},property:"minecraft:block_state"}},waxed_weathered_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_lantern"}},waxed_weathered_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/weathered_lightning_rod"}},weathered_copper_bars:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_bars"}},weathered_copper_chain:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_chain"}},weathered_copper_chest:{model:{type:"minecraft:special",base:"minecraft:item/weathered_copper_chest",model:{type:"minecraft:chest",texture:"minecraft:copper_weathered"}}},weathered_copper_golem_statue:{model:{type:"minecraft:select",block_state_property:"copper_golem_pose",cases:[{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"sitting",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"sitting"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"running",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"running"},{model:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"star",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},when:"star"}],fallback:{type:"minecraft:special",base:"minecraft:item/template_copper_golem_statue",model:{type:"minecraft:copper_golem_statue",pose:"standing",texture:"minecraft:textures/entity/copper_golem/weathered_copper_golem.png"}},property:"minecraft:block_state"}},weathered_copper_lantern:{model:{type:"minecraft:model",model:"minecraft:item/weathered_copper_lantern"}},weathered_lightning_rod:{model:{type:"minecraft:model",model:"minecraft:block/weathered_lightning_rod"}},camel_husk_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/camel_husk_spawn_egg"}},copper_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/copper_nautilus_armor"}},copper_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/copper_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/copper_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},diamond_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/diamond_nautilus_armor"}},diamond_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/diamond_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/diamond_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},golden_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/golden_nautilus_armor"}},golden_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/golden_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/golden_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},iron_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/iron_nautilus_armor"}},iron_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/iron_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/iron_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},nautilus_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/nautilus_spawn_egg"}},netherite_horse_armor:{model:{type:"minecraft:model",model:"minecraft:item/netherite_horse_armor"}},netherite_nautilus_armor:{model:{type:"minecraft:model",model:"minecraft:item/netherite_nautilus_armor"}},netherite_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/netherite_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/netherite_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},parched_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/parched_spawn_egg"}},stone_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/stone_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/stone_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},wooden_spear:{model:{type:"minecraft:select",cases:[{model:{type:"minecraft:model",model:"minecraft:item/wooden_spear"},when:["gui","ground","fixed","on_shelf"]}],fallback:{type:"minecraft:model",model:"minecraft:item/wooden_spear_in_hand"},property:"minecraft:display_context"},swap_animation_scale:1.95},zombie_nautilus_spawn_egg:{model:{type:"minecraft:model",model:"minecraft:item/zombie_nautilus_spawn_egg"}}}};h();p();m();var b0e="";h();p();m();var x0e="";h();p();m();var w0e="";h();p();m();var S0e="";h();p();m();var E0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABjFBMVEUAAAD/8Yv46Xjs2ELm00Dk0T/hzj7eyz7byT3ayD3ZxzzYxjzXxTzVwzvTwTvTwTbSwDrRvzXNuznJuDXFtDfBsTbBsTDAsDW/rzW5qSqXiybQOC7POC7HNSzHNSu8MSm3MCm2MCm0MCmzMCizLyixLyitLSapLCW0HBWZJyGzHBSzGxOqHheyGhOnHhewGhOwGBCvGBCuGBGsGRGqGBGpGBGrFxCSIRmoFxCnFxCmFxCoFg+lFxCkFxGkFxCmFg+jFxClFg+iFxChFxCiFhCiFg+hFhCMHxihFg+gFg+dFxGfFhCMHhidFhCdFg+cFg+dFQ+cFQ+YFQ6UFhCTFQ+SFQ6JFA+AEg50FxJ/Eg1zFxJwFxJvFxKADAZ/DAZzEAxyEAyACgV/CgRwEAx8CwV9CgR8CgR7CgR6CgV5CgR3CgR2CgV2CgR0CQRzCQNyCQNxCQRwCQNnBwJiBgJhBgFZBgJbBQFFCgdDCgdCCQZMAwBLAwA+CAZJAwA6CQY2CAY1BwUzBwUxBwUAAADLKmhYAAAAAXRSTlMAQObYZgAAA3ZJREFUeNrtlcuK5FQch79zSdJVSWmJjotxo4LICCriDUUfxIXoU7hzIYgLn2Jc+xQyghsv9IgiCC2Cs+qrXTmVSs7N7iRV6YIqCDLL/qDyq48DP1Knkv8RpFjp6fliBfANn4Dy6n6EA47k87CCR+xCp57EK0/H8khQEjksfJW/GF/TXPDXwd35sikeshMNoDxrzOukzdsA/mcol8wWU9SCFXvQKCDQI/OEmMTuqzwonHKTKq0hK/YVeAVeRDpCCJ4U8BBUbFzDDJUZXLa3wMNAopRqPAoVrUJOPQsD5HUznbATwRZ346ckokGBvy/s0iGboDREXQV2IWGbJCEmiZQygVOpXAPCWqvkHXai2eLjX4OHFKLljVe/fW4V4Jfsrbph+ogxd5AUKAXeB5UWiZwjJVNnnJzN5ag7sCga8CnRexvIWYDNqY0KowpkjPRPghSydjUpnlpdUY8qCPweUQ/4EK+EgplnmiTPsJw6RhVMXgbL97wAkIqHTALls78BtWAn4t5LZ4HiR96Nl/LyYnIXnZufeNNpd7zI7qAlh7yTUS/+md67CHr2gPdLmdV//k2HdiZTGVQlT+POg0T4g4oVBVUZD6ron9TKmHnihftXpJlzOto5paBHs1QsPbXjhNWWVYIllhNv2zXRrk2W7qS1oaBJXaCKdcT52Bk4UWGvLPExuksnrAvdWkWstcVGenQ8BVhxhgDWdsxgpbhpcIbY/zJ9lLFG+eqVFYOpL8f8jWmByXH6+krsBlxR0g44xhQAOcPVvMeaHxj1MgmM6VsNQuYMvXJUQSTPAQzkqBDYENSoAg04A3k/4NigGFXgweiN2JIN5aiCYRsdgJyyYepH7gH55rfEsGTDMozeA0z/0UnBhiIZVeAMkBtDDsZZBrwdVSBygyHPXSsyMqyMG6qRnBzQmDyvAocRBbQDblRBU4FDEGFB0w04oS1Ayk7E517EQW1y05Tfb1/RoY/mkNS2sNdxrlrLuGlCRgaLmWuNHkmeIWdF2QZ0Mdj+6JGi1BN9Dl105rZMbxmdDQUUSJ6ii/PeDrpgfzAUXHr8hZu0kXRGF+u1wYa1cijQS86sqNqwna26OO0C2UborYvjoSBJVrOCiUxWqb/oDXkVYm3u2vx5a09kyLCaOdaIz/h/fL11NvLH6LPxOz7oz8ZbbrnlllseO/8B75fyEJNDhsMAAAAASUVORK5CYII=";var M0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABFFBMVEUAAAAySQsxSgY2UQczTQdFZA5IaQ9Jaw9KbBBGZQ9HZw9IaBBPchJVdCBWdR9MbhBRcBzr58X08MtfhSNUcx9Ucx1GZg5TcR/t6MedFhCvGBCMEQtLbBDn4sHb17j///9YeCBNcBBMbBTg273i4MD///TQOC5Rbx3Rzq729OVWdR27JBtPbxfT0LDh3r7l4cDo5MPg27pOcBJQcxPNyKTTzq3X1LTb2LhfhCR9fh01Twl/fx6HhSE6UQ03UAxIYhpCYA4WHwUzSwlBXg5qcBbV0bMmOgArPgYqPAYxRwtAXQ1BXQ8AAAA8Vg4eLAZFZBAZJAYYIwUdKgYaJgYcKgArQgAtRAAqQAAoPAAeLgApPgAZJgAMEV1YAAAAAXRSTlMAQObYZgAAAshJREFUeNrtlXtX2jAUwMFHkpZSpKAOENGpm9vc+/1+OBVhvBKgafb9v8fuTUsBbY9B9ye/E3O9gfx6c3NOyWQqDzJT+AyCC887OSlvAvlyuVQqZZKpVDMxvZhOu9fqeofWBDtnmQj4gIdjMBiIXvfgkBDCciyng4mgP0uLe3VCKQyEpFUw1wR4LucwIArRFpUaYZTazCaMMRsENyLEAMvnEPu8I6pPaoQWrIJFMJQNBHB+3oeBCt4TlWrtnqZer784PDIQ9GcBQaUSCjzPe/7sqYGARz3gcALe61arNbg/HLRQyOXNBBqMgw42Ee8PBmPEKhsJwibCX1+0u55HQyxCmZ1ftAen3PPw/ihshkqMrrEzpd1piYMDQqwQ27JMBN05fh4f5/P5DQRi6YOB4OzMggNTx7GJTe7vPaQUat/d3Vpf36J733/A6npEsZgoKBYdh2pylkXdbTy79fZNLspsOAjRsKKXLpg4XuW3dXz3Hud9yAiL8VIqaDghbMdxXrvbBcp2Ci8bbGffcXRWiAWPEgWNhuu6G4gLbXPLLuIdudNsEyk/3kipIDvDZfariIjecJmbWV0BYFrDaSV75Q1nIFjRoADJ/pml1zWsYBUnjFcELW5aAaIll3OCtjARrOFOnK4LOsZNRJJ6YCTQ6DZeE5wu1IPb3kLUvVUYt+4BjkgzX0HbpIJ4+xoK7tQDtFz2IqI3nIEgO8c3MSF8wxkI/i5AokApNZRjpaRSgRxfNCUEhQzjzFcqXE0WBMEwCMbjUYD/XDQDROnVSeaPxzqmCFQA+0GAEZ8JQUo1ycAzAkG4mlIBAmeAr8bPlLg6U0GYpgh83A8CPMNIVzBUSvnTehQIwtVEgYTvjlCg468miHxfhasXYab1EFN6IOVHOfZ9X8rfcvSpeS6/YAswA905BAkfnsvPUiYLggW4+2/jkiVLliz53/wDNukpDItbIB4AAAAASUVORK5CYII=";var A0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABBVBMVEUAAAApPgAeLgAoPAAqQAArQgAtRABFZA5GZQ9IaQ9HZw9Jaw9KbBBIaBBMbhBWdR/08MtUcx1VdCBUcx9RcBxPchLr58WdFhBNcBBfhSNLbBD///+MEQuvGBD///Tb17hTcR/n4sFIYhq7JBtGZg7QOC5fhCRPax3i4MDo5MNegCLg2737+vPU0LFhfSlPbxfl4cDh3r5/fx6HhSFqcBaIhiGFhCB0dxpafyE1SwkzSwlLahQXIQUWHwVYeCA3UAw1TwlBXg7V0bMmOgAxRwsrPgZBXQ8qPAZAXQ0AAAA8Vg5FZBAZJAYYIwUdKgYeLAYaJgYcKgA2UQcxSgYySQszTQcZJgB7eh3IAAAAAXRSTlMAQObYZgAAAsNJREFUeNrtlWdb4kAQgDfZJO6mQqKUi8J5XtFrXi9esQFyYAqg9/9/irObXSCxBfQj75NnlpHJu5MxCQjVX6AZf+IcL5vNahCsV6vrwf5+GKKbqCO0NcuS/mAwnNEkAoeY71ulBMM4juJIhqbjutSllNoOpbuVEoK4fz5PQCw427IsCh8qtwrmhpD0Utg4ksE3bSqw6WYd3U86iKI4TWUICKUuOCyXWJtbJQR8BudRLMO73b297UpGvaTgfJ7Wxw8VSX1nq5QghZ0jGXyHmPywXHezvlNqBmmaxpEMAc1wbJuSUkNM2BDjSAZf/AcJtWyzUikhKNwHTWrbtgkHdFFOkPSPe73BlCa1MohJyJsygt9w4ckMeJgCvwrPUhW45Vl4tsbaa7fJc0p//XgFn9eI4OQE5ajV1gSmScy/KOOpCRlpbzsOIdZrnklqtaKACFitJwX8cWm3LKDh80xyTdCyBbxWClzLdt3tsNFobGx4kG1MKQrehvYTARTLDgKPEYae5/u+x7N1jucVBWEIf64yeC26icOLHOINlwrQ/VxMJuPJ5FLG7A0HR0Y5AXApYzL8N08pwXg8AUSM+4sLciS9RQUd1vp4ImM6WKIDdiJEvibD5QQwATGD44fOYLjMDGB3znIzyFoXcZwsMcQxO5HFR7kPxBtugVv5sNPpXMzI3nB3P0z/c6j59K5S+eUZVlSs6FiBRetmGSR8VVAORVFG2IDIavWuFKgjVYVcZXTP+MJsjKJAZbUgV4HRVMBSDevsFL3LM13JijBGObjWUAzMVm0qYFrZwcHZiO8sOigKVAYI+JrrAHbUmPWnyCAH77UZsBrDMLA2YrVSoOiqxi5Bg+8Osgyuga8FAYYaHYaYrUdScIo/Y843zTiC7DvGuqad4i8YFzvA+BM2YDesfcVTgXoXKIea5+G/jStWrFix4rG5Atyu/TOf0H2DAAAAAElFTkSuQmCC";var k0e={"entity/chest/normal":E0e,"entity/chest/normal_left":M0e,"entity/chest/normal_right":A0e};h();p();m();h();p();m();var Oa=class{strictVersioned;data={latest:{}};previousVersion="";currentVersion="";inclusive=!0;constructor(e=!1){this.strictVersioned=e,e&&(this.data={})}get versionsSorted(){let e=Object.keys(this.data).filter(t=>t!=="latest").sort((t,n)=>this.semverToNumber(t)-this.semverToNumber(n));return this.strictVersioned||e.push("latest"),e}push(e,t,n){this.currentVersion||=e,this.currentVersion!==e&&(this.strictVersioned?this.previousVersion=this.currentVersion:this.previousVersion=this.previousVersion?this.currentVersion:"latest",this.currentVersion=e),this.data[this.previousVersion]?.[t]!==n&&(this.strictVersioned?(this.data[e]??={},this.data[e][t]=n):this.data.latest[t]?(this.data[e]??={},this.data[e][t]=n):this.data.latest[t]=n)}get(e,t,n=this.inclusive){let r=this.semverToNumber(e),s;for(let o of this.versionsSorted)if((n?r<=this.semverToNumber(o):r<this.semverToNumber(o))&&this.data[o]?.[t]){s=o;break}let a;return this.strictVersioned?a=this.data[s]?.[t]:this.data[s]?.[t]?a=this.data[s][t]:this.data.latest[t]&&(a=this.data.latest[t]),a&&typeof a=="object"?structuredClone(a):a}semverToNumber(e){let[t,n="0",r="0"]=e.split(".");return+`${t.padStart(2,"0")}${n.padStart(2,"0")}${r.padStart(2,"0")}`}loadData(e){this.data=e}};h();p();m();h();p();m();var Zn=class{oversized=!1;constructor(e=0,t=0,n=0,r=0,s=!1,a=void 0){this._width=e,this._height=t,this._x=n,this._y=r,this._data={},this._rot=s,this._allowRotation=a}static Collide(e,t){return e.collide(t)}static Contain(e,t){return e.contain(t)}area(){return this.width*this.height}collide(e){return e.x<this.x+this.width&&e.x+e.width>this.x&&e.y<this.y+this.height&&e.y+e.height>this.y}contain(e){return e.x>=this.x&&e.y>=this.y&&e.x+e.width<=this.x+this.width&&e.y+e.height<=this.y+this.height}_width;get width(){return this._width}set width(e){e!==this._width&&(this._width=e,this._dirty++)}_height;get height(){return this._height}set height(e){e!==this._height&&(this._height=e,this._dirty++)}_x;get x(){return this._x}set x(e){e!==this._x&&(this._x=e,this._dirty++)}_y;get y(){return this._y}set y(e){e!==this._y&&(this._y=e,this._dirty++)}_rot=!1;get rot(){return this._rot}set rot(e){if(this._allowRotation!==!1&&this._rot!==e){let t=this.width;this.width=this.height,this.height=t,this._rot=e,this._dirty++}}_allowRotation=void 0;get allowRotation(){return this._allowRotation}set allowRotation(e){this._allowRotation!==e&&(this._allowRotation=e,this._dirty++)}_data;get data(){return this._data}set data(e){e===null||e===this._data||(this._data=e,typeof e=="object"&&e.hasOwnProperty("allowRotation")&&(this._allowRotation=e.allowRotation),this._dirty++)}_dirty=0;get dirty(){return this._dirty>0}setDirty(e=!0){this._dirty=e?this._dirty+1:0}},q_=class{width;height;maxWidth;maxHeight;freeRects;rects;options;data;tag;_dirty=0;get dirty(){return this._dirty>0||this.rects.some(e=>e.dirty)}setDirty(e=!0){if(this._dirty=e?this._dirty+1:0,!e)for(let t of this.rects)t.setDirty&&t.setDirty(!1)}},hh=class i extends q_{maxWidth;maxHeight;padding;width;height;freeRects=[];rects=[];verticalExpand=!1;stage;border;options={smart:!0,pot:!0,square:!0,allowRotation:!1,tag:!1,exclusiveTag:!0,border:0,logic:rs.MAX_EDGE};constructor(e=G_,t=G_,n=0,r={}){super(),this.maxWidth=e,this.maxHeight=t,this.padding=n,this.options={...this.options,...r},this.width=this.options.smart?0:e,this.height=this.options.smart?0:t,this.border=this.options.border?this.options.border:0,this.freeRects.push(new Zn(this.maxWidth+this.padding-this.border*2,this.maxHeight+this.padding-this.border*2,this.border,this.border)),this.stage=new Zn(this.width,this.height)}add(...e){let t,n;if(e.length===1){if(typeof e[0]!="object")throw new Error("MacrectsBin.add(): Wrong parameters");n=e[0];let s=n.data&&n.data.tag?n.data.tag:n.tag?n.tag:void 0;if(this.options.tag&&this.options.exclusiveTag&&this.tag!==s)return}else{if(t=e.length>2?e[2]:null,this.options.tag&&this.options.exclusiveTag&&(t&&this.tag!==t.tag||!t&&this.tag))return;n=new Zn(e[0],e[1]),n.data=t,n.setDirty(!1)}let r=this.place(n);return r&&this.rects.push(r),r}repack(){let e=[];this.reset(),this.rects.sort((t,n)=>{let r=Math.max(n.width,n.height)-Math.max(t.width,t.height);return r===0&&t.hash&&n.hash?t.hash>n.hash?-1:1:r});for(let t of this.rects)this.place(t)||e.push(t);for(let t of e)this.rects.splice(this.rects.indexOf(t),1);return e.length>0?e:void 0}reset(e=!1,t=!1){e&&(this.data&&delete this.data,this.tag&&delete this.tag,this.rects=[],t&&(this.options={smart:!0,pot:!0,square:!0,allowRotation:!1,tag:!1,border:0})),this.width=this.options.smart?0:this.maxWidth,this.height=this.options.smart?0:this.maxHeight,this.border=this.options.border?this.options.border:0,this.freeRects=[new Zn(this.maxWidth+this.padding-this.border*2,this.maxHeight+this.padding-this.border*2,this.border,this.border)],this.stage=new Zn(this.width,this.height),this._dirty=0}clone(){let e=new i(this.maxWidth,this.maxHeight,this.padding,this.options);for(let t of this.rects)e.add(t);return e}place(e){let t=e.data&&e.data.tag?e.data.tag:e.tag?e.tag:void 0;if(this.options.tag&&this.options.exclusiveTag&&this.tag!==t)return;let n,r;if(e.hasOwnProperty("_allowRotation")&&e.allowRotation!==void 0?r=e.allowRotation:r=this.options.allowRotation,n=this.findNode(e.width+this.padding,e.height+this.padding,r),n){this.updateBinSize(n);let s=this.freeRects.length,a=0;for(;a<s;)this.splitNode(this.freeRects[a],n)&&(this.freeRects.splice(a,1),s--,a--),a++;return this.pruneFreeList(),this.verticalExpand=this.options.logic===rs.FILL_WIDTH?!1:this.width>this.height,e.x=n.x,e.y=n.y,e.rot===void 0&&(e.rot=!1),e.rot=n.rot?!e.rot:e.rot,this._dirty++,e}else if(this.verticalExpand){if(this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.border,this.height+this.padding-this.border))||this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.width+this.padding-this.border,this.border)))return this.place(e)}else if(this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.width+this.padding-this.border,this.border))||this.updateBinSize(new Zn(e.width+this.padding,e.height+this.padding,this.border,this.height+this.padding-this.border)))return this.place(e)}findNode(e,t,n){let r=Number.MAX_VALUE,s,a,o;for(let l in this.freeRects){if(a=this.freeRects[l],a.width>=e&&a.height>=t){if(this.options.logic===rs.MAX_AREA)s=a.width*a.height-e*t;else if(this.options.logic===rs.FILL_WIDTH){let c=a.x+a.y*this.maxWidth,u=this.freeRects.filter(f=>f.x+f.y*this.maxWidth<c).length,d=a.y+t-this.height;s=u+d}else s=Math.min(a.width-e,a.height-t);s<r&&(o=new Zn(e,t,a.x,a.y),r=s)}if(n&&a.width>=t&&a.height>=e){if(this.options.logic===rs.MAX_AREA)s=a.width*a.height-t*e;else if(this.options.logic===rs.FILL_WIDTH){let c=a.x+a.y*this.maxWidth,u=this.freeRects.filter(f=>f.x+f.y*this.maxWidth<c).length,d=a.y+e-this.height;s=u+d}else s=Math.min(a.height-e,a.width-t);s<r&&(o=new Zn(t,e,a.x,a.y,!0),r=s)}}return o}splitNode(e,t){if(!e.collide(t))return!1;if(t.x<e.x+e.width&&t.x+t.width>e.x){if(t.y>e.y&&t.y<e.y+e.height){let n=new Zn(e.width,t.y-e.y,e.x,e.y);this.freeRects.push(n)}if(t.y+t.height<e.y+e.height){let n=new Zn(e.width,e.y+e.height-(t.y+t.height),e.x,t.y+t.height);this.freeRects.push(n)}}if(t.y<e.y+e.height&&t.y+t.height>e.y){if(t.x>e.x&&t.x<e.x+e.width){let n=new Zn(t.x-e.x,e.height,e.x,e.y);this.freeRects.push(n)}if(t.x+t.width<e.x+e.width){let n=new Zn(e.x+e.width-(t.x+t.width),e.height,t.x+t.width,e.y);this.freeRects.push(n)}}return!0}pruneFreeList(){let e=0,t=0,n=this.freeRects.length;for(;e<n;){t=e+1;let r=this.freeRects[e];for(;t<n;){let s=this.freeRects[t];if(s.contain(r)){this.freeRects.splice(e,1),e--,n--;break}r.contain(s)&&(this.freeRects.splice(t,1),t--,n--),t++}e++}}updateBinSize(e){if(!this.options.smart||this.stage.contain(e))return!1;let t=Math.max(this.width,e.x+e.width-this.padding+this.border),n=Math.max(this.height,e.y+e.height-this.padding+this.border);if(this.options.allowRotation){let r=Math.max(this.width,e.x+e.height-this.padding+this.border),s=Math.max(this.height,e.y+e.width-this.padding+this.border);r*s<t*n&&(t=r,n=s)}return this.options.pot&&(t=Math.pow(2,Math.ceil(Math.log(t)*Math.LOG2E)),n=Math.pow(2,Math.ceil(Math.log(n)*Math.LOG2E))),this.options.square&&(t=n=Math.max(t,n)),t>this.maxWidth+this.padding||n>this.maxHeight+this.padding?!1:(this.expandFreeRects(t+this.padding,n+this.padding),this.width=this.stage.width=t,this.height=this.stage.height=n,!0)}expandFreeRects(e,t){this.freeRects.forEach((n,r)=>{n.x+n.width>=Math.min(this.width+this.padding-this.border,e)&&(n.width=e-n.x-this.border),n.y+n.height>=Math.min(this.height+this.padding-this.border,t)&&(n.height=t-n.y-this.border)},this),this.freeRects.push(new Zn(e-this.width-this.padding,t-this.border*2,this.width+this.padding-this.border,this.border)),this.freeRects.push(new Zn(e-this.border*2,t-this.height-this.padding,this.border,this.height+this.padding-this.border)),this.freeRects=this.freeRects.filter(n=>!(n.width<=0||n.height<=0||n.x<this.border||n.y<this.border)),this.pruneFreeList()}},A3=class i extends q_{width;height;data;maxWidth;maxHeight;options;rects=[];freeRects;constructor(...e){if(super(),e.length===1){if(typeof e[0]!="object")throw new Error("OversizedElementBin: Wrong parameters");let t=e[0];this.rects=[t],this.width=t.width,this.height=t.height,this.data=t.data,t.oversized=!0}else{this.width=e[0],this.height=e[1],this.data=e.length>2?e[2]:null;let t=new Zn(this.width,this.height);t.oversized=!0,t.data=this.data,this.rects.push(t)}this.freeRects=[],this.maxWidth=this.width,this.maxHeight=this.height,this.options={smart:!1,pot:!1,square:!1}}add(){}reset(e=!1){}repack(){}clone(){return new i(this.rects[0])}},G_=4096,rs;(function(i){i[i.MAX_AREA=0]="MAX_AREA",i[i.MAX_EDGE=1]="MAX_EDGE",i[i.FILL_WIDTH=2]="FILL_WIDTH"})(rs||(rs={}));var W_=class{width;height;padding;bins;options={smart:!0,pot:!0,square:!1,allowRotation:!1,tag:!1,exclusiveTag:!0,border:0,logic:rs.MAX_EDGE};constructor(e=G_,t=G_,n=0,r={}){this.width=e,this.height=t,this.padding=n,this.bins=[],this.options={...this.options,...r}}add(...e){if(e.length===1){if(typeof e[0]!="object")throw new Error("MacrectsPacker.add(): Wrong parameters");let t=e[0];if(!(t.width<=this.width&&t.height<=this.height||this.options.allowRotation&&t.width<=this.height&&t.height<=this.width))this.bins.push(new A3(t));else if(!this.bins.slice(this._currentBinIndex).find(r=>r.add(t)!==void 0)){let r=new hh(this.width,this.height,this.padding,this.options),s=t.data&&t.data.tag?t.data.tag:t.tag?t.tag:void 0;this.options.tag&&s&&(r.tag=s),r.add(t),this.bins.push(r)}return t}else{let t=new Zn(e[0],e[1]);if(e.length>2&&(t.data=e[2]),!(t.width<=this.width&&t.height<=this.height||this.options.allowRotation&&t.width<=this.height&&t.height<=this.width))this.bins.push(new A3(t));else if(!this.bins.slice(this._currentBinIndex).find(r=>r.add(t)!==void 0)){let r=new hh(this.width,this.height,this.padding,this.options);this.options.tag&&t.data.tag&&(r.tag=t.data.tag),r.add(t),this.bins.push(r)}return t}}addArray(e){if(!this.options.tag||this.options.exclusiveTag)this.sort(e,this.options.logic).forEach(t=>this.add(t));else{if(e.length===0)return;e.sort((s,a)=>{let o=s.data&&s.data.tag?s.data.tag:s.tag?s.tag:void 0,l=a.data&&a.data.tag?a.data.tag:a.tag?a.tag:void 0;return l===void 0?-1:o===void 0?1:l>o?-1:1});let t,n=0;if(!this.bins.slice(this._currentBinIndex).find((s,a)=>{let o=s.clone();for(let l=n;l<e.length;l++){let c=e[l],u=c.data&&c.data.tag?c.data.tag:c.tag?c.tag:void 0;if(l===0&&(t=u),u!==t)return t=u,this.sort(e.slice(n,l),this.options.logic).forEach(d=>s.add(d)),n=l,this.addArray(e.slice(l)),!0;if(u===void 0)return this.sort(e.slice(l),this.options.logic).forEach(d=>this.add(d)),n=e.length,!0;if(o.add(c)===void 0)return this.sort(e.slice(n,l),this.options.logic).forEach(d=>s.add(d)),n=l,!1}return this.sort(e.slice(n),this.options.logic).forEach(l=>s.add(l)),!0})){let s=e[n],a=new hh(this.width,this.height,this.padding,this.options),o=s.data&&s.data.tag?s.data.tag:s.tag?s.tag:void 0;this.options.tag&&this.options.exclusiveTag&&o&&(a.tag=o),this.bins.push(a),a.add(s),n++,this.addArray(e.slice(n))}}}reset(){this.bins=[],this._currentBinIndex=0}repack(e=!0){if(e){let n=[];for(let r of this.bins)if(r.dirty){let s=r.repack();s&&n.push(...s)}this.addArray(n);return}if(!this.dirty)return;let t=this.rects;this.reset(),this.addArray(t)}next(){return this._currentBinIndex=this.bins.length,this._currentBinIndex}load(e){e.forEach((t,n)=>{if(t.maxWidth>this.width||t.maxHeight>this.height)this.bins.push(new A3(t.width,t.height,{}));else{let r=new hh(this.width,this.height,this.padding,t.options);r.freeRects.splice(0),t.freeRects.forEach((s,a)=>{r.freeRects.push(new Zn(s.width,s.height,s.x,s.y))}),r.width=t.width,r.height=t.height,t.tag&&(r.tag=t.tag),this.bins[n]=r}},this)}save(){let e=[];return this.bins.forEach(t=>{let n={width:t.width,height:t.height,maxWidth:t.maxWidth,maxHeight:t.maxHeight,freeRects:[],rects:[],options:t.options};t.tag&&(n={...n,tag:t.tag}),t.freeRects.forEach(r=>{n.freeRects.push({x:r.x,y:r.y,width:r.width,height:r.height})}),e.push(n)}),e}sort(e,t=rs.MAX_EDGE){return e.slice().sort((n,r)=>{let s=t===rs.MAX_EDGE?Math.max(r.width,r.height)-Math.max(n.width,n.height):r.width*r.height-n.width*n.height;return s===0&&n.hash&&r.hash?n.hash>r.hash?-1:1:s})}_currentBinIndex=0;get currentBinIndex(){return this._currentBinIndex}get dirty(){return this.bins.some(e=>e.dirty)}get rects(){let e=[];for(let t of this.bins)e.push(...t.rects);return e}};var j_=16384;function T0e(i){return i===0?1:(i--,i|=i>>1,i|=i>>2,i|=i>>4,i|=i>>8,i|=i>>16,i+1)}var I0e=({input:i,getLoadedImage:e,tileSize:t=16,getCanvas:n=s=>typeof document<"u"&&document.createElement?document.createElement("canvas"):new globalThis.Canvas(s,s,"png"),needHorizontalIndexes:r=!1})=>{let s=[...new Set(i)].map(_=>{let x=e(_),w;if(x.image)w=x.image;else if(x.contents)w=new Image,w.src=x.contents;else throw new Error("No image or contents");let S=t*(x.tileWidthMult??1),A=t;if(x.useOriginalSize||x.renderWidth||x.renderHeight){let T=x.renderWidth??w.width,P=x.renderHeight??w.height;S=Math.ceil(T/t)*t,A=Math.ceil(P/t)*t}return{keyValue:_,img:w,inputData:x,renderWidth:S,renderHeight:A,renderSourceWidth:x.useOriginalSize?w.width:x.renderSourceWidth??Math.min(w.width,w.height),renderSourceHeight:x.useOriginalSize?w.height:x.renderSourceHeight??Math.min(w.width,w.height),renderSourceStartX:x.renderSourceStartX??0,renderSourceStartY:x.renderSourceStartY??0}}),a=new W_(void 0,void 0,0,{square:!0,pot:!0,...r?{}:{smart:!0},logic:r?rs.FILL_WIDTH:rs.MAX_AREA}),o=s.map(_=>{let x=new Zn(_.renderWidth,_.renderHeight);return x.data=_,x});a.addArray(o);let l=a.bins[0];if(!l||!l.rects||!l.rects.length)throw new Error("Failed to pack textures");let c={width:l.width,height:l.height,coords:l.rects.map(_=>({x:_.x,y:_.y,img:{data:_.data}}))},u=new Set;for(let _ of c.coords){let x=_.img.data;if(u.has(x.keyValue))throw new Error(`Duplicate texture keyValue found in atlas: ${x.keyValue}`);u.add(x.keyValue)}if(u.size!==i.length)throw new Error(`Lost some textures in packing: ${i.length-u.size}`);let d=Math.max(T0e(c.width),T0e(c.height));if(d>j_){let _=s.reduce((w,S)=>{let A=`${S.renderWidth}x${S.renderHeight}`;return w[A]=(w[A]||0)+1,w},{}),x=Object.entries(_).sort(([,w],[,S])=>S-w).map(([w,S])=>`${w}(${S})`).join(", ");throw new Error(`Required atlas size ${d} exceeds maximum ${j_}. Texture sizes: ${x}`)}let f=n(d);f.width=d,f.height=d;let v=f.getContext("2d");v.imageSmoothingEnabled=!1;let g={},b=t/d,y=Math.ceil(d/t);for(let _ of c.coords){let x=_.img.data,w=_.x,S=_.y,A=Math.floor(S/t),T=Math.floor(w/t),P=A*y+T;try{v.drawImage(x.img,x.renderSourceStartX,x.renderSourceStartY,x.renderSourceWidth,x.renderSourceHeight,w,S,x.renderWidth,x.renderHeight)}catch(B){throw new Error(`Error drawing ${x.keyValue}: ${B}`)}let I=x.keyValue.split(".").slice(0,-1).join(".")||x.keyValue,k=x.renderWidth/d,L=x.renderHeight/d;g[I]={u:w/d,v:S/d,tileIndex:P,...k==b&&L==b?{}:{su:k,sv:L}}}return{canvas:f,json:{suSv:b,tileSize:t,width:d,height:d,textures:g}}};h();p();m();var TE=i=>{i=i.split("-")[0];let[e,t="0",n="0"]=i.split(".");return parseInt(`${e.padStart(2,"0")}${t.padStart(2,"0")}${n.padStart(2,"0")}`,10)},Hu=async i=>{let e=new Image;return e.crossOrigin="anonymous",e.src=i,e.complete||await new Promise((t,n)=>{e.onload=t,e.onerror=n}),e};var Ys=class i{atlasJson;latestImage;legacyImage;atlasStore;atlasHasLegacyImage;static getTextureInfo(e,t,n,r="latest"){let s=e.get(r,n);if(!s)return;let a=(s.imageType==="latest"?t.latest:t.legacy).suSv;return{...s,su:s?.su??a,sv:s?.sv??a}}constructor(e,t,n){this.atlasJson=e,this.latestImage=t,this.legacyImage=n,this.atlasStore=new Oa,this.atlasStore.inclusive=!1;let r=e,s=(a,o,l,c)=>{for(let[u,d]of Object.entries(l))a.push(o,u,{...d,version:o,imageType:c})};if(s(this.atlasStore,"latest",r.latest.textures,"latest"),this.atlasHasLegacyImage=!!n,n&&r.legacy)for(let a of Object.keys(r.legacy.textures)){let[o,l]=a.split("/");s(this.atlasStore,o,{[l]:r.legacy.textures[a]},"legacy")}}get atlas(){return this.atlasJson}getTextureInfo(e,t="latest"){let n=i.getTextureInfo(this.atlasStore,this.atlas,e,t);if(n)return{...n,getLoadedImage:async()=>await Hu(n.imageType==="latest"?this.latestImage:this.legacyImage),getLoadedAtlasImage:async()=>await Hu(n.imageType==="latest"?this.latestImage:this.legacyImage)}}async makeNewAtlas(e,t,n=this.atlas.latest.tileSize,r,s=[],a={}){let o=this.atlasJson,l={},c=this.atlasHasLegacyImage?await Hu(this.legacyImage):null,u=await Hu(this.latestImage);for(let b of new Set([...Object.keys(o.latest.textures),...s])){let y=t?.(b);if(y===!1)continue;if(y&&y!==!0){let I=typeof y=="string"?await Hu(y):y;l[b]={u:0,v:0,su:1,sv:1,img:I};continue}let _=this.getTextureInfo(b,e);if(!_)throw new Error(`Missing texture info from the provided atlas for ${b} and not custom data is provided`);let{u:x,v:w,su:S,sv:A}=_,T=_.version==="latest"?o.latest:o.legacy,P=_.imageType==="latest"?u:c;if(!P)throw new Error(`Missing image for ${b}`);l[b]={u:x,v:w,su:S??T.suSv,sv:A??T.suSv,img:P}}let d=Object.keys(l);if(r){let b=typeof r=="function"?r:y=>r.includes(y)?1:-1;d.sort((y,_)=>b(_)-b(y))}let{json:f,canvas:v}=I0e({input:d,getLoadedImage:b=>{let y=l[b],_=y.img,x=_.width,w=_.height;return delete y.img,{image:_,renderWidth:y.su*x,renderHeight:y.sv*w,renderSourceStartX:y.u*x,renderSourceStartY:y.v*w,renderSourceWidth:y.su*x,renderSourceHeight:y.sv*w}},tileSize:this.atlas.latest.tileSize,...a}),g;return{canvas:v,atlas:f,get newAtlasParser(){return g||(g=new i({latest:f},v.toDataURL())),g},get image(){return v.toDataURL()}}}async createDebugImage(e=!1){let t=this.atlas.latest;if(t.width!==t.height)throw new Error("Atlas must be square");let r=Math.min(j_,t.width*(e?6:1))/t.width,s=t.height*r,a=t.width*r,o=globalThis.Canvas?new globalThis.Canvas(a,s):document.createElement("canvas");o.width=a,o.height=s;let l=o.getContext("2d");l.imageSmoothingEnabled=!1,l.webkitImageSmoothingEnabled=!1,l.mozImageSmoothingEnabled=!1,l.msImageSmoothingEnabled=!1;let c=await Hu(this.latestImage);l.drawImage(c,0,0,t.width,t.height,0,0,a,s),l.strokeStyle="#ff0000",l.lineWidth=2;let u=Object.keys(t.textures),d=u.length,f=0;return u.forEach((v,g)=>{let b=t.textures[v],y=Math.floor(g/d*100);y>=f+10&&(console.log(`Processing textures: ${y}% (${g}/${d})`),f=y);let _=b.u*t.width*r,x=b.v*t.height*r,w=(b.su||t.suSv)*t.width*r,S=(b.sv||t.suSv)*t.height*r,A=l.createPattern((()=>{let T=globalThis.Canvas?new globalThis.Canvas(10,10):document.createElement("canvas");T.width=10,T.height=10;let P=T.getContext("2d");return P.fillStyle="#ff0000",P.fillRect(0,0,5,10),P.fillStyle="#ffff00",P.fillRect(5,0,5,10),T})(),"repeat");if(l.strokeStyle=A,l.strokeRect(_,x,w,S),e){let T=v,P=4,I=w-P*2,k=12;do{if(l.font=`${k}px monospace`,l.measureText(T).width<=I||k<=6)break;k-=1}while(k>6);l.fillStyle="white",l.strokeStyle="black",l.lineWidth=Math.max(1,k/6),l.textBaseline="top";let L=_+P,B=x+P,U=T.split(/(?=[A-Z_/])/g),O="",V=[];for(let J of U){let $=O+J;l.measureText($).width>I&&O!==""?(V.push(O),O=J):O=$}V.push(O);let F=k*1.2;V.forEach((J,$)=>{l.strokeText(J,L,B+$*F),l.fillText(J,L,B+$*F)})}}),console.log(`Processing textures: 100% (${d}/${d})`),o.toDataURL()}};h();p();m();h();p();m();var R0e=i=>{let e=i.split(":");return e.length===1?"minecraft":e.length===2?e[0]:e.slice(0,-1).join(":")},mh=class{version;blockStatesStore;blockModelsStore;stateIdToElements={};constructor(e,t,n){this.version=e,this.blockStatesStore=t,this.blockModelsStore=n}getElementsCached(e){let{stateId:t}=e;if(this.stateIdToElements[t])return this.stateIdToElements[t];let n=this.getElements(e),r=n===0?[]:n;return this.stateIdToElements[t]=r,r}parseProperties(e){if(typeof e=="object")return e;let t={};for(let n of e.split(",")){let[r,s]=n.split("=");t[r]=s}return t}getElements(e,t=!1){let n=this.getResolvedModelFirst(e,t);if(!n)return 0;let r=[];for(let a of n)a?.elements&&r.push(...a.elements.map(({from:o,to:l})=>[o,l]));return r.length===1&&C0e(r[0][0],[0,0,0])&&C0e(r[0][1],[16,16,16])?1:r}resolvedModel={modelName:""};issues=[];matchedModels=[];matchedConditions=[];getModelsByBlock(e,t,n){this.matchedModels=[],this.matchedConditions=[];let r=(d,f)=>{if(!f)return!0;typeof f=="string"&&(f=this.parseProperties(f));let v=d.properties;if(f.OR)return f.OR.some(g=>r(d,g));if(f.AND)return f.AND.every(g=>r(d,g));for(let g in f)if(typeof f[g]!="string"&&(f[g]=String(f[g])),!f[g].split("|").some(b=>b===String(v[g])))return!1;return!0},s=[],a=this.blockStatesStore.get(this.version,e.name);if(!a){this.issues.push(`Block ${e.name} not found in all registered blockstates. Place it into assets/${R0e(e.name)}/blockstates/${e.name}.json`);return}let o=a.variants,l=!1;if(o){let d=o[""]||o.normal;for(let f in o)if(f!==""&&r(e,f)){d=o[f];break}if(d){let f=Object.entries(o).find(([v])=>d===o[v])?.[0];this.matchedConditions.push(`variant:${f}`)}if(!d)if(t){let f=Object.keys(o)[0];d=o[f],this.matchedConditions.push(`fallback:${f}`)}else return;d&&(s.push(d),l=!0)}if(a.multipart){for(let{when:d,apply:f}of a.multipart)(!d||r(e,d))&&(s.push(f),this.matchedConditions.push(d?`multipart:${JSON.stringify(d)}`:"multipart:always"));if(!s.length&&t){let f=a.multipart.filter(v=>v.when)[0]?.apply;f&&(s.push(f),this.matchedConditions.push("multipart:fallback"))}}if(!s.length){if(!l){let d=Object.keys(o??{}).length;d?this.issues.push(`Block did not match any possible state (${d} possible states)`):this.issues.push(`Blockstates for ${e.name} are not defined`)}return}let c=[],u=0;for(let d of s){u++;let f=0;c.push([]);for(let v of Array.isArray(d)?d:[d])if(f++,this.resolvedModel={modelName:v.model??e.name,x:v.x,y:v.y,z:v.z,uvlock:v.uvlock,weight:v.weight},!!v&&(this.getResolvedModelsByModel(v.model,e.name+"-"+u+"-"+f,!1),c[c.length-1].push(this.resolvedModel),!n&&c[c.length-1].length>0))break}return c}getModelData(e){return this.blockModelsStore.get(this.version,e.replace("minecraft:",""))}getResolvedModelsByModel(e,t,n=!0){n&&(this.resolvedModel={modelName:this.resolvedModel.modelName});let r=this.getModelData(e);if(!r){this.issues.push(`Model ${e} not found. Ensure it is present in assets/${R0e(e)}/models/${e}.json`);return}return this.matchedModels.push(e),this.getResolvedModelsByModelData(r,t,n)}getResolvedModelsByModelData(e,t,n=!0){n&&(this.resolvedModel={modelName:this.resolvedModel.modelName});let r=[],s=o=>{if(r.push(o),o.parent){let l=this.getModelData(o.parent);if(!l){this.issues.push(`Parent model ${o.parent} not found for ${t}`);return}this.matchedModels.push(`parent:${o.parent}`),s(l)}};s(e),r.reverse();for(let o of r){if(o.textures){this.resolvedModel.textures??={};for(let[l,c]of Object.entries(o.textures)){if(c.includes("#")&&(c=c.split("/").at(-1)),c.startsWith("#")){let u=c.slice(1);this.resolvedModel.textures[u]&&(c=this.resolvedModel.textures[u])}this.resolvedModel.textures[l]=c}}o.elements&&(this.resolvedModel.elements=o.elements);for(let[l,c]of Object.entries(o))l!=="elements"&&l!=="textures"&&l!=="parent"&&(this.resolvedModel[l]&&typeof this.resolvedModel[l]=="object"&&c&&typeof c=="object"?Object.assign(this.resolvedModel[l],c):this.resolvedModel[l]=c)}let a=(o,l,c)=>{if(c.push(l),o.includes("#")){if(o=o.split("/").at(-1).replace("#",""),this.resolvedModel.textures??={},c.includes(o)){this.issues.push(`${t}: Circular texture reference detected: ${c.join(" -> ")}`);return}let u=this.resolvedModel.textures[o];if(u)return a(u,o,c);this.issues.push(`${t}: Cannot resolve texture ${o} for ${l} because it is not defined`);return}return o};for(let[o,l]of Object.entries(this.resolvedModel.textures??{})){if(!l.includes("#"))continue;let c=a(l,o,[]);c?this.resolvedModel.textures[o]=c:delete this.resolvedModel.textures[o]}for(let o of this.resolvedModel.elements??[])for(let[l,c]of Object.entries(o.faces??{}))c.texture&&(c.texture=this.resolvedModel.textures[c.texture.replace("#","")]??c.texture);return{resolvedModel:this.resolvedModel}}getResolvedModelFirst(e,t=!1){return this.getModelsByBlock(e,t,!1)?.map(n=>n[0])}getResolvedModelRandom(e,t=!1){return this.getModelsByBlock(e,t,!1)?.map(n=>n[Math.floor(Math.random()*n.length)])}getAllResolvedModels(e,t=!1){return this.getModelsByBlock(e,t,!0)}},C0e=(i,e)=>!!i&&!!e&&i.length===e.length&&i.every((t,n)=>t===e[n]);h();p();m();var qEe=new Oa,GEe=new Oa,WEe=new Oa;qEe.inclusive=!1;GEe.inclusive=!1;WEe.inclusive=!1;var X_=i=>{let e=new Oa;return e.inclusive=!1,e.loadData(i.blockstates),e},$_=i=>{let e=new Oa;return e.inclusive=!1,e.loadData(i.models),e},Y_=i=>{let e=new Oa;return e.inclusive=!1,e.loadData(i),e};function J_(i,e,t){let n=X_(i),r=$_(i),s=new mh(t,n,r),a=new Ys(e,"latest","legacy"),o=c=>a.getTextureInfo(c.replace("block/","").replace("blocks/",""),t),l=(c,u,d)=>{let{elements:f,textures:v,...g}=c;return{elements:f?.map((b,y)=>{try{return{...b,faces:Object.fromEntries(Object.entries(b.faces).map(([_,x])=>{let w=x.texture;if(!w)throw new Error(`Missing resolved texture ${w} for face ${_} of ${u.name}`);let S=o(w);if(!S)throw new Error(`Missing texture data ${w} for ${u.name}`);let A=b.from,T=b.to,P=16,I=x.uv||{north:[T[0],P-T[1],A[0],P-A[1]],east:[A[2],P-T[1],T[2],P-A[1]],south:[A[0],P-T[1],T[0],P-A[1]],west:[A[2],P-T[1],T[2],P-A[1]],up:[A[0],A[2],T[0],T[2]],down:[T[0],A[2],A[0],T[2]]}[_],k=(I[2]-I[0])/P*S.su,L=(I[3]-I[1])/P*S.sv;return[_,{...x,texture:{u:S.u+I[0]/16*S.su,v:S.v+I[1]/16*S.sv,su:k,sv:L,tileIndex:S.tileIndex,debugName:w}}]}))}}catch(_){return d?.push(`Error processing element ${y} in ${u.name}: ${_.message}`),null}}).filter(b=>b!==null),...g}};return{getAllResolvedModels0_1(c,u=!1,d=[],f=[],v=[],g=!1){s.issues=[],s.matchedModels=[],s.matchedConditions=[];let b=s.getAllResolvedModels(c,u)??[];if(d.push(...s.issues),f.push(...s.matchedModels),v.push(...s.matchedConditions),!b.length)return d.push(`No models found for block ${c.name}`),[];let y=["north","east","south","west","up","down"];try{let _=b.map(x=>x.map(w=>{try{return l(w,c,g?d:void 0)}catch(S){return d.push(`Error transforming model for ${c.name}: ${S.message}`),null}}).filter(w=>w?.elements?.length)).filter(x=>x.length);return _.length||d.push(`No valid models after transformation for block ${c.name}`),_}catch(_){return d.push(`Fatal error processing models for ${c.name}: ${_.message}`),[]}},transformModel:l,getTextureInfo:o}}h();p();m();Lt();var LE=Yr(P0e(),1);h();p();m();h();p();m();var K_=class{constructor(e,t,n){this.name=e,this.fg=t,this.bg=n,this.PR=Math.round(window.devicePixelRatio||1),this.WIDTH=90*this.PR,this.HEIGHT=48*this.PR,this.TEXT_X=3*this.PR,this.TEXT_Y=2*this.PR,this.GRAPH_X=3*this.PR,this.GRAPH_Y=15*this.PR,this.GRAPH_WIDTH=84*this.PR,this.GRAPH_HEIGHT=30*this.PR,this.canvas=document.createElement("canvas"),this.canvas.width=90*this.PR,this.canvas.height=48*this.PR,this.canvas.style.width="90px",this.canvas.style.position="absolute",this.canvas.style.height="48px",this.canvas.style.cssText="width:90px;height:48px",this.context=this.canvas.getContext("2d"),this.context&&(this.context.font="bold "+9*this.PR+"px Helvetica,Arial,sans-serif",this.context.textBaseline="top",this.context.fillStyle=this.bg,this.context.fillRect(0,0,this.WIDTH,this.HEIGHT),this.context.fillStyle=this.fg,this.context.fillText(this.name,this.TEXT_X,this.TEXT_Y),this.context.fillRect(this.GRAPH_X,this.GRAPH_Y,this.GRAPH_WIDTH,this.GRAPH_HEIGHT),this.context.fillStyle=this.bg,this.context.globalAlpha=.9,this.context.fillRect(this.GRAPH_X,this.GRAPH_Y,this.GRAPH_WIDTH,this.GRAPH_HEIGHT))}update(e,t,n,r,s=0){let a=1/0,o=0;this.context&&(a=Math.min(a,e),o=Math.max(n,e),r=Math.max(r,t),this.context.fillStyle=this.bg,this.context.globalAlpha=1,this.context.fillRect(0,0,this.WIDTH,this.GRAPH_Y),this.context.fillStyle=this.fg,this.context.fillText(e.toFixed(s)+" "+this.name+" ("+a.toFixed(s)+"-"+parseFloat(o.toFixed(s))+")",this.TEXT_X,this.TEXT_Y),this.context.drawImage(this.canvas,this.GRAPH_X+this.PR,this.GRAPH_Y,this.GRAPH_WIDTH-this.PR,this.GRAPH_HEIGHT,this.GRAPH_X,this.GRAPH_Y,this.GRAPH_WIDTH-this.PR,this.GRAPH_HEIGHT),this.context.fillRect(this.GRAPH_X+this.GRAPH_WIDTH-this.PR,this.GRAPH_Y,this.PR,this.GRAPH_HEIGHT),this.context.fillStyle=this.bg,this.context.globalAlpha=.9,this.context.fillRect(this.GRAPH_X+this.GRAPH_WIDTH-this.PR,this.GRAPH_Y,this.PR,(1-t/r)*this.GRAPH_HEIGHT))}};var L0e=class Z_{constructor({logsPerSecond:e=20,samplesLog:t=100,samplesGraph:n=10,precision:r=2,minimal:s=!1,horizontal:a=!0,mode:o=0}={}){this.mode=o,this.horizontal=a,this.container=document.createElement("div"),this.container.style.cssText="position:fixed;top:0;left:0;opacity:0.9;z-index:10000;",s&&(this.container.style.cssText+="cursor:pointer"),this.gl=null,this.query=null,this.minimal=s,this.beginTime=(performance||Date).now(),this.prevTime=this.beginTime,this.prevCpuTime=this.beginTime,this.frames=0,this.averageCpu={logs:[],graph:[]},this.averageGpu={logs:[],graph:[]},this.queryCreated=!1,this.fpsPanel=this.addPanel(new Z_.Panel("FPS","#0ff","#002"),0),this.msPanel=this.addPanel(new Z_.Panel("CPU","#0f0","#020"),1),this.gpuPanel=null,this.samplesLog=t,this.samplesGraph=n,this.precision=r,this.logsPerSecond=e,this.minimal?(this.container.addEventListener("click",l=>{l.preventDefault(),this.showPanel(++this.mode%this.container.children.length)},!1),this.mode=o,this.showPanel(this.mode)):window.addEventListener("resize",()=>{this.resizePanel(this.fpsPanel,0),this.resizePanel(this.msPanel,1),this.gpuPanel&&this.resizePanel(this.gpuPanel,2)})}resizePanel(e,t){e.canvas.style.position="absolute",this.minimal?e.canvas.style.display="none":(e.canvas.style.display="block",this.horizontal?(e.canvas.style.top="0px",e.canvas.style.left=t*e.WIDTH/e.PR+"px"):(e.canvas.style.left="0px",e.canvas.style.top=t*e.HEIGHT/e.PR+"px"))}addPanel(e,t){return e.canvas&&(this.container.appendChild(e.canvas),this.resizePanel(e,t)),e}showPanel(e){for(let t=0;t<this.container.children.length;t++){let n=this.container.children[t];n.style.display=t===e?"block":"none"}this.mode=e}init(e){if(!e){console.error('Stats: The "canvas" parameter is undefined.');return}if(e instanceof WebGL2RenderingContext)this.gl=e;else if(e instanceof HTMLCanvasElement||e instanceof OffscreenCanvas){if(this.gl=e.getContext("webgl2"),!this.gl){console.error("Stats: Unable to obtain WebGL2 context.");return}}else{console.error("Stats: Invalid input type. Expected WebGL2RenderingContext, HTMLCanvasElement, or OffscreenCanvas.");return}this.ext=this.gl.getExtension("EXT_disjoint_timer_query_webgl2"),this.ext&&(this.gpuPanel=this.addPanel(new Z_.Panel("GPU","#ff0","#220"),2))}begin(){if(this.beginProfiling("cpu-started"),!(!this.gl||!this.ext)){if(this.query){let e=this.gl.getQueryParameter(this.query,this.gl.QUERY_RESULT_AVAILABLE);if(this.disjoint=this.gl.getParameter(this.ext.GPU_DISJOINT_EXT),e&&!this.disjoint){this.ns=this.gl.getQueryParameter(this.query,this.gl.QUERY_RESULT);let t=this.ns*1e-6;(e||this.disjoint)&&(this.gl.deleteQuery(this.query),this.query=null),e&&this.addToAverage(t,this.averageGpu)}}this.query||(this.queryCreated=!0,this.query=this.gl.createQuery(),this.query&&this.gl.beginQuery(this.ext.TIME_ELAPSED_EXT,this.query))}}end(){this.beginTime=this.endInternal(),this.endProfiling("cpu-started","cpu-finished","cpu-duration",this.averageCpu),!(!this.gl||!this.ext)&&this.queryCreated&&this.gl.getQuery(this.ext.TIME_ELAPSED_EXT,this.gl.CURRENT_QUERY)&&this.gl.endQuery(this.ext.TIME_ELAPSED_EXT)}endInternal(){this.frames++;let e=(performance||Date).now();if(e>=this.prevCpuTime+1e3/this.logsPerSecond&&(this.updatePanel(this.msPanel,this.averageCpu),this.updatePanel(this.gpuPanel,this.averageGpu),this.prevCpuTime=e),e>=this.prevTime+1e3){let t=this.frames*1e3/(e-this.prevTime);this.fpsPanel.update(t,t,100,100,0),this.prevTime=e,this.frames=0}return e}addToAverage(e,t){t.logs.push(e),t.logs.length>this.samplesLog&&t.logs.shift(),t.graph.push(e),t.graph.length>this.samplesGraph&&t.graph.shift()}beginProfiling(e){window.performance&&window.performance.mark(e)}endProfiling(e,t,n,r){if(window.performance&&t){window.performance.mark(t);let s=performance.measure(n,e,t);this.addToAverage(s.duration,r)}}updatePanel(e,t){if(t.logs.length>0){let n=0,r=.01;for(let o=0;o<t.logs.length;o++)n+=t.logs[o],t.logs[o]>r&&(r=t.logs[o]);let s=0,a=.01;for(let o=0;o<t.graph.length;o++)s+=t.graph[o],t.graph[o]>a&&(a=t.graph[o]);e&&e.update(n/Math.min(t.logs.length,this.samplesLog),s/Math.min(t.graph.length,this.samplesGraph),r,a,this.precision)}}};L0e.Panel=K_;var B0e=L0e;h();p();m();var Br=Object.freeze({Linear:Object.freeze({None:function(i){return i},In:function(i){return this.None(i)},Out:function(i){return this.None(i)},InOut:function(i){return this.None(i)}}),Quadratic:Object.freeze({In:function(i){return i*i},Out:function(i){return i*(2-i)},InOut:function(i){return(i*=2)<1?.5*i*i:-.5*(--i*(i-2)-1)}}),Cubic:Object.freeze({In:function(i){return i*i*i},Out:function(i){return--i*i*i+1},InOut:function(i){return(i*=2)<1?.5*i*i*i:.5*((i-=2)*i*i+2)}}),Quartic:Object.freeze({In:function(i){return i*i*i*i},Out:function(i){return 1- --i*i*i*i},InOut:function(i){return(i*=2)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2)}}),Quintic:Object.freeze({In:function(i){return i*i*i*i*i},Out:function(i){return--i*i*i*i*i+1},InOut:function(i){return(i*=2)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2)}}),Sinusoidal:Object.freeze({In:function(i){return 1-Math.sin((1-i)*Math.PI/2)},Out:function(i){return Math.sin(i*Math.PI/2)},InOut:function(i){return .5*(1-Math.sin(Math.PI*(.5-i)))}}),Exponential:Object.freeze({In:function(i){return i===0?0:Math.pow(1024,i-1)},Out:function(i){return i===1?1:1-Math.pow(2,-10*i)},InOut:function(i){return i===0?0:i===1?1:(i*=2)<1?.5*Math.pow(1024,i-1):.5*(-Math.pow(2,-10*(i-1))+2)}}),Circular:Object.freeze({In:function(i){return 1-Math.sqrt(1-i*i)},Out:function(i){return Math.sqrt(1- --i*i)},InOut:function(i){return(i*=2)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1)}}),Elastic:Object.freeze({In:function(i){return i===0?0:i===1?1:-Math.pow(2,10*(i-1))*Math.sin((i-1.1)*5*Math.PI)},Out:function(i){return i===0?0:i===1?1:Math.pow(2,-10*i)*Math.sin((i-.1)*5*Math.PI)+1},InOut:function(i){return i===0?0:i===1?1:(i*=2,i<1?-.5*Math.pow(2,10*(i-1))*Math.sin((i-1.1)*5*Math.PI):.5*Math.pow(2,-10*(i-1))*Math.sin((i-1.1)*5*Math.PI)+1)}}),Back:Object.freeze({In:function(i){var e=1.70158;return i===1?1:i*i*((e+1)*i-e)},Out:function(i){var e=1.70158;return i===0?0:--i*i*((e+1)*i+e)+1},InOut:function(i){var e=2.5949095;return(i*=2)<1?.5*(i*i*((e+1)*i-e)):.5*((i-=2)*i*((e+1)*i+e)+2)}}),Bounce:Object.freeze({In:function(i){return 1-Br.Bounce.Out(1-i)},Out:function(i){return i<.36363636363636365?7.5625*i*i:i<.7272727272727273?7.5625*(i-=.5454545454545454)*i+.75:i<.9090909090909091?7.5625*(i-=.8181818181818182)*i+.9375:7.5625*(i-=.9545454545454546)*i+.984375},InOut:function(i){return i<.5?Br.Bounce.In(i*2)*.5:Br.Bounce.Out(i*2-1)*.5+.5}}),generatePow:function(i){return i===void 0&&(i=4),i=i<Number.EPSILON?Number.EPSILON:i,i=i>1e4?1e4:i,{In:function(e){return Math.pow(e,i)},Out:function(e){return 1-Math.pow(1-e,i)},InOut:function(e){return e<.5?Math.pow(e*2,i)/2:(1-Math.pow(2-e*2,i))/2+.5}}}}),k3=function(){return performance.now()},vh=function(){function i(){this._tweens={},this._tweensAddedDuringUpdate={}}return i.prototype.getAll=function(){var e=this;return Object.keys(this._tweens).map(function(t){return e._tweens[t]})},i.prototype.removeAll=function(){this._tweens={}},i.prototype.add=function(e){this._tweens[e.getId()]=e,this._tweensAddedDuringUpdate[e.getId()]=e},i.prototype.remove=function(e){delete this._tweens[e.getId()],delete this._tweensAddedDuringUpdate[e.getId()]},i.prototype.update=function(e,t){e===void 0&&(e=k3()),t===void 0&&(t=!1);var n=Object.keys(this._tweens);if(n.length===0)return!1;for(;n.length>0;){this._tweensAddedDuringUpdate={};for(var r=0;r<n.length;r++){var s=this._tweens[n[r]],a=!t;s&&s.update(e,a)===!1&&!t&&delete this._tweens[n[r]]}n=Object.keys(this._tweensAddedDuringUpdate)}return!0},i}(),ph={Linear:function(i,e){var t=i.length-1,n=t*e,r=Math.floor(n),s=ph.Utils.Linear;return e<0?s(i[0],i[1],n):e>1?s(i[t],i[t-1],t-n):s(i[r],i[r+1>t?t:r+1],n-r)},Bezier:function(i,e){for(var t=0,n=i.length-1,r=Math.pow,s=ph.Utils.Bernstein,a=0;a<=n;a++)t+=r(1-e,n-a)*r(e,a)*i[a]*s(n,a);return t},CatmullRom:function(i,e){var t=i.length-1,n=t*e,r=Math.floor(n),s=ph.Utils.CatmullRom;return i[0]===i[t]?(e<0&&(r=Math.floor(n=t*(1+e))),s(i[(r-1+t)%t],i[r],i[(r+1)%t],i[(r+2)%t],n-r)):e<0?i[0]-(s(i[0],i[0],i[1],i[1],-n)-i[0]):e>1?i[t]-(s(i[t],i[t],i[t-1],i[t-1],n-t)-i[t]):s(i[r?r-1:0],i[r],i[t<r+1?t:r+1],i[t<r+2?t:r+2],n-r)},Utils:{Linear:function(i,e,t){return(e-i)*t+i},Bernstein:function(i,e){var t=ph.Utils.Factorial;return t(i)/t(e)/t(i-e)},Factorial:function(){var i=[1];return function(e){var t=1;if(i[e])return i[e];for(var n=e;n>1;n--)t*=n;return i[e]=t,t}}(),CatmullRom:function(i,e,t,n,r){var s=(t-i)*.5,a=(n-e)*.5,o=r*r,l=r*o;return(2*e-2*t+s+a)*l+(-3*e+3*t-2*s-a)*o+s*r+e}}},D0e=function(){function i(){}return i.nextId=function(){return i._nextId++},i._nextId=0,i}(),CE=new vh,jr=function(){function i(e,t){t===void 0&&(t=CE),this._object=e,this._group=t,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=Br.Linear.None,this._interpolationFunction=ph.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=D0e.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1}return i.prototype.getId=function(){return this._id},i.prototype.isPlaying=function(){return this._isPlaying},i.prototype.isPaused=function(){return this._isPaused},i.prototype.to=function(e,t){if(t===void 0&&(t=1e3),this._isPlaying)throw new Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=e,this._propertiesAreSetUp=!1,this._duration=t,this},i.prototype.duration=function(e){return e===void 0&&(e=1e3),this._duration=e,this},i.prototype.dynamic=function(e){return e===void 0&&(e=!1),this._isDynamic=e,this},i.prototype.start=function(e,t){if(e===void 0&&(e=k3()),t===void 0&&(t=!1),this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var n in this._valuesStartRepeat)this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n]}if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=e,this._startTime+=this._delayTime,!this._propertiesAreSetUp||t){if(this._propertiesAreSetUp=!0,!this._isDynamic){var r={};for(var s in this._valuesEnd)r[s]=this._valuesEnd[s];this._valuesEnd=r}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,t)}return this},i.prototype.startFromCurrentValues=function(e){return this.start(e,!0)},i.prototype._setupProperties=function(e,t,n,r,s){for(var a in n){var o=e[a],l=Array.isArray(o),c=l?"array":typeof o,u=!l&&Array.isArray(n[a]);if(!(c==="undefined"||c==="function")){if(u){var d=n[a];if(d.length===0)continue;for(var f=[o],v=0,g=d.length;v<g;v+=1){var b=this._handleRelativeValue(o,d[v]);if(isNaN(b)){u=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(b)}u&&(n[a]=f)}if((c==="object"||l)&&o&&!u){t[a]=l?[]:{};var y=o;for(var _ in y)t[a][_]=y[_];r[a]=l?[]:{};var d=n[a];if(!this._isDynamic){var x={};for(var _ in d)x[_]=d[_];n[a]=d=x}this._setupProperties(y,t[a],d,r[a],s)}else(typeof t[a]>"u"||s)&&(t[a]=o),l||(t[a]*=1),u?r[a]=n[a].slice().reverse():r[a]=t[a]||0}}},i.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},i.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},i.prototype.pause=function(e){return e===void 0&&(e=k3()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=e,this._group&&this._group.remove(this),this)},i.prototype.resume=function(e){return e===void 0&&(e=k3()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=e-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},i.prototype.stopChainedTweens=function(){for(var e=0,t=this._chainedTweens.length;e<t;e++)this._chainedTweens[e].stop();return this},i.prototype.group=function(e){return e===void 0&&(e=CE),this._group=e,this},i.prototype.delay=function(e){return e===void 0&&(e=0),this._delayTime=e,this},i.prototype.repeat=function(e){return e===void 0&&(e=0),this._initialRepeat=e,this._repeat=e,this},i.prototype.repeatDelay=function(e){return this._repeatDelayTime=e,this},i.prototype.yoyo=function(e){return e===void 0&&(e=!1),this._yoyo=e,this},i.prototype.easing=function(e){return e===void 0&&(e=Br.Linear.None),this._easingFunction=e,this},i.prototype.interpolation=function(e){return e===void 0&&(e=ph.Linear),this._interpolationFunction=e,this},i.prototype.chain=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._chainedTweens=e,this},i.prototype.onStart=function(e){return this._onStartCallback=e,this},i.prototype.onEveryStart=function(e){return this._onEveryStartCallback=e,this},i.prototype.onUpdate=function(e){return this._onUpdateCallback=e,this},i.prototype.onRepeat=function(e){return this._onRepeatCallback=e,this},i.prototype.onComplete=function(e){return this._onCompleteCallback=e,this},i.prototype.onStop=function(e){return this._onStopCallback=e,this},i.prototype.update=function(e,t){if(e===void 0&&(e=k3()),t===void 0&&(t=!0),this._isPaused)return!0;var n,r,s=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(e>s)return!1;t&&this.start(e,!0)}if(this._goToEnd=!1,e<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0),r=(e-this._startTime)/this._duration,r=this._duration===0||r>1?1:r;var a=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(n in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[n]=="string"&&(this._valuesStartRepeat[n]=this._valuesStartRepeat[n]+parseFloat(this._valuesEnd[n])),this._yoyo&&this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._yoyo&&(this._reversed=!this._reversed),this._repeatDelayTime!==void 0?this._startTime=e+this._repeatDelayTime:this._startTime=e+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var o=0,l=this._chainedTweens.length;o<l;o++)this._chainedTweens[o].start(this._startTime+this._duration,!1);return this._isPlaying=!1,!1}return!0},i.prototype._updateProperties=function(e,t,n,r){for(var s in n)if(t[s]!==void 0){var a=t[s]||0,o=n[s],l=Array.isArray(e[s]),c=Array.isArray(o),u=!l&&c;u?e[s]=this._interpolationFunction(o,r):typeof o=="object"&&o?this._updateProperties(e[s],a,o,r):(o=this._handleRelativeValue(a,o),typeof o=="number"&&(e[s]=a+(o-a)*r))}},i.prototype._handleRelativeValue=function(e,t){return typeof t!="string"?t:t.charAt(0)==="+"||t.charAt(0)==="-"?e+parseFloat(t):parseFloat(t)},i.prototype._swapEndStartRepeatValues=function(e){var t=this._valuesStartRepeat[e],n=this._valuesEnd[e];typeof n=="string"?this._valuesStartRepeat[e]=this._valuesStartRepeat[e]+parseFloat(n):this._valuesStartRepeat[e]=this._valuesEnd[e],this._valuesEnd[e]=t},i}();var CZt=D0e.nextId,Io=CE,PZt=Io.getAll.bind(Io),LZt=Io.removeAll.bind(Io),BZt=Io.add.bind(Io),DZt=Io.remove.bind(Io),O0e=Io.update.bind(Io);h();p();m();function PE(i){if(i==="high-performance")return"high-performance";if(i==="low-power")return"low-power"}var Ln=typeof globalThis.WorkerGlobalScope<"u"&&globalThis instanceof globalThis.WorkerGlobalScope,BE=class{constructor(e,t=0){this.canvas=e;this.stats=new LE.default,this.stats2=new LE.default,this.statsGl=new B0e({minimal:!0}),this.stats2.showPanel(2),this.denseMode=typeof process<"u"&&!0||typeof window<"u"&&window.innerHeight<500,this.initStats(),this.setVisibility(t)}stats;stats2;statsGl;total=0;denseMode;addStat(e,t=80){e.style.position="absolute",this.denseMode&&(e.style.height="12px"),e.style.overflow="hidden",e.style.left="",e.style.top="0",e.style.right=`${this.total}px`,e.style.width="80px",e.style.zIndex="1",e.style.opacity="0.8";let n=document.getElementById("corner-indicator-stats"),r=n??document.body;n&&(e.style.position="relative"),r.appendChild(e),this.total+=t}initStats(){let e=this.stats2.dom.children.length===3;this.addStat(this.stats.dom),e&&this.addStat(this.stats2.dom),this.statsGl.init(this.canvas),this.statsGl.container.style.display="flex",this.statsGl.container.style.justifyContent="flex-end";let t=0;for(let n of this.statsGl.container.children){let r=n;t++===0&&(r.style.display="none"),r.style.position=""}}setVisibility(e){e>0?(this.stats.dom.style.display="block",this.stats2.dom.style.display=e>=2?"block":"none",this.statsGl.container.style.display=e>=2?"block":"none"):(this.stats.dom.style.display="none",this.stats2.dom.style.display="none",this.statsGl.container.style.display="none")}markStart(){this.stats.begin(),this.stats2.begin(),this.statsGl.begin()}markEnd(){this.stats.end(),this.stats2.end(),this.statsGl.end()}dispose(){this.stats.dom.remove(),this.stats2.dom.remove(),this.statsGl.container.remove()}},Q_=class{constructor(e,t,n){this.initOptions=e;this.externalCanvas=t;this.config=e.config,t?this.canvas=t:this.addToPage();try{let s=e.getRendererOptions?.()?.gpuPreference??"default";this.renderer=new l2({canvas:this.canvas,preserveDrawingBuffer:!0,logarithmicDepthBuffer:!0,powerPreference:PE(s)})}catch(s){throw e.callbacks.displayCriticalError(new Error(`Failed to create WebGL context, not possible to render (restart browser): ${s.message}`)),s}this.renderer.outputColorSpace=Wr,t||(this.updatePixelRatio(),this.setupResizeListener()),this.sizeUpdated(),this.previousCanvasWidth=this.canvas.width,this.previousCanvasHeight=this.canvas.height;let r="WebGL2RenderingContext"in globalThis;!t&&r&&!Ln&&(this.stats=new BE(this.canvas,this.config.statsVisible)),this.setupFpsTracking(),this.startRenderLoop()}canvas;renderer;animationFrameId;timeoutId;lastRenderTime=0;previousCanvasWidth=0;previousCanvasHeight=0;currentWidth=0;currentHeight=0;pendingResize=!1;renderedFps=0;fpsInterval;stats;paused=!1;disconnected=!1;preRender=()=>{};render=e=>{};postRender=()=>{};sizeChanged=()=>{};droppedFpsPercentage=0;config;onRender=[];inWorldRenderingConfig;nonReactiveState;setupResizeListener(){if(typeof window>"u")return;let e,t=()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.pendingResize=!0},16)};window.addEventListener("resize",t,{passive:!0})}updatePixelRatio(){if(typeof window>"u")return;let e=window.devicePixelRatio||1;this.renderer.capabilities.isWebGL2||(e=1),this.renderer.setPixelRatio(e)}sizeUpdated(){this.renderer.setSize(this.currentWidth,this.currentHeight,!1)}addToPage(){this.canvas=jEe(),this.updateCanvasSize()}updateSizeExternal(e,t,n){this.currentWidth=e,this.currentHeight=t,this.renderer.setPixelRatio(n),this.sizeUpdated()}updateCanvasSize(){if(this.externalCanvas||typeof document>"u")return;let e=document.body.offsetWidth,t=document.body.offsetHeight;this.currentWidth!==e&&(this.currentWidth=e),this.currentHeight!==t&&(this.currentHeight=t)}setupFpsTracking(){let e=0;this.fpsInterval=setInterval(()=>{e>0&&(this.droppedFpsPercentage=this.renderedFps/e),e=Math.max(this.renderedFps,e),this.nonReactiveState&&(this.nonReactiveState.fps=this.renderedFps),this.renderedFps=0},1e3)}startRenderLoop(){let e=()=>{if(this.disconnected)return;if(this.config.timeoutRendering){let r=1e3/(this.config.fpsLimit?Math.min(this.config.fpsLimit,60):60);this.timeoutId=setTimeout(e,r)}else this.animationFrameId=requestAnimationFrame(e);if(this.paused||this.renderer.xr.isPresenting&&!this.inWorldRenderingConfig?.vrPageGameRendering)return;if(!this.config.timeoutRendering&&this.config.fpsLimit){let n=performance.now(),r=n-this.lastRenderTime,s=1e3/this.config.fpsLimit;if(r<s)return;this.lastRenderTime=n-r%s}let t=!1;this.pendingResize&&(this.updateCanvasSize(),this.pendingResize=!1),(this.previousCanvasWidth!==this.currentWidth||this.previousCanvasHeight!==this.currentHeight)&&(this.previousCanvasWidth=this.currentWidth,this.previousCanvasHeight=this.currentHeight,this.sizeUpdated(),t=!0),this.frameRender(t),this.config.statsVisible!==void 0&&this.stats?.setVisibility(this.config.statsVisible)};e()}frameRender(e){this.preRender(),this.stats?.markStart(),O0e(),globalThis.freezeRender||this.render(e);for(let t of this.onRender)t(e);this.renderedFps++,this.stats?.markEnd(),this.postRender()}setPaused(e){this.paused=e}dispose(){this.disconnected=!0,this.animationFrameId&&cancelAnimationFrame(this.animationFrameId),this.timeoutId&&clearTimeout(this.timeoutId),this.canvas instanceof HTMLCanvasElement&&this.canvas.remove(),clearInterval(this.fpsInterval),this.stats?.dispose(),this.renderer.dispose()}};function jEe(){let i=document.createElement("canvas");return i.id="viewer-canvas",document.body.appendChild(i),i}h();p();m();var T3=class{version;itemsAtlasParser;blocksAtlasParser;blockStatesStore;modelsStore;assetsParser;constructor(e,t,n,r){this.version=e,this.itemsAtlasParser=n,this.blocksAtlasParser=r,this.blockStatesStore=X_(t),this.modelsStore=$_(t),this.assetsParser=new mh(e,this.blockStatesStore,this.modelsStore)}resolveTexture(e){e.startsWith("minecraft:")&&(e=e.slice(10));let t=e.includes("items/")?"items":e.includes("block/")||e.includes("blocks/")?"blocks":"items",n=t==="blocks"?this.blocksAtlasParser:this.itemsAtlasParser,r=n.getTextureInfo(e.replace("block/","").replace("blocks/","").replace("item/","").replace("items/",""),this.version);if(!r)return;let s=n.atlas[r.imageType];return{slice:[r.u*s.width,r.v*s.height,r.su*s.width,r.sv*s.height],type:t,path:t}}resolveBlockModel(e,t){if(!this.blocksAtlasParser)return;let{resolvedModel:n}=this.assetsParser.getResolvedModelsByModelData(e);if(n?.elements?.length)return{resolvedModel:n,get top(){throw new Error("Was called with onlyResolveBlockModel = true")},get left(){throw new Error("Was called with onlyResolveBlockModel = true")},get right(){throw new Error("Was called with onlyResolveBlockModel = true")}}}tryGetFullBlock(e,t){if(!this.blocksAtlasParser)return;let{resolvedModel:n}=this.assetsParser.getResolvedModelsByModelData(e);if(!n?.elements?.length||!n.elements.every(f=>f.from[0]===0&&f.from[1]===0&&f.from[2]===0&&f.to[0]===16&&f.to[1]===16&&f.to[2]===16))return;let s=n.elements[0],a=s.faces.up?.texture??s.faces.top?.texture,o=s.faces.east?.texture??s.faces.left?.texture??s.faces.side?.texture,l=s.faces.north?.texture??s.faces.right?.texture??s.faces.side?.texture;if(!a||!o||!l)return;let c=this.resolveTexture(a);if(!c)throw new Error(`Missing texture for ${t} top texture`);let u=this.resolveTexture(o);if(!u)throw new Error(`Missing texture for ${t} left texture`);let d=this.resolveTexture(l);if(!d)throw new Error(`Missing texture for ${t} right texture`);return{top:c,left:u,right:d,resolvedModel:n}}getItemTexture(e,t={},n=!1,r=!1){let[s,a]=e.includes(":")?e.split(":"):["minecraft",e],o=s==="minecraft"?"":s,l=a,c=o?`${o}:item/${l}`:`item/${l}`,u=o?`${o}:block/${l}`:`block/${l}`,d=o?`${o}:${l}`:l,f=b=>this.modelsStore.get(this.version,b),v;{if(v=f(d),!n&&!v){let y=f(c);y&&y.textures?.layer0&&(v=y)}let b=v?.parent?.includes("block/");if(!v)if(r&&!o){let[y]=this.assetsParser.getResolvedModelFirst({name:l,properties:{}},!0)??[];if(y)return{resolvedModel:y,get top(){throw new Error("Was called with onlyResolveBlockModel = true")},get left(){throw new Error("Was called with onlyResolveBlockModel = true")},get right(){throw new Error("Was called with onlyResolveBlockModel = true")}}}else v=f(u),v&&(b=!0);if(b||v?.elements)return r?this.resolveBlockModel(v,d):this.tryGetFullBlock(v,d)}if(!v)return;let g=d.includes("block/")?Object.values(v.textures??{})[0]:v.textures?.layer0;if(g)return(g.startsWith("invsprite_")?this.resolveTexture(g.replace("invsprite_","")):void 0)??this.resolveTexture(g)}};h();p();m();function DE(i,e=0){if(e>16)return;if(i==null)return i;let t=typeof i;if(t==="function"||t==="symbol")return;if(t==="bigint")return i.toString();if(t!=="object"||i instanceof ArrayBuffer)return i;if(ArrayBuffer.isView(i)){let s=i;return s.buffer.slice(s.byteOffset,s.byteOffset+s.byteLength)}if(i instanceof Date)return i.toISOString();if(Array.isArray(i))return i.map(s=>DE(s,e+1)).filter(s=>s!==void 0);let n=i;if(typeof n.x=="number"&&typeof n.y=="number"&&typeof n.z=="number"&&!("w"in n))return{x:n.x,y:n.y,z:n.z};let r={};for(let s of Object.keys(n)){if(s==="_client"||s==="_events"||s==="_eventsCount")continue;let a=DE(n[s],e+1);a!==void 0&&(r[s]=a)}return r}function e4(i){return i.map(e=>DE(e))}var t4=null;function V0e(i){return Ln?((!t4||typeof t4.get!="function")&&(t4=Y_(H_)),t4):(z0e(i),i.itemsDefinitionsStore)}function z0e(i){Ln||typeof i.itemsDefinitionsStore?.get=="function"||(i.itemsDefinitionsStore=Y_(i.sourceItemDefinitionsJson??H_))}var I3=class{sourceItemDefinitionsJson=H_;itemsDefinitionsStore=Y_(this.sourceItemDefinitionsJson);allReady=!1;itemsAtlasImage;blocksAtlasImage;blocksAtlasJson;itemsAtlasJson;customBlockStates;customModels;customItemModelNames={};customTextures={};guiAtlas=null;guiAtlasVersion=0;itemsRenderer;worldBlockProvider;blockstatesModels=null;version;texturesVersion;mcData;constructor(e){if(e){let t={...e};delete t.itemsDefinitionsStore,delete t.sourceItemDefinitionsJson,Object.assign(this,t),z0e(this)}if(this.version){let t=globalThis.loadedData??globalThis.mcData;Ln&&t?.entitiesByName?this.mcData=t:this.mcData=(0,OE.default)(this.version)}}prepareForTransfer(){let e={};for(let t in this)Object.prototype.hasOwnProperty.call(this,t)&&typeof this[t]!="function"&&(t==="itemsRenderer"||t==="worldBlockProvider"||t==="mcData"||t==="itemsDefinitionsStore"||t==="sourceItemDefinitionsJson"||(e[t]=this[t]));return e.customTextures={},delete e.itemsDefinitionsStore,delete e.sourceItemDefinitionsJson,e}},F0e="1.21.4",oc=class oc extends W0{rebuildWorkerRenderers(e){if(Ln&&!(!e.version||!e.blockstatesModels||!e.blocksAtlasJson)){if(this.blocksAtlasParser=new Ys({latest:e.blocksAtlasJson},""),e.itemsAtlasJson)this.itemsAtlasParser=new Ys({latest:e.itemsAtlasJson},"");else if(!this.itemsAtlasParser?.atlas?.latest){if(!this.sourceItemsAtlases||Object.keys(this.sourceItemsAtlases).length===0)return;this.itemsAtlasParser=new Ys(this.sourceItemsAtlases,"")}e.itemsRenderer=new T3(e.version,e.blockstatesModels,this.itemsAtlasParser,this.blocksAtlasParser),e.worldBlockProvider=J_(e.blockstatesModels,this.blocksAtlasParser.atlas,F0e)}}static restoreTransferred(e,t){let n=new oc,r=s=>{n.currentResources=new I3(s),n.rebuildWorkerRenderers(n.currentResources)};return r(e.currentResources),t&&t.addEventListener("message",({data:s})=>{s.class===oc.restorerName&&(s.type==="newResources"&&(console.log("[worker] got new resources"),r(s.currentResources)),s.type==="event"&&n.emit(s.eventName,...s.args))}),n}enrichTransferSnapshot(e){return e&&(this.itemsAtlasParser?.atlas?.latest&&(e.itemsAtlasJson=this.itemsAtlasParser.atlas.latest),this.blocksAtlasParser?.atlas?.latest&&(e.blocksAtlasJson=this.blocksAtlasParser.atlas.latest),e)}prepareForTransfer(e){if(e){let t=this.emit.bind(this);this.emit=(n,...r)=>{if(t(n,...r),e.postMessage({class:oc.restorerName,type:"event",eventName:n,args:e4(r)}),n==="assetsTexturesUpdated"||n==="assetsInventoryReady"){let s=this.enrichTransferSnapshot(this.currentResources?.prepareForTransfer());e.postMessage({class:oc.restorerName,type:"newResources",currentResources:s})}}}return{__restorer:oc.restorerName,currentResources:this.enrichTransferSnapshot(this.currentResources?.prepareForTransfer())}}sourceBlockStatesModels=null;sourceBlocksAtlases=M3;sourceItemsAtlases=y0e;currentResources;itemsAtlasParser;blocksAtlasParser;currentConfig;abortController=new AbortController;_promiseAssetsReadyResolvers=Promise.withResolvers();get promiseAssetsReady(){return this._promiseAssetsReadyResolvers.promise}async loadSourceData(e=this.currentConfig?.version){if(!e)throw new Error("No version loaded");this.sourceBlockStatesModels??=(await Promise.resolve().then(()=>(U0e(),N0e))).default}resetResources(){this.currentResources=new I3}async updateAssetsData(e,t=!1){if(!this.currentConfig)throw new Error("No config loaded");this._promiseAssetsReadyResolvers=Promise.withResolvers();let n=new AbortController;if(await this.loadSourceData(this.currentConfig.version),n.signal.aborted)return;let r=this.currentResources??new I3;r.version=this.currentConfig.version,r.texturesVersion=this.currentConfig.texturesVersion??r.version,r.mcData=(0,OE.default)(r.version),r.blockstatesModels={blockstates:{},models:{}},r.blockstatesModels.blockstates.latest={...this.sourceBlockStatesModels.blockstates.latest,...r.customBlockStates},r.blockstatesModels.models.latest={...this.sourceBlockStatesModels.models.latest,...r.customModels},console.time("recreateAtlases"),await Promise.all([this.recreateBlockAtlas(r),this.recreateItemsAtlas(r)]),console.timeEnd("recreateAtlases"),!n.signal.aborted&&(r.version&&r.blockstatesModels&&this.itemsAtlasParser&&this.blocksAtlasParser&&(r.itemsRenderer=new T3(r.version,r.blockstatesModels,this.itemsAtlasParser,this.blocksAtlasParser)),!n.signal.aborted&&(this.currentResources=r,r.allReady=!0,t||this.emit("assetsTexturesUpdated"),this.currentConfig.noInventoryGui?this._promiseAssetsReadyResolvers.resolve():(this.emit("assetsInventoryStarted"),this.generateGuiTextures().then(()=>{n.signal.aborted||(t||this.emit("assetsInventoryReady"),this._promiseAssetsReadyResolvers.resolve())}))))}async recreateBlockAtlas(e=this.currentResources){let t={},n=new Date;(n.getMonth()===11&&n.getDate()>=24||n.getMonth()===0&&n.getDate()<=6)&&Object.assign(t,k0e);let r=new Ys(this.sourceBlocksAtlases,b0e,x0e),s=Object.keys(e.customTextures.blocks?.textures??{});console.time("createBlocksAtlas");let{atlas:a,canvas:o}=await r.makeNewAtlas(e.texturesVersion,l=>{if(this.currentConfig.includeOnlyBlocks&&!this.currentConfig.includeOnlyBlocks.includes(l))return!1;let c=e.customTextures.blocks?.textures[l];return t[l]??c},void 0,void 0,s,{needHorizontalIndexes:!!this.currentConfig.includeOnlyBlocks});console.timeEnd("createBlocksAtlas"),this.blocksAtlasParser=new Ys({latest:a},o.toDataURL()),e.blocksAtlasImage=await createImageBitmap(o),e.blocksAtlasJson=this.blocksAtlasParser.atlas.latest,e.worldBlockProvider=J_(e.blockstatesModels,this.blocksAtlasParser.atlas,F0e)}async recreateItemsAtlas(e=this.currentResources){let t=new Ys(this.sourceItemsAtlases,w0e,S0e),n=Object.keys(e.customTextures.items?.textures??{}),{atlas:r,canvas:s}=await t.makeNewAtlas(e.texturesVersion,a=>{let o=e.customTextures.items?.textures[a];if(o)return o},e.customTextures.items?.tileSize,void 0,n);this.itemsAtlasParser=new Ys({latest:r},s.toDataURL()),e.itemsAtlasImage=await createImageBitmap(s),e.itemsAtlasJson=this.itemsAtlasParser.atlas.latest}async generateGuiTextures(){}async downloadDebugAtlas(e=!1){if(!this.currentResources)throw new Error("No resources loaded");let r=await(e?this.itemsAtlasParser:this.blocksAtlasParser).createDebugImage(!0),s=document.createElement("a");s.href=r,s.download=`atlas-debug-${e?"items":"blocks"}.png`,s.click()}destroy(){this.abortController.abort(),this.currentResources=void 0,this.abortController=new AbortController}};Wn(oc,"restorerName","ResourcesManager");var lc=oc;h();p();m();var n4=class{constructor(e){this.nonReactiveState=e;this.nonReactiveState.renderer||(this.nonReactiveState.renderer={timeline:{live:[],frozen:[],lastSecond:[]}}),this.nonReactiveState.renderer.timeline||(this.nonReactiveState.renderer.timeline={live:[],frozen:[],lastSecond:[]}),setInterval(()=>{this.updateLastSecondTimeline()},this.lastSecondUpdateInterval)}events=[];frozenEvents=[];lastSecondEvents=[];currentFrameStartTime=null;lastInteractionTime=0;lastSecondUpdateTime=0;timeWindowMs=5e3;lastSecondWindowMs=1e3;maxEvents=500;lastSecondUpdateInterval=1e3;markFrameStart(){this.currentFrameStartTime=performance.now(),this.addEvent({type:"frameStart",timestamp:this.currentFrameStartTime})}markFrameEnd(){if(!this.currentFrameStartTime)return;let e=performance.now(),t=e-this.currentFrameStartTime;this.addEvent({type:"frameEnd",timestamp:e,duration:t}),this.currentFrameStartTime=null}markCameraUpdate(e){if(!e)return;let t=performance.now();this.lastInteractionTime=t,this.addEvent({type:"cameraUpdate",timestamp:t}),this.frozenEvents=[...this.events],this.trimEvents(this.frozenEvents),this.syncFrozenEvents()}markFrameDisplay(){this.addEvent({type:"frameDisplay",timestamp:performance.now()})}addEvent(e){this.events.push(e),this.lastSecondEvents.push(e),this.trimEvents(this.events),this.trimLastSecondEvents(),this.syncLiveEvents()}trimEvents(e){let n=performance.now()-this.timeWindowMs;for(;e.length>0&&e[0].timestamp<n;)e.shift();e.length>this.maxEvents&&e.splice(0,e.length-this.maxEvents)}trimLastSecondEvents(){let t=performance.now()-this.lastSecondWindowMs;for(;this.lastSecondEvents.length>0&&this.lastSecondEvents[0].timestamp<t;)this.lastSecondEvents.shift()}updateLastSecondTimeline(){let e=performance.now();e-this.lastSecondUpdateTime<this.lastSecondUpdateInterval||(this.lastSecondUpdateTime=e,this.trimLastSecondEvents(),this.syncLastSecondEvents())}syncLiveEvents(){this.nonReactiveState.renderer.timeline.live=[...this.events]}syncFrozenEvents(){this.nonReactiveState.renderer.timeline.frozen=[...this.frozenEvents]}syncLastSecondEvents(){this.nonReactiveState.renderer.timeline.lastSecond=[...this.lastSecondEvents]}clear(){this.events=[],this.frozenEvents=[],this.lastSecondEvents=[],this.syncLiveEvents(),this.syncFrozenEvents(),this.syncLastSecondEvents()}};h();p();m();Lt();h();p();m();function H0e(i){let e=Math.floor(i.x/16),t=Math.floor(i.z/16);return[e,t]}function NE(i){let e=Math.floor(i.x/16),t=Math.floor(i.y/16),n=Math.floor(i.z/16);return[e,t,n]}h();p();m();Ia();h();p();m();function Sl(i,e,t,n){let r=i[e];return v1(i,()=>{let s=i[e];Object.is(r,s)||t(r=s)},n)}var $Qt=Symbol();h();p();m();var UE={blocks:"blocksArray",blockCollisionShapes:"blockCollisionShapes",biomes:"biomesArray",tints:"tints"};h();p();m();var q0e=16;var G0e=(i,e)=>e?`${i}:${e}`:String(i);h();p();m();var W0e=0,El={},FE=40,r4="mc-renderer-debug-overlay",i4=(i,e=80,t=W0e,n=FE,r)=>{if(Ln)return{updateText(){},setVisibility(){}};let s=document.createElement("div");return s.style.position="fixed",s.style.top=`${n??FE}px`,s.style.right=`${t}px`,s.style.backgroundColor="rgba(0, 0, 0, 0.7)",s.style.color="white",s.style.padding="2px",s.style.fontFamily="monospace",s.style.fontSize="12px",r?.className?s.className=r.className:s.style.zIndex="100",s.style.pointerEvents="none",document.body.appendChild(s),El[i]=s,n===void 0&&t===W0e&&(FE+=20),{updateText(a){s.innerText!==a&&(s.innerText=a)},setVisibility(a){s.style.display=a?"block":"none"}}};var VE=(i,e)=>{Ln||!El[i]||(El[i].innerText=e)},j0e=i=>{if(!Ln)for(let e in El)El[e].style.display=i?"block":"none"},X0e=()=>{if(!Ln)for(let i in El)$Ee(i)},$Ee=i=>{Ln||!El[i]||(El[i].remove(),delete El[i])};h();p();m();var YEe=()=>_l({playerSkin:void 0,inWater:!1,waterBreathing:!1,backgroundColor:[0,0,0],ambientLight:0,directionalLight:0,eyeHeight:0,gameMode:void 0,lookingAtBlock:void 0,diggingBlock:void 0,movementState:"NOT_MOVING",onGround:!0,sneaking:!1,flying:!1,sprinting:!1,walkDist:0,prevWalkDist:0,bob:0,prevBob:0,itemUsageTicks:0,username:"",onlineMode:!1,cardinalLight:"default",lightingDisabled:!1,shouldHideHand:!1,heldItemMain:void 0,heldItemOff:void 0,perspective:"first_person",onFire:!1,fovMultiplier:1,cameraSpectatingEntity:void 0,team:void 0}),$0e=i=>({isSpectator(){return i.gameMode==="spectator"},isSpectatingEntity(){return i.cameraSpectatingEntity!==void 0&&i.gameMode==="spectator"},isThirdPerson(){return this.isSpectatingEntity()?!1:i.perspective==="third_person_back"||i.perspective==="third_person_front"}}),Y0e=()=>({reactive:YEe()});h();p();m();h();p();m();h();p();m();h();p();m();function zE(i,e,t,n,r){let s=i.getImageData(e,t,n,r);for(let a=0;a<n;a++)for(let o=0;o<r;o++){let l=(a+o*n)*4;if(s.data[l+3]!==255)return!0}return!1}function s4(i){return i/64}function J0e(i,e,t){if(t){if(zE(i,0,0,e,e))return}else if(zE(i,0,0,e,e/2))return;let n=s4(e),r=(s,a,o,l)=>i.clearRect(s*n,a*n,o*n,l*n);r(40,0,8,8),r(48,0,8,8),r(32,8,8,8),r(40,8,8,8),r(48,8,8,8),r(56,8,8,8),t&&(r(4,32,4,4),r(8,32,4,4),r(0,36,4,12),r(4,36,4,12),r(8,36,4,12),r(12,36,4,12),r(20,32,8,4),r(28,32,8,4),r(16,36,4,12),r(20,36,8,12),r(28,36,4,12),r(32,36,8,12),r(44,32,4,4),r(48,32,4,4),r(40,36,4,12),r(44,36,4,12),r(48,36,4,12),r(52,36,12,12),r(4,48,4,4),r(8,48,4,4),r(0,52,4,12),r(4,52,4,12),r(8,52,4,12),r(12,52,4,12),r(52,48,4,4),r(56,48,4,4),r(48,52,4,12),r(52,52,4,12),r(56,52,4,12),r(60,52,4,12))}function JEe(i,e){i.save(),i.scale(-1,1);let t=s4(e),n=(r,s,a,o,l,c)=>i.drawImage(i.canvas,r*t,s*t,a*t,o*t,-l*t,c*t,-a*t,o*t);n(4,16,4,4,20,48),n(8,16,4,4,24,48),n(0,20,4,12,24,52),n(4,20,4,12,20,52),n(8,20,4,12,16,52),n(12,20,4,12,28,52),n(44,16,4,4,36,48),n(48,16,4,4,40,48),n(40,20,4,12,40,52),n(44,20,4,12,36,52),n(48,20,4,12,32,52),n(52,20,4,12,44,52),i.restore()}function HE(i,e){let t=!1;if(e.width!==e.height)if(e.width===2*e.height)t=!0;else throw new Error(`Bad skin size: ${e.width}x${e.height}`);let n=i.getContext("2d",{willReadFrequently:!0});if(t){let r=e.width;i.width=r,i.height=r,n.clearRect(0,0,r,r),n.drawImage(e,0,0,r,r/2),JEe(n,r),J0e(n,i.width,!1)}else i.width=e.width,i.height=e.height,n.clearRect(0,0,e.width,e.height),n.drawImage(e,0,0,i.width,i.height),J0e(n,i.width,!0)}function KEe(i){if(i.width===2*i.height)return i.width/64;if(i.width*17===i.height*22)return i.width/22;if(i.width*11===i.height*23)return i.width/46;throw new Error(`Bad cape size: ${i.width}x${i.height}`)}function qE(i,e){let t=KEe(e);i.width=64*t,i.height=32*t;let n=i.getContext("2d",{willReadFrequently:!0});n.clearRect(0,0,i.width,i.height),n.drawImage(e,0,0,e.width,e.height)}function ZEe(i,e,t,n,r){let s=i.getImageData(e,t,n,r);for(let a=0;a<n;a++)for(let o=0;o<r;o++){let l=(a+o*n)*4;if(!(s.data[l+0]===0&&s.data[l+1]===0&&s.data[l+2]===0&&s.data[l+3]===255))return!1}return!0}function QEe(i,e,t,n,r){let s=i.getImageData(e,t,n,r);for(let a=0;a<n;a++)for(let o=0;o<r;o++){let l=(a+o*n)*4;if(!(s.data[l+0]===255&&s.data[l+1]===255&&s.data[l+2]===255&&s.data[l+3]===255))return!1}return!0}function GE(i){let e=s4(i.width),t=i.getContext("2d",{willReadFrequently:!0}),n=(o,l,c,u)=>zE(t,o*e,l*e,c*e,u*e),r=(o,l,c,u)=>ZEe(t,o*e,l*e,c*e,u*e),s=(o,l,c,u)=>QEe(t,o*e,l*e,c*e,u*e);return n(50,16,2,4)||n(54,20,2,12)||n(42,48,2,4)||n(46,52,2,12)||r(50,16,2,4)&&r(54,20,2,12)&&r(42,48,2,4)&&r(46,52,2,12)||s(50,16,2,4)&&s(54,20,2,12)&&s(42,48,2,4)&&s(46,52,2,12)?"slim":"default"}function WE(i,e){if(e.width!==e.height&&e.width!==2*e.height)throw new Error(`Bad skin size: ${e.width}x${e.height}`);let t=s4(e.width),n=14*t,r=7*t;i.width=n,i.height=r;let s=i.getContext("2d",{willReadFrequently:!0});s.clearRect(0,0,n,r),s.drawImage(e,24*t,0,n,r,0,0,n,r)}h();p();m();var K0e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAdVBMVEUAAAAKvLwAzMwmGgokGAgrHg0zJBE/KhW3g2uzeV5SPYn///+qclmbY0mQWT8Af38AaGhVVVWUYD52SzOBUzmPXj5JJRBCHQp3QjVqQDA0JRIoKCg3Nzc/Pz9KSko6MYlBNZtGOqUDenoFiIgElZUApKQAr6/wvakZAAAAAXRSTlMAQObYZgAAAolJREFUeNrt1l1rHucZReFrj/whu5hSCCQtlOTE/f+/Jz4q9Cu0YIhLcFVpVg+FsOCVehi8jmZgWOzZz33DM4CXlum3gH95GgeAzQZVeL4gTm6Cbp4vqFkD8HwBazPY8wWbMq9utu3mNZ5fotVezbzOE3kBEFbaZuc8kb00NTMUbWJp678Xf2GV7RRtx1TDQQ6XBNvsmL2+2vHq1TftmMPIyAWujtN2cl274ua2jpVpZneXEjjo7XW1q53V9ds4ODO5xIuhvGHvfLI3aixauig415uuO2+vl9+cncfsFw25zL650fXn687jqnXuP68/X3+eV3zE7y6u9eB73MlfAcfbTf3yR8CfAX+if8S/H5/EAbAxj5LN48tULvEBOh8V1AageMTXe2YHAOwHbZxrzPkSR3+ffr8TR2JDzE/4Fj8CDgEwDsW+q+9GsR07hhg2CsALBgMo2v5wNxXnQXMeGQVW7gUAyKI2m6KDsJ8Au3++F5RZO+kKNQjQcLLWgjwUjBXLltFgWWMUUlviocBgNoxNGgMjSxiYAA7zgLFo2hgIENiDU8gQCzDOmViGFAsEuBcQSDCothhpJaDRA8E5fHqH2nTbYm5fHLo1V0u3B7DAuheoeScRYabjjjuzs17cHVaTrTXmK78m9swP34d9oK/dfeXSIH2PW/MXwPvxN/bJlxw8zlYAcEyeI6gNgA/O8P8neN8xe1IHP2gTzegjvhUDfuRygmwEs2GE4mkCDIAzm2R4yAuPsIdR9k8AvMc+3L9+2UEjo4WP0FpgP19O0MzCsqxIoMsdDBvYcQyGmO0ZJRoYCKjLJWY0BAhYwGUBCgkh8MRdOKt+ruqMwAB2OcEX94U1TPbYJP0PkyyAI1S6cSIAAAAASUVORK5CYII=";h();p();m();Lt();h();p();m();var tMe=()=>{if(typeof OffscreenCanvas>"u")return!1;try{let i=new OffscreenCanvas(1,1);return(i.getContext("webgl2")||i.getContext("webgl"))!==null}catch{return!1}},nMe=tMe(),yi=(i,e)=>{if(nMe||typeof document>"u")return new OffscreenCanvas(i,e);let t=document.createElement("canvas");return t.width=i,t.height=e,t};async function qu(i){let t=await(await fetch(i)).blob();return createImageBitmap(t)}var dr=(i,e=!1)=>{i instanceof Ke&&(i.geometry?.dispose?.(),i.material?.dispose?.()),i instanceof pa&&i.skeleton?.dispose?.(),i.children&&i.children.forEach(t=>dr(t,e)),e&&i instanceof Ke&&i.material?.map?.dispose?.()},jE={},Z0e={},R3=i=>{let e=new sn,t=qu(i).then(n=>{let r=new OffscreenCanvas(n.width,n.height);return r.getContext("2d").drawImage(n,0,0),e.source.data=r,e.needsUpdate=!0,e});return{texture:e,promise:t}},gh=async i=>R3(i).texture,cc=i=>{let e=yi(i.width,i.height);e.getContext("2d").drawImage(i,0,0);let n=new sn(e);return n.magFilter=ct,n.minFilter=ct,n};function _h(i){let{texture:e,promise:t}=R3(i);return e.magFilter=ct,e.minFilter=ct,t.catch(n=>{console.error("[texture] failed to load",i,n)}),e}async function a4(i,e,t){if(!jE[i]){let{promise:r,resolve:s}=Promise.withResolvers(),a=R3(i);jE[i]=a.texture,a.promise.then(s),Z0e[i]=r}e(jE[i]),Z0e[i].then(()=>{t?.()})}var is=K0e,Jen=gh(is);var Q0e={apiEnabled:!0},ece=i=>{Object.assign(Q0e,i)};async function uc(i,e){if(!Q0e.apiEnabled||e==="cape")return;let t=`https://playerdb.co/api/player/minecraft/${i}`,n=await fetch(t);return n.ok?(await n.json()).data.player.skin_texture:void 0}async function Ro(i){i.startsWith("data:")||(i=await rMe(i.replace("http://","https://")));let e=await qu(i),t=yi(64,64);return HE(t,e),{canvas:t,image:e}}var rMe=async i=>{let t=await(await fetch(i,{})).arrayBuffer();return`data:image/png;base64,${Buffer.from(t).toString("base64")}`};o4();h();p();m();function ei(i,e,t,n){if(i.on(e,t),n.aborted){i.off(e,t);return}n.addEventListener("abort",()=>{i.off(e,t)},{once:!0})}function tce(i,e,t,n){if(i.on(e,t),n.aborted){i.off(e,t);return}n.addEventListener("abort",()=>{i.off(e,t)},{once:!0})}h();p();m();function C3(i){let e=i*2+1;if(e<=0)return[];let t=[],n=0,r=0,s=0,a=-1;for(let o=0;o<e*e;o++){if(Math.abs(n)<=e/2&&Math.abs(r)<=e/2&&t.push([n,r]),n===r||n<0&&n===-r||n>0&&n===1-r){let l=s;s=-a,a=l}n+=s,r+=a}return t}h();p();m();var NI=Yr(CI(),1);h();p();m();var yve=Yr(E3(),1),bve=Yr(Si(),1);var PI={lightLevels:{lava:15,brown_mushroom:1,torch:14,wall_torch:14,fire:15,soul_fire:10,soul_torch:10,soul_wall_torch:10,glowstone:15,nether_portal:11,jack_o_lantern:15,enchanting_table:7,brewing_stand:1,lava_cauldron:15,end_portal:15,end_portal_frame:1,dragon_egg:1,ender_chest:7,beacon:15,sea_lantern:15,end_rod:14,end_gateway:15,magma_block:3,conduit:15,lantern:15,soul_lantern:10,shroomlight:15,crying_obsidian:10,amethyst_cluster:5,large_amethyst_bud:4,medium_amethyst_bud:2,small_amethyst_bud:1,sculk_sensor:1,sculk_catalyst:6,ochre_froglight:15,verdant_froglight:15,pearlescent_froglight:15},noOcclusions:{mangrove_roots:!0,oak_leaves:!0,spruce_leaves:!0,birch_leaves:!0,jungle_leaves:!0,acacia_leaves:!0,cherry_leaves:!0,dark_oak_leaves:!0,mangrove_leaves:!0,azalea_leaves:!0,flowering_azalea_leaves:!0,glass:!0,white_bed:!0,orange_bed:!0,magenta_bed:!0,light_blue_bed:!0,yellow_bed:!0,lime_bed:!0,pink_bed:!0,gray_bed:!0,light_gray_bed:!0,cyan_bed:!0,purple_bed:!0,blue_bed:!0,brown_bed:!0,green_bed:!0,red_bed:!0,black_bed:!0,moving_piston:!0,spawner:!0,oak_door:!0,ladder:!0,iron_door:!0,ice:!0,white_stained_glass:!0,orange_stained_glass:!0,magenta_stained_glass:!0,light_blue_stained_glass:!0,yellow_stained_glass:!0,lime_stained_glass:!0,pink_stained_glass:!0,gray_stained_glass:!0,light_gray_stained_glass:!0,cyan_stained_glass:!0,purple_stained_glass:!0,blue_stained_glass:!0,brown_stained_glass:!0,green_stained_glass:!0,red_stained_glass:!0,black_stained_glass:!0,oak_trapdoor:!0,spruce_trapdoor:!0,birch_trapdoor:!0,jungle_trapdoor:!0,acacia_trapdoor:!0,cherry_trapdoor:!0,dark_oak_trapdoor:!0,mangrove_trapdoor:!0,bamboo_trapdoor:!0,iron_bars:!0,chain:!0,glass_pane:!0,lily_pad:!0,brewing_stand:!0,cauldron:!0,dragon_egg:!0,cocoa:!0,beacon:!0,hopper:!0,white_stained_glass_pane:!0,orange_stained_glass_pane:!0,magenta_stained_glass_pane:!0,light_blue_stained_glass_pane:!0,yellow_stained_glass_pane:!0,lime_stained_glass_pane:!0,pink_stained_glass_pane:!0,gray_stained_glass_pane:!0,light_gray_stained_glass_pane:!0,cyan_stained_glass_pane:!0,purple_stained_glass_pane:!0,blue_stained_glass_pane:!0,brown_stained_glass_pane:!0,green_stained_glass_pane:!0,red_stained_glass_pane:!0,black_stained_glass_pane:!0,slime_block:!0,barrier:!0,light:!0,iron_trapdoor:!0,spruce_door:!0,birch_door:!0,jungle_door:!0,acacia_door:!0,cherry_door:!0,dark_oak_door:!0,mangrove_door:!0,bamboo_door:!0,end_rod:!0,chorus_plant:!0,chorus_flower:!0,frosted_ice:!0,turtle_egg:!0,sniffer_egg:!0,sea_pickle:!0,conduit:!0,bamboo:!0,lantern:!0,soul_lantern:!0,campfire:!0,soul_campfire:!0,crimson_trapdoor:!0,warped_trapdoor:!0,crimson_door:!0,warped_door:!0,honey_block:!0,candle:!0,white_candle:!0,orange_candle:!0,magenta_candle:!0,light_blue_candle:!0,yellow_candle:!0,lime_candle:!0,pink_candle:!0,gray_candle:!0,light_gray_candle:!0,cyan_candle:!0,purple_candle:!0,blue_candle:!0,brown_candle:!0,green_candle:!0,red_candle:!0,black_candle:!0,amethyst_cluster:!0,tinted_glass:!0,lightning_rod:!0,pointed_dripstone:!0,azalea:!0,flowering_azalea:!0,frogspawn:!0,decorated_pot:!0},colors:{stone:"rgb(112, 112, 112)",granite:"rgb(151, 109, 77)",polished_granite:"rgb(151, 109, 77)",diorite:"rgb(255, 252, 245)",polished_diorite:"rgb(255, 252, 245)",andesite:"rgb(112, 112, 112)",polished_andesite:"rgb(112, 112, 112)",grass_block:"rgb(127, 178, 56)",dirt:"rgb(151, 109, 77)",coarse_dirt:"rgb(151, 109, 77)",podzol:"rgb(129, 86, 49)",cobblestone:"rgb(112, 112, 112)",oak_planks:"rgb(143, 119, 72)",spruce_planks:"rgb(129, 86, 49)",birch_planks:"rgb(247, 233, 163)",jungle_planks:"rgb(151, 109, 77)",acacia_planks:"rgb(216, 127, 51)",cherry_planks:"rgb(209, 177, 161)",dark_oak_planks:"rgb(102, 76, 51)",mangrove_planks:"rgb(153, 51, 51)",bamboo_planks:"rgb(229, 229, 51)",bamboo_mosaic:"rgb(229, 229, 51)",oak_sapling:"rgb(0, 124, 0)",spruce_sapling:"rgb(0, 124, 0)",birch_sapling:"rgb(0, 124, 0)",jungle_sapling:"rgb(0, 124, 0)",acacia_sapling:"rgb(0, 124, 0)",cherry_sapling:"rgb(242, 127, 165)",dark_oak_sapling:"rgb(0, 124, 0)",mangrove_propagule:"rgb(0, 124, 0)",bedrock:"rgb(112, 112, 112)",water:"rgb(64, 64, 255)",lava:"rgb(255, 0, 0)",sand:"rgb(247, 233, 163)",suspicious_sand:"rgb(247, 233, 163)",red_sand:"rgb(216, 127, 51)",gravel:"rgb(112, 112, 112)",suspicious_gravel:"rgb(112, 112, 112)",gold_ore:"rgb(112, 112, 112)",deepslate_gold_ore:"rgb(100, 100, 100)",iron_ore:"rgb(112, 112, 112)",deepslate_iron_ore:"rgb(100, 100, 100)",coal_ore:"rgb(112, 112, 112)",deepslate_coal_ore:"rgb(100, 100, 100)",nether_gold_ore:"rgb(112, 2, 0)",mangrove_roots:"rgb(129, 86, 49)",muddy_mangrove_roots:"rgb(129, 86, 49)",oak_wood:"rgb(143, 119, 72)",spruce_wood:"rgb(129, 86, 49)",birch_wood:"rgb(247, 233, 163)",jungle_wood:"rgb(151, 109, 77)",acacia_wood:"rgb(76, 76, 76)",cherry_wood:"rgb(57, 41, 35)",dark_oak_wood:"rgb(102, 76, 51)",mangrove_wood:"rgb(153, 51, 51)",stripped_oak_wood:"rgb(143, 119, 72)",stripped_spruce_wood:"rgb(129, 86, 49)",stripped_birch_wood:"rgb(247, 233, 163)",stripped_jungle_wood:"rgb(151, 109, 77)",stripped_acacia_wood:"rgb(216, 127, 51)",stripped_cherry_wood:"rgb(160, 77, 78)",stripped_dark_oak_wood:"rgb(102, 76, 51)",oak_leaves:"rgb(0, 124, 0)",spruce_leaves:"rgb(0, 124, 0)",birch_leaves:"rgb(0, 124, 0)",jungle_leaves:"rgb(0, 124, 0)",acacia_leaves:"rgb(0, 124, 0)",cherry_leaves:"rgb(242, 127, 165)",dark_oak_leaves:"rgb(0, 124, 0)",mangrove_leaves:"rgb(0, 124, 0)",azalea_leaves:"rgb(0, 124, 0)",flowering_azalea_leaves:"rgb(0, 124, 0)",sponge:"rgb(229, 229, 51)",wet_sponge:"rgb(229, 229, 51)",lapis_ore:"rgb(112, 112, 112)",deepslate_lapis_ore:"rgb(100, 100, 100)",lapis_block:"rgb(74, 128, 255)",dispenser:"rgb(112, 112, 112)",sandstone:"rgb(247, 233, 163)",chiseled_sandstone:"rgb(247, 233, 163)",cut_sandstone:"rgb(247, 233, 163)",note_block:"rgb(143, 119, 72)",sticky_piston:"rgb(112, 112, 112)",cobweb:"rgb(199, 199, 199)",grass:"rgb(0, 124, 0)",fern:"rgb(0, 124, 0)",dead_bush:"rgb(143, 119, 72)",seagrass:"rgb(64, 64, 255)",tall_seagrass:"rgb(64, 64, 255)",piston:"rgb(112, 112, 112)",piston_head:"rgb(112, 112, 112)",white_wool:"rgb(255, 255, 255)",orange_wool:"rgb(216, 127, 51)",magenta_wool:"rgb(178, 76, 216)",light_blue_wool:"rgb(102, 153, 216)",yellow_wool:"rgb(229, 229, 51)",lime_wool:"rgb(127, 204, 25)",pink_wool:"rgb(242, 127, 165)",gray_wool:"rgb(76, 76, 76)",light_gray_wool:"rgb(153, 153, 153)",cyan_wool:"rgb(76, 127, 153)",purple_wool:"rgb(127, 63, 178)",blue_wool:"rgb(51, 76, 178)",brown_wool:"rgb(102, 76, 51)",green_wool:"rgb(102, 127, 51)",red_wool:"rgb(153, 51, 51)",black_wool:"rgb(25, 25, 25)",moving_piston:"rgb(112, 112, 112)",dandelion:"rgb(0, 124, 0)",torchflower:"rgb(0, 124, 0)",poppy:"rgb(0, 124, 0)",blue_orchid:"rgb(0, 124, 0)",allium:"rgb(0, 124, 0)",azure_bluet:"rgb(0, 124, 0)",red_tulip:"rgb(0, 124, 0)",orange_tulip:"rgb(0, 124, 0)",white_tulip:"rgb(0, 124, 0)",pink_tulip:"rgb(0, 124, 0)",oxeye_daisy:"rgb(0, 124, 0)",cornflower:"rgb(0, 124, 0)",wither_rose:"rgb(0, 124, 0)",lily_of_the_valley:"rgb(0, 124, 0)",brown_mushroom:"rgb(102, 76, 51)",red_mushroom:"rgb(153, 51, 51)",gold_block:"rgb(250, 238, 77)",iron_block:"rgb(167, 167, 167)",bricks:"rgb(153, 51, 51)",tnt:"rgb(255, 0, 0)",bookshelf:"rgb(143, 119, 72)",chiseled_bookshelf:"rgb(143, 119, 72)",mossy_cobblestone:"rgb(112, 112, 112)",obsidian:"rgb(25, 25, 25)",fire:"rgb(255, 0, 0)",soul_fire:"rgb(102, 153, 216)",spawner:"rgb(112, 112, 112)",chest:"rgb(143, 119, 72)",diamond_ore:"rgb(112, 112, 112)",deepslate_diamond_ore:"rgb(100, 100, 100)",diamond_block:"rgb(92, 219, 213)",crafting_table:"rgb(143, 119, 72)",wheat:"rgb(0, 124, 0)",farmland:"rgb(151, 109, 77)",furnace:"rgb(112, 112, 112)",oak_sign:"rgb(143, 119, 72)",birch_sign:"rgb(247, 233, 163)",acacia_sign:"rgb(216, 127, 51)",oak_wall_sign:"rgb(143, 119, 72)",birch_wall_sign:"rgb(247, 233, 163)",acacia_wall_sign:"rgb(216, 127, 51)",birch_hanging_sign:"rgb(247, 233, 163)",acacia_hanging_sign:"rgb(216, 127, 51)",cherry_hanging_sign:"rgb(160, 77, 78)",crimson_hanging_sign:"rgb(148, 63, 97)",warped_hanging_sign:"rgb(58, 142, 140)",bamboo_hanging_sign:"rgb(229, 229, 51)",spruce_wall_hanging_sign:"rgb(143, 119, 72)",birch_wall_hanging_sign:"rgb(247, 233, 163)",acacia_wall_hanging_sign:"rgb(216, 127, 51)",cherry_wall_hanging_sign:"rgb(160, 77, 78)",crimson_wall_hanging_sign:"rgb(148, 63, 97)",warped_wall_hanging_sign:"rgb(58, 142, 140)",bamboo_wall_hanging_sign:"rgb(229, 229, 51)",stone_pressure_plate:"rgb(112, 112, 112)",iron_door:"rgb(167, 167, 167)",redstone_ore:"rgb(112, 112, 112)",deepslate_redstone_ore:"rgb(100, 100, 100)",snow:"rgb(255, 255, 255)",ice:"rgb(160, 160, 255)",snow_block:"rgb(255, 255, 255)",cactus:"rgb(0, 124, 0)",clay:"rgb(164, 168, 184)",sugar_cane:"rgb(0, 124, 0)",jukebox:"rgb(151, 109, 77)",pumpkin:"rgb(216, 127, 51)",netherrack:"rgb(112, 2, 0)",soul_sand:"rgb(102, 76, 51)",soul_soil:"rgb(102, 76, 51)",basalt:"rgb(25, 25, 25)",polished_basalt:"rgb(25, 25, 25)",glowstone:"rgb(247, 233, 163)",carved_pumpkin:"rgb(216, 127, 51)",jack_o_lantern:"rgb(216, 127, 51)",oak_trapdoor:"rgb(143, 119, 72)",spruce_trapdoor:"rgb(129, 86, 49)",birch_trapdoor:"rgb(247, 233, 163)",jungle_trapdoor:"rgb(151, 109, 77)",acacia_trapdoor:"rgb(216, 127, 51)",cherry_trapdoor:"rgb(209, 177, 161)",dark_oak_trapdoor:"rgb(102, 76, 51)",mangrove_trapdoor:"rgb(153, 51, 51)",bamboo_trapdoor:"rgb(229, 229, 51)",stone_bricks:"rgb(112, 112, 112)",mossy_stone_bricks:"rgb(112, 112, 112)",cracked_stone_bricks:"rgb(112, 112, 112)",chiseled_stone_bricks:"rgb(112, 112, 112)",mud_bricks:"rgb(135, 107, 98)",infested_stone:"rgb(164, 168, 184)",infested_cobblestone:"rgb(164, 168, 184)",infested_stone_bricks:"rgb(164, 168, 184)",infested_mossy_stone_bricks:"rgb(164, 168, 184)",infested_cracked_stone_bricks:"rgb(164, 168, 184)",infested_chiseled_stone_bricks:"rgb(164, 168, 184)",brown_mushroom_block:"rgb(151, 109, 77)",red_mushroom_block:"rgb(153, 51, 51)",mushroom_stem:"rgb(199, 199, 199)",melon:"rgb(127, 204, 25)",attached_pumpkin_stem:"rgb(0, 124, 0)",attached_melon_stem:"rgb(0, 124, 0)",pumpkin_stem:"rgb(0, 124, 0)",melon_stem:"rgb(0, 124, 0)",vine:"rgb(0, 124, 0)",glow_lichen:"rgb(127, 167, 150)",mycelium:"rgb(127, 63, 178)",lily_pad:"rgb(0, 124, 0)",nether_bricks:"rgb(112, 2, 0)",nether_brick_fence:"rgb(112, 2, 0)",nether_wart:"rgb(153, 51, 51)",enchanting_table:"rgb(153, 51, 51)",brewing_stand:"rgb(167, 167, 167)",cauldron:"rgb(112, 112, 112)",end_portal:"rgb(25, 25, 25)",end_portal_frame:"rgb(102, 127, 51)",end_stone:"rgb(247, 233, 163)",dragon_egg:"rgb(25, 25, 25)",cocoa:"rgb(0, 124, 0)",emerald_ore:"rgb(112, 112, 112)",deepslate_emerald_ore:"rgb(100, 100, 100)",ender_chest:"rgb(112, 112, 112)",emerald_block:"rgb(0, 217, 58)",command_block:"rgb(102, 76, 51)",beacon:"rgb(92, 219, 213)",carrots:"rgb(0, 124, 0)",potatoes:"rgb(0, 124, 0)",anvil:"rgb(167, 167, 167)",chipped_anvil:"rgb(167, 167, 167)",damaged_anvil:"rgb(167, 167, 167)",trapped_chest:"rgb(143, 119, 72)",light_weighted_pressure_plate:"rgb(250, 238, 77)",heavy_weighted_pressure_plate:"rgb(167, 167, 167)",daylight_detector:"rgb(143, 119, 72)",redstone_block:"rgb(255, 0, 0)",nether_quartz_ore:"rgb(112, 2, 0)",hopper:"rgb(112, 112, 112)",quartz_block:"rgb(255, 252, 245)",chiseled_quartz_block:"rgb(255, 252, 245)",quartz_pillar:"rgb(255, 252, 245)",dropper:"rgb(112, 112, 112)",white_terracotta:"rgb(209, 177, 161)",orange_terracotta:"rgb(159, 82, 36)",magenta_terracotta:"rgb(149, 87, 108)",light_blue_terracotta:"rgb(112, 108, 138)",yellow_terracotta:"rgb(186, 133, 36)",lime_terracotta:"rgb(103, 117, 53)",pink_terracotta:"rgb(160, 77, 78)",gray_terracotta:"rgb(57, 41, 35)",light_gray_terracotta:"rgb(135, 107, 98)",cyan_terracotta:"rgb(87, 92, 92)",purple_terracotta:"rgb(122, 73, 88)",blue_terracotta:"rgb(76, 62, 92)",brown_terracotta:"rgb(76, 50, 35)",green_terracotta:"rgb(76, 82, 42)",red_terracotta:"rgb(142, 60, 46)",black_terracotta:"rgb(37, 22, 16)",slime_block:"rgb(127, 178, 56)",iron_trapdoor:"rgb(167, 167, 167)",prismarine:"rgb(76, 127, 153)",prismarine_bricks:"rgb(92, 219, 213)",dark_prismarine:"rgb(92, 219, 213)",prismarine_slab:"rgb(76, 127, 153)",prismarine_brick_slab:"rgb(92, 219, 213)",dark_prismarine_slab:"rgb(92, 219, 213)",sea_lantern:"rgb(255, 252, 245)",hay_block:"rgb(229, 229, 51)",white_carpet:"rgb(255, 255, 255)",orange_carpet:"rgb(216, 127, 51)",magenta_carpet:"rgb(178, 76, 216)",light_blue_carpet:"rgb(102, 153, 216)",yellow_carpet:"rgb(229, 229, 51)",lime_carpet:"rgb(127, 204, 25)",pink_carpet:"rgb(242, 127, 165)",gray_carpet:"rgb(76, 76, 76)",light_gray_carpet:"rgb(153, 153, 153)",cyan_carpet:"rgb(76, 127, 153)",purple_carpet:"rgb(127, 63, 178)",blue_carpet:"rgb(51, 76, 178)",brown_carpet:"rgb(102, 76, 51)",green_carpet:"rgb(102, 127, 51)",red_carpet:"rgb(153, 51, 51)",black_carpet:"rgb(25, 25, 25)",terracotta:"rgb(216, 127, 51)",coal_block:"rgb(25, 25, 25)",packed_ice:"rgb(160, 160, 255)",sunflower:"rgb(0, 124, 0)",lilac:"rgb(0, 124, 0)",rose_bush:"rgb(0, 124, 0)",peony:"rgb(0, 124, 0)",tall_grass:"rgb(0, 124, 0)",large_fern:"rgb(0, 124, 0)",white_banner:"rgb(143, 119, 72)",orange_banner:"rgb(143, 119, 72)",magenta_banner:"rgb(143, 119, 72)",light_blue_banner:"rgb(143, 119, 72)",yellow_banner:"rgb(143, 119, 72)",lime_banner:"rgb(143, 119, 72)",pink_banner:"rgb(143, 119, 72)",gray_banner:"rgb(143, 119, 72)",light_gray_banner:"rgb(143, 119, 72)",cyan_banner:"rgb(143, 119, 72)",purple_banner:"rgb(143, 119, 72)",blue_banner:"rgb(143, 119, 72)",brown_banner:"rgb(143, 119, 72)",green_banner:"rgb(143, 119, 72)",red_banner:"rgb(143, 119, 72)",black_banner:"rgb(143, 119, 72)",white_wall_banner:"rgb(143, 119, 72)",orange_wall_banner:"rgb(143, 119, 72)",magenta_wall_banner:"rgb(143, 119, 72)",light_blue_wall_banner:"rgb(143, 119, 72)",yellow_wall_banner:"rgb(143, 119, 72)",lime_wall_banner:"rgb(143, 119, 72)",pink_wall_banner:"rgb(143, 119, 72)",gray_wall_banner:"rgb(143, 119, 72)",light_gray_wall_banner:"rgb(143, 119, 72)",cyan_wall_banner:"rgb(143, 119, 72)",purple_wall_banner:"rgb(143, 119, 72)",blue_wall_banner:"rgb(143, 119, 72)",brown_wall_banner:"rgb(143, 119, 72)",green_wall_banner:"rgb(143, 119, 72)",red_wall_banner:"rgb(143, 119, 72)",black_wall_banner:"rgb(143, 119, 72)",red_sandstone:"rgb(216, 127, 51)",chiseled_red_sandstone:"rgb(216, 127, 51)",cut_red_sandstone:"rgb(216, 127, 51)",oak_slab:"rgb(143, 119, 72)",spruce_slab:"rgb(129, 86, 49)",birch_slab:"rgb(247, 233, 163)",jungle_slab:"rgb(151, 109, 77)",acacia_slab:"rgb(216, 127, 51)",cherry_slab:"rgb(209, 177, 161)",dark_oak_slab:"rgb(102, 76, 51)",mangrove_slab:"rgb(153, 51, 51)",bamboo_slab:"rgb(229, 229, 51)",bamboo_mosaic_slab:"rgb(229, 229, 51)",stone_slab:"rgb(112, 112, 112)",smooth_stone_slab:"rgb(112, 112, 112)",sandstone_slab:"rgb(247, 233, 163)",cut_sandstone_slab:"rgb(247, 233, 163)",petrified_oak_slab:"rgb(143, 119, 72)",cobblestone_slab:"rgb(112, 112, 112)",brick_slab:"rgb(153, 51, 51)",stone_brick_slab:"rgb(112, 112, 112)",mud_brick_slab:"rgb(135, 107, 98)",nether_brick_slab:"rgb(112, 2, 0)",quartz_slab:"rgb(255, 252, 245)",red_sandstone_slab:"rgb(216, 127, 51)",cut_red_sandstone_slab:"rgb(216, 127, 51)",purpur_slab:"rgb(178, 76, 216)",smooth_stone:"rgb(112, 112, 112)",smooth_sandstone:"rgb(247, 233, 163)",smooth_quartz:"rgb(255, 252, 245)",smooth_red_sandstone:"rgb(216, 127, 51)",chorus_plant:"rgb(127, 63, 178)",chorus_flower:"rgb(127, 63, 178)",purpur_block:"rgb(178, 76, 216)",purpur_pillar:"rgb(178, 76, 216)",end_stone_bricks:"rgb(247, 233, 163)",torchflower_crop:"rgb(0, 124, 0)",pitcher_crop:"rgb(0, 124, 0)",pitcher_plant:"rgb(0, 124, 0)",beetroots:"rgb(0, 124, 0)",dirt_path:"rgb(151, 109, 77)",end_gateway:"rgb(25, 25, 25)",repeating_command_block:"rgb(127, 63, 178)",chain_command_block:"rgb(102, 127, 51)",frosted_ice:"rgb(160, 160, 255)",magma_block:"rgb(112, 2, 0)",nether_wart_block:"rgb(153, 51, 51)",red_nether_bricks:"rgb(112, 2, 0)",bone_block:"rgb(247, 233, 163)",observer:"rgb(112, 112, 112)",kelp:"rgb(64, 64, 255)",kelp_plant:"rgb(64, 64, 255)",dried_kelp_block:"rgb(102, 127, 51)",turtle_egg:"rgb(247, 233, 163)",sniffer_egg:"rgb(153, 51, 51)",dead_tube_coral_block:"rgb(76, 76, 76)",dead_brain_coral_block:"rgb(76, 76, 76)",dead_bubble_coral_block:"rgb(76, 76, 76)",dead_fire_coral_block:"rgb(76, 76, 76)",dead_horn_coral_block:"rgb(76, 76, 76)",tube_coral_block:"rgb(51, 76, 178)",brain_coral_block:"rgb(242, 127, 165)",bubble_coral_block:"rgb(127, 63, 178)",fire_coral_block:"rgb(153, 51, 51)",horn_coral_block:"rgb(229, 229, 51)",dead_tube_coral:"rgb(76, 76, 76)",dead_brain_coral:"rgb(76, 76, 76)",dead_bubble_coral:"rgb(76, 76, 76)",dead_fire_coral:"rgb(76, 76, 76)",dead_horn_coral:"rgb(76, 76, 76)",tube_coral:"rgb(51, 76, 178)",brain_coral:"rgb(242, 127, 165)",bubble_coral:"rgb(127, 63, 178)",fire_coral:"rgb(153, 51, 51)",horn_coral:"rgb(229, 229, 51)",dead_tube_coral_fan:"rgb(76, 76, 76)",dead_brain_coral_fan:"rgb(76, 76, 76)",dead_bubble_coral_fan:"rgb(76, 76, 76)",dead_fire_coral_fan:"rgb(76, 76, 76)",dead_horn_coral_fan:"rgb(76, 76, 76)",tube_coral_fan:"rgb(51, 76, 178)",brain_coral_fan:"rgb(242, 127, 165)",bubble_coral_fan:"rgb(127, 63, 178)",fire_coral_fan:"rgb(153, 51, 51)",horn_coral_fan:"rgb(229, 229, 51)",dead_tube_coral_wall_fan:"rgb(76, 76, 76)",dead_brain_coral_wall_fan:"rgb(76, 76, 76)",dead_bubble_coral_wall_fan:"rgb(76, 76, 76)",dead_fire_coral_wall_fan:"rgb(76, 76, 76)",dead_horn_coral_wall_fan:"rgb(76, 76, 76)",tube_coral_wall_fan:"rgb(51, 76, 178)",brain_coral_wall_fan:"rgb(242, 127, 165)",bubble_coral_wall_fan:"rgb(127, 63, 178)",fire_coral_wall_fan:"rgb(153, 51, 51)",horn_coral_wall_fan:"rgb(229, 229, 51)",sea_pickle:"rgb(102, 127, 51)",blue_ice:"rgb(160, 160, 255)",conduit:"rgb(92, 219, 213)",bamboo_sapling:"rgb(143, 119, 72)",bamboo:"rgb(0, 124, 0)",bubble_column:"rgb(64, 64, 255)",scaffolding:"rgb(247, 233, 163)",loom:"rgb(143, 119, 72)",barrel:"rgb(143, 119, 72)",smoker:"rgb(112, 112, 112)",blast_furnace:"rgb(112, 112, 112)",cartography_table:"rgb(143, 119, 72)",fletching_table:"rgb(143, 119, 72)",grindstone:"rgb(167, 167, 167)",lectern:"rgb(143, 119, 72)",smithing_table:"rgb(143, 119, 72)",stonecutter:"rgb(112, 112, 112)",bell:"rgb(250, 238, 77)",lantern:"rgb(167, 167, 167)",soul_lantern:"rgb(167, 167, 167)",campfire:"rgb(129, 86, 49)",soul_campfire:"rgb(129, 86, 49)",sweet_berry_bush:"rgb(0, 124, 0)",warped_hyphae:"rgb(86, 44, 62)",stripped_warped_hyphae:"rgb(86, 44, 62)",warped_nylium:"rgb(22, 126, 134)",warped_fungus:"rgb(76, 127, 153)",warped_wart_block:"rgb(20, 180, 133)",warped_roots:"rgb(76, 127, 153)",nether_sprouts:"rgb(76, 127, 153)",crimson_hyphae:"rgb(92, 25, 29)",stripped_crimson_hyphae:"rgb(92, 25, 29)",crimson_nylium:"rgb(189, 48, 49)",crimson_fungus:"rgb(112, 2, 0)",shroomlight:"rgb(153, 51, 51)",weeping_vines:"rgb(112, 2, 0)",weeping_vines_plant:"rgb(112, 2, 0)",twisting_vines:"rgb(76, 127, 153)",twisting_vines_plant:"rgb(76, 127, 153)",crimson_roots:"rgb(112, 2, 0)",crimson_planks:"rgb(148, 63, 97)",warped_planks:"rgb(58, 142, 140)",structure_block:"rgb(153, 153, 153)",jigsaw:"rgb(153, 153, 153)",composter:"rgb(143, 119, 72)",target:"rgb(255, 252, 245)",bee_nest:"rgb(229, 229, 51)",beehive:"rgb(143, 119, 72)",honey_block:"rgb(216, 127, 51)",honeycomb_block:"rgb(216, 127, 51)",netherite_block:"rgb(25, 25, 25)",ancient_debris:"rgb(25, 25, 25)",crying_obsidian:"rgb(25, 25, 25)",respawn_anchor:"rgb(25, 25, 25)",lodestone:"rgb(167, 167, 167)",blackstone:"rgb(25, 25, 25)",polished_blackstone_pressure_plate:"rgb(25, 25, 25)",chiseled_nether_bricks:"rgb(112, 2, 0)",cracked_nether_bricks:"rgb(112, 2, 0)",amethyst_block:"rgb(127, 63, 178)",budding_amethyst:"rgb(127, 63, 178)",amethyst_cluster:"rgb(127, 63, 178)",tuff:"rgb(57, 41, 35)",calcite:"rgb(209, 177, 161)",tinted_glass:"rgb(76, 76, 76)",powder_snow:"rgb(255, 255, 255)",sculk_sensor:"rgb(76, 127, 153)",sculk:"rgb(25, 25, 25)",sculk_vein:"rgb(25, 25, 25)",sculk_catalyst:"rgb(25, 25, 25)",sculk_shrieker:"rgb(25, 25, 25)",oxidized_copper:"rgb(22, 126, 134)",weathered_copper:"rgb(58, 142, 140)",exposed_copper:"rgb(135, 107, 98)",copper_block:"rgb(216, 127, 51)",deepslate_copper_ore:"rgb(100, 100, 100)",lightning_rod:"rgb(216, 127, 51)",pointed_dripstone:"rgb(76, 50, 35)",dripstone_block:"rgb(76, 50, 35)",cave_vines:"rgb(0, 124, 0)",cave_vines_plant:"rgb(0, 124, 0)",spore_blossom:"rgb(0, 124, 0)",azalea:"rgb(0, 124, 0)",flowering_azalea:"rgb(0, 124, 0)",moss_carpet:"rgb(102, 127, 51)",pink_petals:"rgb(0, 124, 0)",moss_block:"rgb(102, 127, 51)",big_dripleaf:"rgb(0, 124, 0)",big_dripleaf_stem:"rgb(0, 124, 0)",small_dripleaf:"rgb(0, 124, 0)",hanging_roots:"rgb(151, 109, 77)",rooted_dirt:"rgb(151, 109, 77)",mud:"rgb(87, 92, 92)",deepslate:"rgb(100, 100, 100)",infested_deepslate:"rgb(100, 100, 100)",raw_iron_block:"rgb(216, 175, 147)",raw_copper_block:"rgb(216, 127, 51)",raw_gold_block:"rgb(250, 238, 77)",ochre_froglight:"rgb(247, 233, 163)",verdant_froglight:"rgb(127, 167, 150)",pearlescent_froglight:"rgb(242, 127, 165)",frogspawn:"rgb(64, 64, 255)",reinforced_deepslate:"rgb(100, 100, 100)",decorated_pot:"rgb(142, 60, 46)"},invisibleBlocks:{air:!0,void_air:!0,cave_air:!0,barrier:!0,light:!0,moving_piston:!0},hasSemiTransparentTextuersRegex:{_stained_glass$:!0,_stained_glass_pane$:!0,"^ice$":!0,"^tinted_glass$":!0,"^slime_block$":!0,"^honey_block$":!0}};var _ve=new Map,AVe=new Set(["water","flowing_water","lava","flowing_lava","grass","short_grass","tall_grass"]);function LI(i){let e=_ve.get(i);if(e)return e;let t=(0,yve.default)(i),n=(0,bve.default)(i),r=new Set(Object.keys(PI.noOcclusions)),s=new Set(t.blocksArray.filter(l=>PI.invisibleBlocks[l.name]).map(l=>l.name)),a=0;for(let l of Object.keys(t.blocksByStateId))a=Math.max(a,Number(l));let o=new Uint8Array(a+1);for(let l of Object.keys(t.blocksByStateId)){let c=Number(l);if(!c)continue;let u=n.fromStateId(c,0);u&&(s.has(u.name)||r.has(u.name)||AVe.has(u.name)||u.boundingBox!=="empty"&&(u.transparent&&u.boundingBox!=="block"||!u.shapes||u.shapes.length===0||(o[c]=1)))}return _ve.set(i,o),o}function BI(i,e){return i>0&&i<e.length&&e[i]===1}var Ty=128,kVe=Ty*4,Ay=(i,e,t)=>`${i},${e},${t}`,ja=i=>Math.floor(i/16)*16,ky=i=>(i%16+16)%16,DI=(i,e,t)=>i+t*16+e*256,TVe=(i,e)=>{let t=e>>>5;return(i[t]&1<<(e&31))!==0},OI=(i,e,t)=>{let n=e>>>5,r=1<<(e&31);t?i[n]|=r:i[n]&=~r},IVe=i=>{for(let e=0;e<Ty;e++)if(i[e])return!1;return!0},Iy=class{sections=new Map;Chunk;solidityTable;worldMinY=0;worldMaxY=256;constructor(e){this.Chunk=(0,NI.default)(e),this.solidityTable=LI(e)}setVersion(e){this.Chunk=(0,NI.default)(e),this.solidityTable=LI(e),this.sections.clear()}setWorldBounds(e,t){this.worldMinY===e&&this.worldMaxY===t||(this.worldMinY=e,this.worldMaxY=t,this.sections.clear())}clear(){this.sections.clear()}getAllocatedSectionCount(){return this.sections.size}getAllocatedBytes(){return this.sections.size*kVe}removeColumn(e,t){let n=ja(this.worldMinY);for(let r=n;r<this.worldMaxY;r+=16)this.sections.delete(Ay(e,r,t))}ingestColumn(e,t,n){let r=this.Chunk.fromJson(n),s=new kt(0,0,0);for(let a=this.worldMinY;a<this.worldMaxY;a++){s.y=a;let o=ja(a),l=a-o;for(let c=0;c<16;c++){s.z=c;let u=t+c,d=ja(u),f=u-d;for(let v=0;v<16;v++){s.x=v;let g=r.getBlockStateId(s)||0;if(!BI(g,this.solidityTable))continue;let b=e+v,y=ja(b),_=Ay(y,o,d),x=this.sections.get(_);x||(x=new Uint32Array(Ty),this.sections.set(_,x)),OI(x,DI(b-y,l,f),!0)}}}}setBlockStateId(e,t,n,r){if(t<this.worldMinY||t>=this.worldMaxY)return;let s=ja(e),a=ja(t),o=ja(n),l=Ay(s,a,o),c=DI(ky(e),t-a,ky(n));if(BI(r,this.solidityTable)){let f=this.sections.get(l);f||(f=new Uint32Array(Ty),this.sections.set(l,f)),OI(f,c,!0);return}let d=this.sections.get(l);d&&(OI(d,c,!1),IVe(d)&&this.sections.delete(l))}isSolidBlock(e,t,n){if(t<this.worldMinY||t>=this.worldMaxY)return!1;let r=this.sections.get(Ay(ja(e),ja(t),ja(n)));return r?TVe(r,DI(ky(e),t-ja(t),ky(n))):!1}};function Cv(i,e){return(i%e+e)%e}var jl=class jl{constructor(e,t,n){this.resourcesManager=e;this.displayOptions=t;this.initOptions=n;this.cameraCollisionBlockCache=new Iy(this.displayOptions.version),this.snapshotInitialValues(),this.worldRendererConfig=t.inWorldRenderingConfig,this.playerStateReactive=t.playerStateReactive,this.playerStateUtils=$0e(this.playerStateReactive),this.reactiveState=t.rendererState,this.renderUpdateEmitter.on("update",()=>{let a=Object.keys(this.finishedChunks).length;VE("loaded-chunks",`${a}/${this.chunksLength} chunks (${this.lastChunkDistance}/${this.viewDistance})`)}),i4("downloaded-chunks",100,140,20,{className:r4}),this.connect(this.displayOptions.worldView);let r=setInterval(()=>{this.geometryReceiveCountPerSec=Object.values(this.geometryReceiveCount).reduce((a,o)=>a+o,0),this.geometryReceiveCount={},j0e(this.displayAdvancedStats),this.updateChunksStats()},500),s=setInterval(()=>{this.fpsUpdate()},1e3);this.abortController.signal.addEventListener("abort",()=>{clearInterval(r),clearInterval(s)})}worldReadyResolvers=Promise.withResolvers();worldReadyPromise=this.worldReadyResolvers.promise;timeOfTheDay=0;lastMesherSkyLight=15;worldSizeParams={minY:0,worldHeight:256};cameraCollisionBlockCache;reactiveDebugParams=_l({stopRendering:!1,chunksRenderAboveOverride:void 0,chunksRenderAboveEnabled:!1,chunksRenderBelowOverride:void 0,chunksRenderBelowEnabled:!1,chunksRenderDistanceOverride:void 0,chunksRenderDistanceEnabled:!1,disableEntities:!1});active=!1;loadedChunks={};finishedChunks={};finishedSections={};sectionsWaiting=new Map;queuedChunks=new Set;queuedFunctions=[];renderUpdateEmitter=new W0;customTexturesDataUrl=void 0;workers=[];viewerChunkPosition;lastViewerChunkGridX;lastViewerChunkGridZ;lastCamUpdate=0;droppedFpsPercentage=0;initialChunkLoadWasStartedIn;initialChunksLoad=!0;enableChunksLoadDelay=!1;texturesVersion;viewDistance=-1;onRenderDistanceChanged;chunksLength=0;allChunksFinished=!1;messageQueue=[];isProcessingQueue=!1;ONMESSAGE_TIME_LIMIT=30;handleResize=()=>{};highestBlocksByChunks=new Map;blockEntities={};workersProcessAverageTime=0;workersProcessAverageTimeCount=0;maxWorkersProcessTime=0;workersPreAverageTime=0;workersWasmAverageTime=0;workersPostAverageTime=0;workersPhaseSampleCount=0;workersPreTargetConvertAverageTime=0;workersPreNeighborConvertAverageTime=0;workersPreNeighborCountAverage=0;workersPreTypedArrayBuildAverageTime=0;workersPreOtherAverageTime=0;workersPreCacheHitsTotal=0;workersPreCacheMissesTotal=0;geometryReceiveCount={};allLoadedIn;onWorldSwitched=[];renderTimeMax=0;renderTimeAvg=0;renderTimeAvgCount=0;edgeChunks={};lastAddChunk=null;neighborChunkUpdates=!0;lastChunkDistance=0;debugStopGeometryUpdate=!1;protocolCustomBlocks=new Map;mesherPoolSnapshot={mesherWorkers:-1,wasmMesher:!1,dedicatedChangeWorker:!1};mesherReconfigureQueue=Promise.resolve();heightmapDebounceTimers=new Map;sectionDirtyCount=new Map;sectionDirtyTimers=new Map;sectionDirtyPendingArgs=new Map;blockStateModelInfo=new Map;worldBlockProvider;soundSystem;anyModuleRequiresHeightmap(){return!1}isShaderCubeBlocksEnabled(){return this.worldRendererConfig.shaderCubeBlocks===!0}shaderCubeBlocksEnabled(){return this.isShaderCubeBlocksEnabled()}worldRendererConfig;playerStateReactive;playerStateUtils;reactiveState;mesherLogReader;forceCallFromMesherReplayer=!1;stopMesherMessagesProcessing=!1;abortController=new AbortController;valtioUnsubs=[];lastRendered=0;renderingActive=!0;geometryReceiveCountPerSec=0;mesherLogger={contents:[],active:new URL(location.href).searchParams.get("mesherlog")==="true"};currentRenderedFrames=0;fpsAverage=0;lastFps=0;fpsWorst=void 0;fpsSamples=0;backendInfoReport="-";chunksFullInfo="-";workerCustomHandleTime=0;get version(){return this.displayOptions.version}get displayAdvancedStats(){return(this.initOptions.config.statsVisible??0)>1}fpsUpdate(){this.fpsSamples++,this.fpsAverage=(this.fpsAverage*(this.fpsSamples-1)+this.currentRenderedFrames)/this.fpsSamples,this.fpsWorst===void 0?this.fpsWorst=this.currentRenderedFrames:this.fpsWorst=Math.min(this.fpsWorst,this.currentRenderedFrames),this.lastFps=this.currentRenderedFrames,this.displayOptions.nonReactiveState.fps=this.currentRenderedFrames,this.displayOptions.nonReactiveState.worstRenderTime=this.renderTimeMax,this.displayOptions.nonReactiveState.avgRenderTime=this.renderTimeAvg,this.currentRenderedFrames=0}logWorkerWork(e){this.mesherLogger.active&&this.mesherLogger.contents.push(typeof e=="function"?e():e)}async init(){if(this.active)throw new Error("WorldRendererCommon is already initialized");await Promise.all([this.resetWorkers(),(async()=>{this.resourcesManager.currentResources?.allReady&&await this.updateAssetsData()})()]);let e=async()=>{this.active&&await this.updateAssetsData()};tce(this.resourcesManager,"assetsTexturesUpdated",e,this.abortController.signal),this.watchReactivePlayerState(),this.watchReactiveConfig(),this.watchMesherPoolConfig(),this.worldReadyResolvers.resolve()}snapshotInitialValues(){}wasChunkSentToWorker(e){return this.loadedChunks[e]}async getHighestBlocks(e){return this.highestBlocksByChunks.get(e)}updateCustomBlock(e,t,n){if(this.protocolCustomBlocks.set(e,{...this.protocolCustomBlocks.get(e),[t]:n}),this.logWorkerWork(()=>`-> updateCustomBlock ${e} ${t} ${n} ${this.wasChunkSentToWorker(e)}`),this.wasChunkSentToWorker(e)){let[r,s,a]=t.split(",").map(Number);this.setBlockStateId(new kt(r,s,a),void 0)}}async getBlockInfo(e,t){let r=`${Math.floor(e.x/16)*16},${Math.floor(e.z/16)*16}`,s=this.protocolCustomBlocks.get(r)?.[`${e.x},${e.y},${e.z}`],a=G0e(t,s),o=this.blockStateModelInfo.get(a);return{customBlockName:s,modelInfo:o}}getMesherWorkerScript(){return this.worldRendererConfig.wasmMesher?"wasm":"legacy"}createMesherWorker(){let e=this.getMesherWorkerScript();return RVe(t=>{Array.isArray(t)?this.messageQueue.push(...t):this.messageQueue.push(t),this.processMessageQueue("worker")},e==="wasm"?"mesherWasm.js":"mesher.js")}initWorkers(e=this.worldRendererConfig.mesherWorkers){for(let t=0;t<e;t++)this.workers.push(this.createMesherWorker())}syncMesherPoolSnapshot(){this.mesherPoolSnapshot={mesherWorkers:this.worldRendererConfig.mesherWorkers,wasmMesher:this.worldRendererConfig.wasmMesher,dedicatedChangeWorker:this.worldRendererConfig.dedicatedChangeWorker}}watchMesherPoolConfig(){this.syncMesherPoolSnapshot();let e=()=>{let t=this.worldRendererConfig,n=this.mesherPoolSnapshot;t.mesherWorkers===n.mesherWorkers&&t.wasmMesher===n.wasmMesher&&t.dedicatedChangeWorker===n.dedicatedChangeWorker||(this.syncMesherPoolSnapshot(),this.enqueueMesherWorkersReconfigure())};for(let t of["mesherWorkers","wasmMesher","dedicatedChangeWorker"])this.valtioUnsubs.push(this.onReactiveConfigUpdated(t,e,!1))}enqueueMesherWorkersReconfigure(){this.mesherReconfigureQueue=this.mesherReconfigureQueue.then(()=>this.reconfigureMesherWorkers()).catch(e=>{console.error("[Mesher] Failed to reconfigure workers:",e)})}clearMesherPendingState(){this.sectionsWaiting.clear(),this.toWorkerMessagesQueue={},this.queueAwaited=!1,this.messageQueue=[],this.isProcessingQueue=!1;for(let e of this.sectionDirtyTimers.values())clearTimeout(e);this.sectionDirtyTimers.clear(),this.sectionDirtyCount.clear(),this.sectionDirtyPendingArgs.clear(),this.reactiveState.world.mesherWork=!1}terminateAllMesherWorkers(){for(let e of this.workers)e.terminate();this.workers=[]}async bootstrapMesherWorkers(){this.workers.length!==0&&(this.sendMesherMcData(),await this.updateAssetsData(),this.logWorkerWork("# mesher workers bootstrapped"))}async reconfigureMesherWorkers(){this.active&&(this.clearMesherPendingState(),this.terminateAllMesherWorkers(),this.initWorkers(),await this.bootstrapMesherWorkers(),this.active&&await this.requestLoadedChunksReload())}async requestLoadedChunksReload(){try{let e=this.displayOptions.worldView;if(typeof e.reloadLoadedChunks=="function"){await e.reloadLoadedChunks();return}let t=globalThis;typeof t.WorkerGlobalScope<"u"&&globalThis instanceof t.WorkerGlobalScope&&self.postMessage({type:"reloadLoadedChunks"})}catch(e){console.error("[Mesher] Failed to reload chunks after worker reconfigure:",e)}}onReactivePlayerStateUpdated(e,t,n=!0){return n&&t(this.playerStateReactive[e]),Sl(this.playerStateReactive,e,t)}onReactiveConfigUpdated(e,t,n=!0){return n&&t(this.worldRendererConfig[e]),e==="*"?v1(this.worldRendererConfig,t):Sl(this.worldRendererConfig,e,t)}onReactiveDebugUpdated(e,t){t(this.reactiveDebugParams[e]),Sl(this.reactiveDebugParams,e,t)}watchReactivePlayerState(){this.valtioUnsubs.push(this.onReactivePlayerStateUpdated("backgroundColor",e=>{this.changeBackgroundColor(e)})),this.valtioUnsubs.push(this.onReactivePlayerStateUpdated("cardinalLight",e=>{this.changeCardinalLight(e)}))}watchReactiveConfig(){this.valtioUnsubs.push(this.onReactiveConfigUpdated("fetchPlayerSkins",e=>{ece({apiEnabled:e})}))}async processMessageQueue(e){if(this.isProcessingQueue||this.messageQueue.length===0)return;if(this.logWorkerWork(`# ${e} processing queue`),this.lastRendered&&performance.now()-this.lastRendered>this.ONMESSAGE_TIME_LIMIT&&this.worldRendererConfig._experimentalSmoothChunkLoading&&this.renderingActive){let r=performance.now();await new Promise(s=>{requestAnimationFrame(s)}),this.logWorkerWork(`# processing got delayed by ${performance.now()-r}ms`)}this.isProcessingQueue=!0;let t=performance.now(),n=0;for(;this.messageQueue.length>0;){let r=this.stopMesherMessagesProcessing;if(!r){let s=this.messageQueue.shift();this.handleMessage(s),n++}if(r||performance.now()-t>this.ONMESSAGE_TIME_LIMIT&&this.renderingActive&&this.worldRendererConfig._experimentalSmoothChunkLoading){if(this.messageQueue.length>0){requestAnimationFrame(async()=>{this.isProcessingQueue=!1,this.processMessageQueue("queue-delay")});return}break}}this.isProcessingQueue=!1}handleMessage(e){let t=e;if(this.active){if(this.mesherLogReader?.workerMessageReceived(t.type,t),t.type!=="geometry"||!this.debugStopGeometryUpdate){let n=performance.now();this.handleWorkerMessage(t),this.workerCustomHandleTime+=performance.now()-n}if(t.type==="geometry"){this.logWorkerWork(()=>`-> ${t.workerIndex} geometry ${t.key} ${JSON.stringify({dataSize:JSON.stringify(t).length})}`),this.geometryReceiveCount[t.workerIndex]??=0,this.geometryReceiveCount[t.workerIndex]++;let n=t.key.split(",").map(Number);this.lastChunkDistance=Math.max(...this.getDistance(new kt(n[0],0,n[2])))}if(t.type==="sectionFinished"){if(this.logWorkerWork(`<- ${t.workerIndex} sectionFinished ${t.key} ${JSON.stringify({processTime:t.processTime})}`),!this.sectionsWaiting.has(t.key)){console.debug(`sectionFinished for non-outstanding section ${t.key} (viewDistance=${this.viewDistance})`);return}this.sectionsWaiting.set(t.key,this.sectionsWaiting.get(t.key)-1),this.sectionsWaiting.get(t.key)===0&&(this.sectionsWaiting.delete(t.key),this.finishedSections[t.key]=!0);let n=t.key.split(",").map(Number),r=`${n[0]},${n[2]}`;if(this.loadedChunks[r]){let s=!0,a=this.getSectionHeight();for(let o=this.worldMinYRender;o<this.worldSizeParams.worldHeight;o+=a)if(!this.finishedSections[`${n[0]},${o},${n[2]}`]){s=!1;break}if(s){this.finishedChunks[r]=!0;let o=16,l=`${Math.floor(n[0]/o)},${Math.floor(n[2]/o)}`;this.reactiveState.world.chunksLoaded[l]=!0,this.renderUpdateEmitter.emit("chunkFinished",`${n[0]},${n[2]}`),this.checkAllFinished()}}if(this.renderUpdateEmitter.emit("update"),t.processTime&&(this.workersProcessAverageTimeCount++,this.workersProcessAverageTime=(this.workersProcessAverageTime*(this.workersProcessAverageTimeCount-1)+t.processTime)/this.workersProcessAverageTimeCount,this.maxWorkersProcessTime=Math.max(this.maxWorkersProcessTime,t.processTime)),typeof t.pre=="number"&&typeof t.wasm=="number"&&typeof t.post=="number"&&(t.pre>0||t.wasm>0||t.post>0)){let s=++this.workersPhaseSampleCount;this.workersPreAverageTime=(this.workersPreAverageTime*(s-1)+t.pre)/s,this.workersWasmAverageTime=(this.workersWasmAverageTime*(s-1)+t.wasm)/s,this.workersPostAverageTime=(this.workersPostAverageTime*(s-1)+t.post)/s;let a=typeof t.preTargetConvert=="number"?t.preTargetConvert:0,o=typeof t.preNeighborConvert=="number"?t.preNeighborConvert:0,l=typeof t.preNeighborCount=="number"?t.preNeighborCount:0,c=typeof t.preTypedArrayBuild=="number"?t.preTypedArrayBuild:0,u=typeof t.preOther=="number"?t.preOther:0,d=typeof t.preCacheHits=="number"?t.preCacheHits:0,f=typeof t.preCacheMisses=="number"?t.preCacheMisses:0;if(this.workersPreTargetConvertAverageTime=(this.workersPreTargetConvertAverageTime*(s-1)+a)/s,this.workersPreNeighborConvertAverageTime=(this.workersPreNeighborConvertAverageTime*(s-1)+o)/s,this.workersPreNeighborCountAverage=(this.workersPreNeighborCountAverage*(s-1)+l)/s,this.workersPreTypedArrayBuildAverageTime=(this.workersPreTypedArrayBuildAverageTime*(s-1)+c)/s,this.workersPreOtherAverageTime=(this.workersPreOtherAverageTime*(s-1)+u)/s,this.workersPreCacheHitsTotal+=d,this.workersPreCacheMissesTotal+=f,this.worldRendererConfig.debugWasmPerf&&s%jl.PHASE_PERF_LOG_INTERVAL===0){let v=this.workersPreAverageTime+this.workersWasmAverageTime+this.workersPostAverageTime,g=v>0?this.workersPreAverageTime/v*100:0,b=v>0?this.workersWasmAverageTime/v*100:0,y=v>0?this.workersPostAverageTime/v*100:0,_=this.workersPreAverageTime,x=_>0?this.workersPreTargetConvertAverageTime/_*100:0,w=_>0?this.workersPreNeighborConvertAverageTime/_*100:0,S=_>0?this.workersPreTypedArrayBuildAverageTime/_*100:0,A=_>0?this.workersPreOtherAverageTime/_*100:0,T=this.workersPreNeighborCountAverage,P=T>0?this.workersPreNeighborConvertAverageTime/T:0,I=this.workersPreCacheHitsTotal+this.workersPreCacheMissesTotal,k=I>0?this.workersPreCacheHitsTotal/I*100:0;console.log(`[wasm-mesher perf] n=${s} pre=${this.workersPreAverageTime.toFixed(2)}ms (${g.toFixed(1)}%) wasm=${this.workersWasmAverageTime.toFixed(2)}ms (${b.toFixed(1)}%) post=${this.workersPostAverageTime.toFixed(2)}ms (${y.toFixed(1)}%) | pre.targetConvert=${this.workersPreTargetConvertAverageTime.toFixed(2)}ms (${x.toFixed(1)}%) pre.neighborConvert=${this.workersPreNeighborConvertAverageTime.toFixed(2)}ms (${w.toFixed(1)}%) [n\u0304=${T.toFixed(2)}, per-nbr=${P.toFixed(2)}ms] pre.typedArrayBuild=${this.workersPreTypedArrayBuildAverageTime.toFixed(2)}ms (${S.toFixed(1)}%) pre.other=${this.workersPreOtherAverageTime.toFixed(2)}ms (${A.toFixed(1)}%) | pre.cache hits=${this.workersPreCacheHitsTotal} misses=${this.workersPreCacheMissesTotal} (${k.toFixed(1)}% hit)`)}}}if(t.type==="blockStateModelInfo")for(let[n,r]of Object.entries(t.info))this.blockStateModelInfo.set(n,r);if(t.type==="heightmap"){let n=new Int16Array(t.heightmap);this.reactiveState.world.heightmaps[t.key]=n}if(t.type==="neighborDataArrived"){let n=this.getSectionHeight();for(let r=this.worldMinYRender;r<this.worldSizeParams.worldHeight;r+=n)this.setSectionDirty(new kt(t.x,r,t.z))}}}downloadMesherLog(){let e=document.createElement("a");e.href="data:text/plain;charset=utf-8,"+encodeURIComponent(this.mesherLogger.contents.join(`
|
|
4647
4647
|
`)),e.download="mesher.log",e.click()}checkAllFinished(){this.sectionsWaiting.size===0&&(this.reactiveState.world.mesherWork=!1),Object.keys(this.finishedChunks).length>=this.chunksLength&&(this.allChunksLoaded?.(),this.allChunksFinished=!0,this.allLoadedIn??=Date.now()-this.initialChunkLoadWasStartedIn),this.updateChunksStats()}changeHandSwingingState(e,t){}updateViewerPosition(e){this.viewerChunkPosition=e;for(let[r,s]of Object.entries(this.loadedChunks))s&&this.updatePosDataChunk?.(r);let t=Math.floor(e.x/16),n=Math.floor(e.z/16);(t!==this.lastViewerChunkGridX||n!==this.lastViewerChunkGridZ)&&(this.lastViewerChunkGridX=t,this.lastViewerChunkGridZ=n,this.onViewerChunkPositionChanged())}onViewerChunkPositionChanged(){}sendWorkers(e){for(let t of this.workers)t.postMessage(e)}getDistance(e){let[t,n]=H0e(this.viewerChunkPosition),r=16,s=Math.abs(t-Math.floor(e.x/r)),a=Math.abs(n-Math.floor(e.z/r));return[s,a]}resetWorld(){for(let e of this.workers)e.terminate();this.workers=[]}async resetWorkers(){this.resetWorld(),typeof document<"u"&&document?.readyState==="loading"&&await new Promise(e=>{document.addEventListener("DOMContentLoaded",e)}),this.initWorkers(),this.active=!0,this.syncMesherPoolSnapshot(),this.sendMesherMcData()}getMesherConfig(){let e=this.timeOfTheDay,t=e<0||e>24e3?15:Ml(e);return{version:this.version,enableLighting:this.worldRendererConfig.enableLighting,skyLight:t,smoothLighting:this.worldRendererConfig.smoothLighting,shadingTheme:this.worldRendererConfig.shadingTheme,cardinalLight:this.worldRendererConfig.cardinalLight,outputFormat:this.outputFormat,debugModelVariant:this.worldRendererConfig.debugModelVariant,clipWorldBelowY:this.worldRendererConfig.clipWorldBelowY,disableBlockEntityTextures:!this.worldRendererConfig.extraBlockRenderers,worldMinY:this.worldMinYRender,worldMaxY:this.worldMinYRender+this.worldSizeParams.worldHeight,disableConversionCache:this.worldRendererConfig.disableMesherConversionCache,computeWireframeEdges:this.worldRendererConfig.futuristicReveal===!0,shaderCubeBlocks:this.isShaderCubeBlocksEnabled()}}sendMesherMcData(){let e=this.resourcesManager.currentResources.mcData;CVe(this.workers,this.version,UE,e),this.logWorkerWork("# mcData sent")}async updateAssetsData(){let e=this.resourcesManager.currentResources;if(this.workers.length===0)throw new Error("workers not initialized yet");for(let[t,n]of this.workers.entries()){let{blockstatesModels:r}=e;n.postMessage({type:"mesherData",workerIndex:t,blocksAtlas:{latest:e.blocksAtlasJson},blockstatesModels:r,config:this.getMesherConfig()})}this.logWorkerWork("# mesherData sent"),console.log("textures loaded")}getSectionHeight(){return q0e}get worldMinYRender(){let e=this.getSectionHeight();return Math.floor(Math.max(this.worldSizeParams.minY,this.worldRendererConfig.clipWorldBelowY??-1/0)/e)*e}updateChunksStats(){let e=Object.keys(this.finishedChunks);this.displayOptions.nonReactiveState.world.chunksLoadedCount=e.length,this.displayOptions.nonReactiveState.world.chunksTotalNumber=this.chunksLength,this.reactiveState.world.allChunksLoaded=this.allChunksFinished;let t=`Q: ${this.messageQueue.length} ${Object.keys(this.loadedChunks).length}/${Object.keys(this.finishedChunks).length}/${this.chunksLength} chunks (${this.workers.length}:${this.workersProcessAverageTime.toFixed(0)}ms/${this.geometryReceiveCountPerSec}ss/${this.allLoadedIn?.toFixed(1)??"-"}s)`;this.chunksFullInfo=t,this.displayOptions.nonReactiveState.world.chunksFullInfo=t,VE("downloaded-chunks",t)}addColumn(e,t,n,r){if(!this.active)return;if(this.workers.length===0)throw new Error("workers not initialized yet");this.initialChunksLoad=!1,this.initialChunkLoadWasStartedIn??=Date.now(),this.loadedChunks[`${e},${t}`]=!0,this.updateChunksStats();let s=`${e},${t}`,a=this.protocolCustomBlocks.get(s);for(let c of this.workers)c.postMessage({type:"chunk",x:e,z:t,chunk:n,customBlockModels:a||void 0});this.worldRendererConfig.wasmMesher||this.workers[0].postMessage({type:"getHeightmap",x:e,z:t}),this.logWorkerWork(()=>`-> chunk ${JSON.stringify({x:e,z:t,chunkLength:n.length,customBlockModelsLength:a?Object.keys(a).length:0})}`),this.mesherLogReader?.chunkReceived(e,t,n.length),this.cameraCollisionBlockCache.ingestColumn(e,t,n);let o=this.getSectionHeight(),l=16;for(let c=this.worldMinYRender;c<this.worldSizeParams.worldHeight;c+=o){let u=new kt(e,c,t);this.setSectionDirty(u),this.neighborChunkUpdates&&(!r||this.worldRendererConfig.smoothLighting)&&(this.setSectionDirty(u.offset(-l,0,0)),this.setSectionDirty(u.offset(l,0,0)),this.setSectionDirty(u.offset(0,0,-l)),this.setSectionDirty(u.offset(0,0,l)))}}markAsLoaded(e,t){this.loadedChunks[`${e},${t}`]=!0,this.finishedChunks[`${e},${t}`]=!0,this.logWorkerWork(`-> markAsLoaded ${JSON.stringify({x:e,z:t})}`),this.renderUpdateEmitter.emit("chunkFinished",`${e},${t}`),this.checkAllFinished()}removeColumn(e,t){delete this.loadedChunks[`${e},${t}`];let n=`${e},${t}`,r=this.heightmapDebounceTimers.get(n);r&&(clearTimeout(r),this.heightmapDebounceTimers.delete(n));for(let[o,l]of this.sectionDirtyTimers)o.startsWith(`${e},`)&&o.endsWith(`,${t}`)&&(clearTimeout(l),this.sectionDirtyTimers.delete(o),this.sectionDirtyCount.delete(o),this.sectionDirtyPendingArgs.delete(o));for(let o=0;o<this.workers.length;o++)this.toWorkerMessagesQueue[o]??=[],this.toWorkerMessagesQueue[o].push({type:"unloadChunk",x:e,z:t});this.dispatchMessages(),this.logWorkerWork(`-> unloadChunk ${JSON.stringify({x:e,z:t})}`),delete this.finishedChunks[`${e},${t}`],this.allChunksFinished=Object.keys(this.finishedChunks).length===this.chunksLength,Object.keys(this.finishedChunks).length===0&&(this.allLoadedIn=void 0,this.initialChunkLoadWasStartedIn=void 0);let s=this.getSectionHeight();for(let o=this.worldMinYRender;o<this.worldSizeParams.worldHeight;o+=s){let l=`${e},${o},${t}`,c=this.sectionsWaiting.get(l);c!==void 0&&c>0&&console.debug(`[removeColumn] clearing non-zero sectionsWaiting for ${l}: ${c} (chunk ${e},${t}, viewDistance=${this.viewDistance})`),this.sectionsWaiting.delete(l),delete this.finishedSections[l]}this.highestBlocksByChunks.delete(`${e},${t}`),this.cameraCollisionBlockCache.removeColumn(e,t);let a=`${Math.floor(e/16)},${Math.floor(t/16)}`;delete this.reactiveState.world.heightmaps[a],this.updateChunksStats(),Object.keys(this.loadedChunks).length===0&&(this.mesherLogger.contents=[],this.logWorkerWork("# all chunks unloaded. New log started"),this.mesherLogReader?.maybeStartReplay())}setBlockStateId(e,t,n=!0){(async()=>{let a=Math.floor(e.x/16)*16,o=Math.floor(e.z/16)*16;this.queuedChunks.has(`${a},${o}`)&&await new Promise(l=>{this.queuedFunctions.push(()=>{l()})}),this.loadedChunks[`${a},${o}`],this.setBlockStateIdInner(e,t,n)})()}updateEntity(e,t=!1){}lightUpdate(e,t){}connect(e){let t=e,n=this.abortController.signal;ei(t,"entity",s=>{this.updateEntity(s,!1)},n),ei(t,"entityMoved",s=>{this.updateEntity(s,!0)},n),ei(t,"playerEntity",s=>{this.updatePlayerEntity?.(s)},n);let r=null;ei(t,"loadChunk",({x:s,z:a,chunk:o,worldConfig:l,isLightUpdate:c})=>{this.worldSizeParams=l,this.cameraCollisionBlockCache.setWorldBounds(l.minY,l.worldHeight),this.queuedChunks.add(`${s},${a}`);let u=[s,a,o,c];r||(r={data:[],timeout:setTimeout(()=>{for(let d of r.data)this.queuedChunks.delete(`${d[0]},${d[1]}`),this.addColumn(...d);for(let d of this.queuedFunctions)d();this.queuedFunctions=[],r=null},this.worldRendererConfig.addChunksBatchWaitTime)}),r.data.push(u)},n),ei(t,"blockEntities",s=>{this.blockEntities=s},n),ei(t,"unloadChunk",({x:s,z:a})=>{this.removeColumn(s,a)},n),ei(t,"blockUpdate",({pos:s,stateId:a})=>{this.setBlockStateId(new kt(s.x,s.y,s.z),a)},n),ei(t,"chunkPosUpdate",({pos:s})=>{this.updateViewerPosition(s)},n),ei(t,"end",()=>{this.worldStop?.()},n),ei(t,"renderDistance",s=>{this.viewDistance=s,this.chunksLength=s===0?1:C3(s).length,this.allChunksFinished=Object.keys(this.finishedChunks).length===this.chunksLength,this.onRenderDistanceChanged?.(s)},n),ei(t,"markAsLoaded",({x:s,z:a})=>{this.markAsLoaded(s,a)},n),ei(t,"updateLight",({pos:s})=>{this.lightUpdate(s.x,s.z)},n),ei(t,"onWorldSwitch",()=>{this.cameraCollisionBlockCache.clear();for(let s of this.onWorldSwitched)try{s()}catch(a){setTimeout(()=>{throw console.log("[Renderer Backend] Error in onWorldSwitched:"),a},0)}},n),ei(t,"time",s=>{if(!this.worldRendererConfig.dayCycle)return;this.timeUpdated?.(s),this.timeOfTheDay=s;let a=s<0||s>24e3?15:Ml(s);this.lastMesherSkyLight!==a&&(this.lastMesherSkyLight=a,this.workers.length>0&&this.sendWorkers({config:{skyLight:a}}),this.onDayCycleSkyLightChanged?.(a))},n),ei(t,"biomeUpdate",({biome:s})=>{this.biomeUpdated?.(s)},n),ei(t,"biomeReset",()=>{this.biomeReset?.()},n)}setBlockStateIdInner(e,t,n=!0){let s=`${Math.floor(e.x/16)*16},${Math.floor(e.z/16)*16}`,a=`${e.x},${e.y},${e.z}`,o=this.protocolCustomBlocks.get(s)||{};for(let l of this.workers)l.postMessage({type:"blockUpdate",pos:e,stateId:t,customBlockModels:o});if(this.anyModuleRequiresHeightmap()){let l=Math.floor(e.x/16)*16,c=Math.floor(e.z/16)*16,u=`${l},${c}`;if(!this.worldRendererConfig.wasmMesher){let d=this.heightmapDebounceTimers.get(u);d&&clearTimeout(d),this.heightmapDebounceTimers.set(u,setTimeout(()=>{this.heightmapDebounceTimers.delete(u),this.workers[0]?.postMessage({type:"getHeightmap",x:l,z:c})},100))}}if(this.logWorkerWork(`-> blockUpdate ${JSON.stringify({pos:e,stateId:t,customBlockModels:o})}`),t!==void 0&&this.cameraCollisionBlockCache.setBlockStateId(e.x,e.y,e.z,t),this.setSectionDirty(e,!0,!0),this.neighborChunkUpdates){let c=this.getSectionHeight();e.x&15||this.setSectionDirty(e.offset(-16,0,0),!0,!0),(e.x&15)===15&&this.setSectionDirty(e.offset(16,0,0),!0,!0),e.y&c-1||this.setSectionDirty(e.offset(0,-c,0),!0,!0),(e.y&c-1)===c-1&&this.setSectionDirty(e.offset(0,c,0),!0,!0),e.z&15||this.setSectionDirty(e.offset(0,0,-16),!0,!0),(e.z&15)===15&&this.setSectionDirty(e.offset(0,0,16),!0,!0),n&&(!(e.x&15)&&!(e.z&15)&&this.setSectionDirty(e.offset(-16,0,-16),!0,!0),(e.x&15)===15&&!(e.z&15)&&this.setSectionDirty(e.offset(16,0,-16),!0,!0),!(e.x&15)&&(e.z&15)===15&&this.setSectionDirty(e.offset(-16,0,16),!0,!0),(e.x&15)===15&&(e.z&15)===15&&this.setSectionDirty(e.offset(16,0,16),!0,!0),!(e.x&15)&&!(e.y&c-1)&&this.setSectionDirty(e.offset(-16,-c,0),!0,!0),(e.x&15)===15&&!(e.y&c-1)&&this.setSectionDirty(e.offset(16,-c,0),!0,!0),!(e.z&15)&&!(e.y&c-1)&&this.setSectionDirty(e.offset(0,-c,-16),!0,!0),(e.z&15)===15&&!(e.y&c-1)&&this.setSectionDirty(e.offset(0,-c,16),!0,!0),!(e.y&c-1)&&!(e.x&15)&&!(e.z&15)&&this.setSectionDirty(e.offset(-16,-c,-16),!0,!0),!(e.y&c-1)&&(e.x&15)===15&&!(e.z&15)&&this.setSectionDirty(e.offset(16,-c,-16),!0,!0),!(e.y&c-1)&&!(e.x&15)&&(e.z&15)===15&&this.setSectionDirty(e.offset(-16,-c,16),!0,!0),!(e.y&c-1)&&(e.x&15)===15&&(e.z&15)===15&&this.setSectionDirty(e.offset(16,-c,16),!0,!0))}}queueAwaited=!1;toWorkerMessagesQueue={};getWorkerNumber(e,t=!1){let r=this.getSectionHeight();if(this.worldRendererConfig.dedicatedChangeWorker&&this.workers.length>1){if(this.worldRendererConfig.wasmMesher)return Cv(Math.floor(e.x/16)+Math.floor(e.z/16),this.workers.length);if(t){let o=`${Math.floor(e.x/16)*16},${Math.floor(e.y/r)*r},${Math.floor(e.z/16)*16}`;if(this.sectionsWaiting.get(o)&&!this.finishedSections[o]){let c=this.workers.length-1;return Cv(Math.floor(e.x/16)+Math.floor(e.y/r)+Math.floor(e.z/16),c)}return this.workers.length-1}let a=this.workers.length-1;return Cv(Math.floor(e.x/16)+Math.floor(e.y/r)+Math.floor(e.z/16),a)}if(this.worldRendererConfig.wasmMesher)return Cv(Math.floor(e.x/16)+Math.floor(e.z/16),this.workers.length);if(t){let a=`${Math.floor(e.x/16)*16},${Math.floor(e.y/r)*r},${Math.floor(e.z/16)*16}`;if(!(this.sectionsWaiting.get(a)&&!this.finishedSections[a]))return 0}return Cv(Math.floor(e.x/16)+Math.floor(e.y/r)+Math.floor(e.z/16),this.workers.length)}async debugGetWorkerCustomBlockModel(e){let t=[];for(let n of this.workers)t.push(new Promise(r=>{n.addEventListener("message",s=>{s.data.type==="customBlockModel"&&r(s.data.customBlockModel)})})),n.postMessage({type:"getCustomBlockModel",pos:e});return Promise.all(t)}setSectionDirty(e,t=!0,n=!1){if(!this.forceCallFromMesherReplayer&&this.mesherLogReader)return;if(this.viewDistance===-1)throw new Error("viewDistance not set");let r=this.getDistance(e);if(!this.workers.length||r[0]>this.viewDistance||r[1]>this.viewDistance)return;if(!t){this._dispatchDirtyImmediate(e,t,n);return}let s=16,a=this.getSectionHeight(),o=`${Math.floor(e.x/s)*s},${Math.floor(e.y/a)*a},${Math.floor(e.z/s)*s}`,l=(this.sectionDirtyCount.get(o)??0)+1;this.sectionDirtyCount.set(o,l),l<=jl.GEOMETRY_THROTTLE_THRESHOLD?(this._dispatchDirtyImmediate(e,t,n),this.sectionDirtyTimers.has(o)||this.sectionDirtyTimers.set(o,setTimeout(()=>{let c=this.sectionDirtyPendingArgs.get(o);this.sectionDirtyCount.delete(o),this.sectionDirtyTimers.delete(o),this.sectionDirtyPendingArgs.delete(o),c&&this._dispatchDirtyImmediate(c.pos,c.value,c.useChangeWorker)},jl.GEOMETRY_THROTTLE_DELAY))):(this.sectionDirtyPendingArgs.set(o,{pos:e,value:t,useChangeWorker:n}),this.sectionDirtyTimers.has(o)||this.sectionDirtyTimers.set(o,setTimeout(()=>{let c=this.sectionDirtyPendingArgs.get(o);this.sectionDirtyCount.delete(o),this.sectionDirtyTimers.delete(o),this.sectionDirtyPendingArgs.delete(o),c&&this._dispatchDirtyImmediate(c.pos,c.value,c.useChangeWorker)},jl.GEOMETRY_THROTTLE_DELAY)))}_dispatchDirtyImmediate(e,t,n){this.reactiveState.world.mesherWork=!0;let r=16,s=this.getSectionHeight(),a=`${Math.floor(e.x/r)*r},${Math.floor(e.y/s)*s},${Math.floor(e.z/r)*r}`;this.renderUpdateEmitter.emit("dirty",e,t);let o=this.getWorkerNumber(e,n&&(this.mesherLogger.active||this.worldRendererConfig.dedicatedChangeWorker));this.sectionsWaiting.set(a,(this.sectionsWaiting.get(a)??0)+1),this.forceCallFromMesherReplayer?this.workers[o].postMessage({type:"dirty",x:e.x,y:e.y,z:e.z,value:t,config:this.getMesherConfig()}):(this.toWorkerMessagesQueue[o]??=[],this.toWorkerMessagesQueue[o].push({type:"dirty",x:e.x,y:e.y,z:e.z,value:t,config:this.getMesherConfig()}),this.dispatchMessages())}dispatchMessages(){this.queueAwaited||(this.queueAwaited=!0,setTimeout(()=>{for(let e in this.toWorkerMessagesQueue){let t=this.workers[Number(e)],n=this.toWorkerMessagesQueue[e];t.postMessage(n);for(let r of n)this.logWorkerWork(`-> ${e} dispatchMessages ${r.type} ${JSON.stringify({x:r.x,y:r.y,z:r.z,value:r.value})}`)}this.toWorkerMessagesQueue={},this.queueAwaited=!1}))}async waitForChunksToRender(){return new Promise((e,t)=>{if([...this.sectionsWaiting].length===0){e();return}let n=()=>{this.sectionsWaiting.size===0&&(this.renderUpdateEmitter.removeListener("update",n),e())};this.renderUpdateEmitter.on("update",n)})}async waitForChunkToLoad(e){return new Promise((t,n)=>{let s=`${Math.floor(e.x/16)*16},${Math.floor(e.z/16)*16}`;if(this.loadedChunks[s]){t();return}let a=()=>{this.loadedChunks[s]&&(this.renderUpdateEmitter.removeListener("update",a),t())};this.renderUpdateEmitter.on("update",a)})}destroy(){for(let e of this.valtioUnsubs)e();this.valtioUnsubs=[];for(let e of this.heightmapDebounceTimers.values())clearTimeout(e);this.heightmapDebounceTimers.clear();for(let e of this.sectionDirtyTimers.values())clearTimeout(e);this.sectionDirtyTimers.clear(),this.sectionDirtyCount.clear(),this.sectionDirtyPendingArgs.clear();for(let e of this.workers)e.terminate();this.workers=[],this.soundSystem&&(this.soundSystem.destroy(),this.soundSystem=void 0),this.active=!1,this.loadedChunks={},this.finishedChunks={},this.finishedSections={},this.sectionsWaiting.clear(),this.queuedChunks.clear(),this.blockStateModelInfo.clear(),this.renderUpdateEmitter.removeAllListeners(),this.abortController.abort(),X0e()}};Wn(jl,"PHASE_PERF_LOG_INTERVAL",64),Wn(jl,"GEOMETRY_THROTTLE_THRESHOLD",1),Wn(jl,"GEOMETRY_THROTTLE_DELAY",100);var Ry=jl,RVe=(i,e="mesher.js")=>{let t;if(process.env.SINGLE_FILE_BUILD){let n=document.getElementById("mesher-worker-code").textContent,r=new Blob([n],{type:"text/javascript"});t=new Worker(window.URL.createObjectURL(r))}else t=new Worker(e);return t.onmessage=({data:n})=>{i(n)},t.on&&t.on("message",n=>{t.onmessage({data:n})}),t},xve=!1,CVe=(i,e,t=UE,n)=>{let r={version:JSON.parse(JSON.stringify(n.version))};for(let[s,a]of Object.entries(t))r[s]=n[a];"tints"in t&&!r.tints&&!xve&&(xve=!0,console.warn(`[meshersSendMcData] mcData.tints missing for version ${e}; shader cubes will use legacy path in worker`));for(let s of i)s.postMessage({type:"mcData",mcData:r})};o4();h();p();m();Lt();h();p();m();function Py(i,e){let t=e/180*Math.PI,n=Math.cos(t),r=Math.sin(t),s={x:0,y:1,z:2}[i],a=(s+1)%3,o=(s+2)%3,l=[[0,0,0],[0,0,0],[0,0,0]];return l[s][s]=1,l[a][a]=n,l[a][o]=-r,l[o][a]=+r,l[o][o]=n,l}function UI(i,e){return e?[i[0]+e[0],i[1]+e[1],i[2]+e[2]]:i}function Cy(i,e){return e?[i[0]-e[0],i[1]-e[1],i[2]-e[2]]:i}function Ed(i,e){return i?[i[0][0]*e[0]+i[0][1]*e[1]+i[0][2]*e[2],i[1][0]*e[0]+i[1][1]*e[1]+i[1][2]*e[2],i[2][0]*e[0]+i[2][1]*e[1]+i[2][2]*e[2]]:e}function FI(i,e){let t=[[0,0,0],[0,0,0],[0,0,0]],n=i[0][0],r=i[1][0],s=i[2][0],a=i[0][1],o=i[1][1],l=i[2][1],c=i[0][2],u=i[1][2],d=i[2][2],f=e[0][0],v=e[1][0],g=e[2][0],b=e[0][1],y=e[1][1],_=e[2][1],x=e[0][2],w=e[1][2],S=e[2][2];return t[0][0]=n*f+r*b+s*x,t[1][0]=n*v+r*y+s*w,t[2][0]=n*g+r*_+s*S,t[0][1]=a*f+o*b+l*x,t[1][1]=a*v+o*y+l*w,t[2][1]=a*g+o*_+l*S,t[0][2]=c*f+u*b+d*x,t[1][2]=c*v+u*y+d*w,t[2][2]=c*g+u*_+d*S,t}function wve(i){let e=Py(i.axis,i.angle),t=Cy(i.origin,Ed(e,i.origin));if(i.rescale){let n=2-Math.sqrt(2),r=i.angle*Math.PI/180,s=Math.abs(Math.sin(r))*n,a=i.axis==="x"?1:0,o=i.axis==="y"?1:0,l=i.axis==="z"?1:0,c=[[(1-a)*s+1,0,0],[0,(1-o)*s+1,0],[0,0,(1-l)*s+1]];e=FI(e,c),t=Cy(i.origin,Ed(e,i.origin))}return{localMatrix:e,localShift:t}}var VI={up:{dir:[0,1,0],mask1:[1,1,0],mask2:[0,1,1],corners:[[0,1,1,0,1],[1,1,1,1,1],[0,1,0,0,0],[1,1,0,1,0]]},down:{dir:[0,-1,0],mask1:[1,1,0],mask2:[0,1,1],corners:[[1,0,1,0,1],[0,0,1,1,1],[1,0,0,0,0],[0,0,0,1,0]]},east:{dir:[1,0,0],mask1:[1,1,0],mask2:[1,0,1],corners:[[1,1,1,0,0],[1,0,1,0,1],[1,1,0,1,0],[1,0,0,1,1]]},west:{dir:[-1,0,0],mask1:[1,1,0],mask2:[1,0,1],corners:[[0,1,0,0,0],[0,0,0,0,1],[0,1,1,1,0],[0,0,1,1,1]]},north:{dir:[0,0,-1],mask1:[1,0,1],mask2:[0,1,1],corners:[[1,0,0,1,1],[0,0,0,0,1],[1,1,0,1,0],[0,1,0,0,0]]},south:{dir:[0,0,1],mask1:[1,0,1],mask2:[0,1,1],corners:[[0,0,1,0,1],[1,0,1,1,1],[0,1,1,0,0],[1,1,1,1,0]]}};function PVe(i,e,t,n,r,s,a,o){let l=new kt(0,0,0);for(let c in i.faces){let u=i.faces[c],{corners:d,mask1:f,mask2:v}=VI[c],g=Ed(n,VI[c].dir);if(u.cullface&&o[c])continue;let b=i.from[0],y=i.from[1],_=i.from[2],x=i.to[0],w=i.to[1],S=i.to[2],A=u.texture,{u:T}=A,{v:P}=A,{su:I}=A,{sv:k}=A,L=Math.floor(t.positions.length/3),B=[1,1,1];u.tintindex!==void 0&&u.tintindex===0&&(B=[.5686274509803921,.7411764705882353,.34901960784313724]);let U=u.rotation||0,O=Math.cos(U*Math.PI/180),V=-Math.sin(U*Math.PI/180),F=null,J=null;i.rotation&&({localMatrix:F,localShift:J}=wve(i.rotation));let $=[],ne=1;for(let se of d){let j=[se[0]?x:b,se[1]?w:y,se[2]?S:_];j=UI(Ed(F,j),J),j=UI(Ed(n,j),r),j=j.map(re=>re/16),t.positions.push(j[0],j[1],j[2]),t.normals.push(...g);let q=(se[3]-.5)*O-(se[4]-.5)*V+.5,z=(se[3]-.5)*V+(se[4]-.5)*O+.5;t.uvs.push(q*I+T,z*k+P);let K=1;e&&(K=4/4*(15/15),$.push(3)),t.colors.push(ne*B[0]*K,ne*B[1]*K,ne*B[2]*K)}e&&$[0]+$[3]>=$[1]+$[2]?t.indices.push(L,L+3,L+2,L,L+1,L+3):t.indices.push(L,L+1,L+2,L+2,L+1,L+3)}}var LVe=(i,e,t,n,r=[],s={})=>{let c={sx:.5,sy:.5,sz:.5,positions:[],normals:[],colors:[],uvs:[],t_positions:[],t_normals:[],t_colors:[],t_uvs:[],indices:[],tiles:{}};for(let[d,f]of i.entries()){let v=f[r[d]]??f[0];if(!v)continue;let g=null,b=null;for(let _ of["x","y","z"])_ in v&&(g?g=FI(g,Py(_,-(v[_]??0))):g=Py(_,-(v[_]??0)));g&&(b=[8,8,8],b=Cy(b,Ed(g,b)));let y=v.ao??!0;for(let _ of v.elements??[])PVe(_,y,c,g,b,e,t,s)}let u=c.positions.length/3;for(let d=0;d<c.t_positions.length/12;d++)c.indices.push(u,u+1,u+2,u+2,u+1,u+3,u,u+2,u+1,u+2,u+3,u+1),u+=4;return c.positions.push(...c.t_positions),c.normals.push(...c.t_normals),c.colors.push(...c.t_colors),c.uvs.push(...c.t_uvs),delete c.t_positions,delete c.t_normals,delete c.t_colors,delete c.t_uvs,c.positions=new Float32Array(c.positions),c.normals=new Float32Array(c.normals),c.colors=new Float32Array(c.colors),c.uvs=new Float32Array(c.uvs),c},BVe=(...i)=>{let t={geometry:LVe(...i)},n=new dt;return n.setAttribute("position",new Mt(t.geometry.positions,3)),n.setAttribute("normal",new Mt(t.geometry.normals,3)),n.setAttribute("color",new Mt(t.geometry.colors,3)),n.setAttribute("uv",new Mt(t.geometry.uvs,2)),n.setIndex(t.geometry.indices),n.name="block-geometry",n},zI=(i,...e)=>{let t=BVe(...e),n=new Ke(t,i);n.position.set(-.5,-.5,-.5);let r=new bt;return r.add(n),r.rotation.set(0,-Ot.degToRad(90),0,"ZYX"),globalThis.mesh=r,r},Sve=(i,e)=>{i.position.set(e.x+.5,e.y+.5,e.z+.5)};h();p();m();Lt();var Pv=async(i,e)=>{let t;if(!i&&!e){let{canvas:c}=await Ro(is);t=new On(c)}else{if(i||(i=await uc(e,"skin")),!i)return;let{canvas:c}=await Ro(i);t=new On(c)}t.magFilter=ct,t.minFilter=ct;let n=!1,s=DVe(40,16,n?-2:-3,-2,-2,n?3:4,12,4,64,64),a=new Kr;a.map=t,a.needsUpdate=!0;let o=new Ke(s,a),l=new bt;return l.add(o),l};function DVe(i,e,t,n,r,s,a,o,l,c,u=!1){let d=t/16,f=n/16,v=r/16,g=(t+s)/16,b=(n+a)/16,y=(r+o)/16;u&&([d,g]=[g,d]);let _=[[d,f,v],[g,f,v],[g,b,v],[d,b,v],[d,f,y],[g,f,y],[g,b,y],[d,b,y]],x=i,w=i+o,S=i+o+s,A=i+o+s+s,T=i+o+s+o,P=i+o+s+o+s,I=e,k=e+o,L=e+o+a,B=[{vi:[5,4,0,1],uv:[w,I,S,k],n:[0,-1,0]},{vi:[2,3,7,6],uv:[S,k,A,I],n:[0,1,0]},{vi:[0,4,7,3],uv:[x,k,w,L],n:[-1,0,0]},{vi:[1,0,3,2],uv:[w,k,S,L],n:[0,0,-1]},{vi:[5,1,2,6],uv:[S,k,T,L],n:[1,0,0]},{vi:[4,5,6,7],uv:[T,k,P,L],n:[0,0,1]}],U=[],O=[],V=[],F=[];for(let $=0;$<B.length;$++){let ne=B[$],se=$*4,[j,q,z,K]=ne.uv,re=[[z/l,1-q/c],[j/l,1-q/c],[j/l,1-K/c],[z/l,1-K/c]],Z=u?[3,2,1,0]:[0,1,2,3],Y=u?-ne.n[0]:ne.n[0];for(let Q=0;Q<4;Q++){let ue=_[ne.vi[Z[Q]]];U.push(ue[0],ue[1],ue[2]),O.push(re[Q][0],re[Q][1]),V.push(Y,ne.n[1],ne.n[2])}F.push(se,se+1,se+2,se,se+2,se+3)}let J=new dt;return J.setAttribute("position",new Je(U,3)),J.setAttribute("uv",new Je(O,2)),J.setAttribute("normal",new Je(V,3)),J.setIndex(F),J}h();p();m();h();p();m();Lt();h();p();m();h();p();m();var Lc=class i{constructor(e,t,n,r,s="div"){this.parent=e,this.object=t,this.property=n,this._disabled=!1,this._hidden=!1,this.initialValue=this.getValue(),this.domElement=document.createElement("div"),this.domElement.classList.add("controller"),this.domElement.classList.add(r),this.$name=document.createElement("div"),this.$name.classList.add("name"),i.nextNameID=i.nextNameID||0,this.$name.id=`lil-gui-name-${++i.nextNameID}`,this.$widget=document.createElement(s),this.$widget.classList.add("widget"),this.$disable=this.$widget,this.domElement.appendChild(this.$name),this.domElement.appendChild(this.$widget),this.domElement.addEventListener("keydown",a=>a.stopPropagation()),this.domElement.addEventListener("keyup",a=>a.stopPropagation()),this.parent.children.push(this),this.parent.controllers.push(this),this.parent.$children.appendChild(this.domElement),this._listenCallback=this._listenCallback.bind(this),this.name(n)}name(e){return this._name=e,this.$name.innerHTML=e,this}onChange(e){return this._onChange=e,this}_callOnChange(){this.parent._callOnChange(this),this._onChange!==void 0&&this._onChange.call(this,this.getValue()),this._changed=!0}onFinishChange(e){return this._onFinishChange=e,this}_callOnFinishChange(){this._changed&&(this.parent._callOnFinishChange(this),this._onFinishChange!==void 0&&this._onFinishChange.call(this,this.getValue())),this._changed=!1}reset(){return this.setValue(this.initialValue),this._callOnFinishChange(),this}enable(e=!0){return this.disable(!e)}disable(e=!0){return e===this._disabled?this:(this._disabled=e,this.domElement.classList.toggle("disabled",e),this.$disable.toggleAttribute("disabled",e),this)}show(e=!0){return this._hidden=!e,this.domElement.style.display=this._hidden?"none":"",this}hide(){return this.show(!1)}options(e){let t=this.parent.add(this.object,this.property,e);return t.name(this._name),this.destroy(),t}min(e){return this}max(e){return this}step(e){return this}decimals(e){return this}listen(e=!0){return this._listening=e,this._listenCallbackID!==void 0&&(cancelAnimationFrame(this._listenCallbackID),this._listenCallbackID=void 0),this._listening&&this._listenCallback(),this}_listenCallback(){this._listenCallbackID=requestAnimationFrame(this._listenCallback);let e=this.save();e!==this._listenPrevValue&&this.updateDisplay(),this._listenPrevValue=e}getValue(){return this.object[this.property]}setValue(e){return this.object[this.property]=e,this._callOnChange(),this.updateDisplay(),this}updateDisplay(){return this}load(e){return this.setValue(e),this._callOnFinishChange(),this}save(){return this.getValue()}destroy(){this.listen(!1),this.parent.children.splice(this.parent.children.indexOf(this),1),this.parent.controllers.splice(this.parent.controllers.indexOf(this),1),this.parent.$children.removeChild(this.domElement)}},HI=class extends Lc{constructor(e,t,n){super(e,t,n,"boolean","label"),this.$input=document.createElement("input"),this.$input.setAttribute("type","checkbox"),this.$input.setAttribute("aria-labelledby",this.$name.id),this.$widget.appendChild(this.$input),this.$input.addEventListener("change",()=>{this.setValue(this.$input.checked),this._callOnFinishChange()}),this.$disable=this.$input,this.updateDisplay()}updateDisplay(){return this.$input.checked=this.getValue(),this}};function qI(i){let e,t;return(e=i.match(/(#|0x)?([a-f0-9]{6})/i))?t=e[2]:(e=i.match(/rgb\(\s*(\d*)\s*,\s*(\d*)\s*,\s*(\d*)\s*\)/))?t=parseInt(e[1]).toString(16).padStart(2,0)+parseInt(e[2]).toString(16).padStart(2,0)+parseInt(e[3]).toString(16).padStart(2,0):(e=i.match(/^#?([a-f0-9])([a-f0-9])([a-f0-9])$/i))&&(t=e[1]+e[1]+e[2]+e[2]+e[3]+e[3]),t?"#"+t:!1}var OVe={isPrimitive:!0,match:i=>typeof i=="string",fromHexString:qI,toHexString:qI},Bv={isPrimitive:!0,match:i=>typeof i=="number",fromHexString:i=>parseInt(i.substring(1),16),toHexString:i=>"#"+i.toString(16).padStart(6,0)},NVe={isPrimitive:!1,match:i=>Array.isArray(i),fromHexString(i,e,t=1){let n=Bv.fromHexString(i);e[0]=(n>>16&255)/255*t,e[1]=(n>>8&255)/255*t,e[2]=(n&255)/255*t},toHexString([i,e,t],n=1){n=255/n;let r=i*n<<16^e*n<<8^t*n<<0;return Bv.toHexString(r)}},UVe={isPrimitive:!1,match:i=>Object(i)===i,fromHexString(i,e,t=1){let n=Bv.fromHexString(i);e.r=(n>>16&255)/255*t,e.g=(n>>8&255)/255*t,e.b=(n&255)/255*t},toHexString({r:i,g:e,b:t},n=1){n=255/n;let r=i*n<<16^e*n<<8^t*n<<0;return Bv.toHexString(r)}},FVe=[OVe,Bv,NVe,UVe];function VVe(i){return FVe.find(e=>e.match(i))}var GI=class extends Lc{constructor(e,t,n,r){super(e,t,n,"color"),this.$input=document.createElement("input"),this.$input.setAttribute("type","color"),this.$input.setAttribute("tabindex",-1),this.$input.setAttribute("aria-labelledby",this.$name.id),this.$text=document.createElement("input"),this.$text.setAttribute("type","text"),this.$text.setAttribute("spellcheck","false"),this.$text.setAttribute("aria-labelledby",this.$name.id),this.$display=document.createElement("div"),this.$display.classList.add("display"),this.$display.appendChild(this.$input),this.$widget.appendChild(this.$display),this.$widget.appendChild(this.$text),this._format=VVe(this.initialValue),this._rgbScale=r,this._initialValueHexString=this.save(),this._textFocused=!1,this.$input.addEventListener("input",()=>{this._setValueFromHexString(this.$input.value)}),this.$input.addEventListener("blur",()=>{this._callOnFinishChange()}),this.$text.addEventListener("input",()=>{let s=qI(this.$text.value);s&&this._setValueFromHexString(s)}),this.$text.addEventListener("focus",()=>{this._textFocused=!0,this.$text.select()}),this.$text.addEventListener("blur",()=>{this._textFocused=!1,this.updateDisplay(),this._callOnFinishChange()}),this.$disable=this.$text,this.updateDisplay()}reset(){return this._setValueFromHexString(this._initialValueHexString),this}_setValueFromHexString(e){if(this._format.isPrimitive){let t=this._format.fromHexString(e);this.setValue(t)}else this._format.fromHexString(e,this.getValue(),this._rgbScale),this._callOnChange(),this.updateDisplay()}save(){return this._format.toHexString(this.getValue(),this._rgbScale)}load(e){return this._setValueFromHexString(e),this._callOnFinishChange(),this}updateDisplay(){return this.$input.value=this._format.toHexString(this.getValue(),this._rgbScale),this._textFocused||(this.$text.value=this.$input.value.substring(1)),this.$display.style.backgroundColor=this.$input.value,this}},Lv=class extends Lc{constructor(e,t,n){super(e,t,n,"function"),this.$button=document.createElement("button"),this.$button.appendChild(this.$name),this.$widget.appendChild(this.$button),this.$button.addEventListener("click",r=>{r.preventDefault(),this.getValue().call(this.object),this._callOnChange()}),this.$button.addEventListener("touchstart",()=>{},{passive:!0}),this.$disable=this.$button}},WI=class extends Lc{constructor(e,t,n,r,s,a){super(e,t,n,"number"),this._initInput(),this.min(r),this.max(s);let o=a!==void 0;this.step(o?a:this._getImplicitStep(),o),this.updateDisplay()}decimals(e){return this._decimals=e,this.updateDisplay(),this}min(e){return this._min=e,this._onUpdateMinMax(),this}max(e){return this._max=e,this._onUpdateMinMax(),this}step(e,t=!0){return this._step=e,this._stepExplicit=t,this}updateDisplay(){let e=this.getValue();if(this._hasSlider){let t=(e-this._min)/(this._max-this._min);t=Math.max(0,Math.min(t,1)),this.$fill.style.width=t*100+"%"}return this._inputFocused||(this.$input.value=this._decimals===void 0?e:e.toFixed(this._decimals)),this}_initInput(){this.$input=document.createElement("input"),this.$input.setAttribute("type","text"),this.$input.setAttribute("aria-labelledby",this.$name.id),window.matchMedia("(pointer: coarse)").matches&&(this.$input.setAttribute("type","number"),this.$input.setAttribute("step","any")),this.$widget.appendChild(this.$input),this.$disable=this.$input;let t=()=>{let x=parseFloat(this.$input.value);isNaN(x)||(this._stepExplicit&&(x=this._snap(x)),this.setValue(this._clamp(x)))},n=x=>{let w=parseFloat(this.$input.value);isNaN(w)||(this._snapClampSetValue(w+x),this.$input.value=this.getValue())},r=x=>{x.key==="Enter"&&this.$input.blur(),x.code==="ArrowUp"&&(x.preventDefault(),n(this._step*this._arrowKeyMultiplier(x))),x.code==="ArrowDown"&&(x.preventDefault(),n(this._step*this._arrowKeyMultiplier(x)*-1))},s=x=>{this._inputFocused&&(x.preventDefault(),n(this._step*this._normalizeMouseWheel(x)))},a=!1,o,l,c,u,d,f=5,v=x=>{o=x.clientX,l=c=x.clientY,a=!0,u=this.getValue(),d=0,window.addEventListener("mousemove",g),window.addEventListener("mouseup",b)},g=x=>{if(a){let w=x.clientX-o,S=x.clientY-l;Math.abs(S)>f?(x.preventDefault(),this.$input.blur(),a=!1,this._setDraggingStyle(!0,"vertical")):Math.abs(w)>f&&b()}if(!a){let w=x.clientY-c;d-=w*this._step*this._arrowKeyMultiplier(x),u+d>this._max?d=this._max-u:u+d<this._min&&(d=this._min-u),this._snapClampSetValue(u+d)}c=x.clientY},b=()=>{this._setDraggingStyle(!1,"vertical"),this._callOnFinishChange(),window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",b)},y=()=>{this._inputFocused=!0},_=()=>{this._inputFocused=!1,this.updateDisplay(),this._callOnFinishChange()};this.$input.addEventListener("input",t),this.$input.addEventListener("keydown",r),this.$input.addEventListener("wheel",s,{passive:!1}),this.$input.addEventListener("mousedown",v),this.$input.addEventListener("focus",y),this.$input.addEventListener("blur",_)}_initSlider(){this._hasSlider=!0,this.$slider=document.createElement("div"),this.$slider.classList.add("slider"),this.$fill=document.createElement("div"),this.$fill.classList.add("fill"),this.$slider.appendChild(this.$fill),this.$widget.insertBefore(this.$slider,this.$input),this.domElement.classList.add("hasSlider");let e=(_,x,w,S,A)=>(_-x)/(w-x)*(A-S)+S,t=_=>{let x=this.$slider.getBoundingClientRect(),w=e(_,x.left,x.right,this._min,this._max);this._snapClampSetValue(w)},n=_=>{this._setDraggingStyle(!0),t(_.clientX),window.addEventListener("mousemove",r),window.addEventListener("mouseup",s)},r=_=>{t(_.clientX)},s=()=>{this._callOnFinishChange(),this._setDraggingStyle(!1),window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",s)},a=!1,o,l,c=_=>{_.preventDefault(),this._setDraggingStyle(!0),t(_.touches[0].clientX),a=!1},u=_=>{_.touches.length>1||(this._hasScrollBar?(o=_.touches[0].clientX,l=_.touches[0].clientY,a=!0):c(_),window.addEventListener("touchmove",d,{passive:!1}),window.addEventListener("touchend",f))},d=_=>{if(a){let x=_.touches[0].clientX-o,w=_.touches[0].clientY-l;Math.abs(x)>Math.abs(w)?c(_):(window.removeEventListener("touchmove",d),window.removeEventListener("touchend",f))}else _.preventDefault(),t(_.touches[0].clientX)},f=()=>{this._callOnFinishChange(),this._setDraggingStyle(!1),window.removeEventListener("touchmove",d),window.removeEventListener("touchend",f)},v=this._callOnFinishChange.bind(this),g=400,b,y=_=>{if(Math.abs(_.deltaX)<Math.abs(_.deltaY)&&this._hasScrollBar)return;_.preventDefault();let w=this._normalizeMouseWheel(_)*this._step;this._snapClampSetValue(this.getValue()+w),this.$input.value=this.getValue(),clearTimeout(b),b=setTimeout(v,g)};this.$slider.addEventListener("mousedown",n),this.$slider.addEventListener("touchstart",u,{passive:!1}),this.$slider.addEventListener("wheel",y,{passive:!1})}_setDraggingStyle(e,t="horizontal"){this.$slider&&this.$slider.classList.toggle("active",e),document.body.classList.toggle("lil-gui-dragging",e),document.body.classList.toggle(`lil-gui-${t}`,e)}_getImplicitStep(){return this._hasMin&&this._hasMax?(this._max-this._min)/1e3:.1}_onUpdateMinMax(){!this._hasSlider&&this._hasMin&&this._hasMax&&(this._stepExplicit||this.step(this._getImplicitStep(),!1),this._initSlider(),this.updateDisplay())}_normalizeMouseWheel(e){let{deltaX:t,deltaY:n}=e;return Math.floor(e.deltaY)!==e.deltaY&&e.wheelDelta&&(t=0,n=-e.wheelDelta/120,n*=this._stepExplicit?1:10),t+-n}_arrowKeyMultiplier(e){let t=this._stepExplicit?1:10;return e.shiftKey?t*=10:e.altKey&&(t/=10),t}_snap(e){let t=Math.round(e/this._step)*this._step;return parseFloat(t.toPrecision(15))}_clamp(e){return e<this._min&&(e=this._min),e>this._max&&(e=this._max),e}_snapClampSetValue(e){this.setValue(this._clamp(this._snap(e)))}get _hasScrollBar(){let e=this.parent.root.$children;return e.scrollHeight>e.clientHeight}get _hasMin(){return this._min!==void 0}get _hasMax(){return this._max!==void 0}},jI=class extends Lc{constructor(e,t,n,r){super(e,t,n,"option"),this.$select=document.createElement("select"),this.$select.setAttribute("aria-labelledby",this.$name.id),this.$display=document.createElement("div"),this.$display.classList.add("display"),this._values=Array.isArray(r)?r:Object.values(r),this._names=Array.isArray(r)?r:Object.keys(r),this._names.forEach(s=>{let a=document.createElement("option");a.innerHTML=s,this.$select.appendChild(a)}),this.$select.addEventListener("change",()=>{this.setValue(this._values[this.$select.selectedIndex]),this._callOnFinishChange()}),this.$select.addEventListener("focus",()=>{this.$display.classList.add("focus")}),this.$select.addEventListener("blur",()=>{this.$display.classList.remove("focus")}),this.$widget.appendChild(this.$select),this.$widget.appendChild(this.$display),this.$disable=this.$select,this.updateDisplay()}updateDisplay(){let e=this.getValue(),t=this._values.indexOf(e);return this.$select.selectedIndex=t,this.$display.innerHTML=t===-1?e:this._names[t],this}},XI=class extends Lc{constructor(e,t,n){super(e,t,n,"string"),this.$input=document.createElement("input"),this.$input.setAttribute("type","text"),this.$input.setAttribute("aria-labelledby",this.$name.id),this.$input.addEventListener("input",()=>{this.setValue(this.$input.value)}),this.$input.addEventListener("keydown",r=>{r.code==="Enter"&&this.$input.blur()}),this.$input.addEventListener("blur",()=>{this._callOnFinishChange()}),this.$widget.appendChild(this.$input),this.$disable=this.$input,this.updateDisplay()}updateDisplay(){return this.$input.value=this.getValue(),this}},zVe=`.lil-gui {
|
|
4648
4648
|
font-family: var(--font-family);
|
|
4649
4649
|
font-size: var(--font-size);
|
|
@@ -29558,7 +29558,7 @@ void main() {
|
|
|
29558
29558
|
vFogDepth = -mvPosition.z;
|
|
29559
29559
|
#endif
|
|
29560
29560
|
}
|
|
29561
|
-
`,TP={u_atlas:{value:null},u_originDelta:{value:new X},u_cameraOriginFrac:{value:new X},u_skyLevel:{value:1},u_lightCurve:{value:Ri.curve},u_minBrightness:{value:Ri.minBrightness},u_lightGamma:{value:Ri.gamma}};function $_e(){return new Xn({vertexShader:kYe,fragmentShader:kP,uniforms:Gs.merge([at.fog,TP]),transparent:!0,depthWrite:!0,depthTest:!0,vertexColors:!0,glslVersion:Eo,fog:!0})}function Y_e(){return new Xn({vertexShader:X_e,fragmentShader:kP,uniforms:Gs.merge([at.fog,TP]),transparent:!1,depthWrite:!0,depthTest:!0,vertexColors:!0,glslVersion:Eo,fog:!0})}function J_e(){return new Xn({vertexShader:X_e,fragmentShader:kP,uniforms:Gs.merge([at.fog,TP]),transparent:!0,depthWrite:!0,depthTest:!0,vertexColors:!0,glslVersion:Eo,fog:!0})}function i9(i,e,t,n,r){let{originDelta:s,cameraOriginFrac:a}=$d(e,t,n,r),o=i.uniforms.u_originDelta;o?.value?.set&&o.value.set(s.x,s.y,s.z);let l=i.uniforms.u_cameraOriginFrac;l?.value?.set&&l.value.set(a.x,a.y,a.z)}function s9(i,e){let t=i.uniforms.u_skyLevel;t&&(t.value=e)}function a9(i,e){if(e.curve!==void 0){let t=i.uniforms.u_lightCurve;t&&(t.value=e.curve)}if(e.minBrightness!==void 0){let t=i.uniforms.u_minBrightness;t&&(t.value=e.minBrightness)}if(e.gamma!==void 0){let t=i.uniforms.u_lightGamma;t&&(t.value=e.gamma)}}h();p();m();var TYe=8,IYe=.01;function IP(i,e,t,n,r){i.matrix.makeTranslation(e-r.x,t-r.y,n-r.z),i.matrixWorldNeedsUpdate=!0,i.frustumCulled=!1}function o9(i,e,t,n,r,s,a,o,l,c){let u=i-n,d=e-r,f=t-s,v=TYe+IYe;return l.set(u-v,d-v,f-v),c.set(u+v,d+v,f+v),o.set(l,c),{visible:a.intersectsBox(o),distSq:u*u+d*d+f*f}}function K_e(i,e,t,n,r,s,a,o,l,c,u){let{visible:d,distSq:f}=o9(e,t,n,r,s,a,o,l,c,u);i.visible=d,i.renderOrder=-f}EP();h();p();m();Lt();h();p();m();h();p();m();h();p();m();Lt();h();p();m();function Q_e(){return{counts:new Int32Array(c0),offsets:new Int32Array(c0)}}function RYe(i,e){if(i.counts.length>=e)return;let t=i.counts.length;for(;t<e;)t*=2;i.counts=new Int32Array(t),i.offsets=new Int32Array(t)}function e4e(i){let e=i.getExtension("WEBGL_multi_draw");return e?{tier:"A",ext:e}:{tier:"B",ext:null}}var Z_e=!1;function t4e(i,e){Z_e||!e||(Z_e=!0,console.info("[globalLegacyBuffer] legacy multi_draw tier",i))}function n4e(i,e,t,n){let r=t.length;if(r===0)return;RYe(n,r);let s=i.TRIANGLES,a=i.UNSIGNED_INT;for(let o=0;o<r;o++){let l=t[o];n.counts[o]=l.indexCount,n.offsets[o]=l.indexStart*4}if(e.tier==="A"&&e.ext){e.ext.multiDrawElementsWEBGL(s,n.counts,0,a,n.offsets,0,r);return}for(let o=0;o<r;o++)i.drawElements(s,n.counts[o],a,n.offsets[o])}var Ci=4,Tr=6,Cn=3,Us=2,Ir=1,CYe=128e3,PYe=128e3,r4e=5e3,LYe=.25,i4e=Ci*(Cn*3+Ir*2+Us)*4+Tr*4,RP=.75,c0=64;function CP(i,e,t){for(let n of i)for(let r=n.start;r<n.start+n.count;r++){let s=!1;for(let a of e)if(r>=a.start&&r<a.start+a.count){s=!0;break}s||console.error("[GlobalLegacyBuffer] draw span covers non-live quad",{buffer:t,quad:r,span:n,liveRanges:e})}}function l9(i,e){if(e.length===0)return i;let t=[];for(let n of i){let r=[n];for(let s of e){let a=[];for(let o of r){let l=o.start+o.count-1;if(s.end<o.start||s.start>l){a.push(o);continue}s.start>o.start&&a.push({start:o.start,count:s.start-o.start}),s.end<l&&a.push({start:s.end+1,count:l-s.end})}r=a}t.push(...r)}return t.filter(n=>n.count>0)}var ug=class{mesh;material;growthIncrementQuads;capacityQuads;positions;colors;skyLights;blockLights;uvs;aOrigin;indices;sectionSlots=new Map;freeList=[];highWatermark=0;pendingRanges=[];_spanScratch=[];renderOrigin={x:0,y:0,z:0};layoutVersion=0;pendingMove=null;pendingReplace=new Map;uploadEpoch=0;visibleIndexSpans=[];_drawScratch=Q_e();multiDrawCaps=null;debugOverlay=!1;constructor(e,t,n){this.material=e,this.growthIncrementQuads=n?.growthIncrementQuads??PYe,this.capacityQuads=n?.initialCapacityQuads??CYe;let r=this.capacityQuads*Ci;this.positions=new Float32Array(r*Cn),this.colors=new Float32Array(r*Cn),this.skyLights=new Float32Array(r*Ir),this.blockLights=new Float32Array(r*Ir),this.uvs=new Float32Array(r*Us),this.aOrigin=new Float32Array(r*Cn),this.indices=new Uint32Array(this.capacityQuads*Tr);let s=new dt,a=(l,c,u)=>{let d=new Mt(l,c);return d.setUsage(So),s.setAttribute(u,d),d};a(this.positions,Cn,"position"),a(this.colors,Cn,"color"),a(this.skyLights,Ir,"a_skyLight"),a(this.blockLights,Ir,"a_blockLight"),a(this.uvs,Us,"uv"),a(this.aOrigin,Cn,"a_origin");let o=new Mt(this.indices,1);o.setUsage(So),s.setIndex(o),s.setDrawRange(0,0),s.boundingSphere=new Tn(new X,1/0),this.mesh=new Ke(s,[e]),this.mesh.name=n?.name??"globalLegacyOpaque",this.mesh.frustumCulled=!1,this.mesh.matrixAutoUpdate=!1,this.mesh.matrix.identity(),this.mesh.position.set(0,0,0),t.add(this.mesh),this.syncDefaultDrawGroups(),this.mesh.onAfterRender=(l,c,u,d,f)=>{if(this.visibleIndexSpans.length===0)return;let v=l.getContext();this.multiDrawCaps||(this.multiDrawCaps=e4e(v),t4e(this.multiDrawCaps.tier,this.debugOverlay)),n4e(v,this.multiDrawCaps,this.visibleIndexSpans,this._drawScratch)}}setDebugOverlay(e){this.debugOverlay=e}suppressThreeDraw(){this.mesh.geometry.setDrawRange(0,3)}setVisibleIndexSpans(e){this.visibleIndexSpans=e}getVisibleIndexSpans(){return this.visibleIndexSpans}syncDefaultDrawGroups(){let e=this.mesh.geometry;e.clearGroups();let t=this.highWatermark*Tr;t>0&&e.addGroup(0,t,0),e.setDrawRange(0,t)}addSection(e,t,n,r,s){let a=t.positions.length/Cn,o=a/Ci;if(a===0||o*Ci!==a)return this.removeSection(e),!1;if(t.indices.length%Tr!==0||t.indices.length/Tr!==o)return!1;let l=this.sectionSlots.has(e),c;if(l){let A=this.sectionSlots.get(e),T=this.pendingReplace.get(e),P=this.pendingMove?.key===e?this.pendingMove:void 0;T?(this.zeroAndFreeSlot(A.start,A.count),c={start:T.oldStart,count:T.oldCount},this.pendingReplace.delete(e)):P?(this.zeroAndFreeSlot(A.start,A.count),c={start:P.oldStart,count:P.count},this.pendingMove=null):c=A}o>this.capacityQuads&&this.growCapacity(o);let u=this.takeFreeSlot(o);u||(this.highWatermark+o>this.capacityQuads&&this.growCapacity(this.highWatermark+o),u={start:this.highWatermark,count:o},this.highWatermark+=o);let d=u.start*Ci,f=d*Cn,v=d*Us,g=d*Ir;this.positions.set(t.positions,f),this.colors.set(t.colors,f),this.skyLights.set(t.skyLights,g),this.blockLights.set(t.blockLights,g),this.uvs.set(t.uvs,v);let b=f,y=n-this.renderOrigin.x,_=r-this.renderOrigin.y,x=s-this.renderOrigin.z;for(let A=0;A<a;A++){let T=b+A*Cn;this.aOrigin[T]=y,this.aOrigin[T+1]=_,this.aOrigin[T+2]=x}let w=u.start*Tr,S=d;for(let A=0;A<t.indices.length;A++)this.indices[w+A]=t.indices[A]+S;return this.sectionSlots.set(e,u),l&&c&&this.pendingReplace.set(e,{oldStart:c.start,oldCount:c.count}),this.markDirty(u.start,u.start+o-1),this.syncDefaultDrawGroups(),this.layoutVersion++,!0}getLayoutVersion(){return this.layoutVersion}getUploadEpoch(){return this.uploadEpoch}hasPendingReplace(){return this.pendingReplace.size>0}canUseFullDrawShortcut(){return this.pendingRanges.length===0&&this.interiorFreeQuads()===0&&this.pendingMove===null&&this.pendingReplace.size===0}isRangeFullyUploaded(e,t){return this.rangeFullyUploaded(e,t)}getPendingDirtyRanges(){return this.pendingRanges}getSectionDrawStart(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.oldStart;let n=this.pendingReplace.get(e);if(n)return n.oldStart;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.start}getSectionDrawCount(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.count;let n=this.pendingReplace.get(e);if(n)return n.oldCount;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.count}getPendingMove(){return this.pendingMove}compactStep(){if(this.pendingMove){let{newStart:o,count:l}=this.pendingMove;this.rangeFullyUploaded(o,o+l-1)&&this.finalizePendingMove();return}for(let o of[...this.pendingReplace.keys()]){let l=this.sectionSlots.get(o);l&&this.rangeFullyUploaded(l.start,l.start+l.count-1)&&this.finalizePendingReplace(o)}if(this.highWatermark===0||this.interiorFreeQuads()/this.highWatermark<=LYe)return;let t=this.findMovableSection(r4e);if(!t)return;let n=this.findLowestInteriorHole(t.start,t.count);if(!n)return;let r=this.reserveFreeSlotAt(n.index,t.count),s=t.start,a=r.start;this.copySectionRange(s,a,t.count),this.sectionSlots.set(t.key,{start:a,count:t.count}),this.markDirty(a,a+t.count-1),this.pendingMove={key:t.key,oldStart:s,newStart:a,count:t.count},this.layoutVersion++}updateDrawSpans(e,t){if(this.visibleIndexSpans=[],this.highWatermark===0)return;let n=this._spanScratch;n.length=0;let r=0;for(let a of e){let o=this.getSectionDrawStart(a.key),l=this.getSectionDrawCount(a.key),c=this.sectionSlots.get(a.key);o===void 0||l===void 0||!c||(n.push({start:o,count:l}),r+=l)}if(n.length===0)return;let s=(a,o)=>{this.visibleIndexSpans.push({indexStart:a*Tr,indexCount:o*Tr})};if(t==="opaque"){let a,o=n.map(c=>({...c})),l=this.canUseFullDrawShortcut()&&r>=this.highWatermark*RP;l?a=[{start:0,count:this.highWatermark}]:(n.sort((c,u)=>c.start-u.start),this.mergeOpaqueSpans(n),a=n),a=l9(a,this.pendingRanges),l||CP(a,o,this.mesh.name);for(let c of a)s(c.start,c.count)}else{e.sort((a,o)=>o.distSq-a.distSq);for(let a of e){let o=this.getSectionDrawStart(a.key),l=this.getSectionDrawCount(a.key);o===void 0||l===void 0||s(o,l)}}}mergeOpaqueSpans(e){if(e.length<2)return;let t=0;for(;t<e.length-1;){let n=e[t],r=e[t+1];n.start+n.count===r.start?(n.count=r.start+r.count-n.start,e.splice(t+1,1)):t++}}hasSection(e){return this.sectionSlots.has(e)}getSectionSlot(e){return this.sectionSlots.get(e)}takeSectionData(e){let t=this.getSectionGeometryData(e);if(t)return this.removeSection(e),t}getSectionGeometryData(e){let t=this.sectionSlots.get(e);if(!t)return;let n=t.count*Ci,r=t.start*Ci,s=r*Cn,a=r*Us,o=t.start*Tr,l=t.count*Tr,c=r*Ir,u=this.positions.slice(s,s+n*Cn),d=this.colors.slice(s,s+n*Cn),f=this.skyLights.slice(c,c+n*Ir),v=this.blockLights.slice(c,c+n*Ir),g=this.uvs.slice(a,a+n*Us),b=this.indices.slice(o,o+l),y=r;for(let S=0;S<b.length;S++)b[S]=b[S]-y;let _=this.aOrigin[s]+this.renderOrigin.x,x=this.aOrigin[s+1]+this.renderOrigin.y,w=this.aOrigin[s+2]+this.renderOrigin.z;return{positions:u,colors:d,skyLights:f,blockLights:v,uvs:g,indices:b,sx:_,sy:x,sz:w}}removeSection(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingReplace.has(e)){let s=this.pendingReplace.get(e);this.zeroAndFreeSlot(s.oldStart,s.oldCount),this.pendingReplace.delete(e)}if(this.pendingMove?.key===e){let{oldStart:s,count:a}=this.pendingMove;this.zeroAndFreeSlot(s,a),this.pendingMove=null}let n=t.start*Tr,r=t.count*Tr;for(let s=0;s<r;s++)this.indices[n+s]=0;this.markDirty(t.start,t.start+t.count-1),this.sectionSlots.delete(e),this.insertFreeSlot(t),this.shrinkHighWatermark(),this.syncDefaultDrawGroups(),this.layoutVersion++}hasPendingUploads(){return this.pendingRanges.length>0}uploadDirtyRange(){let e=this.pendingRanges[0];if(!e)return;let t=e.start,n=Math.min(e.end-e.start+1,r4e),r=t*Ci,s=n*Ci,a=t*Tr,o=n*Tr,l=this.mesh.geometry,c=l.getAttribute("position");c.clearUpdateRanges(),c.addUpdateRange(r*Cn,s*Cn),c.needsUpdate=!0;let u=l.getAttribute("color");u.clearUpdateRanges(),u.addUpdateRange(r*Cn,s*Cn),u.needsUpdate=!0;let d=l.getAttribute("a_skyLight");d.clearUpdateRanges(),d.addUpdateRange(r*Ir,s*Ir),d.needsUpdate=!0;let f=l.getAttribute("a_blockLight");f.clearUpdateRanges(),f.addUpdateRange(r*Ir,s*Ir),f.needsUpdate=!0;let v=l.getAttribute("uv");v.clearUpdateRanges(),v.addUpdateRange(r*Us,s*Us),v.needsUpdate=!0;let g=l.getAttribute("a_origin");g.clearUpdateRanges(),g.addUpdateRange(r*Cn,s*Cn),g.needsUpdate=!0;let b=l.index;b.clearUpdateRanges(),b.addUpdateRange(a,o),b.needsUpdate=!0,t+n>e.end?this.pendingRanges.shift():e.start=t+n,this.uploadEpoch++}setRenderOrigin(e){this.renderOrigin={...e}}rebase(e){if(this.highWatermark!==0){for(let t of this.sectionSlots.values()){let n=t.start*Ci,r=t.count*Ci,s=n*Cn;for(let a=0;a<r;a++){let o=s+a*Cn;this.aOrigin[o]-=e.x,this.aOrigin[o+1]-=e.y,this.aOrigin[o+2]-=e.z}}this.markDirty(0,this.highWatermark-1),this.renderOrigin.x+=e.x,this.renderOrigin.y+=e.y,this.renderOrigin.z+=e.z}}setCameraOrigin(e,t,n){let{originDelta:r,cameraOriginFrac:s}=$d(this.renderOrigin,e,t,n),a=this.material.uniforms.u_originDelta;a?.value?.set&&a.value.set(r.x,r.y,r.z);let o=this.material.uniforms.u_cameraOriginFrac;o?.value?.set&&o.value.set(s.x,s.y,s.z)}getHighWatermark(){return this.highWatermark}getCapacityQuads(){return this.capacityQuads}getSectionCount(){return this.sectionSlots.size}getMemoryBytes(){return this.capacityQuads*i4e}getUsedMemoryBytes(){return this.highWatermark*i4e}reset(){this.sectionSlots.clear(),this.freeList.length=0,this.highWatermark=0,this.pendingRanges.length=0,this.pendingMove=null,this.pendingReplace.clear(),this.uploadEpoch=0,this.visibleIndexSpans=[],this.syncDefaultDrawGroups()}dispose(){this.mesh.parent?.remove(this.mesh),this.mesh.geometry.dispose(),this.reset()}markDirty(e,t){this.pendingRanges.push({start:e,end:t}),this.pendingRanges.sort((n,r)=>n.start-r.start),this.mergePendingRanges()}mergePendingRanges(){if(this.pendingRanges.length<2)return;let e=[],t=this.pendingRanges[0];for(let n=1;n<this.pendingRanges.length;n++){let r=this.pendingRanges[n];r.start<=t.end+1?t={start:t.start,end:Math.max(t.end,r.end)}:(e.push(t),t=r)}e.push(t),this.pendingRanges=e}takeFreeSlot(e){for(let t=0;t<this.freeList.length;t++){let n=this.freeList[t];if(n.count>=e){if(this.freeList.splice(t,1),n.count===e)return n;let r={start:n.start,count:e};return this.insertFreeSlot({start:n.start+e,count:n.count-e}),r}}}insertFreeSlot(e){this.freeList.push(e),this.freeList.sort((t,n)=>t.start-n.start),this.mergeFreeList()}mergeFreeList(){if(this.freeList.length<2)return;let e=[],t=this.freeList[0];for(let n=1;n<this.freeList.length;n++){let r=this.freeList[n];t.start+t.count===r.start?t={start:t.start,count:t.count+r.count}:(e.push(t),t=r)}e.push(t),this.freeList=e}shrinkHighWatermark(){for(;this.highWatermark>0;){let e=this.highWatermark-1,t=this.freeList.find(r=>r.start<=e&&r.start+r.count>e);if(!t||t.start+t.count!==this.highWatermark)break;this.highWatermark=t.start;let n=this.freeList.indexOf(t);this.freeList.splice(n,1)}}interiorFreeQuads(){let e=0;for(let t of this.freeList)t.start<this.highWatermark&&(e+=t.count);return e}findMovableSection(e){let t=[];for(let[s,a]of this.sectionSlots)t.push({key:s,start:a.start,count:a.count});if(t.length===0)return;t.sort((s,a)=>a.start!==s.start?a.start-s.start:a.start+a.count-(s.start+s.count));let n=t[0];if(n.count<=e&&this.findLowestInteriorHole(n.start,n.count))return n;let r=t.filter(s=>s.count<=e).sort((s,a)=>a.count-s.count);for(let s of r)if(this.findLowestInteriorHole(s.start,s.count))return s}findLowestInteriorHole(e,t){for(let n=0;n<this.freeList.length;n++){let r=this.freeList[n];if(r.start<e&&r.count>=t)return{start:r.start,count:r.count,index:n}}}reserveFreeSlotAt(e,t){let n=this.freeList[e];if(this.freeList.splice(e,1),n.count===t)return{start:n.start,count:t};let r={start:n.start,count:t};return this.insertFreeSlot({start:n.start+t,count:n.count-t}),r}copySectionRange(e,t,n){let r=e*Ci,s=t*Ci,a=n*Ci,o=s-r,l=r*Cn,c=s*Cn,u=a*Cn;this.positions.copyWithin(c,l,l+u),this.colors.copyWithin(c,l,l+u),this.aOrigin.copyWithin(c,l,l+u);let d=r*Ir,f=s*Ir,v=a*Ir;this.skyLights.copyWithin(f,d,d+v),this.blockLights.copyWithin(f,d,d+v);let g=r*Us,b=s*Us,y=a*Us;this.uvs.copyWithin(b,g,g+y);let _=e*Tr,x=t*Tr,w=n*Tr;for(let S=0;S<w;S++)this.indices[x+S]=this.indices[_+S]+o}rangeFullyUploaded(e,t){for(let n of this.pendingRanges)if(n.start<=t&&n.end>=e)return!1;return!0}zeroAndFreeSlot(e,t){let n=e*Tr,r=t*Tr;for(let s=0;s<r;s++)this.indices[n+s]=0;this.markDirty(e,e+t-1),this.insertFreeSlot({start:e,count:t})}finalizePendingReplace(e){let t=this.pendingReplace.get(e);t&&(this.zeroAndFreeSlot(t.oldStart,t.oldCount),this.pendingReplace.delete(e),this.shrinkHighWatermark(),this.syncDefaultDrawGroups(),this.layoutVersion++,this.uploadEpoch++)}finalizePendingMove(){let e=this.pendingMove;if(!e)return;let{oldStart:t,count:n}=e;this.zeroAndFreeSlot(t,n),this.shrinkHighWatermark(),this.syncDefaultDrawGroups(),this.pendingMove=null,this.layoutVersion++,this.uploadEpoch++}growCapacity(e){this.pendingMove&&this.finalizePendingMove();for(let y of[...this.pendingReplace.keys()])this.finalizePendingReplace(y);let t=this.capacityQuads;for(;t<e;)t+=this.growthIncrementQuads;let n=this.capacityQuads*Ci,r=t*Ci,s=new Float32Array(r*Cn),a=new Float32Array(r*Cn),o=new Float32Array(r*Ir),l=new Float32Array(r*Ir),c=new Float32Array(r*Us),u=new Float32Array(r*Cn),d=new Uint32Array(t*Tr);s.set(this.positions),a.set(this.colors),o.set(this.skyLights),l.set(this.blockLights),c.set(this.uvs),u.set(this.aOrigin),d.set(this.indices),this.positions=s,this.colors=a,this.skyLights=o,this.blockLights=l,this.uvs=c,this.aOrigin=u,this.indices=d,this.capacityQuads=t;let f=this.mesh.geometry,v=(y,_,x)=>{f.getAttribute(x)&&f.deleteAttribute(x);let S=new Mt(y,_);S.setUsage(So),f.setAttribute(x,S)};v(this.positions,Cn,"position"),v(this.colors,Cn,"color"),v(this.skyLights,Ir,"a_skyLight"),v(this.blockLights,Ir,"a_blockLight"),v(this.uvs,Us,"uv"),v(this.aOrigin,Cn,"a_origin"),f.index&&f.setIndex(null);let b=new Mt(this.indices,1);b.setUsage(So),f.setIndex(b),this.pendingRanges.length=0}};function BYe(i){if(i.length<2)return;let e=0;for(;e<i.length-1;){let t=i[e],n=i[e+1];t.start+t.count===n.start?(t.count=n.start+n.count-t.start,i.splice(e+1,1)):e++}}function s4e(i,e,t=!0,n,r=[]){if(i.length===0||e===0)return[];let s=0;for(let l of i)s+=l.count;let a;if(t&&s>=e*RP)a=[{start:0,count:e}];else{a=i.map(c=>({start:c.start,count:c.count})),a.sort((c,u)=>c.start-u.start);let l=a.map(c=>({...c}));return BYe(a),a=l9(a,r),CP(a,l,"globalBlockBuffer"),a}return l9(a,r)}Kc();function o4e(){return{firsts:new Int32Array(c0),counts:new Int32Array(c0),instanceCounts:new Int32Array(c0),baseInstances:new Int32Array(c0)}}function l4e(i){let e=i.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");if(e)return{tier:"A",ext:e};let t=i.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");return t?{tier:"B",ext:t}:{tier:"C",ext:null}}var a4e=!1;function c4e(i,e){a4e||!e||(a4e=!0,console.info("[globalBlockBuffer] cube multi_draw tier",i))}function u4e(i,e,t,n,r){let s=t.length;if(s===0)return;let a=i.TRIANGLES;if(e.tier==="A"&&e.ext){let o=e.ext;for(let l=0;l<s;l++){let c=t[l];n.firsts[l]=0,n.counts[l]=l0,n.instanceCounts[l]=c.count,n.baseInstances[l]=c.start}o.multiDrawArraysInstancedBaseInstanceWEBGL(a,n.firsts,0,n.counts,0,n.instanceCounts,0,n.baseInstances,0,s);return}if(e.tier==="B"&&e.ext){let o=e.ext;for(let l=0;l<s;l++){let c=t[l];o.drawArraysInstancedBaseInstanceWEBGL(a,0,l0,c.count,c.start)}return}r?.(i,t)}Kc();z5();var DYe=512e3,OYe=1e6,d4e=15e3,NYe=.25,dg=F_e(),f4e=16,c9=class{mesh;capacityFaces;w0;w1;w2;w3;sectionSlots=new Map;freeList=[];highWatermark=0;pendingRanges=[];pendingMove=null;pendingReplace=new Map;uploadEpoch=0;visibleSpans=[];_drawScratch=o4e();multiDrawCaps=null;tierCVao=null;tierCAttrs=null;tierCGl=null;debugOverlay=!1;layoutVersion=0;constructor(e,t){this.capacityFaces=DYe,this.w0=new Uint32Array(this.capacityFaces),this.w1=new Uint32Array(this.capacityFaces),this.w2=new Uint32Array(this.capacityFaces),this.w3=new Uint32Array(this.capacityFaces),this.w2.fill(dg);let n=new Sa,r=new Float32Array(l0*3);n.setAttribute("position",new Mt(r,3));let s=a=>{let o=new Ar(a,1);return o.setUsage(So),o};n.setAttribute("a_w0",s(this.w0)),n.setAttribute("a_w1",s(this.w1)),n.setAttribute("a_w2",s(this.w2)),n.setAttribute("a_w3",s(this.w3)),n.instanceCount=0,this.mesh=new Ke(n,e),this.mesh.name="globalShaderCubes",this.mesh.frustumCulled=!1,this.mesh.matrixAutoUpdate=!1,this.mesh.matrix.identity(),this.mesh.position.set(0,0,0),t.add(this.mesh),this.mesh.onAfterRender=(a,o,l,c,u)=>{if(this.visibleSpans.length===0)return;let d=u,f=a.getContext();this.multiDrawCaps||(this.multiDrawCaps=l4e(f),c4e(this.multiDrawCaps.tier,this.debugOverlay)),u4e(f,this.multiDrawCaps,this.visibleSpans,this._drawScratch,this.multiDrawCaps.tier==="C"?(v,g)=>this.drawTierCSpans(v,g,a,d):void 0)}}setDebugOverlay(e){this.debugOverlay=e}suppressThreeDraw(){let e=this.mesh.geometry;e.setDrawRange(0,l0),e.instanceCount=0}setVisibleSpans(e){this.visibleSpans=e}getVisibleSpans(){return this.visibleSpans}forEachSectionSlot(e){for(let[t,n]of this.sectionSlots)e(t,n)}getSectionDrawStart(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.oldStart;let n=this.pendingReplace.get(e);if(n)return n.oldStart;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.start}getSectionDrawCount(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.count;let n=this.pendingReplace.get(e);if(n)return n.oldCount;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.count}getUploadEpoch(){return this.uploadEpoch}hasPendingReplace(){return this.pendingReplace.size>0}canUseFullDrawShortcut(){return this.pendingRanges.length===0&&this.interiorFreeFaces()===0&&this.pendingMove===null&&this.pendingReplace.size===0}isRangeFullyUploaded(e,t){return this.rangeFullyUploaded(e,t)}getPendingDirtyRanges(){return this.pendingRanges}getHighWatermark(){return this.highWatermark}getCapacityFaces(){return this.capacityFaces}getSectionCount(){return this.sectionSlots.size}getMemoryBytes(){return this.capacityFaces*f4e}getUsedMemoryBytes(){return this.highWatermark*f4e}hasPendingUploads(){return this.pendingRanges.length>0}getPendingMove(){return this.pendingMove}addSection(e,t,n){if(n<=0){this.removeSection(e);return}let r=this.sectionSlots.has(e),s;if(r){let l=this.sectionSlots.get(e),c=this.pendingReplace.get(e),u=this.pendingMove?.key===e?this.pendingMove:void 0;c?(this.zeroAndFreeSlot(l.start,l.count),s={start:c.oldStart,count:c.oldCount},this.pendingReplace.delete(e)):u?(this.zeroAndFreeSlot(l.start,l.count),s={start:u.oldStart,count:u.count},this.pendingMove=null):s=l}n>this.capacityFaces&&this.growCapacity(n);let a=this.takeFreeSlot(n);a||(this.highWatermark+n>this.capacityFaces&&this.growCapacity(this.highWatermark+n),a={start:this.highWatermark,count:n},this.highWatermark+=n);let o=4;for(let l=0;l<n;l++){let c=a.start+l,u=l*o;this.w0[c]=t[u],this.w1[c]=t[u+1],this.w2[c]=t[u+2],this.w3[c]=t[u+3]}this.sectionSlots.set(e,a),r&&s&&this.pendingReplace.set(e,{oldStart:s.start,oldCount:s.count}),this.markDirty(a.start,a.start+n-1),this.mesh.geometry.instanceCount=this.highWatermark,this.layoutVersion++}getLayoutVersion(){return this.layoutVersion}hasSection(e){return this.sectionSlots.has(e)}getSectionSlot(e){return this.sectionSlots.get(e)}getW0(){return this.w0}takeSectionData(e){let t=this.sectionSlots.get(e);if(!t)return;let n=4,r=new Uint32Array(t.count*n);for(let s=0;s<t.count;s++){let a=t.start+s,o=s*n;r[o]=this.w0[a],r[o+1]=this.w1[a],r[o+2]=this.w2[a],r[o+3]=this.w3[a]}return this.removeSection(e),{words:r,count:t.count}}removeSection(e){let t=this.sectionSlots.get(e);if(t){if(this.pendingReplace.has(e)){let n=this.pendingReplace.get(e);this.zeroAndFreeSlot(n.oldStart,n.oldCount),this.pendingReplace.delete(e)}if(this.pendingMove?.key===e){let{oldStart:n,count:r}=this.pendingMove;this.zeroAndFreeSlot(n,r),this.pendingMove=null}for(let n=t.start;n<t.start+t.count;n++)this.w0[n]=0,this.w1[n]=0,this.w2[n]=dg,this.w3[n]=0;this.markDirty(t.start,t.start+t.count-1),this.sectionSlots.delete(e),this.insertFreeSlot(t),this.shrinkHighWatermark(),this.mesh.geometry.instanceCount=this.highWatermark,this.layoutVersion++}}compactStep(){if(this.pendingMove){let{newStart:o,count:l}=this.pendingMove;this.rangeFullyUploaded(o,o+l-1)&&this.finalizePendingMove();return}for(let o of[...this.pendingReplace.keys()]){let l=this.sectionSlots.get(o);l&&this.rangeFullyUploaded(l.start,l.start+l.count-1)&&this.finalizePendingReplace(o)}if(this.highWatermark===0||this.interiorFreeFaces()/this.highWatermark<=NYe)return;let t=this.findMovableSection(d4e);if(!t)return;let n=this.findLowestInteriorHole(t.start,t.count);if(!n)return;let r=this.reserveFreeSlotAt(n.index,t.count),s=t.start,a=r.start;this.copySectionRange(s,a,t.count),this.sectionSlots.set(t.key,{start:a,count:t.count}),this.markDirty(a,a+t.count-1),this.pendingMove={key:t.key,oldStart:s,newStart:a,count:t.count},this.layoutVersion++}uploadDirtyRange(){let e=this.pendingRanges[0];if(!e)return;let t=e.start,n=Math.min(e.end-e.start+1,d4e),r=this.mesh.geometry;for(let s of["a_w0","a_w1","a_w2","a_w3"]){let a=r.getAttribute(s);a.clearUpdateRanges(),a.addUpdateRange(t,n),a.needsUpdate=!0}t+n>e.end?this.pendingRanges.shift():e.start=t+n,this.uploadEpoch++}setCameraOrigin(e,t,n,r){let{originDelta:s,cameraOriginFrac:a}=$d(e,t,n,r),o=Kb(e),l=this.mesh.material.uniforms.u_originDelta;l?.value?.set&&l.value.set(s.x,s.y,s.z);let c=this.mesh.material.uniforms.u_cameraOriginFrac;c?.value?.set&&c.value.set(a.x,a.y,a.z);let u=this.mesh.material.uniforms.u_sectionOriginRel;u?.value?.set&&u.value.set(o.x,o.y,o.z)}reset(){this.sectionSlots.clear(),this.freeList.length=0,this.highWatermark=0,this.pendingRanges.length=0,this.pendingMove=null,this.pendingReplace.clear(),this.uploadEpoch=0,this.visibleSpans=[],this.w0.fill(0),this.w1.fill(0),this.w2.fill(dg),this.w3.fill(0),this.mesh.geometry.instanceCount=0,this.invalidateTierCVao()}dispose(){this.invalidateTierCVao(),this.mesh.parent?.remove(this.mesh),this.mesh.geometry.dispose(),this.reset()}invalidateTierCVao(){this.tierCVao&&this.tierCGl&&this.tierCGl.deleteVertexArray(this.tierCVao),this.tierCVao=null,this.tierCAttrs=null}drawTierCSpans(e,t,n,r){if(this.ensureTierCVao(e,n,r),!this.tierCVao||!this.tierCAttrs)return;let s=this.tierCAttrs;e.bindVertexArray(this.tierCVao);for(let a of t){let o=a.start*4,l=c=>{e.bindBuffer(e.ARRAY_BUFFER,c.buffer),e.vertexAttribIPointer(c.loc,1,e.UNSIGNED_INT,4,o)};l(s.w0),l(s.w1),l(s.w2),l(s.w3),e.drawArraysInstanced(e.TRIANGLES,0,l0,a.count)}e.bindVertexArray(null)}ensureTierCVao(e,t,n){this.tierCGl=e;let a=t.properties.get(n).currentProgram.program,o=e.getAttribLocation(a,"a_w0"),l=e.getAttribLocation(a,"a_w1"),c=e.getAttribLocation(a,"a_w2"),u=e.getAttribLocation(a,"a_w3"),d=w=>w<0?null:e.getVertexAttrib(w,e.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),f=d(o);if(this.tierCVao&&this.tierCAttrs&&f&&this.tierCAttrs.w0.buffer!==f&&this.invalidateTierCVao(),this.tierCVao)return;let v=d(o),g=d(l),b=d(c),y=d(u);if(!v||!g||!b||!y)return;let _=e.createVertexArray();if(!_)return;e.bindVertexArray(_);let x=(w,S)=>{e.enableVertexAttribArray(w),e.bindBuffer(e.ARRAY_BUFFER,S),e.vertexAttribIPointer(w,1,e.UNSIGNED_INT,4,0),e.vertexAttribDivisor(w,1)};x(o,v),x(l,g),x(c,b),x(u,y),e.bindVertexArray(null),this.tierCVao=_,this.tierCAttrs={w0:{loc:o,buffer:v},w1:{loc:l,buffer:g},w2:{loc:c,buffer:b},w3:{loc:u,buffer:y}}}markDirty(e,t){this.pendingRanges.push({start:e,end:t}),this.pendingRanges.sort((n,r)=>n.start-r.start),this.mergePendingRanges()}mergePendingRanges(){if(this.pendingRanges.length<2)return;let e=[],t=this.pendingRanges[0];for(let n=1;n<this.pendingRanges.length;n++){let r=this.pendingRanges[n];r.start<=t.end+1?t={start:t.start,end:Math.max(t.end,r.end)}:(e.push(t),t=r)}e.push(t),this.pendingRanges=e}takeFreeSlot(e){for(let t=0;t<this.freeList.length;t++){let n=this.freeList[t];if(n.count>=e){if(this.freeList.splice(t,1),n.count===e)return n;let r={start:n.start,count:e};return this.insertFreeSlot({start:n.start+e,count:n.count-e}),r}}}insertFreeSlot(e){this.freeList.push(e),this.freeList.sort((t,n)=>t.start-n.start),this.mergeFreeList()}mergeFreeList(){if(this.freeList.length<2)return;let e=[],t=this.freeList[0];for(let n=1;n<this.freeList.length;n++){let r=this.freeList[n];t.start+t.count===r.start?t={start:t.start,count:t.count+r.count}:(e.push(t),t=r)}e.push(t),this.freeList=e}interiorFreeFaces(){let e=0;for(let t of this.freeList)t.start<this.highWatermark&&(e+=t.count);return e}findMovableSection(e){let t=[];for(let[s,a]of this.sectionSlots)t.push({key:s,start:a.start,count:a.count});if(t.length===0)return;t.sort((s,a)=>a.start!==s.start?a.start-s.start:a.start+a.count-(s.start+s.count));let n=t[0];if(n.count<=e&&this.findLowestInteriorHole(n.start,n.count))return n;let r=t.filter(s=>s.count<=e).sort((s,a)=>a.count-s.count);for(let s of r)if(this.findLowestInteriorHole(s.start,s.count))return s}findLowestInteriorHole(e,t){for(let n=0;n<this.freeList.length;n++){let r=this.freeList[n];if(r.start<e&&r.count>=t)return{start:r.start,count:r.count,index:n}}}reserveFreeSlotAt(e,t){let n=this.freeList[e];if(this.freeList.splice(e,1),n.count===t)return{start:n.start,count:t};let r={start:n.start,count:t};return this.insertFreeSlot({start:n.start+t,count:n.count-t}),r}copySectionRange(e,t,n){this.w0.copyWithin(t,e,e+n),this.w1.copyWithin(t,e,e+n),this.w2.copyWithin(t,e,e+n),this.w3.copyWithin(t,e,e+n)}rangeFullyUploaded(e,t){for(let n of this.pendingRanges)if(n.start<=t&&n.end>=e)return!1;return!0}zeroAndFreeSlot(e,t){for(let n=e;n<e+t;n++)this.w0[n]=0,this.w1[n]=0,this.w2[n]=dg,this.w3[n]=0;this.markDirty(e,e+t-1),this.insertFreeSlot({start:e,count:t})}finalizePendingReplace(e){let t=this.pendingReplace.get(e);t&&(this.zeroAndFreeSlot(t.oldStart,t.oldCount),this.pendingReplace.delete(e),this.shrinkHighWatermark(),this.mesh.geometry.instanceCount=this.highWatermark,this.layoutVersion++,this.uploadEpoch++)}finalizePendingMove(){let e=this.pendingMove;if(!e)return;let{oldStart:t,count:n}=e;this.zeroAndFreeSlot(t,n),this.shrinkHighWatermark(),this.mesh.geometry.instanceCount=this.highWatermark,this.pendingMove=null,this.layoutVersion++,this.uploadEpoch++}shrinkHighWatermark(){for(;this.highWatermark>0;){let e=this.highWatermark-1,t=this.freeList.find(r=>r.start<=e&&r.start+r.count>e);if(!t||t.start+t.count!==this.highWatermark)break;this.highWatermark=t.start;let n=this.freeList.indexOf(t);this.freeList.splice(n,1)}}growCapacity(e){this.pendingMove&&this.finalizePendingMove();for(let c of[...this.pendingReplace.keys()])this.finalizePendingReplace(c);console.warn("[globalBlockBuffer] growing faces",this.capacityFaces,"->","(need",e,")");let t=this.capacityFaces;for(;t<e;)t+=OYe;console.warn("[globalBlockBuffer] growing faces",this.capacityFaces,"->",t);let n=new Uint32Array(t),r=new Uint32Array(t),s=new Uint32Array(t),a=new Uint32Array(t);n.set(this.w0),r.set(this.w1),s.set(this.w2),a.set(this.w3),s.fill(dg,this.w0.length),this.w0=n,this.w1=r,this.w2=s,this.w3=a,this.capacityFaces=t;let o=this.mesh.geometry,l=(c,u)=>{let d=o.getAttribute(u);d&&(o.deleteAttribute(u),"dispose"in d&&typeof d.dispose=="function"&&d.dispose());let f=new Ar(c,1);f.setUsage(So),o.setAttribute(u,f)};l(this.w0,"a_w0"),l(this.w1,"a_w1"),l(this.w2,"a_w2"),l(this.w3,"a_w3"),this.pendingRanges.length=0,this.invalidateTierCVao()}};h();p();m();z5();Kc();function h4e(i,e,t,n,r){if(e<=0)return;let s=t-8,a=n-8,o=r-8,l=t9,c=16,u=16,d=16,f=-1,v=-1,g=-1;for(let A=0;A<e;A++){let T=i[A*l],P=T&(1<<Xd.LX_BITS)-1,I=T>>Xd.LY_SHIFT&(1<<Xd.LY_BITS)-1,k=T>>Xd.LZ_SHIFT&(1<<Xd.LZ_BITS)-1;P<c&&(c=P),I<u&&(u=I),k<d&&(d=k),P>f&&(f=P),I>v&&(v=I),k>g&&(g=k)}if(f<0)return;let b=s+c,y=a+u,_=o+d,x=s+f+1,w=a+v+1,S=o+g+1;return{minX:b,minY:y,minZ:_,maxX:x,maxY:w,maxZ:S,cx:(b+x)*.5,cy:(y+w)*.5,cz:(_+S)*.5}}function UYe(i,e,t,n,r,s,a,o,l){return i>=n&&i<=a&&e>=r&&e<=o&&t>=s&&t<=l}function m4e(i,e,t,n,r,s,a,o,l,c,u,d,f){if(UYe(i,e,t,a,o,l,c,u,d))return;let v=0,g=f;if(Math.abs(n)<1e-8){if(i<a||i>c)return}else{let b=1/n,y=(a-i)*b,_=(c-i)*b;if(y>_){let x=y;y=_,_=x}if(v=Math.max(v,y),g=Math.min(g,_),v>g)return}if(Math.abs(r)<1e-8){if(e<o||e>u)return}else{let b=1/r,y=(o-e)*b,_=(u-e)*b;if(y>_){let x=y;y=_,_=x}if(v=Math.max(v,y),g=Math.min(g,_),v>g)return}if(Math.abs(s)<1e-8){if(t<l||t>d)return}else{let b=1/s,y=(l-t)*b,_=(d-t)*b;if(y>_){let x=y;y=_,_=x}if(v=Math.max(v,y),g=Math.min(g,_),v>g)return}return v<=g&&v>=0?v:void 0}function p4e(i,e,t,n,r,s,a,o,l,c,u,d,f){let v=f;if(Math.abs(n)>=1e-8){let g=n>0?(c-i)/n:(a-i)/n;g>1e-6&&(v=Math.min(v,g))}else if(i<a||i>c)return;if(Math.abs(r)>=1e-8){let g=r>0?(u-e)/r:(o-e)/r;g>1e-6&&(v=Math.min(v,g))}else if(e<o||e>u)return;if(Math.abs(s)>=1e-8){let g=s>0?(d-t)/s:(l-t)/s;g>1e-6&&(v=Math.min(v,g))}else if(t<l||t>d)return;return v<=f?v:void 0}h();p();m();Lt();h();p();m();$b();var u9=class{entries=new Set;skyLevel=1;lightmapParams={...Ri};register(e){this.entries.add(e),this.applyBrightness(e)}unregister(e){for(let t of this.entries)if(t.material===e){this.entries.delete(t);break}}setSkyLevel(e){this.skyLevel=e,this.refreshAll()}setLightmapParams(e){this.lightmapParams={...this.lightmapParams,...e},this.refreshAll()}getSkyLevel(){return this.skyLevel}refreshAll(){for(let e of this.entries)this.applyBrightness(e)}applyBrightness(e){let t=yP(e.blockLightNorm,e.skyLightNorm,this.skyLevel,this.lightmapParams);e.material.color.setScalar(t)}};function v4e(i,e,t,n,r=Ri){let s=yP(e,t,n,r);return i.color.setScalar(s),s}var g4e=20,_4e=40,FYe={white_banner:15,orange_banner:14,magenta_banner:13,light_blue_banner:12,yellow_banner:11,lime_banner:10,pink_banner:9,gray_banner:8,light_gray_banner:7,cyan_banner:6,purple_banner:5,blue_banner:4,brown_banner:3,green_banner:2,red_banner:1,black_banner:0},y4e={0:"#1d1d21",1:"#b02e26",2:"#5e7c16",3:"#835432",4:"#3c44aa",5:"#8932b8",6:"#169c9c",7:"#9d9d97",8:"#474f52",9:"#f38baa",10:"#80c71f",11:"#fed83d",12:"#3ab3da",13:"#c74ebd",14:"#f9801d",15:"#f9fffe"};function VYe(i){let e=i.replace("_wall_banner","_banner");return FYe[e]??15}var zYe=(i,e,t,n,r,s,a)=>{switch(i.fillStyle=t,e){case"bs":i.fillRect(n,r,s,a);break;case"ls":i.fillRect(n,r,s/3,a);break;case"rs":i.fillRect(n+s*2/3,r,s/3,a);break;case"ts":i.fillRect(n,r,s,a/3);break;case"ms":i.fillRect(n,r+a/3,s,a/3);break;case"drs":i.fillRect(n,r,s/2,a/2);break;case"dls":i.fillRect(n+s/2,r,s/2,a/2);break;case"ss":for(let o=0;o<s;o+=2)i.fillRect(n+o,r,1,a);break;case"cr":i.fillRect(n,r+a/3,s,a/3),i.fillRect(n+s/3,r,s/3,a);break;case"sc":i.fillRect(n,r+a/2-1,s,2),i.fillRect(n+s/2-1,r,2,a);break;default:i.fillRect(n,r,s,a)}};function HYe(i,e){if(!e||e.length===0)return`banner_${i}_empty`;let t=e.map(n=>`${n.Pattern??"bs"}_${n.Color??0}`).join(",");return`banner_${i}_${t}`}var qYe=(i,e,t=(n,r)=>yi(n,r))=>{let r=t(g4e*1,_4e*1),s=r.getContext("2d");if(!s){console.warn("Failed to get 2d context for banner rendering");return}if(s.imageSmoothingEnabled=!1,e?.Patterns&&e.Patterns.length>0)for(let a of e.Patterns){let o=a.Color??0,l=a.Pattern??"bs",c=y4e[o]||y4e[0];zYe(s,l,c,0,0,g4e*1,_4e*1)}return r},d9=new Map;function b4e(i,e,t){let n=VYe(e),r=HYe(n,t?.Patterns),s=d9.get(r);if(s)return s.refCount++,s.texture;let a=qYe(n,t);if(!a)return;let o=new sn(a);return o.magFilter=ct,o.minFilter=ct,o.needsUpdate=!0,d9.set(r,{texture:o,refCount:1}),o}function x4e(i){for(let[e,t]of d9.entries())if(t.texture===i){t.refCount--,t.refCount<=0&&(t.texture.dispose(),d9.delete(e));return}}function w4e(i,e,t,n,r=0,s=1,a=1){let u,d,f;t?(u=(-14.6+13.4)/2/16-.5,d=1-14.75/16-.5,f=1/2):(u=(1.4+29.4)/2/16,d=1-7.25/16-.5,f=0);let v=new _t({map:n,transparent:!0});v4e(v,r,s,a);let g=new Ke(new zn(.85,1.75),v);g.renderOrder=999;let b=.5/16,y=.25/16;t?g.position.set(0,u,d+y+.004):g.position.set(0,u,d+b/2+.004);let _=new bt;return _.rotation.set(0,-Ot.degToRad(e*(t?90:45/2)),0),_.add(g),_.bannerTexture=n,_.bannerMaterial=v,_.position.set(i.x+.5,i.y+f,i.z+.5),_}h();p();m();Lt();var S4e=Yr(V8(),1);var H5=new Map;function GYe(i,e,t){let n,r;return i&&"front_text"in i?(n=i.front_text?.messages??[],r=i.front_text?.color||"black"):(n=[i?.Text1,i?.Text2,i?.Text3,i?.Text4],r=i?.Color||"black"),`${e?1:0}|${t?1:0}|${r}|${n.join("\0")}`}function E4e(i,e,t,n=!1){let r=GYe(e,t,n),s=H5.get(r);if(s)return s.refCount++,s.texture;let a=(0,S4e.default)(i.version),o=k6e(e,t,a);if(!o)return;let l=new sn(o);return l.magFilter=ct,l.minFilter=ct,l.needsUpdate=!0,H5.set(r,{texture:l,refCount:1}),l}function M4e(i){for(let[e,t]of H5.entries())if(t.texture===i){t.refCount--,t.refCount<=0&&(t.texture.dispose(),H5.delete(e));return}}function A4e(){for(let[,i]of H5)i.texture.dispose();H5.clear()}var ro=class ro{constructor(e,t,n,r,s=3){this.worldRenderer=e;this.scene=t;this.material=n;this.worldHeight=r;this.updateViewDistance(s),this.signHeadsRenderer=new PP(e),this.initializePool()}renderOrigin={x:0,y:0,z:0};meshPool=[];activeSections=new Map;sectionObjects={};waitingChunksToDisplay={};pendingNearReveal=new Map;nearRevealTimers=new Map;nearRevealGraceTimers=new Map;poolSize;maxPoolSize;minPoolSize;signHeadsRenderer;blockEntityLightRegistry=new u9;chunkBoxMaterial=new _t({color:0,transparent:!0,opacity:0});cubeShaderMaterial=null;legacyShaderMaterial=null;globalLegacyShaderMaterial=null;globalLegacyBlendShaderMaterial=null;_legacyCullFrustum=new va;_legacyCullProjScreen=new Et;_legacyCullBox=new kn;_legacyCullBoxMin=new X;_legacyCullBoxMax=new X;_visibleSectionSpans=[];legacyCullSections=new Map;_lastCullFingerprint="";lastBufferStateKey="";cullDirty=!0;_lastCullCamPos=new X;_lastCullCamQuat=new qt;_cullViewQuat=new qt;_cullCamInitialized=!1;globalBlockBuffer=null;globalLegacyBuffer=null;globalLegacyBlendBuffer=null;shaderSectionRaycastBoxes=new Map;hits=0;misses=0;bypassPooling=!1;renderTimes=[];maxRenderTimeSamples=30;_performanceOverrideDistance;lastPerformanceCheck=0;performanceCheckInterval=2e3;get performanceOverrideDistance(){return this._performanceOverrideDistance??0}set performanceOverrideDistance(e){this._performanceOverrideDistance=e,this.updateSectionsVisibility()}initializePool(){for(let e=0;e<this.poolSize;e++){let t=new dt,n=new Ke(t,this.getLegacyShaderMaterial());n.visible=!1,n.matrixAutoUpdate=!1,n.name="pooled-section-mesh";let r={mesh:n,inUse:!1,lastUsedTime:0};this.meshPool.push(r)}}sectionHasRenderableContent(e){return e.positions.length>0||(e.blend?.positions.length??0)>0?!0:this.isShaderCubesGpuEnabled()?(e.shaderCubes?.count??0)>0:!1}isShaderCubesGpuEnabled(){return this.worldRenderer.shaderCubeBlocksEnabled()}syncCubeShaderUniforms(){if(!this.isShaderCubesGpuEnabled())return;let e=this.cubeShaderMaterial??this.getCubeShaderMaterial();if(!e)return;let t=this.material.map??null;e.uniforms.u_atlas.value=t;let n=n9();if(!n)return;let{tintPalette:r}=n;r.isReady()||r.createTexture(),e.uniforms.u_tintPalette.value=r.getTexture(),e.uniforms.u_debugMode.value=this.worldRenderer.worldRendererConfig.shaderCubeDebugMode??0,e.needsUpdate=!0}syncLegacyShaderUniforms(){let e=this.material.map??null;this.legacyShaderMaterial&&(this.legacyShaderMaterial.uniforms.u_atlas.value=e,this.legacyShaderMaterial.needsUpdate=!0),this.globalLegacyShaderMaterial&&(this.globalLegacyShaderMaterial.uniforms.u_atlas.value=e,this.globalLegacyShaderMaterial.needsUpdate=!0),this.globalLegacyBlendShaderMaterial&&(this.globalLegacyBlendShaderMaterial.uniforms.u_atlas.value=e,this.globalLegacyBlendShaderMaterial.needsUpdate=!0)}setSkyLevel(e){let t=this.cubeShaderMaterial??(this.isShaderCubesGpuEnabled()?this.getCubeShaderMaterial():null);t&&Jb(t,e),this.legacyShaderMaterial&&s9(this.legacyShaderMaterial,e),this.globalLegacyShaderMaterial&&s9(this.globalLegacyShaderMaterial,e),this.globalLegacyBlendShaderMaterial&&s9(this.globalLegacyBlendShaderMaterial,e),this.blockEntityLightRegistry.setSkyLevel(e)}setShadingTheme(e,t){let n=this.cubeShaderMaterial??(this.isShaderCubesGpuEnabled()?this.getCubeShaderMaterial():null);n&&bP(n,e,t)}setBlockLightmapParams(e){let t=this.cubeShaderMaterial??(this.isShaderCubesGpuEnabled()?this.getCubeShaderMaterial():null);t&&B_e(t,e),this.legacyShaderMaterial&&a9(this.legacyShaderMaterial,e),this.globalLegacyShaderMaterial&&a9(this.globalLegacyShaderMaterial,e),this.globalLegacyBlendShaderMaterial&&a9(this.globalLegacyBlendShaderMaterial,e),this.blockEntityLightRegistry.setLightmapParams(e)}getLegacyShaderMaterial(){return this.legacyShaderMaterial||(this.legacyShaderMaterial=$_e(),this.syncLegacyShaderUniforms()),this.legacyShaderMaterial}getGlobalLegacyShaderMaterial(){return this.globalLegacyShaderMaterial||(this.globalLegacyShaderMaterial=Y_e(),this.syncLegacyShaderUniforms()),this.globalLegacyShaderMaterial}getGlobalLegacyBuffer(){return this.globalLegacyBuffer||(this.globalLegacyBuffer=new ug(this.getGlobalLegacyShaderMaterial(),this.scene),this.globalLegacyBuffer.setRenderOrigin(this.renderOrigin)),this.globalLegacyBuffer}getGlobalLegacyBlendShaderMaterial(){return this.globalLegacyBlendShaderMaterial||(this.globalLegacyBlendShaderMaterial=J_e(),this.syncLegacyShaderUniforms()),this.globalLegacyBlendShaderMaterial}getGlobalLegacyBlendBuffer(){return this.globalLegacyBlendBuffer||(this.globalLegacyBlendBuffer=new ug(this.getGlobalLegacyBlendShaderMaterial(),this.scene,{name:"globalLegacyBlend",initialCapacityQuads:32e3,growthIncrementQuads:32e3}),this.globalLegacyBlendBuffer.setRenderOrigin(this.renderOrigin)),this.globalLegacyBlendBuffer}getRenderOrigin(){return this.renderOrigin}maybeRebase(e){let t=this.renderOrigin;if(Math.abs(e.x-t.x)<=ro.REBASE_THRESHOLD&&Math.abs(e.y-t.y)<=ro.REBASE_THRESHOLD&&Math.abs(e.z-t.z)<=ro.REBASE_THRESHOLD)return;let n={x:Math.round(e.x/16)*16,y:Math.round(e.y/16)*16,z:Math.round(e.z/16)*16},r={x:n.x-t.x,y:n.y-t.y,z:n.z-t.z};this.globalLegacyBuffer?.rebase(r),this.globalLegacyBlendBuffer?.rebase(r);for(let s of this.activeSections.values()){let a=s.sectionKey;if(!a)continue;let o=this.sectionObjects[a];o&&IP(s.mesh,o.worldX??0,o.worldY??0,o.worldZ??0,n)}this.renderOrigin=n,this.globalLegacyBuffer?.setRenderOrigin(n),this.globalLegacyBlendBuffer?.setRenderOrigin(n)}sectionUsesPooledLegacyMesh(e){return this.activeSections.has(e)}registerLegacyCullSection(e,t,n,r){this.legacyCullSections.set(e,{worldX:t,worldY:n,worldZ:r})}maybeUnregisterLegacyCullSection(e){let t=this.globalLegacyBuffer?.hasSection(e)??!1,n=this.globalLegacyBlendBuffer?.hasSection(e)??!1;!t&&!n&&this.legacyCullSections.delete(e)}updatePooledLegacyCullState(e,t,n){for(let r of this.activeSections.values()){let s=r.sectionKey;if(!s)continue;let a=this.sectionObjects[s];a&&K_e(r.mesh,a.worldX??0,a.worldY??0,a.worldZ??0,e,t,n,this._legacyCullFrustum,this._legacyCullBox,this._legacyCullBoxMin,this._legacyCullBoxMax)}}updateSectionCullAndSort(e,t,n,r){this._legacyCullProjScreen.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._legacyCullFrustum.setFromProjectionMatrix(this._legacyCullProjScreen);let s=this._visibleSectionSpans;s.length=0;for(let[b]of this.legacyCullSections){let y=this.sectionObjects[b];if(!y?.visible||y.worldX===void 0)continue;let{visible:_,distSq:x}=o9(y.worldX,y.worldY??0,y.worldZ??0,t,n,r,this._legacyCullFrustum,this._legacyCullBox,this._legacyCullBoxMin,this._legacyCullBoxMax);_&&s.push({key:b,distSq:x})}let a=this.globalLegacyBuffer,o=this.globalLegacyBlendBuffer,l=this.globalBlockBuffer,c=[];for(let b of s)a?.hasSection(b.key)&&c.push(b.key);c.sort();let u=s.filter(b=>o?.hasSection(b.key));u.sort((b,y)=>y.distSq-b.distSq);let d=u.map(b=>b.key),f=[],v=[];l&&l.forEachSectionSlot((b,y)=>{if(!this.sectionObjects[b]?.visible)return;let x=this.shaderSectionRaycastBoxes.get(b);if(!x)return;let{visible:w}=o9(x.sectionCenterX,x.sectionCenterY,x.sectionCenterZ,t,n,r,this._legacyCullFrustum,this._legacyCullBox,this._legacyCullBoxMin,this._legacyCullBoxMax);if(!w)return;f.push(b);let S=l.getSectionDrawStart(b),A=l.getSectionDrawCount(b);S!==void 0&&A!==void 0&&v.push({start:S,count:A})}),f.sort();let g=[c.join(","),d.join(","),f.join(","),a?.getLayoutVersion()??0,o?.getLayoutVersion()??0,l?.getLayoutVersion()??0,a?.getUploadEpoch()??0,o?.getUploadEpoch()??0,l?.getUploadEpoch()??0].join("|");if(g===this._lastCullFingerprint&&!this.hasPendingBufferWork()){this.updatePooledLegacyCullState(t,n,r);return}if(this._lastCullFingerprint=g,a?.updateDrawSpans(s,"opaque"),o?.updateDrawSpans(s,"sortedBlend"),l){let b=s4e(v,l.getHighWatermark(),l.canUseFullDrawShortcut(),(y,_)=>l.isRangeFullyUploaded(y,_),l.getPendingDirtyRanges());l.setVisibleSpans(b)}this.lastBufferStateKey=this.bufferStateKey(),this.updatePooledLegacyCullState(t,n,r)}bufferStateKey(){let e=this.globalBlockBuffer,t=this.globalLegacyBuffer,n=this.globalLegacyBlendBuffer;return[t?.getLayoutVersion()??0,t?.getUploadEpoch()??0,n?.getLayoutVersion()??0,n?.getUploadEpoch()??0,e?.getLayoutVersion()??0,e?.getUploadEpoch()??0].join("|")}markCullDirtyIfBufferStateChanged(){this.bufferStateKey()!==this.lastBufferStateKey&&this.markCullDirty()}markCullDirty(){this.cullDirty=!0}hasPendingBufferWork(){return[this.globalLegacyBuffer,this.globalLegacyBlendBuffer,this.globalBlockBuffer].some(t=>t!=null&&(t.hasPendingUploads()||t.hasPendingReplace()||t.getPendingMove()!=null))}updateCullDirtyFromCamera(e,t,n,r){if(e.getWorldQuaternion(this._cullViewQuat),!this._cullCamInitialized){this._lastCullCamPos.set(t,n,r),this._lastCullCamQuat.copy(this._cullViewQuat),this._cullCamInitialized=!0,this.cullDirty=!0;return}let s=this._lastCullCamPos.x!==t||this._lastCullCamPos.y!==n||this._lastCullCamPos.z!==r,a=this._lastCullCamQuat.x!==this._cullViewQuat.x||this._lastCullCamQuat.y!==this._cullViewQuat.y||this._lastCullCamQuat.z!==this._cullViewQuat.z||this._lastCullCamQuat.w!==this._cullViewQuat.w;(s||a)&&(this._lastCullCamPos.set(t,n,r),this._lastCullCamQuat.copy(this._cullViewQuat),this.markCullDirty())}clearCullDirty(){this.cullDirty=!1}setLegacyCameraOrigin(e,t,n){let r=this.renderOrigin;i9(this.getLegacyShaderMaterial(),r,e,t,n),i9(this.getGlobalLegacyShaderMaterial(),r,e,t,n),i9(this.getGlobalLegacyBlendShaderMaterial(),r,e,t,n),this.globalLegacyBuffer?.setCameraOrigin(e,t,n),this.globalLegacyBlendBuffer?.setCameraOrigin(e,t,n);let s=this.cubeShaderMaterial;if(s){let{originDelta:a,cameraOriginFrac:o}=$d(r,e,t,n),l=Kb(r),c=s.uniforms.u_originDelta;c?.value?.set&&c.value.set(a.x,a.y,a.z);let u=s.uniforms.u_cameraOriginFrac;u?.value?.set&&u.value.set(o.x,o.y,o.z);let d=s.uniforms.u_sectionOriginRel;d?.value?.set&&d.value.set(l.x,l.y,l.z)}}getCubeShaderMaterial(){if(!this.isShaderCubesGpuEnabled())return null;if(!this.cubeShaderMaterial){this.cubeShaderMaterial=Yb(),this.syncCubeShaderUniforms();let e=this.worldRenderer.worldRendererConfig;bP(this.cubeShaderMaterial,e.shadingTheme,e.cardinalLight)}return this.cubeShaderMaterial}getGlobalBlockBuffer(){let e=this.getCubeShaderMaterial();return e?(this.globalBlockBuffer||(this.globalBlockBuffer=new c9(e,this.scene)),this.globalBlockBuffer):null}shouldDeferLegacyOpaqueToPerSection(e){return this.shouldDeferShaderToPerSection(e)}shouldDeferShaderToPerSection(e){return this.worldRenderer.getModule("futuristicReveal")?.shouldDeferSectionGeometry?.(e)===!0}migrateDeferredShaderToGlobal(e){let t=this.sectionObjects[e];if(!t?.deferredShaderCubes)return;let{words:n,count:r}=t.deferredShaderCubes,s=t.worldX,a=t.worldY,o=t.worldZ;s!==void 0&&a!==void 0&&o!==void 0&&this.registerShaderSectionRaycastBox(e,n,r,s,a,o),this.getGlobalBlockBuffer()?.addSection(e,n,r),this.markCullDirty();let c=t.mesh===t.shaderMesh;t.shaderMesh&&(SP(t.shaderMesh),t.remove(t.shaderMesh),t.shaderMesh=void 0),delete t.deferredShaderCubes,c&&(t.mesh=void 0)}migrateDeferredLegacyToGlobal(e){let t=this.sectionObjects[e];if(t){if(t.deferredLegacyOpaque){let{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l}=t.deferredLegacyOpaque,c=t.worldX,u=t.worldY,d=t.worldZ;c!==void 0&&u!==void 0&&d!==void 0&&this.getGlobalLegacyBuffer().addSection(e,{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l},c,u,d)&&this.registerLegacyCullSection(e,c,u,d),delete t.deferredLegacyOpaque}if(t.deferredLegacyBlend){let{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l}=t.deferredLegacyBlend,c=t.worldX,u=t.worldY,d=t.worldZ;c!==void 0&&u!==void 0&&d!==void 0&&this.getGlobalLegacyBlendBuffer().addSection(e,{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l},c,u,d)&&this.registerLegacyCullSection(e,c,u,d),delete t.deferredLegacyBlend,t.hasBlendMesh=!1}if(!t.hasBlendMesh){let n=t.mesh===this.activeSections.get(e)?.mesh;this.releasePooledMesh(e),n&&(t.mesh=t.shaderMesh??void 0)}this.markCullDirty()}}registerShaderSectionRaycastBox(e,t,n,r,s,a){let o=h4e(t,n,r,s,a);o?this.shaderSectionRaycastBoxes.set(e,{box:o,sectionCenterX:r,sectionCenterY:s,sectionCenterZ:a}):this.shaderSectionRaycastBoxes.delete(e)}unregisterShaderSectionRaycastBox(e){this.shaderSectionRaycastBoxes.delete(e)}uploadLegacyPooledMesh(e,t,n,r,s){let{mesh:a}=e,o=t;return this.updateGeometryAttribute(a.geometry,"position",o.positions,3),this.updateGeometryAttribute(a.geometry,"normal",o.normals,3),this.updateGeometryAttribute(a.geometry,"color",o.colors,3),this.updateGeometryAttribute(a.geometry,"a_skyLight",o.skyLights,1),this.updateGeometryAttribute(a.geometry,"a_blockLight",o.blockLights,1),this.updateGeometryAttribute(a.geometry,"uv",o.uvs,2),a.geometry.index=new Mt(o.indices,1),a.geometry.boundingBox=new kn(new X(-8,-8,-8),new X(8,8,8)),a.geometry.boundingSphere=new Tn(new X(0,0,0),Math.sqrt(3*8**2)),IP(a,n,r,s,this.renderOrigin),a.visible=!1,a.name="mesh",e.lastUsedTime=performance.now(),a}acquirePooledSectionMesh(e){let t=this.activeSections.get(e);if(!t){if(t=this.acquireMesh(),!t)return console.warn(`ChunkMeshManager: No available mesh in pool for section ${e}`),null;this.activeSections.set(e,t),t.sectionKey=e}return t}updateSection(e,t){let n=t.positions.length>0,r=(t.blend?.positions.length??0)>0,s=n||r,a=t.shaderCubes,o=this.isShaderCubesGpuEnabled()&&(a?.count??0)>0,l=n&&this.shouldDeferLegacyOpaqueToPerSection(e),c=r&&this.shouldDeferLegacyOpaqueToPerSection(e),u=o&&this.shouldDeferShaderToPerSection(e),d=n&&!l,f=r&&!c,v=o&&!!a&&!u;if(!s&&!o)return this.releaseSection(e),null;let g=this.sectionObjects[e],b=g!=null;g&&this.cleanupSection(e,{forRemesh:!0}),b&&(v||this.globalBlockBuffer?.removeSection(e),d||this.globalLegacyBuffer?.removeSection(e),f||this.globalLegacyBlendBuffer?.removeSection(e),o&&a||this.unregisterShaderSectionRaycastBox(e),!d&&!f&&this.maybeUnregisterLegacyCullSection(e)),r||this.releasePooledMesh(e);let y,_,x,w=!1;if(n){let B={positions:t.positions,colors:t.colors,skyLights:t.skyLights,blockLights:t.blockLights,uvs:t.uvs,indices:t.indices};if(l){if(_={positions:new Float32Array(B.positions),colors:new Float32Array(B.colors),skyLights:new Float32Array(B.skyLights),blockLights:new Float32Array(B.blockLights),uvs:new Float32Array(B.uvs),indices:B.indices instanceof Uint32Array?new Uint32Array(B.indices):new Uint16Array(B.indices)},!r){let U=this.acquirePooledSectionMesh(e);if(!U)return null;y=this.uploadLegacyPooledMesh(U,t,t.sx,t.sy,t.sz)}}else if(this.getGlobalLegacyBuffer().addSection(e,B,t.sx,t.sy,t.sz))this.registerLegacyCullSection(e,t.sx,t.sy,t.sz);else{let O=this.acquirePooledSectionMesh(e);if(!O)return null;y=this.uploadLegacyPooledMesh(O,t,t.sx,t.sy,t.sz)}}if(r&&t.blend){let B={positions:t.blend.positions,colors:t.blend.colors,skyLights:t.blend.skyLights,blockLights:t.blend.blockLights,uvs:t.blend.uvs,indices:t.blend.indices};if(c){x={positions:new Float32Array(B.positions),colors:new Float32Array(B.colors),skyLights:new Float32Array(B.skyLights),blockLights:new Float32Array(B.blockLights),uvs:new Float32Array(B.uvs),indices:B.indices instanceof Uint32Array?new Uint32Array(B.indices):new Uint16Array(B.indices)};let U=this.acquirePooledSectionMesh(e);if(!U)return null;let O=this.uploadLegacyPooledMesh(U,t.blend,t.sx,t.sy,t.sz);y=y??O,w=!0}else if(this.getGlobalLegacyBlendBuffer().addSection(e,B,t.sx,t.sy,t.sz))this.registerLegacyCullSection(e,t.sx,t.sy,t.sz);else{console.warn(`ChunkMeshManager: blend invariant violation for section ${e}, using pooled mesh fallback`);let O=this.acquirePooledSectionMesh(e);if(!O)return null;let V=this.uploadLegacyPooledMesh(O,t.blend,t.sx,t.sy,t.sz);y=y??V,w=!0}}let S=o?this.getCubeShaderMaterial():null,A;o&&a&&(u&&S?(A=r9(a,S),A.visible=!0):this.getGlobalBlockBuffer()?.addSection(e,a.words,a.count)),g=new bt,y&&(g.add(y),g.mesh=y),A&&(g.add(A),g.shaderMesh=A,a&&(g.deferredShaderCubes={words:a.words,count:a.count}),g.mesh||(g.mesh=A)),_&&(g.deferredLegacyOpaque=_),x&&(g.deferredLegacyBlend=x),o&&a&&this.registerShaderSectionRaycastBox(e,a.words,a.count,t.sx,t.sy,t.sz);let T=0;n&&(T+=t.positions.length/3/4),r&&t.blend&&(T+=t.blend.positions.length/3/4),o&&a&&(T+=a.count),g.tilesCount=T,g.hasBlendMesh=w,g.blocksCount=t.blocksCount,g.worldX=t.sx,g.worldY=t.sy,g.worldZ=t.sz,g.sectionKey=e,g.name="chunk";try{if(Object.keys(t.signs).length>0){let B=new bt;B.name="signs";for(let[U,{isWall:O,isHanging:V,rotation:F}]of Object.entries(t.signs)){let J=this.worldRenderer.blockEntities[U];if(!J)continue;let[$,ne,se]=U.split(","),j=this.signHeadsRenderer.renderSign(new kt(+$,+ne,+se),F,O,V,f9.simplify(J));j&&B.add(j)}g.add(B),g.signsContainer=B}if(Object.keys(t.heads).length>0){let B=new bt;B.name="heads";for(let[U,{isWall:O,rotation:V}]of Object.entries(t.heads)){let F=this.worldRenderer.blockEntities[U];if(!F)continue;let[J,$,ne]=U.split(","),se=this.signHeadsRenderer.renderHead(new kt(+J,+$,+ne),V,O,f9.simplify(F));se&&B.add(se)}g.add(B),g.headsContainer=B}if(Object.keys(t.banners).length>0){let B=new bt;B.name="banners",g.bannersContainer=B,g.add(B);for(let[U,O]of Object.entries(t.banners)){let{isWall:V,rotation:F,blockName:J,blockLightNorm:$=0,skyLightNorm:ne=1}=O,se=this.worldRenderer.blockEntities[U];if(!se)continue;let[j,q,z]=U.split(","),K=b4e(this.worldRenderer,J,f9.simplify(se));if(!K)continue;let re=this.blockEntityLightRegistry.getSkyLevel(),Z=w4e(new kt(+j,+q,+z),F,V,K,$,ne,re);Z.bannerMaterial&&this.blockEntityLightRegistry.register({material:Z.bannerMaterial,blockLightNorm:$,skyLightNorm:ne});let{x:Y,y:Q,z:ue}=Z.position;this.worldRenderer.sceneOrigin.track(Z),Z.position.set(Y,Q,ue),B.add(Z)}}}catch(B){console.error("ChunkMeshManager: Error adding signs, heads, or banners to section",B)}this.sectionObjects[e]=g,this.scene.add(g),g.matrixAutoUpdate=!1,this.worldRenderer.displayOptions?.inWorldRenderingConfig?.showChunkBorders&&this.updateBoxHelper(e,!0);let P=e.split(","),I=`${P[0]},${P[2]}`,k=!!this.worldRenderer.displayOptions?.inWorldRenderingConfig?._renderByChunks,L=!!this.worldRenderer.worldRendererConfig?.wasmMesher;if((k||L)&&!this.worldRenderer.finishedChunks[I]){g.visible=!1,g._waitingForChunkDisplay=!0;let B=this.waitingChunksToDisplay[I]??(this.waitingChunksToDisplay[I]=[]);B.includes(e)||B.push(e)}return this.markCullDirty(),g}finishChunkDisplay(e){if(!this.waitingChunksToDisplay[e]){this.tryRevealPending();return}if(this.isWasmGateActive()&&this.isBlockedByNearer(e,0)){this.pendingNearReveal.set(e,Date.now()),this.armNearRevealTimer(e),this.armExpectedGraceTimer(e),this.tryRevealPending();return}this.flushChunkDisplay(e),this.tryRevealPending()}flushChunkDisplay(e){let t=this.waitingChunksToDisplay[e];if(this.pendingNearReveal.delete(e),this.clearNearRevealTimer(e),this.clearExpectedGraceTimer(e),!!t){for(let n of t){let r=this.sectionObjects[n];r&&(r._waitingForChunkDisplay=!1,r.visible=!0)}delete this.waitingChunksToDisplay[e],this.markCullDirty()}}tryRevealPending(){if(this.pendingNearReveal.size===0)return;let e=Date.now();for(let[t,n]of[...this.pendingNearReveal])this.isBlockedByNearer(t,e-n)||this.flushChunkDisplay(t)}onChunkRemovedFromGate(e){this.pendingNearReveal.delete(e),this.clearNearRevealTimer(e),this.clearExpectedGraceTimer(e),delete this.waitingChunksToDisplay[e],this.tryRevealPending()}isWasmGateActive(){return!!this.worldRenderer.worldRendererConfig?.wasmMesher}isBlockedByNearer(e,t){let n=this.worldRenderer.viewerChunkPosition;if(!n)return!1;let r=e.split(",");if(r.length!==2)return!1;let s=Number(r[0]),a=Number(r[1]),o=Math.floor(n.x/16),l=Math.floor(n.z/16),c=(s>>4)-o,u=(a>>4)-l,d=c*c+u*u;if(d===0)return!1;let f=this.worldRenderer.finishedChunks,v=this.worldRenderer.loadedChunks,g=this.worldRenderer.viewDistance;if(t<ro.EXPECTED_NEAR_GRACE_MS&&g>0){let y=g*g,_=Math.min(g,Math.ceil(Math.sqrt(Math.max(0,d-1))));for(let x=-_;x<=_;x++)for(let w=-_;w<=_;w++){let S=x*x+w*w;if(S>=d||S>y)continue;let A=o+x<<4,T=l+w<<4,P=`${A},${T}`;if(P!==e&&v[P]&&!f[P])return!0}return!1}for(let y in v){if(y===e||f[y])continue;let _=y.split(",");if(_.length!==2)continue;let x=(Number(_[0])>>4)-o,w=(Number(_[1])>>4)-l;if(x*x+w*w<d)return!0}return!1}armNearRevealTimer(e){if(this.nearRevealTimers.has(e))return;let t=setTimeout(()=>{this.nearRevealTimers.delete(e),this.pendingNearReveal.has(e)&&(console.warn(`[chunk-reveal] safety timeout for ${e} \u2014 a nearer pending column never finished, force-revealing`),this.flushChunkDisplay(e),this.tryRevealPending())},ro.NEAR_REVEAL_TIMEOUT_MS);this.nearRevealTimers.set(e,t)}clearNearRevealTimer(e){let t=this.nearRevealTimers.get(e);t&&(clearTimeout(t),this.nearRevealTimers.delete(e))}armExpectedGraceTimer(e){if(this.nearRevealGraceTimers.has(e))return;let t=setTimeout(()=>{this.nearRevealGraceTimers.delete(e),this.pendingNearReveal.has(e)&&this.tryRevealPending()},ro.EXPECTED_NEAR_GRACE_MS+50);this.nearRevealGraceTimers.set(e,t)}clearExpectedGraceTimer(e){let t=this.nearRevealGraceTimers.get(e);t&&(clearTimeout(t),this.nearRevealGraceTimers.delete(e))}cleanupSection(e,t){let n=this.sectionObjects[e];if(n){if(n._waitingForChunkDisplay){let r=e.split(","),s=`${r[0]},${r[2]}`,a=this.waitingChunksToDisplay[s];if(a){let o=a.indexOf(e);o!==-1&&a.splice(o,1),a.length===0&&delete this.waitingChunksToDisplay[s]}}if(n.bannersContainer){for(let r of n.bannersContainer.children){let s=r;s.bannerMaterial&&this.blockEntityLightRegistry.unregister(s.bannerMaterial),s.bannerTexture&&x4e(s.bannerTexture)}this.disposeContainer(n.bannersContainer)}if(t?.forRemesh||(this.globalBlockBuffer?.removeSection(e),this.globalLegacyBuffer?.removeSection(e),this.globalLegacyBlendBuffer?.removeSection(e),this.maybeUnregisterLegacyCullSection(e),this.unregisterShaderSectionRaycastBox(e)),this.markCullDirty(),delete n.deferredLegacyOpaque,delete n.deferredLegacyBlend,n.shaderMesh&&(SP(n.shaderMesh),n.shaderMesh=void 0),delete n.deferredShaderCubes,n.signsContainer){for(let r of n.signsContainer.children){let s=r;s.signTexture&&M4e(s.signTexture)}this.disposeContainer(n.signsContainer,!1)}if(n.headsContainer&&this.disposeContainer(n.headsContainer),this.worldRenderer.sceneOrigin.removeAndUntrackAll(n),this.scene.remove(n),n.boxHelper){this.worldRenderer.sceneOrigin.removeAndUntrack(n.boxHelper),this.scene.remove(n.boxHelper),n.boxHelper.geometry.dispose();let r=n.boxHelper.material;if(Array.isArray(r))for(let s of r)s.dispose();else r.dispose();n.boxHelper=void 0}delete this.sectionObjects[e],t?.forRemesh||this.worldRenderer.getModule("futuristicReveal")?.onSectionRemoved?.(e)}}releasePooledMesh(e){let t=this.activeSections.get(e);t&&(t.mesh.visible=!1,t.inUse=!1,t.sectionKey=void 0,t.lastUsedTime=0,this.clearGeometry(t.mesh.geometry),this.activeSections.delete(e),this.cleanupExcessMeshes())}releaseSection(e){this.cleanupSection(e);let t=this.activeSections.get(e);return t?(t.mesh.visible=!1,t.inUse=!1,t.sectionKey=void 0,t.lastUsedTime=0,this.clearGeometry(t.mesh.geometry),this.activeSections.delete(e),this.cleanupExcessMeshes(),!0):!1}getSectionObject(e){return this.sectionObjects[e]}updateBoxHelper(e,t,n=this.chunkBoxMaterial){let r=this.sectionObjects[e];if(r)if(t){if(!r.boxHelper){let s=new Ke(new Sn(16,16,16),n),a=new Ea(s,16776960);a.name="helper";let o=r.worldX??0,l=r.worldY??0,c=r.worldZ??0;this.worldRenderer.sceneOrigin.track(a,{updateMatrix:!0}),a.position.set(o,l,c),a.updateMatrix(),this.scene.add(a),r.boxHelper=a}r.boxHelper.visible=!0}else r.boxHelper&&(r.boxHelper.visible=!1)}updateAllBoxHelpers(e){for(let t of Object.keys(this.sectionObjects))this.updateBoxHelper(t,e)}getSectionMesh(e){return this.activeSections.get(e)?.mesh}hasSection(e){return this.activeSections.has(e)}updateViewDistance(e){let t=(e*2+1)**2,n=this.worldHeight/16,r=5;if(this.minPoolSize=Math.floor(t*r),this.maxPoolSize=Math.floor(t*n)+1,this.poolSize??=this.minPoolSize,this.minPoolSize>this.poolSize){let s=Math.min(this.minPoolSize,this.maxPoolSize);this.expandPool(s)}console.log(`ChunkMeshManager: Updated view max distance to ${e}, pool: ${this.poolSize}/${this.maxPoolSize}, optimal: ${this.minPoolSize}`)}getGlobalBufferStats(){let e=n=>n?{used:n.getHighWatermark(),capacity:n.getCapacityQuads(),sections:n.getSectionCount(),usedBytes:n.getUsedMemoryBytes(),capacityBytes:n.getMemoryBytes()}:null,t=this.globalBlockBuffer;return{shaderFaces:t?{used:t.getHighWatermark(),capacity:t.getCapacityFaces(),sections:t.getSectionCount(),usedBytes:t.getUsedMemoryBytes(),capacityBytes:t.getMemoryBytes()}:null,legacyOpaque:e(this.globalLegacyBuffer),legacyBlend:e(this.globalLegacyBlendBuffer)}}getStats(){let e=this.meshPool.filter(r=>!r.inUse).length,t=this.hits+this.misses>0?(this.hits/(this.hits+this.misses)*100).toFixed(1):"0",n=this.getEstimatedMemoryUsage();return{poolSize:this.poolSize,activeCount:this.activeSections.size,freeCount:e,hitRate:`${t}%`,hits:this.hits,misses:this.misses,memoryUsage:n}}getTotalTiles(){return Object.values(this.sectionObjects).reduce((e,t)=>e+(t.tilesCount||0),0)}getTotalBlocks(){return Object.values(this.sectionObjects).reduce((e,t)=>e+(t.blocksCount||0),0)}getEstimatedMemoryUsage(){let e=0,t=0,n=0,r=0,s=0,a=0,o=0,l=this.globalBlockBuffer?.mesh.geometry;if(l)for(let f of["a_w0","a_w1","a_w2","a_w3"]){let v=l.getAttribute(f);if(v){let g=v.array.byteLength;o+=g,e+=g}}let c=this.globalLegacyBuffer?.getMemoryBytes()??0,u=this.globalLegacyBlendBuffer?.getMemoryBytes()??0;e+=c+u,t+=c+u;for(let f of Object.values(this.sectionObjects)){let v=f.shaderMesh?.geometry;if(v)for(let g of["a_w0","a_w1","a_w2","a_w3"]){let b=v.getAttribute(g);if(b){let y=b.array.byteLength;o+=y,e+=y}}}for(let f of this.meshPool)if(f.inUse&&f.mesh.geometry){let{geometry:v}=f.mesh,g=v.getAttribute("position");if(g){let x=g.array.byteLength;t+=x,e+=x}let b=v.getAttribute("normal");if(b){let x=b.array.byteLength;n+=x,e+=x}let y=v.getAttribute("color");if(y){let x=y.array.byteLength;r+=x,e+=x}let _=v.getAttribute("uv");if(_){let x=_.array.byteLength;s+=x,e+=x}if(v.index){let x=v.index.array.byteLength;a+=x,e+=x}}return{total:`${(e/(1024*1024)).toFixed(2)} MB`,breakdown:{position:`${(t/(1024*1024)).toFixed(2)} MB`,normal:`${(n/(1024*1024)).toFixed(2)} MB`,color:`${(r/(1024*1024)).toFixed(2)} MB`,uv:`${(s/(1024*1024)).toFixed(2)} MB`,index:`${(a/(1024*1024)).toFixed(2)} MB`,shaderInstances:`${(o/(1024*1024)).toFixed(2)} MB`}}}dispose(){let e=[...this.activeSections.keys()];for(let t of e)this.releaseSection(t);this.signHeadsRenderer.dispose();for(let t of this.meshPool)t.mesh.geometry.dispose();this.meshPool.length=0,this.activeSections.clear(),this.chunkBoxMaterial.dispose(),this.shaderSectionRaycastBoxes.clear(),this.lastBufferStateKey="",this.globalBlockBuffer?.dispose(),this.globalBlockBuffer=null,this.globalLegacyBuffer?.dispose(),this.globalLegacyBuffer=null,this.globalLegacyBlendBuffer?.dispose(),this.globalLegacyBlendBuffer=null,this.cubeShaderMaterial?.dispose(),this.cubeShaderMaterial=null,this.legacyShaderMaterial?.dispose(),this.legacyShaderMaterial=null,this.globalLegacyShaderMaterial?.dispose(),this.globalLegacyShaderMaterial=null,this.globalLegacyBlendShaderMaterial?.dispose(),this.globalLegacyBlendShaderMaterial=null,this.pendingNearReveal.clear();for(let t of this.nearRevealTimers.values())clearTimeout(t);this.nearRevealTimers.clear();for(let t of this.nearRevealGraceTimers.values())clearTimeout(t);this.nearRevealGraceTimers.clear()}acquireMesh(){if(this.bypassPooling){let t={mesh:new Ke(new dt,this.getLegacyShaderMaterial()),inUse:!0,lastUsedTime:performance.now()};return this.meshPool.push(t),this.poolSize++,t}for(let t of this.meshPool)if(!t.inUse)return t.inUse=!0,t.lastUsedTime=performance.now(),this.hits++,t;this.misses++;let e=Math.min(this.poolSize+16,this.maxPoolSize);e<=this.meshPool.length&&(e=this.meshPool.length+8,this.maxPoolSize=e,console.warn(`ChunkMeshManager: Pool exhausted (${this.poolSize}/${this.maxPoolSize}). Emergency expansion to ${e}`)),this.expandPool(e);for(let t=this.meshPool.length-1;t>=0;t--){let n=this.meshPool[t];if(!n.inUse)return n.inUse=!0,n.lastUsedTime=performance.now(),n}throw new Error("ChunkMeshManager: Failed to acquire mesh after pool expansion")}expandPool(e){let t=this.meshPool.length;this.poolSize=e;for(let n=t;n<e;n++){let r=new dt,s=new Ke(r,this.getLegacyShaderMaterial());s.visible=!1,s.matrixAutoUpdate=!1,s.name="pooled-section-mesh";let a={mesh:s,inUse:!1,lastUsedTime:0};this.meshPool.push(a)}}updateGeometryAttribute(e,t,n,r){let s=e.getAttribute(t);s&&s.count===n.length/r?(s.array.set(n),s.needsUpdate=!0):e.setAttribute(t,new Mt(n,r))}clearGeometry(e){let t=["position","normal","color","a_skyLight","a_blockLight","uv"];for(let n of t)e.hasAttribute(n)&&e.deleteAttribute(n);e.index&&e.setIndex(null),e.boundingBox=null,e.boundingSphere=null}cleanupExcessMeshes(){if(this.poolSize>this.maxPoolSize){let e=this.meshPool.filter(t=>!t.inUse).length;if(e>0){let t=Math.min(this.poolSize-this.maxPoolSize,e);for(let n=0;n<t;n++){let r=this.meshPool.findIndex(s=>!s.inUse);r!==-1&&(this.meshPool[r].mesh.geometry.dispose(),this.meshPool.splice(r,1),this.poolSize--)}}}}disposeContainer(e,t=!0){dr(e,t)}recordRenderTime(e){this.renderTimes.push(e),this.renderTimes.length>this.maxRenderTimeSamples&&this.renderTimes.shift();let t=performance.now();t-this.lastPerformanceCheck>this.performanceCheckInterval&&(this.checkPerformance(),this.lastPerformanceCheck=t)}getEffectiveRenderDistance(){return this.performanceOverrideDistance||this.worldRenderer.viewDistance}resetPerformanceOverride(){this.performanceOverrideDistance=void 0,this.renderTimes.length=0,console.log("ChunkMeshManager: Performance override reset")}getAverageRenderTime(){return this.renderTimes.length===0?0:this.renderTimes.reduce((e,t)=>e+t,0)/this.renderTimes.length}checkPerformance(){if(this.renderTimes.length<this.maxRenderTimeSamples)return;let e=this.getAverageRenderTime(),t=16.67,n=t*1.5;if(e>n){let r=this.worldRenderer.viewDistance,s=Math.max(1,Math.floor(r*.8));(!this.performanceOverrideDistance||s<this.performanceOverrideDistance)&&(this.performanceOverrideDistance=s,console.warn(`ChunkMeshManager: Performance degraded (${e.toFixed(2)}ms avg). Reducing effective render distance to ${s}`))}else if(this.performanceOverrideDistance&&e<t*1.1){let r=this.worldRenderer.viewDistance,s=Math.min(r,this.performanceOverrideDistance+1);s!==this.performanceOverrideDistance&&(this.performanceOverrideDistance=s>=r?void 0:s,console.log(`ChunkMeshManager: Performance improved. Restoring render distance to ${s}`))}}updateSectionsVisibility(){let e=this.worldRenderer.cameraSectionPos;for(let[t,n]of Object.entries(this.sectionObjects)){if(n._waitingForChunkDisplay){n.visible=!1;continue}if(!this.performanceOverrideDistance){n.visible=!0;continue}let[r,s,a]=t.split(",").map(Number),o={x:r/16,y:s/16,z:a/16},l=o.x-e.x,c=o.z-e.z,u=Math.floor(Math.hypot(l,c));n.visible=u<=this.performanceOverrideDistance}}};Wn(ro,"REBASE_THRESHOLD",65536),Wn(ro,"NEAR_REVEAL_TIMEOUT_MS",5e3),Wn(ro,"EXPECTED_NEAR_GRACE_MS",1500);var fg=ro,PP=class{constructor(e){this.worldRendererThree=e}dispose(){A4e()}renderHead(e,t,n,r){let s;if(r.SkullOwner?s=r.SkullOwner.Properties?.textures?.[0]?.Value:s=r.profile?.properties?.find(a=>a.name==="textures")?.value,!!s)try{let o=JSON.parse(Buffer.from(s,"base64").toString()).textures?.SKIN?.url,{skinTexturesProxy:l}=this.worldRendererThree.worldRendererConfig;l&&(o=o?.replace("http://textures.minecraft.net/",l).replace("https://textures.minecraft.net/",l));let c=$c(this.worldRendererThree,o,Yc.head),u=new bt;return n&&c.position.set(0,.3125,.3125),c.position.y-=23/16,u.add(c),this.worldRendererThree.sceneOrigin.track(u),u.position.set(e.x+.5,e.y+.045,e.z+.5),u.rotation.set(0,-Ot.degToRad(t*(n?90:45/2)),0),u.scale.set(.8,.8,.8),u}catch(a){console.error("Error decoding player texture:",a)}}renderSign(e,t,n,r,s){let a=E4e(this.worldRendererThree,s,r);if(!a)return;let o=new Ke(new zn(1,1),new _t({map:a,transparent:!0}));o.renderOrder=999;let l=7/16,c=r?1.3:1;o.scale.set(1*c,l*c,1*c);let u=(r?2:1.5)/16,d=.25/16;n&&!r?o.position.set(0,0,-.5+u+d+1e-4):o.position.set(0,0,u/2+1e-4);let f=new bt;f.rotation.set(0,-Ot.degToRad(t*(n?90:45/2)),0),f.add(o),f.signTexture=a;let v=(r?10:8)/16,g=(r?0:n?4.333:9.333)/16,b=v/2+g;return this.worldRendererThree.sceneOrigin.track(f),f.position.set(e.x+.5,e.y+b,e.z+.5),f}};h();p();m();var h9=(i,e)=>e===0?1/0:e<0?h9(-i,-e):(1-(i-Math.floor(i)))/e,WYe=(i,e,t,n,r,s,a,o,l,c,u,d)=>{let f=a-u,v=o-u,g=l-u,b=a+1+u,y=o+1+u,_=l+1+u,x=m4e(i,e,t,n,r,s,f,v,g,b,y,_,c);if(x===void 0&&(x=p4e(i,e,t,n,r,s,f,v,g,b,y,_,c)),x!==void 0)return Math.max(d,x)};function k4e(i,e,t,n,r,s,a,o,l,c){if(a<=0)return;let u=Math.floor(i),d=Math.floor(e),f=Math.floor(t),v=n>0?1:n<0?-1:0,g=r>0?1:r<0?-1:0,b=s>0?1:s<0?-1:0,y=v!==0?Math.abs(1/n):1/0,_=g!==0?Math.abs(1/r):1/0,x=b!==0?Math.abs(1/s):1/0,w=v!==0?h9(i,n):1/0,S=g!==0?h9(e,r):1/0,A=b!==0?h9(t,s):1/0,T=(k,L,B)=>{if(!c(k,L,B))return;let U=WYe(i,e,t,n,r,s,k,L,B,a,o,l);if(!(U===void 0||U>a))return{distance:U,blockX:k,blockY:L,blockZ:B}},P=T(u,d,f);if(P)return P;let I=0;for(;I<=a&&(w<S?w<A?(u+=v,I=w,w+=y):(f+=b,I=A,A+=x):S<A?(d+=g,I=S,S+=_):(f+=b,I=A,A+=x),!(I>a));)if(P=T(u,d,f),P)return P}h();p();m();h();p();m();Lt();var m9={},T4e=!1;function jYe(){if(T4e)return;let i=globalThis.loadedData?.tints;if(i){for(let e of Object.keys(i))m9[e]=XYe(i[e]);T4e=!0}}function XYe(i){let e={},t=I4e(i.default??16777215);if(i.data)for(let n of i.data){let r=I4e(n.color);for(let s of n.keys)e[s]=r}return new Proxy(e,{get(n,r){return n[r]??t}})}function I4e(i){return[(i>>16&255)/255,(i>>8&255)/255,(i&255)/255]}function R4e(i,e){return jYe(),i==="grass_block"?[1,1,1]:i==="redstone_wire"?[1,1,1]:i==="birch_leaves"||i==="spruce_leaves"||i==="lily_pad"?m9.constant?.[i]??[1,1,1]:i.includes("leaves")||i==="vine"?m9.foliage?.[e]??[1,1,1]:["short_grass","tall_grass","fern","large_fern","sugar_cane","grass"].includes(i)?m9.grass?.[e]??[1,1,1]:[1,1,1]}var $Ye=512,LP=1/20,BP=class{constructor(e){this.worldRenderer=e}particles=[];sharedMaterial;enabled=!1;tickAccumulator=0;nextParticleIndex=0;enable(){this.enabled||(this.enabled=!0,this.ensureMaterial())}disable(){this.enabled&&(this.enabled=!1)}dispose(){for(let e of this.particles)e.active&&this.worldRenderer.sceneOrigin.removeAndUntrack(e.mesh),e.mesh.geometry.dispose();this.particles=[],this.sharedMaterial?.dispose(),this.sharedMaterial=void 0,this.nextParticleIndex=0}render=e=>{if(!this.enabled)return;for(this.tickAccumulator+=e;this.tickAccumulator>=LP;)this.tickAccumulator-=LP,this.tickPhysics();let t=this.tickAccumulator/LP;this.updateVisuals(t)};spawnBlockBreakParticles(e,t,n,r,s,a="plains"){if(!this.enabled)return;let o=this.resolveBlockTexture(r);if(!o)return;let l=R4e(r,a);for(let c=0;c<4;c++)for(let u=0;u<4;u++)for(let d=0;d<4;d++){let f=e+(c+.5)/4,v=t+(u+.5)/4,g=n+(d+.5)/4,b=f-e-.5,y=v-t-.5,_=g-n-.5;b+=(Math.random()*2-1)*.4,y+=(Math.random()*2-1)*.4,_+=(Math.random()*2-1)*.4;let x=(Math.random()+Math.random()+1)*.15,w=Math.sqrt(b*b+y*y+_*_),S=b/w*x*.4,A=y/w*x*.4+.1,T=_/w*x*.4,P=Math.floor(4/(Math.random()*.9+.1));this.createParticle(f,v,g,S,A,T,P,o,s,e,n,1,l)}}tickPhysics(){for(let e of this.particles){if(!e.active)continue;if(e.prevX=e.x,e.prevY=e.y,e.prevZ=e.z,e.age++,e.age>=e.maxAge){this.deactivateParticle(e);continue}e.yd-=.04,e.x+=e.xd,e.y+=e.yd,e.z+=e.zd;let t=this.getFloorY(e);e.y<=t?(e.y=t,e.yd=0,e.onGround=!0):e.onGround=!1,e.xd*=.98,e.yd*=.98,e.zd*=.98,e.onGround&&(e.xd*=.7,e.zd*=.7)}}updateVisuals(e){let t=this.worldRenderer.camera.position;for(let n of this.particles){if(!n.active)continue;let r=n.prevX+(n.x-n.prevX)*e,s=n.prevY+(n.y-n.prevY)*e,a=n.prevZ+(n.z-n.prevZ)*e;n.mesh.position.set(r,s,a),n.mesh.lookAt(t.x,t.y,t.z)}}spawnCrackParticle(e,t,n,r,s,a,o="plains"){if(!this.enabled)return;let l=this.resolveBlockTexture(s);if(!l)return;let c=R4e(s,o),u=e+Math.random()*.8+.1,d=t+Math.random()*.8+.1,f=n+Math.random()*.8+.1;switch(r){case 0:d=t-.1;break;case 1:d=t+1+.1;break;case 2:f=n-.1;break;case 3:f=n+1+.1;break;case 4:u=e-.1;break;case 5:u=e+1+.1;break}let v=(Math.random()*2-1)*.4*.2,g=(Math.random()*2-1)*.4*.2+.1*.2,b=(Math.random()*2-1)*.4*.2,y=Math.floor(4/(Math.random()*.9+.1));this.createParticle(u,d,f,v,g,b,y,l,a,e,n,.6,c)}createParticle(e,t,n,r,s,a,o,l,c,u,d,f=1,v=[1,1,1]){this.ensureMaterial();let g=this.findInactiveParticle();g||(this.particles.length<$Ye?g=this.allocateParticle():g=this.recycleOldest());let b=Math.floor(Math.random()*4),y=Math.floor(Math.random()*4),_=l.u+b/4*l.su,x=l.v+y/4*l.sv,w=l.su/4,S=l.sv/4;this.setGeometryUVs(g.mesh.geometry,_,x,w,S),g.active=!0,g.x=e,g.y=t,g.z=n,g.prevX=e,g.prevY=t,g.prevZ=n,g.xd=r,g.yd=s,g.zd=a,g.age=0,g.maxAge=o,g.onGround=!1,g.floorMap=c,g.blockX=Math.floor(u),g.blockZ=Math.floor(d);let A=.1*(.5+Math.random()*.5)*2*f;g.mesh.scale.set(A,A,A),g.mesh.position.set(e,t,n),g.mesh.visible=!0;let T=.6*v[0],P=.6*v[1],I=.6*v[2],k=new Float32Array([T,P,I,T,P,I,T,P,I,T,P,I]),L=g.mesh.geometry.getAttribute("color");L?(L.set(k),L.needsUpdate=!0):g.mesh.geometry.setAttribute("color",new Je(k,3)),this.worldRenderer.sceneOrigin.addAndTrack(g.mesh)}allocateParticle(){let e=new zn(1,1),t=new Ke(e,this.sharedMaterial);t.visible=!1;let n={mesh:t,active:!1,x:0,y:0,z:0,prevX:0,prevY:0,prevZ:0,xd:0,yd:0,zd:0,age:0,maxAge:0,onGround:!1,floorMap:[],blockX:0,blockZ:0};return this.particles.push(n),n}findInactiveParticle(){for(let e=0;e<this.particles.length;e++){let t=(this.nextParticleIndex+e)%this.particles.length;if(!this.particles[t].active)return this.nextParticleIndex=(t+1)%this.particles.length,this.particles[t]}}recycleOldest(){let e=this.particles[0];for(let t of this.particles)t.age>e.age&&(e=t);return this.deactivateParticle(e),e}deactivateParticle(e){e.active&&(e.active=!1,e.mesh.visible=!1,this.worldRenderer.sceneOrigin.removeAndUntrack(e.mesh))}getFloorY(e){let t=Math.floor(e.x)-e.blockX,n=Math.floor(e.z)-e.blockZ;return t=Math.max(-2,Math.min(2,t)),n=Math.max(-2,Math.min(2,n)),e.floorMap[(n+2)*5+(t+2)]}resolveBlockTexture(e){let t=this.worldRenderer.resourcesManager.currentResources;if(!t)return null;let n=t.blocksAtlasJson,r=n.textures;if(r[e])return this.extractUV(r[e],n);for(let s of["_side","_top","_front","_0",""]){let a=e+s;if(r[a])return this.extractUV(r[a],n)}for(let s of Object.keys(r))if(s.startsWith(e))return this.extractUV(r[s],n);return null}extractUV(e,t){return{u:e.u,v:e.v,su:e.su??t.suSv,sv:e.sv??t.suSv}}setGeometryUVs(e,t,n,r,s){let a=e.getAttribute("uv");a.setXY(0,t,n),a.setXY(1,t+r,n),a.setXY(2,t,n+s),a.setXY(3,t+r,n+s),a.needsUpdate=!0}ensureMaterial(){if(this.sharedMaterial)return;let e=this.worldRenderer.material.map;e&&(this.sharedMaterial=new _t({map:e,vertexColors:!0,transparent:!0,alphaTest:.1}))}},C4e={id:"blockBreakParticles",controller:BP,enabledDefault:!0,cannotBeDisabled:!0,requiresHeightmap:!1};h();p();m();var DP=class{constructor(e){this.worldRenderer=e}enabled=!1;lastBobWalkDist=0;lastBobTickTime=0;enable(){this.enabled=!0}disable(){this.enabled=!1,this.worldRenderer.cameraShake.setCameraBobInput(null);let{perspective:e}=this.worldRenderer.playerStateReactive;e==="first_person"&&this.worldRenderer.camera.position.set(0,0,0)}render=()=>{if(!this.enabled)return;let e=this.worldRenderer.displayOptions.inWorldRenderingConfig,{perspective:t}=this.worldRenderer.playerStateReactive;if(e.viewBobbing&&t==="first_person"&&!this.worldRenderer.playerStateUtils.isSpectator()){this.worldRenderer.playerStateReactive.walkDist!==this.lastBobWalkDist&&(this.lastBobTickTime=performance.now(),this.lastBobWalkDist=this.worldRenderer.playerStateReactive.walkDist);let r=Math.min((performance.now()-this.lastBobTickTime)/50,1);this.worldRenderer.cameraShake.setCameraBobInput({walkDist:this.worldRenderer.playerStateReactive.walkDist,prevWalkDist:this.worldRenderer.playerStateReactive.prevWalkDist,bob:this.worldRenderer.playerStateReactive.bob,prevBob:this.worldRenderer.playerStateReactive.prevBob,partialTick:r})}else this.worldRenderer.cameraShake.setCameraBobInput(null)};dispose(){this.disable()}},P4e={id:"cameraBobbing",controller:DP,enabledDefault:!0,cannotBeDisabled:!0};h();p();m();Lt();var OP=2e3,L4e=32,B4e=32,p9=12,D4e=24,v9=1.2,YYe=-5,NP=class{constructor(e){this.worldRenderer=e;this.configUnsubs.push(this.worldRenderer.onReactiveConfigUpdated("rainColor",()=>this.syncRainAppearance()),this.worldRenderer.onReactiveConfigUpdated("rainOpacity",()=>this.syncRainAppearance()))}instancedMesh;geometry;material;particles=[];enabled=!1;dummy=new Et;tempPosition=new X;tempQuaternion=new qt;tempScale=new X;configUnsubs=[];enable(){this.enabled||(this.enabled=!0,this.instancedMesh?(this.instancedMesh.visible=!0,this.syncRainAppearance()):this.createRain())}disable(){this.enabled&&(this.enabled=!1,this.instancedMesh&&(this.instancedMesh.visible=!1))}autoEnableCheck(){return this.worldRenderer.worldRendererConfig.isRaining===!0}render=e=>{if(!this.enabled||!this.instancedMesh||!this.material)return;let t=this.worldRenderer.getCameraPosition();this.instancedMesh.position.set(0,0,0);let n=this.worldRenderer.reactiveState.world.heightmaps,{dummy:r,tempPosition:s,tempQuaternion:a,tempScale:o}=this,l=NaN,c=NaN,u;for(let d=0;d<OP;d++){let f=this.particles[d];this.instancedMesh.getMatrixAt(d,r),r.decompose(s,a,o),s.addScaledVector(f.velocity,e);let v=s.y,g=Math.sqrt(s.x*s.x+s.z*s.z),b=t.x+s.x,y=t.y+s.y,_=t.z+s.z,x=Math.floor(b/16),w=Math.floor(_/16);(x!==l||w!==c)&&(u=n[`${x},${w}`],l=x,c=w);let S=(Math.floor(b)%16+16)%16,A=(Math.floor(_)%16+16)%16,T=u?.[A*16+S];if(g>L4e||T!==void 0&&T!==-32768&&y<=T+1+f.despawnOffset||v<YYe){this.respawnParticle(s);let I=p9+Math.random()*(D4e-p9);f.velocity.set((Math.random()-.5)*v9,-I,(Math.random()-.5)*v9),f.despawnOffset=Math.random()*.5}r.compose(s,a,o),this.instancedMesh.setMatrixAt(d,r)}this.instancedMesh.instanceMatrix.needsUpdate=!0};dispose(){for(let e of this.configUnsubs)e();this.configUnsubs.length=0,this.instancedMesh&&this.worldRenderer.scene.remove(this.instancedMesh),this.geometry?.dispose(),this.material?.dispose(),this.instancedMesh=void 0,this.geometry=void 0,this.material=void 0,this.particles=[]}syncRainAppearance(){if(!this.material)return;let{rainColor:e,rainOpacity:t}=this.worldRenderer.worldRendererConfig;this.material.color.set(e),this.material.opacity=Math.max(0,Math.min(1,t)),this.material.needsUpdate=!0}createRain(){let{rainColor:e,rainOpacity:t}=this.worldRenderer.worldRendererConfig;this.geometry=new Sn(.03,.3,.03),this.material=new _t({color:e,transparent:!0,opacity:Math.max(0,Math.min(1,t)),depthWrite:!0,fog:!1}),this.instancedMesh=new cl(this.geometry,this.material,OP),this.instancedMesh.name="rain-particles",this.instancedMesh.frustumCulled=!1;let n=new Et,r=new X;for(let s=0;s<OP;s++){this.respawnParticle(r),r.y=Math.random()*B4e,n.setPosition(r),this.instancedMesh.setMatrixAt(s,n);let a=p9+Math.random()*(D4e-p9);this.particles.push({velocity:new X((Math.random()-.5)*v9,-a,(Math.random()-.5)*v9),age:0,despawnOffset:Math.random()*.5})}this.instancedMesh.instanceMatrix.needsUpdate=!0,this.worldRenderer.scene.add(this.instancedMesh)}respawnParticle(e){let t=Math.random()*Math.PI*2,n=Math.random()*L4e;e.set(Math.cos(t)*n,B4e,Math.sin(t)*n)}},O4e={id:"rain",controller:NP,enabledDefault:!1,requiresHeightmap:!0};h();p();m();Lt();var N4e=new We(13/255,234/255,238/255),JYe=9,KYe=12e3,ZYe=1500,QYe=1e4,eJe=350,tJe=650,U4e=120,F4e=280,UP=class{constructor(e){this.worldRenderer=e;e.worldRendererConfig.futuristicReveal!==!0&&(this.enabled=!1)}enabled=!0;sections=new Map;completed=new Set;globalWaveStarted=!1;globalWaveStartMs=0;finishedChunkCount=0;firstQueuedMs=null;pulseTime=0;wireframeMaterial=new Pn({color:N4e,transparent:!0,opacity:1,blending:es,depthWrite:!1});wireframeGlowMaterial=new Pn({color:N4e,transparent:!0,opacity:.55,blending:es,depthWrite:!1});autoEnableCheck(){return this.worldRenderer.worldRendererConfig.futuristicReveal===!0}enable(){this.autoEnableCheck()&&this.setEnabled(!0)}disable(){this.setEnabled(!1)}dispose(){this.reset(),this.wireframeMaterial.dispose(),this.wireframeGlowMaterial.dispose()}shouldDeferSectionGeometry(e){return this.enabled&&!this.completed.has(e)}onSectionMeshed(e,t,n){let r=n.children.find(s=>s.name==="mesh");r instanceof Ke&&this.onSectionMeshedMesh(e,t,r)}onChunkFinished(){this.enabled&&(this.finishedChunkCount++,this.tryStartGlobalWave(performance.now()))}onSectionRemoved(e){this.cancelSection(e,!0),this.completed.delete(e)}onWorldSwitched(){this.reset()}tick(e,t=performance.now()){if(!this.enabled||(this.tryStartGlobalWave(t),!this.globalWaveStarted&&this.firstQueuedMs!==null&&this.sections.size>0&&t-this.firstQueuedMs>=KYe&&this.startGlobalWave(t),this.sections.size===0))return;this.pulseTime+=e*.001;let n=[];for(let r of this.sections.values()){if(t-r.phaseStartMs>QYe){n.push(r);continue}if(r.phase==="queued"){this.globalWaveStarted&&t>=r.revealAtMs&&this.beginWireframe(r,t);continue}let s=t-r.phaseStartMs;if(r.phase==="wireframe"){this.animateWireframe(r,s),s>=r.wireframeMs&&this.beginFade(r,t);continue}if(r.phase==="fade"){let a=Math.min(1,s/r.fadeMs);this.animateFade(r,a),a>=1&&n.push(r)}}for(let r of n)this.finishSection(r)}setEnabled(e){e!==this.enabled&&(this.enabled=e,e||this.forceFinishAll())}onSectionMeshedMesh(e,t,n){if(!this.enabled||!t.positions?.length||this.completed.has(e))return;let r=this.sections.get(e);if(r){r.mesh=n,r.geometry=t,(r.phase==="wireframe"||r.phase==="fade")&&this.finishSection(r);return}let s=performance.now();this.firstQueuedMs===null&&(this.firstQueuedMs=s);let a=this.globalWaveStarted;this.sections.set(e,{key:e,geometry:t,phase:"queued",phaseStartMs:s,revealAtMs:this.globalWaveStarted?s:0,wireframeMs:a?U4e:eJe,fadeMs:a?F4e:tJe,wireframeGroup:null,mesh:n,savedMaterial:null,pulseOffset:Math.random()*Math.PI*2}),n.visible=!1,this.setShaderMeshesVisible(e,!1),this.tryStartGlobalWave(s)}reset(){this.forceFinishAll(),this.sections.clear(),this.completed.clear(),this.globalWaveStarted=!1,this.globalWaveStartMs=0,this.finishedChunkCount=0,this.firstQueuedMs=null,this.pulseTime=0}forceFinishAll(){for(let e of[...this.sections.values()])this.finishSection(e);this.sections.clear(),this.unhideAllSectionMeshes()}tryStartGlobalWave(e){if(!this.globalWaveStarted&&this.sections.size!==0){if(this.finishedChunkCount>=JYe){this.startGlobalWave(e);return}this.worldRenderer.allChunksFinished&&this.startGlobalWave(e)}}startGlobalWave(e){if(this.globalWaveStarted)return;this.globalWaveStarted=!0,this.globalWaveStartMs=e;let t=this.worldRenderer.getCameraPosition(),n=1,r=new Map;for(let[s,a]of this.sections){if(a.phase!=="queued")continue;let{sx:o,sy:l,sz:c}=a.geometry,u=Math.hypot(o-t.x,l-t.y,c-t.z);r.set(s,u),n=Math.max(n,u)}for(let[,s]of this.sections){if(s.phase!=="queued")continue;let a=r.get(s.key)??0;s.revealAtMs=e+a/n*ZYe,s.wireframeMs=U4e,s.fadeMs=F4e}}beginWireframe(e,t){let n=e.mesh??this.getSectionMesh(e.key);if(e.mesh=n,!n){this.sections.delete(e.key);return}let r=this.createWireframeGeometry(e.geometry),s=new Kn(r,this.wireframeMaterial.clone());this.worldRenderer.sceneOrigin.track(s),s.position.set(e.geometry.sx,e.geometry.sy,e.geometry.sz),s.name="scifi-wireframe",s.renderOrder=1e3;let a=new Kn(r.clone(),this.wireframeGlowMaterial.clone());this.worldRenderer.sceneOrigin.track(a),a.position.copy(s.position),a.scale.setScalar(1.02),a.name="scifi-glow",a.renderOrder=999;let o=new bt;o.name="scifi-reveal-group",o.add(s,a),this.worldRenderer.realScene.add(o),n.visible=!1,this.setShaderMeshesVisible(e.key,!1),e.wireframeGroup=o,e.phase="wireframe",e.phaseStartMs=t}beginFade(e,t){let n=e.mesh??this.getSectionMesh(e.key);if(e.mesh=n,n){n.visible=!0;let r=n.material;if(!Array.isArray(r)&&r&&typeof r.clone=="function"){e.savedMaterial=r;let s=r.clone();s.transparent=!0,s.opacity=0,s.needsUpdate=!0,n.material=s}}this.setShaderMeshesVisible(e.key,!0),e.phase="fade",e.phaseStartMs=t}animateWireframe(e,t){if(!e.wireframeGroup)return;let n=e.wireframeGroup.children[0],r=e.wireframeGroup.children[1],s=.6+.4*Math.sin(this.pulseTime*4+e.pulseOffset);if(n?.material){let a=n.material;a.opacity=s;let o=.85+.15*Math.sin(this.pulseTime*6+t*.002);a.color.setRGB(13/255*o,234/255*o,238/255*o)}r?.material&&(r.material.opacity=s*.4)}animateFade(e,t){let n=1-(1-t)**3;if(e.wireframeGroup){let s=e.wireframeGroup.children[0],a=e.wireframeGroup.children[1];s?.material&&(s.material.opacity=1-n),a?.material&&(a.material.opacity=(1-n)*.55)}let r=e.mesh;r&&e.savedMaterial&&!Array.isArray(r.material)&&(r.material.opacity=n),this.setShaderMeshesVisible(e.key,n>.001)}finishSection(e){let t=e.mesh??this.getSectionMesh(e.key);if(t){if(e.savedMaterial){let r=t.material;t.material=e.savedMaterial,r.dispose(),e.savedMaterial=null}t.visible=!0}this.setShaderMeshesVisible(e.key,!0);let{chunkMeshManager:n}=this.worldRenderer;n.migrateDeferredShaderToGlobal(e.key),n.migrateDeferredLegacyToGlobal(e.key),e.wireframeGroup&&(this.disposeWireframeGroup(e.wireframeGroup),e.wireframeGroup=null),this.sections.delete(e.key),this.completed.add(e.key)}cancelSection(e,t){let n=this.sections.get(e);if(n){if(n.wireframeGroup&&this.disposeWireframeGroup(n.wireframeGroup),t){let r=n.mesh??this.getSectionMesh(e);if(r){if(n.savedMaterial){let s=r.material;r.material=n.savedMaterial,s.dispose()}r.visible=!0}this.setShaderMeshesVisible(e,!0)}this.sections.delete(e)}}getSectionMesh(e){let t=this.worldRenderer.chunkMeshManager.sectionObjects[e];if(!t)return null;let n=t.children.find(r=>r.name==="mesh");return n instanceof Ke?n:null}getShaderMesh(e){let t=this.worldRenderer.chunkMeshManager.sectionObjects[e];if(!t)return null;let n=t.children.find(r=>r.name==="shaderMesh");return n instanceof Ke?n:null}setShaderMeshesVisible(e,t){let n=this.getShaderMesh(e);n&&(n.visible=t)}unhideAllSectionMeshes(){for(let e of Object.values(this.worldRenderer.chunkMeshManager.sectionObjects))e&&e.traverse(t=>{t instanceof Ke&&(t.name==="mesh"||t.name==="shaderMesh")&&(t.visible=!0)})}disposeWireframeGroup(e){this.worldRenderer.sceneOrigin.removeAndUntrackAll(e),this.worldRenderer.realScene.remove(e),e.traverse(t=>{let n=t;n.geometry?.dispose();let r=n.material;Array.isArray(r)?r.forEach(s=>s.dispose()):r?.dispose()}),e.clear()}createWireframeGeometry(e){let t=e.positions,n=e.indices,r=[],s=new Set;for(let o=0;o<n.length;o+=3){let l=n[o],c=n[o+1],u=n[o+2];this.addEdge(t,l,c,r,s),this.addEdge(t,c,u,r,s),this.addEdge(t,u,l,r,s)}let a=new dt;return a.setAttribute("position",new Je(r,3)),a}addEdge(e,t,n,r,s){let a=Math.min(t,n),o=Math.max(t,n),l=`${a}-${o}`;s.has(l)||(s.add(l),r.push(e[t*3],e[t*3+1],e[t*3+2],e[n*3],e[n*3+1],e[n*3+2]))}},V4e={id:"futuristicReveal",controller:UP,enabledDefault:!0};h();p();m();Lt();var nJe=parseInt(Ma.replaceAll(/\D+/g,""),10),FP=class extends Xn{constructor(){super({uniforms:{time:{value:0},fade:{value:1}},vertexShader:`
|
|
29561
|
+
`,TP={u_atlas:{value:null},u_originDelta:{value:new X},u_cameraOriginFrac:{value:new X},u_skyLevel:{value:1},u_lightCurve:{value:Ri.curve},u_minBrightness:{value:Ri.minBrightness},u_lightGamma:{value:Ri.gamma}};function $_e(){return new Xn({vertexShader:kYe,fragmentShader:kP,uniforms:Gs.merge([at.fog,TP]),transparent:!0,depthWrite:!0,depthTest:!0,vertexColors:!0,glslVersion:Eo,fog:!0})}function Y_e(){return new Xn({vertexShader:X_e,fragmentShader:kP,uniforms:Gs.merge([at.fog,TP]),transparent:!1,depthWrite:!0,depthTest:!0,vertexColors:!0,glslVersion:Eo,fog:!0})}function J_e(){return new Xn({vertexShader:X_e,fragmentShader:kP,uniforms:Gs.merge([at.fog,TP]),transparent:!0,depthWrite:!0,depthTest:!0,vertexColors:!0,glslVersion:Eo,fog:!0})}function i9(i,e,t,n,r){let{originDelta:s,cameraOriginFrac:a}=$d(e,t,n,r),o=i.uniforms.u_originDelta;o?.value?.set&&o.value.set(s.x,s.y,s.z);let l=i.uniforms.u_cameraOriginFrac;l?.value?.set&&l.value.set(a.x,a.y,a.z)}function s9(i,e){let t=i.uniforms.u_skyLevel;t&&(t.value=e)}function a9(i,e){if(e.curve!==void 0){let t=i.uniforms.u_lightCurve;t&&(t.value=e.curve)}if(e.minBrightness!==void 0){let t=i.uniforms.u_minBrightness;t&&(t.value=e.minBrightness)}if(e.gamma!==void 0){let t=i.uniforms.u_lightGamma;t&&(t.value=e.gamma)}}h();p();m();var TYe=8,IYe=.01;function IP(i,e,t,n,r){i.matrix.makeTranslation(e-r.x,t-r.y,n-r.z),i.matrixWorldNeedsUpdate=!0,i.frustumCulled=!1}function o9(i,e,t,n,r,s,a,o,l,c){let u=i-n,d=e-r,f=t-s,v=TYe+IYe;return l.set(u-v,d-v,f-v),c.set(u+v,d+v,f+v),o.set(l,c),{visible:a.intersectsBox(o),distSq:u*u+d*d+f*f}}function K_e(i,e,t,n,r,s,a,o,l,c,u){let{visible:d,distSq:f}=o9(e,t,n,r,s,a,o,l,c,u);i.visible=d,i.renderOrder=-f}EP();h();p();m();Lt();h();p();m();h();p();m();h();p();m();Lt();h();p();m();function Q_e(){return{counts:new Int32Array(c0),offsets:new Int32Array(c0)}}function RYe(i,e){if(i.counts.length>=e)return;let t=i.counts.length;for(;t<e;)t*=2;i.counts=new Int32Array(t),i.offsets=new Int32Array(t)}function e4e(i){let e=i.getExtension("WEBGL_multi_draw");return e?{tier:"A",ext:e}:{tier:"B",ext:null}}var Z_e=!1;function t4e(i,e){Z_e||!e||(Z_e=!0,console.info("[globalLegacyBuffer] legacy multi_draw tier",i))}function n4e(i,e,t,n){let r=t.length;if(r===0)return;RYe(n,r);let s=i.TRIANGLES,a=i.UNSIGNED_INT;for(let o=0;o<r;o++){let l=t[o];n.counts[o]=l.indexCount,n.offsets[o]=l.indexStart*4}if(e.tier==="A"&&e.ext){e.ext.multiDrawElementsWEBGL(s,n.counts,0,a,n.offsets,0,r);return}for(let o=0;o<r;o++)i.drawElements(s,n.counts[o],a,n.offsets[o])}var Ci=4,Tr=6,Cn=3,Us=2,Ir=1,CYe=128e3,PYe=128e3,r4e=5e3,LYe=.25,i4e=Ci*(Cn*3+Ir*2+Us)*4+Tr*4,RP=.75,c0=64;function CP(i,e,t){for(let n of i)for(let r=n.start;r<n.start+n.count;r++){let s=!1;for(let a of e)if(r>=a.start&&r<a.start+a.count){s=!0;break}s||console.error("[GlobalLegacyBuffer] draw span covers non-live quad",{buffer:t,quad:r,span:n,liveRanges:e})}}function l9(i,e){if(e.length===0)return i;let t=[];for(let n of i){let r=[n];for(let s of e){let a=[];for(let o of r){let l=o.start+o.count-1;if(s.end<o.start||s.start>l){a.push(o);continue}s.start>o.start&&a.push({start:o.start,count:s.start-o.start}),s.end<l&&a.push({start:s.end+1,count:l-s.end})}r=a}t.push(...r)}return t.filter(n=>n.count>0)}var ug=class{mesh;material;growthIncrementQuads;capacityQuads;positions;colors;skyLights;blockLights;uvs;aOrigin;indices;sectionSlots=new Map;freeList=[];highWatermark=0;pendingRanges=[];_spanScratch=[];renderOrigin={x:0,y:0,z:0};layoutVersion=0;pendingMove=null;pendingReplace=new Map;uploadEpoch=0;visibleIndexSpans=[];_drawScratch=Q_e();multiDrawCaps=null;debugOverlay=!1;constructor(e,t,n){this.material=e,this.growthIncrementQuads=n?.growthIncrementQuads??PYe,this.capacityQuads=n?.initialCapacityQuads??CYe;let r=this.capacityQuads*Ci;this.positions=new Float32Array(r*Cn),this.colors=new Float32Array(r*Cn),this.skyLights=new Float32Array(r*Ir),this.blockLights=new Float32Array(r*Ir),this.uvs=new Float32Array(r*Us),this.aOrigin=new Float32Array(r*Cn),this.indices=new Uint32Array(this.capacityQuads*Tr);let s=new dt,a=(l,c,u)=>{let d=new Mt(l,c);return d.setUsage(So),s.setAttribute(u,d),d};a(this.positions,Cn,"position"),a(this.colors,Cn,"color"),a(this.skyLights,Ir,"a_skyLight"),a(this.blockLights,Ir,"a_blockLight"),a(this.uvs,Us,"uv"),a(this.aOrigin,Cn,"a_origin");let o=new Mt(this.indices,1);o.setUsage(So),s.setIndex(o),s.setDrawRange(0,0),s.boundingSphere=new Tn(new X,1/0),this.mesh=new Ke(s,[e]),this.mesh.name=n?.name??"globalLegacyOpaque",this.mesh.frustumCulled=!1,this.mesh.matrixAutoUpdate=!1,this.mesh.matrix.identity(),this.mesh.position.set(0,0,0),t.add(this.mesh),this.syncDefaultDrawGroups(),this.mesh.onAfterRender=(l,c,u,d,f)=>{if(this.visibleIndexSpans.length===0)return;let v=l.getContext();this.multiDrawCaps||(this.multiDrawCaps=e4e(v),t4e(this.multiDrawCaps.tier,this.debugOverlay)),n4e(v,this.multiDrawCaps,this.visibleIndexSpans,this._drawScratch)}}setDebugOverlay(e){this.debugOverlay=e}suppressThreeDraw(){this.mesh.geometry.setDrawRange(0,3)}setVisibleIndexSpans(e){this.visibleIndexSpans=e}getVisibleIndexSpans(){return this.visibleIndexSpans}syncDefaultDrawGroups(){let e=this.mesh.geometry;e.clearGroups();let t=this.highWatermark*Tr;t>0&&e.addGroup(0,t,0),e.setDrawRange(0,t)}addSection(e,t,n,r,s){let a=t.positions.length/Cn,o=a/Ci;if(a===0||o*Ci!==a)return this.removeSection(e),!1;if(t.indices.length%Tr!==0||t.indices.length/Tr!==o)return!1;let l=this.sectionSlots.has(e),c;if(l){let A=this.sectionSlots.get(e),T=this.pendingReplace.get(e),P=this.pendingMove?.key===e?this.pendingMove:void 0;T?(this.zeroAndFreeSlot(A.start,A.count),c={start:T.oldStart,count:T.oldCount},this.pendingReplace.delete(e)):P?(this.zeroAndFreeSlot(A.start,A.count),c={start:P.oldStart,count:P.count},this.pendingMove=null):c=A}o>this.capacityQuads&&this.growCapacity(o);let u=this.takeFreeSlot(o);u||(this.highWatermark+o>this.capacityQuads&&this.growCapacity(this.highWatermark+o),u={start:this.highWatermark,count:o},this.highWatermark+=o);let d=u.start*Ci,f=d*Cn,v=d*Us,g=d*Ir;this.positions.set(t.positions,f),this.colors.set(t.colors,f),this.skyLights.set(t.skyLights,g),this.blockLights.set(t.blockLights,g),this.uvs.set(t.uvs,v);let b=f,y=n-this.renderOrigin.x,_=r-this.renderOrigin.y,x=s-this.renderOrigin.z;for(let A=0;A<a;A++){let T=b+A*Cn;this.aOrigin[T]=y,this.aOrigin[T+1]=_,this.aOrigin[T+2]=x}let w=u.start*Tr,S=d;for(let A=0;A<t.indices.length;A++)this.indices[w+A]=t.indices[A]+S;return this.sectionSlots.set(e,u),l&&c&&this.pendingReplace.set(e,{oldStart:c.start,oldCount:c.count}),this.markDirty(u.start,u.start+o-1),this.syncDefaultDrawGroups(),this.layoutVersion++,!0}getLayoutVersion(){return this.layoutVersion}getUploadEpoch(){return this.uploadEpoch}hasPendingReplace(){return this.pendingReplace.size>0}canUseFullDrawShortcut(){return this.pendingRanges.length===0&&this.interiorFreeQuads()===0&&this.pendingMove===null&&this.pendingReplace.size===0}isRangeFullyUploaded(e,t){return this.rangeFullyUploaded(e,t)}getPendingDirtyRanges(){return this.pendingRanges}getSectionDrawStart(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.oldStart;let n=this.pendingReplace.get(e);if(n)return n.oldStart;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.start}getSectionDrawCount(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.count;let n=this.pendingReplace.get(e);if(n)return n.oldCount;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.count}getPendingMove(){return this.pendingMove}compactStep(){if(this.pendingMove){let{newStart:o,count:l}=this.pendingMove;this.rangeFullyUploaded(o,o+l-1)&&this.finalizePendingMove();return}for(let o of[...this.pendingReplace.keys()]){let l=this.sectionSlots.get(o);l&&this.rangeFullyUploaded(l.start,l.start+l.count-1)&&this.finalizePendingReplace(o)}if(this.highWatermark===0||this.interiorFreeQuads()/this.highWatermark<=LYe)return;let t=this.findMovableSection(r4e);if(!t)return;let n=this.findLowestInteriorHole(t.start,t.count);if(!n)return;let r=this.reserveFreeSlotAt(n.index,t.count),s=t.start,a=r.start;this.copySectionRange(s,a,t.count),this.sectionSlots.set(t.key,{start:a,count:t.count}),this.markDirty(a,a+t.count-1),this.pendingMove={key:t.key,oldStart:s,newStart:a,count:t.count},this.layoutVersion++}updateDrawSpans(e,t){if(this.visibleIndexSpans=[],this.highWatermark===0)return;let n=this._spanScratch;n.length=0;let r=0;for(let a of e){let o=this.getSectionDrawStart(a.key),l=this.getSectionDrawCount(a.key),c=this.sectionSlots.get(a.key);o===void 0||l===void 0||!c||(n.push({start:o,count:l}),r+=l)}if(n.length===0)return;let s=(a,o)=>{this.visibleIndexSpans.push({indexStart:a*Tr,indexCount:o*Tr})};if(t==="opaque"){let a,o=n.map(c=>({...c})),l=this.canUseFullDrawShortcut()&&r>=this.highWatermark*RP;l?a=[{start:0,count:this.highWatermark}]:(n.sort((c,u)=>c.start-u.start),this.mergeOpaqueSpans(n),a=n),a=l9(a,this.pendingRanges),l||CP(a,o,this.mesh.name);for(let c of a)s(c.start,c.count)}else{e.sort((a,o)=>o.distSq-a.distSq);for(let a of e){let o=this.getSectionDrawStart(a.key),l=this.getSectionDrawCount(a.key);o===void 0||l===void 0||s(o,l)}}}mergeOpaqueSpans(e){if(e.length<2)return;let t=0;for(;t<e.length-1;){let n=e[t],r=e[t+1];n.start+n.count===r.start?(n.count=r.start+r.count-n.start,e.splice(t+1,1)):t++}}hasSection(e){return this.sectionSlots.has(e)}getSectionSlot(e){return this.sectionSlots.get(e)}takeSectionData(e){let t=this.getSectionGeometryData(e);if(t)return this.removeSection(e),t}getSectionGeometryData(e){let t=this.sectionSlots.get(e);if(!t)return;let n=t.count*Ci,r=t.start*Ci,s=r*Cn,a=r*Us,o=t.start*Tr,l=t.count*Tr,c=r*Ir,u=this.positions.slice(s,s+n*Cn),d=this.colors.slice(s,s+n*Cn),f=this.skyLights.slice(c,c+n*Ir),v=this.blockLights.slice(c,c+n*Ir),g=this.uvs.slice(a,a+n*Us),b=this.indices.slice(o,o+l),y=r;for(let S=0;S<b.length;S++)b[S]=b[S]-y;let _=this.aOrigin[s]+this.renderOrigin.x,x=this.aOrigin[s+1]+this.renderOrigin.y,w=this.aOrigin[s+2]+this.renderOrigin.z;return{positions:u,colors:d,skyLights:f,blockLights:v,uvs:g,indices:b,sx:_,sy:x,sz:w}}removeSection(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingReplace.has(e)){let s=this.pendingReplace.get(e);this.zeroAndFreeSlot(s.oldStart,s.oldCount),this.pendingReplace.delete(e)}if(this.pendingMove?.key===e){let{oldStart:s,count:a}=this.pendingMove;this.zeroAndFreeSlot(s,a),this.pendingMove=null}let n=t.start*Tr,r=t.count*Tr;for(let s=0;s<r;s++)this.indices[n+s]=0;this.markDirty(t.start,t.start+t.count-1),this.sectionSlots.delete(e),this.insertFreeSlot(t),this.shrinkHighWatermark(),this.syncDefaultDrawGroups(),this.layoutVersion++}hasPendingUploads(){return this.pendingRanges.length>0}uploadDirtyRange(){let e=this.pendingRanges[0];if(!e)return;let t=e.start,n=Math.min(e.end-e.start+1,r4e),r=t*Ci,s=n*Ci,a=t*Tr,o=n*Tr,l=this.mesh.geometry,c=l.getAttribute("position");c.clearUpdateRanges(),c.addUpdateRange(r*Cn,s*Cn),c.needsUpdate=!0;let u=l.getAttribute("color");u.clearUpdateRanges(),u.addUpdateRange(r*Cn,s*Cn),u.needsUpdate=!0;let d=l.getAttribute("a_skyLight");d.clearUpdateRanges(),d.addUpdateRange(r*Ir,s*Ir),d.needsUpdate=!0;let f=l.getAttribute("a_blockLight");f.clearUpdateRanges(),f.addUpdateRange(r*Ir,s*Ir),f.needsUpdate=!0;let v=l.getAttribute("uv");v.clearUpdateRanges(),v.addUpdateRange(r*Us,s*Us),v.needsUpdate=!0;let g=l.getAttribute("a_origin");g.clearUpdateRanges(),g.addUpdateRange(r*Cn,s*Cn),g.needsUpdate=!0;let b=l.index;b.clearUpdateRanges(),b.addUpdateRange(a,o),b.needsUpdate=!0,t+n>e.end?this.pendingRanges.shift():e.start=t+n,this.uploadEpoch++}setRenderOrigin(e){this.renderOrigin={...e}}rebase(e){if(this.highWatermark!==0){for(let t of this.sectionSlots.values()){let n=t.start*Ci,r=t.count*Ci,s=n*Cn;for(let a=0;a<r;a++){let o=s+a*Cn;this.aOrigin[o]-=e.x,this.aOrigin[o+1]-=e.y,this.aOrigin[o+2]-=e.z}}this.markDirty(0,this.highWatermark-1),this.renderOrigin.x+=e.x,this.renderOrigin.y+=e.y,this.renderOrigin.z+=e.z}}setCameraOrigin(e,t,n){let{originDelta:r,cameraOriginFrac:s}=$d(this.renderOrigin,e,t,n),a=this.material.uniforms.u_originDelta;a?.value?.set&&a.value.set(r.x,r.y,r.z);let o=this.material.uniforms.u_cameraOriginFrac;o?.value?.set&&o.value.set(s.x,s.y,s.z)}getHighWatermark(){return this.highWatermark}getCapacityQuads(){return this.capacityQuads}getSectionCount(){return this.sectionSlots.size}getMemoryBytes(){return this.capacityQuads*i4e}getUsedMemoryBytes(){return this.highWatermark*i4e}reset(){this.sectionSlots.clear(),this.freeList.length=0,this.highWatermark=0,this.pendingRanges.length=0,this.pendingMove=null,this.pendingReplace.clear(),this.uploadEpoch=0,this.visibleIndexSpans=[],this.syncDefaultDrawGroups()}dispose(){this.mesh.parent?.remove(this.mesh),this.mesh.geometry.dispose(),this.reset()}markDirty(e,t){this.pendingRanges.push({start:e,end:t}),this.pendingRanges.sort((n,r)=>n.start-r.start),this.mergePendingRanges()}mergePendingRanges(){if(this.pendingRanges.length<2)return;let e=[],t=this.pendingRanges[0];for(let n=1;n<this.pendingRanges.length;n++){let r=this.pendingRanges[n];r.start<=t.end+1?t={start:t.start,end:Math.max(t.end,r.end)}:(e.push(t),t=r)}e.push(t),this.pendingRanges=e}takeFreeSlot(e){for(let t=0;t<this.freeList.length;t++){let n=this.freeList[t];if(n.count>=e){if(this.freeList.splice(t,1),n.count===e)return n;let r={start:n.start,count:e};return this.insertFreeSlot({start:n.start+e,count:n.count-e}),r}}}insertFreeSlot(e){this.freeList.push(e),this.freeList.sort((t,n)=>t.start-n.start),this.mergeFreeList()}mergeFreeList(){if(this.freeList.length<2)return;let e=[],t=this.freeList[0];for(let n=1;n<this.freeList.length;n++){let r=this.freeList[n];t.start+t.count===r.start?t={start:t.start,count:t.count+r.count}:(e.push(t),t=r)}e.push(t),this.freeList=e}shrinkHighWatermark(){for(;this.highWatermark>0;){let e=this.highWatermark-1,t=this.freeList.find(r=>r.start<=e&&r.start+r.count>e);if(!t||t.start+t.count!==this.highWatermark)break;this.highWatermark=t.start;let n=this.freeList.indexOf(t);this.freeList.splice(n,1)}}interiorFreeQuads(){let e=0;for(let t of this.freeList)t.start<this.highWatermark&&(e+=t.count);return e}findMovableSection(e){let t=[];for(let[s,a]of this.sectionSlots)t.push({key:s,start:a.start,count:a.count});if(t.length===0)return;t.sort((s,a)=>a.start!==s.start?a.start-s.start:a.start+a.count-(s.start+s.count));let n=t[0];if(n.count<=e&&this.findLowestInteriorHole(n.start,n.count))return n;let r=t.filter(s=>s.count<=e).sort((s,a)=>a.count-s.count);for(let s of r)if(this.findLowestInteriorHole(s.start,s.count))return s}findLowestInteriorHole(e,t){for(let n=0;n<this.freeList.length;n++){let r=this.freeList[n];if(r.start<e&&r.count>=t)return{start:r.start,count:r.count,index:n}}}reserveFreeSlotAt(e,t){let n=this.freeList[e];if(this.freeList.splice(e,1),n.count===t)return{start:n.start,count:t};let r={start:n.start,count:t};return this.insertFreeSlot({start:n.start+t,count:n.count-t}),r}copySectionRange(e,t,n){let r=e*Ci,s=t*Ci,a=n*Ci,o=s-r,l=r*Cn,c=s*Cn,u=a*Cn;this.positions.copyWithin(c,l,l+u),this.colors.copyWithin(c,l,l+u),this.aOrigin.copyWithin(c,l,l+u);let d=r*Ir,f=s*Ir,v=a*Ir;this.skyLights.copyWithin(f,d,d+v),this.blockLights.copyWithin(f,d,d+v);let g=r*Us,b=s*Us,y=a*Us;this.uvs.copyWithin(b,g,g+y);let _=e*Tr,x=t*Tr,w=n*Tr;for(let S=0;S<w;S++)this.indices[x+S]=this.indices[_+S]+o}rangeFullyUploaded(e,t){for(let n of this.pendingRanges)if(n.start<=t&&n.end>=e)return!1;return!0}zeroAndFreeSlot(e,t){let n=e*Tr,r=t*Tr;for(let s=0;s<r;s++)this.indices[n+s]=0;this.markDirty(e,e+t-1),this.insertFreeSlot({start:e,count:t})}finalizePendingReplace(e){let t=this.pendingReplace.get(e);t&&(this.zeroAndFreeSlot(t.oldStart,t.oldCount),this.pendingReplace.delete(e),this.shrinkHighWatermark(),this.syncDefaultDrawGroups(),this.layoutVersion++,this.uploadEpoch++)}finalizePendingMove(){let e=this.pendingMove;if(!e)return;let{oldStart:t,count:n}=e;this.zeroAndFreeSlot(t,n),this.shrinkHighWatermark(),this.syncDefaultDrawGroups(),this.pendingMove=null,this.layoutVersion++,this.uploadEpoch++}growCapacity(e){this.pendingMove&&this.finalizePendingMove();for(let y of[...this.pendingReplace.keys()])this.finalizePendingReplace(y);let t=this.capacityQuads;for(;t<e;)t+=this.growthIncrementQuads;let n=this.capacityQuads*Ci,r=t*Ci,s=new Float32Array(r*Cn),a=new Float32Array(r*Cn),o=new Float32Array(r*Ir),l=new Float32Array(r*Ir),c=new Float32Array(r*Us),u=new Float32Array(r*Cn),d=new Uint32Array(t*Tr);s.set(this.positions),a.set(this.colors),o.set(this.skyLights),l.set(this.blockLights),c.set(this.uvs),u.set(this.aOrigin),d.set(this.indices),this.positions=s,this.colors=a,this.skyLights=o,this.blockLights=l,this.uvs=c,this.aOrigin=u,this.indices=d,this.capacityQuads=t;let f=this.mesh.geometry,v=(y,_,x)=>{f.getAttribute(x)&&f.deleteAttribute(x);let S=new Mt(y,_);S.setUsage(So),f.setAttribute(x,S)};v(this.positions,Cn,"position"),v(this.colors,Cn,"color"),v(this.skyLights,Ir,"a_skyLight"),v(this.blockLights,Ir,"a_blockLight"),v(this.uvs,Us,"uv"),v(this.aOrigin,Cn,"a_origin"),f.index&&f.setIndex(null);let b=new Mt(this.indices,1);b.setUsage(So),f.setIndex(b),this.pendingRanges.length=0}};function BYe(i){if(i.length<2)return;let e=0;for(;e<i.length-1;){let t=i[e],n=i[e+1];t.start+t.count===n.start?(t.count=n.start+n.count-t.start,i.splice(e+1,1)):e++}}function s4e(i,e,t=!0,n,r=[]){if(i.length===0||e===0)return[];let s=0;for(let l of i)s+=l.count;let a;if(t&&s>=e*RP)a=[{start:0,count:e}];else{a=i.map(c=>({start:c.start,count:c.count})),a.sort((c,u)=>c.start-u.start);let l=a.map(c=>({...c}));return BYe(a),a=l9(a,r),CP(a,l,"globalBlockBuffer"),a}return l9(a,r)}Kc();function o4e(){return{firsts:new Int32Array(c0),counts:new Int32Array(c0),instanceCounts:new Int32Array(c0),baseInstances:new Int32Array(c0)}}function l4e(i){let e=i.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");if(e)return{tier:"A",ext:e};let t=i.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");return t?{tier:"B",ext:t}:{tier:"C",ext:null}}var a4e=!1;function c4e(i,e){a4e||!e||(a4e=!0,console.info("[globalBlockBuffer] cube multi_draw tier",i))}function u4e(i,e,t,n,r){let s=t.length;if(s===0)return;let a=i.TRIANGLES;if(e.tier==="A"&&e.ext){let o=e.ext;for(let l=0;l<s;l++){let c=t[l];n.firsts[l]=0,n.counts[l]=l0,n.instanceCounts[l]=c.count,n.baseInstances[l]=c.start}o.multiDrawArraysInstancedBaseInstanceWEBGL(a,n.firsts,0,n.counts,0,n.instanceCounts,0,n.baseInstances,0,s);return}if(e.tier==="B"&&e.ext){let o=e.ext;for(let l=0;l<s;l++){let c=t[l];o.drawArraysInstancedBaseInstanceWEBGL(a,0,l0,c.count,c.start)}return}r?.(i,t)}Kc();z5();var DYe=512e3,OYe=1e6,d4e=15e3,NYe=.25,dg=F_e(),f4e=16,c9=class{mesh;capacityFaces;w0;w1;w2;w3;sectionSlots=new Map;freeList=[];highWatermark=0;pendingRanges=[];pendingMove=null;pendingReplace=new Map;uploadEpoch=0;visibleSpans=[];_drawScratch=o4e();multiDrawCaps=null;tierCVao=null;tierCAttrs=null;tierCGl=null;debugOverlay=!1;layoutVersion=0;constructor(e,t){this.capacityFaces=DYe,this.w0=new Uint32Array(this.capacityFaces),this.w1=new Uint32Array(this.capacityFaces),this.w2=new Uint32Array(this.capacityFaces),this.w3=new Uint32Array(this.capacityFaces),this.w2.fill(dg);let n=new Sa,r=new Float32Array(l0*3);n.setAttribute("position",new Mt(r,3));let s=a=>{let o=new Ar(a,1);return o.setUsage(So),o};n.setAttribute("a_w0",s(this.w0)),n.setAttribute("a_w1",s(this.w1)),n.setAttribute("a_w2",s(this.w2)),n.setAttribute("a_w3",s(this.w3)),n.instanceCount=0,this.mesh=new Ke(n,e),this.mesh.name="globalShaderCubes",this.mesh.frustumCulled=!1,this.mesh.matrixAutoUpdate=!1,this.mesh.matrix.identity(),this.mesh.position.set(0,0,0),t.add(this.mesh),this.mesh.onAfterRender=(a,o,l,c,u)=>{if(this.visibleSpans.length===0)return;let d=u,f=a.getContext();this.multiDrawCaps||(this.multiDrawCaps=l4e(f),c4e(this.multiDrawCaps.tier,this.debugOverlay)),u4e(f,this.multiDrawCaps,this.visibleSpans,this._drawScratch,this.multiDrawCaps.tier==="C"?(v,g)=>this.drawTierCSpans(v,g,a,d):void 0)}}setDebugOverlay(e){this.debugOverlay=e}suppressThreeDraw(){let e=this.mesh.geometry;e.setDrawRange(0,l0),e.instanceCount=0}setVisibleSpans(e){this.visibleSpans=e}getVisibleSpans(){return this.visibleSpans}forEachSectionSlot(e){for(let[t,n]of this.sectionSlots)e(t,n)}getSectionDrawStart(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.oldStart;let n=this.pendingReplace.get(e);if(n)return n.oldStart;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.start}getSectionDrawCount(e){let t=this.sectionSlots.get(e);if(!t)return;if(this.pendingMove?.key===e)return this.pendingMove.count;let n=this.pendingReplace.get(e);if(n)return n.oldCount;if(this.rangeFullyUploaded(t.start,t.start+t.count-1))return t.count}getUploadEpoch(){return this.uploadEpoch}hasPendingReplace(){return this.pendingReplace.size>0}canUseFullDrawShortcut(){return this.pendingRanges.length===0&&this.interiorFreeFaces()===0&&this.pendingMove===null&&this.pendingReplace.size===0}isRangeFullyUploaded(e,t){return this.rangeFullyUploaded(e,t)}getPendingDirtyRanges(){return this.pendingRanges}getHighWatermark(){return this.highWatermark}getCapacityFaces(){return this.capacityFaces}getSectionCount(){return this.sectionSlots.size}getMemoryBytes(){return this.capacityFaces*f4e}getUsedMemoryBytes(){return this.highWatermark*f4e}hasPendingUploads(){return this.pendingRanges.length>0}getPendingMove(){return this.pendingMove}addSection(e,t,n){if(n<=0){this.removeSection(e);return}let r=this.sectionSlots.has(e),s;if(r){let l=this.sectionSlots.get(e),c=this.pendingReplace.get(e),u=this.pendingMove?.key===e?this.pendingMove:void 0;c?(this.zeroAndFreeSlot(l.start,l.count),s={start:c.oldStart,count:c.oldCount},this.pendingReplace.delete(e)):u?(this.zeroAndFreeSlot(l.start,l.count),s={start:u.oldStart,count:u.count},this.pendingMove=null):s=l}n>this.capacityFaces&&this.growCapacity(n);let a=this.takeFreeSlot(n);a||(this.highWatermark+n>this.capacityFaces&&this.growCapacity(this.highWatermark+n),a={start:this.highWatermark,count:n},this.highWatermark+=n);let o=4;for(let l=0;l<n;l++){let c=a.start+l,u=l*o;this.w0[c]=t[u],this.w1[c]=t[u+1],this.w2[c]=t[u+2],this.w3[c]=t[u+3]}this.sectionSlots.set(e,a),r&&s&&this.pendingReplace.set(e,{oldStart:s.start,oldCount:s.count}),this.markDirty(a.start,a.start+n-1),this.mesh.geometry.instanceCount=this.highWatermark,this.layoutVersion++}getLayoutVersion(){return this.layoutVersion}hasSection(e){return this.sectionSlots.has(e)}getSectionSlot(e){return this.sectionSlots.get(e)}getW0(){return this.w0}takeSectionData(e){let t=this.sectionSlots.get(e);if(!t)return;let n=4,r=new Uint32Array(t.count*n);for(let s=0;s<t.count;s++){let a=t.start+s,o=s*n;r[o]=this.w0[a],r[o+1]=this.w1[a],r[o+2]=this.w2[a],r[o+3]=this.w3[a]}return this.removeSection(e),{words:r,count:t.count}}removeSection(e){let t=this.sectionSlots.get(e);if(t){if(this.pendingReplace.has(e)){let n=this.pendingReplace.get(e);this.zeroAndFreeSlot(n.oldStart,n.oldCount),this.pendingReplace.delete(e)}if(this.pendingMove?.key===e){let{oldStart:n,count:r}=this.pendingMove;this.zeroAndFreeSlot(n,r),this.pendingMove=null}for(let n=t.start;n<t.start+t.count;n++)this.w0[n]=0,this.w1[n]=0,this.w2[n]=dg,this.w3[n]=0;this.markDirty(t.start,t.start+t.count-1),this.sectionSlots.delete(e),this.insertFreeSlot(t),this.shrinkHighWatermark(),this.mesh.geometry.instanceCount=this.highWatermark,this.layoutVersion++}}compactStep(){if(this.pendingMove){let{newStart:o,count:l}=this.pendingMove;this.rangeFullyUploaded(o,o+l-1)&&this.finalizePendingMove();return}for(let o of[...this.pendingReplace.keys()]){let l=this.sectionSlots.get(o);l&&this.rangeFullyUploaded(l.start,l.start+l.count-1)&&this.finalizePendingReplace(o)}if(this.highWatermark===0||this.interiorFreeFaces()/this.highWatermark<=NYe)return;let t=this.findMovableSection(d4e);if(!t)return;let n=this.findLowestInteriorHole(t.start,t.count);if(!n)return;let r=this.reserveFreeSlotAt(n.index,t.count),s=t.start,a=r.start;this.copySectionRange(s,a,t.count),this.sectionSlots.set(t.key,{start:a,count:t.count}),this.markDirty(a,a+t.count-1),this.pendingMove={key:t.key,oldStart:s,newStart:a,count:t.count},this.layoutVersion++}uploadDirtyRange(){let e=this.pendingRanges[0];if(!e)return;let t=e.start,n=Math.min(e.end-e.start+1,d4e),r=this.mesh.geometry;for(let s of["a_w0","a_w1","a_w2","a_w3"]){let a=r.getAttribute(s);a.clearUpdateRanges(),a.addUpdateRange(t,n),a.needsUpdate=!0}t+n>e.end?this.pendingRanges.shift():e.start=t+n,this.uploadEpoch++}setCameraOrigin(e,t,n,r){let{originDelta:s,cameraOriginFrac:a}=$d(e,t,n,r),o=Kb(e),l=this.mesh.material.uniforms.u_originDelta;l?.value?.set&&l.value.set(s.x,s.y,s.z);let c=this.mesh.material.uniforms.u_cameraOriginFrac;c?.value?.set&&c.value.set(a.x,a.y,a.z);let u=this.mesh.material.uniforms.u_sectionOriginRel;u?.value?.set&&u.value.set(o.x,o.y,o.z)}reset(){this.sectionSlots.clear(),this.freeList.length=0,this.highWatermark=0,this.pendingRanges.length=0,this.pendingMove=null,this.pendingReplace.clear(),this.uploadEpoch=0,this.visibleSpans=[],this.w0.fill(0),this.w1.fill(0),this.w2.fill(dg),this.w3.fill(0),this.mesh.geometry.instanceCount=0,this.invalidateTierCVao()}dispose(){this.invalidateTierCVao(),this.mesh.parent?.remove(this.mesh),this.mesh.geometry.dispose(),this.reset()}invalidateTierCVao(){this.tierCVao&&this.tierCGl&&this.tierCGl.deleteVertexArray(this.tierCVao),this.tierCVao=null,this.tierCAttrs=null}drawTierCSpans(e,t,n,r){if(this.ensureTierCVao(e,n,r),!this.tierCVao||!this.tierCAttrs)return;let s=this.tierCAttrs;e.bindVertexArray(this.tierCVao);for(let a of t){let o=a.start*4,l=c=>{e.bindBuffer(e.ARRAY_BUFFER,c.buffer),e.vertexAttribIPointer(c.loc,1,e.UNSIGNED_INT,4,o)};l(s.w0),l(s.w1),l(s.w2),l(s.w3),e.drawArraysInstanced(e.TRIANGLES,0,l0,a.count)}e.bindVertexArray(null)}ensureTierCVao(e,t,n){this.tierCGl=e;let a=t.properties.get(n).currentProgram.program,o=e.getAttribLocation(a,"a_w0"),l=e.getAttribLocation(a,"a_w1"),c=e.getAttribLocation(a,"a_w2"),u=e.getAttribLocation(a,"a_w3"),d=w=>w<0?null:e.getVertexAttrib(w,e.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING),f=d(o);if(this.tierCVao&&this.tierCAttrs&&f&&this.tierCAttrs.w0.buffer!==f&&this.invalidateTierCVao(),this.tierCVao)return;let v=d(o),g=d(l),b=d(c),y=d(u);if(!v||!g||!b||!y)return;let _=e.createVertexArray();if(!_)return;e.bindVertexArray(_);let x=(w,S)=>{e.enableVertexAttribArray(w),e.bindBuffer(e.ARRAY_BUFFER,S),e.vertexAttribIPointer(w,1,e.UNSIGNED_INT,4,0),e.vertexAttribDivisor(w,1)};x(o,v),x(l,g),x(c,b),x(u,y),e.bindVertexArray(null),this.tierCVao=_,this.tierCAttrs={w0:{loc:o,buffer:v},w1:{loc:l,buffer:g},w2:{loc:c,buffer:b},w3:{loc:u,buffer:y}}}markDirty(e,t){this.pendingRanges.push({start:e,end:t}),this.pendingRanges.sort((n,r)=>n.start-r.start),this.mergePendingRanges()}mergePendingRanges(){if(this.pendingRanges.length<2)return;let e=[],t=this.pendingRanges[0];for(let n=1;n<this.pendingRanges.length;n++){let r=this.pendingRanges[n];r.start<=t.end+1?t={start:t.start,end:Math.max(t.end,r.end)}:(e.push(t),t=r)}e.push(t),this.pendingRanges=e}takeFreeSlot(e){for(let t=0;t<this.freeList.length;t++){let n=this.freeList[t];if(n.count>=e){if(this.freeList.splice(t,1),n.count===e)return n;let r={start:n.start,count:e};return this.insertFreeSlot({start:n.start+e,count:n.count-e}),r}}}insertFreeSlot(e){this.freeList.push(e),this.freeList.sort((t,n)=>t.start-n.start),this.mergeFreeList()}mergeFreeList(){if(this.freeList.length<2)return;let e=[],t=this.freeList[0];for(let n=1;n<this.freeList.length;n++){let r=this.freeList[n];t.start+t.count===r.start?t={start:t.start,count:t.count+r.count}:(e.push(t),t=r)}e.push(t),this.freeList=e}interiorFreeFaces(){let e=0;for(let t of this.freeList)t.start<this.highWatermark&&(e+=t.count);return e}findMovableSection(e){let t=[];for(let[s,a]of this.sectionSlots)t.push({key:s,start:a.start,count:a.count});if(t.length===0)return;t.sort((s,a)=>a.start!==s.start?a.start-s.start:a.start+a.count-(s.start+s.count));let n=t[0];if(n.count<=e&&this.findLowestInteriorHole(n.start,n.count))return n;let r=t.filter(s=>s.count<=e).sort((s,a)=>a.count-s.count);for(let s of r)if(this.findLowestInteriorHole(s.start,s.count))return s}findLowestInteriorHole(e,t){for(let n=0;n<this.freeList.length;n++){let r=this.freeList[n];if(r.start<e&&r.count>=t)return{start:r.start,count:r.count,index:n}}}reserveFreeSlotAt(e,t){let n=this.freeList[e];if(this.freeList.splice(e,1),n.count===t)return{start:n.start,count:t};let r={start:n.start,count:t};return this.insertFreeSlot({start:n.start+t,count:n.count-t}),r}copySectionRange(e,t,n){this.w0.copyWithin(t,e,e+n),this.w1.copyWithin(t,e,e+n),this.w2.copyWithin(t,e,e+n),this.w3.copyWithin(t,e,e+n)}rangeFullyUploaded(e,t){for(let n of this.pendingRanges)if(n.start<=t&&n.end>=e)return!1;return!0}zeroAndFreeSlot(e,t){for(let n=e;n<e+t;n++)this.w0[n]=0,this.w1[n]=0,this.w2[n]=dg,this.w3[n]=0;this.markDirty(e,e+t-1),this.insertFreeSlot({start:e,count:t})}finalizePendingReplace(e){let t=this.pendingReplace.get(e);t&&(this.zeroAndFreeSlot(t.oldStart,t.oldCount),this.pendingReplace.delete(e),this.shrinkHighWatermark(),this.mesh.geometry.instanceCount=this.highWatermark,this.layoutVersion++,this.uploadEpoch++)}finalizePendingMove(){let e=this.pendingMove;if(!e)return;let{oldStart:t,count:n}=e;this.zeroAndFreeSlot(t,n),this.shrinkHighWatermark(),this.mesh.geometry.instanceCount=this.highWatermark,this.pendingMove=null,this.layoutVersion++,this.uploadEpoch++}shrinkHighWatermark(){for(;this.highWatermark>0;){let e=this.highWatermark-1,t=this.freeList.find(r=>r.start<=e&&r.start+r.count>e);if(!t||t.start+t.count!==this.highWatermark)break;this.highWatermark=t.start;let n=this.freeList.indexOf(t);this.freeList.splice(n,1)}}growCapacity(e){this.pendingMove&&this.finalizePendingMove();for(let c of[...this.pendingReplace.keys()])this.finalizePendingReplace(c);console.warn("[globalBlockBuffer] growing faces",this.capacityFaces,"->","(need",e,")");let t=this.capacityFaces;for(;t<e;)t+=OYe;console.warn("[globalBlockBuffer] growing faces",this.capacityFaces,"->",t);let n=new Uint32Array(t),r=new Uint32Array(t),s=new Uint32Array(t),a=new Uint32Array(t);n.set(this.w0),r.set(this.w1),s.set(this.w2),a.set(this.w3),s.fill(dg,this.w0.length),this.w0=n,this.w1=r,this.w2=s,this.w3=a,this.capacityFaces=t;let o=this.mesh.geometry,l=(c,u)=>{let d=o.getAttribute(u);d&&(o.deleteAttribute(u),"dispose"in d&&typeof d.dispose=="function"&&d.dispose());let f=new Ar(c,1);f.setUsage(So),o.setAttribute(u,f)};l(this.w0,"a_w0"),l(this.w1,"a_w1"),l(this.w2,"a_w2"),l(this.w3,"a_w3"),this.pendingRanges.length=0,this.invalidateTierCVao()}};h();p();m();z5();Kc();function h4e(i,e,t,n,r){if(e<=0)return;let s=t-8,a=n-8,o=r-8,l=t9,c=16,u=16,d=16,f=-1,v=-1,g=-1;for(let A=0;A<e;A++){let T=i[A*l],P=T&(1<<Xd.LX_BITS)-1,I=T>>Xd.LY_SHIFT&(1<<Xd.LY_BITS)-1,k=T>>Xd.LZ_SHIFT&(1<<Xd.LZ_BITS)-1;P<c&&(c=P),I<u&&(u=I),k<d&&(d=k),P>f&&(f=P),I>v&&(v=I),k>g&&(g=k)}if(f<0)return;let b=s+c,y=a+u,_=o+d,x=s+f+1,w=a+v+1,S=o+g+1;return{minX:b,minY:y,minZ:_,maxX:x,maxY:w,maxZ:S,cx:(b+x)*.5,cy:(y+w)*.5,cz:(_+S)*.5}}function UYe(i,e,t,n,r,s,a,o,l){return i>=n&&i<=a&&e>=r&&e<=o&&t>=s&&t<=l}function m4e(i,e,t,n,r,s,a,o,l,c,u,d,f){if(UYe(i,e,t,a,o,l,c,u,d))return;let v=0,g=f;if(Math.abs(n)<1e-8){if(i<a||i>c)return}else{let b=1/n,y=(a-i)*b,_=(c-i)*b;if(y>_){let x=y;y=_,_=x}if(v=Math.max(v,y),g=Math.min(g,_),v>g)return}if(Math.abs(r)<1e-8){if(e<o||e>u)return}else{let b=1/r,y=(o-e)*b,_=(u-e)*b;if(y>_){let x=y;y=_,_=x}if(v=Math.max(v,y),g=Math.min(g,_),v>g)return}if(Math.abs(s)<1e-8){if(t<l||t>d)return}else{let b=1/s,y=(l-t)*b,_=(d-t)*b;if(y>_){let x=y;y=_,_=x}if(v=Math.max(v,y),g=Math.min(g,_),v>g)return}return v<=g&&v>=0?v:void 0}function p4e(i,e,t,n,r,s,a,o,l,c,u,d,f){let v=f;if(Math.abs(n)>=1e-8){let g=n>0?(c-i)/n:(a-i)/n;g>1e-6&&(v=Math.min(v,g))}else if(i<a||i>c)return;if(Math.abs(r)>=1e-8){let g=r>0?(u-e)/r:(o-e)/r;g>1e-6&&(v=Math.min(v,g))}else if(e<o||e>u)return;if(Math.abs(s)>=1e-8){let g=s>0?(d-t)/s:(l-t)/s;g>1e-6&&(v=Math.min(v,g))}else if(t<l||t>d)return;return v<=f?v:void 0}h();p();m();Lt();h();p();m();$b();var u9=class{entries=new Set;skyLevel=1;lightmapParams={...Ri};register(e){this.entries.add(e),this.applyBrightness(e)}unregister(e){for(let t of this.entries)if(t.material===e){this.entries.delete(t);break}}setSkyLevel(e){this.skyLevel=e,this.refreshAll()}setLightmapParams(e){this.lightmapParams={...this.lightmapParams,...e},this.refreshAll()}getSkyLevel(){return this.skyLevel}refreshAll(){for(let e of this.entries)this.applyBrightness(e)}applyBrightness(e){let t=yP(e.blockLightNorm,e.skyLightNorm,this.skyLevel,this.lightmapParams);e.material.color.setScalar(t)}};function v4e(i,e,t,n,r=Ri){let s=yP(e,t,n,r);return i.color.setScalar(s),s}var g4e=20,_4e=40,FYe={white_banner:15,orange_banner:14,magenta_banner:13,light_blue_banner:12,yellow_banner:11,lime_banner:10,pink_banner:9,gray_banner:8,light_gray_banner:7,cyan_banner:6,purple_banner:5,blue_banner:4,brown_banner:3,green_banner:2,red_banner:1,black_banner:0},y4e={0:"#1d1d21",1:"#b02e26",2:"#5e7c16",3:"#835432",4:"#3c44aa",5:"#8932b8",6:"#169c9c",7:"#9d9d97",8:"#474f52",9:"#f38baa",10:"#80c71f",11:"#fed83d",12:"#3ab3da",13:"#c74ebd",14:"#f9801d",15:"#f9fffe"};function VYe(i){let e=i.replace("_wall_banner","_banner");return FYe[e]??15}var zYe=(i,e,t,n,r,s,a)=>{switch(i.fillStyle=t,e){case"bs":i.fillRect(n,r,s,a);break;case"ls":i.fillRect(n,r,s/3,a);break;case"rs":i.fillRect(n+s*2/3,r,s/3,a);break;case"ts":i.fillRect(n,r,s,a/3);break;case"ms":i.fillRect(n,r+a/3,s,a/3);break;case"drs":i.fillRect(n,r,s/2,a/2);break;case"dls":i.fillRect(n+s/2,r,s/2,a/2);break;case"ss":for(let o=0;o<s;o+=2)i.fillRect(n+o,r,1,a);break;case"cr":i.fillRect(n,r+a/3,s,a/3),i.fillRect(n+s/3,r,s/3,a);break;case"sc":i.fillRect(n,r+a/2-1,s,2),i.fillRect(n+s/2-1,r,2,a);break;default:i.fillRect(n,r,s,a)}};function HYe(i,e){if(!e||e.length===0)return`banner_${i}_empty`;let t=e.map(n=>`${n.Pattern??"bs"}_${n.Color??0}`).join(",");return`banner_${i}_${t}`}var qYe=(i,e,t=(n,r)=>yi(n,r))=>{let r=t(g4e*1,_4e*1),s=r.getContext("2d");if(!s){console.warn("Failed to get 2d context for banner rendering");return}if(s.imageSmoothingEnabled=!1,e?.Patterns&&e.Patterns.length>0)for(let a of e.Patterns){let o=a.Color??0,l=a.Pattern??"bs",c=y4e[o]||y4e[0];zYe(s,l,c,0,0,g4e*1,_4e*1)}return r},d9=new Map;function b4e(i,e,t){let n=VYe(e),r=HYe(n,t?.Patterns),s=d9.get(r);if(s)return s.refCount++,s.texture;let a=qYe(n,t);if(!a)return;let o=new sn(a);return o.magFilter=ct,o.minFilter=ct,o.needsUpdate=!0,d9.set(r,{texture:o,refCount:1}),o}function x4e(i){for(let[e,t]of d9.entries())if(t.texture===i){t.refCount--,t.refCount<=0&&(t.texture.dispose(),d9.delete(e));return}}function w4e(i,e,t,n,r=0,s=1,a=1){let u,d,f;t?(u=(-14.6+13.4)/2/16-.5,d=1-14.75/16-.5,f=1/2):(u=(1.4+29.4)/2/16,d=1-7.25/16-.5,f=0);let v=new _t({map:n,transparent:!0});v4e(v,r,s,a);let g=new Ke(new zn(.85,1.75),v);g.renderOrder=999;let b=.5/16,y=.25/16;t?g.position.set(0,u,d+y+.004):g.position.set(0,u,d+b/2+.004);let _=new bt;return _.rotation.set(0,-Ot.degToRad(e*(t?90:45/2)),0),_.add(g),_.bannerTexture=n,_.bannerMaterial=v,_.position.set(i.x+.5,i.y+f,i.z+.5),_}h();p();m();Lt();var S4e=Yr(V8(),1);var H5=new Map;function GYe(i,e,t){let n,r;return i&&"front_text"in i?(n=i.front_text?.messages??[],r=i.front_text?.color||"black"):(n=[i?.Text1,i?.Text2,i?.Text3,i?.Text4],r=i?.Color||"black"),`${e?1:0}|${t?1:0}|${r}|${n.join("\0")}`}function E4e(i,e,t,n=!1){let r=GYe(e,t,n),s=H5.get(r);if(s)return s.refCount++,s.texture;let a=(0,S4e.default)(i.version),o=k6e(e,t,a);if(!o)return;let l=new sn(o);return l.magFilter=ct,l.minFilter=ct,l.needsUpdate=!0,H5.set(r,{texture:l,refCount:1}),l}function M4e(i){for(let[e,t]of H5.entries())if(t.texture===i){t.refCount--,t.refCount<=0&&(t.texture.dispose(),H5.delete(e));return}}function A4e(){for(let[,i]of H5)i.texture.dispose();H5.clear()}var ro=class ro{constructor(e,t,n,r,s=3){this.worldRenderer=e;this.scene=t;this.material=n;this.worldHeight=r;this.updateViewDistance(s),this.signHeadsRenderer=new PP(e),this.initializePool()}renderOrigin={x:0,y:0,z:0};meshPool=[];activeSections=new Map;sectionObjects={};waitingChunksToDisplay={};pendingNearReveal=new Map;nearRevealTimers=new Map;nearRevealGraceTimers=new Map;poolSize;maxPoolSize;minPoolSize;signHeadsRenderer;blockEntityLightRegistry=new u9;chunkBoxMaterial=new _t({color:0,transparent:!0,opacity:0});cubeShaderMaterial=null;legacyShaderMaterial=null;globalLegacyShaderMaterial=null;globalLegacyBlendShaderMaterial=null;_legacyCullFrustum=new va;_legacyCullProjScreen=new Et;_legacyCullBox=new kn;_legacyCullBoxMin=new X;_legacyCullBoxMax=new X;_visibleSectionSpans=[];legacyCullSections=new Map;_lastCullFingerprint="";lastBufferStateKey="";cullDirty=!0;_lastCullCamPos=new X;_lastCullCamQuat=new qt;_cullViewQuat=new qt;_cullCamInitialized=!1;globalBlockBuffer=null;globalLegacyBuffer=null;globalLegacyBlendBuffer=null;shaderSectionRaycastBoxes=new Map;hits=0;misses=0;bypassPooling=!1;renderTimes=[];maxRenderTimeSamples=30;_performanceOverrideDistance;lastPerformanceCheck=0;performanceCheckInterval=2e3;get performanceOverrideDistance(){return this._performanceOverrideDistance??0}set performanceOverrideDistance(e){this._performanceOverrideDistance=e,this.updateSectionsVisibility()}initializePool(){for(let e=0;e<this.poolSize;e++){let t=new dt,n=new Ke(t,this.getLegacyShaderMaterial());n.visible=!1,n.matrixAutoUpdate=!1,n.name="pooled-section-mesh";let r={mesh:n,inUse:!1,lastUsedTime:0};this.meshPool.push(r)}}sectionHasRenderableContent(e){return e.positions.length>0||(e.blend?.positions.length??0)>0?!0:this.isShaderCubesGpuEnabled()?(e.shaderCubes?.count??0)>0:!1}isShaderCubesGpuEnabled(){return this.worldRenderer.shaderCubeBlocksEnabled()}syncCubeShaderUniforms(){if(!this.isShaderCubesGpuEnabled())return;let e=this.cubeShaderMaterial??this.getCubeShaderMaterial();if(!e)return;let t=this.material.map??null;e.uniforms.u_atlas.value=t;let n=n9();if(!n)return;let{tintPalette:r}=n;r.isReady()||r.createTexture(),e.uniforms.u_tintPalette.value=r.getTexture(),e.uniforms.u_debugMode.value=this.worldRenderer.worldRendererConfig.shaderCubeDebugMode??0,e.needsUpdate=!0}syncLegacyShaderUniforms(){let e=this.material.map??null;this.legacyShaderMaterial&&(this.legacyShaderMaterial.uniforms.u_atlas.value=e,this.legacyShaderMaterial.needsUpdate=!0),this.globalLegacyShaderMaterial&&(this.globalLegacyShaderMaterial.uniforms.u_atlas.value=e,this.globalLegacyShaderMaterial.needsUpdate=!0),this.globalLegacyBlendShaderMaterial&&(this.globalLegacyBlendShaderMaterial.uniforms.u_atlas.value=e,this.globalLegacyBlendShaderMaterial.needsUpdate=!0)}setSkyLevel(e){let t=this.cubeShaderMaterial??(this.isShaderCubesGpuEnabled()?this.getCubeShaderMaterial():null);t&&Jb(t,e),this.legacyShaderMaterial&&s9(this.legacyShaderMaterial,e),this.globalLegacyShaderMaterial&&s9(this.globalLegacyShaderMaterial,e),this.globalLegacyBlendShaderMaterial&&s9(this.globalLegacyBlendShaderMaterial,e),this.blockEntityLightRegistry.setSkyLevel(e)}setShadingTheme(e,t){let n=this.cubeShaderMaterial??(this.isShaderCubesGpuEnabled()?this.getCubeShaderMaterial():null);n&&bP(n,e,t)}setBlockLightmapParams(e){let t=this.cubeShaderMaterial??(this.isShaderCubesGpuEnabled()?this.getCubeShaderMaterial():null);t&&B_e(t,e),this.legacyShaderMaterial&&a9(this.legacyShaderMaterial,e),this.globalLegacyShaderMaterial&&a9(this.globalLegacyShaderMaterial,e),this.globalLegacyBlendShaderMaterial&&a9(this.globalLegacyBlendShaderMaterial,e),this.blockEntityLightRegistry.setLightmapParams(e)}getLegacyShaderMaterial(){return this.legacyShaderMaterial||(this.legacyShaderMaterial=$_e(),this.syncLegacyShaderUniforms()),this.legacyShaderMaterial}getGlobalLegacyShaderMaterial(){return this.globalLegacyShaderMaterial||(this.globalLegacyShaderMaterial=Y_e(),this.syncLegacyShaderUniforms()),this.globalLegacyShaderMaterial}getGlobalLegacyBuffer(){return this.globalLegacyBuffer||(this.globalLegacyBuffer=new ug(this.getGlobalLegacyShaderMaterial(),this.scene),this.globalLegacyBuffer.setRenderOrigin(this.renderOrigin)),this.globalLegacyBuffer}getGlobalLegacyBlendShaderMaterial(){return this.globalLegacyBlendShaderMaterial||(this.globalLegacyBlendShaderMaterial=J_e(),this.syncLegacyShaderUniforms()),this.globalLegacyBlendShaderMaterial}getGlobalLegacyBlendBuffer(){return this.globalLegacyBlendBuffer||(this.globalLegacyBlendBuffer=new ug(this.getGlobalLegacyBlendShaderMaterial(),this.scene,{name:"globalLegacyBlend",initialCapacityQuads:32e3,growthIncrementQuads:32e3}),this.globalLegacyBlendBuffer.setRenderOrigin(this.renderOrigin)),this.globalLegacyBlendBuffer}getRenderOrigin(){return this.renderOrigin}maybeRebase(e){let t=this.renderOrigin;if(Math.abs(e.x-t.x)<=ro.REBASE_THRESHOLD&&Math.abs(e.y-t.y)<=ro.REBASE_THRESHOLD&&Math.abs(e.z-t.z)<=ro.REBASE_THRESHOLD)return;let n={x:Math.round(e.x/16)*16,y:Math.round(e.y/16)*16,z:Math.round(e.z/16)*16},r={x:n.x-t.x,y:n.y-t.y,z:n.z-t.z};this.globalLegacyBuffer?.rebase(r),this.globalLegacyBlendBuffer?.rebase(r);for(let s of this.activeSections.values()){let a=s.sectionKey;if(!a)continue;let o=this.sectionObjects[a];o&&IP(s.mesh,o.worldX??0,o.worldY??0,o.worldZ??0,n)}this.renderOrigin=n,this.globalLegacyBuffer?.setRenderOrigin(n),this.globalLegacyBlendBuffer?.setRenderOrigin(n)}sectionUsesPooledLegacyMesh(e){return this.activeSections.has(e)}registerLegacyCullSection(e,t,n,r){this.legacyCullSections.set(e,{worldX:t,worldY:n,worldZ:r})}maybeUnregisterLegacyCullSection(e){let t=this.globalLegacyBuffer?.hasSection(e)??!1,n=this.globalLegacyBlendBuffer?.hasSection(e)??!1;!t&&!n&&this.legacyCullSections.delete(e)}updatePooledLegacyCullState(e,t,n){for(let r of this.activeSections.values()){let s=r.sectionKey;if(!s)continue;let a=this.sectionObjects[s];a&&K_e(r.mesh,a.worldX??0,a.worldY??0,a.worldZ??0,e,t,n,this._legacyCullFrustum,this._legacyCullBox,this._legacyCullBoxMin,this._legacyCullBoxMax)}}updateSectionCullAndSort(e,t,n,r){this._legacyCullProjScreen.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._legacyCullFrustum.setFromProjectionMatrix(this._legacyCullProjScreen);let s=this._visibleSectionSpans;s.length=0;for(let[b]of this.legacyCullSections){let y=this.sectionObjects[b];if(!y?.visible||y.worldX===void 0)continue;let{visible:_,distSq:x}=o9(y.worldX,y.worldY??0,y.worldZ??0,t,n,r,this._legacyCullFrustum,this._legacyCullBox,this._legacyCullBoxMin,this._legacyCullBoxMax);_&&s.push({key:b,distSq:x})}let a=this.globalLegacyBuffer,o=this.globalLegacyBlendBuffer,l=this.globalBlockBuffer,c=[];for(let b of s)a?.hasSection(b.key)&&c.push(b.key);c.sort();let u=s.filter(b=>o?.hasSection(b.key));u.sort((b,y)=>y.distSq-b.distSq);let d=u.map(b=>b.key),f=[],v=[];l&&l.forEachSectionSlot((b,y)=>{if(!this.sectionObjects[b]?.visible)return;let x=this.shaderSectionRaycastBoxes.get(b);if(!x)return;let{visible:w}=o9(x.sectionCenterX,x.sectionCenterY,x.sectionCenterZ,t,n,r,this._legacyCullFrustum,this._legacyCullBox,this._legacyCullBoxMin,this._legacyCullBoxMax);if(!w)return;f.push(b);let S=l.getSectionDrawStart(b),A=l.getSectionDrawCount(b);S!==void 0&&A!==void 0&&v.push({start:S,count:A})}),f.sort();let g=[c.join(","),d.join(","),f.join(","),a?.getLayoutVersion()??0,o?.getLayoutVersion()??0,l?.getLayoutVersion()??0,a?.getUploadEpoch()??0,o?.getUploadEpoch()??0,l?.getUploadEpoch()??0].join("|");if(g===this._lastCullFingerprint&&!this.hasPendingBufferWork()){this.updatePooledLegacyCullState(t,n,r);return}if(this._lastCullFingerprint=g,a?.updateDrawSpans(s,"opaque"),o?.updateDrawSpans(s,"sortedBlend"),l){let b=s4e(v,l.getHighWatermark(),l.canUseFullDrawShortcut(),(y,_)=>l.isRangeFullyUploaded(y,_),l.getPendingDirtyRanges());l.setVisibleSpans(b)}this.lastBufferStateKey=this.bufferStateKey(),this.updatePooledLegacyCullState(t,n,r)}bufferStateKey(){let e=this.globalBlockBuffer,t=this.globalLegacyBuffer,n=this.globalLegacyBlendBuffer;return[t?.getLayoutVersion()??0,t?.getUploadEpoch()??0,n?.getLayoutVersion()??0,n?.getUploadEpoch()??0,e?.getLayoutVersion()??0,e?.getUploadEpoch()??0].join("|")}markCullDirtyIfBufferStateChanged(){this.bufferStateKey()!==this.lastBufferStateKey&&this.markCullDirty()}markCullDirty(){this.cullDirty=!0}hasPendingBufferWork(){return[this.globalLegacyBuffer,this.globalLegacyBlendBuffer,this.globalBlockBuffer].some(t=>t!=null&&(t.hasPendingUploads()||t.hasPendingReplace()||t.getPendingMove()!=null))}updateCullDirtyFromCamera(e,t,n,r){if(e.getWorldQuaternion(this._cullViewQuat),!this._cullCamInitialized){this._lastCullCamPos.set(t,n,r),this._lastCullCamQuat.copy(this._cullViewQuat),this._cullCamInitialized=!0,this.cullDirty=!0;return}let s=this._lastCullCamPos.x!==t||this._lastCullCamPos.y!==n||this._lastCullCamPos.z!==r,a=this._lastCullCamQuat.x!==this._cullViewQuat.x||this._lastCullCamQuat.y!==this._cullViewQuat.y||this._lastCullCamQuat.z!==this._cullViewQuat.z||this._lastCullCamQuat.w!==this._cullViewQuat.w;(s||a)&&(this._lastCullCamPos.set(t,n,r),this._lastCullCamQuat.copy(this._cullViewQuat),this.markCullDirty())}clearCullDirty(){this.cullDirty=!1}setLegacyCameraOrigin(e,t,n){let r=this.renderOrigin;i9(this.getLegacyShaderMaterial(),r,e,t,n),i9(this.getGlobalLegacyShaderMaterial(),r,e,t,n),i9(this.getGlobalLegacyBlendShaderMaterial(),r,e,t,n),this.globalLegacyBuffer?.setCameraOrigin(e,t,n),this.globalLegacyBlendBuffer?.setCameraOrigin(e,t,n);let s=this.cubeShaderMaterial;if(s){let{originDelta:a,cameraOriginFrac:o}=$d(r,e,t,n),l=Kb(r),c=s.uniforms.u_originDelta;c?.value?.set&&c.value.set(a.x,a.y,a.z);let u=s.uniforms.u_cameraOriginFrac;u?.value?.set&&u.value.set(o.x,o.y,o.z);let d=s.uniforms.u_sectionOriginRel;d?.value?.set&&d.value.set(l.x,l.y,l.z)}}getCubeShaderMaterial(){if(!this.isShaderCubesGpuEnabled())return null;if(!this.cubeShaderMaterial){this.cubeShaderMaterial=Yb(),this.syncCubeShaderUniforms();let e=this.worldRenderer.worldRendererConfig;bP(this.cubeShaderMaterial,e.shadingTheme,e.cardinalLight)}return this.cubeShaderMaterial}getGlobalBlockBuffer(){let e=this.getCubeShaderMaterial();return e?(this.globalBlockBuffer||(this.globalBlockBuffer=new c9(e,this.scene)),this.globalBlockBuffer):null}shouldDeferLegacyOpaqueToPerSection(e){return this.shouldDeferShaderToPerSection(e)}shouldDeferShaderToPerSection(e){return this.worldRenderer.getModule("futuristicReveal")?.shouldDeferSectionGeometry?.(e)===!0}migrateDeferredShaderToGlobal(e){let t=this.sectionObjects[e];if(!t?.deferredShaderCubes)return;let{words:n,count:r}=t.deferredShaderCubes,s=t.worldX,a=t.worldY,o=t.worldZ;s!==void 0&&a!==void 0&&o!==void 0&&this.registerShaderSectionRaycastBox(e,n,r,s,a,o),this.getGlobalBlockBuffer()?.addSection(e,n,r),this.markCullDirty();let c=t.mesh===t.shaderMesh;t.shaderMesh&&(SP(t.shaderMesh),t.remove(t.shaderMesh),t.shaderMesh=void 0),delete t.deferredShaderCubes,c&&(t.mesh=void 0)}migrateDeferredLegacyToGlobal(e){let t=this.sectionObjects[e];if(t){if(t.deferredLegacyOpaque){let{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l}=t.deferredLegacyOpaque,c=t.worldX,u=t.worldY,d=t.worldZ;c!==void 0&&u!==void 0&&d!==void 0&&this.getGlobalLegacyBuffer().addSection(e,{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l},c,u,d)&&this.registerLegacyCullSection(e,c,u,d),delete t.deferredLegacyOpaque}if(t.deferredLegacyBlend){let{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l}=t.deferredLegacyBlend,c=t.worldX,u=t.worldY,d=t.worldZ;c!==void 0&&u!==void 0&&d!==void 0&&this.getGlobalLegacyBlendBuffer().addSection(e,{positions:n,colors:r,skyLights:s,blockLights:a,uvs:o,indices:l},c,u,d)&&this.registerLegacyCullSection(e,c,u,d),delete t.deferredLegacyBlend,t.hasBlendMesh=!1}if(!t.hasBlendMesh){let n=t.mesh===this.activeSections.get(e)?.mesh;this.releasePooledMesh(e),n&&(t.mesh=t.shaderMesh??void 0)}this.markCullDirty()}}registerShaderSectionRaycastBox(e,t,n,r,s,a){let o=h4e(t,n,r,s,a);o?this.shaderSectionRaycastBoxes.set(e,{box:o,sectionCenterX:r,sectionCenterY:s,sectionCenterZ:a}):this.shaderSectionRaycastBoxes.delete(e)}unregisterShaderSectionRaycastBox(e){this.shaderSectionRaycastBoxes.delete(e)}uploadLegacyPooledMesh(e,t,n,r,s){let{mesh:a}=e,o=t;return this.updateGeometryAttribute(a.geometry,"position",o.positions,3),this.updateGeometryAttribute(a.geometry,"normal",o.normals,3),this.updateGeometryAttribute(a.geometry,"color",o.colors,3),this.updateGeometryAttribute(a.geometry,"a_skyLight",o.skyLights,1),this.updateGeometryAttribute(a.geometry,"a_blockLight",o.blockLights,1),this.updateGeometryAttribute(a.geometry,"uv",o.uvs,2),a.geometry.index=new Mt(o.indices,1),a.geometry.boundingBox=new kn(new X(-8,-8,-8),new X(8,8,8)),a.geometry.boundingSphere=new Tn(new X(0,0,0),Math.sqrt(3*8**2)),IP(a,n,r,s,this.renderOrigin),a.visible=!1,a.name="mesh",e.lastUsedTime=performance.now(),a}acquirePooledSectionMesh(e){let t=this.activeSections.get(e);if(!t){if(t=this.acquireMesh(),!t)return console.warn(`ChunkMeshManager: No available mesh in pool for section ${e}`),null;this.activeSections.set(e,t),t.sectionKey=e}return t}updateSection(e,t){let n=t.positions.length>0,r=(t.blend?.positions.length??0)>0,s=n||r,a=t.shaderCubes,o=this.isShaderCubesGpuEnabled()&&(a?.count??0)>0,l=n&&this.shouldDeferLegacyOpaqueToPerSection(e),c=r&&this.shouldDeferLegacyOpaqueToPerSection(e),u=o&&this.shouldDeferShaderToPerSection(e),d=n&&!l,f=r&&!c,v=o&&!!a&&!u;if(!s&&!o)return this.releaseSection(e),null;let g=this.sectionObjects[e],b=g!=null;g&&this.cleanupSection(e,{forRemesh:!0}),b&&(v||this.globalBlockBuffer?.removeSection(e),d||this.globalLegacyBuffer?.removeSection(e),f||this.globalLegacyBlendBuffer?.removeSection(e),o&&a||this.unregisterShaderSectionRaycastBox(e),!d&&!f&&this.maybeUnregisterLegacyCullSection(e)),r||this.releasePooledMesh(e);let y,_,x,w=!1;if(n){let B={positions:t.positions,colors:t.colors,skyLights:t.skyLights,blockLights:t.blockLights,uvs:t.uvs,indices:t.indices};if(l){if(_={positions:new Float32Array(B.positions),colors:new Float32Array(B.colors),skyLights:new Float32Array(B.skyLights),blockLights:new Float32Array(B.blockLights),uvs:new Float32Array(B.uvs),indices:B.indices instanceof Uint32Array?new Uint32Array(B.indices):new Uint16Array(B.indices)},!r){let U=this.acquirePooledSectionMesh(e);if(!U)return null;y=this.uploadLegacyPooledMesh(U,t,t.sx,t.sy,t.sz)}}else if(this.getGlobalLegacyBuffer().addSection(e,B,t.sx,t.sy,t.sz))this.registerLegacyCullSection(e,t.sx,t.sy,t.sz);else{let O=this.acquirePooledSectionMesh(e);if(!O)return null;y=this.uploadLegacyPooledMesh(O,t,t.sx,t.sy,t.sz)}}if(r&&t.blend){let B={positions:t.blend.positions,colors:t.blend.colors,skyLights:t.blend.skyLights,blockLights:t.blend.blockLights,uvs:t.blend.uvs,indices:t.blend.indices};if(c){x={positions:new Float32Array(B.positions),colors:new Float32Array(B.colors),skyLights:new Float32Array(B.skyLights),blockLights:new Float32Array(B.blockLights),uvs:new Float32Array(B.uvs),indices:B.indices instanceof Uint32Array?new Uint32Array(B.indices):new Uint16Array(B.indices)};let U=this.acquirePooledSectionMesh(e);if(!U)return null;let O=this.uploadLegacyPooledMesh(U,t.blend,t.sx,t.sy,t.sz);y=y??O,w=!0}else if(this.getGlobalLegacyBlendBuffer().addSection(e,B,t.sx,t.sy,t.sz))this.registerLegacyCullSection(e,t.sx,t.sy,t.sz);else{console.warn(`ChunkMeshManager: blend invariant violation for section ${e}, using pooled mesh fallback`);let O=this.acquirePooledSectionMesh(e);if(!O)return null;let V=this.uploadLegacyPooledMesh(O,t.blend,t.sx,t.sy,t.sz);y=y??V,w=!0}}let S=o?this.getCubeShaderMaterial():null,A;o&&a&&(u&&S?(A=r9(a,S),A.visible=!0):this.getGlobalBlockBuffer()?.addSection(e,a.words,a.count)),g=new bt,y&&(g.add(y),g.mesh=y),A&&(g.add(A),g.shaderMesh=A,a&&(g.deferredShaderCubes={words:a.words,count:a.count}),g.mesh||(g.mesh=A)),_&&(g.deferredLegacyOpaque=_),x&&(g.deferredLegacyBlend=x),o&&a&&this.registerShaderSectionRaycastBox(e,a.words,a.count,t.sx,t.sy,t.sz);let T=0;n&&(T+=t.positions.length/3/4),r&&t.blend&&(T+=t.blend.positions.length/3/4),o&&a&&(T+=a.count),g.tilesCount=T,g.hasBlendMesh=w,g.blocksCount=t.blocksCount,g.worldX=t.sx,g.worldY=t.sy,g.worldZ=t.sz,g.sectionKey=e,g.name="chunk";try{if(Object.keys(t.signs).length>0){let B=new bt;B.name="signs";for(let[U,{isWall:O,isHanging:V,rotation:F}]of Object.entries(t.signs)){let J=this.worldRenderer.blockEntities[U];if(!J)continue;let[$,ne,se]=U.split(","),j=this.signHeadsRenderer.renderSign(new kt(+$,+ne,+se),F,O,V,f9.simplify(J));j&&B.add(j)}g.add(B),g.signsContainer=B}if(Object.keys(t.heads).length>0){let B=new bt;B.name="heads";for(let[U,{isWall:O,rotation:V}]of Object.entries(t.heads)){let F=this.worldRenderer.blockEntities[U];if(!F)continue;let[J,$,ne]=U.split(","),se=this.signHeadsRenderer.renderHead(new kt(+J,+$,+ne),V,O,f9.simplify(F));se&&B.add(se)}g.add(B),g.headsContainer=B}if(Object.keys(t.banners).length>0){let B=new bt;B.name="banners",g.bannersContainer=B,g.add(B);for(let[U,O]of Object.entries(t.banners)){let{isWall:V,rotation:F,blockName:J,blockLightNorm:$=0,skyLightNorm:ne=1}=O,se=this.worldRenderer.blockEntities[U];if(!se)continue;let[j,q,z]=U.split(","),K=b4e(this.worldRenderer,J,f9.simplify(se));if(!K)continue;let re=this.blockEntityLightRegistry.getSkyLevel(),Z=w4e(new kt(+j,+q,+z),F,V,K,$,ne,re);Z.bannerMaterial&&this.blockEntityLightRegistry.register({material:Z.bannerMaterial,blockLightNorm:$,skyLightNorm:ne});let{x:Y,y:Q,z:ue}=Z.position;this.worldRenderer.sceneOrigin.track(Z),Z.position.set(Y,Q,ue),B.add(Z)}}}catch(B){console.error("ChunkMeshManager: Error adding signs, heads, or banners to section",B)}this.sectionObjects[e]=g,this.scene.add(g),g.matrixAutoUpdate=!1,this.worldRenderer.displayOptions?.inWorldRenderingConfig?.showChunkBorders&&this.updateBoxHelper(e,!0);let P=e.split(","),I=`${P[0]},${P[2]}`,k=!!this.worldRenderer.displayOptions?.inWorldRenderingConfig?._renderByChunks,L=!!this.worldRenderer.worldRendererConfig?.wasmMesher;if((k||L)&&!this.worldRenderer.finishedChunks[I]){g.visible=!1,g._waitingForChunkDisplay=!0;let B=this.waitingChunksToDisplay[I]??(this.waitingChunksToDisplay[I]=[]);B.includes(e)||B.push(e)}return this.markCullDirty(),g}finishChunkDisplay(e){if(!this.waitingChunksToDisplay[e]){this.tryRevealPending();return}if(this.isWasmGateActive()&&this.isBlockedByNearer(e,0)){this.pendingNearReveal.set(e,Date.now()),this.armNearRevealTimer(e),this.armExpectedGraceTimer(e),this.tryRevealPending();return}this.flushChunkDisplay(e),this.tryRevealPending()}flushChunkDisplay(e){let t=this.waitingChunksToDisplay[e];if(this.pendingNearReveal.delete(e),this.clearNearRevealTimer(e),this.clearExpectedGraceTimer(e),!!t){for(let n of t){let r=this.sectionObjects[n];r&&(r._waitingForChunkDisplay=!1,r.visible=!0)}delete this.waitingChunksToDisplay[e],this.markCullDirty()}}tryRevealPending(){if(this.pendingNearReveal.size===0)return;let e=Date.now();for(let[t,n]of[...this.pendingNearReveal])this.isBlockedByNearer(t,e-n)||this.flushChunkDisplay(t)}onChunkRemovedFromGate(e){this.pendingNearReveal.delete(e),this.clearNearRevealTimer(e),this.clearExpectedGraceTimer(e),delete this.waitingChunksToDisplay[e],this.tryRevealPending()}isWasmGateActive(){return!!this.worldRenderer.worldRendererConfig?.wasmMesher}isBlockedByNearer(e,t){let n=this.worldRenderer.viewerChunkPosition;if(!n)return!1;let r=e.split(",");if(r.length!==2)return!1;let s=Number(r[0]),a=Number(r[1]),o=Math.floor(n.x/16),l=Math.floor(n.z/16),c=(s>>4)-o,u=(a>>4)-l,d=c*c+u*u;if(d===0)return!1;let f=this.worldRenderer.finishedChunks,v=this.worldRenderer.loadedChunks,g=this.worldRenderer.viewDistance;if(t<ro.EXPECTED_NEAR_GRACE_MS&&g>0){let y=g*g,_=Math.min(g,Math.ceil(Math.sqrt(Math.max(0,d-1))));for(let x=-_;x<=_;x++)for(let w=-_;w<=_;w++){let S=x*x+w*w;if(S>=d||S>y)continue;let A=o+x<<4,T=l+w<<4,P=`${A},${T}`;if(P!==e&&v[P]&&!f[P])return!0}return!1}for(let y in v){if(y===e||f[y])continue;let _=y.split(",");if(_.length!==2)continue;let x=(Number(_[0])>>4)-o,w=(Number(_[1])>>4)-l;if(x*x+w*w<d)return!0}return!1}armNearRevealTimer(e){if(this.nearRevealTimers.has(e))return;let t=setTimeout(()=>{this.nearRevealTimers.delete(e),this.pendingNearReveal.has(e)&&(console.warn(`[chunk-reveal] safety timeout for ${e} \u2014 a nearer pending column never finished, force-revealing`),this.flushChunkDisplay(e),this.tryRevealPending())},ro.NEAR_REVEAL_TIMEOUT_MS);this.nearRevealTimers.set(e,t)}clearNearRevealTimer(e){let t=this.nearRevealTimers.get(e);t&&(clearTimeout(t),this.nearRevealTimers.delete(e))}armExpectedGraceTimer(e){if(this.nearRevealGraceTimers.has(e))return;let t=setTimeout(()=>{this.nearRevealGraceTimers.delete(e),this.pendingNearReveal.has(e)&&this.tryRevealPending()},ro.EXPECTED_NEAR_GRACE_MS+50);this.nearRevealGraceTimers.set(e,t)}clearExpectedGraceTimer(e){let t=this.nearRevealGraceTimers.get(e);t&&(clearTimeout(t),this.nearRevealGraceTimers.delete(e))}cleanupSection(e,t){let n=this.sectionObjects[e];if(n){if(n._waitingForChunkDisplay){let r=e.split(","),s=`${r[0]},${r[2]}`,a=this.waitingChunksToDisplay[s];if(a){let o=a.indexOf(e);o!==-1&&a.splice(o,1),a.length===0&&delete this.waitingChunksToDisplay[s]}}if(n.bannersContainer){for(let r of n.bannersContainer.children){let s=r;s.bannerMaterial&&this.blockEntityLightRegistry.unregister(s.bannerMaterial),s.bannerTexture&&x4e(s.bannerTexture)}this.disposeContainer(n.bannersContainer)}if(t?.forRemesh||(this.globalBlockBuffer?.removeSection(e),this.globalLegacyBuffer?.removeSection(e),this.globalLegacyBlendBuffer?.removeSection(e),this.maybeUnregisterLegacyCullSection(e),this.unregisterShaderSectionRaycastBox(e)),this.markCullDirty(),delete n.deferredLegacyOpaque,delete n.deferredLegacyBlend,n.shaderMesh&&(SP(n.shaderMesh),n.shaderMesh=void 0),delete n.deferredShaderCubes,n.signsContainer){for(let r of n.signsContainer.children){let s=r;s.signTexture&&M4e(s.signTexture)}this.disposeContainer(n.signsContainer,!1)}if(n.headsContainer&&this.disposeContainer(n.headsContainer),this.worldRenderer.sceneOrigin.removeAndUntrackAll(n),this.scene.remove(n),n.boxHelper){this.worldRenderer.sceneOrigin.removeAndUntrack(n.boxHelper),this.scene.remove(n.boxHelper),n.boxHelper.geometry.dispose();let r=n.boxHelper.material;if(Array.isArray(r))for(let s of r)s.dispose();else r.dispose();n.boxHelper=void 0}delete this.sectionObjects[e],t?.forRemesh||this.worldRenderer.getModule("futuristicReveal")?.onSectionRemoved?.(e)}}releasePooledMesh(e){let t=this.activeSections.get(e);t&&(t.mesh.visible=!1,t.inUse=!1,t.sectionKey=void 0,t.lastUsedTime=0,this.clearGeometry(t.mesh.geometry),this.activeSections.delete(e),this.cleanupExcessMeshes())}releaseSection(e){this.cleanupSection(e);let t=this.activeSections.get(e);return t?(t.mesh.visible=!1,t.inUse=!1,t.sectionKey=void 0,t.lastUsedTime=0,this.clearGeometry(t.mesh.geometry),this.activeSections.delete(e),this.cleanupExcessMeshes(),!0):!1}getSectionObject(e){return this.sectionObjects[e]}updateBoxHelper(e,t,n=this.chunkBoxMaterial){let r=this.sectionObjects[e];if(r)if(t){if(!r.boxHelper){let s=new Ke(new Sn(16,16,16),n),a=new Ea(s,16776960);a.name="helper";let o=r.worldX??0,l=r.worldY??0,c=r.worldZ??0;this.worldRenderer.sceneOrigin.track(a,{updateMatrix:!0}),a.position.set(o,l,c),a.updateMatrix(),this.scene.add(a),r.boxHelper=a}r.boxHelper.visible=!0}else r.boxHelper&&(r.boxHelper.visible=!1)}updateAllBoxHelpers(e){for(let t of Object.keys(this.sectionObjects))this.updateBoxHelper(t,e)}getSectionMesh(e){return this.activeSections.get(e)?.mesh}hasSection(e){return this.activeSections.has(e)}updateViewDistance(e){let t=(e*2+1)**2,n=this.worldHeight/16,r=5;if(this.minPoolSize=Math.floor(t*r),this.maxPoolSize=Math.floor(t*n)+1,this.poolSize??=this.minPoolSize,this.minPoolSize>this.poolSize){let s=Math.min(this.minPoolSize,this.maxPoolSize);this.expandPool(s)}console.log(`ChunkMeshManager: Updated view max distance to ${e}, pool: ${this.poolSize}/${this.maxPoolSize}, optimal: ${this.minPoolSize}`)}getGlobalBufferStats(){let e=n=>n?{used:n.getHighWatermark(),capacity:n.getCapacityQuads(),sections:n.getSectionCount(),usedBytes:n.getUsedMemoryBytes(),capacityBytes:n.getMemoryBytes()}:null,t=this.globalBlockBuffer;return{shaderFaces:t?{used:t.getHighWatermark(),capacity:t.getCapacityFaces(),sections:t.getSectionCount(),usedBytes:t.getUsedMemoryBytes(),capacityBytes:t.getMemoryBytes()}:null,legacyOpaque:e(this.globalLegacyBuffer),legacyBlend:e(this.globalLegacyBlendBuffer)}}getStats(){let e=this.meshPool.filter(r=>!r.inUse).length,t=this.hits+this.misses>0?(this.hits/(this.hits+this.misses)*100).toFixed(1):"0",n=this.getEstimatedMemoryUsage();return{poolSize:this.poolSize,activeCount:this.activeSections.size,freeCount:e,hitRate:`${t}%`,hits:this.hits,misses:this.misses,memoryUsage:n}}getTotalTiles(){return Object.values(this.sectionObjects).reduce((e,t)=>e+(t.tilesCount||0),0)}getTotalBlocks(){return Object.values(this.sectionObjects).reduce((e,t)=>e+(t.blocksCount||0),0)}getEstimatedMemoryUsage(){let e=0,t=0,n=0,r=0,s=0,a=0,o=0,l=this.globalBlockBuffer?.mesh.geometry;if(l)for(let f of["a_w0","a_w1","a_w2","a_w3"]){let v=l.getAttribute(f);if(v){let g=v.array.byteLength;o+=g,e+=g}}let c=this.globalLegacyBuffer?.getMemoryBytes()??0,u=this.globalLegacyBlendBuffer?.getMemoryBytes()??0;e+=c+u,t+=c+u;for(let f of Object.values(this.sectionObjects)){let v=f.shaderMesh?.geometry;if(v)for(let g of["a_w0","a_w1","a_w2","a_w3"]){let b=v.getAttribute(g);if(b){let y=b.array.byteLength;o+=y,e+=y}}}for(let f of this.meshPool)if(f.inUse&&f.mesh.geometry){let{geometry:v}=f.mesh,g=v.getAttribute("position");if(g){let x=g.array.byteLength;t+=x,e+=x}let b=v.getAttribute("normal");if(b){let x=b.array.byteLength;n+=x,e+=x}let y=v.getAttribute("color");if(y){let x=y.array.byteLength;r+=x,e+=x}let _=v.getAttribute("uv");if(_){let x=_.array.byteLength;s+=x,e+=x}if(v.index){let x=v.index.array.byteLength;a+=x,e+=x}}return{total:`${(e/(1024*1024)).toFixed(2)} MB`,breakdown:{position:`${(t/(1024*1024)).toFixed(2)} MB`,normal:`${(n/(1024*1024)).toFixed(2)} MB`,color:`${(r/(1024*1024)).toFixed(2)} MB`,uv:`${(s/(1024*1024)).toFixed(2)} MB`,index:`${(a/(1024*1024)).toFixed(2)} MB`,shaderInstances:`${(o/(1024*1024)).toFixed(2)} MB`}}}dispose(){let e=[...this.activeSections.keys()];for(let t of e)this.releaseSection(t);this.signHeadsRenderer.dispose();for(let t of this.meshPool)t.mesh.geometry.dispose();this.meshPool.length=0,this.activeSections.clear(),this.chunkBoxMaterial.dispose(),this.shaderSectionRaycastBoxes.clear(),this.lastBufferStateKey="",this.globalBlockBuffer?.dispose(),this.globalBlockBuffer=null,this.globalLegacyBuffer?.dispose(),this.globalLegacyBuffer=null,this.globalLegacyBlendBuffer?.dispose(),this.globalLegacyBlendBuffer=null,this.cubeShaderMaterial?.dispose(),this.cubeShaderMaterial=null,this.legacyShaderMaterial?.dispose(),this.legacyShaderMaterial=null,this.globalLegacyShaderMaterial?.dispose(),this.globalLegacyShaderMaterial=null,this.globalLegacyBlendShaderMaterial?.dispose(),this.globalLegacyBlendShaderMaterial=null,this.pendingNearReveal.clear();for(let t of this.nearRevealTimers.values())clearTimeout(t);this.nearRevealTimers.clear();for(let t of this.nearRevealGraceTimers.values())clearTimeout(t);this.nearRevealGraceTimers.clear()}acquireMesh(){if(this.bypassPooling){let t={mesh:new Ke(new dt,this.getLegacyShaderMaterial()),inUse:!0,lastUsedTime:performance.now()};return this.meshPool.push(t),this.poolSize++,t}for(let t of this.meshPool)if(!t.inUse)return t.inUse=!0,t.lastUsedTime=performance.now(),this.hits++,t;this.misses++;let e=Math.min(this.poolSize+16,this.maxPoolSize);e<=this.meshPool.length&&(e=this.meshPool.length+8,this.maxPoolSize=e,console.warn(`ChunkMeshManager: Pool exhausted (${this.poolSize}/${this.maxPoolSize}). Emergency expansion to ${e}`)),this.expandPool(e);for(let t=this.meshPool.length-1;t>=0;t--){let n=this.meshPool[t];if(!n.inUse)return n.inUse=!0,n.lastUsedTime=performance.now(),n}throw new Error("ChunkMeshManager: Failed to acquire mesh after pool expansion")}expandPool(e){let t=this.meshPool.length;this.poolSize=e;for(let n=t;n<e;n++){let r=new dt,s=new Ke(r,this.getLegacyShaderMaterial());s.visible=!1,s.matrixAutoUpdate=!1,s.name="pooled-section-mesh";let a={mesh:s,inUse:!1,lastUsedTime:0};this.meshPool.push(a)}}updateGeometryAttribute(e,t,n,r){let s=e.getAttribute(t);s&&s.count===n.length/r?(s.array.set(n),s.needsUpdate=!0):e.setAttribute(t,new Mt(n,r))}clearGeometry(e){let t=["position","normal","color","a_skyLight","a_blockLight","uv"];for(let n of t)e.hasAttribute(n)&&e.deleteAttribute(n);e.index&&e.setIndex(null),e.boundingBox=null,e.boundingSphere=null}cleanupExcessMeshes(){if(this.poolSize>this.maxPoolSize){let e=this.meshPool.filter(t=>!t.inUse).length;if(e>0){let t=Math.min(this.poolSize-this.maxPoolSize,e);for(let n=0;n<t;n++){let r=this.meshPool.findIndex(s=>!s.inUse);r!==-1&&(this.meshPool[r].mesh.geometry.dispose(),this.meshPool.splice(r,1),this.poolSize--)}}}}disposeContainer(e,t=!0){dr(e,t)}recordRenderTime(e){this.renderTimes.push(e),this.renderTimes.length>this.maxRenderTimeSamples&&this.renderTimes.shift();let t=performance.now();t-this.lastPerformanceCheck>this.performanceCheckInterval&&(this.checkPerformance(),this.lastPerformanceCheck=t)}getEffectiveRenderDistance(){return this.performanceOverrideDistance||this.worldRenderer.viewDistance}resetPerformanceOverride(){this.performanceOverrideDistance=void 0,this.renderTimes.length=0,console.log("ChunkMeshManager: Performance override reset")}getAverageRenderTime(){return this.renderTimes.length===0?0:this.renderTimes.reduce((e,t)=>e+t,0)/this.renderTimes.length}checkPerformance(){if(this.renderTimes.length<this.maxRenderTimeSamples)return;let e=this.getAverageRenderTime(),t=16.67,n=t*1.5;if(e>n){let r=this.worldRenderer.viewDistance,s=Math.max(1,Math.floor(r*.8));(!this.performanceOverrideDistance||s<this.performanceOverrideDistance)&&(this.performanceOverrideDistance=s,console.warn(`ChunkMeshManager: Performance degraded (${e.toFixed(2)}ms avg). Reducing effective render distance to ${s}`))}else if(this.performanceOverrideDistance&&e<t*1.1){let r=this.worldRenderer.viewDistance,s=Math.min(r,this.performanceOverrideDistance+1);s!==this.performanceOverrideDistance&&(this.performanceOverrideDistance=s>=r?void 0:s,console.log(`ChunkMeshManager: Performance improved. Restoring render distance to ${s}`))}}updateSectionsVisibility(){let e=this.worldRenderer.cameraSectionPos;for(let[t,n]of Object.entries(this.sectionObjects)){if(n._waitingForChunkDisplay){n.visible=!1;continue}if(!this.performanceOverrideDistance){n.visible=!0;continue}let[r,s,a]=t.split(",").map(Number),o={x:r/16,y:s/16,z:a/16},l=o.x-e.x,c=o.z-e.z,u=Math.floor(Math.hypot(l,c));n.visible=u<=this.performanceOverrideDistance}}};Wn(ro,"REBASE_THRESHOLD",65536),Wn(ro,"NEAR_REVEAL_TIMEOUT_MS",5e3),Wn(ro,"EXPECTED_NEAR_GRACE_MS",1500);var fg=ro,PP=class{constructor(e){this.worldRendererThree=e}dispose(){A4e()}renderHead(e,t,n,r){let s;if(r.SkullOwner?s=r.SkullOwner.Properties?.textures?.[0]?.Value:s=r.profile?.properties?.find(a=>a.name==="textures")?.value,!!s)try{let o=JSON.parse(Buffer.from(s,"base64").toString()).textures?.SKIN?.url,{skinTexturesProxy:l}=this.worldRendererThree.worldRendererConfig;l&&(o=o?.replace("http://textures.minecraft.net/",l).replace("https://textures.minecraft.net/",l));let c=$c(this.worldRendererThree,o,Yc.head),u=new bt;return n&&c.position.set(0,.3125,.3125),c.position.y-=23/16,u.add(c),this.worldRendererThree.sceneOrigin.track(u),u.position.set(e.x+.5,e.y+.045,e.z+.5),u.rotation.set(0,-Ot.degToRad(t*(n?90:45/2)),0),u.scale.set(.8,.8,.8),u}catch(a){console.error("Error decoding player texture:",a)}}renderSign(e,t,n,r,s){let a=E4e(this.worldRendererThree,s,r);if(!a)return;let o=new Ke(new zn(1,1),new _t({map:a,transparent:!0}));o.renderOrder=999;let l=7/16,c=r?1.3:1;o.scale.set(1*c,l*c,1*c);let u=(r?2:1.5)/16,d=.25/16;n&&!r?o.position.set(0,0,-.5+u+d+1e-4):o.position.set(0,0,u/2+1e-4);let f=new bt;f.rotation.set(0,-Ot.degToRad(t*(n?90:45/2)),0),f.add(o),f.signTexture=a;let v=(r?10:8)/16,g=(r?0:n?4.333:9.333)/16,b=v/2+g;return this.worldRendererThree.sceneOrigin.track(f),f.position.set(e.x+.5,e.y+b,e.z+.5),f}};h();p();m();var h9=(i,e)=>e===0?1/0:e<0?h9(-i,-e):(1-(i-Math.floor(i)))/e,WYe=(i,e,t,n,r,s,a,o,l,c,u,d)=>{let f=a-u,v=o-u,g=l-u,b=a+1+u,y=o+1+u,_=l+1+u,x=m4e(i,e,t,n,r,s,f,v,g,b,y,_,c);if(x===void 0&&(x=p4e(i,e,t,n,r,s,f,v,g,b,y,_,c)),x!==void 0)return Math.max(d,x)};function k4e(i,e,t,n,r,s,a,o,l,c){if(a<=0)return;let u=Math.floor(i),d=Math.floor(e),f=Math.floor(t),v=n>0?1:n<0?-1:0,g=r>0?1:r<0?-1:0,b=s>0?1:s<0?-1:0,y=v!==0?Math.abs(1/n):1/0,_=g!==0?Math.abs(1/r):1/0,x=b!==0?Math.abs(1/s):1/0,w=v!==0?h9(i,n):1/0,S=g!==0?h9(e,r):1/0,A=b!==0?h9(t,s):1/0,T=(k,L,B)=>{if(!c(k,L,B))return;let U=WYe(i,e,t,n,r,s,k,L,B,a,o,l);if(!(U===void 0||U>a))return{distance:U,blockX:k,blockY:L,blockZ:B}},P=T(u,d,f);if(P)return P;let I=0;for(;I<=a&&(w<S?w<A?(u+=v,I=w,w+=y):(f+=b,I=A,A+=x):S<A?(d+=g,I=S,S+=_):(f+=b,I=A,A+=x),!(I>a));)if(P=T(u,d,f),P)return P}h();p();m();h();p();m();Lt();var m9={},T4e=!1;function jYe(){if(T4e)return;let i=globalThis.loadedData?.tints;if(i){for(let e of Object.keys(i))m9[e]=XYe(i[e]);T4e=!0}}function XYe(i){let e={},t=I4e(i.default??16777215);if(i.data)for(let n of i.data){let r=I4e(n.color);for(let s of n.keys)e[s]=r}return new Proxy(e,{get(n,r){return n[r]??t}})}function I4e(i){return[(i>>16&255)/255,(i>>8&255)/255,(i&255)/255]}function R4e(i,e){return jYe(),i==="grass_block"?[1,1,1]:i==="redstone_wire"?[1,1,1]:i==="birch_leaves"||i==="spruce_leaves"||i==="lily_pad"?m9.constant?.[i]??[1,1,1]:i.includes("leaves")||i==="vine"?m9.foliage?.[e]??[1,1,1]:["short_grass","tall_grass","fern","large_fern","sugar_cane","grass"].includes(i)?m9.grass?.[e]??[1,1,1]:[1,1,1]}var $Ye=512,LP=1/20,BP=class{constructor(e){this.worldRenderer=e}particles=[];sharedMaterial;enabled=!1;tickAccumulator=0;nextParticleIndex=0;enable(){this.enabled||(this.enabled=!0,this.ensureMaterial())}disable(){this.enabled&&(this.enabled=!1)}dispose(){for(let e of this.particles)e.active&&this.worldRenderer.sceneOrigin.removeAndUntrack(e.mesh),e.mesh.geometry.dispose();this.particles=[],this.sharedMaterial?.dispose(),this.sharedMaterial=void 0,this.nextParticleIndex=0}render=e=>{if(!this.enabled)return;for(this.tickAccumulator+=e;this.tickAccumulator>=LP;)this.tickAccumulator-=LP,this.tickPhysics();let t=this.tickAccumulator/LP;this.updateVisuals(t)};spawnBlockBreakParticles(e,t,n,r,s,a="plains"){if(!this.enabled)return;let o=this.resolveBlockTexture(r);if(!o)return;let l=R4e(r,a);for(let c=0;c<4;c++)for(let u=0;u<4;u++)for(let d=0;d<4;d++){let f=e+(c+.5)/4,v=t+(u+.5)/4,g=n+(d+.5)/4,b=f-e-.5,y=v-t-.5,_=g-n-.5;b+=(Math.random()*2-1)*.4,y+=(Math.random()*2-1)*.4,_+=(Math.random()*2-1)*.4;let x=(Math.random()+Math.random()+1)*.15,w=Math.sqrt(b*b+y*y+_*_),S=b/w*x*.4,A=y/w*x*.4+.1,T=_/w*x*.4,P=Math.floor(4/(Math.random()*.9+.1));this.createParticle(f,v,g,S,A,T,P,o,s,e,n,1,l)}}tickPhysics(){for(let e of this.particles){if(!e.active)continue;if(e.prevX=e.x,e.prevY=e.y,e.prevZ=e.z,e.age++,e.age>=e.maxAge){this.deactivateParticle(e);continue}e.yd-=.04,e.x+=e.xd,e.y+=e.yd,e.z+=e.zd;let t=this.getFloorY(e);e.y<=t?(e.y=t,e.yd=0,e.onGround=!0):e.onGround=!1,e.xd*=.98,e.yd*=.98,e.zd*=.98,e.onGround&&(e.xd*=.7,e.zd*=.7)}}updateVisuals(e){let t=this.worldRenderer.camera.position;for(let n of this.particles){if(!n.active)continue;let r=n.prevX+(n.x-n.prevX)*e,s=n.prevY+(n.y-n.prevY)*e,a=n.prevZ+(n.z-n.prevZ)*e;n.mesh.position.set(r,s,a),n.mesh.lookAt(t.x,t.y,t.z)}}spawnCrackParticle(e,t,n,r,s,a,o="plains"){if(!this.enabled)return;let l=this.resolveBlockTexture(s);if(!l)return;let c=R4e(s,o),u=e+Math.random()*.8+.1,d=t+Math.random()*.8+.1,f=n+Math.random()*.8+.1;switch(r){case 0:d=t-.1;break;case 1:d=t+1+.1;break;case 2:f=n-.1;break;case 3:f=n+1+.1;break;case 4:u=e-.1;break;case 5:u=e+1+.1;break}let v=(Math.random()*2-1)*.4*.2,g=(Math.random()*2-1)*.4*.2+.1*.2,b=(Math.random()*2-1)*.4*.2,y=Math.floor(4/(Math.random()*.9+.1));this.createParticle(u,d,f,v,g,b,y,l,a,e,n,.6,c)}createParticle(e,t,n,r,s,a,o,l,c,u,d,f=1,v=[1,1,1]){this.ensureMaterial();let g=this.findInactiveParticle();g||(this.particles.length<$Ye?g=this.allocateParticle():g=this.recycleOldest());let b=Math.floor(Math.random()*4),y=Math.floor(Math.random()*4),_=l.u+b/4*l.su,x=l.v+y/4*l.sv,w=l.su/4,S=l.sv/4;this.setGeometryUVs(g.mesh.geometry,_,x,w,S),g.active=!0,g.x=e,g.y=t,g.z=n,g.prevX=e,g.prevY=t,g.prevZ=n,g.xd=r,g.yd=s,g.zd=a,g.age=0,g.maxAge=o,g.onGround=!1,g.floorMap=c,g.blockX=Math.floor(u),g.blockZ=Math.floor(d);let A=.1*(.5+Math.random()*.5)*2*f;g.mesh.scale.set(A,A,A),g.mesh.position.set(e,t,n),g.mesh.visible=!0;let T=.6*v[0],P=.6*v[1],I=.6*v[2],k=new Float32Array([T,P,I,T,P,I,T,P,I,T,P,I]),L=g.mesh.geometry.getAttribute("color");L?(L.set(k),L.needsUpdate=!0):g.mesh.geometry.setAttribute("color",new Je(k,3)),this.worldRenderer.sceneOrigin.addAndTrack(g.mesh)}allocateParticle(){let e=new zn(1,1),t=new Ke(e,this.sharedMaterial);t.visible=!1;let n={mesh:t,active:!1,x:0,y:0,z:0,prevX:0,prevY:0,prevZ:0,xd:0,yd:0,zd:0,age:0,maxAge:0,onGround:!1,floorMap:[],blockX:0,blockZ:0};return this.particles.push(n),n}findInactiveParticle(){for(let e=0;e<this.particles.length;e++){let t=(this.nextParticleIndex+e)%this.particles.length;if(!this.particles[t].active)return this.nextParticleIndex=(t+1)%this.particles.length,this.particles[t]}}recycleOldest(){let e=this.particles[0];for(let t of this.particles)t.age>e.age&&(e=t);return this.deactivateParticle(e),e}deactivateParticle(e){e.active&&(e.active=!1,e.mesh.visible=!1,this.worldRenderer.sceneOrigin.removeAndUntrack(e.mesh))}getFloorY(e){let t=Math.floor(e.x)-e.blockX,n=Math.floor(e.z)-e.blockZ;return t=Math.max(-2,Math.min(2,t)),n=Math.max(-2,Math.min(2,n)),e.floorMap[(n+2)*5+(t+2)]}resolveBlockTexture(e){let t=this.worldRenderer.resourcesManager.currentResources;if(!t)return null;let n=t.blocksAtlasJson,r=n.textures;if(r[e])return this.extractUV(r[e],n);for(let s of["_side","_top","_front","_0",""]){let a=e+s;if(r[a])return this.extractUV(r[a],n)}for(let s of Object.keys(r))if(s.startsWith(e))return this.extractUV(r[s],n);return null}extractUV(e,t){return{u:e.u,v:e.v,su:e.su??t.suSv,sv:e.sv??t.suSv}}setGeometryUVs(e,t,n,r,s){let a=e.getAttribute("uv");a.setXY(0,t,n),a.setXY(1,t+r,n),a.setXY(2,t,n+s),a.setXY(3,t+r,n+s),a.needsUpdate=!0}ensureMaterial(){if(this.sharedMaterial)return;let e=this.worldRenderer.material.map;e&&(this.sharedMaterial=new _t({map:e,vertexColors:!0,transparent:!0,alphaTest:.1}))}},C4e={id:"blockBreakParticles",controller:BP,enabledDefault:!0,cannotBeDisabled:!0,requiresHeightmap:!1};h();p();m();var DP=class{constructor(e){this.worldRenderer=e}enabled=!1;lastBobWalkDist=0;lastBobTickTime=0;enable(){this.enabled=!0}disable(){this.enabled=!1,this.worldRenderer.cameraShake.setCameraBobInput(null);let{perspective:e}=this.worldRenderer.playerStateReactive;e==="first_person"&&this.worldRenderer.camera.position.set(0,0,0)}render=()=>{if(!this.enabled)return;let e=this.worldRenderer.displayOptions.inWorldRenderingConfig,{perspective:t}=this.worldRenderer.playerStateReactive;if(e.viewBobbing&&t==="first_person"&&!this.worldRenderer.playerStateUtils.isSpectator()){this.worldRenderer.playerStateReactive.walkDist!==this.lastBobWalkDist&&(this.lastBobTickTime=performance.now(),this.lastBobWalkDist=this.worldRenderer.playerStateReactive.walkDist);let r=Math.min((performance.now()-this.lastBobTickTime)/50,1);this.worldRenderer.cameraShake.setCameraBobInput({walkDist:this.worldRenderer.playerStateReactive.walkDist,prevWalkDist:this.worldRenderer.playerStateReactive.prevWalkDist,bob:this.worldRenderer.playerStateReactive.bob,prevBob:this.worldRenderer.playerStateReactive.prevBob,partialTick:r})}else this.worldRenderer.cameraShake.setCameraBobInput(null)};dispose(){this.disable()}},P4e={id:"cameraBobbing",controller:DP,enabledDefault:!0,cannotBeDisabled:!0};h();p();m();Lt();var OP=2e3,L4e=32,B4e=32,p9=12,D4e=24,v9=1.2,YYe=-5,NP=class{constructor(e){this.worldRenderer=e;this.configUnsubs.push(this.worldRenderer.onReactiveConfigUpdated("rainColor",()=>this.syncRainAppearance()),this.worldRenderer.onReactiveConfigUpdated("rainOpacity",()=>this.syncRainAppearance()))}instancedMesh;geometry;material;particles=[];enabled=!1;dummy=new Et;tempPosition=new X;tempQuaternion=new qt;tempScale=new X;configUnsubs=[];enable(){this.enabled||(this.enabled=!0,this.instancedMesh?(this.instancedMesh.visible=!0,this.syncRainAppearance()):this.createRain())}disable(){this.enabled&&(this.enabled=!1,this.instancedMesh&&(this.instancedMesh.visible=!1))}autoEnableCheck(){return this.worldRenderer.worldRendererConfig.isRaining===!0}render=e=>{if(!this.enabled||!this.instancedMesh||!this.material)return;let t=this.worldRenderer.getCameraPosition();this.instancedMesh.position.set(0,0,0);let n=this.worldRenderer.reactiveState.world.heightmaps,{dummy:r,tempPosition:s,tempQuaternion:a,tempScale:o}=this,l=NaN,c=NaN,u;for(let d=0;d<OP;d++){let f=this.particles[d];this.instancedMesh.getMatrixAt(d,r),r.decompose(s,a,o),s.addScaledVector(f.velocity,e);let v=s.y,g=Math.sqrt(s.x*s.x+s.z*s.z),b=t.x+s.x,y=t.y+s.y,_=t.z+s.z,x=Math.floor(b/16),w=Math.floor(_/16);(x!==l||w!==c)&&(u=n[`${x},${w}`],l=x,c=w);let S=(Math.floor(b)%16+16)%16,A=(Math.floor(_)%16+16)%16,T=u?.[A*16+S];if(g>L4e||T!==void 0&&T!==-32768&&y<=T+1+f.despawnOffset||v<YYe){this.respawnParticle(s);let I=p9+Math.random()*(D4e-p9);f.velocity.set((Math.random()-.5)*v9,-I,(Math.random()-.5)*v9),f.despawnOffset=Math.random()*.5}r.compose(s,a,o),this.instancedMesh.setMatrixAt(d,r)}this.instancedMesh.instanceMatrix.needsUpdate=!0};dispose(){for(let e of this.configUnsubs)e();this.configUnsubs.length=0,this.instancedMesh&&this.worldRenderer.scene.remove(this.instancedMesh),this.geometry?.dispose(),this.material?.dispose(),this.instancedMesh=void 0,this.geometry=void 0,this.material=void 0,this.particles=[]}syncRainAppearance(){if(!this.material)return;let{rainColor:e,rainOpacity:t}=this.worldRenderer.worldRendererConfig;this.material.color.set(e),this.material.opacity=Math.max(0,Math.min(1,t)),this.material.needsUpdate=!0}createRain(){let{rainColor:e,rainOpacity:t}=this.worldRenderer.worldRendererConfig;this.geometry=new Sn(.03,.3,.03),this.material=new _t({color:e,transparent:!0,opacity:Math.max(0,Math.min(1,t)),depthWrite:!0,fog:!1}),this.instancedMesh=new cl(this.geometry,this.material,OP),this.instancedMesh.name="rain-particles",this.instancedMesh.frustumCulled=!1;let n=new Et,r=new X;for(let s=0;s<OP;s++){this.respawnParticle(r),r.y=Math.random()*B4e,n.setPosition(r),this.instancedMesh.setMatrixAt(s,n);let a=p9+Math.random()*(D4e-p9);this.particles.push({velocity:new X((Math.random()-.5)*v9,-a,(Math.random()-.5)*v9),age:0,despawnOffset:Math.random()*.5})}this.instancedMesh.instanceMatrix.needsUpdate=!0,this.worldRenderer.scene.add(this.instancedMesh)}respawnParticle(e){let t=Math.random()*Math.PI*2,n=Math.random()*L4e;e.set(Math.cos(t)*n,B4e,Math.sin(t)*n)}},O4e={id:"rain",controller:NP,enabledDefault:!1,requiresHeightmap:!0};h();p();m();Lt();var N4e=new We(13/255,234/255,238/255),JYe=9,KYe=12e3,ZYe=1500,QYe=1e4,eJe=350,tJe=650,U4e=120,F4e=280,UP=class{constructor(e){this.worldRenderer=e;e.worldRendererConfig.futuristicReveal!==!0&&(this.enabled=!1)}enabled=!0;sections=new Map;completed=new Set;globalWaveStarted=!1;globalWaveStartMs=0;finishedChunkCount=0;firstQueuedMs=null;pulseTime=0;wireframeMaterial=new Pn({color:N4e,transparent:!0,opacity:1,blending:es,depthWrite:!1});wireframeGlowMaterial=new Pn({color:N4e,transparent:!0,opacity:.55,blending:es,depthWrite:!1});autoEnableCheck(){return this.worldRenderer.worldRendererConfig.futuristicReveal===!0}enable(){this.autoEnableCheck()&&this.setEnabled(!0)}disable(){this.setEnabled(!1)}dispose(){this.reset(),this.wireframeMaterial.dispose(),this.wireframeGlowMaterial.dispose()}shouldDeferSectionGeometry(e){return this.enabled&&!this.completed.has(e)}onSectionMeshed(e,t,n){let r=n.children.find(s=>s.name==="mesh");r instanceof Ke&&this.onSectionMeshedMesh(e,t,r)}onChunkFinished(){this.enabled&&(this.finishedChunkCount++,this.tryStartGlobalWave(performance.now()))}onSectionRemoved(e){this.cancelSection(e,!0),this.completed.delete(e)}onWorldSwitched(){this.reset()}tick(e,t=performance.now()){if(!this.enabled||(this.tryStartGlobalWave(t),!this.globalWaveStarted&&this.firstQueuedMs!==null&&this.sections.size>0&&t-this.firstQueuedMs>=KYe&&this.startGlobalWave(t),this.sections.size===0))return;this.pulseTime+=e*.001;let n=[];for(let r of this.sections.values()){if(t-r.phaseStartMs>QYe){n.push(r);continue}if(r.phase==="queued"){this.globalWaveStarted&&t>=r.revealAtMs&&this.beginWireframe(r,t);continue}let s=t-r.phaseStartMs;if(r.phase==="wireframe"){this.animateWireframe(r,s),s>=r.wireframeMs&&this.beginFade(r,t);continue}if(r.phase==="fade"){let a=Math.min(1,s/r.fadeMs);this.animateFade(r,a),a>=1&&n.push(r)}}for(let r of n)this.finishSection(r)}setEnabled(e){e!==this.enabled&&(this.enabled=e,e||this.forceFinishAll())}onSectionMeshedMesh(e,t,n){if(!this.enabled||!t.positions?.length||this.completed.has(e))return;let r=this.sections.get(e);if(r){r.mesh=n,r.geometry=t,(r.phase==="wireframe"||r.phase==="fade")&&this.finishSection(r);return}let s=performance.now();this.firstQueuedMs===null&&(this.firstQueuedMs=s);let a=this.globalWaveStarted;this.sections.set(e,{key:e,geometry:t,phase:"queued",phaseStartMs:s,revealAtMs:this.globalWaveStarted?s:0,wireframeMs:a?U4e:eJe,fadeMs:a?F4e:tJe,wireframeGroup:null,mesh:n,savedMaterial:null,pulseOffset:Math.random()*Math.PI*2}),n.visible=!1,this.setShaderMeshesVisible(e,!1),this.tryStartGlobalWave(s)}reset(){this.forceFinishAll(),this.sections.clear(),this.completed.clear(),this.globalWaveStarted=!1,this.globalWaveStartMs=0,this.finishedChunkCount=0,this.firstQueuedMs=null,this.pulseTime=0}forceFinishAll(){for(let e of[...this.sections.values()])this.finishSection(e);this.sections.clear(),this.unhideAllSectionMeshes()}tryStartGlobalWave(e){if(!this.globalWaveStarted&&this.sections.size!==0){if(this.finishedChunkCount>=JYe){this.startGlobalWave(e);return}this.worldRenderer.allChunksFinished&&this.startGlobalWave(e)}}startGlobalWave(e){if(this.globalWaveStarted)return;this.globalWaveStarted=!0,this.globalWaveStartMs=e;let t=this.worldRenderer.getCameraPosition(),n=1,r=new Map;for(let[s,a]of this.sections){if(a.phase!=="queued")continue;let{sx:o,sy:l,sz:c}=a.geometry,u=Math.hypot(o-t.x,l-t.y,c-t.z);r.set(s,u),n=Math.max(n,u)}for(let[,s]of this.sections){if(s.phase!=="queued")continue;let a=r.get(s.key)??0;s.revealAtMs=e+a/n*ZYe,s.wireframeMs=U4e,s.fadeMs=F4e}}beginWireframe(e,t){let n=e.mesh??this.getSectionMesh(e.key);if(e.mesh=n,!n){this.sections.delete(e.key);return}let r=this.createWireframeGeometry(e.geometry),s=new Kn(r,this.wireframeMaterial.clone());this.worldRenderer.sceneOrigin.track(s),s.position.set(e.geometry.sx,e.geometry.sy,e.geometry.sz),s.name="scifi-wireframe",s.renderOrder=1e3;let a=new Kn(r.clone(),this.wireframeGlowMaterial.clone());this.worldRenderer.sceneOrigin.track(a),a.position.copy(s.position),a.scale.setScalar(1.02),a.name="scifi-glow",a.renderOrder=999;let o=new bt;o.name="scifi-reveal-group",o.add(s,a),this.worldRenderer.realScene.add(o),n.visible=!1,this.setShaderMeshesVisible(e.key,!1),e.wireframeGroup=o,e.phase="wireframe",e.phaseStartMs=t}beginFade(e,t){let n=e.mesh??this.getSectionMesh(e.key);if(e.mesh=n,n){n.visible=!0;let r=n.material;if(!Array.isArray(r)&&r&&typeof r.clone=="function"){e.savedMaterial=r;let s=r.clone();s.transparent=!0,s.opacity=0,s.needsUpdate=!0,n.material=s}}this.setShaderMeshesVisible(e.key,!0),e.phase="fade",e.phaseStartMs=t}animateWireframe(e,t){if(!e.wireframeGroup)return;let n=e.wireframeGroup.children[0],r=e.wireframeGroup.children[1],s=.6+.4*Math.sin(this.pulseTime*4+e.pulseOffset);if(n?.material){let a=n.material;a.opacity=s;let o=.85+.15*Math.sin(this.pulseTime*6+t*.002);a.color.setRGB(13/255*o,234/255*o,238/255*o)}r?.material&&(r.material.opacity=s*.4)}animateFade(e,t){let n=1-(1-t)**3;if(e.wireframeGroup){let s=e.wireframeGroup.children[0],a=e.wireframeGroup.children[1];s?.material&&(s.material.opacity=1-n),a?.material&&(a.material.opacity=(1-n)*.55)}let r=e.mesh;r&&e.savedMaterial&&!Array.isArray(r.material)&&(r.material.opacity=n),this.setShaderMeshesVisible(e.key,n>.001)}finishSection(e){let t=e.mesh??this.getSectionMesh(e.key);if(t){if(e.savedMaterial){let r=t.material;t.material=e.savedMaterial,r.dispose(),e.savedMaterial=null}t.visible=!0}this.setShaderMeshesVisible(e.key,!0);let{chunkMeshManager:n}=this.worldRenderer;n.migrateDeferredShaderToGlobal(e.key),n.migrateDeferredLegacyToGlobal(e.key),e.wireframeGroup&&(this.disposeWireframeGroup(e.wireframeGroup),e.wireframeGroup=null),this.sections.delete(e.key),this.completed.add(e.key)}cancelSection(e,t){let n=this.sections.get(e);if(n){if(n.wireframeGroup&&this.disposeWireframeGroup(n.wireframeGroup),t){let r=n.mesh??this.getSectionMesh(e);if(r){if(n.savedMaterial){let s=r.material;r.material=n.savedMaterial,s.dispose()}r.visible=!0}this.setShaderMeshesVisible(e,!0)}this.sections.delete(e)}}getSectionMesh(e){let t=this.worldRenderer.chunkMeshManager.sectionObjects[e];if(!t)return null;let n=t.children.find(r=>r.name==="mesh");return n instanceof Ke?n:null}getShaderMesh(e){let t=this.worldRenderer.chunkMeshManager.sectionObjects[e];if(!t)return null;let n=t.children.find(r=>r.name==="shaderMesh");return n instanceof Ke?n:null}setShaderMeshesVisible(e,t){let n=this.getShaderMesh(e);n&&(n.visible=t)}unhideAllSectionMeshes(){for(let e of Object.values(this.worldRenderer.chunkMeshManager.sectionObjects))e&&e.traverse(t=>{t instanceof Ke&&(t.name==="mesh"||t.name==="shaderMesh")&&(t.visible=!0)})}disposeWireframeGroup(e){this.worldRenderer.sceneOrigin.removeAndUntrackAll(e),this.worldRenderer.realScene.remove(e),e.traverse(t=>{let n=t;n.geometry?.dispose();let r=n.material;Array.isArray(r)?r.forEach(s=>s.dispose()):r?.dispose()}),e.clear()}createWireframeGeometry(e){let t=e.positions,n=e.indices,r=[],s=new Set;for(let o=0;o<n.length;o+=3){let l=n[o],c=n[o+1],u=n[o+2];this.addEdge(t,l,c,r,s),this.addEdge(t,c,u,r,s),this.addEdge(t,u,l,r,s)}let a=new dt;return a.setAttribute("position",new Je(r,3)),a}addEdge(e,t,n,r,s){let a=Math.min(t,n),o=Math.max(t,n),l=`${a}-${o}`;s.has(l)||(s.add(l),r.push(e[t*3],e[t*3+1],e[t*3+2],e[n*3],e[n*3+1],e[n*3+2]))}},V4e={id:"futuristicReveal",controller:UP,enabledDefault:!0};h();p();m();Lt();var nJe=parseInt(Ma.replaceAll(/\D+/g,""),10),FP=class extends Xn{constructor(){super({uniforms:{time:{value:0}},vertexShader:`
|
|
29562
29562
|
uniform float time;
|
|
29563
29563
|
attribute float size;
|
|
29564
29564
|
varying vec3 vColor;
|
|
@@ -29570,17 +29570,13 @@ void main() {
|
|
|
29570
29570
|
gl_Position = projectionMatrix * mvPosition;
|
|
29571
29571
|
}`,fragmentShader:`
|
|
29572
29572
|
uniform sampler2D pointTexture;
|
|
29573
|
-
uniform float fade;
|
|
29574
29573
|
varying vec3 vColor;
|
|
29575
29574
|
void main() {
|
|
29576
|
-
|
|
29577
|
-
// the only way to dim stars \u2014 scene fog never reaches this shader. Driven by the
|
|
29578
|
-
// rain state so stars disappear in rain like in vanilla.
|
|
29579
|
-
gl_FragColor = vec4(vColor * fade, 1.0);
|
|
29575
|
+
gl_FragColor = vec4(vColor, 1.0);
|
|
29580
29576
|
|
|
29581
29577
|
#include <tonemapping_fragment>
|
|
29582
29578
|
#include <${nJe>=154?"colorspace_fragment":"encodings_fragment"}>
|
|
29583
|
-
}`})}},VP=class{constructor(e){this.worldRenderer=e}points;timer=new Hs;enabled=!1;currentTime;fade=1;enable(){this.enabled||(this.enabled=!0,this.updateVisibility())}disable(){this.enabled&&(this.enabled=!1,this.removeStars())}toggle(){return this.enabled?this.disable():this.enable(),this.enabled}enablementCheck=()=>this.currentTime?this.currentTime>13500&&this.currentTime<23e3:!1;render=e=>{if(!this.points)return;this.points.position.set(0,0,0);let t=this.points.material;this.timer.update(performance.now()),t.uniforms.time.value=this.timer.getElapsed()*.2;let n=this.worldRenderer.worldRendererConfig.isRaining?0:1,r=Math.min(1,e*2);this.fade+=(n-this.fade)*r,t.uniforms.fade.value=this.fade};updateTimeOfDay(e){this.currentTime=e,this.enabled&&this.updateVisibility()}updateVisibility(){if(!this.enabled)return;let e=this.enablementCheck?.()??!1;e&&!this.points?this.createStars():!e&&this.points&&this.removeStars()}createStars(){if(this.points)return;let e=80,t=50,n=7e3,r=7,s=10,a=new dt,o=b=>new X().setFromSpherical(new Jf(b,Math.acos(1-Math.random()*2),Math.random()*2*Math.PI)),l=[],c=[],u=Array.from({length:n},()=>(.5+.5*Math.random())*r),d=new We,f=e+t,v=t/n;for(let b=0;b<n;b++)f-=v*Math.random(),l.push(...o(f).toArray()),d.setHSL(b/n,s,.9),c.push(d.r,d.g,d.b);a.setAttribute("position",new Je(l,3)),a.setAttribute("color",new Je(c,3)),a.setAttribute("size",new Je(u,1));let g=new FP;g.blending=es,g.depthTest=!0,g.depthWrite=!1,g.transparent=!0,this.points=new gr(a,g),this.points.renderOrder=-1,this.worldRenderer.scene.add(this.points)}dispose(){this.removeStars()}removeStars(){this.points&&(this.points.geometry.dispose(),this.points.material.dispose(),this.worldRenderer.scene.remove(this.points),this.points=void 0)}},z4e={id:"starfield",controller:VP,enabledDefault:!0,cannotBeDisabled:!0};var H4e={starfield:z4e,futuristicReveal:V4e,rain:O4e,cameraBobbing:P4e,blockBreakParticles:C4e};h();p();m();h();p();m();var zP=()=>({longRenderTime:!1,constantLongRenderTime:!1,tooManyEntities:!1,tooManyTextures:!1,unknownReason:!1});h();p();m();h();p();m();var hg=class{constructor(e){this.factors=e}renderTimeHistory=[];onFrame(e){this.pushRenderTime(e.totalMs),this.recompute(e)}pushRenderTime(e){this.renderTimeHistory.push(e),this.renderTimeHistory.length>24&&this.renderTimeHistory.shift()}recompute(e){let t=e.fps>0&&e.fps<=45,n=Math.max(0,e.totalMs-e.entitiesMs),r=e.totalMs>=30,s=this.renderTimeHistory.length,a=this.renderTimeHistory.filter(f=>f>=30).length,o=s>=8&&a/s>=.65,l=e.loadedTextureCount>=100,c=t&&e.entitiesMs>=8&&n<=20,d=t&&!(r||o||c||l);this.factors.longRenderTime=r,this.factors.constantLongRenderTime=o,this.factors.tooManyEntities=c,this.factors.tooManyTextures=l,this.factors.unknownReason=d}reset(){this.renderTimeHistory.length=0,this.factors.longRenderTime=!1,this.factors.constantLongRenderTime=!1,this.factors.tooManyEntities=!1,this.factors.tooManyTextures=!1,this.factors.unknownReason=!1}};h();p();m();var lJe=[{key:"longRenderTime",code:"LR"},{key:"constantLongRenderTime",code:"CLR"},{key:"tooManyEntities",code:"ENT"},{key:"tooManyTextures",code:"TEX"},{key:"unknownReason",code:"UNK"}];function qP(i){let e=lJe.filter(({key:t})=>i[t]).map(({code:t})=>t);return e.length>0?e.join("+"):""}var ia=class ia extends Ry{constructor(t,n,r){if(!r.resourcesManager)throw new Error("resourcesManager is required in displayOptions");super(r.resourcesManager,r,n);this.renderer=t;this.initOptions=n;this.displayOptions=r;this.performanceMonitor=new hg(this.reactiveState.world.instabilityFactors),this.renderer=t;let s=ia.getRendererInfo(t)??"...";r.rendererState.renderer=s,this.chunkMeshManager=new fg(this,this.scene,this.material,this.worldSizeParams.worldHeight,this.viewDistance),this.onRenderDistanceChanged=a=>{this.chunkMeshManager.updateViewDistance(a)},typeof window<"u"&&(window.setBlockLightmap=a=>{this.chunkMeshManager.setBlockLightmapParams(a)}),this.syncSkyLevelFromTime(this.timeOfTheDay),this.cursorBlock=new Bb(this),this.holdingBlock=sg(this),this.holdingBlockLeft=sg(this,!0);for(let a of Object.values(H4e))this.registerModule(a);this.skyboxRenderer=new qb(this.realScene,!1,null),this.skyboxRenderer.init(),this.addDebugOverlay(),this.resetScene(),this.init(),this.soundSystem=new Ob(this),this.cameraShake=new Nb(this,this.onRender),this.media=new Ub(this),this.fireworksLegacy=new zb(this),this.waypoints=new Vb(this),this.cinimaticScript=new Hb(this,(a,o,l)=>this.setCinimaticCamera(a,o,l),a=>this.setCinimaticFov(a),()=>({position:new kt(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),yaw:this.cameraShake.getBaseRotation().yaw,pitch:this.cameraShake.getBaseRotation().pitch,fov:this.camera.fov})),this.fireworks=new Gb(this.realScene,this.sceneOrigin),this.renderUpdateEmitter.on("chunkFinished",a=>{this.finishChunk(a)}),this.worldSwitchActions(),this.initializeModules()}outputFormat="threeJs";isShaderCubeBlocksEnabled(){return this.worldRendererConfig.shaderCubeBlocks===!0&&!!this.renderer?.capabilities?.isWebGL2}chunkMeshManager;get sectionObjects(){return this.chunkMeshManager.sectionObjects}cameraSectionPos=new kt(0,0,0);holdingBlock;holdingBlockLeft;scene=new Rr;get realScene(){return this.scene}ambientLight=new wa(13421772,ia.LEGACY_TO_PHYSICAL_LIGHT);directionalLight=new Ss(16777215,.5*ia.LEGACY_TO_PHYSICAL_LIGHT);entities=new Lb(this,globalThis.mcData);performanceMonitor;cameraGroupVr;material=new _t({vertexColors:!0,transparent:!0,alphaTest:.1});itemsTexture;cursorBlock;onRender=[];lastRenderTime=0;lastSciFiTickMs=0;animatedFov=0;lastFovAnimTime=0;cameraShake;cameraContainer;media;get waitingChunksToDisplay(){return this.chunkMeshManager.waitingChunksToDisplay}waypoints;cinimaticScript;camera;renderTimeAvg=0;pendingSectionUpdates=new Map;pendingSectionBufferStartTimes=new Map;get estimatedMemoryUsage(){return this.chunkMeshManager.getEstimatedMemoryUsage().total}modules={};sectionsOffsetsAnimations={};fountains=[];fireworksLegacy;DEBUG_RAYCAST=!1;skyboxRenderer;fireworks;sceneOrigin=new Wb(this.scene);cameraWorldPos={x:0,y:0,z:0};_cameraPositionAccessWarned=!1;_tmpCameraPos=new X;currentPosTween;currentRotTween;_tpDirection=new X;_tpPitchQuat=new qt;_tpYawQuat=new qt;_tpFinalQuat=new qt;_tpScenePos=new X;_tpAxisX=new X(1,0,0);_tpAxisY=new X(0,1,0);_tpChunkWorldPos=new X;get tilesRendered(){return this.chunkMeshManager.getTotalTiles()}get blocksRendered(){return this.chunkMeshManager.getTotalBlocks()}registerModule(t){if(t.id in this.modules){console.warn(`Module ${t.id} is already registered`);return}let n=new t.controller(this),r={manifest:t,controller:n,enabled:!1,toggle:()=>this.toggleModule(t.id)};this.modules[t.id]=r,t.enabledDefault&&this.toggleModule(t.id,!0)}enableModule(t){let n=this.modules[t];if(!n){console.warn(`Module ${t} not found`);return}n.enabled||(n.enabled=!0,n.controller.enable(),n.controller.render&&this.onRender.push(n.controller.render))}disableModule(t){let n=this.modules[t];if(!n){console.warn(`Module ${t} not found`);return}if(n.manifest.cannotBeDisabled){console.warn(`Module ${t} cannot be disabled`);return}if(n.enabled&&(n.enabled=!1,n.controller.disable(),n.controller.render)){let r=this.onRender.indexOf(n.controller.render);r>-1&&this.onRender.splice(r,1)}}toggleModule(t,n){let r=this.modules[t];if(!r)return console.warn(`Module ${t} not found`),!1;let s=n!==void 0?n:!r.enabled;if(s===r.enabled)return r.enabled;if(!s&&r.manifest.cannotBeDisabled)return console.warn(`Module ${t} cannot be disabled`),!0;if(r.enabled=s,s)r.controller.enable(),r.controller.render&&!this.onRender.includes(r.controller.render)&&this.onRender.push(r.controller.render);else if(r.controller.disable(),r.controller.render){let a=this.onRender.indexOf(r.controller.render);a>-1&&this.onRender.splice(a,1)}return s}setRain(t){this.worldRendererConfig.isRaining=t,this.toggleModule("rain",t)}disposeModules(){for(let t of Object.values(this.modules))t.controller.dispose();this.modules={}}initializeModules(){this.updateModulesFromConfig()}getModule(t){return this.modules[t]?.controller}anyModuleRequiresHeightmap(){return Object.values(this.modules).some(t=>t.enabled&&t.manifest.requiresHeightmap)}get cameraObject(){return this.cameraGroupVr??this.cameraContainer}_wrapCameraPositionWithWarning(){let t=this.camera.position,n=this,r=20,s=(l,c,u)=>Math.abs(l)>r||Math.abs(c)>r||Math.abs(u)>r,a=()=>{!n._cameraPositionAccessWarned&&typeof process<"u"},o=new Proxy(t,{set(l,c,u){return(c==="x"||c==="y"||c==="z")&&typeof u=="number"&&Math.abs(u)>r&&a(),l[c]=u,!0},get(l,c,u){let d=l[c];return c==="set"?function(f,v,g){return s(f,v,g)&&a(),l.set(f,v,g)}:c==="setX"||c==="setY"||c==="setZ"?function(f){return Math.abs(f)>r&&a(),l[c](f)}:c==="copy"?function(f){return s(f.x,f.y,f.z)&&a(),l.copy(f)}:typeof d=="function"?d.bind(l):d}});Object.defineProperty(this.camera,"position",{value:o,configurable:!0,enumerable:!0})}worldSwitchActions(){this.onWorldSwitched.push(()=>{this.getModule("futuristicReveal")?.onWorldSwitched?.(),this.protocolCustomBlocks.clear(),this.sectionsOffsetsAnimations={},this.waypoints.clear(),this.cinimaticScript.stopScript(),this.fireworks.clear(),this.syncSkyLevelFromTime(this.timeOfTheDay)})}downloadWorldGeometry(){MP(this,new X(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),this.cameraShake.getBaseRotation(),"world-geometry.json")}updateEntity(t,n=!1){let r={rotation:{head:{x:t.headPitch??t.pitch,y:t.headYaw,z:0}}};n?this.entities.updateEntityPosition(t,!1,r):this.entities.update(t,r)}updatePlayerEntity(t){this.entities.handlePlayerEntity(t)}resetScene(){this.sceneOrigin.update(0,0,0),this.cameraWorldPos.x=0,this.cameraWorldPos.y=0,this.cameraWorldPos.z=0,this.scene.matrixAutoUpdate=!1,this.scene.background=new We(this.initOptions.config.sceneBackground),this.scene.add(this.ambientLight),this.directionalLight.position.set(1,1,.5).normalize(),this.directionalLight.castShadow=!0,this.scene.add(this.directionalLight);let t=this.renderer.getSize(new ze);this.camera=new fn(75,t.x/t.y,.1,1e3),this._wrapCameraPositionWithWarning(),this.cameraContainer=new Ut,this.cameraContainer.add(this.camera),this.scene.add(this.cameraContainer)}watchReactivePlayerState(){super.watchReactivePlayerState(),this.onReactivePlayerStateUpdated("inWater",t=>{this.skyboxRenderer.updateWaterState(t,this.playerStateReactive.waterBreathing)}),this.onReactivePlayerStateUpdated("waterBreathing",t=>{this.skyboxRenderer.updateWaterState(this.playerStateReactive.inWater,t)}),this.onReactivePlayerStateUpdated("ambientLight",t=>{t&&(this.ambientLight.intensity=t*ia.LEGACY_TO_PHYSICAL_LIGHT)}),this.onReactivePlayerStateUpdated("directionalLight",t=>{t&&(this.directionalLight.intensity=t*ia.LEGACY_TO_PHYSICAL_LIGHT)}),this.onReactivePlayerStateUpdated("lookingAtBlock",t=>{this.cursorBlock.setHighlightCursorBlock(t?new kt(t.x,t.y,t.z):null,t?.shapes)}),this.onReactivePlayerStateUpdated("diggingBlock",t=>{this.cursorBlock.updateBreakAnimation(t?{x:t.x,y:t.y,z:t.z}:void 0,t?.stage??null,t?.mergedShape)}),this.onReactivePlayerStateUpdated("perspective",t=>{let n=new kt(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z);this.updateCamera(n,this.cameraShake.getBaseRotation().yaw,this.cameraShake.getBaseRotation().pitch)})}watchReactiveConfig(){super.watchReactiveConfig(),this.onReactiveConfigUpdated("showChunkBorders",r=>{this.updateShowChunksBorder(r)}),this.onReactiveConfigUpdated("defaultSkybox",r=>{this.skyboxRenderer.updateDefaultSkybox(r)}),this.onReactiveConfigUpdated("shaderCubeDebugMode",()=>{this.chunkMeshManager.syncCubeShaderUniforms(),this.chunkMeshManager.syncLegacyShaderUniforms()});let t=()=>{let r=this.worldRendererConfig;this.chunkMeshManager.setShadingTheme(r.shadingTheme,r.cardinalLight)};this.onReactiveConfigUpdated("shadingTheme",t),this.onReactiveConfigUpdated("cardinalLight",t),this.onReactiveConfigUpdated("futuristicReveal",()=>{this.updateModulesFromConfig()});let n=this.displayOptions.inWorldRenderingConfig.handRenderer;this.onReactiveConfigUpdated("handRenderer",r=>{if(r===n)return;n=r;let s=this.holdingBlock.ready,a=this.holdingBlockLeft.ready;this.holdingBlock.dispose(),this.holdingBlockLeft.dispose(),this.holdingBlock=sg(this),this.holdingBlockLeft=sg(this,!0),s&&(this.holdingBlock.ready=!0,this.holdingBlock.updateItem()),a&&(this.holdingBlockLeft.ready=!0,this.holdingBlockLeft.updateItem())}),this.onReactiveConfigUpdated("*",()=>{this.updateModulesFromConfig()}),this.updateModulesFromConfig()}updateModulesFromConfig(){let{moduleStates:t}=this.worldRendererConfig;for(let[n,r]of Object.entries(this.modules)){let s=t[n];if(s==="enabled"){r.enabled||this.toggleModule(n,!0);continue}if(s==="disabled"){r.enabled&&!r.manifest.cannotBeDisabled&&this.toggleModule(n,!1);continue}if(s==="auto"||s===void 0)if(r.controller.autoEnableCheck){let a=r.controller.autoEnableCheck();a&&!r.enabled?this.toggleModule(n,!0):!a&&r.enabled&&!r.manifest.cannotBeDisabled&&this.toggleModule(n,!1)}else{let a=r.manifest.enabledDefault??!1;a&&!r.enabled?this.toggleModule(n,!0):!a&&r.enabled&&!r.manifest.cannotBeDisabled&&this.toggleModule(n,!1)}}}changeHandSwingingState(t,n=!1){let r=n?this.holdingBlockLeft:this.holdingBlock;t?r.startSwing():r.stopSwing()}async updateAssetsData(){let t=this.resourcesManager.currentResources,n=this.material.map,r=this.itemsTexture,s=cc(t.blocksAtlasImage);s.needsUpdate=!0,s.flipY=!1,this.material.map=s,this.chunkMeshManager.syncCubeShaderUniforms(),this.chunkMeshManager.syncLegacyShaderUniforms();let a=cc(t.itemsAtlasImage);a.needsUpdate=!0,a.flipY=!1,this.itemsTexture=a,n&&n.dispose(),r&&r.dispose(),await super.updateAssetsData(),this.onAllTexturesLoaded(),Object.keys(this.loadedChunks).length>0&&(console.log("rerendering chunks because of texture update"),this.rerenderAllChunks())}onAllTexturesLoaded(){this.holdingBlock.ready=!0,this.holdingBlock.updateItem(),this.holdingBlockLeft.ready=!0,this.holdingBlockLeft.updateItem()}changeBackgroundColor(t){this.realScene.background=new We(t[0],t[1],t[2])}changeCardinalLight(t){this.worldRendererConfig.cardinalLight=t}timeUpdated(t){let n=this.getModule("starfield");n?.updateTimeOfDay&&n.updateTimeOfDay(t),this.skyboxRenderer.updateTime(t),this.syncSkyLevelFromTime(t)}syncSkyLevelFromTime(t){let n=Ml(t)/15;this.chunkMeshManager.setSkyLevel(n)}onDayCycleSkyLightChanged(t){}biomeUpdated(t){t?.temperature!==void 0&&this.skyboxRenderer.updateTemperature(t.temperature)}biomeReset(){this.skyboxRenderer.updateTemperature(vP)}getItemRenderData(t,n){return k_e(t,n,this.resourcesManager,this.playerStateReactive)}async demoModel(){let t=cursorBlockRel(0,1,0).position,n=await Pv();Sve(n,t);let r=new Ea(n,16776960);n.add(r),this.realScene.add(n)}demoItem(){let t=cursorBlockRel(0,1,0).position,{mesh:n}=this.entities.getItemMesh({itemId:541},{});n.position.set(t.x+.5,t.y+.5,t.z+.5);let r=new Ea(n,16776960);n.add(r),this.realScene.add(n)}debugOverlayAdded=!1;addDebugOverlay(){if(this.debugOverlayAdded)return;this.debugOverlayAdded=!0;let t=i4("debug-overlay",80,0,void 0,{className:r4});setInterval(()=>{if(t.setVisibility(this.displayAdvancedStats),this.displayAdvancedStats){let n=c=>new Intl.NumberFormat("en-US",{}).format(c),r=c=>new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(c),s="";s+=`TE: ${n(this.renderer.info.memory.textures)} `;let a=this.chunkMeshManager.getGlobalBufferStats();if(a.shaderFaces){let c=a.shaderFaces;s+=`CUBE: ${r(c.used)}/${r(c.capacity)}f `}if(a.legacyOpaque){let c=a.legacyOpaque;s+=`LEG-O: ${r(c.used)}/${r(c.capacity)}q `}if(a.legacyBlend){let c=a.legacyBlend;s+=`LEG-B: ${r(c.used)}/${r(c.capacity)}q `}s+=`MEM: ${this.chunkMeshManager.getEstimatedMemoryUsage().total} `;let o=this.cameraCollisionBlockCache.getAllocatedBytes();o>0&&(s+=`CAM: ${r(o)}b `);let l=qP(this.reactiveState.world.instabilityFactors);l&&(s+=`PF: ${l} `),t.updateText(s),this.backendInfoReport=s}},200)}updatePosDataChunk(t){let n=this.sectionObjects[t];if(!n)return;let[r,s,a]=t.split(",").map(u=>Math.floor(+u/16)),l=500-(Math.abs(r-this.cameraSectionPos.x)+Math.abs(s-this.cameraSectionPos.y)+Math.abs(a-this.cameraSectionPos.z)),c=n.mesh??n.shaderMesh??n.children.find(u=>u.name==="mesh"||u.name==="shaderMesh");c&&(c.renderOrder=l)}cameraSectionPositionUpdate(){for(let t in this.sectionObjects)this.sectionObjects[t]&&this.updatePosDataChunk(t)}getDir(t,n){return t===n?0:t<n?1:-1}finishChunk(t){this.chunkMeshManager.finishChunkDisplay(t),this.getModule("futuristicReveal")?.onChunkFinished?.()}applyPendingSectionUpdates(){if(this.pendingSectionUpdates.size===0)return;let t=performance.now(),n=this.getSectionHeight(),r=[];for(let s of this.pendingSectionUpdates.keys()){let a=this.pendingSectionBufferStartTimes.get(s)??t;if(t-a<ia.MAX_SECTION_UPDATE_BUFFER_MS){let[l,c,u]=s.split(",").map(Number),d=[`${l-16},${c},${u}`,`${l+16},${c},${u}`,`${l},${c-n},${u}`,`${l},${c+n},${u}`,`${l},${c},${u-16}`,`${l},${c},${u+16}`],f=!1;for(let v of d)if(this.sectionsWaiting.has(v)&&!this.pendingSectionUpdates.has(v)&&this.sectionObjects[v]){f=!0;break}if(f)continue}r.push(s)}if(r.length!==0)for(let s of r){let a=this.pendingSectionUpdates.get(s);this.pendingSectionUpdates.delete(s),this.pendingSectionBufferStartTimes.delete(s);let o=a.key.split(","),l=`${o[0]},${o[2]}`;if(!this.loadedChunks[l]||!this.active){this.chunkMeshManager.releaseSection(a.key);continue}if(!this.chunkMeshManager.sectionHasRenderableContent(a.geometry)){this.chunkMeshManager.releaseSection(a.key);continue}let c=this.chunkMeshManager.updateSection(a.key,a.geometry);this.updatePosDataChunk(a.key),c&&this.getModule("futuristicReveal")?.onSectionMeshed?.(a.key,a.geometry,c)}}clearPendingSectionUpdatesForChunk(t,n){for(let r of[...this.pendingSectionUpdates.keys()])r.startsWith(`${t},`)&&r.endsWith(`,${n}`)&&(this.pendingSectionUpdates.delete(r),this.pendingSectionBufferStartTimes.delete(r))}handleWorkerMessage(t){if(t.type==="geometry"){let n=t.key.split(","),r=`${n[0]},${n[2]}`;if(!this.loadedChunks[r]||!this.active){this.pendingSectionUpdates.delete(t.key),this.pendingSectionBufferStartTimes.delete(t.key);return}if(this.sectionObjects[t.key]){this.pendingSectionUpdates.set(t.key,t),this.pendingSectionBufferStartTimes.has(t.key)||this.pendingSectionBufferStartTimes.set(t.key,performance.now());return}if(!this.chunkMeshManager.sectionHasRenderableContent(t.geometry)){this.chunkMeshManager.releaseSection(t.key);return}let s=this.chunkMeshManager.updateSection(t.key,t.geometry);this.updatePosDataChunk(t.key),s&&this.getModule("futuristicReveal")?.onSectionMeshed?.(t.key,t.geometry,s)}}getCameraPosition(t){return(t??this._tmpCameraPos).set(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z)}getSectionCameraPosition(){let t=this.getCameraPosition();return new kt(Math.floor(t.x/16),Math.floor(t.y/16),Math.floor(t.z/16))}updateCameraSectionPos(){let t=this.getSectionCameraPosition();this.cameraSectionPos.equals(t)||(this.cameraSectionPos=t,this.cameraSectionPositionUpdate())}setFirstPersonCamera(t,n,r){let s=this.playerStateReactive.eyeHeight;this.updateCamera(t?.offset(0,s,0)??null,n,r),this.updateCameraSectionPos()}getThirdPersonCamera(t,n,r){t??=new X(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z);let s=this.playerStateReactive.perspective==="third_person_back",a=4,o=this._tpDirection.set(0,0,-1),l=this._tpPitchQuat.setFromAxisAngle(this._tpAxisX,r),c=this._tpYawQuat.setFromAxisAngle(this._tpAxisY,n),u=this._tpFinalQuat.multiplyQuaternions(c,l);o.applyQuaternion(u),s&&o.multiplyScalar(-1),this.DEBUG_RAYCAST&&this.debugRaycast(t,o,a);let d=.25,f=.05,v=.4,g=this.cameraCollisionBlockCache,b=k4e(t.x,t.y,t.z,o.x,o.y,o.z,a,d,f,(_,x,w)=>g.isSolidBlock(_,x,w)),y=a;return b!==void 0&&(y=Math.min(y,b.distance)),y<v&&(y=v),new kt(t.x+o.x*y,t.y+o.y*y,t.z+o.z*y)}debugRaycastHelper;debugHitPoint;debugRaycast(t,n,r){this.debugRaycastHelper&&(this.realScene.remove(this.debugRaycastHelper),this.debugRaycastHelper=void 0),this.debugHitPoint&&(this.realScene.remove(this.debugHitPoint),this.debugHitPoint=void 0);let s=new X(this.sceneOrigin.toSceneX(t.x),this.sceneOrigin.toSceneY(t.y),this.sceneOrigin.toSceneZ(t.z));this.debugRaycastHelper=new F0(n.clone().normalize(),s,r,16711680,r*.1,r*.05),this.realScene.add(this.debugRaycastHelper);let a=new xs(.2,8,8),o=new _t({color:65280});this.debugHitPoint=new Ke(a,o),this.debugHitPoint.position.copy(s).add(n.clone().multiplyScalar(r)),this.realScene.add(this.debugHitPoint)}prevFramePerspective=null;setCinimaticCamera(t,n,r){this.cameraWorldPos.x=t.x,this.cameraWorldPos.y=t.y,this.cameraWorldPos.z=t.z,this.sceneOrigin.update(t.x,t.y,t.z),this.cameraObject.position.set(0,0,0),this.cameraShake.setBaseRotation(r,n),this.updateCameraSectionPos()}setCinimaticFov(t){this.animatedFov=t,this.camera.fov=t,this.camera.updateProjectionMatrix()}updateSmoothFov(){if(this.cinimaticScript.running)return;let t=this.displayOptions.inWorldRenderingConfig.fov,n=this.playerStateReactive.fovMultiplier,r=t*(Number.isFinite(n)?n:1),s=performance.now();if(this.animatedFov===0&&(this.animatedFov=r),Math.abs(this.animatedFov-r)>=.01){let a=s-this.lastFovAnimTime,o=Math.min(a/ia.FOV_TRANSITION_MS,1),l=c=>1-(1-c)**3;this.animatedFov+=(r-this.animatedFov)*l(o),Math.abs(this.animatedFov-r)<.01&&(this.animatedFov=r)}else this.animatedFov=r;this.lastFovAnimTime=s,this.camera.fov!==this.animatedFov&&(this.camera.fov=this.animatedFov,this.camera.updateProjectionMatrix())}updateCamera(t,n,r){if(!this.cinimaticScript.running){if(t){this.renderer.xr.isPresenting&&(t.y-=this.camera.position.y),this.currentPosTween?.stop();let s=this.displayOptions.inWorldRenderingConfig.instantCameraUpdate?0:this.playerStateUtils.isSpectatingEntity()?150:50;this.currentPosTween=new jr(this.cameraWorldPos).to({x:t.x,y:t.y,z:t.z},s).onUpdate(()=>{this.sceneOrigin.update(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),this.cameraObject.position.set(0,0,0)}).start()}if(this.playerStateUtils.isSpectatingEntity()){let s=this.cameraShake.getBaseRotation(),a=0,o=Math.PI/2;s.yaw<o&&n>Math.PI+o?a=-Math.PI*2:n<o&&s.yaw>Math.PI+o&&(a=Math.PI*2),this.currentRotTween?.stop(),this.currentRotTween=new jr(s).to({pitch:r,yaw:n+a},100).onUpdate(l=>this.cameraShake.setBaseRotation(l.pitch,l.yaw-a)).start()}else{this.currentRotTween?.stop(),this.cameraShake.setBaseRotation(r,n);let{perspective:s}=this.playerStateReactive;if(s==="third_person_back"||s==="third_person_front"){let a=new X(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),o=this.getThirdPersonCamera(a,n,r),l=a.distanceTo(new X(o.x,o.y,o.z)),c=s==="third_person_back"?l:-l;this.camera.position.set(0,0,c),s==="third_person_front"?this.camera.rotation.set(0,Math.PI,0):this.camera.rotation.set(0,0,0)}else this.camera.position.z=0,this.camera.rotation.set(0,0,0),this.debugRaycastHelper&&(this.realScene.remove(this.debugRaycastHelper),this.debugRaycastHelper=void 0),this.debugHitPoint&&(this.realScene.remove(this.debugHitPoint),this.debugHitPoint=void 0)}this.updateCameraSectionPos()}}debugChunksVisibilityOverride(){let{chunksRenderAboveOverride:t,chunksRenderBelowOverride:n,chunksRenderDistanceOverride:r,chunksRenderAboveEnabled:s,chunksRenderBelowEnabled:a,chunksRenderDistanceEnabled:o}=this.reactiveDebugParams,l=this.getSectionHeight(),c=this.cameraSectionPos.y*l;if(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay&&t!==void 0||n!==void 0||r!==void 0)for(let[u,d]of Object.entries(this.sectionObjects)){if(d._waitingForChunkDisplay)continue;let[f,v,g]=u.split(",").map(Number),b=s&&t!==void 0?v<=c+t:a&&n!==void 0?v>=c-n:o&&r!==void 0?Math.abs(v-c)<=r:!0;d.visible=b}else this.chunkMeshManager.updateSectionsVisibility()}render(t=!1){if(this.currentRenderedFrames++,this.reactiveDebugParams.stopRendering)return;this.debugChunksVisibilityOverride();let n=performance.now();this.lastRendered=performance.now();let r=this.lastRenderTime>0?Math.min(Math.max((n-this.lastRenderTime)/1e3,0),.1):1/60;this.lastRenderTime=n,this.cursorBlock.render(),this.updateSectionOffsets();let s=this.getCameraPosition();if(this.skyboxRenderer.update(s,this.viewDistance),this.updateSmoothFov(),t){let w=this.renderer.getSize(new ze);this.camera.aspect=w.width/w.height,this.camera.updateProjectionMatrix()}let a=0;if(!this.reactiveDebugParams.disableEntities){let w=performance.now();this.entities.render(),a=performance.now()-w}let o=this.cameraGroupVr instanceof bt?this.cameraGroupVr.children.find(w=>w instanceof fn):this.camera;this.applyPendingSectionUpdates();let l=performance.now(),c=l-this.lastSciFiTickMs;this.lastSciFiTickMs=l,this.getModule("futuristicReveal")?.tick?.(c,l);let u=this.cameraWorldPos.x,d=this.cameraWorldPos.y,f=this.cameraWorldPos.z;this.chunkMeshManager.maybeRebase({x:u,y:d,z:f});let v=this.chunkMeshManager.getRenderOrigin(),g=this.chunkMeshManager.globalBlockBuffer;g&&(g.setCameraOrigin(v,u,d,f),g.setDebugOverlay(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay),g.compactStep(),g.hasPendingUploads()&&g.uploadDirtyRange(),g.suppressThreeDraw());let b=this.chunkMeshManager.globalLegacyBuffer;b&&(b.setDebugOverlay(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay),b.compactStep(),b.hasPendingUploads()&&b.uploadDirtyRange(),b.suppressThreeDraw());let y=this.chunkMeshManager.globalLegacyBlendBuffer;y&&(y.setDebugOverlay(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay),y.compactStep(),y.hasPendingUploads()&&y.uploadDirtyRange(),y.suppressThreeDraw()),this.chunkMeshManager.markCullDirtyIfBufferStateChanged(),this.chunkMeshManager.setLegacyCameraOrigin(u,d,f),this.chunkMeshManager.updateCullDirtyFromCamera(o,u,d,f),this.chunkMeshManager.cullDirty&&(this.chunkMeshManager.updateSectionCullAndSort(o,this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),this.chunkMeshManager.clearCullDirty()),this.renderer.render(this.scene,o),this.displayOptions.inWorldRenderingConfig.showHand&&this.playerStateReactive.gameMode!=="spectator"&&this.playerStateReactive.perspective==="first_person"&&!this.renderer.xr.isPresenting&&(this.holdingBlock.render(this.camera,this.renderer,this.ambientLight,this.directionalLight),this.holdingBlockLeft.render(this.camera,this.renderer,this.ambientLight,this.directionalLight));for(let w of this.fountains)this.sectionObjects[w.sectionId]&&!this.sectionObjects[w.sectionId].foutain&&(w.createParticles(this.sectionObjects[w.sectionId]),this.sectionObjects[w.sectionId].foutain=!0),w.render();this.waypoints.render(),this.fireworks.update();for(let w of this.onRender)w(r);let x=performance.now()-n;this.worldRendererConfig.autoLowerRenderDistance&&this.chunkMeshManager.recordRenderTime(x),this.renderTimeAvgCount++,this.renderTimeAvg=(this.renderTimeAvg*(this.renderTimeAvgCount-1)+x)/this.renderTimeAvgCount,this.renderTimeMax=Math.max(this.renderTimeMax,x),this.performanceMonitor.onFrame({totalMs:x,entitiesMs:a,loadedTextureCount:this.renderer.info.memory.textures,fps:this.lastFps})}renderHead(t,n,r,s){let a;if(s.SkullOwner?a=s.SkullOwner.Properties?.textures?.[0]?.Value:a=s.profile?.properties?.find(o=>o.name==="textures")?.value,!!a)try{let l=JSON.parse(Buffer.from(a,"base64").toString()).textures?.SKIN?.url,{skinTexturesProxy:c}=this.worldRendererConfig;c&&(l=l?.replace("http://textures.minecraft.net/",c).replace("https://textures.minecraft.net/",c));let u=$c(this,l,Yc.head),d=new bt;return r&&u.position.set(0,.3125,.3125),u.position.y-=23/16,d.add(u),this.sceneOrigin.track(d),d.position.set(t.x+.5,t.y+.045,t.z+.5),d.rotation.set(0,-Ot.degToRad(n*(r?90:45/2)),0),d.scale.set(.8,.8,.8),d}catch(o){console.error("Error decoding player texture:",o)}}lightUpdate(t,n){for(let r=this.worldSizeParams.minY;r<this.worldSizeParams.worldHeight;r+=16)this.setSectionDirty(new kt(t,r,n))}rerenderAllChunks(){for(let t of Object.keys(this.sectionObjects)){let[n,r,s]=t.split(",").map(Number);this.setSectionDirty(new kt(n,r,s))}}updateShowChunksBorder(t){this.chunkMeshManager.updateAllBoxHelpers(t)}resetWorld(){super.resetWorld(),this.pendingSectionUpdates.clear(),this.pendingSectionBufferStartTimes.clear(),this.chunkMeshManager.dispose(),this.chunkMeshManager=new fg(this,this.scene,this.material,this.worldSizeParams.worldHeight,this.viewDistance),this.debugRaycastHelper&&(this.realScene.remove(this.debugRaycastHelper),this.debugRaycastHelper=void 0),this.debugHitPoint&&(this.realScene.remove(this.debugHitPoint),this.debugHitPoint=void 0)}getLoadedChunksRelative(t,n=!1){let[r,s,a]=NE(t);return Object.fromEntries(Object.entries(this.sectionObjects).map(([o,l])=>{let[c,u,d]=o.split(",").map(Number),[f,v,g]=NE({x:c,y:u,z:d});return[n?`${f-r},${v-s},${g-a}`:`${f-r},${g-a}`,l]}))}readdChunks(){for(let t of Object.keys(this.sectionObjects))this.scene.remove(this.sectionObjects[t]);setTimeout(()=>{for(let t of Object.keys(this.sectionObjects))this.scene.add(this.sectionObjects[t])},500)}disableUpdates(t=this.scene.children){for(let n of t)n.matrixWorldNeedsUpdate=!1,this.disableUpdates(n.children??[])}removeColumn(t,n){super.removeColumn(t,n),this.clearPendingSectionUpdatesForChunk(t,n);let r=this.getSectionHeight(),s=this.worldMinYRender;for(let a=s;a<this.worldSizeParams.worldHeight;a+=r){let o=`${t},${a},${n}`;this.chunkMeshManager.sectionObjects[o]&&this.chunkMeshManager.releaseSection(o)}this.chunkMeshManager.onChunkRemovedFromGate(`${t},${n}`)}updateViewerPosition(t){super.updateViewerPosition(t),this.chunkMeshManager.pendingNearReveal.size>0&&this.chunkMeshManager.tryRevealPending()}onViewerChunkPositionChanged(){this.chunkMeshManager.tryRevealPending()}setSectionDirty(...t){super.setSectionDirty(...t)}static getRendererInfo(t){try{let n=t.getContext();return`${n.getParameter(n.getExtension("WEBGL_debug_renderer_info").UNMASKED_RENDERER_WEBGL)}`}catch(n){console.warn("Failed to get renderer info",n)}}worldStop(){this.media.onWorldStop()}destroy(){this.performanceMonitor?.reset(),this.pendingSectionUpdates.clear(),this.pendingSectionBufferStartTimes.clear(),this.chunkMeshManager.dispose(),this.disposeModules(),this.fireworksLegacy.destroy(),super.destroy(),this.skyboxRenderer.dispose(),this.fireworks.dispose()}shouldObjectVisible(t){let r=this.getSectionHeight(),s,a,o,l=this.sceneOrigin.getWorldPosition(t);l?(s=l.x,a=l.y,o=l.z):(s=this.sceneOrigin.toWorldX(t.position.x),a=this.sceneOrigin.toWorldY(t.position.y),o=this.sceneOrigin.toWorldZ(t.position.z));let c=Math.floor(s/16)*16,u=Math.floor(o/16)*16,d=Math.floor(a/r)*r,f=`${c},${u}`,v=`${c},${d},${u}`;return!!this.finishedChunks[f]||!!this.sectionObjects[v]}handleUserClick(t){this.media.handleUserClick(t)}updateSectionOffsets(){let t=performance.now();for(let[n,r]of Object.entries(this.sectionsOffsetsAnimations)){let s=(t-r.time)/1e3;r.time=t,r.currentOffsetX+=r.speedX*s,r.currentOffsetY+=r.speedY*s,r.currentOffsetZ+=r.speedZ*s,r.limitX!==void 0&&(r.speedX>0?r.currentOffsetX=Math.min(r.currentOffsetX,r.limitX):r.currentOffsetX=Math.max(r.currentOffsetX,r.limitX)),r.limitY!==void 0&&(r.speedY>0?r.currentOffsetY=Math.min(r.currentOffsetY,r.limitY):r.currentOffsetY=Math.max(r.currentOffsetY,r.limitY)),r.limitZ!==void 0&&(r.speedZ>0?r.currentOffsetZ=Math.min(r.currentOffsetZ,r.limitZ):r.currentOffsetZ=Math.max(r.currentOffsetZ,r.limitZ));let a=this.sectionObjects[n];a&&(a.position.set(r.currentOffsetX,r.currentOffsetY,r.currentOffsetZ),a.updateMatrix())}}reloadWorld(){this.entities.reloadEntities()}};Wn(ia,"LEGACY_TO_PHYSICAL_LIGHT",Math.PI),Wn(ia,"FOV_TRANSITION_MS",200),Wn(ia,"MAX_SECTION_UPDATE_BUFFER_MS",500);var Yd=ia;h();p();m();h();p();m();var mg="1.21.4";h();p();m();function Jd(i,e){i.aspect=e.width/e.height,i.updateProjectionMatrix()}h();p();m();h();p();m();var u0={mode:"v2",minecraftTextures:!0,v2Scene:"light",v2Camera:"dive",v2BlockGroup:"stainedGlass",v2CameraSpeedPercent:80,v2BlockSpeedPercent:40},GP=i=>i/100,g9={camera:GP(u0.v2CameraSpeedPercent),block:GP(u0.v2BlockSpeedPercent)};function WP(i,e=!1){return i?.mode?i.mode:e?"worldBlocks":u0.mode}h();p();m();Lt();h();p();m();var jP={};function XP(...i){let e=i.filter(n=>n.length>0).join("/"),t=typeof globalThis.location<"u"&&globalThis.location.href?globalThis.location.href:typeof jP<"u"&&jP.url?jP.url:`/${e}`;try{return new URL(e,t).href}catch{return`/${e}`}}var $P=new Date,W4e=$P.getMonth()===11&&$P.getDate()>=24&&$P.getDate()<=26,cJe=["panorama_3.webp","panorama_1.webp","panorama_4.webp","panorama_5.webp","panorama_0.webp","panorama_2.webp"],uJe=200,pg=class{constructor(e){this.documentRenderer=e;this.scene=new Rr,this.scene.background=new We(3294568);let t=new wa(13421772);this.scene.add(t);let n=new Ss(16777215,.5);n.position.set(1,1,.5).normalize(),n.castShadow=!0,this.scene.add(n),this.camera=new fn(85,e.canvas.width/e.canvas.height,.05,1e3),this.camera.position.set(0,0,0),this.camera.rotation.set(0,0,0)}scene;camera;startTimes=new Map;time=0;panoramaGroup=null;async init(){this.buildCubemap()}update(e,t){t&&Jd(this.camera,this.documentRenderer.canvas)}dispose(){this.scene.clear(),this.panoramaGroup=null,this.startTimes.clear()}buildCubemap(){let e=new Sn(1e3,1e3,1e3),t=[];for(let s of cJe)(async()=>{let o=XP("background",W4e?"christmas":"",s),l=await qu(o),c=cc(l);c.matrixAutoUpdate=!1,c.matrix.set(-1,0,1,0,1,0,0,0,1),c.wrapS=jn,c.wrapT=jn,c.minFilter=$t,c.magFilter=$t;let u=new _t({map:c,transparent:!0,side:In,depthWrite:!1,opacity:0});this.startTimes.set(u,Date.now()),t.push(u)})().catch(o=>{console.warn("[ClassicMenuBackground] Failed to load panorama face:",s,o)});let n=new Ke(e,t);n.onBeforeRender=()=>{this.time+=.01,n.rotation.y=Math.PI+this.time*.01,n.rotation.z=Math.sin(-this.time*.001)*.001;for(let s of t){let a=this.startTimes.get(s);if(a){let o=Date.now()-a;s.opacity=Math.min(1,o/uJe)}}};let r=new Ut;if(r.add(n),!W4e)for(let s=0;s<20;s++){let a=new o0("1.16.4","squid").mesh;a.position.set(Math.random()*30-15,Math.random()*20-10,Math.random()*10-17),a.rotation.set(0,Math.PI+Math.random(),-Math.PI/4,"ZYX");let o=Math.random()*.01;a.children[0].onBeforeRender=()=>{a.rotation.y+=o,a.rotation.z=Math.cos(n.rotation.y*3)*Math.PI/4-Math.PI/2},r.add(a)}this.scene.add(r),this.panoramaGroup=r}async debugImageInFrontOfCamera(){let e=await qu(XP("background","panorama_0.webp")),t=cc(e),n=new Ke(new zn(1e3,1e3),new _t({map:t}));n.position.set(0,0,-500),this.scene.add(n)}};h();p();m();Lt();h();p();m();var q5=["galaxy","nether","end","cyber","light"],G5=["cruise","barrel","dive","orbit","snake"],_9={galaxy:"Galaxy",nether:"Nether",end:"The End",cyber:"Cyber",light:"Light Space"},y9={cruise:"Cruise",barrel:"Barrel",dive:"Dive",orbit:"Orbit",snake:"Snake"},W5=["mixed","stainedGlass","wool","construction","glow","world"],b9={mixed:"Mixed",stainedGlass:"Stained glass",wool:"Wool",construction:"Construction",glow:"Glow",world:"World (grass & ores)"};var j4e=.1,Y4e={mixed:["white_wool","cyan_wool","blue_wool","purple_wool","white_stained_glass","cyan_stained_glass","blue_stained_glass","purple_stained_glass","glowstone","sea_lantern","amethyst_block","copper_block","gold_block","diamond_block"],stainedGlass:["white_stained_glass","orange_stained_glass","magenta_stained_glass","light_blue_stained_glass","yellow_stained_glass","lime_stained_glass","pink_stained_glass","gray_stained_glass","light_gray_stained_glass","cyan_stained_glass","purple_stained_glass","blue_stained_glass","brown_stained_glass","green_stained_glass","red_stained_glass","black_stained_glass"],wool:["white_wool","orange_wool","magenta_wool","light_blue_wool","yellow_wool","lime_wool","pink_wool","gray_wool","light_gray_wool","cyan_wool","purple_wool","blue_wool","brown_wool","green_wool","red_wool","black_wool"],construction:["copper_block","exposed_copper","weathered_copper","oxidized_copper","cut_copper","exposed_cut_copper","weathered_cut_copper","oxidized_cut_copper","iron_block","gold_block","diamond_block","emerald_block","netherite_block","lapis_block","redstone_block","coal_block","quartz_block","amethyst_block","bricks","stone_bricks","deepslate_bricks","polished_blackstone"],glow:["glowstone","sea_lantern","shroomlight","ochre_froglight","verdant_froglight","pearlescent_froglight","redstone_lamp","beacon"],world:["grass_block","podzol","mycelium","dirt","coarse_dirt","rooted_dirt","mud","clay","stone","cobblestone","mossy_cobblestone","deepslate","cobbled_deepslate","tuff","calcite","sand","red_sand","gravel","snow_block","coal_ore","deepslate_coal_ore","iron_ore","deepslate_iron_ore","copper_ore","deepslate_copper_ore","gold_ore","deepslate_gold_ore","diamond_ore","deepslate_diamond_ore","emerald_ore","deepslate_emerald_ore","lapis_ore","deepslate_lapis_ore","redstone_ore","deepslate_redstone_ore","nether_gold_ore","ancient_debris","oak_log","birch_log","spruce_log","jungle_log","acacia_log","dark_oak_log","mangrove_log","cherry_log","netherrack","soul_sand","basalt","end_stone"]},X4e={galaxy:{bg:132114,fog:132114,fogD:.011,blocks:[61695,54527,47359,59647,2280703,43263],emit:[13158,8789,6724],nebula:[4403,1114146,4386],galFn:i=>new We(i*.05,i*.2,i),ambient:264216,dir:3368703,pt1:43775,pt2:16729343,name:"GALAXY"},nether:{bg:917760,fog:917760,fogD:.016,blocks:[16720384,16737792,16750848,13373696,16729122,16755200],emit:[2230272,1114112,3346688],nebula:[1704960,851968,1705984],galFn:i=>new We(i,i*.15,0),ambient:1573376,dir:16724736,pt1:16729088,pt2:16755200,name:"NETHER"},end:{bg:0,fog:0,fogD:.009,blocks:[7807658,11158732,5570679,14527231,3342421,12299007],emit:[655381,1572901,327696],nebula:[524312,851989,262158],galFn:i=>new We(i*.4,0,i),ambient:393232,dir:10040319,pt1:11158783,pt2:4456618,name:"THE END"},cyber:{bg:792610,fog:792610,fogD:.008,blocks:[65535,4521932,11206468,6741503,8978278,65450],emit:[666163,668450,665656],nebula:[1192e3,1587240,1323588],galFn:i=>new We(i*.15,i*.85,i*.95),ambient:1716288,dir:6750156,pt1:4521966,pt2:10092356,name:"CYBER",starColor:13431039,starOpacity:.75,galaxyOpacity:.62,nebulaOpacity:.36,edgeLineColor:4521949,blockOpacity:[.38,.54]},light:{bg:8951984,fog:7899296,fogD:.006,gradientBg:{top:14214392,mid:10531016,bottom:6846608,radial:!0},blocks:[15266559,13691135,12114175,10537208,8960240,7383272,10012927,12640511,15792383,7909608,14216447,14739711],emit:[6854864,8958176,11061488,12638456],nebula:[9480392,11059424,12637420,14215416,7901360],galFn:i=>{let e=new We;return i<.4?e.lerpColors(new We(16054527),new We(14215423),i/.4):i<.75?e.lerpColors(new We(14215423),new We(11061488),(i-.4)/.35):e.lerpColors(new We(11061488),new We(9482464),(i-.75)/.25),e},ambient:7899296,dir:13688040,pt1:11061503,pt2:13162751,name:"LIGHT",starColor:15266047,starOpacity:.5,galaxyOpacity:.7,nebulaOpacity:.32,edgeLineColor:10010856,blockOpacity:[.42,.56]}},dJe={cruise:{pos:(i,e,t)=>({x:Math.sin(i*.28)*18+Math.cos(i*.11)*7+e*10,y:Math.sin(i*.19)*6+Math.cos(i*.31)*3+t*6,z:0}),look:(i,e,t)=>({x:Math.sin((i+.18)*.28)*18+e*8,y:Math.sin((i+.18)*.19)*6+t*4,z:-25}),roll:(i,e=0)=>e*.05+Math.sin(i*.22)*.015,spd:.18},barrel:{pos:(i,e,t)=>{let r=i*2.4;return{x:Math.cos(r)*10+e*4,y:Math.sin(r)*10+t*4,z:Math.sin(i*.4)*8}},look:i=>({x:Math.sin(i*.5)*5,y:Math.cos(i*.5)*5,z:-30}),roll:i=>i*2.4+Math.PI*.5,spd:.24},dive:{pos:(i,e,t)=>({x:Math.sin(i*.6)*30+e*8,y:Math.cos(i*.4)*18+t*6,z:Math.sin(i*.3)*12}),look:(i,e,t)=>({x:Math.sin(i*.6+.2)*30+e*6,y:Math.cos(i*.4+.2)*18-8+t*4,z:-35}),roll:(i,e=0)=>e*.08+Math.sin(i*.6)*.12,spd:.3},orbit:{pos:(i,e,t)=>({x:Math.cos(i*.5)*20+e*5,y:Math.sin(i*.25)*10+t*5,z:Math.sin(i*.5)*20}),look:()=>({x:0,y:0,z:-60}),roll:i=>Math.sin(i*.5)*.08,spd:.15},snake:{pos:(i,e,t)=>({x:Math.sin(i*1.1)*22+Math.sin(i*.37)*8+e*10,y:Math.sin(i*.7)*10+e*4+t*8,z:0}),look:(i,e,t)=>{let n=i+.12;return{x:Math.sin(n*1.1)*22+Math.sin(n*.37)*8+e*8,y:Math.sin(n*.7)*10+t*6,z:-22}},roll:(i,e=0)=>e*.1+Math.sin(i*1.1)*.06,spd:.22}},fJe={cruise:1,barrel:1.6,dive:2.2,orbit:.7,snake:1.4},hJe=250,x9=1e4,w9=3e3,j5=i=>i[Math.floor(Math.random()*i.length)],YP=i=>"#"+i.toString(16).padStart(6,"0"),$4e=i=>{if(typeof document>"u")return null;let e=document.createElement("canvas");e.width=4,e.height=512;let t=e.getContext("2d");if(!t)return null;let n=e.width,r=e.height,s=i.radial?t.createRadialGradient(n/2,r*.32,0,n/2,r*.32,r*.85):t.createLinearGradient(0,0,0,r);s.addColorStop(0,YP(i.top)),i.mid!=null&&s.addColorStop(.45,YP(i.mid)),s.addColorStop(1,YP(i.bottom)),t.fillStyle=s,t.fillRect(0,0,n,r);let a=new On(e);return a.needsUpdate=!0,a},X5=class{constructor(e,t={},n){this.documentRenderer=e;this.abortSignal=n;let r=u0;this.curScene=t.initialScene??r.v2Scene,this.curCam=t.initialCamera??r.v2Camera,this.blockGroup=t.initialBlockGroup??r.v2BlockGroup,this.cameraSpeed=t.initialCameraSpeed??g9.camera,this.blockSpeed=t.initialBlockSpeed??g9.block,this.useMinecraftTextures=t.useMinecraftTextures??r.minecraftTextures,this.resourcesManager=t.resourcesManager;let s=X4e[this.curScene];this.scene=new Rr,this.scene.fog=new C0(s.fog,s.fogD),this.applyScenePalette(s),this.camera=new fn(80,this.documentRenderer.canvas.width/this.documentRenderer.canvas.height,.1,700),this.ambient=new wa(s.ambient,2.5),this.scene.add(this.ambient),this.dir=new Ss(s.dir,4),this.dir.position.set(1,1,0),this.scene.add(this.dir),this.pt1=new yo(s.pt1,5,100),this.scene.add(this.pt1),this.pt2=new yo(s.pt2,4,80),this.pt2.position.set(30,20,-30),this.scene.add(this.pt2);for(let f=0;f<hJe;f++)this.spawnBlock(s,!0);if(!this.useMinecraftTextures){let f=s.edgeLineColor??62975;for(let v=0;v<40;v++){let g=new Pn({color:f,transparent:!0,opacity:.25});j5(this.blocks).mesh.add(new Kn(this.eGeo,g))}}this.scene.add(this.bGroup);let a=new dt,o=new Float32Array(5e3*3);for(let f=0;f<5e3*3;f++)o[f]=(Math.random()-.5)*500;a.setAttribute("position",new Mt(o,3)),this.stars=new gr(a,new Jr({color:s.starColor??16777215,size:.3,transparent:!0,opacity:s.starOpacity??.7,sizeAttenuation:!0})),this.scene.add(this.stars),this.galGeo=new dt;let l=new Float32Array(x9*3),c=new Float32Array(x9*3);for(let f=0;f<x9;f++){let v=f%3,g=Math.random(),b=v/3*Math.PI*2+g*Math.PI*5,y=g*90+Math.random()*10,_=(1-g)*18;l[f*3]=Math.cos(b)*y+(Math.random()-.5)*_,l[f*3+1]=(Math.random()-.5)*7,l[f*3+2]=Math.sin(b)*y+(Math.random()-.5)*_-180;let x=.2+g*.8,w=s.galFn(x);c[f*3]=w.r,c[f*3+1]=w.g,c[f*3+2]=w.b}this.galGeo.setAttribute("position",new Mt(l,3)),this.galGeo.setAttribute("color",new Mt(c,3)),this.galaxy=new gr(this.galGeo,new Jr({size:.9,vertexColors:!0,transparent:!0,opacity:s.galaxyOpacity??.55,sizeAttenuation:!0})),this.scene.add(this.galaxy),this.nebGeo=new dt;let u=new Float32Array(w9*3),d=new Float32Array(w9*3);for(let f=0;f<w9;f++){let v=25+Math.random()*110,g=Math.random()*Math.PI*2,b=(Math.random()-.5)*Math.PI*.5;u[f*3]=v*Math.cos(g)*Math.cos(b),u[f*3+1]=v*Math.sin(b)*.6,u[f*3+2]=v*Math.sin(g)*Math.cos(b)-80;let y=new We(j5(s.nebula));d[f*3]=y.r,d[f*3+1]=y.g,d[f*3+2]=y.b}this.nebGeo.setAttribute("position",new Mt(u,3)),this.nebGeo.setAttribute("color",new Mt(d,3)),this.nebula=new gr(this.nebGeo,new Jr({size:3,vertexColors:!0,transparent:!0,opacity:s.nebulaOpacity??.3,sizeAttenuation:!0})),this.scene.add(this.nebula),this.addBackgroundTextPlane(),this.setupMouseTracking()}scene;camera;ambient;dir;pt1;pt2;blocks=[];bGroup=new bt;galaxy;nebula;stars;galGeo;nebGeo;bGeo=new Sn(1,1,1);eGeo=new dl(this.bGeo);curScene;curCam;blockGroup;cameraSpeed;blockSpeed;camT=0;mx=0;my=0;tmx=0;tmy=0;transitioning=!1;useMinecraftTextures=!1;resourcesManager;atlasTexture=null;blockMaterialPool=new Map;gradientSky=null;gradientSkyTexture=null;disposed=!1;animTime=0;texturesApplied=!1;textureLoadInProgress=!1;onAssetsTexturesUpdated;async init(){this.useMinecraftTextures&&this.scheduleMinecraftTextureLoad()}scheduleMinecraftTextureLoad(){!this.useMinecraftTextures||this.disposed||this.texturesApplied||this.textureLoadInProgress||this.tryApplyMinecraftTextures()}attachAssetsListener(){let e=this.resourcesManager;!e||this.onAssetsTexturesUpdated||(this.onAssetsTexturesUpdated=()=>this.scheduleMinecraftTextureLoad(),e.on("assetsTexturesUpdated",this.onAssetsTexturesUpdated))}detachAssetsListener(){let e=this.resourcesManager;!e||!this.onAssetsTexturesUpdated||(e.off("assetsTexturesUpdated",this.onAssetsTexturesUpdated),this.onAssetsTexturesUpdated=void 0)}hasBlockAtlas(e){let t=e.currentResources;return!!(t?.blocksAtlasImage&&t.blocksAtlasJson)}async ensureAtlasReady(e){if(await this.ensureMcDataLoaded(),this.hasBlockAtlas(e))return!0;if(typeof document>"u"&&e!==this.resourcesManager)return!1;e.currentConfig={...e.currentConfig,version:mg,noInventoryGui:!0};try{await e.updateAssetsData?.({})}catch{return!1}return this.hasBlockAtlas(e)}async tryApplyMinecraftTextures(){if(!(this.disposed||!this.useMinecraftTextures||this.texturesApplied)){this.textureLoadInProgress=!0;try{let e=this.resourcesManager??new lc;if(!await this.ensureAtlasReady(e)){this.resourcesManager&&this.attachAssetsListener();return}if(this.disposed)return;this.applyMinecraftTexturesFromAtlas(e),this.texturesApplied=!0,this.detachAssetsListener()}catch(e){console.warn("[V2MenuBackground] Failed to load Minecraft textures, using solid colors:",e),this.useMinecraftTextures=!1,this.detachAssetsListener()}finally{this.textureLoadInProgress=!1}}}applyScenePalette(e){if(this.documentRenderer.renderer.setClearColor(e.bg),e.gradientBg)if(this.scene.background=null,this.gradientSky){if(this.gradientSky.visible=!0,this.gradientSkyTexture&&e.gradientBg){let s=$4e(e.gradientBg);s&&(this.gradientSkyTexture.dispose(),this.gradientSkyTexture=s,this.gradientSky.material.map=s,this.gradientSky.material.needsUpdate=!0)}}else{let s=$4e(e.gradientBg);s?(this.gradientSkyTexture=s,this.gradientSky=new Ke(new zn(900,700),new _t({map:s,depthWrite:!1,side:In})),this.gradientSky.position.set(0,0,-280),this.gradientSky.renderOrder=-1e3,this.scene.add(this.gradientSky)):this.scene.background=new We(e.bg)}else this.scene.background=new We(e.bg),this.gradientSky&&(this.gradientSky.visible=!1);this.scene.fog instanceof C0&&(this.scene.fog.color.set(e.fog),this.scene.fog.density=e.fogD);let t=this.stars?.material;t&&(t.color.set(e.starColor??16777215),t.opacity=e.starOpacity??.7);let n=this.galaxy?.material;n&&(n.opacity=e.galaxyOpacity??.55);let r=this.nebula?.material;r&&(r.opacity=e.nebulaOpacity??.3)}setupMouseTracking(){let e=n=>{let r=typeof window<"u"?window.innerWidth:this.documentRenderer.canvas.width,s=typeof window<"u"?window.innerHeight:this.documentRenderer.canvas.height;this.tmx=(n.clientX/r-.5)*2,this.tmy=-(n.clientY/s-.5)*2};(typeof document<"u"?document:void 0)?.addEventListener("mousemove",e,{signal:this.abortSignal})}addBackgroundTextPlane(){let n=typeof document<"u"?document.createElement("canvas"):null;if(!n)return;n.width=2048,n.height=768;let r=n.getContext("2d");if(!r)return;r.clearRect(0,0,2048,768),r.save(),r.font="bold 560px Orbitron, sans-serif",r.textAlign="center",r.textBaseline="middle",r.shadowColor="rgba(0,200,255,0.35)",r.shadowBlur=80,r.fillStyle="rgba(255,255,255,0.055)",r.fillText("V2",2048*.28,768*.5),r.restore(),r.save(),r.font="bold 148px Orbitron, sans-serif",r.textAlign="center",r.textBaseline="middle",r.shadowColor="rgba(0,200,255,0.2)",r.shadowBlur=40,r.fillStyle="rgba(255,255,255,0.038)",r.fillText("by ZARDOY",2048*.72,768*.52),r.restore();let s=new On(n),a=new Ke(new zn(280,105),new _t({map:s,transparent:!0,opacity:1,depthWrite:!1,side:In,blending:es}));a.position.set(8,4,-320),this.scene.add(a)}spawnBlock(e,t,n){let r=this.createBlockMaterial(e,n),s=new Ke(this.bGeo,r),a=.3+Math.random()*3;s.scale.setScalar(a),s.position.set((Math.random()-.5)*140,(Math.random()-.5)*70,t?-(Math.random()*140):-155-Math.random()*30),s.rotation.set(Math.random()*Math.PI*2,Math.random()*Math.PI*2,Math.random()*Math.PI*2);let o={mesh:s,spd:.04+Math.random()*.12,dx:(Math.random()-.5)*.012,dy:(Math.random()-.5)*.008,rx:(Math.random()-.5)*.012,ry:(Math.random()-.5)*.012,rz:(Math.random()-.5)*.01,minecraftBlockName:n};this.blocks.push(o),this.bGroup.add(s)}createBlockMaterial(e,t){if(this.useMinecraftTextures&&t){let s=this.blockMaterialPool.get(t);if(s)return s.clone()}let[n,r]=e.blockOpacity??[.32,.46];return new _t({color:j5(e.blocks),transparent:!0,opacity:n+Math.random()*(r-n),depthWrite:!1,blending:es})}removeBlockEdgeLines(){for(let e of this.blocks){let t=e.mesh.children.filter(n=>n instanceof Kn);for(let n of t){e.mesh.remove(n),n.geometry?.dispose();let r=n.material;Array.isArray(r)?r.forEach(s=>s.dispose()):r.dispose()}}}async ensureMcDataLoaded(){let e=globalThis._LOAD_MC_DATA;e&&await e()}resolveBlockAtlasUv(e,t,n){let r=s=>{let a=t[s];return a?{u:a.u,v:a.v,su:a.su??n.suSv,sv:a.sv??n.suSv}:null};if(t[e])return r(e);for(let s of["_top","_side","_front","_0"]){let a=r(`${e}${s}`);if(a)return a}for(let s of Object.keys(t))if(s.startsWith(e))return r(s);return null}applyMinecraftTexturesFromAtlas(e){let t=e.currentResources;if(!t?.blocksAtlasImage||!t.blocksAtlasJson)throw new Error("Block atlas not available");let n=t.blocksAtlasJson,r=n.textures;this.atlasTexture=cc(t.blocksAtlasImage),this.atlasTexture.flipY=!1,this.atlasTexture.needsUpdate=!0;for(let s of Y4e[this.blockGroup]){let a=this.resolveBlockAtlasUv(s,r,n);if(!a)continue;let o=this.atlasTexture.clone();o.flipY=!1,o.offset.set(a.u,a.v),o.repeat.set(a.su,a.sv),o.needsUpdate=!0;let l=s.includes("glass"),c=new _t({map:o,side:In,transparent:l,opacity:l?.85:1,alphaTest:l?.08:0,depthWrite:!0,toneMapped:!1});this.blockMaterialPool.set(s,c)}if(this.blockMaterialPool.size===0)throw new Error("No block textures resolved from atlas (check block names vs atlas keys)");this.removeBlockEdgeLines();for(let s of this.blocks){let a=j5([...this.blockMaterialPool.keys()]);s.minecraftBlockName=a,s.mesh.material=this.blockMaterialPool.get(a).clone()}}setScene(e){if(!q5.includes(e)||e===this.curScene||this.transitioning)return;this.transitioning=!0,this.curScene=e;let t=X4e[e];setTimeout(()=>{if(this.disposed)return;this.applyScenePalette(t),this.ambient.color.set(t.ambient),this.dir.color.set(t.dir),this.pt1.color.set(t.pt1),this.pt2.color.set(t.pt2);for(let s of this.blocks)this.useMinecraftTextures&&s.minecraftBlockName||s.mesh.material instanceof _t&&s.mesh.material.color.set(j5(t.blocks));let n=this.nebGeo.attributes.color;for(let s=0;s<w9;s++){let a=new We(j5(t.nebula));n.setXYZ(s,a.r,a.g,a.b)}n.needsUpdate=!0;let r=this.galGeo.attributes.color;for(let s=0;s<x9;s++){let a=.2+Math.random()*.8,o=t.galFn(a);r.setXYZ(s,o.r,o.g,o.b)}r.needsUpdate=!0,this.transitioning=!1},150)}setCamera(e){G5.includes(e)&&(this.curCam=e)}setCameraSpeed(e){this.cameraSpeed=Math.max(0,e)}setBlockSpeed(e){this.blockSpeed=Math.max(0,e)}async setBlockGroup(e){if(W5.includes(e)&&e!==this.blockGroup&&(this.blockGroup=e,!(!this.useMinecraftTextures||this.disposed))){for(let t of this.blockMaterialPool.values())t.map?.dispose(),t.dispose();this.blockMaterialPool.clear(),this.texturesApplied=!1,this.scheduleMinecraftTextureLoad()}}getSceneId(){return this.curScene}getCameraId(){return this.curCam}getBlockGroupId(){return this.blockGroup}update(e,t){t&&Jd(this.camera,this.documentRenderer.canvas);let n=dJe[this.curCam],r=this.cameraSpeed,s=this.blockSpeed;this.camT+=e*n.spd*r,this.mx+=(this.tmx-this.mx)*.05,this.my+=(this.tmy-this.my)*.05;let a=this.mx*j4e,o=this.my*j4e,l=n.pos(this.camT,a,o),c=n.look(this.camT,a,o);this.camera.position.set(l.x,l.y,l.z),this.camera.lookAt(c.x,c.y,c.z),this.camera.rotation.z=n.roll(this.camT,a);let u=fJe[this.curCam]*s;this.animTime+=e*1e3*s;for(let d of this.blocks){if(d.mesh.position.z+=d.spd*u*60*e,d.mesh.position.x+=d.dx*60*e*s,d.mesh.position.y+=d.dy*60*e*s,d.mesh.rotation.x+=d.rx*u,d.mesh.rotation.y+=d.ry*u,d.mesh.rotation.z+=d.rz,!this.useMinecraftTextures&&d.mesh.material instanceof _t){let f=d.mesh.userData.baseOpacity??.38;d.mesh.userData.baseOpacity==null&&(d.mesh.userData.baseOpacity=f);let v=.88+Math.abs(Math.sin(this.animTime*8e-4+d.mesh.position.x*.3))*.12;d.mesh.material.opacity=f*v}d.mesh.position.z>this.camera.position.z+15&&d.mesh.position.set((Math.random()-.5)*140,(Math.random()-.5)*70,this.camera.position.z-155-Math.random()*30)}this.pt1.position.set(Math.sin(this.camT*.8)*25+this.camera.position.x,Math.cos(this.camT*.6)*12+this.camera.position.y,this.camera.position.z-18),this.pt2.position.set(Math.cos(this.camT*.5)*20+this.camera.position.x,Math.sin(this.camT*.9)*15+this.camera.position.y,this.camera.position.z-30),this.galaxy.rotation.y+=e*.006*s,this.nebula.rotation.y-=e*.003*s,this.stars.rotation.y+=e*4e-4*s}dispose(){this.disposed=!0,this.detachAssetsListener(),this.scene.clear(),this.bGeo.dispose(),this.eGeo.dispose(),this.galGeo.dispose(),this.nebGeo.dispose(),this.gradientSkyTexture?.dispose(),this.atlasTexture?.dispose();for(let e of this.blockMaterialPool.values())e.map?.dispose(),e.dispose();this.blockMaterialPool.clear()}};h();p();m();Lt();h();p();m();var r8e=Yr(n8e(),1),i8e=Yr(CI(),1);var s8e=i=>{let e=(0,r8e.default)(i),t=(0,i8e.default)(i),n=new e(i).sync,r=xJe(n);for(let s of r)if(s.startsWith("set")&&s!=="setColumn"){let a=n[s].bind(n);n[s]=(...o)=>{let l=o[0];l.x!==void 0&&!n.getColumnAt(l)&&n.setColumn(Math.floor(l.x/16),Math.floor(l.z/16),new t(void 0)),a(...o)}}return n};function xJe(i){let e=new Set,t=i;do for(let n of Object.getOwnPropertyNames(t))typeof i[n]=="function"&&n!=="constructor"&&e.add(n);while(t=Object.getPrototypeOf(t));return[...e]}h();p();m();var a8e={paused:!1,showChunkBorders:!1,enableDebugOverlay:!1,debugWasmPerf:!1,debugModelVariant:void 0,futuristicReveal:!1,wasmMesher:!0,shaderCubeBlocks:!1,shaderCubeDebugMode:0,mesherWorkers:1,addChunksBatchWaitTime:200,_experimentalSmoothChunkLoading:!0,_renderByChunks:!1,autoLowerRenderDistance:!1,disableMesherConversionCache:!1,dedicatedChangeWorker:!1,shadingTheme:"high-contrast",cardinalLight:"default",dayCycle:!0,smoothLighting:!0,enableLighting:!0,starfield:!0,defaultSkybox:!0,renderEntities:!0,extraBlockRenderers:!0,foreground:!0,fov:75,volume:1,showHand:!1,viewBobbing:!1,handRenderer:"vanilla",renderEars:!0,highlightBlockColor:"blue",fetchPlayerSkins:!0,skinTexturesProxy:void 0,vrSupport:!0,vrPageGameRendering:!0,clipWorldBelowY:void 0,isPlayground:!1,instantCameraUpdate:!1,isRaining:!1,rainColor:"rgb(118, 148, 226)",rainOpacity:.5,moduleStates:{}};var nL=()=>({reactive:_l({world:{chunksLoaded:{},heightmaps:{},allChunksLoaded:!1,mesherWork:!1,instabilityFactors:zP(),intersectMedia:null},renderer:"...",preventEscapeMenu:!1}),nonReactive:{fps:0,worstRenderTime:0,avgRenderTime:0,world:{chunksLoadedCount:0,chunksTotalNumber:0,chunksFullInfo:"-"},renderer:{timeline:{live:[],frozen:[],lastSecond:[]}}}});h();p();m();h();p();m();h();p();m();Ia();var yg=i=>[Math.floor(i.x/16),Math.floor(i.z/16)];var wJe=async(i,e,t,n=1)=>{for(let r=0;r<i.length;r+=n)e&&await new Promise(s=>setTimeout(s,e)),await t(i[r],r)},$5=new WeakMap,bg=class bg extends W0{static restoreTransferred(e,t){let n=new bg;if(!t)return n;let r=$5.get(t);if(r)r.activeWorldView=n;else{let s=({data:a})=>{let l=$5.get(t)?.activeWorldView;!l||a?.class!==bg.restorerName||a.type==="event"&&l.emit(a.eventName,...a.args)};t.addEventListener("message",s),r={activeWorldView:n,handler:s},$5.set(t,r)}return n}static clearWorkerBridgeForTest(e){let t=$5.get(e);t&&(e.removeEventListener("message",t.handler),$5.delete(e))}static getWorkerBridgeListenerCountForTest(e){return $5.has(e)?1:0}};Wn(bg,"restorerName","WorldViewWorker");var Y5=bg,M9=class extends W0{constructor(t,n,r=new kt(0,0,0)){super();this.world=t;this.viewDistance=n;this.lastPos=new kt(0,0,0).update(r)}spiralNumber=0;gotPanicLastTime=!1;panicChunksReload=()=>{};loadedChunks={};inLoading=!1;chunkReceiveTimes=[];lastChunkReceiveTime=0;lastChunkReceiveTimeAvg=0;panicTimeout;lastPos;eventListeners={};debugChunksInfo={};waitingSpiralChunksLoad={};addWaitTime=1;keepChunksDistance=0;isPlayground=!1;allowPositionUpdate=!0;prepareForTransfer(t){if(t){let n=this.emit.bind(this);this.emit=(r,...s)=>{n(r,...s),t.postMessage({class:Y5.restorerName,type:"event",eventName:r,args:e4(s)})}}return{__restorer:Y5.restorerName}}setBlockStateId(t,n){let r=this.world.setBlockStateId(t,n);if(r&&typeof r.then=="function")throw new Error("setBlockStateId returned promise (not supported)");this.emit("blockUpdate",{pos:t,stateId:n})}updateViewDistance(t){this.viewDistance=t,this.emit("renderDistance",t)}async init(t,n){console.log("WorldView init"),this.updateViewDistance(this.viewDistance),this.emit("chunkPosUpdate",{pos:t}),n?.time?.timeOfDay!==void 0&&this.emit("time",n.time.timeOfDay),n?.entity&&this.emit("playerEntity",n.entity),this.emitterGotConnected(n);let[r,s]=yg(t),a=C3(this.viewDistance).map(([o,l])=>new kt((r+o)*16,0,(s+l)*16));this.lastPos.update(t),await this._loadChunks(a,t)}chunkProgress(){if(this.panicTimeout&&clearTimeout(this.panicTimeout),this.chunkReceiveTimes.length>=5){let t=this.chunkReceiveTimes.reduce((r,s)=>r+s,0)/this.chunkReceiveTimes.length;this.lastChunkReceiveTimeAvg=t;let n=t*2+1e3;this.panicTimeout&&clearTimeout(this.panicTimeout),this.panicTimeout=setTimeout(()=>{!this.gotPanicLastTime&&this.inLoading&&(console.warn("Chunk loading seems stuck, triggering panic reload"),this.gotPanicLastTime=!0,this.panicChunksReload())},n)}}async _loadChunks(t,n){this.spiralNumber++;let{spiralNumber:r}=this;for(let a of Object.keys(this.waitingSpiralChunksLoad))this.waitingSpiralChunksLoad[a](!1),delete this.waitingSpiralChunksLoad[a];let s=!0;this.inLoading=!0,await wJe(t,this.addWaitTime,async a=>{!s||this.loadedChunks[`${a.x},${a.z}`]||(this.world.getColumnAt(a)||(s=await new Promise(o=>{this.waitingSpiralChunksLoad[`${a.x},${a.z}`]=o})),s&&(await this.loadChunk(a,void 0,`spiral ${r} from ${n.x},${n.z}`),this.chunkProgress()))}),r===this.spiralNumber&&(this.panicTimeout&&clearTimeout(this.panicTimeout),this.inLoading=!1,this.gotPanicLastTime=!1,this.chunkReceiveTimes=[],this.lastChunkReceiveTime=0)}async loadChunk(t,n=!1,r="spiral"){let[s,a]=yg(this.lastPos),o=Math.abs(s-Math.floor(t.x/16)),l=Math.abs(a-Math.floor(t.z/16));if(o<=this.viewDistance&&l<=this.viewDistance){let c=await this.world.getColumnAt(t.y!==void 0?t:new kt(t.x,0,t.z));if(c){let u=c.toJson(),d={minY:c.minY??0,worldHeight:c.worldHeight??256};this.emit("loadChunk",{x:t.x,z:t.z,chunk:u,blockEntities:c.blockEntities,worldConfig:d,isLightUpdate:n}),this.loadedChunks[`${t.x},${t.z}`]=!0,this.debugChunksInfo[`${t.x},${t.z}`]??={loads:[]},this.debugChunksInfo[`${t.x},${t.z}`].loads.push({dataLength:u.length,reason:r,time:Date.now()})}else this.isPlayground&&this.emit("markAsLoaded",{x:t.x,z:t.z})}}async reloadLoadedChunks(){let t=Object.keys(this.loadedChunks);for(let n of t){let[r,s]=n.split(",").map(Number);await this.loadChunk({x:r,z:s},!1,"mesher-reconfigure")}}unloadAllChunks(){for(let t of Object.keys(this.loadedChunks)){let[n,r]=t.split(",").map(Number);this.unloadChunk({x:n,z:r})}}unloadChunk(t){this.emit("unloadChunk",{x:t.x,z:t.z}),delete this.loadedChunks[`${t.x},${t.z}`],delete this.debugChunksInfo[`${t.x},${t.z}`]}emitterGotConnected(t){typeof globalThis.WorkerGlobalScope<"u"&&globalThis instanceof globalThis.WorkerGlobalScope||!t||this.emit("blockEntities",new Proxy({},{get(r,s,a){if(typeof s!="string")return;let[o,l,c]=s.split(",").map(Number);return t.world.getBlock(new kt(o,l,c))?.entity}}))}lastBiomeId=null;updateBiome(t){try{if(!this.world.getBiome)return;let n=this.world.getBiome(t);n!==this.lastBiomeId&&(this.lastBiomeId=n,this.emit("biomeReset"))}catch(n){console.error("error updating biome",n)}}lastPosCheck=null;async updatePosition(t,n=!1){if(!this.allowPositionUpdate)return;let r=t.floored();if(!n&&this.lastPosCheck&&this.lastPosCheck.equals(r))return;this.lastPosCheck=r,this.updateBiome(t);let[s,a]=yg(this.lastPos),[o,l]=yg(t);if(s!==o||a!==l||n){this.emit("chunkPosUpdate",{pos:t});let c=[],u=n?this.viewDistance:this.viewDistance+this.keepChunksDistance;for(let f of Object.keys(this.loadedChunks)){let[v,g]=f.split(",").map(Number),b=new kt(v,0,g),[y,_]=yg(b),x=Math.abs(o-y),w=Math.abs(l-_);(x>u||w>u)&&c.push(b)}for(let f of c)this.unloadChunk(f);let d=C3(this.viewDistance).map(([f,v])=>{let g=new kt((o+f)*16,0,(l+v)*16);if(!this.loadedChunks[`${g.x},${g.z}`])return g}).filter(f=>!!f);this.lastPos.update(t),this._loadChunks(d,t)}else this.emit("chunkPosUpdate",{pos:t}),this.lastPos.update(t)}};var xg=class{constructor(e,t,n){this.documentRenderer=e;this.options=t;this.abortSignal=n;this._scene=new Rr,this._scene.background=new We(3294568),this._camera=new fn(85,e.canvas.width/e.canvas.height,.05,1e3),this.camera.position.set(0,0,0),this.camera.rotation.set(0,0,0)}_scene;_camera;get scene(){return this._scene}get camera(){return this._camera}worldRenderer;WorldRendererClass=Yd;async init(){let e=mg,t=new lc;if(t.currentConfig={version:e,noInventoryGui:!0},await t.updateAssetsData?.({}),this.abortSignal.aborted)return;console.time("load menu background scene");let n=s8e(e),s=Si()(e),o=globalThis.mcData.blocksArray.filter(v=>{if(!v.name.includes("stained_glass"))return!1;let g=s.fromStateId(v.defaultState,0);if(g.shapes?.length!==1)return!1;let b=g.shapes[0];return b[0]===0&&b[1]===0&&b[2]===0&&b[3]===1&&b[4]===1&&b[5]===1}),l=-15,c=100,u=100;for(let v=-c;v<c;v++)for(let g=-u;g<u;g++){let b=o[Math.floor(Math.random()*o.length)];n.setBlockStateId(new kt(v,g,l),b.defaultState)}this._camera.updateProjectionMatrix(),this._camera.position.set(.5,u/2+.5,.5),this._camera.rotation.set(0,0,0);let d=new kt(...this._camera.position.toArray()),f=new M9(n,2,d);this.abortSignal.aborted||(this.worldRenderer=new this.WorldRendererClass(this.documentRenderer.renderer,this.options,{version:e,worldView:f,inWorldRenderingConfig:a8e,playerStateReactive:Y0e().reactive,rendererState:nL().reactive,nonReactiveState:nL().nonReactive,resourcesManager:t}),this.worldRenderer instanceof Yd&&(this._scene=this.worldRenderer.realScene,this._camera=this.worldRenderer.camera),f.init(d),await this.worldRenderer.waitForChunksToRender(),!this.abortSignal.aborted&&(this.setupMouseParallax(),console.timeEnd("load menu background scene")))}update(e,t){t&&Jd(this.camera,this.documentRenderer.canvas)}dispose(){this.worldRenderer?.destroy(),this.worldRenderer=void 0,this._scene.clear()}setupMouseParallax(){let e=this._camera,t=e.position.x,n=e.position.y,r;document.body.addEventListener("pointermove",s=>{if(s.pointerType!=="mouse")return;let a=.2,o=s.clientX/window.innerWidth-.5,l=-(s.clientY/window.innerHeight-.5);r?.stop(),r=new jr(e.position).to({x:t+o*a,y:n+l*a},0),r.start(),e.updateProjectionMatrix()},{signal:this.abortSignal})}};h();p();m();Lt();var wg=class{constructor(e,t,n={},r=!1){this.documentRenderer=e;this.options=t;this.mode=WP(n,r)}active;abortController=new AbortController;mode;lastFrameTime=0;get v2(){return this.active instanceof X5?this.active:void 0}get scene(){return this.active?.scene}get camera(){return this.active?.camera}async start(e={}){this.active=this.createImplementation(e),await this.active.init(),this.active.scene.background instanceof We&&this.documentRenderer.renderer.setClearColor(this.active.scene.background),this.lastFrameTime=performance.now(),this.documentRenderer.render=(t=!1)=>{let n=performance.now(),r=Math.min((n-this.lastFrameTime)/1e3,.05);this.lastFrameTime=n;let s=this.active;s&&(s.update(r,t),this.documentRenderer.renderer.render(s.scene,s.camera))}}createImplementation(e){switch(this.mode){case"v2":return new X5(this.documentRenderer,{useMinecraftTextures:e.useMinecraftTextures,initialScene:e.v2Scene,initialCamera:e.v2Camera,initialBlockGroup:e.v2BlockGroup,initialCameraSpeed:e.v2CameraSpeed,initialBlockSpeed:e.v2BlockSpeed,resourcesManager:e.resourcesManager},this.abortController.signal);case"worldBlocks":return new xg(this.documentRenderer,this.options,this.abortController.signal);default:return new pg(this.documentRenderer)}}dispose(){this.active?.dispose(),this.active=void 0,this.abortController.abort()}};h();p();m();var Kd=u0,SJe={rendererWorldPerformance:"normal",rendererMeshersCountOverride:null,starfieldRendering:!0,defaultSkybox:!0,menuBackgroundMode:Kd.mode,menuBackgroundMinecraftTextures:Kd.minecraftTextures,menuBackgroundV2Scene:Kd.v2Scene,menuBackgroundV2Camera:Kd.v2Camera,menuBackgroundV2BlockGroup:Kd.v2BlockGroup,menuBackgroundV2CameraSpeed:Kd.v2CameraSpeedPercent,menuBackgroundV2BlockSpeed:Kd.v2BlockSpeedPercent,rendererFuturisticReveal:!1,rendererPerfDebugOverlay:!1,disableBlockEntityTextures:!1,rendererMesher:"wasm",rendererShaderCubeDebugMode:"off",showChunkBorders:!1,renderEntities:!0,renderDebug:"basic",frameLimit:!1,backgroundRendering:"20fps",vanillaLook:!1,smoothLighting:!0,newVersionsLighting:!1,vrSupport:!0,vrPageGameRendering:!1,clipWorldBelowY:void 0,highlightBlockColor:"auto",loadPlayerSkins:!0,renderEars:!0,showHand:!0,viewBobbing:!0,dayCycleAndLighting:!0,keepChunksDistance:1,gpuPreference:"default",fov:75};var EJe={menuBackgroundMode:{possibleValues:[["classic","Classic"],["v2","V2"]],requiresRestart:!0},menuBackgroundMinecraftTextures:{text:"Minecraft block textures",tooltip:"Use block atlas on V2 menu cubes (loads assets on menu)"},menuBackgroundV2Scene:{possibleValues:q5.map(i=>[i,_9[i]])},menuBackgroundV2Camera:{possibleValues:G5.map(i=>[i,y9[i]])},menuBackgroundV2BlockGroup:{possibleValues:W5.map(i=>[i,b9[i]]),text:"Block pool",tooltip:"Block set for textured menu cubes (requires Minecraft textures)"},menuBackgroundV2CameraSpeed:{text:"Camera speed",tooltip:"Orbit / fly-through camera path speed. 0 freezes the path; mouse parallax still works.",min:0,max:200,unit:"%"},menuBackgroundV2BlockSpeed:{text:"Block speed",tooltip:"Floating blocks and sky rotation. Independent of camera path speed.",min:0,max:200,unit:"%"},rendererWorldPerformance:{text:"World performance",tooltip:"Background workers for chunk geometry. Recreates mesher workers and reloads chunks.",requiresChunksReload:!0,possibleValues:[["low-energy","Low Energy"],["normal","Normal"],["maximum","Maximum"]]},starfieldRendering:{text:"Starfield"},defaultSkybox:{text:"Default skybox"},rendererFuturisticReveal:{text:"Futuristic world reveal"},rendererPerfDebugOverlay:{text:"Performance debug overlay"},disableBlockEntityTextures:{text:"Disable block entity textures",tooltip:"Skips signs, banners, heads, maps, etc."},rendererMesher:{possibleValues:[["wasm","WASM"],["legacy-js","Legacy JS"]],text:"Mesher pipeline",tooltip:"Browser technology for processing world geometry before render. WASM is the fastest; if you see a dead tab icon, reloads, or other errors, switch to Legacy JS.",requiresChunksReload:!0},rendererShaderCubeDebugMode:{text:"Shader cube debug",tooltip:"Instanced cube path visualization (requires shader cubes enabled).",possibleValues:[["off","Off"],["holes","Hole test (red)"],["texIndex","Tile index colors"],["faces","Face id colors"],["atlasAlpha","Atlas alpha"]]},showChunkBorders:{text:"Chunk borders"},renderEntities:{text:"Render entities"},renderDebug:{possibleValues:["advanced","basic","none"]},frameLimit:{text:"Frame limit",tooltip:"false = VSync / unlimited when focused"},backgroundRendering:{text:"Background FPS limit",possibleValues:[["full","NO"],["5fps","5 FPS"],["20fps","20 FPS"]]},vanillaLook:{text:"Vanilla shading",tooltip:"On: Minecraft-style face shading. Off: higher-contrast client shading."},smoothLighting:{},newVersionsLighting:{text:"Lighting in newer versions"},vrSupport:{text:"VR support",tooltip:"Shows VR entry; does not force VR on."},vrPageGameRendering:{text:"VR page game rendering"},clipWorldBelowY:{text:"Clip world below Y"},highlightBlockColor:{possibleValues:[["auto","Auto"],["blue","Blue"],["classic","Classic"]]},loadPlayerSkins:{},renderEars:{tooltip:"Deadmau5 ears when the skin texture includes them"},showHand:{},viewBobbing:{},dayCycleAndLighting:{text:"Day cycle"},keepChunksDistance:{text:"Keep chunks distance",tooltip:"Extra distance before unloading chunks",max:5,unit:""},fov:{min:30,max:110,unit:"\xB0",text:"FOV"},gpuPreference:{text:"GPU preference",tooltip:"WebGL power preference. Requires reload / backend restart to apply.",requiresRestart:!0,possibleValues:[["default","Auto"],["high-performance","Dedicated"],["low-power","Low power"]]}};Ht.enabled=!1;globalThis.THREE=Gt;var o8e=i=>({updateMap:i.entities.updateMap.bind(i.entities),updateCustomBlock:i.updateCustomBlock.bind(i),getBlockInfo:i.getBlockInfo.bind(i),playEntityAnimation:i.entities.playAnimation.bind(i.entities),damageEntity:i.entities.handleDamageEvent.bind(i.entities),updatePlayerSkin:i.entities.updatePlayerSkin.bind(i.entities),applyTemporaryPlayerSkinOverride:i.entities.applyTemporaryPlayerSkinOverride.bind(i.entities),changeHandSwingingState:i.changeHandSwingingState.bind(i),getHighestBlocks:i.getHighestBlocks.bind(i),reloadWorld:i.reloadWorld.bind(i),updateEntityModel:i.entities.updateEntityModel.bind(i.entities),playEntityModelAnimation:i.entities.playEntityModelAnimation.bind(i.entities),addMedia:i.media.addMedia.bind(i.media),destroyMedia:i.media.destroyMedia.bind(i.media),setControlMode:i.media.setControlMode.bind(i.media),setVideoPlaying:i.media.setVideoPlaying.bind(i.media),setVideoSeeking:i.media.setVideoSeeking.bind(i.media),setVideoVolume:i.media.setVideoVolume.bind(i.media),setVideoSpeed:i.media.setVideoSpeed.bind(i.media),handleUserClick:i.media.handleUserClick.bind(i.media),addSectionAnimation(e,t){i.sectionsOffsetsAnimations[e]=t},removeSectionAnimation(e){delete i.sectionsOffsetsAnimations[e]},shakeFromDamage:i.cameraShake.shakeFromDamage.bind(i.cameraShake),onPageInteraction:i.media.onPageInteraction.bind(i.media),downloadMesherLog:i.downloadMesherLog.bind(i),explodeFirework:i.fireworksLegacy.explode.bind(i.fireworksLegacy),explodeFireworkFacingCamera:i.fireworksLegacy.explodeFacingCamera.bind(i.fireworksLegacy),addWaypoint:i.waypoints.addWaypoint.bind(i.waypoints),removeWaypoint:i.waypoints.removeWaypoint.bind(i.waypoints),startCinimaticScript:i.cinimaticScript.startScript.bind(i.cinimaticScript),stopCinimaticScript:i.cinimaticScript.stopScript.bind(i.cinimaticScript),launchFirework:i.fireworks.launchFirework.bind(i.fireworks),setSkyboxImage:i.skyboxRenderer.setSkyboxImage.bind(i.skyboxRenderer),setRain:i.setRain.bind(i),spawnBlockBreakParticles(e,t,n,r,s,a){i.getModule("blockBreakParticles")?.spawnBlockBreakParticles(e,t,n,r,s,a)},spawnBlockCrackParticle(e,t,n,r,s,a,o){i.getModule("blockBreakParticles")?.spawnCrackParticle(e,t,n,r,s,a,o)},async loadGeometryExport(e){let{applyWorldGeometryExport:t}=await Promise.resolve().then(()=>(AP(),j_e));return t(i,e)},feedChunkPacket(e){let{kind:t,...n}=e,r={type:t,...n};for(let s of i.workers)s.postMessage(r)},getChunksDebugState(){let e={};for(let t of Object.keys(i.sectionObjects)){let[n,,r]=t.split(",").map(Number);e[`${n},${r}`]=!0}return{loadedSectionsChunks:e,loadedChunks:{...i.loadedChunks},finishedChunks:{...i.finishedChunks}}}}),MJe=[],A9=(i,...e)=>{for(let t of Object.values(globalThis.loadedMods??{}))try{t.threeJsBackendModule?.[i]?.(...e)}catch(n){let r=`[mod three.js] Error calling ${i} on ${t.name}: ${n}`;throw new Error(r)}},l8e=()=>{let i,e=null,t=null,n=null,r=null,s=(u,d)=>{u.hello&&console.log("Thanks for using minecraft-renderer project: one of the most performant Minecraft world renderers for the web!"),Ln?i=u2(u,MJe,globalThis):i=u,e=new Q_(i,d?.canvas),globalThis.renderer=e.renderer,globalThis.documentRenderer=e,globalThis.threeJsBackend=c,A9("default",c)},a=async u=>{if(!e)throw new Error("Document renderer not initialized");n&&(n.destroy(),n=null,r=null,globalThis.world=void 0,globalThis.frameTimingCollector=void 0),t&&(t.dispose(),t=null);let d={...i.config.menuBackground,...u};t=new wg(e,{...i},d,!!process.env.SINGLE_FILE_BUILD_MODE),A9("menuBackgroundCreated",t),await t.start(d),A9("menuBackgroundReady",t)},o=async u=>{if(!e)throw new Error("Document renderer not initialized");t&&(t.dispose(),t=null),n&&(n.destroy(),n=null,r=null,globalThis.world=void 0,globalThis.frameTimingCollector=void 0);let f=Ln?u2(u,[lc,Y5],globalThis):u;e.nonReactiveState=f.nonReactiveState,globalThis.resourcesManager=f.resourcesManager,n=new Yd(e.renderer,i,f),await n.worldReadyPromise,r=f.inWorldRenderingConfig.enableDebugOverlay?new n4(f.nonReactiveState):null,globalThis.frameTimingCollector=r;let v=e.render;e.render=function(g){v.call(this,g),r?.markFrameStart(),f.inWorldRenderingConfig.paused||n?.render(g),r?.markFrameEnd(),r?.markFrameDisplay()},e.inWorldRenderingConfig=f.inWorldRenderingConfig,globalThis.world=n,A9("worldReady",n)},l=()=>{t&&(t.dispose(),t=null),e&&e.dispose(),n&&(n.destroy(),n=null)},c={id:"threejs",displayName:`three.js ${Ma}`,startMenuBackground:a,startWorld:o,disconnect:l,setRendering(u){e.setPaused(!u),n&&(n.renderingActive=u)},getMenuBackground:()=>t??void 0,getDebugOverlay:()=>({get entitiesString(){return n?.entities.getDebugString()},get left(){return{"Geo Memory":n?.chunkMeshManager.getEstimatedMemoryUsage().total??"-"}}}),updateCamera(u,d,f){r?.markCameraUpdate(!u),n?.setFirstPersonCamera(u,d,f)},get soundSystem(){return n?.soundSystem},get backendMethods(){if(n)return o8e(n)}};return{main:{init:s,backend:c},workerProxy(){return SN({init(u,d){s(u,{canvas:d})},updateSizeExternal(u,d,f){e?.updateSizeExternal(u,d,f)},startMenuBackground:a,startWorld:o,disconnect:l,setRendering:c.setRendering,updateCamera(u,d,f){let v=u?new kt(u.x,u.y,u.z):null;r?.markCameraUpdate(!v),c.updateCamera(v,d,f)},async callBackendMethod(u,...d){if(!n)throw new Error("World renderer not initialized");let v=o8e(n)[u];if(!v)throw new Error(`Backend method ${String(u)} is unavailable`);return v(...d)}})}}};globalThis.structuredClone??=i=>JSON.parse(JSON.stringify(i));var c8e=i=>{TB(i);let e=globalThis;e.mcData=i,e.loadedData=i,self.postMessage({type:"mcDataApplied"})};self.addEventListener("message",i=>{let e=i.data;if(e.type==="mcData"){c8e(e.mcData),console.log("data loaded");return}Array.isArray(e)&&e.forEach(t=>{t.type==="mcData"&&c8e(t.mcData)})});var AJe=l8e();AJe.workerProxy();})();
|
|
29579
|
+
}`})}},VP=class{constructor(e){this.worldRenderer=e}points;timer=new Hs;enabled=!1;currentTime;enable(){this.enabled||(this.enabled=!0,this.updateVisibility())}disable(){this.enabled&&(this.enabled=!1,this.removeStars())}toggle(){return this.enabled?this.disable():this.enable(),this.enabled}enablementCheck=()=>this.currentTime?this.currentTime>13500&&this.currentTime<23e3:!1;render=()=>{if(!this.points)return;this.points.position.set(0,0,0);let e=this.points.material;this.timer.update(performance.now()),e.uniforms.time.value=this.timer.getElapsed()*.2};updateTimeOfDay(e){this.currentTime=e,this.enabled&&this.updateVisibility()}updateVisibility(){if(!this.enabled)return;let e=this.enablementCheck?.()??!1;e&&!this.points?this.createStars():!e&&this.points&&this.removeStars()}createStars(){if(this.points)return;let e=80,t=50,n=7e3,r=7,s=10,a=new dt,o=b=>new X().setFromSpherical(new Jf(b,Math.acos(1-Math.random()*2),Math.random()*2*Math.PI)),l=[],c=[],u=Array.from({length:n},()=>(.5+.5*Math.random())*r),d=new We,f=e+t,v=t/n;for(let b=0;b<n;b++)f-=v*Math.random(),l.push(...o(f).toArray()),d.setHSL(b/n,s,.9),c.push(d.r,d.g,d.b);a.setAttribute("position",new Je(l,3)),a.setAttribute("color",new Je(c,3)),a.setAttribute("size",new Je(u,1));let g=new FP;g.blending=es,g.depthTest=!0,g.depthWrite=!1,g.transparent=!0,this.points=new gr(a,g),this.points.renderOrder=-1,this.worldRenderer.scene.add(this.points)}dispose(){this.removeStars()}removeStars(){this.points&&(this.points.geometry.dispose(),this.points.material.dispose(),this.worldRenderer.scene.remove(this.points),this.points=void 0)}},z4e={id:"starfield",controller:VP,enabledDefault:!0,cannotBeDisabled:!0};var H4e={starfield:z4e,futuristicReveal:V4e,rain:O4e,cameraBobbing:P4e,blockBreakParticles:C4e};h();p();m();h();p();m();var zP=()=>({longRenderTime:!1,constantLongRenderTime:!1,tooManyEntities:!1,tooManyTextures:!1,unknownReason:!1});h();p();m();h();p();m();var hg=class{constructor(e){this.factors=e}renderTimeHistory=[];onFrame(e){this.pushRenderTime(e.totalMs),this.recompute(e)}pushRenderTime(e){this.renderTimeHistory.push(e),this.renderTimeHistory.length>24&&this.renderTimeHistory.shift()}recompute(e){let t=e.fps>0&&e.fps<=45,n=Math.max(0,e.totalMs-e.entitiesMs),r=e.totalMs>=30,s=this.renderTimeHistory.length,a=this.renderTimeHistory.filter(f=>f>=30).length,o=s>=8&&a/s>=.65,l=e.loadedTextureCount>=100,c=t&&e.entitiesMs>=8&&n<=20,d=t&&!(r||o||c||l);this.factors.longRenderTime=r,this.factors.constantLongRenderTime=o,this.factors.tooManyEntities=c,this.factors.tooManyTextures=l,this.factors.unknownReason=d}reset(){this.renderTimeHistory.length=0,this.factors.longRenderTime=!1,this.factors.constantLongRenderTime=!1,this.factors.tooManyEntities=!1,this.factors.tooManyTextures=!1,this.factors.unknownReason=!1}};h();p();m();var lJe=[{key:"longRenderTime",code:"LR"},{key:"constantLongRenderTime",code:"CLR"},{key:"tooManyEntities",code:"ENT"},{key:"tooManyTextures",code:"TEX"},{key:"unknownReason",code:"UNK"}];function qP(i){let e=lJe.filter(({key:t})=>i[t]).map(({code:t})=>t);return e.length>0?e.join("+"):""}var ia=class ia extends Ry{constructor(t,n,r){if(!r.resourcesManager)throw new Error("resourcesManager is required in displayOptions");super(r.resourcesManager,r,n);this.renderer=t;this.initOptions=n;this.displayOptions=r;this.performanceMonitor=new hg(this.reactiveState.world.instabilityFactors),this.renderer=t;let s=ia.getRendererInfo(t)??"...";r.rendererState.renderer=s,this.chunkMeshManager=new fg(this,this.scene,this.material,this.worldSizeParams.worldHeight,this.viewDistance),this.onRenderDistanceChanged=a=>{this.chunkMeshManager.updateViewDistance(a)},typeof window<"u"&&(window.setBlockLightmap=a=>{this.chunkMeshManager.setBlockLightmapParams(a)}),this.syncSkyLevelFromTime(this.timeOfTheDay),this.cursorBlock=new Bb(this),this.holdingBlock=sg(this),this.holdingBlockLeft=sg(this,!0);for(let a of Object.values(H4e))this.registerModule(a);this.skyboxRenderer=new qb(this.realScene,!1,null),this.skyboxRenderer.init(),this.addDebugOverlay(),this.resetScene(),this.init(),this.soundSystem=new Ob(this),this.cameraShake=new Nb(this,this.onRender),this.media=new Ub(this),this.fireworksLegacy=new zb(this),this.waypoints=new Vb(this),this.cinimaticScript=new Hb(this,(a,o,l)=>this.setCinimaticCamera(a,o,l),a=>this.setCinimaticFov(a),()=>({position:new kt(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),yaw:this.cameraShake.getBaseRotation().yaw,pitch:this.cameraShake.getBaseRotation().pitch,fov:this.camera.fov})),this.fireworks=new Gb(this.realScene,this.sceneOrigin),this.renderUpdateEmitter.on("chunkFinished",a=>{this.finishChunk(a)}),this.worldSwitchActions(),this.initializeModules()}outputFormat="threeJs";isShaderCubeBlocksEnabled(){return this.worldRendererConfig.shaderCubeBlocks===!0&&!!this.renderer?.capabilities?.isWebGL2}chunkMeshManager;get sectionObjects(){return this.chunkMeshManager.sectionObjects}cameraSectionPos=new kt(0,0,0);holdingBlock;holdingBlockLeft;scene=new Rr;get realScene(){return this.scene}ambientLight=new wa(13421772,ia.LEGACY_TO_PHYSICAL_LIGHT);directionalLight=new Ss(16777215,.5*ia.LEGACY_TO_PHYSICAL_LIGHT);entities=new Lb(this,globalThis.mcData);performanceMonitor;cameraGroupVr;material=new _t({vertexColors:!0,transparent:!0,alphaTest:.1});itemsTexture;cursorBlock;onRender=[];lastRenderTime=0;lastSciFiTickMs=0;animatedFov=0;lastFovAnimTime=0;cameraShake;cameraContainer;media;get waitingChunksToDisplay(){return this.chunkMeshManager.waitingChunksToDisplay}waypoints;cinimaticScript;camera;renderTimeAvg=0;pendingSectionUpdates=new Map;pendingSectionBufferStartTimes=new Map;get estimatedMemoryUsage(){return this.chunkMeshManager.getEstimatedMemoryUsage().total}modules={};sectionsOffsetsAnimations={};fountains=[];fireworksLegacy;DEBUG_RAYCAST=!1;skyboxRenderer;fireworks;sceneOrigin=new Wb(this.scene);cameraWorldPos={x:0,y:0,z:0};_cameraPositionAccessWarned=!1;_tmpCameraPos=new X;currentPosTween;currentRotTween;_tpDirection=new X;_tpPitchQuat=new qt;_tpYawQuat=new qt;_tpFinalQuat=new qt;_tpScenePos=new X;_tpAxisX=new X(1,0,0);_tpAxisY=new X(0,1,0);_tpChunkWorldPos=new X;get tilesRendered(){return this.chunkMeshManager.getTotalTiles()}get blocksRendered(){return this.chunkMeshManager.getTotalBlocks()}registerModule(t){if(t.id in this.modules){console.warn(`Module ${t.id} is already registered`);return}let n=new t.controller(this),r={manifest:t,controller:n,enabled:!1,toggle:()=>this.toggleModule(t.id)};this.modules[t.id]=r,t.enabledDefault&&this.toggleModule(t.id,!0)}enableModule(t){let n=this.modules[t];if(!n){console.warn(`Module ${t} not found`);return}n.enabled||(n.enabled=!0,n.controller.enable(),n.controller.render&&this.onRender.push(n.controller.render))}disableModule(t){let n=this.modules[t];if(!n){console.warn(`Module ${t} not found`);return}if(n.manifest.cannotBeDisabled){console.warn(`Module ${t} cannot be disabled`);return}if(n.enabled&&(n.enabled=!1,n.controller.disable(),n.controller.render)){let r=this.onRender.indexOf(n.controller.render);r>-1&&this.onRender.splice(r,1)}}toggleModule(t,n){let r=this.modules[t];if(!r)return console.warn(`Module ${t} not found`),!1;let s=n!==void 0?n:!r.enabled;if(s===r.enabled)return r.enabled;if(!s&&r.manifest.cannotBeDisabled)return console.warn(`Module ${t} cannot be disabled`),!0;if(r.enabled=s,s)r.controller.enable(),r.controller.render&&!this.onRender.includes(r.controller.render)&&this.onRender.push(r.controller.render);else if(r.controller.disable(),r.controller.render){let a=this.onRender.indexOf(r.controller.render);a>-1&&this.onRender.splice(a,1)}return s}setRain(t){this.worldRendererConfig.isRaining=t,this.toggleModule("rain",t)}disposeModules(){for(let t of Object.values(this.modules))t.controller.dispose();this.modules={}}initializeModules(){this.updateModulesFromConfig()}getModule(t){return this.modules[t]?.controller}anyModuleRequiresHeightmap(){return Object.values(this.modules).some(t=>t.enabled&&t.manifest.requiresHeightmap)}get cameraObject(){return this.cameraGroupVr??this.cameraContainer}_wrapCameraPositionWithWarning(){let t=this.camera.position,n=this,r=20,s=(l,c,u)=>Math.abs(l)>r||Math.abs(c)>r||Math.abs(u)>r,a=()=>{!n._cameraPositionAccessWarned&&typeof process<"u"},o=new Proxy(t,{set(l,c,u){return(c==="x"||c==="y"||c==="z")&&typeof u=="number"&&Math.abs(u)>r&&a(),l[c]=u,!0},get(l,c,u){let d=l[c];return c==="set"?function(f,v,g){return s(f,v,g)&&a(),l.set(f,v,g)}:c==="setX"||c==="setY"||c==="setZ"?function(f){return Math.abs(f)>r&&a(),l[c](f)}:c==="copy"?function(f){return s(f.x,f.y,f.z)&&a(),l.copy(f)}:typeof d=="function"?d.bind(l):d}});Object.defineProperty(this.camera,"position",{value:o,configurable:!0,enumerable:!0})}worldSwitchActions(){this.onWorldSwitched.push(()=>{this.getModule("futuristicReveal")?.onWorldSwitched?.(),this.protocolCustomBlocks.clear(),this.sectionsOffsetsAnimations={},this.waypoints.clear(),this.cinimaticScript.stopScript(),this.fireworks.clear(),this.syncSkyLevelFromTime(this.timeOfTheDay)})}downloadWorldGeometry(){MP(this,new X(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),this.cameraShake.getBaseRotation(),"world-geometry.json")}updateEntity(t,n=!1){let r={rotation:{head:{x:t.headPitch??t.pitch,y:t.headYaw,z:0}}};n?this.entities.updateEntityPosition(t,!1,r):this.entities.update(t,r)}updatePlayerEntity(t){this.entities.handlePlayerEntity(t)}resetScene(){this.sceneOrigin.update(0,0,0),this.cameraWorldPos.x=0,this.cameraWorldPos.y=0,this.cameraWorldPos.z=0,this.scene.matrixAutoUpdate=!1,this.scene.background=new We(this.initOptions.config.sceneBackground),this.scene.add(this.ambientLight),this.directionalLight.position.set(1,1,.5).normalize(),this.directionalLight.castShadow=!0,this.scene.add(this.directionalLight);let t=this.renderer.getSize(new ze);this.camera=new fn(75,t.x/t.y,.1,1e3),this._wrapCameraPositionWithWarning(),this.cameraContainer=new Ut,this.cameraContainer.add(this.camera),this.scene.add(this.cameraContainer)}watchReactivePlayerState(){super.watchReactivePlayerState(),this.onReactivePlayerStateUpdated("inWater",t=>{this.skyboxRenderer.updateWaterState(t,this.playerStateReactive.waterBreathing)}),this.onReactivePlayerStateUpdated("waterBreathing",t=>{this.skyboxRenderer.updateWaterState(this.playerStateReactive.inWater,t)}),this.onReactivePlayerStateUpdated("ambientLight",t=>{t&&(this.ambientLight.intensity=t*ia.LEGACY_TO_PHYSICAL_LIGHT)}),this.onReactivePlayerStateUpdated("directionalLight",t=>{t&&(this.directionalLight.intensity=t*ia.LEGACY_TO_PHYSICAL_LIGHT)}),this.onReactivePlayerStateUpdated("lookingAtBlock",t=>{this.cursorBlock.setHighlightCursorBlock(t?new kt(t.x,t.y,t.z):null,t?.shapes)}),this.onReactivePlayerStateUpdated("diggingBlock",t=>{this.cursorBlock.updateBreakAnimation(t?{x:t.x,y:t.y,z:t.z}:void 0,t?.stage??null,t?.mergedShape)}),this.onReactivePlayerStateUpdated("perspective",t=>{let n=new kt(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z);this.updateCamera(n,this.cameraShake.getBaseRotation().yaw,this.cameraShake.getBaseRotation().pitch)})}watchReactiveConfig(){super.watchReactiveConfig(),this.onReactiveConfigUpdated("showChunkBorders",r=>{this.updateShowChunksBorder(r)}),this.onReactiveConfigUpdated("defaultSkybox",r=>{this.skyboxRenderer.updateDefaultSkybox(r)}),this.onReactiveConfigUpdated("shaderCubeDebugMode",()=>{this.chunkMeshManager.syncCubeShaderUniforms(),this.chunkMeshManager.syncLegacyShaderUniforms()});let t=()=>{let r=this.worldRendererConfig;this.chunkMeshManager.setShadingTheme(r.shadingTheme,r.cardinalLight)};this.onReactiveConfigUpdated("shadingTheme",t),this.onReactiveConfigUpdated("cardinalLight",t),this.onReactiveConfigUpdated("futuristicReveal",()=>{this.updateModulesFromConfig()});let n=this.displayOptions.inWorldRenderingConfig.handRenderer;this.onReactiveConfigUpdated("handRenderer",r=>{if(r===n)return;n=r;let s=this.holdingBlock.ready,a=this.holdingBlockLeft.ready;this.holdingBlock.dispose(),this.holdingBlockLeft.dispose(),this.holdingBlock=sg(this),this.holdingBlockLeft=sg(this,!0),s&&(this.holdingBlock.ready=!0,this.holdingBlock.updateItem()),a&&(this.holdingBlockLeft.ready=!0,this.holdingBlockLeft.updateItem())}),this.onReactiveConfigUpdated("*",()=>{this.updateModulesFromConfig()}),this.updateModulesFromConfig()}updateModulesFromConfig(){let{moduleStates:t}=this.worldRendererConfig;for(let[n,r]of Object.entries(this.modules)){let s=t[n];if(s==="enabled"){r.enabled||this.toggleModule(n,!0);continue}if(s==="disabled"){r.enabled&&!r.manifest.cannotBeDisabled&&this.toggleModule(n,!1);continue}if(s==="auto"||s===void 0)if(r.controller.autoEnableCheck){let a=r.controller.autoEnableCheck();a&&!r.enabled?this.toggleModule(n,!0):!a&&r.enabled&&!r.manifest.cannotBeDisabled&&this.toggleModule(n,!1)}else{let a=r.manifest.enabledDefault??!1;a&&!r.enabled?this.toggleModule(n,!0):!a&&r.enabled&&!r.manifest.cannotBeDisabled&&this.toggleModule(n,!1)}}}changeHandSwingingState(t,n=!1){let r=n?this.holdingBlockLeft:this.holdingBlock;t?r.startSwing():r.stopSwing()}async updateAssetsData(){let t=this.resourcesManager.currentResources,n=this.material.map,r=this.itemsTexture,s=cc(t.blocksAtlasImage);s.needsUpdate=!0,s.flipY=!1,this.material.map=s,this.chunkMeshManager.syncCubeShaderUniforms(),this.chunkMeshManager.syncLegacyShaderUniforms();let a=cc(t.itemsAtlasImage);a.needsUpdate=!0,a.flipY=!1,this.itemsTexture=a,n&&n.dispose(),r&&r.dispose(),await super.updateAssetsData(),this.onAllTexturesLoaded(),Object.keys(this.loadedChunks).length>0&&(console.log("rerendering chunks because of texture update"),this.rerenderAllChunks())}onAllTexturesLoaded(){this.holdingBlock.ready=!0,this.holdingBlock.updateItem(),this.holdingBlockLeft.ready=!0,this.holdingBlockLeft.updateItem()}changeBackgroundColor(t){this.realScene.background=new We(t[0],t[1],t[2])}changeCardinalLight(t){this.worldRendererConfig.cardinalLight=t}timeUpdated(t){let n=this.getModule("starfield");n?.updateTimeOfDay&&n.updateTimeOfDay(t),this.skyboxRenderer.updateTime(t),this.syncSkyLevelFromTime(t)}syncSkyLevelFromTime(t){let n=Ml(t)/15;this.chunkMeshManager.setSkyLevel(n)}onDayCycleSkyLightChanged(t){}biomeUpdated(t){t?.temperature!==void 0&&this.skyboxRenderer.updateTemperature(t.temperature)}biomeReset(){this.skyboxRenderer.updateTemperature(vP)}getItemRenderData(t,n){return k_e(t,n,this.resourcesManager,this.playerStateReactive)}async demoModel(){let t=cursorBlockRel(0,1,0).position,n=await Pv();Sve(n,t);let r=new Ea(n,16776960);n.add(r),this.realScene.add(n)}demoItem(){let t=cursorBlockRel(0,1,0).position,{mesh:n}=this.entities.getItemMesh({itemId:541},{});n.position.set(t.x+.5,t.y+.5,t.z+.5);let r=new Ea(n,16776960);n.add(r),this.realScene.add(n)}debugOverlayAdded=!1;addDebugOverlay(){if(this.debugOverlayAdded)return;this.debugOverlayAdded=!0;let t=i4("debug-overlay",80,0,void 0,{className:r4});setInterval(()=>{if(t.setVisibility(this.displayAdvancedStats),this.displayAdvancedStats){let n=c=>new Intl.NumberFormat("en-US",{}).format(c),r=c=>new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(c),s="";s+=`TE: ${n(this.renderer.info.memory.textures)} `;let a=this.chunkMeshManager.getGlobalBufferStats();if(a.shaderFaces){let c=a.shaderFaces;s+=`CUBE: ${r(c.used)}/${r(c.capacity)}f `}if(a.legacyOpaque){let c=a.legacyOpaque;s+=`LEG-O: ${r(c.used)}/${r(c.capacity)}q `}if(a.legacyBlend){let c=a.legacyBlend;s+=`LEG-B: ${r(c.used)}/${r(c.capacity)}q `}s+=`MEM: ${this.chunkMeshManager.getEstimatedMemoryUsage().total} `;let o=this.cameraCollisionBlockCache.getAllocatedBytes();o>0&&(s+=`CAM: ${r(o)}b `);let l=qP(this.reactiveState.world.instabilityFactors);l&&(s+=`PF: ${l} `),t.updateText(s),this.backendInfoReport=s}},200)}updatePosDataChunk(t){let n=this.sectionObjects[t];if(!n)return;let[r,s,a]=t.split(",").map(u=>Math.floor(+u/16)),l=500-(Math.abs(r-this.cameraSectionPos.x)+Math.abs(s-this.cameraSectionPos.y)+Math.abs(a-this.cameraSectionPos.z)),c=n.mesh??n.shaderMesh??n.children.find(u=>u.name==="mesh"||u.name==="shaderMesh");c&&(c.renderOrder=l)}cameraSectionPositionUpdate(){for(let t in this.sectionObjects)this.sectionObjects[t]&&this.updatePosDataChunk(t)}getDir(t,n){return t===n?0:t<n?1:-1}finishChunk(t){this.chunkMeshManager.finishChunkDisplay(t),this.getModule("futuristicReveal")?.onChunkFinished?.()}applyPendingSectionUpdates(){if(this.pendingSectionUpdates.size===0)return;let t=performance.now(),n=this.getSectionHeight(),r=[];for(let s of this.pendingSectionUpdates.keys()){let a=this.pendingSectionBufferStartTimes.get(s)??t;if(t-a<ia.MAX_SECTION_UPDATE_BUFFER_MS){let[l,c,u]=s.split(",").map(Number),d=[`${l-16},${c},${u}`,`${l+16},${c},${u}`,`${l},${c-n},${u}`,`${l},${c+n},${u}`,`${l},${c},${u-16}`,`${l},${c},${u+16}`],f=!1;for(let v of d)if(this.sectionsWaiting.has(v)&&!this.pendingSectionUpdates.has(v)&&this.sectionObjects[v]){f=!0;break}if(f)continue}r.push(s)}if(r.length!==0)for(let s of r){let a=this.pendingSectionUpdates.get(s);this.pendingSectionUpdates.delete(s),this.pendingSectionBufferStartTimes.delete(s);let o=a.key.split(","),l=`${o[0]},${o[2]}`;if(!this.loadedChunks[l]||!this.active){this.chunkMeshManager.releaseSection(a.key);continue}if(!this.chunkMeshManager.sectionHasRenderableContent(a.geometry)){this.chunkMeshManager.releaseSection(a.key);continue}let c=this.chunkMeshManager.updateSection(a.key,a.geometry);this.updatePosDataChunk(a.key),c&&this.getModule("futuristicReveal")?.onSectionMeshed?.(a.key,a.geometry,c)}}clearPendingSectionUpdatesForChunk(t,n){for(let r of[...this.pendingSectionUpdates.keys()])r.startsWith(`${t},`)&&r.endsWith(`,${n}`)&&(this.pendingSectionUpdates.delete(r),this.pendingSectionBufferStartTimes.delete(r))}handleWorkerMessage(t){if(t.type==="geometry"){let n=t.key.split(","),r=`${n[0]},${n[2]}`;if(!this.loadedChunks[r]||!this.active){this.pendingSectionUpdates.delete(t.key),this.pendingSectionBufferStartTimes.delete(t.key);return}if(this.sectionObjects[t.key]){this.pendingSectionUpdates.set(t.key,t),this.pendingSectionBufferStartTimes.has(t.key)||this.pendingSectionBufferStartTimes.set(t.key,performance.now());return}if(!this.chunkMeshManager.sectionHasRenderableContent(t.geometry)){this.chunkMeshManager.releaseSection(t.key);return}let s=this.chunkMeshManager.updateSection(t.key,t.geometry);this.updatePosDataChunk(t.key),s&&this.getModule("futuristicReveal")?.onSectionMeshed?.(t.key,t.geometry,s)}}getCameraPosition(t){return(t??this._tmpCameraPos).set(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z)}getSectionCameraPosition(){let t=this.getCameraPosition();return new kt(Math.floor(t.x/16),Math.floor(t.y/16),Math.floor(t.z/16))}updateCameraSectionPos(){let t=this.getSectionCameraPosition();this.cameraSectionPos.equals(t)||(this.cameraSectionPos=t,this.cameraSectionPositionUpdate())}setFirstPersonCamera(t,n,r){let s=this.playerStateReactive.eyeHeight;this.updateCamera(t?.offset(0,s,0)??null,n,r),this.updateCameraSectionPos()}getThirdPersonCamera(t,n,r){t??=new X(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z);let s=this.playerStateReactive.perspective==="third_person_back",a=4,o=this._tpDirection.set(0,0,-1),l=this._tpPitchQuat.setFromAxisAngle(this._tpAxisX,r),c=this._tpYawQuat.setFromAxisAngle(this._tpAxisY,n),u=this._tpFinalQuat.multiplyQuaternions(c,l);o.applyQuaternion(u),s&&o.multiplyScalar(-1),this.DEBUG_RAYCAST&&this.debugRaycast(t,o,a);let d=.25,f=.05,v=.4,g=this.cameraCollisionBlockCache,b=k4e(t.x,t.y,t.z,o.x,o.y,o.z,a,d,f,(_,x,w)=>g.isSolidBlock(_,x,w)),y=a;return b!==void 0&&(y=Math.min(y,b.distance)),y<v&&(y=v),new kt(t.x+o.x*y,t.y+o.y*y,t.z+o.z*y)}debugRaycastHelper;debugHitPoint;debugRaycast(t,n,r){this.debugRaycastHelper&&(this.realScene.remove(this.debugRaycastHelper),this.debugRaycastHelper=void 0),this.debugHitPoint&&(this.realScene.remove(this.debugHitPoint),this.debugHitPoint=void 0);let s=new X(this.sceneOrigin.toSceneX(t.x),this.sceneOrigin.toSceneY(t.y),this.sceneOrigin.toSceneZ(t.z));this.debugRaycastHelper=new F0(n.clone().normalize(),s,r,16711680,r*.1,r*.05),this.realScene.add(this.debugRaycastHelper);let a=new xs(.2,8,8),o=new _t({color:65280});this.debugHitPoint=new Ke(a,o),this.debugHitPoint.position.copy(s).add(n.clone().multiplyScalar(r)),this.realScene.add(this.debugHitPoint)}prevFramePerspective=null;setCinimaticCamera(t,n,r){this.cameraWorldPos.x=t.x,this.cameraWorldPos.y=t.y,this.cameraWorldPos.z=t.z,this.sceneOrigin.update(t.x,t.y,t.z),this.cameraObject.position.set(0,0,0),this.cameraShake.setBaseRotation(r,n),this.updateCameraSectionPos()}setCinimaticFov(t){this.animatedFov=t,this.camera.fov=t,this.camera.updateProjectionMatrix()}updateSmoothFov(){if(this.cinimaticScript.running)return;let t=this.displayOptions.inWorldRenderingConfig.fov,n=this.playerStateReactive.fovMultiplier,r=t*(Number.isFinite(n)?n:1),s=performance.now();if(this.animatedFov===0&&(this.animatedFov=r),Math.abs(this.animatedFov-r)>=.01){let a=s-this.lastFovAnimTime,o=Math.min(a/ia.FOV_TRANSITION_MS,1),l=c=>1-(1-c)**3;this.animatedFov+=(r-this.animatedFov)*l(o),Math.abs(this.animatedFov-r)<.01&&(this.animatedFov=r)}else this.animatedFov=r;this.lastFovAnimTime=s,this.camera.fov!==this.animatedFov&&(this.camera.fov=this.animatedFov,this.camera.updateProjectionMatrix())}updateCamera(t,n,r){if(!this.cinimaticScript.running){if(t){this.renderer.xr.isPresenting&&(t.y-=this.camera.position.y),this.currentPosTween?.stop();let s=this.displayOptions.inWorldRenderingConfig.instantCameraUpdate?0:this.playerStateUtils.isSpectatingEntity()?150:50;this.currentPosTween=new jr(this.cameraWorldPos).to({x:t.x,y:t.y,z:t.z},s).onUpdate(()=>{this.sceneOrigin.update(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),this.cameraObject.position.set(0,0,0)}).start()}if(this.playerStateUtils.isSpectatingEntity()){let s=this.cameraShake.getBaseRotation(),a=0,o=Math.PI/2;s.yaw<o&&n>Math.PI+o?a=-Math.PI*2:n<o&&s.yaw>Math.PI+o&&(a=Math.PI*2),this.currentRotTween?.stop(),this.currentRotTween=new jr(s).to({pitch:r,yaw:n+a},100).onUpdate(l=>this.cameraShake.setBaseRotation(l.pitch,l.yaw-a)).start()}else{this.currentRotTween?.stop(),this.cameraShake.setBaseRotation(r,n);let{perspective:s}=this.playerStateReactive;if(s==="third_person_back"||s==="third_person_front"){let a=new X(this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),o=this.getThirdPersonCamera(a,n,r),l=a.distanceTo(new X(o.x,o.y,o.z)),c=s==="third_person_back"?l:-l;this.camera.position.set(0,0,c),s==="third_person_front"?this.camera.rotation.set(0,Math.PI,0):this.camera.rotation.set(0,0,0)}else this.camera.position.z=0,this.camera.rotation.set(0,0,0),this.debugRaycastHelper&&(this.realScene.remove(this.debugRaycastHelper),this.debugRaycastHelper=void 0),this.debugHitPoint&&(this.realScene.remove(this.debugHitPoint),this.debugHitPoint=void 0)}this.updateCameraSectionPos()}}debugChunksVisibilityOverride(){let{chunksRenderAboveOverride:t,chunksRenderBelowOverride:n,chunksRenderDistanceOverride:r,chunksRenderAboveEnabled:s,chunksRenderBelowEnabled:a,chunksRenderDistanceEnabled:o}=this.reactiveDebugParams,l=this.getSectionHeight(),c=this.cameraSectionPos.y*l;if(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay&&t!==void 0||n!==void 0||r!==void 0)for(let[u,d]of Object.entries(this.sectionObjects)){if(d._waitingForChunkDisplay)continue;let[f,v,g]=u.split(",").map(Number),b=s&&t!==void 0?v<=c+t:a&&n!==void 0?v>=c-n:o&&r!==void 0?Math.abs(v-c)<=r:!0;d.visible=b}else this.chunkMeshManager.updateSectionsVisibility()}render(t=!1){if(this.currentRenderedFrames++,this.reactiveDebugParams.stopRendering)return;this.debugChunksVisibilityOverride();let n=performance.now();this.lastRendered=performance.now();let r=this.lastRenderTime>0?Math.min(Math.max((n-this.lastRenderTime)/1e3,0),.1):1/60;this.lastRenderTime=n,this.cursorBlock.render(),this.updateSectionOffsets();let s=this.getCameraPosition();if(this.skyboxRenderer.update(s,this.viewDistance),this.updateSmoothFov(),t){let w=this.renderer.getSize(new ze);this.camera.aspect=w.width/w.height,this.camera.updateProjectionMatrix()}let a=0;if(!this.reactiveDebugParams.disableEntities){let w=performance.now();this.entities.render(),a=performance.now()-w}let o=this.cameraGroupVr instanceof bt?this.cameraGroupVr.children.find(w=>w instanceof fn):this.camera;this.applyPendingSectionUpdates();let l=performance.now(),c=l-this.lastSciFiTickMs;this.lastSciFiTickMs=l,this.getModule("futuristicReveal")?.tick?.(c,l);let u=this.cameraWorldPos.x,d=this.cameraWorldPos.y,f=this.cameraWorldPos.z;this.chunkMeshManager.maybeRebase({x:u,y:d,z:f});let v=this.chunkMeshManager.getRenderOrigin(),g=this.chunkMeshManager.globalBlockBuffer;g&&(g.setCameraOrigin(v,u,d,f),g.setDebugOverlay(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay),g.compactStep(),g.hasPendingUploads()&&g.uploadDirtyRange(),g.suppressThreeDraw());let b=this.chunkMeshManager.globalLegacyBuffer;b&&(b.setDebugOverlay(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay),b.compactStep(),b.hasPendingUploads()&&b.uploadDirtyRange(),b.suppressThreeDraw());let y=this.chunkMeshManager.globalLegacyBlendBuffer;y&&(y.setDebugOverlay(this.displayOptions.inWorldRenderingConfig.enableDebugOverlay),y.compactStep(),y.hasPendingUploads()&&y.uploadDirtyRange(),y.suppressThreeDraw()),this.chunkMeshManager.markCullDirtyIfBufferStateChanged(),this.chunkMeshManager.setLegacyCameraOrigin(u,d,f),this.chunkMeshManager.updateCullDirtyFromCamera(o,u,d,f),this.chunkMeshManager.cullDirty&&(this.chunkMeshManager.updateSectionCullAndSort(o,this.cameraWorldPos.x,this.cameraWorldPos.y,this.cameraWorldPos.z),this.chunkMeshManager.clearCullDirty()),this.renderer.render(this.scene,o),this.displayOptions.inWorldRenderingConfig.showHand&&this.playerStateReactive.gameMode!=="spectator"&&this.playerStateReactive.perspective==="first_person"&&!this.renderer.xr.isPresenting&&(this.holdingBlock.render(this.camera,this.renderer,this.ambientLight,this.directionalLight),this.holdingBlockLeft.render(this.camera,this.renderer,this.ambientLight,this.directionalLight));for(let w of this.fountains)this.sectionObjects[w.sectionId]&&!this.sectionObjects[w.sectionId].foutain&&(w.createParticles(this.sectionObjects[w.sectionId]),this.sectionObjects[w.sectionId].foutain=!0),w.render();this.waypoints.render(),this.fireworks.update();for(let w of this.onRender)w(r);let x=performance.now()-n;this.worldRendererConfig.autoLowerRenderDistance&&this.chunkMeshManager.recordRenderTime(x),this.renderTimeAvgCount++,this.renderTimeAvg=(this.renderTimeAvg*(this.renderTimeAvgCount-1)+x)/this.renderTimeAvgCount,this.renderTimeMax=Math.max(this.renderTimeMax,x),this.performanceMonitor.onFrame({totalMs:x,entitiesMs:a,loadedTextureCount:this.renderer.info.memory.textures,fps:this.lastFps})}renderHead(t,n,r,s){let a;if(s.SkullOwner?a=s.SkullOwner.Properties?.textures?.[0]?.Value:a=s.profile?.properties?.find(o=>o.name==="textures")?.value,!!a)try{let l=JSON.parse(Buffer.from(a,"base64").toString()).textures?.SKIN?.url,{skinTexturesProxy:c}=this.worldRendererConfig;c&&(l=l?.replace("http://textures.minecraft.net/",c).replace("https://textures.minecraft.net/",c));let u=$c(this,l,Yc.head),d=new bt;return r&&u.position.set(0,.3125,.3125),u.position.y-=23/16,d.add(u),this.sceneOrigin.track(d),d.position.set(t.x+.5,t.y+.045,t.z+.5),d.rotation.set(0,-Ot.degToRad(n*(r?90:45/2)),0),d.scale.set(.8,.8,.8),d}catch(o){console.error("Error decoding player texture:",o)}}lightUpdate(t,n){for(let r=this.worldSizeParams.minY;r<this.worldSizeParams.worldHeight;r+=16)this.setSectionDirty(new kt(t,r,n))}rerenderAllChunks(){for(let t of Object.keys(this.sectionObjects)){let[n,r,s]=t.split(",").map(Number);this.setSectionDirty(new kt(n,r,s))}}updateShowChunksBorder(t){this.chunkMeshManager.updateAllBoxHelpers(t)}resetWorld(){super.resetWorld(),this.pendingSectionUpdates.clear(),this.pendingSectionBufferStartTimes.clear(),this.chunkMeshManager.dispose(),this.chunkMeshManager=new fg(this,this.scene,this.material,this.worldSizeParams.worldHeight,this.viewDistance),this.debugRaycastHelper&&(this.realScene.remove(this.debugRaycastHelper),this.debugRaycastHelper=void 0),this.debugHitPoint&&(this.realScene.remove(this.debugHitPoint),this.debugHitPoint=void 0)}getLoadedChunksRelative(t,n=!1){let[r,s,a]=NE(t);return Object.fromEntries(Object.entries(this.sectionObjects).map(([o,l])=>{let[c,u,d]=o.split(",").map(Number),[f,v,g]=NE({x:c,y:u,z:d});return[n?`${f-r},${v-s},${g-a}`:`${f-r},${g-a}`,l]}))}readdChunks(){for(let t of Object.keys(this.sectionObjects))this.scene.remove(this.sectionObjects[t]);setTimeout(()=>{for(let t of Object.keys(this.sectionObjects))this.scene.add(this.sectionObjects[t])},500)}disableUpdates(t=this.scene.children){for(let n of t)n.matrixWorldNeedsUpdate=!1,this.disableUpdates(n.children??[])}removeColumn(t,n){super.removeColumn(t,n),this.clearPendingSectionUpdatesForChunk(t,n);let r=this.getSectionHeight(),s=this.worldMinYRender;for(let a=s;a<this.worldSizeParams.worldHeight;a+=r){let o=`${t},${a},${n}`;this.chunkMeshManager.sectionObjects[o]&&this.chunkMeshManager.releaseSection(o)}this.chunkMeshManager.onChunkRemovedFromGate(`${t},${n}`)}updateViewerPosition(t){super.updateViewerPosition(t),this.chunkMeshManager.pendingNearReveal.size>0&&this.chunkMeshManager.tryRevealPending()}onViewerChunkPositionChanged(){this.chunkMeshManager.tryRevealPending()}setSectionDirty(...t){super.setSectionDirty(...t)}static getRendererInfo(t){try{let n=t.getContext();return`${n.getParameter(n.getExtension("WEBGL_debug_renderer_info").UNMASKED_RENDERER_WEBGL)}`}catch(n){console.warn("Failed to get renderer info",n)}}worldStop(){this.media.onWorldStop()}destroy(){this.performanceMonitor?.reset(),this.pendingSectionUpdates.clear(),this.pendingSectionBufferStartTimes.clear(),this.chunkMeshManager.dispose(),this.disposeModules(),this.fireworksLegacy.destroy(),super.destroy(),this.skyboxRenderer.dispose(),this.fireworks.dispose()}shouldObjectVisible(t){let r=this.getSectionHeight(),s,a,o,l=this.sceneOrigin.getWorldPosition(t);l?(s=l.x,a=l.y,o=l.z):(s=this.sceneOrigin.toWorldX(t.position.x),a=this.sceneOrigin.toWorldY(t.position.y),o=this.sceneOrigin.toWorldZ(t.position.z));let c=Math.floor(s/16)*16,u=Math.floor(o/16)*16,d=Math.floor(a/r)*r,f=`${c},${u}`,v=`${c},${d},${u}`;return!!this.finishedChunks[f]||!!this.sectionObjects[v]}handleUserClick(t){this.media.handleUserClick(t)}updateSectionOffsets(){let t=performance.now();for(let[n,r]of Object.entries(this.sectionsOffsetsAnimations)){let s=(t-r.time)/1e3;r.time=t,r.currentOffsetX+=r.speedX*s,r.currentOffsetY+=r.speedY*s,r.currentOffsetZ+=r.speedZ*s,r.limitX!==void 0&&(r.speedX>0?r.currentOffsetX=Math.min(r.currentOffsetX,r.limitX):r.currentOffsetX=Math.max(r.currentOffsetX,r.limitX)),r.limitY!==void 0&&(r.speedY>0?r.currentOffsetY=Math.min(r.currentOffsetY,r.limitY):r.currentOffsetY=Math.max(r.currentOffsetY,r.limitY)),r.limitZ!==void 0&&(r.speedZ>0?r.currentOffsetZ=Math.min(r.currentOffsetZ,r.limitZ):r.currentOffsetZ=Math.max(r.currentOffsetZ,r.limitZ));let a=this.sectionObjects[n];a&&(a.position.set(r.currentOffsetX,r.currentOffsetY,r.currentOffsetZ),a.updateMatrix())}}reloadWorld(){this.entities.reloadEntities()}};Wn(ia,"LEGACY_TO_PHYSICAL_LIGHT",Math.PI),Wn(ia,"FOV_TRANSITION_MS",200),Wn(ia,"MAX_SECTION_UPDATE_BUFFER_MS",500);var Yd=ia;h();p();m();h();p();m();var mg="1.21.4";h();p();m();function Jd(i,e){i.aspect=e.width/e.height,i.updateProjectionMatrix()}h();p();m();h();p();m();var u0={mode:"v2",minecraftTextures:!0,v2Scene:"light",v2Camera:"dive",v2BlockGroup:"stainedGlass",v2CameraSpeedPercent:80,v2BlockSpeedPercent:40},GP=i=>i/100,g9={camera:GP(u0.v2CameraSpeedPercent),block:GP(u0.v2BlockSpeedPercent)};function WP(i,e=!1){return i?.mode?i.mode:e?"worldBlocks":u0.mode}h();p();m();Lt();h();p();m();var jP={};function XP(...i){let e=i.filter(n=>n.length>0).join("/"),t=typeof globalThis.location<"u"&&globalThis.location.href?globalThis.location.href:typeof jP<"u"&&jP.url?jP.url:`/${e}`;try{return new URL(e,t).href}catch{return`/${e}`}}var $P=new Date,W4e=$P.getMonth()===11&&$P.getDate()>=24&&$P.getDate()<=26,cJe=["panorama_3.webp","panorama_1.webp","panorama_4.webp","panorama_5.webp","panorama_0.webp","panorama_2.webp"],uJe=200,pg=class{constructor(e){this.documentRenderer=e;this.scene=new Rr,this.scene.background=new We(3294568);let t=new wa(13421772);this.scene.add(t);let n=new Ss(16777215,.5);n.position.set(1,1,.5).normalize(),n.castShadow=!0,this.scene.add(n),this.camera=new fn(85,e.canvas.width/e.canvas.height,.05,1e3),this.camera.position.set(0,0,0),this.camera.rotation.set(0,0,0)}scene;camera;startTimes=new Map;time=0;panoramaGroup=null;async init(){this.buildCubemap()}update(e,t){t&&Jd(this.camera,this.documentRenderer.canvas)}dispose(){this.scene.clear(),this.panoramaGroup=null,this.startTimes.clear()}buildCubemap(){let e=new Sn(1e3,1e3,1e3),t=[];for(let s of cJe)(async()=>{let o=XP("background",W4e?"christmas":"",s),l=await qu(o),c=cc(l);c.matrixAutoUpdate=!1,c.matrix.set(-1,0,1,0,1,0,0,0,1),c.wrapS=jn,c.wrapT=jn,c.minFilter=$t,c.magFilter=$t;let u=new _t({map:c,transparent:!0,side:In,depthWrite:!1,opacity:0});this.startTimes.set(u,Date.now()),t.push(u)})().catch(o=>{console.warn("[ClassicMenuBackground] Failed to load panorama face:",s,o)});let n=new Ke(e,t);n.onBeforeRender=()=>{this.time+=.01,n.rotation.y=Math.PI+this.time*.01,n.rotation.z=Math.sin(-this.time*.001)*.001;for(let s of t){let a=this.startTimes.get(s);if(a){let o=Date.now()-a;s.opacity=Math.min(1,o/uJe)}}};let r=new Ut;if(r.add(n),!W4e)for(let s=0;s<20;s++){let a=new o0("1.16.4","squid").mesh;a.position.set(Math.random()*30-15,Math.random()*20-10,Math.random()*10-17),a.rotation.set(0,Math.PI+Math.random(),-Math.PI/4,"ZYX");let o=Math.random()*.01;a.children[0].onBeforeRender=()=>{a.rotation.y+=o,a.rotation.z=Math.cos(n.rotation.y*3)*Math.PI/4-Math.PI/2},r.add(a)}this.scene.add(r),this.panoramaGroup=r}async debugImageInFrontOfCamera(){let e=await qu(XP("background","panorama_0.webp")),t=cc(e),n=new Ke(new zn(1e3,1e3),new _t({map:t}));n.position.set(0,0,-500),this.scene.add(n)}};h();p();m();Lt();h();p();m();var q5=["galaxy","nether","end","cyber","light"],G5=["cruise","barrel","dive","orbit","snake"],_9={galaxy:"Galaxy",nether:"Nether",end:"The End",cyber:"Cyber",light:"Light Space"},y9={cruise:"Cruise",barrel:"Barrel",dive:"Dive",orbit:"Orbit",snake:"Snake"},W5=["mixed","stainedGlass","wool","construction","glow","world"],b9={mixed:"Mixed",stainedGlass:"Stained glass",wool:"Wool",construction:"Construction",glow:"Glow",world:"World (grass & ores)"};var j4e=.1,Y4e={mixed:["white_wool","cyan_wool","blue_wool","purple_wool","white_stained_glass","cyan_stained_glass","blue_stained_glass","purple_stained_glass","glowstone","sea_lantern","amethyst_block","copper_block","gold_block","diamond_block"],stainedGlass:["white_stained_glass","orange_stained_glass","magenta_stained_glass","light_blue_stained_glass","yellow_stained_glass","lime_stained_glass","pink_stained_glass","gray_stained_glass","light_gray_stained_glass","cyan_stained_glass","purple_stained_glass","blue_stained_glass","brown_stained_glass","green_stained_glass","red_stained_glass","black_stained_glass"],wool:["white_wool","orange_wool","magenta_wool","light_blue_wool","yellow_wool","lime_wool","pink_wool","gray_wool","light_gray_wool","cyan_wool","purple_wool","blue_wool","brown_wool","green_wool","red_wool","black_wool"],construction:["copper_block","exposed_copper","weathered_copper","oxidized_copper","cut_copper","exposed_cut_copper","weathered_cut_copper","oxidized_cut_copper","iron_block","gold_block","diamond_block","emerald_block","netherite_block","lapis_block","redstone_block","coal_block","quartz_block","amethyst_block","bricks","stone_bricks","deepslate_bricks","polished_blackstone"],glow:["glowstone","sea_lantern","shroomlight","ochre_froglight","verdant_froglight","pearlescent_froglight","redstone_lamp","beacon"],world:["grass_block","podzol","mycelium","dirt","coarse_dirt","rooted_dirt","mud","clay","stone","cobblestone","mossy_cobblestone","deepslate","cobbled_deepslate","tuff","calcite","sand","red_sand","gravel","snow_block","coal_ore","deepslate_coal_ore","iron_ore","deepslate_iron_ore","copper_ore","deepslate_copper_ore","gold_ore","deepslate_gold_ore","diamond_ore","deepslate_diamond_ore","emerald_ore","deepslate_emerald_ore","lapis_ore","deepslate_lapis_ore","redstone_ore","deepslate_redstone_ore","nether_gold_ore","ancient_debris","oak_log","birch_log","spruce_log","jungle_log","acacia_log","dark_oak_log","mangrove_log","cherry_log","netherrack","soul_sand","basalt","end_stone"]},X4e={galaxy:{bg:132114,fog:132114,fogD:.011,blocks:[61695,54527,47359,59647,2280703,43263],emit:[13158,8789,6724],nebula:[4403,1114146,4386],galFn:i=>new We(i*.05,i*.2,i),ambient:264216,dir:3368703,pt1:43775,pt2:16729343,name:"GALAXY"},nether:{bg:917760,fog:917760,fogD:.016,blocks:[16720384,16737792,16750848,13373696,16729122,16755200],emit:[2230272,1114112,3346688],nebula:[1704960,851968,1705984],galFn:i=>new We(i,i*.15,0),ambient:1573376,dir:16724736,pt1:16729088,pt2:16755200,name:"NETHER"},end:{bg:0,fog:0,fogD:.009,blocks:[7807658,11158732,5570679,14527231,3342421,12299007],emit:[655381,1572901,327696],nebula:[524312,851989,262158],galFn:i=>new We(i*.4,0,i),ambient:393232,dir:10040319,pt1:11158783,pt2:4456618,name:"THE END"},cyber:{bg:792610,fog:792610,fogD:.008,blocks:[65535,4521932,11206468,6741503,8978278,65450],emit:[666163,668450,665656],nebula:[1192e3,1587240,1323588],galFn:i=>new We(i*.15,i*.85,i*.95),ambient:1716288,dir:6750156,pt1:4521966,pt2:10092356,name:"CYBER",starColor:13431039,starOpacity:.75,galaxyOpacity:.62,nebulaOpacity:.36,edgeLineColor:4521949,blockOpacity:[.38,.54]},light:{bg:8951984,fog:7899296,fogD:.006,gradientBg:{top:14214392,mid:10531016,bottom:6846608,radial:!0},blocks:[15266559,13691135,12114175,10537208,8960240,7383272,10012927,12640511,15792383,7909608,14216447,14739711],emit:[6854864,8958176,11061488,12638456],nebula:[9480392,11059424,12637420,14215416,7901360],galFn:i=>{let e=new We;return i<.4?e.lerpColors(new We(16054527),new We(14215423),i/.4):i<.75?e.lerpColors(new We(14215423),new We(11061488),(i-.4)/.35):e.lerpColors(new We(11061488),new We(9482464),(i-.75)/.25),e},ambient:7899296,dir:13688040,pt1:11061503,pt2:13162751,name:"LIGHT",starColor:15266047,starOpacity:.5,galaxyOpacity:.7,nebulaOpacity:.32,edgeLineColor:10010856,blockOpacity:[.42,.56]}},dJe={cruise:{pos:(i,e,t)=>({x:Math.sin(i*.28)*18+Math.cos(i*.11)*7+e*10,y:Math.sin(i*.19)*6+Math.cos(i*.31)*3+t*6,z:0}),look:(i,e,t)=>({x:Math.sin((i+.18)*.28)*18+e*8,y:Math.sin((i+.18)*.19)*6+t*4,z:-25}),roll:(i,e=0)=>e*.05+Math.sin(i*.22)*.015,spd:.18},barrel:{pos:(i,e,t)=>{let r=i*2.4;return{x:Math.cos(r)*10+e*4,y:Math.sin(r)*10+t*4,z:Math.sin(i*.4)*8}},look:i=>({x:Math.sin(i*.5)*5,y:Math.cos(i*.5)*5,z:-30}),roll:i=>i*2.4+Math.PI*.5,spd:.24},dive:{pos:(i,e,t)=>({x:Math.sin(i*.6)*30+e*8,y:Math.cos(i*.4)*18+t*6,z:Math.sin(i*.3)*12}),look:(i,e,t)=>({x:Math.sin(i*.6+.2)*30+e*6,y:Math.cos(i*.4+.2)*18-8+t*4,z:-35}),roll:(i,e=0)=>e*.08+Math.sin(i*.6)*.12,spd:.3},orbit:{pos:(i,e,t)=>({x:Math.cos(i*.5)*20+e*5,y:Math.sin(i*.25)*10+t*5,z:Math.sin(i*.5)*20}),look:()=>({x:0,y:0,z:-60}),roll:i=>Math.sin(i*.5)*.08,spd:.15},snake:{pos:(i,e,t)=>({x:Math.sin(i*1.1)*22+Math.sin(i*.37)*8+e*10,y:Math.sin(i*.7)*10+e*4+t*8,z:0}),look:(i,e,t)=>{let n=i+.12;return{x:Math.sin(n*1.1)*22+Math.sin(n*.37)*8+e*8,y:Math.sin(n*.7)*10+t*6,z:-22}},roll:(i,e=0)=>e*.1+Math.sin(i*1.1)*.06,spd:.22}},fJe={cruise:1,barrel:1.6,dive:2.2,orbit:.7,snake:1.4},hJe=250,x9=1e4,w9=3e3,j5=i=>i[Math.floor(Math.random()*i.length)],YP=i=>"#"+i.toString(16).padStart(6,"0"),$4e=i=>{if(typeof document>"u")return null;let e=document.createElement("canvas");e.width=4,e.height=512;let t=e.getContext("2d");if(!t)return null;let n=e.width,r=e.height,s=i.radial?t.createRadialGradient(n/2,r*.32,0,n/2,r*.32,r*.85):t.createLinearGradient(0,0,0,r);s.addColorStop(0,YP(i.top)),i.mid!=null&&s.addColorStop(.45,YP(i.mid)),s.addColorStop(1,YP(i.bottom)),t.fillStyle=s,t.fillRect(0,0,n,r);let a=new On(e);return a.needsUpdate=!0,a},X5=class{constructor(e,t={},n){this.documentRenderer=e;this.abortSignal=n;let r=u0;this.curScene=t.initialScene??r.v2Scene,this.curCam=t.initialCamera??r.v2Camera,this.blockGroup=t.initialBlockGroup??r.v2BlockGroup,this.cameraSpeed=t.initialCameraSpeed??g9.camera,this.blockSpeed=t.initialBlockSpeed??g9.block,this.useMinecraftTextures=t.useMinecraftTextures??r.minecraftTextures,this.resourcesManager=t.resourcesManager;let s=X4e[this.curScene];this.scene=new Rr,this.scene.fog=new C0(s.fog,s.fogD),this.applyScenePalette(s),this.camera=new fn(80,this.documentRenderer.canvas.width/this.documentRenderer.canvas.height,.1,700),this.ambient=new wa(s.ambient,2.5),this.scene.add(this.ambient),this.dir=new Ss(s.dir,4),this.dir.position.set(1,1,0),this.scene.add(this.dir),this.pt1=new yo(s.pt1,5,100),this.scene.add(this.pt1),this.pt2=new yo(s.pt2,4,80),this.pt2.position.set(30,20,-30),this.scene.add(this.pt2);for(let f=0;f<hJe;f++)this.spawnBlock(s,!0);if(!this.useMinecraftTextures){let f=s.edgeLineColor??62975;for(let v=0;v<40;v++){let g=new Pn({color:f,transparent:!0,opacity:.25});j5(this.blocks).mesh.add(new Kn(this.eGeo,g))}}this.scene.add(this.bGroup);let a=new dt,o=new Float32Array(5e3*3);for(let f=0;f<5e3*3;f++)o[f]=(Math.random()-.5)*500;a.setAttribute("position",new Mt(o,3)),this.stars=new gr(a,new Jr({color:s.starColor??16777215,size:.3,transparent:!0,opacity:s.starOpacity??.7,sizeAttenuation:!0})),this.scene.add(this.stars),this.galGeo=new dt;let l=new Float32Array(x9*3),c=new Float32Array(x9*3);for(let f=0;f<x9;f++){let v=f%3,g=Math.random(),b=v/3*Math.PI*2+g*Math.PI*5,y=g*90+Math.random()*10,_=(1-g)*18;l[f*3]=Math.cos(b)*y+(Math.random()-.5)*_,l[f*3+1]=(Math.random()-.5)*7,l[f*3+2]=Math.sin(b)*y+(Math.random()-.5)*_-180;let x=.2+g*.8,w=s.galFn(x);c[f*3]=w.r,c[f*3+1]=w.g,c[f*3+2]=w.b}this.galGeo.setAttribute("position",new Mt(l,3)),this.galGeo.setAttribute("color",new Mt(c,3)),this.galaxy=new gr(this.galGeo,new Jr({size:.9,vertexColors:!0,transparent:!0,opacity:s.galaxyOpacity??.55,sizeAttenuation:!0})),this.scene.add(this.galaxy),this.nebGeo=new dt;let u=new Float32Array(w9*3),d=new Float32Array(w9*3);for(let f=0;f<w9;f++){let v=25+Math.random()*110,g=Math.random()*Math.PI*2,b=(Math.random()-.5)*Math.PI*.5;u[f*3]=v*Math.cos(g)*Math.cos(b),u[f*3+1]=v*Math.sin(b)*.6,u[f*3+2]=v*Math.sin(g)*Math.cos(b)-80;let y=new We(j5(s.nebula));d[f*3]=y.r,d[f*3+1]=y.g,d[f*3+2]=y.b}this.nebGeo.setAttribute("position",new Mt(u,3)),this.nebGeo.setAttribute("color",new Mt(d,3)),this.nebula=new gr(this.nebGeo,new Jr({size:3,vertexColors:!0,transparent:!0,opacity:s.nebulaOpacity??.3,sizeAttenuation:!0})),this.scene.add(this.nebula),this.addBackgroundTextPlane(),this.setupMouseTracking()}scene;camera;ambient;dir;pt1;pt2;blocks=[];bGroup=new bt;galaxy;nebula;stars;galGeo;nebGeo;bGeo=new Sn(1,1,1);eGeo=new dl(this.bGeo);curScene;curCam;blockGroup;cameraSpeed;blockSpeed;camT=0;mx=0;my=0;tmx=0;tmy=0;transitioning=!1;useMinecraftTextures=!1;resourcesManager;atlasTexture=null;blockMaterialPool=new Map;gradientSky=null;gradientSkyTexture=null;disposed=!1;animTime=0;texturesApplied=!1;textureLoadInProgress=!1;onAssetsTexturesUpdated;async init(){this.useMinecraftTextures&&this.scheduleMinecraftTextureLoad()}scheduleMinecraftTextureLoad(){!this.useMinecraftTextures||this.disposed||this.texturesApplied||this.textureLoadInProgress||this.tryApplyMinecraftTextures()}attachAssetsListener(){let e=this.resourcesManager;!e||this.onAssetsTexturesUpdated||(this.onAssetsTexturesUpdated=()=>this.scheduleMinecraftTextureLoad(),e.on("assetsTexturesUpdated",this.onAssetsTexturesUpdated))}detachAssetsListener(){let e=this.resourcesManager;!e||!this.onAssetsTexturesUpdated||(e.off("assetsTexturesUpdated",this.onAssetsTexturesUpdated),this.onAssetsTexturesUpdated=void 0)}hasBlockAtlas(e){let t=e.currentResources;return!!(t?.blocksAtlasImage&&t.blocksAtlasJson)}async ensureAtlasReady(e){if(await this.ensureMcDataLoaded(),this.hasBlockAtlas(e))return!0;if(typeof document>"u"&&e!==this.resourcesManager)return!1;e.currentConfig={...e.currentConfig,version:mg,noInventoryGui:!0};try{await e.updateAssetsData?.({})}catch{return!1}return this.hasBlockAtlas(e)}async tryApplyMinecraftTextures(){if(!(this.disposed||!this.useMinecraftTextures||this.texturesApplied)){this.textureLoadInProgress=!0;try{let e=this.resourcesManager??new lc;if(!await this.ensureAtlasReady(e)){this.resourcesManager&&this.attachAssetsListener();return}if(this.disposed)return;this.applyMinecraftTexturesFromAtlas(e),this.texturesApplied=!0,this.detachAssetsListener()}catch(e){console.warn("[V2MenuBackground] Failed to load Minecraft textures, using solid colors:",e),this.useMinecraftTextures=!1,this.detachAssetsListener()}finally{this.textureLoadInProgress=!1}}}applyScenePalette(e){if(this.documentRenderer.renderer.setClearColor(e.bg),e.gradientBg)if(this.scene.background=null,this.gradientSky){if(this.gradientSky.visible=!0,this.gradientSkyTexture&&e.gradientBg){let s=$4e(e.gradientBg);s&&(this.gradientSkyTexture.dispose(),this.gradientSkyTexture=s,this.gradientSky.material.map=s,this.gradientSky.material.needsUpdate=!0)}}else{let s=$4e(e.gradientBg);s?(this.gradientSkyTexture=s,this.gradientSky=new Ke(new zn(900,700),new _t({map:s,depthWrite:!1,side:In})),this.gradientSky.position.set(0,0,-280),this.gradientSky.renderOrder=-1e3,this.scene.add(this.gradientSky)):this.scene.background=new We(e.bg)}else this.scene.background=new We(e.bg),this.gradientSky&&(this.gradientSky.visible=!1);this.scene.fog instanceof C0&&(this.scene.fog.color.set(e.fog),this.scene.fog.density=e.fogD);let t=this.stars?.material;t&&(t.color.set(e.starColor??16777215),t.opacity=e.starOpacity??.7);let n=this.galaxy?.material;n&&(n.opacity=e.galaxyOpacity??.55);let r=this.nebula?.material;r&&(r.opacity=e.nebulaOpacity??.3)}setupMouseTracking(){let e=n=>{let r=typeof window<"u"?window.innerWidth:this.documentRenderer.canvas.width,s=typeof window<"u"?window.innerHeight:this.documentRenderer.canvas.height;this.tmx=(n.clientX/r-.5)*2,this.tmy=-(n.clientY/s-.5)*2};(typeof document<"u"?document:void 0)?.addEventListener("mousemove",e,{signal:this.abortSignal})}addBackgroundTextPlane(){let n=typeof document<"u"?document.createElement("canvas"):null;if(!n)return;n.width=2048,n.height=768;let r=n.getContext("2d");if(!r)return;r.clearRect(0,0,2048,768),r.save(),r.font="bold 560px Orbitron, sans-serif",r.textAlign="center",r.textBaseline="middle",r.shadowColor="rgba(0,200,255,0.35)",r.shadowBlur=80,r.fillStyle="rgba(255,255,255,0.055)",r.fillText("V2",2048*.28,768*.5),r.restore(),r.save(),r.font="bold 148px Orbitron, sans-serif",r.textAlign="center",r.textBaseline="middle",r.shadowColor="rgba(0,200,255,0.2)",r.shadowBlur=40,r.fillStyle="rgba(255,255,255,0.038)",r.fillText("by ZARDOY",2048*.72,768*.52),r.restore();let s=new On(n),a=new Ke(new zn(280,105),new _t({map:s,transparent:!0,opacity:1,depthWrite:!1,side:In,blending:es}));a.position.set(8,4,-320),this.scene.add(a)}spawnBlock(e,t,n){let r=this.createBlockMaterial(e,n),s=new Ke(this.bGeo,r),a=.3+Math.random()*3;s.scale.setScalar(a),s.position.set((Math.random()-.5)*140,(Math.random()-.5)*70,t?-(Math.random()*140):-155-Math.random()*30),s.rotation.set(Math.random()*Math.PI*2,Math.random()*Math.PI*2,Math.random()*Math.PI*2);let o={mesh:s,spd:.04+Math.random()*.12,dx:(Math.random()-.5)*.012,dy:(Math.random()-.5)*.008,rx:(Math.random()-.5)*.012,ry:(Math.random()-.5)*.012,rz:(Math.random()-.5)*.01,minecraftBlockName:n};this.blocks.push(o),this.bGroup.add(s)}createBlockMaterial(e,t){if(this.useMinecraftTextures&&t){let s=this.blockMaterialPool.get(t);if(s)return s.clone()}let[n,r]=e.blockOpacity??[.32,.46];return new _t({color:j5(e.blocks),transparent:!0,opacity:n+Math.random()*(r-n),depthWrite:!1,blending:es})}removeBlockEdgeLines(){for(let e of this.blocks){let t=e.mesh.children.filter(n=>n instanceof Kn);for(let n of t){e.mesh.remove(n),n.geometry?.dispose();let r=n.material;Array.isArray(r)?r.forEach(s=>s.dispose()):r.dispose()}}}async ensureMcDataLoaded(){let e=globalThis._LOAD_MC_DATA;e&&await e()}resolveBlockAtlasUv(e,t,n){let r=s=>{let a=t[s];return a?{u:a.u,v:a.v,su:a.su??n.suSv,sv:a.sv??n.suSv}:null};if(t[e])return r(e);for(let s of["_top","_side","_front","_0"]){let a=r(`${e}${s}`);if(a)return a}for(let s of Object.keys(t))if(s.startsWith(e))return r(s);return null}applyMinecraftTexturesFromAtlas(e){let t=e.currentResources;if(!t?.blocksAtlasImage||!t.blocksAtlasJson)throw new Error("Block atlas not available");let n=t.blocksAtlasJson,r=n.textures;this.atlasTexture=cc(t.blocksAtlasImage),this.atlasTexture.flipY=!1,this.atlasTexture.needsUpdate=!0;for(let s of Y4e[this.blockGroup]){let a=this.resolveBlockAtlasUv(s,r,n);if(!a)continue;let o=this.atlasTexture.clone();o.flipY=!1,o.offset.set(a.u,a.v),o.repeat.set(a.su,a.sv),o.needsUpdate=!0;let l=s.includes("glass"),c=new _t({map:o,side:In,transparent:l,opacity:l?.85:1,alphaTest:l?.08:0,depthWrite:!0,toneMapped:!1});this.blockMaterialPool.set(s,c)}if(this.blockMaterialPool.size===0)throw new Error("No block textures resolved from atlas (check block names vs atlas keys)");this.removeBlockEdgeLines();for(let s of this.blocks){let a=j5([...this.blockMaterialPool.keys()]);s.minecraftBlockName=a,s.mesh.material=this.blockMaterialPool.get(a).clone()}}setScene(e){if(!q5.includes(e)||e===this.curScene||this.transitioning)return;this.transitioning=!0,this.curScene=e;let t=X4e[e];setTimeout(()=>{if(this.disposed)return;this.applyScenePalette(t),this.ambient.color.set(t.ambient),this.dir.color.set(t.dir),this.pt1.color.set(t.pt1),this.pt2.color.set(t.pt2);for(let s of this.blocks)this.useMinecraftTextures&&s.minecraftBlockName||s.mesh.material instanceof _t&&s.mesh.material.color.set(j5(t.blocks));let n=this.nebGeo.attributes.color;for(let s=0;s<w9;s++){let a=new We(j5(t.nebula));n.setXYZ(s,a.r,a.g,a.b)}n.needsUpdate=!0;let r=this.galGeo.attributes.color;for(let s=0;s<x9;s++){let a=.2+Math.random()*.8,o=t.galFn(a);r.setXYZ(s,o.r,o.g,o.b)}r.needsUpdate=!0,this.transitioning=!1},150)}setCamera(e){G5.includes(e)&&(this.curCam=e)}setCameraSpeed(e){this.cameraSpeed=Math.max(0,e)}setBlockSpeed(e){this.blockSpeed=Math.max(0,e)}async setBlockGroup(e){if(W5.includes(e)&&e!==this.blockGroup&&(this.blockGroup=e,!(!this.useMinecraftTextures||this.disposed))){for(let t of this.blockMaterialPool.values())t.map?.dispose(),t.dispose();this.blockMaterialPool.clear(),this.texturesApplied=!1,this.scheduleMinecraftTextureLoad()}}getSceneId(){return this.curScene}getCameraId(){return this.curCam}getBlockGroupId(){return this.blockGroup}update(e,t){t&&Jd(this.camera,this.documentRenderer.canvas);let n=dJe[this.curCam],r=this.cameraSpeed,s=this.blockSpeed;this.camT+=e*n.spd*r,this.mx+=(this.tmx-this.mx)*.05,this.my+=(this.tmy-this.my)*.05;let a=this.mx*j4e,o=this.my*j4e,l=n.pos(this.camT,a,o),c=n.look(this.camT,a,o);this.camera.position.set(l.x,l.y,l.z),this.camera.lookAt(c.x,c.y,c.z),this.camera.rotation.z=n.roll(this.camT,a);let u=fJe[this.curCam]*s;this.animTime+=e*1e3*s;for(let d of this.blocks){if(d.mesh.position.z+=d.spd*u*60*e,d.mesh.position.x+=d.dx*60*e*s,d.mesh.position.y+=d.dy*60*e*s,d.mesh.rotation.x+=d.rx*u,d.mesh.rotation.y+=d.ry*u,d.mesh.rotation.z+=d.rz,!this.useMinecraftTextures&&d.mesh.material instanceof _t){let f=d.mesh.userData.baseOpacity??.38;d.mesh.userData.baseOpacity==null&&(d.mesh.userData.baseOpacity=f);let v=.88+Math.abs(Math.sin(this.animTime*8e-4+d.mesh.position.x*.3))*.12;d.mesh.material.opacity=f*v}d.mesh.position.z>this.camera.position.z+15&&d.mesh.position.set((Math.random()-.5)*140,(Math.random()-.5)*70,this.camera.position.z-155-Math.random()*30)}this.pt1.position.set(Math.sin(this.camT*.8)*25+this.camera.position.x,Math.cos(this.camT*.6)*12+this.camera.position.y,this.camera.position.z-18),this.pt2.position.set(Math.cos(this.camT*.5)*20+this.camera.position.x,Math.sin(this.camT*.9)*15+this.camera.position.y,this.camera.position.z-30),this.galaxy.rotation.y+=e*.006*s,this.nebula.rotation.y-=e*.003*s,this.stars.rotation.y+=e*4e-4*s}dispose(){this.disposed=!0,this.detachAssetsListener(),this.scene.clear(),this.bGeo.dispose(),this.eGeo.dispose(),this.galGeo.dispose(),this.nebGeo.dispose(),this.gradientSkyTexture?.dispose(),this.atlasTexture?.dispose();for(let e of this.blockMaterialPool.values())e.map?.dispose(),e.dispose();this.blockMaterialPool.clear()}};h();p();m();Lt();h();p();m();var r8e=Yr(n8e(),1),i8e=Yr(CI(),1);var s8e=i=>{let e=(0,r8e.default)(i),t=(0,i8e.default)(i),n=new e(i).sync,r=xJe(n);for(let s of r)if(s.startsWith("set")&&s!=="setColumn"){let a=n[s].bind(n);n[s]=(...o)=>{let l=o[0];l.x!==void 0&&!n.getColumnAt(l)&&n.setColumn(Math.floor(l.x/16),Math.floor(l.z/16),new t(void 0)),a(...o)}}return n};function xJe(i){let e=new Set,t=i;do for(let n of Object.getOwnPropertyNames(t))typeof i[n]=="function"&&n!=="constructor"&&e.add(n);while(t=Object.getPrototypeOf(t));return[...e]}h();p();m();var a8e={paused:!1,showChunkBorders:!1,enableDebugOverlay:!1,debugWasmPerf:!1,debugModelVariant:void 0,futuristicReveal:!1,wasmMesher:!0,shaderCubeBlocks:!1,shaderCubeDebugMode:0,mesherWorkers:1,addChunksBatchWaitTime:200,_experimentalSmoothChunkLoading:!0,_renderByChunks:!1,autoLowerRenderDistance:!1,disableMesherConversionCache:!1,dedicatedChangeWorker:!1,shadingTheme:"high-contrast",cardinalLight:"default",dayCycle:!0,smoothLighting:!0,enableLighting:!0,starfield:!0,defaultSkybox:!0,renderEntities:!0,extraBlockRenderers:!0,foreground:!0,fov:75,volume:1,showHand:!1,viewBobbing:!1,handRenderer:"vanilla",renderEars:!0,highlightBlockColor:"blue",fetchPlayerSkins:!0,skinTexturesProxy:void 0,vrSupport:!0,vrPageGameRendering:!0,clipWorldBelowY:void 0,isPlayground:!1,instantCameraUpdate:!1,isRaining:!1,rainColor:"rgb(118, 148, 226)",rainOpacity:.5,moduleStates:{}};var nL=()=>({reactive:_l({world:{chunksLoaded:{},heightmaps:{},allChunksLoaded:!1,mesherWork:!1,instabilityFactors:zP(),intersectMedia:null},renderer:"...",preventEscapeMenu:!1}),nonReactive:{fps:0,worstRenderTime:0,avgRenderTime:0,world:{chunksLoadedCount:0,chunksTotalNumber:0,chunksFullInfo:"-"},renderer:{timeline:{live:[],frozen:[],lastSecond:[]}}}});h();p();m();h();p();m();h();p();m();Ia();var yg=i=>[Math.floor(i.x/16),Math.floor(i.z/16)];var wJe=async(i,e,t,n=1)=>{for(let r=0;r<i.length;r+=n)e&&await new Promise(s=>setTimeout(s,e)),await t(i[r],r)},$5=new WeakMap,bg=class bg extends W0{static restoreTransferred(e,t){let n=new bg;if(!t)return n;let r=$5.get(t);if(r)r.activeWorldView=n;else{let s=({data:a})=>{let l=$5.get(t)?.activeWorldView;!l||a?.class!==bg.restorerName||a.type==="event"&&l.emit(a.eventName,...a.args)};t.addEventListener("message",s),r={activeWorldView:n,handler:s},$5.set(t,r)}return n}static clearWorkerBridgeForTest(e){let t=$5.get(e);t&&(e.removeEventListener("message",t.handler),$5.delete(e))}static getWorkerBridgeListenerCountForTest(e){return $5.has(e)?1:0}};Wn(bg,"restorerName","WorldViewWorker");var Y5=bg,M9=class extends W0{constructor(t,n,r=new kt(0,0,0)){super();this.world=t;this.viewDistance=n;this.lastPos=new kt(0,0,0).update(r)}spiralNumber=0;gotPanicLastTime=!1;panicChunksReload=()=>{};loadedChunks={};inLoading=!1;chunkReceiveTimes=[];lastChunkReceiveTime=0;lastChunkReceiveTimeAvg=0;panicTimeout;lastPos;eventListeners={};debugChunksInfo={};waitingSpiralChunksLoad={};addWaitTime=1;keepChunksDistance=0;isPlayground=!1;allowPositionUpdate=!0;prepareForTransfer(t){if(t){let n=this.emit.bind(this);this.emit=(r,...s)=>{n(r,...s),t.postMessage({class:Y5.restorerName,type:"event",eventName:r,args:e4(s)})}}return{__restorer:Y5.restorerName}}setBlockStateId(t,n){let r=this.world.setBlockStateId(t,n);if(r&&typeof r.then=="function")throw new Error("setBlockStateId returned promise (not supported)");this.emit("blockUpdate",{pos:t,stateId:n})}updateViewDistance(t){this.viewDistance=t,this.emit("renderDistance",t)}async init(t,n){console.log("WorldView init"),this.updateViewDistance(this.viewDistance),this.emit("chunkPosUpdate",{pos:t}),n?.time?.timeOfDay!==void 0&&this.emit("time",n.time.timeOfDay),n?.entity&&this.emit("playerEntity",n.entity),this.emitterGotConnected(n);let[r,s]=yg(t),a=C3(this.viewDistance).map(([o,l])=>new kt((r+o)*16,0,(s+l)*16));this.lastPos.update(t),await this._loadChunks(a,t)}chunkProgress(){if(this.panicTimeout&&clearTimeout(this.panicTimeout),this.chunkReceiveTimes.length>=5){let t=this.chunkReceiveTimes.reduce((r,s)=>r+s,0)/this.chunkReceiveTimes.length;this.lastChunkReceiveTimeAvg=t;let n=t*2+1e3;this.panicTimeout&&clearTimeout(this.panicTimeout),this.panicTimeout=setTimeout(()=>{!this.gotPanicLastTime&&this.inLoading&&(console.warn("Chunk loading seems stuck, triggering panic reload"),this.gotPanicLastTime=!0,this.panicChunksReload())},n)}}async _loadChunks(t,n){this.spiralNumber++;let{spiralNumber:r}=this;for(let a of Object.keys(this.waitingSpiralChunksLoad))this.waitingSpiralChunksLoad[a](!1),delete this.waitingSpiralChunksLoad[a];let s=!0;this.inLoading=!0,await wJe(t,this.addWaitTime,async a=>{!s||this.loadedChunks[`${a.x},${a.z}`]||(this.world.getColumnAt(a)||(s=await new Promise(o=>{this.waitingSpiralChunksLoad[`${a.x},${a.z}`]=o})),s&&(await this.loadChunk(a,void 0,`spiral ${r} from ${n.x},${n.z}`),this.chunkProgress()))}),r===this.spiralNumber&&(this.panicTimeout&&clearTimeout(this.panicTimeout),this.inLoading=!1,this.gotPanicLastTime=!1,this.chunkReceiveTimes=[],this.lastChunkReceiveTime=0)}async loadChunk(t,n=!1,r="spiral"){let[s,a]=yg(this.lastPos),o=Math.abs(s-Math.floor(t.x/16)),l=Math.abs(a-Math.floor(t.z/16));if(o<=this.viewDistance&&l<=this.viewDistance){let c=await this.world.getColumnAt(t.y!==void 0?t:new kt(t.x,0,t.z));if(c){let u=c.toJson(),d={minY:c.minY??0,worldHeight:c.worldHeight??256};this.emit("loadChunk",{x:t.x,z:t.z,chunk:u,blockEntities:c.blockEntities,worldConfig:d,isLightUpdate:n}),this.loadedChunks[`${t.x},${t.z}`]=!0,this.debugChunksInfo[`${t.x},${t.z}`]??={loads:[]},this.debugChunksInfo[`${t.x},${t.z}`].loads.push({dataLength:u.length,reason:r,time:Date.now()})}else this.isPlayground&&this.emit("markAsLoaded",{x:t.x,z:t.z})}}async reloadLoadedChunks(){let t=Object.keys(this.loadedChunks);for(let n of t){let[r,s]=n.split(",").map(Number);await this.loadChunk({x:r,z:s},!1,"mesher-reconfigure")}}unloadAllChunks(){for(let t of Object.keys(this.loadedChunks)){let[n,r]=t.split(",").map(Number);this.unloadChunk({x:n,z:r})}}unloadChunk(t){this.emit("unloadChunk",{x:t.x,z:t.z}),delete this.loadedChunks[`${t.x},${t.z}`],delete this.debugChunksInfo[`${t.x},${t.z}`]}emitterGotConnected(t){typeof globalThis.WorkerGlobalScope<"u"&&globalThis instanceof globalThis.WorkerGlobalScope||!t||this.emit("blockEntities",new Proxy({},{get(r,s,a){if(typeof s!="string")return;let[o,l,c]=s.split(",").map(Number);return t.world.getBlock(new kt(o,l,c))?.entity}}))}lastBiomeId=null;updateBiome(t){try{if(!this.world.getBiome)return;let n=this.world.getBiome(t);n!==this.lastBiomeId&&(this.lastBiomeId=n,this.emit("biomeReset"))}catch(n){console.error("error updating biome",n)}}lastPosCheck=null;async updatePosition(t,n=!1){if(!this.allowPositionUpdate)return;let r=t.floored();if(!n&&this.lastPosCheck&&this.lastPosCheck.equals(r))return;this.lastPosCheck=r,this.updateBiome(t);let[s,a]=yg(this.lastPos),[o,l]=yg(t);if(s!==o||a!==l||n){this.emit("chunkPosUpdate",{pos:t});let c=[],u=n?this.viewDistance:this.viewDistance+this.keepChunksDistance;for(let f of Object.keys(this.loadedChunks)){let[v,g]=f.split(",").map(Number),b=new kt(v,0,g),[y,_]=yg(b),x=Math.abs(o-y),w=Math.abs(l-_);(x>u||w>u)&&c.push(b)}for(let f of c)this.unloadChunk(f);let d=C3(this.viewDistance).map(([f,v])=>{let g=new kt((o+f)*16,0,(l+v)*16);if(!this.loadedChunks[`${g.x},${g.z}`])return g}).filter(f=>!!f);this.lastPos.update(t),this._loadChunks(d,t)}else this.emit("chunkPosUpdate",{pos:t}),this.lastPos.update(t)}};var xg=class{constructor(e,t,n){this.documentRenderer=e;this.options=t;this.abortSignal=n;this._scene=new Rr,this._scene.background=new We(3294568),this._camera=new fn(85,e.canvas.width/e.canvas.height,.05,1e3),this.camera.position.set(0,0,0),this.camera.rotation.set(0,0,0)}_scene;_camera;get scene(){return this._scene}get camera(){return this._camera}worldRenderer;WorldRendererClass=Yd;async init(){let e=mg,t=new lc;if(t.currentConfig={version:e,noInventoryGui:!0},await t.updateAssetsData?.({}),this.abortSignal.aborted)return;console.time("load menu background scene");let n=s8e(e),s=Si()(e),o=globalThis.mcData.blocksArray.filter(v=>{if(!v.name.includes("stained_glass"))return!1;let g=s.fromStateId(v.defaultState,0);if(g.shapes?.length!==1)return!1;let b=g.shapes[0];return b[0]===0&&b[1]===0&&b[2]===0&&b[3]===1&&b[4]===1&&b[5]===1}),l=-15,c=100,u=100;for(let v=-c;v<c;v++)for(let g=-u;g<u;g++){let b=o[Math.floor(Math.random()*o.length)];n.setBlockStateId(new kt(v,g,l),b.defaultState)}this._camera.updateProjectionMatrix(),this._camera.position.set(.5,u/2+.5,.5),this._camera.rotation.set(0,0,0);let d=new kt(...this._camera.position.toArray()),f=new M9(n,2,d);this.abortSignal.aborted||(this.worldRenderer=new this.WorldRendererClass(this.documentRenderer.renderer,this.options,{version:e,worldView:f,inWorldRenderingConfig:a8e,playerStateReactive:Y0e().reactive,rendererState:nL().reactive,nonReactiveState:nL().nonReactive,resourcesManager:t}),this.worldRenderer instanceof Yd&&(this._scene=this.worldRenderer.realScene,this._camera=this.worldRenderer.camera),f.init(d),await this.worldRenderer.waitForChunksToRender(),!this.abortSignal.aborted&&(this.setupMouseParallax(),console.timeEnd("load menu background scene")))}update(e,t){t&&Jd(this.camera,this.documentRenderer.canvas)}dispose(){this.worldRenderer?.destroy(),this.worldRenderer=void 0,this._scene.clear()}setupMouseParallax(){let e=this._camera,t=e.position.x,n=e.position.y,r;document.body.addEventListener("pointermove",s=>{if(s.pointerType!=="mouse")return;let a=.2,o=s.clientX/window.innerWidth-.5,l=-(s.clientY/window.innerHeight-.5);r?.stop(),r=new jr(e.position).to({x:t+o*a,y:n+l*a},0),r.start(),e.updateProjectionMatrix()},{signal:this.abortSignal})}};h();p();m();Lt();var wg=class{constructor(e,t,n={},r=!1){this.documentRenderer=e;this.options=t;this.mode=WP(n,r)}active;abortController=new AbortController;mode;lastFrameTime=0;get v2(){return this.active instanceof X5?this.active:void 0}get scene(){return this.active?.scene}get camera(){return this.active?.camera}async start(e={}){this.active=this.createImplementation(e),await this.active.init(),this.active.scene.background instanceof We&&this.documentRenderer.renderer.setClearColor(this.active.scene.background),this.lastFrameTime=performance.now(),this.documentRenderer.render=(t=!1)=>{let n=performance.now(),r=Math.min((n-this.lastFrameTime)/1e3,.05);this.lastFrameTime=n;let s=this.active;s&&(s.update(r,t),this.documentRenderer.renderer.render(s.scene,s.camera))}}createImplementation(e){switch(this.mode){case"v2":return new X5(this.documentRenderer,{useMinecraftTextures:e.useMinecraftTextures,initialScene:e.v2Scene,initialCamera:e.v2Camera,initialBlockGroup:e.v2BlockGroup,initialCameraSpeed:e.v2CameraSpeed,initialBlockSpeed:e.v2BlockSpeed,resourcesManager:e.resourcesManager},this.abortController.signal);case"worldBlocks":return new xg(this.documentRenderer,this.options,this.abortController.signal);default:return new pg(this.documentRenderer)}}dispose(){this.active?.dispose(),this.active=void 0,this.abortController.abort()}};h();p();m();var Kd=u0,SJe={rendererWorldPerformance:"normal",rendererMeshersCountOverride:null,starfieldRendering:!0,defaultSkybox:!0,menuBackgroundMode:Kd.mode,menuBackgroundMinecraftTextures:Kd.minecraftTextures,menuBackgroundV2Scene:Kd.v2Scene,menuBackgroundV2Camera:Kd.v2Camera,menuBackgroundV2BlockGroup:Kd.v2BlockGroup,menuBackgroundV2CameraSpeed:Kd.v2CameraSpeedPercent,menuBackgroundV2BlockSpeed:Kd.v2BlockSpeedPercent,rendererFuturisticReveal:!1,rendererPerfDebugOverlay:!1,disableBlockEntityTextures:!1,rendererMesher:"wasm",rendererShaderCubeDebugMode:"off",showChunkBorders:!1,renderEntities:!0,renderDebug:"basic",frameLimit:!1,backgroundRendering:"20fps",vanillaLook:!1,smoothLighting:!0,newVersionsLighting:!1,vrSupport:!0,vrPageGameRendering:!1,clipWorldBelowY:void 0,highlightBlockColor:"auto",loadPlayerSkins:!0,renderEars:!0,showHand:!0,viewBobbing:!0,dayCycleAndLighting:!0,keepChunksDistance:1,gpuPreference:"default",fov:75};var EJe={menuBackgroundMode:{possibleValues:[["classic","Classic"],["v2","V2"]],requiresRestart:!0},menuBackgroundMinecraftTextures:{text:"Minecraft block textures",tooltip:"Use block atlas on V2 menu cubes (loads assets on menu)"},menuBackgroundV2Scene:{possibleValues:q5.map(i=>[i,_9[i]])},menuBackgroundV2Camera:{possibleValues:G5.map(i=>[i,y9[i]])},menuBackgroundV2BlockGroup:{possibleValues:W5.map(i=>[i,b9[i]]),text:"Block pool",tooltip:"Block set for textured menu cubes (requires Minecraft textures)"},menuBackgroundV2CameraSpeed:{text:"Camera speed",tooltip:"Orbit / fly-through camera path speed. 0 freezes the path; mouse parallax still works.",min:0,max:200,unit:"%"},menuBackgroundV2BlockSpeed:{text:"Block speed",tooltip:"Floating blocks and sky rotation. Independent of camera path speed.",min:0,max:200,unit:"%"},rendererWorldPerformance:{text:"World performance",tooltip:"Background workers for chunk geometry. Recreates mesher workers and reloads chunks.",requiresChunksReload:!0,possibleValues:[["low-energy","Low Energy"],["normal","Normal"],["maximum","Maximum"]]},starfieldRendering:{text:"Starfield"},defaultSkybox:{text:"Default skybox"},rendererFuturisticReveal:{text:"Futuristic world reveal"},rendererPerfDebugOverlay:{text:"Performance debug overlay"},disableBlockEntityTextures:{text:"Disable block entity textures",tooltip:"Skips signs, banners, heads, maps, etc."},rendererMesher:{possibleValues:[["wasm","WASM"],["legacy-js","Legacy JS"]],text:"Mesher pipeline",tooltip:"Browser technology for processing world geometry before render. WASM is the fastest; if you see a dead tab icon, reloads, or other errors, switch to Legacy JS.",requiresChunksReload:!0},rendererShaderCubeDebugMode:{text:"Shader cube debug",tooltip:"Instanced cube path visualization (requires shader cubes enabled).",possibleValues:[["off","Off"],["holes","Hole test (red)"],["texIndex","Tile index colors"],["faces","Face id colors"],["atlasAlpha","Atlas alpha"]]},showChunkBorders:{text:"Chunk borders"},renderEntities:{text:"Render entities"},renderDebug:{possibleValues:["advanced","basic","none"]},frameLimit:{text:"Frame limit",tooltip:"false = VSync / unlimited when focused"},backgroundRendering:{text:"Background FPS limit",possibleValues:[["full","NO"],["5fps","5 FPS"],["20fps","20 FPS"]]},vanillaLook:{text:"Vanilla shading",tooltip:"On: Minecraft-style face shading. Off: higher-contrast client shading."},smoothLighting:{},newVersionsLighting:{text:"Lighting in newer versions"},vrSupport:{text:"VR support",tooltip:"Shows VR entry; does not force VR on."},vrPageGameRendering:{text:"VR page game rendering"},clipWorldBelowY:{text:"Clip world below Y"},highlightBlockColor:{possibleValues:[["auto","Auto"],["blue","Blue"],["classic","Classic"]]},loadPlayerSkins:{},renderEars:{tooltip:"Deadmau5 ears when the skin texture includes them"},showHand:{},viewBobbing:{},dayCycleAndLighting:{text:"Day cycle"},keepChunksDistance:{text:"Keep chunks distance",tooltip:"Extra distance before unloading chunks",max:5,unit:""},fov:{min:30,max:110,unit:"\xB0",text:"FOV"},gpuPreference:{text:"GPU preference",tooltip:"WebGL power preference. Requires reload / backend restart to apply.",requiresRestart:!0,possibleValues:[["default","Auto"],["high-performance","Dedicated"],["low-power","Low power"]]}};Ht.enabled=!1;globalThis.THREE=Gt;var o8e=i=>({updateMap:i.entities.updateMap.bind(i.entities),updateCustomBlock:i.updateCustomBlock.bind(i),getBlockInfo:i.getBlockInfo.bind(i),playEntityAnimation:i.entities.playAnimation.bind(i.entities),damageEntity:i.entities.handleDamageEvent.bind(i.entities),updatePlayerSkin:i.entities.updatePlayerSkin.bind(i.entities),applyTemporaryPlayerSkinOverride:i.entities.applyTemporaryPlayerSkinOverride.bind(i.entities),changeHandSwingingState:i.changeHandSwingingState.bind(i),getHighestBlocks:i.getHighestBlocks.bind(i),reloadWorld:i.reloadWorld.bind(i),updateEntityModel:i.entities.updateEntityModel.bind(i.entities),playEntityModelAnimation:i.entities.playEntityModelAnimation.bind(i.entities),addMedia:i.media.addMedia.bind(i.media),destroyMedia:i.media.destroyMedia.bind(i.media),setControlMode:i.media.setControlMode.bind(i.media),setVideoPlaying:i.media.setVideoPlaying.bind(i.media),setVideoSeeking:i.media.setVideoSeeking.bind(i.media),setVideoVolume:i.media.setVideoVolume.bind(i.media),setVideoSpeed:i.media.setVideoSpeed.bind(i.media),handleUserClick:i.media.handleUserClick.bind(i.media),addSectionAnimation(e,t){i.sectionsOffsetsAnimations[e]=t},removeSectionAnimation(e){delete i.sectionsOffsetsAnimations[e]},shakeFromDamage:i.cameraShake.shakeFromDamage.bind(i.cameraShake),onPageInteraction:i.media.onPageInteraction.bind(i.media),downloadMesherLog:i.downloadMesherLog.bind(i),explodeFirework:i.fireworksLegacy.explode.bind(i.fireworksLegacy),explodeFireworkFacingCamera:i.fireworksLegacy.explodeFacingCamera.bind(i.fireworksLegacy),addWaypoint:i.waypoints.addWaypoint.bind(i.waypoints),removeWaypoint:i.waypoints.removeWaypoint.bind(i.waypoints),startCinimaticScript:i.cinimaticScript.startScript.bind(i.cinimaticScript),stopCinimaticScript:i.cinimaticScript.stopScript.bind(i.cinimaticScript),launchFirework:i.fireworks.launchFirework.bind(i.fireworks),setSkyboxImage:i.skyboxRenderer.setSkyboxImage.bind(i.skyboxRenderer),setRain:i.setRain.bind(i),spawnBlockBreakParticles(e,t,n,r,s,a){i.getModule("blockBreakParticles")?.spawnBlockBreakParticles(e,t,n,r,s,a)},spawnBlockCrackParticle(e,t,n,r,s,a,o){i.getModule("blockBreakParticles")?.spawnCrackParticle(e,t,n,r,s,a,o)},async loadGeometryExport(e){let{applyWorldGeometryExport:t}=await Promise.resolve().then(()=>(AP(),j_e));return t(i,e)},feedChunkPacket(e){let{kind:t,...n}=e,r={type:t,...n};for(let s of i.workers)s.postMessage(r)},getChunksDebugState(){let e={};for(let t of Object.keys(i.sectionObjects)){let[n,,r]=t.split(",").map(Number);e[`${n},${r}`]=!0}return{loadedSectionsChunks:e,loadedChunks:{...i.loadedChunks},finishedChunks:{...i.finishedChunks}}}}),MJe=[],A9=(i,...e)=>{for(let t of Object.values(globalThis.loadedMods??{}))try{t.threeJsBackendModule?.[i]?.(...e)}catch(n){let r=`[mod three.js] Error calling ${i} on ${t.name}: ${n}`;throw new Error(r)}},l8e=()=>{let i,e=null,t=null,n=null,r=null,s=(u,d)=>{u.hello&&console.log("Thanks for using minecraft-renderer project: one of the most performant Minecraft world renderers for the web!"),Ln?i=u2(u,MJe,globalThis):i=u,e=new Q_(i,d?.canvas),globalThis.renderer=e.renderer,globalThis.documentRenderer=e,globalThis.threeJsBackend=c,A9("default",c)},a=async u=>{if(!e)throw new Error("Document renderer not initialized");n&&(n.destroy(),n=null,r=null,globalThis.world=void 0,globalThis.frameTimingCollector=void 0),t&&(t.dispose(),t=null);let d={...i.config.menuBackground,...u};t=new wg(e,{...i},d,!!process.env.SINGLE_FILE_BUILD_MODE),A9("menuBackgroundCreated",t),await t.start(d),A9("menuBackgroundReady",t)},o=async u=>{if(!e)throw new Error("Document renderer not initialized");t&&(t.dispose(),t=null),n&&(n.destroy(),n=null,r=null,globalThis.world=void 0,globalThis.frameTimingCollector=void 0);let f=Ln?u2(u,[lc,Y5],globalThis):u;e.nonReactiveState=f.nonReactiveState,globalThis.resourcesManager=f.resourcesManager,n=new Yd(e.renderer,i,f),await n.worldReadyPromise,r=f.inWorldRenderingConfig.enableDebugOverlay?new n4(f.nonReactiveState):null,globalThis.frameTimingCollector=r;let v=e.render;e.render=function(g){v.call(this,g),r?.markFrameStart(),f.inWorldRenderingConfig.paused||n?.render(g),r?.markFrameEnd(),r?.markFrameDisplay()},e.inWorldRenderingConfig=f.inWorldRenderingConfig,globalThis.world=n,A9("worldReady",n)},l=()=>{t&&(t.dispose(),t=null),e&&e.dispose(),n&&(n.destroy(),n=null)},c={id:"threejs",displayName:`three.js ${Ma}`,startMenuBackground:a,startWorld:o,disconnect:l,setRendering(u){e.setPaused(!u),n&&(n.renderingActive=u)},getMenuBackground:()=>t??void 0,getDebugOverlay:()=>({get entitiesString(){return n?.entities.getDebugString()},get left(){return{"Geo Memory":n?.chunkMeshManager.getEstimatedMemoryUsage().total??"-"}}}),updateCamera(u,d,f){r?.markCameraUpdate(!u),n?.setFirstPersonCamera(u,d,f)},get soundSystem(){return n?.soundSystem},get backendMethods(){if(n)return o8e(n)}};return{main:{init:s,backend:c},workerProxy(){return SN({init(u,d){s(u,{canvas:d})},updateSizeExternal(u,d,f){e?.updateSizeExternal(u,d,f)},startMenuBackground:a,startWorld:o,disconnect:l,setRendering:c.setRendering,updateCamera(u,d,f){let v=u?new kt(u.x,u.y,u.z):null;r?.markCameraUpdate(!v),c.updateCamera(v,d,f)},async callBackendMethod(u,...d){if(!n)throw new Error("World renderer not initialized");let v=o8e(n)[u];if(!v)throw new Error(`Backend method ${String(u)} is unavailable`);return v(...d)}})}}};globalThis.structuredClone??=i=>JSON.parse(JSON.stringify(i));var c8e=i=>{TB(i);let e=globalThis;e.mcData=i,e.loadedData=i,self.postMessage({type:"mcDataApplied"})};self.addEventListener("message",i=>{let e=i.data;if(e.type==="mcData"){c8e(e.mcData),console.log("data loaded");return}Array.isArray(e)&&e.forEach(t=>{t.type==="mcData"&&c8e(t.mcData)})});var AJe=l8e();AJe.workerProxy();})();
|
|
29584
29580
|
/*! Bundled license information:
|
|
29585
29581
|
|
|
29586
29582
|
@jspm/core/nodelibs/browser/chunk-DtuTasat.js:
|