Modding:Block and Item Interactions: Difference between revisions

From Vintage Story Wiki
m (Updated navbox to new code navbox.)
(Add link to Modding:Right_click_events)
 
Line 61: Line 61:
<translate>
<translate>
<!--T:8-->
<!--T:8-->
The method <code>OnHeldInteractStep</code> allows us to spawn particles per tick while the player is using the item, but it would be better to implement an animation first. Particles should spawn after the animation is done ...
The method [[Modding:Right_click_events|<code>OnHeldInteractStep</code>]] allows us to spawn particles per tick while the player is using the item, but it would be better to implement an animation first. Particles should spawn after the animation is done ...
</translate>
</translate>


Line 181: Line 181:


<translate>
<translate>
== Testing == <!--T:15-->
== Testing == <!--T:15-->
</translate>
</translate>