Interface SlotReferenceFactory

All Known Implementing Classes:
InventorySlotReferenceFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@API(status=STABLE, since="2.0.0-milestone.3.1") @FunctionalInterface public interface SlotReferenceFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,SlotReference>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,SlotReference>
     
  • Field Details

    • STREAM_CODEC

      static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,SlotReference> STREAM_CODEC
  • Method Details

    • getStreamCodec

      net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,SlotReference> getStreamCodec()