net.minecraft.village

class TradeOffers$SellMapFactory

implements TradeOffers$Factory

net.minecraft.world.entity.npc.villager.VillagerTrades$TreasureMapForEmeralds
net.minecraft.class_3853$class_1654
net.minecraft.village.TradeOffers$SellMapFactory

Field summary

Modifier and TypeField
private final int
emeraldCost
field_18589
price
private final TagKey<Structure>
destination
field_7474
structure
private final String
displayName
field_37051
nameKey
private final RegistryEntry<MapDecorationType>
destinationType
field_7473
decoration
private final int
maxUses
field_18590
maxUses
private final int
villagerXp
field_18591
experience

Constructor summary

ModifierConstructor
public (int price, TagKey<Structure> structure, String nameKey, RegistryEntry<MapDecorationType> decoration, int maxUses, int experience)

Method summary

Modifier and TypeMethod
public TradeOffer
getOffer(ServerLevel serverLevel, Entity merchant, RandomSource random)
method_7246(class_3218 arg0, class_1297 arg1, class_5819 arg2)
create(ServerWorld arg0, Entity arg1, Random arg2)