Interface IContextEntityRewardGenerator

All Superinterfaces:
IRewardGenerator, net.minecraft.world.level.storage.loot.LootContextUser
All Known Implementing Classes:
LootTableRewardGenerator

public interface IContextEntityRewardGenerator extends IRewardGenerator
  • Field Summary

    Fields inherited from interface com.petrolpark.core.data.reward.generator.IRewardGenerator

    CODEC, TYPED_CODEC
  • Method Summary

    Modifier and Type
    Method
    Description
    default Set<net.minecraft.world.level.storage.loot.parameters.LootContextParam<?>>
     
     

    Methods inherited from interface com.petrolpark.core.data.reward.generator.IRewardGenerator

    generate, getType

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

    validate
  • Method Details

    • target

      IEntityTarget target()
    • getReferencedContextParams

      default Set<net.minecraft.world.level.storage.loot.parameters.LootContextParam<?>> getReferencedContextParams()
      Specified by:
      getReferencedContextParams in interface net.minecraft.world.level.storage.loot.LootContextUser