Class ItemProfile
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfile
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionItemProfile
(@Nullable String name, @Nullable UUID id, List<ItemProfile.Property> properties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(ItemProfile.Property property) boolean
@Nullable UUID
getId()
@Nullable String
getName()
int
hashCode()
static ItemProfile
read
(PacketWrapper<?> wrapper) void
void
void
setProperties
(List<ItemProfile.Property> properties) static void
write
(PacketWrapper<?> wrapper, ItemProfile profile)
-
Constructor Details
-
ItemProfile
public ItemProfile(@Nullable @Nullable String name, @Nullable @Nullable UUID id, List<ItemProfile.Property> properties)
-
-
Method Details