Class PrefabWeights.WeightMapValidator
java.lang.Object
com.hypixel.hytale.server.core.prefab.PrefabWeights.WeightMapValidator
- All Implemented Interfaces:
LegacyValidator<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>>,Validator<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>>,BiConsumer<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>,ValidationResults>
- Enclosing class:
PrefabWeights
private static class PrefabWeights.WeightMapValidator
extends Object
implements LegacyValidator<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(it.unimi.dsi.fastutil.objects.Object2DoubleMap<String> stringObject2DoubleMap, ValidationResults results) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThenMethods inherited from interface com.hypixel.hytale.codec.validation.LegacyValidator
updateSchema
-
Constructor Details
-
WeightMapValidator
private WeightMapValidator()
-
-
Method Details
-
accept
public void accept(@Nonnull it.unimi.dsi.fastutil.objects.Object2DoubleMap<String> stringObject2DoubleMap, ValidationResults results) - Specified by:
acceptin interfaceBiConsumer<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>,ValidationResults> - Specified by:
acceptin interfaceLegacyValidator<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>>- Specified by:
acceptin interfaceValidator<it.unimi.dsi.fastutil.objects.Object2DoubleMap<String>>
-