Tweak AreaEffectCloud Size
All checks were successful
EnergonRelics/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-07-28 18:22:44 -04:00
parent efd5e713a8
commit 1b27c895f3
4 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ public class IndustrialLaserBlockEntity extends FieldProjectorBlockEntity {
if (targetState.getBlock() == EnergonRelics.VERIDIUM_ORE_BLOCK) {
AreaEffectCloudEntity areaEffectCloudEntity = new AreaEffectCloudEntity(getWorld(), targetPos.getX() + 0.5d, targetPos.getY() + 0.5d, targetPos.getZ() + 0.5d);
areaEffectCloudEntity.setRadius(2.1f);
areaEffectCloudEntity.setRadius(1.2f);
areaEffectCloudEntity.setRadiusOnUse(-0.5f);
areaEffectCloudEntity.setWaitTime(10);
areaEffectCloudEntity.setDuration(areaEffectCloudEntity.getDuration() / 2);

View File

@ -133,7 +133,7 @@ public class NetworkComponent extends PersistentState {
world.getProfiler().pop();
if (valid) {
Collections.shuffle(list);
Collections.shuffle(list, world.random);
return list;
} else {
@ -173,7 +173,7 @@ public class NetworkComponent extends PersistentState {
if (dirty) {
markDirty();
}
Collections.shuffle(providers);
Collections.shuffle(providers, world.random);
cache.put(id, providers);

View File

@ -38,7 +38,7 @@ public class HardcodedConfig {
public static final long INDUSTRIAL_LASER_ENERGY_REQUIRED = 58;
public static final int INDUSTRIAL_LASER_BEAM_TIME = 148;
public static final int INDUSTRIAL_LASER_MIN_INGOTS_FROM_ORE = 1;
public static final int INDUSTRIAL_LASER_MAX_INGOTS_FROM_ORE = 3;
public static final int INDUSTRIAL_LASER_MAX_INGOTS_FROM_ORE = 4;
public static final int INDUSTRIAL_LASER_INGOTS_FROM_STORAGE = 9;
public static final long HOLOGRAPHIC_SKY_ENERGY_REQUIRED = 15;

View File

@ -42,7 +42,7 @@ public class EnergyTicker {
temp2.clear();
}
Collections.shuffle(started);
Collections.shuffle(started, world.random);
for (EnergyTickable tickable : started) {
world.getProfiler().push(() -> tickable.getID() + " logicTick");