Fix sheep not regrow wool if mobs_griefing=false
This commit is contained in:
parent
8618b42bc7
commit
9416305fa6
2 changed files with 7 additions and 5 deletions
|
@ -243,8 +243,9 @@ eating.
|
|||
'replace_rate' how random should the replace rate be (typically 10)
|
||||
'replace_offset' +/- value to check specific node to replace
|
||||
|
||||
'on_replace(self, pos, oldnode, newnode)' is called when mob is about to
|
||||
replace a node.
|
||||
'on_replace(self, pos, oldnode, newnode)'
|
||||
is called when mob is about to replace a node. Also called
|
||||
when not actually replacing due to mobs_griefing setting being false.
|
||||
'self' ObjectRef of mob
|
||||
'pos' Position of node to replace
|
||||
'oldnode' Current node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue