From 9e04a723a99c181575675e133dd64b3c1cf939df Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 9 Dec 2023 21:52:27 +0300 Subject: [PATCH] Added lightbulb block --- res/content/base/blocks/lightbulb.json | 9 +++++++++ res/content/base/package.json | 5 +++-- res/textures/blocks/dbg_bottom.png | Bin 0 -> 6730 bytes res/textures/blocks/dbg_east.png | Bin 0 -> 6735 bytes res/textures/blocks/dbg_north.png | Bin 0 -> 6721 bytes res/textures/blocks/dbg_south.png | Bin 0 -> 6734 bytes res/textures/blocks/dbg_top.png | Bin 0 -> 156 bytes res/textures/blocks/dbg_west.png | Bin 0 -> 6729 bytes res/textures/blocks/lightbulb.png | Bin 0 -> 6240 bytes src/voxels/Chunks.cpp | 1 - 10 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 res/content/base/blocks/lightbulb.json create mode 100644 res/textures/blocks/dbg_bottom.png create mode 100644 res/textures/blocks/dbg_east.png create mode 100644 res/textures/blocks/dbg_north.png create mode 100644 res/textures/blocks/dbg_south.png create mode 100644 res/textures/blocks/dbg_top.png create mode 100644 res/textures/blocks/dbg_west.png create mode 100644 res/textures/blocks/lightbulb.png diff --git a/res/content/base/blocks/lightbulb.json b/res/content/base/blocks/lightbulb.json new file mode 100644 index 000000000..cf603c2b7 --- /dev/null +++ b/res/content/base/blocks/lightbulb.json @@ -0,0 +1,9 @@ +{ + "texture": "lightbulb", + "emission": [15, 14, 13], + "model": "aabb", + "hitbox": [0.25, 0.0, 0.25, 0.5, 0.5, 0.5], + "rotation": "pipe", + "light-passing": true, + "sky-light-passing": true +} diff --git a/res/content/base/package.json b/res/content/base/package.json index 5ba70b1fb..f131099f3 100644 --- a/res/content/base/package.json +++ b/res/content/base/package.json @@ -23,6 +23,7 @@ "green_lamp", "blue_lamp", "pane", - "pipe" + "pipe", + "lightbulb" ] -} \ No newline at end of file +} diff --git a/res/textures/blocks/dbg_bottom.png b/res/textures/blocks/dbg_bottom.png new file mode 100644 index 0000000000000000000000000000000000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Y|MF3~EGEQQ8BfPFy8;b}Y-K5~qkYH9$H%CRP$=Gz$_!M#vC2 z!Y-y^(m*$fznRx4-F;2H7wSMGywA4pug3ysKBU_#|svt&CCfAX@bG(^Ew32z0^0^%sM9>o|6kYK@UVN z;8e8HkprS*Vqa=FT%Z;8CZ`r~b|XovsCnhAMz%S2oOE6{1gO8nZ6y7IyHglQ#l$GX zjhxM4UUYbX)N#I&H*zAcbUxA~%X659gh?7hVM2qluv!g*LNY8z2pGVB0^l+c;NTpCu?Wq<3JtG@2?fQ&EJ+A3s%8*EP^d{nz+ZzHY8F9Ovbxu;azOC_ z3ZqGmBya&{1qA~W2uZ=LT1~+;&mstcu>wjrSi^J5NTXTLf^dp@Rx8L&2Cef9hr^X2 zvC#oiOoqH#iPf=I4NwS>4i*hI`>PF=s238ftiziqg2_*?;3&=zV zCW^@L23$v2lzNt0y)`8e4VcB(^xt^ zMR52D!EhKwVU$#%m=a->B;kkPN(7P0|9y%CPjeKd=3$)Xc$mNl1|$)}0%H&b$I(1U zRl2d!Z%+{=l-N6@h*2z!BLo5C1WSRE!w{HdC=TWkP$PoCqb&7LQlwM}ss!;v(RUX` zTmgCr#nXVIAixBnMqxFLlQ0-pIDs-W&Z7;j;AI)SRTLQ&$|wm^iDK`LBBRj|9Hl^D z9s`Yzz!VCYWvsf*6c|u0bn77GiW`ivDuPrS-)?_m}_Q$ZrsM?UoD1V#6A^J%h`* z{N-)@`Md=F|2Kc0PyB!L2#MtVA#dd0_wIV{t~c_)8wtP9uJ`VGBM-ch@cZog$K2)i z>V2MI0RQBtgSU0tqCIWkO!t321N>(IO9t^HSOckbR%ch+b7Au+JbC+hY^9FEIr2P}i2=!hZVn?sYQ{0}l| BTKE6} literal 0 HcmV?d00001 diff --git a/res/textures/blocks/dbg_east.png b/res/textures/blocks/dbg_east.png new file mode 100644 index 0000000000000000000000000000000000000000..6139b25f42b22d4106e17a64e1e85e03f954721b GIT binary patch literal 6735 zcmeHLc~lcu7av6h5nF*GpeQ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45Z|8X^@^xvbq-#h^~wsx0Vs?jS(3ncnBm1VOdzBLW>hK(OmPf?5E#RwREswp zD;=sgY8jADjh2byMFw4*&4xAL(jkganGo|vUalw-8M7KF$b=&_x+KfX4W&lQN0}LG zG*JnH0Sbf|6;p&nOurNw%^OXi60Mjh;*Gc9TGJv0WI$jUYn=iBn+D(_4K(tMS#MP8 z^@%c})g^&d(^lRBpO&PAXiPw2vbEw{Yd(sf)bgw42qbE3TLOWtY^4m_V#LHG^PJ5P z&}-RZ;~8BX56*XMK|NpB{6(_V2*?kPs9_%CFpzH+foV>R!)gS_c!pCW2xted88+$F z<`l-r4~YXz0UJ<2Ha3EOwovweT{T1JjIg)^Y(mN#v2ABpleW|@k_D)X^cK1>rLzPf$k&v zzmeY}@XB2-7>g}y;O-gRjEi2}jknHAaAf|;SL?+8Crty0AtM#Ar_>u(E})63_1ybk=4p8}rNWk#ED@TAW{HGEhQR05rb9u&$m=7E(D z4Iwcm2x{+Yz3iZ@74Bfs(HtrdcD&~Np^JN$><8{E!BS#q&=4hcgq?b)t|8R{E4|>h z+dbMHyspk#UPeq$OPiM#fRs7MavTS)pv$f*yjS~Y&CRPWH#ax;o5~%qeD1$MHDkQs zP{*$3)Y6?0?wqsm6tpbB>~{Hz%U&}ga6oRCG(Pp~1O7Xd-GqqX`z#IYLZQJUgSG_3 G&iE7VF>+D> literal 0 HcmV?d00001 diff --git a/res/textures/blocks/dbg_top.png b/res/textures/blocks/dbg_top.png new file mode 100644 index 0000000000000000000000000000000000000000..d5395aca87adfe03caf97a3dc4d11123a3283b51 GIT binary patch literal 156 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`$(}BbAr*6yD?dDYU(aTA@UHlN zi3kUt%0x9I-h>7T2Tq9;HUlH0LpT5b|Ihx}(PWcMPybbh6yFynX3i_$vpO-{Et|ya zaJ}a`L(adWYz90I*BZKgr*L<$HXmRJn8xx{tB8?dYox8gkE0!7KXz1L74e zyxV&V1cDaIzOjkmv!(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V$G7|1&z5-DgL)k>FY>tVInKMyI&zVJ&3^#bRYmiM00CcQ{;@EUadb8Lj;kM$6 z!M$Uc$K|w&SY}DMaf(PzsKLZ?hyWr0fu%O>Y>YeFl@nxQ)Z*x{aqSS`Ny1IESd3yG z&uX;>Sn&XZNy9@)lH?&655r&}0h?3x7Rm`!qe$^9W~4r>1+Vf?$F`f~usFI(p@RVgM8-;?sNrXJLvJkT8Mpg)pU331JaKAqas{ zEGlaAhM~pd3?>}~(y7%^8kT3&Yg%nM0xljKDVK1u0OZw3WD;dj0|f~;LaR@)y_!&J zb!?19dSZ197a(X!h_QD_5ff4(93co8CnzCI z2rvW&E0Bg61gsI3Wl&1^HYo~~2r35oL(zAaMO?rqSRo?<6j>G~2o(yeL^vM?+Z9fr zqzGrwwpQ?R8N5*zNhL~(3BDM`-W^3!ttM!p0D&0{G&%wk2w)KfQVHspLPQiI0Hoi% zP~RONj1{T{B&&uA3L(H3&4(!pSHmJiNDEjn!P4ZL^Lf!*FjR?Qj+EiTcSn)La6+vT z@L^H}@&-0Y8m82&5XMAm788kB9235^_KCqrTUBCWKG~UK5YKTada+>y@&0d1X%pyh ziUMu7Z48{wz+sQ~^0e39j~%MtT@!@n#5e z`^fR>0_Eio0D~?TxkBnv=ia0D$iO|L3Uy#;oIGr-a==Nt<@wLIf}Ol74pca<-0W$O zn-jKt&<$Mb5sNA>YmB}h#jclqkvpI}=Do_^)>tRUCD$A8f}L+7`6bkBAo R%K;)Jmre}(KIF5E{{euW$eaKG literal 0 HcmV?d00001 diff --git a/src/voxels/Chunks.cpp b/src/voxels/Chunks.cpp index 497bb0826..ad4a6f09f 100644 --- a/src/voxels/Chunks.cpp +++ b/src/voxels/Chunks.cpp @@ -223,7 +223,6 @@ voxel* Chunks::rayCast(vec3 start, const Block* def = contentIds->getBlockDef(voxel->id); if (def->selectable){ - timeutil::ScopeLogTimer lg((long long)def); end.x = px + t * dx; end.y = py + t * dy; end.z = pz + t * dz;