41 return std::make_shared<SlotDisplayDataEmpty>();
43 return std::make_shared<ItemSlotDisplay>();
45 return std::make_shared<ItemStackSlotDisplay>();
47 return std::make_shared<TagSlotDisplay>();
49 return std::make_shared<SmithingTrimDemoSlotDisplay>();
51 return std::make_shared<WithRemainderSlotDisplay>();
53 return std::make_shared<CompositeSlotDisplay>();
54#if PROTOCOL_VERSION > 774
56 return std::make_shared<WithAnyPotionSlotDisplay>();
58 return std::make_shared<OnlyWithComponentSlotDisplay>();
60 return std::make_shared<DyedSlotDemoDisplayData>();
64 throw std::runtime_error(
"Unable to create SlotDisplayData with id: " + std::to_string(
static_cast<int>(type)) +
".");