Back to mods
Leanable Surfaces project artwork

Vintage Story Mod DB · Vintage Story mod

Leanable Surfaces

In vanilla you can lean tongs and other tools against a wall with Shift + Ctrl + right click on the floor, but only against full solid blocks. Try it next to your forge and you get "Requires a solid wall to lean at". Leanable Surfaces lets small tools lean ag

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Leanable Surfaces release should I use?

Updated last month
Latest stable file 1.0.7
Game version 1.22.0, 1.22.1, 1.22.2
Loader Built-in Vintage Story mod system

Leanable Surfaces 1.0.7 targets 1.22.0, 1.22.1, 1.22.2. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Leanable Surfaces required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Leanable Surfaces 1.0.7 need?

1.0.7. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Leanable Surfaces without breaking your instance.

Built for Leanable Surfaces 1.0.7. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.7. It targets 1.22.0, 1.22.1, 1.22.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.7. It opens that exact file at the source.

About this project

What does Leanable Surfaces add?

In vanilla you can lean tongs and other tools against a wall with Shift + Ctrl + right click on the floor, but only against full solid blocks. Try it next to your forge and you get "Requires a solid wall to lean at".

Leanable Surfaces lets small tools lean against forges, anvils, chests and other workshop blocks that are not full solid walls, so your tongs can rest right next to the forge where they belong.

Better together: the KristKing mods

Every one of my mods works on its own. Install them together and they talk to each other, with no dependencies: remove one and the rest keep working.

Mod What it is Together
Gentage Heritable genetics for animals, a veterinarian trade and a server rarity ranking. Works side by side, no shared patches or screen areas.
Waypoint Compass A compass strip on your HUD, worn as a watch: waypoints and other players. Works side by side, no shared patches or screen areas.
Player Roster Hold Tab for a scoreboard of everyone online. Works side by side, no shared patches or screen areas.

Click on the sections below for more.

Features
  • Lean against: forge, anvil, bloomery, quern, barrel, chest, double chest (trunk), reed basket, crate, table and workbench.
  • Flush against the real side of the block: most workshop blocks are narrower than a full block (the forge leaves 1/16 on each side), so each tool is measured by its own model and placed touching the block, neither floating nor clipping into it. Tall tools like wooden tongs rest on the top edge of a low block.
  • On the floor: with no wall or support around, small tools lie flat on the ground (2 per block) instead of showing an error.
  • Only tools small enough to make sense: tongs (wooden and metal), hammer, chisel, knife, shears, wrench, soldering iron, firestarter, cleaver, plumb and square.
  • Large tools (pickaxe, spear, shovel, axe, scythe, oar, fishing pole…) still need a solid wall, as in vanilla. They would float over a low block.
  • Leaned tools behave like vanilla ones: same placement and pick-up, and they drop if the block they lean on (or the one under them) is removed.
Configuration

ModConfig/leanable.json on the server. The server marks the blocks and items and the game syncs them to every client, so players don't need to edit anything.

Key What it does
Blocks Blocks you can lean against (wildcards, e.g. game:anvil-*)
Items Items small enough to lean on them
AnyBlockWithCollision true = any block with a collision box counts
ConfigVersion Managed by the mod: new default blocks are added to older files automatically
Dependencies

None. Only Vintage Story 1.22 or newer.

Compatibility

Tested on a Vintage Story 1.22.7 server running 56 mods, with no errors.

  • Carry On: compatible. It doesn't patch ground storage, so leaned tools can still be picked up as usual.
  • Smithing Plus, Helve Hammer Extensions, Anvil Performance Optimization: compatible. Tongs and tools lean against the forge and anvil as expected.
  • Only mods that patch how vanilla ground storage places or draws leaned tools could conflict (see technical notes); none of the mods above does.
Install

Required on the server and on every client. After updating, close the game completely before joining again.

Technical notes

