mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
inWeb, fire damage"
This commit is contained in:
parent
d622c5e5cf
commit
5f1774b8ce
6 changed files with 80 additions and 16 deletions
|
|
@ -18,5 +18,9 @@ class CobwebBlock extends FlowableBlock{
|
|||
array(COBWEB, 0, 1),
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static function onEntityCollidedWithBlock(Level $level, $x, $y, $z, Entity $entity){
|
||||
$entity->setInWeb();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue