force load all chunks on load, check is entity correct or not

This commit is contained in:
GameHerobrine 2024-02-15 02:55:02 +03:00
parent cfabae7583
commit 869b8b111a
3 changed files with 77 additions and 1 deletions

View file

@ -34,4 +34,34 @@ define("TILE_SIGN", "Sign");
define("TILE_CHEST", "Chest");
define("CHEST_SLOTS", 27);
define("TILE_FURNACE", "Furnace");
define("FURNACE_SLOTS", 3);
define("FURNACE_SLOTS", 3);
const CORRECT_ENTITY_CLASSES = [
ENTITY_PLAYER => true,
ENTITY_MOB => [
MOB_CHICKEN => true,
MOB_COW => true,
MOB_PIG => true,
MOB_SHEEP => true,
MOB_ZOMBIE => true,
MOB_SKELETON => true,
MOB_SPIDER => true,
MOB_CREEPER => true,
MOB_PIGMAN => true
],
ENTITY_OBJECT => [
OBJECT_TRIPOD_CAMERA => true,
OBJECT_PRIMEDTNT => true,
OBJECT_ARROW => true,
OBJECT_SNOWBALL => true,
OBJECT_EGG => true,
OBJECT_PAINTING => true,
OBJECT_MINECART => true,
],
ENTITY_ITEM => true,
ENTITY_FALLING => [
FALLING_SAND => true
]
];