How do I make bayonets attached by default with entities.blk

How do I make bayonets attached by default with entities.blk. Please i know there is a whole guide message made by @Devenddar years ago and i have read it. But something was changed and it kind of not work anymore easily.

Does anyone have a simple piece of code that i can inject into my guns? (I know how entities.blk work but I cannot get the time to check each piece of code anymore)