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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<TeamNumberProvider>
     
    static final com.mojang.serialization.Codec<TeamNumberProvider>
    Use CODEC instead.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    float
    getFloat(ITeam team, net.minecraft.world.level.storage.loot.LootContext context)
     
    default float
    getMaxFloat(ITeam team, net.minecraft.world.level.storage.loot.LootContext context)
     
     

    Methods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser

    getReferencedContextParams, validate
  • Field Details

  • Method Details

    • getFloat

      float getFloat(ITeam team, net.minecraft.world.level.storage.loot.LootContext context)
    • getEstimate

      NumberEstimate getEstimate()
    • getMaxFloat

      default float getMaxFloat(ITeam team, net.minecraft.world.level.storage.loot.LootContext context)
    • getType