How to add an offhand weapon?Please~

In [MOD] Why So Blue? - Discontinued [MOD] Why So Blue? - Discontinued
his mod had offhand weapon and shield.
165 is ok,But 192 has wrong.

I don’t know what is wrong.

I’ve been testing
if like this
“render_type” : “attach_to_bone”,
“slot” : “offHand”,
The game will go wrong.
“render_type” : “attach_to_bone”,
“slot” : “mainHand”,
The game is ok.

Who can explain to me?Thanks~~

I want to join the miner’s lamp in “off hand”
"render_type" : “attach_to_bone”,
“slot” : “offHand”,
This command was wrong,
So can anyone tell me how to do?

Despite what the error shows, the error is really coming from the strange implementation of the equipment_piece component.


At the top of the file you can see


offHand just needs to be mapped. So

        offhand = 'offHand'

Then you’d specify

"stonehearth:equipment_piece": {
        "slot": "offhand",
        "render_type": "attach_to_bone"

That should do it :slight_smile:

@Heimerdinger hope you don’t mind me using one of your swords… :wink:

Just override the file for now, there might be other alternatives though if you’d like to go without the override. This would probably be calling render_info:attach_entity(mininers_lamp_entity) yourself. But this would have a couple other requirements and I haven’t tested it.

Side note, Great Idea :slight_smile:


what did I say about they belong to the universe? also teach me how to dual wield xD


So cool. Thank you very much :wink:!!!
I do it
Froggy‘s mod

I went to try the miner’s lamp~~~ :stuck_out_tongue_closed_eyes:

Ita really wierd they removed this, I wonder what it means for what they are doing in the combat expansion.

They never removed it. It was never in.

WhySoBlue has the overide @honestabelink mentions.

Glad you managed to get it working

Oh, Thank!I see it! :sweat_smile:
I’m looking forward to your new work ~ :stuck_out_tongue_closed_eyes:
WhySoBlue so cool and give me a lot of learning opportunities :stuck_out_tongue_closed_eyes: