Interface ContainerFactory<T>

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

@Deprecated
@FunctionalInterface
public interface ContainerFactory<T>
  • Method Summary

    Modifier and Type Method Description
    T create​(int syncId, net.minecraft.util.Identifier identifier, net.minecraft.entity.player.PlayerEntity player, net.minecraft.network.PacketByteBuf buf)
    Deprecated.
    Creates the new object.