Modding:Adding Block Behavior/es: Difference between revisions

From Vintage Story Wiki
(Created page with "Modding:Añadir comportamiento a bloque")
 
(Created page with "= Introducción = Los comportamientos de bloque son útiles cuando se desea que diferentes bloques actúen de la misma manera, ya que se pueden adjuntar uno o más comportamientos de bloque a un número arbitrario de bloques. Puede que le interese echar un vistazo a las comportamientos de bloque existentes antes de implementar las suyas propias.")
Line 3: Line 3:
{{GameVersion|1.9}}
{{GameVersion|1.9}}


= Introduction =
= Introducción =
Block Behaviors are useful when you want different blocks to act in the same way, as you can attach one or more block behaviors to an arbitrary number of blocks.
Los comportamientos de bloque son útiles cuando se desea que diferentes bloques actúen de la misma manera, ya que se pueden adjuntar uno o más comportamientos de bloque a un número arbitrario de bloques.
You may want to have a look at the existing [[Block Json Properties#p_behaviors|block behaviors]] before implementing your own.
Puede que le interese echar un vistazo a las [[Block Json Properties/es#p_behaviors|comportamientos de bloque]] existentes antes de implementar las suyas propias.


In this tutorial we'll create a new Behavior that we can attach to blocks to make them movable by right clicking them.
In this tutorial we'll create a new Behavior that we can attach to blocks to make them movable by right clicking them.