Interface ITypedReward<TYPE>

All Superinterfaces:
net.minecraft.world.level.storage.loot.LootContextUser
All Known Subinterfaces:
IEntityReward, IPlayerReward, IReward, ITeamReward
All Known Implementing Classes:
AbstractGiveItemsEntityReward, AllTeamsPlayerReward, ContextEntityReward, ContextTeamReward, GiveItemEntityReward, GiveLootEntityReward, GrantExperiencePlayerReward, GrantShopXPTeamReward, MembersTeamReward, UnlockTradeEntityReward

public interface ITypedReward<TYPE> extends net.minecraft.world.level.storage.loot.LootContextUser
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
     
     
    void
    render(net.minecraft.client.gui.GuiGraphics graphics)
     

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

    getReferencedContextParams, validate
  • Method Details

    • getType

      TYPE getType()
    • render

      void render(net.minecraft.client.gui.GuiGraphics graphics)
    • getName

      net.minecraft.network.chat.Component getName()