Interface TeamNumberProvider
- All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
- All Known Implementing Classes:
MembersTeamNumberProvider
public interface TeamNumberProvider
extends net.minecraft.world.level.storage.loot.LootContextUser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TeamNumberProvider> static final com.mojang.serialization.Codec<TeamNumberProvider> UseCODECinstead. -
Method Summary
Modifier and TypeMethodDescriptionfloatdefault floatgetMaxFloat(ITeam team, net.minecraft.world.level.storage.loot.LootContext context) getType()Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams, validate
-
Field Details
-
TYPED_CODEC
UseCODECinstead. -
CODEC
-
-
Method Details
-
getFloat
-
getEstimate
NumberEstimate getEstimate() -
getMaxFloat
-
getType
LootTeamNumberProviderType getType()
-