mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
force load all chunks on load, check is entity correct or not
This commit is contained in:
parent
cfabae7583
commit
869b8b111a
3 changed files with 77 additions and 1 deletions
|
|
@ -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
|
||||
]
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue