Class TradeOffers.EmptyFactory

java.lang.Object
net.minecraft.village.TradeOffers.EmptyFactory
All Implemented Interfaces:
TradeOffers.Factory
Enclosing class:
TradeOffers

private static class TradeOffers.EmptyFactory extends Object implements TradeOffers.Factory
Mappings:
Namespace Name
named net/minecraft/village/TradeOffers$EmptyFactory
intermediary net/minecraft/class_3853$class_8793
official cmm$f
  • Constructor Details

    • EmptyFactory

      EmptyFactory()
  • Method Details

    • create

      public TradeOffer create(Entity entity, Random random)
      Creates a trade offer.
      Specified by:
      create in interface TradeOffers.Factory
      Returns:
      a new trade offer, or null if none should be created
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/village/TradeOffer;
      intermediary method_7246 Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)Lnet/minecraft/class_1914;
      official a Lcmm$g;a(Lbsq;Layv;)Ldbs;