Massive amount of refactoring for local multiplayer, annotations

This commit is contained in:
Anuken
2018-05-12 07:30:23 -07:00
parent 959f756ff5
commit 00e70cbb6a
47 changed files with 610 additions and 510 deletions

View File

@@ -87,6 +87,8 @@ public class Vars{
//whether to show block debug
public static boolean showBlockDebug = false;
public static final int maxTextLength = 150;
public static boolean headless = false;
public static float controllerMin = 0.25f;
@@ -143,7 +145,7 @@ public class Vars{
public static NetServer netServer;
public static NetClient netClient;
public static Player[] players;
public static Player[] players = {};
public static final EntityGroup<Player> playerGroup = Entities.addGroup(Player.class).enableMapping();
public static final EntityGroup<TileEntity> tileGroup = Entities.addGroup(TileEntity.class, false);