Suggestion: stand-or-sneak Flag
Omanoctoa opened this issue ยท 1 comments
In recent testing of a new field block, designed to be placed on top of Beacons, I realized a missing flag that would be useful alongside the Surfaces flag. Basically, in addition to the sneak-to-place flag, a stand-or-sneak flag, that would allow a field to be placed in either standing or sneaking stance.
The reason for this is simple: blocks with interfaces (Beacons, Furnaces, Crafting Tables, Enchanting Tables, chests, ) do something when the player right-clicks on them. The sneak-to-place flag works just fine, to place field blocks on these surfaces, but if a player attempts to place the field on any other block without sneaking...it places a normal block. In survival, this means fancy Field blocks (our have custom recipes) are accidentally wasted. A workaround is to make players place blocks adjacent to an inventory'd block...but this has many drawbacks and often results in wasted field blocks. The Surfaces flag only effects the sneaking state if Sneak-To-Place is true, and ignores Surfaces if placed normally
Is it possible to add a flag to target both standing and sneaking stances to place a field? Ideally, this would only be used with the meta-autoset: false flag, otherwise it would effect all blocks of that type placed anytime.