inWeb, fire damage"

This commit is contained in:
GameHerobrine 2024-01-31 04:26:54 +03:00
parent d622c5e5cf
commit 5f1774b8ce
6 changed files with 80 additions and 16 deletions

View file

@ -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();
}
}