Interface IRewardGenerator

All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
All Known Subinterfaces:
IContextEntityRewardGenerator
All Known Implementing Classes:
CombinedRewardGenerator, DirectRewardGenerator, LootTableRewardGenerator

public interface IRewardGenerator extends net.minecraft.world.level.storage.loot.LootContextUser
  • Field Summary

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

    Modifier and Type
    Method
    Description
    generate(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