config field changes for soundcard
This commit is contained in:
@@ -39,7 +39,7 @@ public final class Config {
|
||||
@Path("energy.items") public static int networkTunnelEnergyPerTick = 2;
|
||||
|
||||
@Path("gameplay") public static ResourceLocation blockOperationsModuleToolTier = TierSortingRegistry.getName(Tiers.DIAMOND);
|
||||
@Path("gameplay.devices") public static long soundCardCoolDownSeconds = 2;
|
||||
@Path("gameplay") public static long soundCardCoolDownSeconds = 2;
|
||||
|
||||
@Path("admin") public static UUID fakePlayerUUID = UUID.fromString("e39dd9a7-514f-4a2d-aa5e-b6030621416d");
|
||||
@Path("admin.network") public static int projectorAverageMaxBytesPerSecond = 160 * 1024;
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.util.Optional;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public final class SoundCardItemDevice extends AbstractItemRPCDevice {
|
||||
private static final int COOLDOWN_IN_TICKS = TickUtils.toTicks(Duration.ofSeconds(Config.soundCardCoolDownSeconds));
|
||||
private final int COOLDOWN_IN_TICKS = TickUtils.toTicks(Duration.ofSeconds(Config.soundCardCoolDownSeconds));
|
||||
private static final int MAX_FIND_RESULTS = 25;
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user