Class TradeOfferFactories.TreasureMapForEmeralds

java.lang.Object
io.github.vampirestudios.vampirelib.village.TradeOfferFactories.TreasureMapForEmeralds
All Implemented Interfaces:
net.minecraft.world.entity.npc.VillagerTrades.ItemListing
Enclosing class:
TradeOfferFactories

public static class TradeOfferFactories.TreasureMapForEmeralds extends Object implements net.minecraft.world.entity.npc.VillagerTrades.ItemListing
  • Constructor Summary

    Constructors
    Constructor
    Description
    TreasureMapForEmeralds(int price, net.minecraft.tags.TagKey<net.minecraft.world.level.levelgen.structure.Structure> structure, String displayName, net.minecraft.world.level.saveddata.maps.MapDecoration.Type iconType, int maxUses, int experience)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.trading.MerchantOffer
    getOffer(net.minecraft.world.entity.Entity entity_1, @NotNull net.minecraft.util.RandomSource random_1)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TreasureMapForEmeralds

      public TreasureMapForEmeralds(int price, net.minecraft.tags.TagKey<net.minecraft.world.level.levelgen.structure.Structure> structure, String displayName, net.minecraft.world.level.saveddata.maps.MapDecoration.Type iconType, int maxUses, int experience)
  • Method Details

    • getOffer

      public net.minecraft.world.item.trading.MerchantOffer getOffer(net.minecraft.world.entity.Entity entity_1, @NotNull @NotNull net.minecraft.util.RandomSource random_1)
      Specified by:
      getOffer in interface net.minecraft.world.entity.npc.VillagerTrades.ItemListing