Package com.petrolpark.core.trade
Interface IWanderingTraderTradeListingReference
- All Superinterfaces:
ITradeListingReference
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceNested classes/interfaces inherited from interface com.petrolpark.core.trade.ITradeListingReference
ITradeListingReference.Type -
Field Summary
Fields inherited from interface com.petrolpark.core.trade.ITradeListingReference
CODEC, FAILURE, TYPED_CODEC -
Method Summary
Modifier and TypeMethodDescriptionstatic <REF extends IWanderingTraderTradeListingReference>
com.mojang.serialization.MapCodec<REF> codec(IWanderingTraderTradeListingReference.Factory<REF> factory) intindex()booleanrare()static <REF extends IWanderingTraderTradeListingReference>
net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, REF> streamCodec(IWanderingTraderTradeListingReference.Factory<REF> factory) Methods inherited from interface com.petrolpark.core.trade.ITradeListingReference
get, getType
-
Method Details
-
codec
static <REF extends IWanderingTraderTradeListingReference> com.mojang.serialization.MapCodec<REF> codec(IWanderingTraderTradeListingReference.Factory<REF> factory) -
streamCodec
static <REF extends IWanderingTraderTradeListingReference> net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,REF> streamCodec(IWanderingTraderTradeListingReference.Factory<REF> factory) -
rare
boolean rare() -
index
int index()
-