mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
snowballs and eggs
This commit is contained in:
parent
105b09e28f
commit
3df03ae96b
10 changed files with 304 additions and 34 deletions
|
|
@ -5,8 +5,8 @@ class EntityRegistry{
|
|||
|
||||
/*Register all entities*/
|
||||
public static function registerEntities(){
|
||||
console("[INFO] Registering entities...");
|
||||
self::$entityList = new EntityList;
|
||||
ConsoleAPI::info("Registering entities...");
|
||||
self::$entityList = new EntityList();
|
||||
self::registerEntity(Pig::class);
|
||||
self::registerEntity(Chicken::class);
|
||||
self::registerEntity(Sheep::class);
|
||||
|
|
@ -22,6 +22,8 @@ class EntityRegistry{
|
|||
self::registerEntity(Minecart::class);
|
||||
self::registerEntity(FallingSand::class);
|
||||
self::registerEntity(ItemEntity::class);
|
||||
self::registerEntity(ThrownEgg::class);
|
||||
self::registerEntity(ThrownSnowball::class);
|
||||
}
|
||||
|
||||
/*Register an Entity*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue