Confirmedusers
409
edits
(Created page with "Теперь мы можем реализовать <code>OnBlockBroken</code> довольно легко, позаботившись обо всех возможных осях, с которыми может столкнуться игрок: <syntaxhighlight lang="c#"> public override bool OnBlockBrokenWith(IWorldAccessor world, Entity byEntity, ItemSlot itemslot, BlockSelection blockSel, float dropQuantityMultiplier = 1) { if (base.OnBlockBrokenWith(world, byEnt...") |
(Created page with "----") |
||
Line 125: | Line 125: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
---- | ---- | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |