Modding:Modding API Updates: Difference between revisions

From Vintage Story Wiki
m
no edit summary
m (Added 1.19.4)
mNo edit summary
Line 14: Line 14:


== 1.19 ==
== 1.19 ==
=== 1.19.6/1.19.7 ===
==== Code ====
* API Fixed: RegisterEventBusListener() delegates called twice in some cases
=== 1.19.5 ===
==== Content ====
* Api Tweak: Items/Blocks can now define an attribute "inBarrelShape" to determine their shape inside a barrel
==== Code ====
* Api Fixed: WorldAPI ''RegionMapSizeX'' would return a size off by one since game version 1.12.9. Affected methods are ''MapRegionIndex2D'', ''MapRegionPosFromIndex2D'', ''MapRegionIndex2DByBlockPos''
* Api Fixed: Chatcommands with multiple `WithPreCondition` or a pre-condition and `RequiresPlayer` would over-write each other. Now all pre-conditions are checked and if one pre-condition returns ''EnumCommandStatus.Error'' it won't process the command further.
==== Other ====
* Api Tweak: Don't crash on invalid GroundStack


=== 1.19.4 ===
=== 1.19.4 ===
Confirmedusers
536

edits