Space Engineers

Space Engineers

Block Picker
50 Comments
Ronchi 29 Mar @ 3:12pm 
does this only work in creative ?
Stef 16 Jan @ 2:05pm 
I'll give my contribution: if you changed the default G key (that opens block selection panel) then Ctrl+G won't work, you need to do Ctrl+ the key u binded to open that panel!

Took me a year to figure out XD
Time is killing me. 4 Nov, 2024 @ 10:17am 
thank you:steamthis:
HyratelWyvern 24 Sep, 2024 @ 11:36am 
This covers a sorely needed gap in functionality. Bless.
Devilers 20 Aug, 2024 @ 11:22pm 
Upon pressing Ctrl+G on `Automaton Timer Block` which is linked oiny to two blocks (programmable block on left + event controller on right side) getting this exception:



BlockPickerSession: System.NullReferenceException: Object reference not set to an instance of an object.
at Sandbox.Game.Entities.Cube.CubeBuilder.MyCubeBuilderState.GetCurrentBlockForBlockVariantGroup(Int32 idx, MyBlockVariantGroup variants, Boolean respectRestrictions)
at Sandbox.Game.Entities.Cube.CubeBuilder.MyCubeBuilderState.UpdateCurrentBlockToLastSelectedVariant()
at Sandbox.Game.Entities.Cube.CubeBuilder.MyCubeBuilderState.SetCubeSize(MyCubeSize newCubeSize)
at Sandbox.Game.Entities.MyCubeBuilder.ActivateBlockCreation(Nullable`1 blockDefinitionId)
at Sandbox.Game.Entities.MyCubeBuilder.Activate(Nullable`1 blockDefinitionId, Boolean groupwideDLCCheck)
at nevcairiel.BlockPicker.BlockPickerSession.HandleInput()
brantje 18 Aug, 2024 @ 11:26am 
Is it possible to disable the automatic switch from small grid to large grid?
Reiyuka 6 Aug, 2024 @ 11:03am 
This is a great plugin. It would be a little greater if maybe it worked with projections, as well as regular blocks? Maybe I'm just doing it wrong! :)

Also, it would be helpful if it started with the orientation of the block being picked.
UEAdmiral 23 Jul, 2024 @ 3:34pm 
For those like me, who find that the Control-G keybind doesn't work with Block Picker, check whether you have rebound the Toolbar Config function!

The key command for Block Picker is NOT Control-G de jure; it is Control-G de facto. Technically speaking, the key command is Control + [Toolbar Config Key], which DEFAULTS to G, but is not necessarily G !

Maybe I'm a bit pedantic on the subject; however, I would suggest author edits the mod description accordingly.

Beyond that, thank you for the mod! I know it's going to be a huge help now that I figured out why it wasn't working for me!
kinngrimm 23 Apr, 2024 @ 7:43am 
F.e. the armor replacer mod, changes block armor type, but not the shape. I would imagine a Block Changer to do both, for a selection of blocks. Whereby that selection as said below can be of all blocks of one type, or added addtional different block shapes/materials and then be replaced by a predetermined stored other block of chosen shape and material.
kinngrimm 23 Apr, 2024 @ 7:38am 
Thanks a lot for this mod. It has become a staple for my creative mod list.
I hope you are open to suggestions for expanding your mod, if not maybe someone else could pick em up :).

With different shortcuts, select all blocks of the type you are currently holding(selected by shift g or a block chosen from the toolbar). These then are marked by colored boxes like one of the pluginloader script for projectors allows for.
Add or remove additional blocks to that selection by yet some other shortcuts(shift +, shift - and looking at the block).
and then have those blocks swapped out all at once with a different block that is f.e. stored in the clipboard.

That then would allow for an intuitive mass change of blocks on the whole grid, with the capability of finetuning the selection of blocks that should be changed or left out from that change.
nevcairiel  [author] 23 Jan, 2024 @ 12:19am 
It doesn't copy any block settings, just blocks.
RougeSable 22 Jan, 2024 @ 5:12pm 
@nevcairiel, it doesn't copy pilot seat toolbars saddly, could you have a look please?
Rosa 28 Nov, 2023 @ 12:52pm 
Disregard, keybinds were fucking up
Rosa 27 Nov, 2023 @ 1:32pm 
Sadly this mod doesn't work anymore, ctrl+g does nothing
Xtrem532 24 Nov, 2023 @ 3:56pm 
Can you use this on a Dedicated server when the DS does NOT have the mod?
Jathulioh 8 Jul, 2023 @ 12:38pm 
Is it possible to change the keybind anywhere? Ctrl+G is already used to switch build/flight mode in a cockpit and I'd rather swap this to a different keybind
Dan Sher 26 Jun, 2023 @ 8:16am 
Same issue, trying to pick a basic interior wall says it requires heavy industry dlc and doesn't actually pick the block
Basher 11 Jun, 2023 @ 11:52am 
When I try to copy an Interior Wall, it says I need a Heavy Industries DLC for it. Is that a bug? I can place the block without that DLC.
nevcairiel  [author] 1 May, 2023 @ 4:40pm 
Build Info Ctrl-R works very differently. It asks you to place it on your toolbar somewhere and requires you using it from there, rather then just letting you build the block right away with no extra interaction or messing with your toolbar configuration.

