From 9aea3a3e83c583c9722d28f0dfcc61123f9e7bf1 Mon Sep 17 00:00:00 2001 From: Flotschispielt Date: Sat, 7 Feb 2026 14:34:18 +0100 Subject: [PATCH] added model into asset editor --- .../Items}/SolarPanels/SolarCell1.bbmodel | 0 .../Items}/SolarPanels/SolarCell1.blockymodel | 0 .../Common/Items/SolarPanels/SolarCell1.png | Bin 0 -> 1254 bytes .../Server/Item/Items/SolarCell.json | 100 ++++++++++-------- .../Server/Item/SolarPanels/SolarCell1.png | Bin 1604 -> 0 bytes 5 files changed, 54 insertions(+), 46 deletions(-) rename src/main/resources/{Server/Item => Common/Items}/SolarPanels/SolarCell1.bbmodel (100%) rename src/main/resources/{Server/Item => Common/Items}/SolarPanels/SolarCell1.blockymodel (100%) create mode 100644 src/main/resources/Common/Items/SolarPanels/SolarCell1.png delete mode 100644 src/main/resources/Server/Item/SolarPanels/SolarCell1.png diff --git a/src/main/resources/Server/Item/SolarPanels/SolarCell1.bbmodel b/src/main/resources/Common/Items/SolarPanels/SolarCell1.bbmodel similarity index 100% rename from src/main/resources/Server/Item/SolarPanels/SolarCell1.bbmodel rename to src/main/resources/Common/Items/SolarPanels/SolarCell1.bbmodel diff --git a/src/main/resources/Server/Item/SolarPanels/SolarCell1.blockymodel b/src/main/resources/Common/Items/SolarPanels/SolarCell1.blockymodel similarity index 100% rename from src/main/resources/Server/Item/SolarPanels/SolarCell1.blockymodel rename to src/main/resources/Common/Items/SolarPanels/SolarCell1.blockymodel diff --git a/src/main/resources/Common/Items/SolarPanels/SolarCell1.png b/src/main/resources/Common/Items/SolarPanels/SolarCell1.png new file mode 100644 index 0000000000000000000000000000000000000000..186c36612cb547c1d1f629bc230a9018c37d59e2 GIT binary patch literal 1254 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|GzJEi*`6+rAr*7p+})TpB~qf{ zp|I!HuX-niZe+c^bW(?dTdZmO1KEhE$O=xel{&e5nDP%q349US!mE~%EA8uYaYeFE znws%vJN}jlX_KDSKmYx|xG1gIXr@fB_lM`#_Ah?XzrXC5(%YQe{!Q)t?{azSvWhnZ zbnj94&d<;0^I4Ta|Nb6}pa1?pxqSY7T;I+=Ha~ywXVhUAKF}0%cduE(O%8?@P7umI z8vOshGJ}8`gTOTI10UVy{CXzw;|vQ!A`@1$;aT1HfC=jT-`_0d7i?(Q{H~^?DWIRh zVFnh&5^?`|I!nUYn>UY}08NwL>d&qx%T;CbYc|7-V?Z13vp(4K{>*#6`14OnpZ%@A zxBssEdb_&6uS(b7-(#C_cP>kUnE31K>kEG+&DvUdBz0oFy$<(wuuHdDzAu!Dh*M+W zh(5_s^LIjC*yT3%dXcp$3~QJUc#))-I6|ea77!`aO z6nwzwj21&nB&$S{!}Mqdj@?FKR~A3_XD=`ee`fekFKNlX;=k7z^p5E=w5R0(OB}DSh+Bch_PyfkhmxO7@OMI){#iVA)o(CKGrk(La0FRUpFgSS*{Cjwi z!H1!E`{u2-dYAA1u69pule62g-7rG>B!kYYMJAaW-T)N>gB};!R>b%t{rj<{@7K4N zCNec_ID1+B36m_)-@-W2zK3`Ii^04P4+pXs9R>I7?Uf)QK8f*$y^X|yqibUr%C>Dg zuJxnleC_vt_bxW5J{4m)#Dav*$u#`(GxGl&>5gz`gYl>PC2N$a<19$j&M=;@al{B7 z4#o9ci3s~}h7O*98$nXPfrZrn|L-5gb^;k}pkj)dVa3xK9jEi1&jUpmJYD@<);T3K F0RVClWXu2n literal 0 HcmV?d00001 diff --git a/src/main/resources/Server/Item/Items/SolarCell.json b/src/main/resources/Server/Item/Items/SolarCell.json index 1eead07..f3b46d8 100644 --- a/src/main/resources/Server/Item/Items/SolarCell.json +++ b/src/main/resources/Server/Item/Items/SolarCell.json @@ -1,48 +1,21 @@ { "TranslationProperties": { - "Name": "server.items.Rock_Stone.name" + "Name": "SolarCell Tier 1" + }, + "Icon": "Icons/Items/EditorTools/Layers.png", + "IconProperties": { + "Scale": 0.36, + "Rotation": [ + 22.5, + 45, + 22.5 + ], + "Translation": [ + 12.6, + -24.6 + ] }, - "ItemLevel": 10, - "MaxStack": 100, - "Icon": "Icons/ItemsGenerated/Rock_Stone_Stalactite_Small.png", - "Categories": [ - "Blocks.Rocks" - ], - "PlayerAnimationsId": "Block", - "Set": "Rock_Stone", "BlockType": { - "Material": "Solid", - "DrawType": "Cube", - "Group": "Stone", - "Flags": {}, - "Gathering": { - "Breaking": { - "GatherType": "Rocks", - "ItemId": "Rock_Stone_Cobble" - } - }, - "BlockParticleSetId": "Stone", - "Textures": [ - { - "All": "BlockTextures/Rock_Stone.png", - "Weight": 2 - }, - { - "All": "BlockTextures/Rock_Stone_2.png", - "Weight": 1 - }, - { - "All": "BlockTextures/Rock_Stone_3.png", - "Weight": 1 - } - ], - "ParticleColor": "#737055", - "BlockSoundSetId": "Stone", - "Aliases": [ - "stone", - "stone00" - ], - "BlockBreakingDecalId": "Breaking_Decals_Rock", "BlockEntity": { "Components": { "SolarCell": {}, @@ -53,20 +26,55 @@ "MaxExtract": 1000 } } - } + }, + "CustomModel": "Items/SolarPanels/SolarCell1.blockymodel", + "CustomModelTexture": [ + { + "Texture": "Items/SolarPanels/SolarCell1.png", + "Weight": 1 + } + ], + "DrawType": "Model", + "Material": "Solid", + "Gathering": { + "Breaking": { + "GatherType": "Woods" + } + }, + "Support": { + "Down": [ + { + "FaceType": "Full" + } + ] + }, + "Interactions": { + "Primary": "Break_Container" + }, + "State": {}, + "BlockSoundSetId": "Wood", + "BlockParticleSetId": "Wood", + "VariantRotation": "NESW", + "ParticleColor": "#3e352a" }, + "Scale": 1, "ResourceTypes": [ { - "Id": "Rock" + "Id": "Fuel" }, { - "Id": "Rock_Stone" + "Id": "Charcoal" } ], "Tags": { "Type": [ - "Rock" + "Furniture" + ], + "Family": [ + "Human" ] }, - "ItemSoundSetId": "ISS_Blocks_Stone" + "Set": "Wardrobe", + "PlayerAnimationsId": "Block", + "ItemSoundSetId": "ISS_Blocks_Wood" } diff --git a/src/main/resources/Server/Item/SolarPanels/SolarCell1.png b/src/main/resources/Server/Item/SolarPanels/SolarCell1.png deleted file mode 100644 index 26b5c0f25819da2adff0ede6ac1a967491f39469..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1604 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|GzJFNpPnv`Ar*7p+})oYn<{hs z<8svigPAU~r%buw;5|J@Rh89sp{oGv^d@I>*4?6B+xbFWUM%|G5YU~m&FY0li7-!D zDJPqdlfK&4X73iCi*eOUP3)`ui{78y`}}j2Bj>{Q*_!Wb<`>T^K6m2Hn>S&WEbDvb z>vhIem2SH7a<;Ml^ps@td^ycGSxW*|pZwSvH2vDIsNb(&dH9-ktlhc2df| zfK~<;3$w~?DmQX;#a0P2aHuf|_%JBUU|`u`mS)a$p&;DOKI-L<_wVZx^=kzfIWD|C zcl?}i%LzrOG6w^YI~WeKFf?(3O<(tZvovFdh4t?n-3$&Jlr!_${i-xxOul%ZxBB(>#5Ocu-gh8pQ7T`!ww3!r#K?eIioH#~IGd zwTom6T(346lm^<*Eip8&+hcO@(67Z#n`eMx0o4=22)|xAz-PsF^#W@`*0Zy>wtf0` zh(A7mnwq4xNhjw5w#Ao&mvWj-3+Fy-^y%c?YUb+C{1@WY5Sr0UZIHU*czl6SgWc|` ze^HWZpQj(Q`EK9Aa0Qf(B-ymHrCW6nF^t8O1#D$E3|Fu$IRDP)zSiNCeG^<5vI=rO z=^*?boeLGIvfy+n1HI|M)F0r_KEE zTW68PI{SSwFMoVbi_2cWbA8OulGO(qviuoS%?rXDruSPnbpKEvX?nh^{ zz=@|JkqAuw5lb0%%;PzGsg&VT`J~wYZ#QlJY0{?(Oy3~qi|*Lxf0@H!x|Q|s1)k7! zkM1pah9E^^0Vu4e_TA6X4YRrzJ^Q9Uph|$5!7}%0W#K$8cAyA@r>mdKI;Vst E0IRz-qyPW_