Harmony patches on BlockGroundStorage.CreateStorage and OnNeighbourBlockChange (placement), and on BlockEntityGroundStorage.genTransformationMatrices, getMeshCacheKey and BlockEntityDisplay.applyDefaultTranforms (drawing, only for tools it placed). They only kick in when the vanilla wall check fails, so tools against real walls look exactly as in vanilla. If a future game version changes those methods, the mod logs a warning and vanilla behaviour stays.


Español

En vanilla puedes apoyar las tenazas y otras herramientas contra una pared con Shift + Ctrl + clic derecho en el suelo, pero solo contra bloques sólidos completos. Junto a la fragua sale «Es necesaria una pared sólida para apoyarse».

Leanable Surfaces permite apoyar herramientas pequeñas contra la fragua, el yunque, los cofres y otros bloques de taller que no son paredes sólidas, para que las tenazas queden junto a la fragua, donde corresponde.

Mejor juntos: los mods de KristKing

Cada uno de mis mods funciona solo. Instalados juntos se hablan entre sí, sin dependencias: si quitas uno, los demás siguen funcionando.

Mod Qué es Juntos
Gentage Genética heredable para los animales, oficio de veterinario y ranking de rareza del servidor. Funcionan juntos, sin parches ni zonas de pantalla compartidas.
Waypoint Compass Una franja de brújula en pantalla, en un reloj: waypoints y otros jugadores. Funcionan juntos, sin parches ni zonas de pantalla compartidas.
Player Roster Mantén Tab para ver a todos los conectados, como un marcador. Funcionan juntos, sin parches ni zonas de pantalla compartidas.

Haz clic en las secciones de abajo para ver más.

Funciones
  • Se puede apoyar contra: fragua, yunque, horno de fundición, molino de mano, barril, cofre, cofre doble (baúl), cesto de juncos, cajón, mesa y banco de trabajo.
  • Pegadas a la cara real del bloque: casi todos los bloques de taller son más estrechos que un bloque completo (la fragua deja 1/16 por lado), así que cada herramienta se mide por su modelo y queda tocando el bloque, sin flotar ni atravesarlo. Las altas, como las tenazas de madera, se apoyan en el borde superior de un bloque bajo.
  • En el piso: sin pared ni apoyo alrededor, las herramientas pequeñas quedan acostadas en el suelo (2 por bloque) en vez de dar error.
  • Solo herramientas pequeñas: tenazas (de madera y de metal), martillo, cincel, cuchillo, tijeras, llave inglesa, soldador, iniciador de fuego, cuchilla de carnicero, plomada y escuadra.
  • Las herramientas grandes (pico, lanza, pala, hacha, guadaña, remo, caña de pescar…) siguen necesitando una pared sólida, como en vanilla: flotarían sobre un bloque bajo.
  • Las herramientas apoyadas se comportan como las vanilla: se colocan y recogen igual, y caen si se quita el bloque en el que se apoyan (o el de abajo).
Configuración

ModConfig/leanable.json en el servidor (Blocks, Items, AnyBlockWithCollision). El servidor marca los bloques y objetos y el juego lo sincroniza a cada cliente: los jugadores no tienen que tocar nada.

Dependencias

Ninguna. Solo Vintage Story 1.22 o superior.

Compatibilidad

Probado en un servidor de Vintage Story 1.22.7 con 56 mods, sin errores.

  • Carry On: compatible. No parchea el almacenamiento en el suelo, así que las herramientas apoyadas se recogen como siempre.
  • Smithing Plus, Helve Hammer Extensions, Anvil Performance Optimization: compatibles. Las tenazas y herramientas se apoyan en la fragua y el yunque sin problema.
  • Solo podrían chocar mods que parcheen cómo el almacenamiento en el suelo coloca o dibuja lo apoyado; ninguno de los anteriores lo hace.
Instalación

Necesario en el servidor y en cada cliente. Tras actualizar, cierra el juego del todo antes de volver a entrar.

Project description from Vintage Story Mod DB.

Pick your setup

Leanable Surfaces releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

8 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Leanable Surfaces versions and loaders

2 of 2 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.