public class AssetRegistryLoader
Class AssetRegistryLoader. Provides assetregistryloader functionality for the Hytale server.
java.lang.Object > AssetRegistryLoader
Field Summary
start
Field start.
preAddedAssets
Field preAddedAssets.
loadResult
Field loadResult.
end
Field end.
diff
Field diff.
serverAssetDirectory
Field serverAssetDirectory.
startAll
Field startAll.
path
Field path.
assetsPath
Field assetsPath.
path2
Field path2.
assetsPath2
Field assetsPath2.
endAll
Field endAll.
diffAll
Field diffAll.
packetConsumer
Field packetConsumer.
singlePacketConsumer
Field singlePacketConsumer.
values
Field values.
vsCodeSchemas
Field vsCodeSchemas.
vsCodeFiles
Field vsCodeFiles.
array
Field array.
assetClass
Field assetClass.
name
Field name.
codec
Field codec.
array2
Field array2.
store2
Field store2.
assetClass2
Field assetClass2.
name2
Field name2.
codec2
Field codec2.
schema
Field schema.
hytale
Field hytale.
idProvider
Field idProvider.
preload
Field preload.
internal
Field internal.
p
Field p.
k
Field k.
config
Field config.
definitions
Field definitions.
otherDefinitions
Field otherDefinitions.
pack
Field pack.
vsCodeConfig
Field vsCodeConfig.
assetDirectory
Field assetDirectory.
schemaDir
Field schemaDir.
context
Field context.
Method Detail
init
void
init
()
Method init.
loadAssets
Method loadAssets.
- Parameters:
@Nullable final LoadAssetEventevent@Nonnull final AssetPackassetPack
AssetStoreIterator
new
AssetStoreIterator
(values)
Method AssetStoreIterator.
- Parameters:
valuesvalues
RuntimeException
new
RuntimeException
(String.format("Failed to pre-add %s took %s", assetClass.getSimpleName()
Method RuntimeException.
- Parameters:
String.format("Failed to pre-add %s took%s"assetClass.getSimpleName(assetClass.getSimpleName(
loadAssets0
Method loadAssets0.
- Parameters:
@Nullable final LoadAssetEventevent@Nonnull final AssetPackassetPack
generateSchemas
Schema>
generateSchemas
(@Nonnull final SchemaContext context, @Nonnull final BsonDocument vsCodeConfig)
Method generateSchemas.
- Parameters:
@Nonnull final SchemaContextcontext@Nonnull final BsonDocumentvsCodeConfig
BsonInt32
new
BsonInt32
(2)
Method BsonInt32.
- Parameters:
22
BsonString
new
BsonString
("/Server/" + path + "/**/*" + store2.getExtension()
Method BsonString.
- Parameters:
"/Server/" + path + "/**/*" +store2.getExtension(
GenerateSchemaEvent
new
GenerateSchemaEvent
(schemas, context, vsCodeConfig)
Method GenerateSchemaEvent.
- Parameters:
schemasschemascontextcontextvsCodeConfigvsCodeConfig
IndexedAssetMap
new
IndexedAssetMap
()
Method IndexedAssetMap.
AmbienceFXPacketGenerator
new
AmbienceFXPacketGenerator
()
Method AmbienceFXPacketGenerator.
IndexedLookupTableAssetMap
new
IndexedLookupTableAssetMap
(BlockBoundingBoxes[]::new)
Method IndexedLookupTableAssetMap.
- Parameters:
BlockBoundingBoxes[]::newBlockBoundingBoxes[]::new
BlockBoundingBoxesPacketGenerator
new
BlockBoundingBoxesPacketGenerator
()
Method BlockBoundingBoxesPacketGenerator.
BlockSetPacketGenerator
new
BlockSetPacketGenerator
()
Method BlockSetPacketGenerator.
BlockSoundSetPacketGenerator
new
BlockSoundSetPacketGenerator
()
Method BlockSoundSetPacketGenerator.
ItemSoundSetPacketGenerator
new
ItemSoundSetPacketGenerator
()
Method ItemSoundSetPacketGenerator.
DefaultAssetMap
new
DefaultAssetMap
()
Method DefaultAssetMap.
BlockParticleSetPacketGenerator
new
BlockParticleSetPacketGenerator
()
Method BlockParticleSetPacketGenerator.
BlockBreakingDecalPacketGenerator
new
BlockBreakingDecalPacketGenerator
()
Method BlockBreakingDecalPacketGenerator.
BlockTypePacketGenerator
new
BlockTypePacketGenerator
()
Method BlockTypePacketGenerator.
ItemStack
new
ItemStack
(item, 1)
Method ItemStack.
- Parameters:
itemitem11
FluidTypePacketGenerator
new
FluidTypePacketGenerator
()
Method FluidTypePacketGenerator.
ItemPlayerAnimationsPacketGenerator
new
ItemPlayerAnimationsPacketGenerator
()
Method ItemPlayerAnimationsPacketGenerator.
EnvironmentPacketGenerator
new
EnvironmentPacketGenerator
()
Method EnvironmentPacketGenerator.
FluidFXPacketGenerator
new
FluidFXPacketGenerator
()
Method FluidFXPacketGenerator.
ItemCategoryPacketGenerator
new
ItemCategoryPacketGenerator
()
Method ItemCategoryPacketGenerator.
FieldcraftCategoryPacketGenerator
new
FieldcraftCategoryPacketGenerator
()
Method FieldcraftCategoryPacketGenerator.
ItemReticleConfigPacketGenerator
new
ItemReticleConfigPacketGenerator
()
Method ItemReticleConfigPacketGenerator.
ItemPacketGenerator
new
ItemPacketGenerator
()
Method ItemPacketGenerator.
CraftingRecipePacketGenerator
new
CraftingRecipePacketGenerator
()
Method CraftingRecipePacketGenerator.
ParticleSpawnerPacketGenerator
new
ParticleSpawnerPacketGenerator
()
Method ParticleSpawnerPacketGenerator.
ParticleSystemPacketGenerator
new
ParticleSystemPacketGenerator
()
Method ParticleSystemPacketGenerator.
TrailPacketGenerator
new
TrailPacketGenerator
()
Method TrailPacketGenerator.
EntityEffectPacketGenerator
new
EntityEffectPacketGenerator
()
Method EntityEffectPacketGenerator.
ModelVFXPacketGenerator
new
ModelVFXPacketGenerator
()
Method ModelVFXPacketGenerator.
ResourceTypePacketGenerator
new
ResourceTypePacketGenerator
()
Method ResourceTypePacketGenerator.
WeatherPacketGenerator
new
WeatherPacketGenerator
()
Method WeatherPacketGenerator.
SoundEventPacketGenerator
new
SoundEventPacketGenerator
()
Method SoundEventPacketGenerator.
SoundSetPacketGenerator
new
SoundSetPacketGenerator
()
Method SoundSetPacketGenerator.
AudioCategoryPacketGenerator
new
AudioCategoryPacketGenerator
()
Method AudioCategoryPacketGenerator.
ReverbEffectPacketGenerator
new
ReverbEffectPacketGenerator
()
Method ReverbEffectPacketGenerator.
EqualizerEffectPacketGenerator
new
EqualizerEffectPacketGenerator
()
Method EqualizerEffectPacketGenerator.
ItemQualityPacketGenerator
new
ItemQualityPacketGenerator
()
Method ItemQualityPacketGenerator.
ProjectileConfigPacketGenerator
new
ProjectileConfigPacketGenerator
()
Method ProjectileConfigPacketGenerator.
BlockGroupPacketGenerator
new
BlockGroupPacketGenerator
()
Method BlockGroupPacketGenerator.
TagPatternPacketGenerator
new
TagPatternPacketGenerator
()
Method TagPatternPacketGenerator.