Wiki 9Minecraft Wiki 9Minecraft

How to Customize Block Placement Rules Using Block Tags

If you use a datapack in your world or want to expand which blocks can share spaces and snap to walls, you can control the mod's behavior entirely through standard Minecraft block tags.

Available Block Tags

Adding a block to any of the following tags inside a datapack will grant it the corresponding placement behavior:

  • offgrid:can_offset — Marks blocks that shift away from their standard grid spot to snap flush against a nearby wall.
  • offgrid:can_overlay — Marks blocks that are allowed to share a single block space with others whenever physical room allows.
  • offgrid:can_blocklog — Marks thin or pillar-like objects (such as chains, fences, walls, and glass panes) so they can fit inside other blocks.
  • offgrid:blockloggable — Marks hollow or partial blocks (such as slabs and stairs) so they can accept blocklogged items inside them.
  • offgrid:layers — Marks thin horizontal layers (such as carpets and snow) so they can sit inside non-full blocks.

Wall Attachment Tags

For items that hang on walls rather than sitting on floors, use these two tags depending on how the block orients itself:

  • offgrid:facing_attaching — Marks wall attachments like wall torches that attach to the surface opposite to their facing direction.
  • offgrid:surface_attaching — Marks flat wall objects like item frames and paintings that rest directly on open surfaces.