1#if PROTOCOL_VERSION > 765
22#if PROTOCOL_VERSION > 773
26#if PROTOCOL_VERSION > 773
31#if PROTOCOL_VERSION > 767
41#if PROTOCOL_VERSION < 770
42 HideAdditionalTooltip,
52#if PROTOCOL_VERSION < 768
55#if PROTOCOL_VERSION > 767
62#if PROTOCOL_VERSION > 769
65#if PROTOCOL_VERSION > 773
68#if PROTOCOL_VERSION > 767
76#if PROTOCOL_VERSION > 769
79#if PROTOCOL_VERSION > 773
93#if PROTOCOL_VERSION > 769
105#if PROTOCOL_VERSION > 769
109#if PROTOCOL_VERSION > 766
112#if PROTOCOL_VERSION > 769
129#if PROTOCOL_VERSION > 769
146#if PROTOCOL_VERSION > 773
164 class DataComponentType;
171 const std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>&
GetMap()
const;
180 std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>
map;
189 const std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>&
GetMap()
const;
198 std::map<DataComponentTypes, std::shared_ptr<DataComponentType>>
map;
202#if PROTOCOL_VERSION > 769
virtual Json::Value SerializeImpl() const override
std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > map
const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & GetMap() const
virtual void ReadImpl(ReadIterator &iter, size_t &length) override
virtual ~DataComponentPatch() override
DataComponentPatch & SetMap(const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > &map_)
virtual void WriteImpl(WriteContainer &container) const override
virtual ~DataComponentPredicate() override
virtual void WriteImpl(WriteContainer &container) const override
std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > map
virtual Json::Value SerializeImpl() const override
virtual void ReadImpl(ReadIterator &iter, size_t &length) override
const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > & GetMap() const
DataComponentPredicate & SetMap(const std::map< DataComponentTypes, std::shared_ptr< DataComponentType > > &map_)
SERIALIZED_FIELD(AddedComponents, Internal::DiffType< std::map< DataComponentTypes, int >, std::map< VarInt, int > >)
DECLARE_READ_WRITE_SERIALIZE
HashedDataComponentPatch()=default
SERIALIZED_FIELD(RemovedComponents, Internal::DiffType< std::vector< DataComponentTypes >, std::vector< VarInt > >)
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
std::string_view DataComponentTypesToString(const DataComponentTypes type)
@ EnchantmentGlintOverride
@ NUM_DATA_COMPONENT_TYPES
@ TropicalFish_PatternColor
std::vector< unsigned char > WriteContainer
std::vector< unsigned char >::const_iterator ReadIterator
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...