Class MemberCountTeamNumberProvider
java.lang.Object
com.petrolpark.core.data.loot.numberprovider.team.MemberCountTeamNumberProvider
- All Implemented Interfaces:
TeamNumberProvider,net.minecraft.world.level.storage.loot.LootContextUser
-
Field Summary
Fields inherited from interface com.petrolpark.core.data.loot.numberprovider.team.TeamNumberProvider
CODEC, TYPED_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the approximate bounds for theoutputof thisTeamNumberProvideron a best-effort basis.floatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validateMethods inherited from interface com.petrolpark.core.data.loot.numberprovider.team.TeamNumberProvider
getMaxFloat
-
Constructor Details
-
MemberCountTeamNumberProvider
public MemberCountTeamNumberProvider()
-
-
Method Details
-
getFloat
- Specified by:
getFloatin interfaceTeamNumberProvider
-
getEstimate
Description copied from interface:TeamNumberProviderGet the approximate bounds for theoutputof thisTeamNumberProvideron a best-effort basis.- Specified by:
getEstimatein interfaceTeamNumberProvider- See Also:
-
getTeamNumberProviderType
- Specified by:
getTeamNumberProviderTypein interfaceTeamNumberProvider
-