classpublicPriority 1
GameplayConfig
com.hypixel.hytale.server.core.asset.type.gameplay.GameplayConfig
implements JsonAssetWithMap<String, DefaultAssetMap<String, GameplayConfig>>
20
Methods
20
Public Methods
7
Fields
1
Constructors
Constants
AssetBuilderCodec<String, GameplayConfig>CODEC= AssetBuilderCodec.builder(
GameplayConfig.class,
GameplayConfig::new,
...
GameplayConfigDEFAULT= new GameplayConfig()
StringDEFAULT_ID= "Default"
MapKeyMapCodec<Object>PLUGIN_CODEC= new MapKeyMapCodec<>(true)
ValidatorCache<String>VALIDATOR_CACHE= new ValidatorCache<>(new AssetKeyValidator<>(GameplayConfig::getAssetStore))
Constructors
public
GameplayConfig()Methods
Public Methods (20)
publicstatic
DefaultAssetMap<String, GameplayConfig> getAssetMap()publicstatic
AssetStore<String, GameplayConfig, DefaultAssetMap<String, GameplayConfig>> getAssetStore()public
CameraEffectsConfig getCameraEffectsConfig()public
CombatConfig getCombatConfig()public
CraftingConfig getCraftingConfig()public
String getCreativePlaySoundSet()public
int getCreativePlaySoundSetIndex()public
DeathConfig getDeathConfig()public
GatheringConfig getGatheringConfig()public
String getId()public
ItemDurabilityConfig getItemDurabilityConfig()public
ItemEntityConfig getItemEntityConfig()public
int getMaxEnvironmentalNPCSpawns()public
PlayerConfig getPlayerConfig()public
MapKeyMapCodec.TypeMap<Object> getPluginConfig()public
RespawnConfig getRespawnConfig()public
boolean getShowItemPickupNotifications()public
SpawnConfig getSpawnConfig()@Nonnull
public
WorldConfig getWorldConfig()public
WorldMapConfig getWorldMapConfig()Fields
Protected Fields (6)
protected
String creativePlaySoundSetprotected
transient int creativePlaySoundSetIndexprotected
AssetExtraInfo.Data dataprotected
String idprotected
int maxEnvironmentalNPCSpawnsprotected
boolean showItemPickupNotificationsPrivate/Package Fields (1)
private
AssetStore<String, GameplayConfig, DefaultAssetMap<String, GameplayConfig>> ASSET_STORE