change svar implementation
This commit is contained in:
parent
126ce64a24
commit
81613186e5
12 changed files with 197 additions and 184 deletions
|
@ -526,7 +526,7 @@ public class Block {
|
|||
|
||||
public void randomTick(AWorldServer worldIn, BlockPos pos, State state, Random random) {
|
||||
this.updateTick(worldIn, pos, state, random);
|
||||
if(this.radiation > 0.0f && /* worldIn.getTime() % 5L == 0L && */ random.chance(Config.randomTick / 3))
|
||||
if(this.radiation > 0.0f) // && /* worldIn.getTime() % 5L == 0L && */ random.chance(Config.randomTick / 3))
|
||||
this.affectEntities(worldIn, pos, state, this.radiation * 8.0f * 0.25f);
|
||||
}
|
||||
|
||||
|
|
|
@ -9,18 +9,8 @@ public abstract class Config {
|
|||
public static boolean mobGrief = true;
|
||||
@Var(name = "mobSpawning")
|
||||
public static boolean mobs = true;
|
||||
@Var(name = "tickSpawning")
|
||||
public static boolean tickSpawn = true;
|
||||
@Var(name = "genSpawning")
|
||||
public static boolean genSpawn = true;
|
||||
@Var(name = "spawners")
|
||||
public static boolean spawners = true;
|
||||
@Var(name = "spawnVillagers")
|
||||
public static boolean spawnVillager = true;
|
||||
@Var(name = "spawnCagedVillagers")
|
||||
public static boolean spawnCagedVillager = true;
|
||||
@Var(name = "spawnHutMages")
|
||||
public static boolean spawnHutMage = true;
|
||||
@Var(name = "spawnEggChickens")
|
||||
public static boolean spawnEggChicken = true;
|
||||
@Var(name = "spawnMoreZombies")
|
||||
|
@ -49,10 +39,6 @@ public abstract class Config {
|
|||
public static boolean objectDrop = true;
|
||||
@Var(name = "naturalRegeneration")
|
||||
public static boolean regeneration = true;
|
||||
@Var(name = "daylightCycle")
|
||||
public static boolean dayCycle = true;
|
||||
@Var(name = "weatherChanges")
|
||||
public static boolean weather = true;
|
||||
@Var(name = "seasonLeafUpdate")
|
||||
public static boolean seasonLeaves = true;
|
||||
@Var(name = "leavesDecay")
|
||||
|
@ -67,8 +53,6 @@ public abstract class Config {
|
|||
public static boolean portals = true;
|
||||
@Var(name = "portalVoid")
|
||||
public static boolean voidPortal = true;
|
||||
@Var(name = "dropPlayerSkulls")
|
||||
public static boolean skullDrop = true;
|
||||
@Var(name = "dropPlayerItems")
|
||||
public static boolean playerDrop = true;
|
||||
@Var(name = "blockGravity")
|
||||
|
@ -199,24 +183,12 @@ public abstract class Config {
|
|||
public static boolean locking = true;
|
||||
@Var(name = "teleFragging")
|
||||
public static boolean telefrag = true;
|
||||
@Var(name = "checkRespawn")
|
||||
public static boolean checkBed = true;
|
||||
@Var(name = "chunkLoaders")
|
||||
public static boolean loaders = true;
|
||||
@Var(name = "fragileItems")
|
||||
public static boolean itemFallDamage = true;
|
||||
@Var(name = "registration")
|
||||
public static boolean register = true;
|
||||
@Var(name = "signEditing")
|
||||
public static boolean editSigns = true;
|
||||
@Var(name = "pubkeyAuthentication")
|
||||
public static boolean pubkeyAuth = true;
|
||||
@Var(name = "requireAccessPassword")
|
||||
public static boolean accessRequired = true;
|
||||
@Var(name = "encryption")
|
||||
public static boolean encrypt = true;
|
||||
@Var(name = "requireAuthentication")
|
||||
public static boolean authenticate = true;
|
||||
|
||||
@Var(name = "keepInventory")
|
||||
public static boolean keepInventory = false;
|
||||
|
@ -228,51 +200,15 @@ public abstract class Config {
|
|||
public static boolean mergeFinite = false;
|
||||
@Var(name = "veryHungryRabbits")
|
||||
public static boolean rabidRabbits = false;
|
||||
@Var(name = "snowStacking")
|
||||
public static boolean snowStack = false;
|
||||
@Var(name = "passwordAuthentication")
|
||||
public static boolean passwordAuth = false;
|
||||
|
||||
@Var(name = "randomTickSpeed")
|
||||
public static int randomTick = 3;
|
||||
@Var(name = "weatherTickSpeed")
|
||||
public static int weatherTick = 1;
|
||||
@Var(name = "lightningChance")
|
||||
public static int boltChance = 100000;
|
||||
@Var(name = "igniteChance")
|
||||
public static int igniteChance = 100;
|
||||
@Var(name = "spawnRadius")
|
||||
public static int spawnRadius = 10;
|
||||
@Var(name = "originRadius", min = 0, max = 262144)
|
||||
public static int originRadius = 16384;
|
||||
@Var(name = "respawnTime")
|
||||
public static int respawnTime = 0;
|
||||
@Var(name = "hurtCooldown")
|
||||
public static int hurtDelay = 20;
|
||||
@Var(name = "attackCooldown")
|
||||
public static int attackDelay = 0;
|
||||
@Var(name = "spawnGroupCount")
|
||||
public static int spawnGroups = 3;
|
||||
@Var(name = "spawnGroupDistance")
|
||||
public static int spawnGroupDist = 6;
|
||||
@Var(name = "mobSpawnRadius")
|
||||
public static int mobSpawnDist = 8;
|
||||
@Var(name = "mobPlayerDistance")
|
||||
public static int mobPlayerDist = 24;
|
||||
@Var(name = "saveInterval")
|
||||
public static int saveInterval = 900;
|
||||
@Var(name = "maxPlayers")
|
||||
public static int playerLimit = 0;
|
||||
@Var(name = "compressAbove")
|
||||
public static int compression = 256;
|
||||
@Var(name = "pistonPushLimit")
|
||||
public static int pistonLimit = 16;
|
||||
@Var(name = "gravelFlintChance")
|
||||
public static int flintChance = 10;
|
||||
@Var(name = "timeFlow")
|
||||
public static int timeFlow = 1;
|
||||
@Var(name = "emptyTicks")
|
||||
public static int unloadTicks = 1200;
|
||||
@Var(name = "rabbitMateChance")
|
||||
public static int rabbitMateChance = 10;
|
||||
@Var(name = "killerBunnyChance")
|
||||
|
@ -303,10 +239,6 @@ public abstract class Config {
|
|||
public static int cactusHeight = 3;
|
||||
@Var(name = "orbThorns")
|
||||
public static int orbDamageOther = 0;
|
||||
@Var(name = "weatherChance")
|
||||
public static int weatherChance = 48000;
|
||||
@Var(name = "viewDistance", min = 2, max = 16)
|
||||
public static int distance = 8;
|
||||
@Var(name = "healChance")
|
||||
public static int healChance = 5;
|
||||
@Var(name = "hopperCooldown", min = 0, max = 160)
|
||||
|
@ -315,24 +247,9 @@ public abstract class Config {
|
|||
public static int hopperCartDelay = 1;
|
||||
@Var(name = "xpCooldown", min = 0, max = 10)
|
||||
public static int xpDelay = 0; // 2
|
||||
@Var(name = "maxSpawns")
|
||||
public static int maxMobs = 120;
|
||||
@Var(name = "eggLayTime")
|
||||
public static int eggTimer = 6000;
|
||||
@Var(name = "connectionTimeout", min = 10, max = 300)
|
||||
public static int timeout = 30;
|
||||
@Var(name = "passwordMinLength", min = 8, max = 32)
|
||||
public static int minPassLength = 8;
|
||||
@Var(name = "port", min = 1024, max = 32767, nonDefault = true)
|
||||
public static int port = -1;
|
||||
|
||||
@Var(name = "gravity")
|
||||
public static float gravity = 1.0f;
|
||||
@Var(name = "knockback")
|
||||
public static float knockback = 1.0f;
|
||||
|
||||
@Var(name = "password", nonDefault = true)
|
||||
public static String password = "";
|
||||
@Var(name = "baseSeed", nonDefault = true)
|
||||
public static String seed = "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue