Confirmedusers
409
edits
(Created page with "// Сообщите игровому движку и другим моделям поведения блоков, что мы обработали взаимодействие игрока с блоком. // Если бы мы не задали поле обработки, игрок все равно смог бы ставить блоки, если бы они были у него в руках.") |
(Created page with "== Регистрация ==") |
||
Line 61: | Line 61: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | == Регистрация == | ||
In order the register the BlockBehavior we need to create a mod class, override <code>Start(ICoreAPI)</code> and register it with the given name: | In order the register the BlockBehavior we need to create a mod class, override <code>Start(ICoreAPI)</code> and register it with the given name: |