You are free to just ignore this mod though if you don't like it.
King_Bee01 1 May, 2023 @ 4:32pm 
you know that build info has this built in right? Just use Ctal + r to use it's been in that mod for years and I'm still using it every time a play SE so why does this mod exist?
Capt_Ocean1 27 Apr, 2023 @ 3:38pm 
color and skin for those look into the paint gun mod, that does some interesting workaround stuff that might allow you to do more
nevcairiel  [author] 26 Apr, 2023 @ 1:23pm 
Thats not really possible with a mod, I'm afraid.
Into 26 Apr, 2023 @ 1:20pm 
oh yes, copy settings. Like Timerblock Events, this would be priceless
JaytheOstrich 26 Apr, 2023 @ 1:07pm 
Does this copy settings of the picked block? That would be priceless!
Satis 26 Apr, 2023 @ 5:37am 
@Yung it's like a color picker but for blocks.
You can use it to pick an already build block as the next block to be placed down instead of having to go find it in the G-Menu
CynicDragon 25 Apr, 2023 @ 10:31pm 
Still not sure what this does
TrueWhiteKnight 25 Apr, 2023 @ 4:35pm 
will this be made as a client pugin at some point?
Tamenth 25 Apr, 2023 @ 4:11pm 
Amazing
Tumor 25 Apr, 2023 @ 11:27am 
I've wanted this forever. The one feature from Minecraft I desperately wanted in SE.

Thank you!
KB 25 Apr, 2023 @ 9:09am 
Awesome mod, saves so much time / hassle when building so I don't have to sort out my hotbars like a sensible person might do!
Dying Dark Star 25 Apr, 2023 @ 7:23am 
it would be nice if SE allowed mods interact with colors and skins.
There's only one that i know of that does its called color replacer its a very useful mod.
SK 24 Apr, 2023 @ 3:47pm 
Why waiting someone to AirDrop you a block when you can Eyesdrop one yourself.

Excuse me.
nevcairiel  [author] 24 Apr, 2023 @ 1:07pm 
@Abisius
I believe it'll try to do the block picking as well from a cockpit. I'll test and possibly disable it, since aiming is going to be rather inaccurate.
Rusted Droid 24 Apr, 2023 @ 11:29am 
I rather have block replacer.
many times when i design i get to point i need replace block that will split ship if removed.
Abisius Xarvenius Carbensius 24 Apr, 2023 @ 11:14am 
@nevcairiel
if i remember it correctly ctrl+g inside a cockpit did let you place blocks form that cockpit.
if i now sit in a cockpit while aiming at a block and press ctrl+g to switch from flight cockpit function to build cockpit functions or vise versa how does it get handled?
vadernation123 24 Apr, 2023 @ 10:39am 
honestly i don't think you should add the functionality of picking the color. like you said you can always use shift+p and i personally don't like using that keybind since it tends to erase colors in my palette. thank you for making this though this'll come really in handy with armor panels in survival.
nevcairiel  [author] 24 Apr, 2023 @ 10:08am 
@Bluestar: Unfotunately thats not a thing so easily done.
nevcairiel  [author] 24 Apr, 2023 @ 10:02am 
@Stretch: It will prevent you from building DLC blocks you do not own.
Bluestar 24 Apr, 2023 @ 9:13am 
For block colour couldn't yo have your Ctrl-G hotkey just trigger a Shift-P
So pressing Ctrl-G performs your function and the vanilla Shift-P at the same time as if you rebind the Shift-P to Ctrl-G but still keeping the vanilla keybind
Stretch 24 Apr, 2023 @ 9:03am 
Just out of curiosity, If you don't have the DLC for the block you're selecting, will it a) Do nothing, b) Let you use it, c) crash the game?
Agentomega 24 Apr, 2023 @ 7:58am 
Oh! It's like middle-click on Minecraft. Very nice, I like this functionality.
bosselorentzon 24 Apr, 2023 @ 7:42am 
Fantastic! A realy wanted mod:)
one hard thing is missing mods then try past a blueprint....
Hope its gonna be a solution for it to.
But very good job!
Rabid Puma 24 Apr, 2023 @ 6:25am 
It will put whatever block you're looking at into your hand, so you can place that precise block down and build it somewhere else
TheRedMafiaPanda 24 Apr, 2023 @ 6:05am 
wait so what exactly does this do?
condottiere 22 Apr, 2023 @ 3:47am 
Ah, gotcha! Good for me to know more, but sorry for belaboring you with the obvious. :)
nevcairiel  [author] 22 Apr, 2023 @ 12:15am 
Plugins and Mods cannot do the same things. Mods are limited by what Keen wants you to do. And interfacing with Skins is not one of those things.

But regardless, as mentioned in the post, you can just copy the color/skin with Shift-P
condottiere 21 Apr, 2023 @ 5:17pm 
Hi nev! I've been using a version of this via plug-in for the past year, that IIRC does select the target picked block's color and skin as well. I don't know the first thing about plug-in mod scripting, but maybe you could look at whatever code they have on their github to see how it works.
Sensational Being 21 Apr, 2023 @ 11:53am 
Just happy to be told about shift P. Thank you.
Mojo 21 Apr, 2023 @ 10:37am 
Nice job!
kitsu.eb 21 Apr, 2023 @ 6:16am 
That was quick...