Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-10-02 00:10:06 +02:00
Change default value for new ocelot setting (#3797)
Dieser Commit ist enthalten in:
Ursprung
33cc21d6e6
Commit
ce2ad7d5eb
@ -27,8 +27,6 @@ import com.viaversion.viaversion.api.connection.StorableObject;
|
|||||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||||
import com.viaversion.viaversion.api.minecraft.WorldIdentifiers;
|
import com.viaversion.viaversion.api.minecraft.WorldIdentifiers;
|
||||||
import com.viaversion.viaversion.api.protocol.version.BlockedProtocolVersions;
|
import com.viaversion.viaversion.api.protocol.version.BlockedProtocolVersions;
|
||||||
import it.unimi.dsi.fastutil.ints.IntSet;
|
|
||||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
|
||||||
|
|
||||||
public interface ViaVersionConfig extends Config {
|
public interface ViaVersionConfig extends Config {
|
||||||
|
|
||||||
@ -454,7 +452,7 @@ public interface ViaVersionConfig extends Config {
|
|||||||
boolean isArmorToggleFix();
|
boolean isArmorToggleFix();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ocelots will always be translated to cats for 1.14+ clients on 1.13 servers.
|
* If disabled, tamed cats will be displayed as ocelots to 1.14+ clients on 1.13 servers. Otherwise, ocelots (tamed and untamed) will be displayed as cats.
|
||||||
*
|
*
|
||||||
* @return true if enabled
|
* @return true if enabled
|
||||||
*/
|
*/
|
||||||
|
@ -158,7 +158,7 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
|
|||||||
worlds.getOrDefault("nether", WorldIdentifiers.NETHER_DEFAULT),
|
worlds.getOrDefault("nether", WorldIdentifiers.NETHER_DEFAULT),
|
||||||
worlds.getOrDefault("end", WorldIdentifiers.END_DEFAULT));
|
worlds.getOrDefault("end", WorldIdentifiers.END_DEFAULT));
|
||||||
cache1_17Light = getBoolean("cache-1_17-light", true);
|
cache1_17Light = getBoolean("cache-1_17-light", true);
|
||||||
translateOcelotToCat = getBoolean("translate-ocelot-to-cat", false);
|
translateOcelotToCat = getBoolean("translate-ocelot-to-cat", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private BlockedProtocolVersions loadBlockedProtocolVersions() {
|
private BlockedProtocolVersions loadBlockedProtocolVersions() {
|
||||||
|
@ -175,7 +175,7 @@ map-1_16-world-names:
|
|||||||
nether: "minecraft:the_nether"
|
nether: "minecraft:the_nether"
|
||||||
end: "minecraft:the_end"
|
end: "minecraft:the_end"
|
||||||
#
|
#
|
||||||
# Ocelots will always be translated to cats for 1.14+ clients on 1.13 servers.
|
# If disabled, tamed cats will be displayed as ocelots to 1.14+ clients on 1.13 servers. Otherwise, ocelots (tamed and untamed) will be displayed as cats.
|
||||||
translate-ocelot-to-cat: false
|
translate-ocelot-to-cat: false
|
||||||
#
|
#
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren