package Ġspatial craft ing Ċ Ċ import Ġnet . fabric mc . fabric . api . client . item group . Fabric ItemGroup Builder Ċ import Ġnet . minecraft . client . render . Render Layer Ċ import Ġnet . minecraft . item . ItemGroup Ċ import Ġnet . minecraft . util . Identifier Ċ import Ġnet . minecraft . util . registry . Registry Ċ import Ġspatial craft ing . client . Sounds Ċ import Ġspatial craft ing . client . key binding . Recipe Creator Key Binding Ċ import Ġspatial craft ing . client . key binding . Spatial Craft ing Key Binding Category Ċ import Ġspatial craft ing . cr after . Cr after Piece Entity Ċ import Ġspatial craft ing . cr after . Cr after s Pieces Ċ import Ġspatial craft ing . ho log ram . Ho log ram B aked Model Ċ import Ġspatial craft ing . ho log ram . Ho log ram Block Ċ import Ġspatial craft ing . ho log ram . Ho log ram Block Entity Ċ import Ġspatial craft ing . ho log ram . Ho log ram Block Entity Renderer Ċ import Ġspatial craft ing . item . De cept ively Small S word Ċ import Ġspatial craft ing . item . Point y Stick Ċ import Ġspatial craft ing . item . Shape less S word Ċ import Ġspatial craft ing . recipe .* Ċ import Ġspatial craft ing . util .* Ċ Ċ // TODO : Ġthings Ġnot Ġworking : Ċ // Ġcraft ing Ġparticles Ċ Ċ // TODO : Ġpower Ġconsumption Ġand Ġexample Ċ // TODO : Ġconfig Ġfile : Ġcan Ġstore Ġenergy ĊĊ Ċ const Ġval ĠMod Id Ġ= Ġ" spatial craft ing " ĊĊ Ċ const Ġval ĠMax Cr after Size Ġ= Ġ 5 Ċ const Ġval ĠSm allest Cr after Size Ġ= Ġ 2 Ċ Ċ val ĠSpatial Craft ing ItemGroup : ĠItem Group Ġ= ĠFabric ItemGroup Builder . build ( ĊĠĠĠĠĠĠĠ ĠIdentifier ( Mod Id , Ġ" spatial _ craft ing ") Ċ ) Ġ{ ĠCr after s Pieces . getValue ( Sm allest Cr after Size ). item Stack Ġ} ĊĊ Ċ fun Ġmod Id ( str : ĠString ) Ġ= ĠIdentifier ( Mod Id , Ġstr ) Ċ Ċ private Ġconst Ġval ĠHo log ram Id Ġ= Ġ" ho log ram " ĊĊ Ċ @ Suppress (" unused ") Ċ fun Ġinit () Ġ= Ġinit Common ( Mod Id , Ġgroup Ġ= ĠSpatial Craft ing ItemGroup ) Ġ{ ĊĊĠĠĠ Ġregister Block sWith Item Blocks Ġ{ ĊĠĠĠĠĠĠĠ Ġfor Ġ( cr after Piece Ġin ĠCr after s Pieces . values ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcr after Piece Ġwith Id Ġ" x ${ cr after Piece . size } cr after _ piece " ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġregister To ( Registry . ITEM ) Ġ{ ĊĠĠĠĠĠĠĠ ĠShape less S word Ġwith Id Ġ" shape less _ s word " ĊĠĠĠĠĠĠĠ ĠDe cept ively Small S word Ġwith Id Ġ" de cept ively _ small _ s word " ĊĠĠĠĠĠĠĠ ĠPoint y Stick Ġwith Id Ġ" point y _ stick " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġregister To ( Registry . BLOCK ) Ġ{ ĊĠĠĠĠĠĠĠ ĠHo log ram Block Ġwith Id ĠHo log ram Id ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġregister To ( Registry . BLOCK _ ENTITY ) Ġ{ ĊĠĠĠĠĠĠĠ ĠCr after Piece Entity . Type Ġwith Id Ġ" cr after _ piece _ entity " ĊĠĠĠĠĠĠĠ ĠHo log ram Block Entity . Type Ġwith Id Ġ" ho log ram _ entity " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġregister To ( Registry . RE CI PE _ SERIAL IZER ) Ġ{ ĊĠĠĠĠĠĠĠ ĠSh aped Spatial Recipe Ġwith Id ĠIdentifier ( Sh aped Recipe Type ) ĊĠĠĠĠĠĠĠ ĠShape less Spatial Recipe Ġwith Id ĠIdentifier ( Shape less Recipe Type ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġregister To ( Registry . RE CI PE _ TYPE ) Ġ{ ĊĠĠĠĠĠĠĠ ĠSpatial Recipe . Type Ġwith Id ĠSpatial Recipe . Type . Id ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġregister To ( Registry . SOUND _ EVENT ) Ġ{ ĊĠĠĠĠĠĠĠ ĠSounds . Craft End Ġwith Id ĠSounds . Craft End Id ĊĠĠĠĠĠĠĠ ĠSounds . Craft Loop Ġwith Id ĠSounds . Craft Loop Id ĊĠĠĠĠĠĠĠ ĠSounds . Craft Start Ġwith Id ĠSounds . Craft Start Id ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġregister C 2 SP ackets ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Start Recipe Help . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Auto Craft . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Change Active Layer . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Stop Recipe Help . serializer () ĊĠĠĠ Ġ) Ċ } ĊĊĊ Ċ @ Suppress (" unused ") Ċ fun Ġinit Client () Ġ= Ġinit Client Only ( Mod Id ) Ġ{ ĊĊĠĠĠ ĠHo log ram Block . set Render Layer ( Render Layer . get Trans luc ent ()) ĊĊĠĠĠ Ġregister Block Model ( Ho log ram Id , ĠHo log ram B aked Model . Texture ) Ġ{ ĠHo log ram B aked Model () Ġ} ĊĊĠĠĠ Ġregister S 2 CP ackets ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Assign Mult ib lock State . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Un assign Mult ib lock State . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Stop Recipe Help . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Update Ho log ram Content . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Start Craft ing Particles . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Item Movement From Player To Mult ib lock Particles . serializer (), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPacket s . Stop Craft ing Particles . serializer () ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġregister Block Entity Renderer ( Ho log ram Block Entity . Type ) Ġ{ ĊĠĠĠĠĠĠĠ ĠHo log ram Block Entity Renderer ( it ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġregister Key Binding ( Recipe Creator Key Binding ) ĊĠĠĠ Ġregister Key Binding Category ( Spatial Craft ing Key Binding Category ) Ċ Ċ } ĊĊĊ