3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00

Add descriptions for the new Config API

Dieser Commit ist enthalten in:
Hugo Kerstens 2016-03-22 17:17:13 +01:00
Ursprung a7022bddf8
Commit e12d8ec466

Datei anzeigen

@ -1,8 +1,5 @@
package us.myles.ViaVersion.api; package us.myles.ViaVersion.api;
/**
* Created by Hugo on 22/03/2016.
*/
public interface ViaVersionConfig { public interface ViaVersionConfig {
/** /**
@ -19,21 +16,67 @@ public interface ViaVersionConfig {
*/ */
boolean isPreventCollision(); boolean isPreventCollision();
/**
* Obtain if 1.9 clients are shown the new effect indicator in the top-right corner
*
* @return true if the using of the new effect indicator is enabled
*/
boolean isNewEffectIndicator(); boolean isNewEffectIndicator();
/**
* Obtain if metadata errors will be suppressed
*
* @return true if metadata errors suppression is enabled
*/
boolean isSuppressMetadataErrors(); boolean isSuppressMetadataErrors();
/**
* Obtain if blocking in 1.9 appears as a player holding a shield
*
* @return true if shield blocking is enabled
*/
boolean isShieldBlocking(); boolean isShieldBlocking();
/**
* Obtain if armor stand positions are fixed so holograms show up at the correct height in 1.9
*
* @return true if hologram patching is enabled
*/
boolean isHologramPatch(); boolean isHologramPatch();
/**
* Obtain if boss bars are fixed for 1.9 clients
*
* @return true if boss bar patching is enabled
*/
boolean isBossbarPatch(); boolean isBossbarPatch();
/**
* Obtain if the boss bars for 1.9 clients are being stopped from flickering
* This will keep all boss bars on 100% (not recommended)
*
* @return true if boss bar anti flickering is enabled
*/
boolean isBossbarAntiflicker(); boolean isBossbarAntiflicker();
/**
* Obtain if unknown entity errors will be suppressed
*
* @return true if boss bar patching is enabled
*/
boolean isUnknownEntitiesSuppressed(); boolean isUnknownEntitiesSuppressed();
/**
* Obtain the vertical offset armor stands are being moved with when the hologram patch is enabled
*
* @return the vertical offset holograms will be moved with
*/
double getHologramYOffset(); double getHologramYOffset();
/**
* Obtain if players will be automatically put in the same team when collision preventing is enabled
*
* @return true if automatic teaming is enabled
*/
boolean isAutoTeam(); boolean isAutoTeam();
} }