mr:black_rat_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:black_rat_mob [2025/12/19 23:54] – Update various pages with enhanced source code references and documentation mike | mr:black_rat_mob [2025/12/19 23:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Black Rat Mob - Code References ====== | ||
| + | This page contains raw code references and configuration excerpts for the Black Rat mob entity. | ||
| + | |||
| + | ==== Entity Kind ==== | ||
| + | * **getEntityKind() value:** BlackRat | ||
| + | |||
| + | ==== Java Implementation ==== | ||
| + | * **Class location:** [[https:// | ||
| + | * **Inheritance: | ||
| + | |||
| + | ==== Lua Implementation ==== | ||
| + | **Basic stats:** | ||
| + | <code lua> | ||
| + | local mob = {} | ||
| + | |||
| + | function mob: | ||
| + | return " | ||
| + | end | ||
| + | |||
| + | function mob:hp() | ||
| + | return 5 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 1 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 5 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 10 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return 5 | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return math.random(1, | ||
| + | end | ||
| + | |||
| + | function mob: | ||
| + | return damage | ||
| + | end | ||
| + | </ | ||
| + | |||
| + | ==== Configuration ==== | ||
| + | * **File location:** [[https:// | ||
| + | * **Entity Kind:** BlackRat | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | * **BlackRat_Name: | ||
| + | * **BlackRat_Desc: | ||
mr/black_rat_mob.txt · Last modified: by 127.0.0.1
