Class ComponentTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.component.ComponentTypes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComponentType<ItemAttributeModifiers>static final ComponentType<BannerLayers>static final ComponentType<DyeColor>static final ComponentType<ItemBees>static final ComponentType<NBTCompound>static final ComponentType<ItemBlockStateProperties>static final ComponentType<NBTCompound>static final ComponentType<BundleContents>static final ComponentType<ItemAdventurePredicate>static final ComponentType<ItemAdventurePredicate>static final ComponentType<ChargedProjectiles>static final ComponentType<ItemContainerContents>static final ComponentType<ItemContainerLoot>static final ComponentType<Dummy>static final ComponentType<NBTCompound>static final ComponentType<Integer>static final ComponentType<net.kyori.adventure.text.Component>static final ComponentType<Integer>static final ComponentType<DebugStickState>static final ComponentType<ItemDyeColor>static final ComponentType<Boolean>static final ComponentType<ItemEnchantments>static final ComponentType<NBTCompound>static final ComponentType<Dummy>static final ComponentType<FireworkExplosion>static final ComponentType<ItemFireworks>static final ComponentType<FoodProperties>static final ComponentType<Dummy>static final ComponentType<Dummy>static final ComponentType<Instrument>static final ComponentType<Dummy>static final ComponentType<net.kyori.adventure.text.Component>static final ComponentType<ItemLock>static final ComponentType<LodestoneTracker>static final ComponentType<ItemLore>static final ComponentType<Integer>static final ComponentType<ItemMapDecorations>static final ComponentType<Integer>static final ComponentType<ItemMapPostProcessingState>static final ComponentType<Integer>static final ComponentType<Integer>static final ComponentType<ResourceLocation>static final ComponentType<Integer>static final ComponentType<PotDecorations>static final ComponentType<ItemPotionContents>static final ComponentType<ItemProfile>static final ComponentType<ItemRarity>static final ComponentType<ItemRecipes>static final ComponentType<Integer>static final ComponentType<ItemEnchantments>static final ComponentType<SuspiciousStewEffects>static final ComponentType<ItemTool>static final ComponentType<ArmorTrim>static final ComponentType<Boolean>static final ComponentType<WritableBookContent>static final ComponentType<WrittenBookContent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ComponentType<T>static <T> ComponentType<T>define(String key, @Nullable ComponentTypes.Reader<T> reader, @Nullable ComponentTypes.Writer<T> writer) static ComponentType<?>getById(ClientVersion version, int id) static ComponentType<?>
-
Field Details
-
CUSTOM_DATA
-
MAX_STACK_SIZE
-
MAX_DAMAGE
-
DAMAGE
-
UNBREAKABLE
-
CUSTOM_NAME
-
ITEM_NAME
-
LORE
-
RARITY
-
ENCHANTMENTS
-
CAN_PLACE_ON
-
CAN_BREAK
-
ATTRIBUTE_MODIFIERS
-
CUSTOM_MODEL_DATA
-
HIDE_ADDITIONAL_TOOLTIP
-
HIDE_TOOLTIP
-
REPAIR_COST
-
CREATIVE_SLOT_LOCK
-
ENCHANTMENT_GLINT_OVERRIDE
-
INTANGIBLE_PROJECTILE
-
FOOD
-
FIRE_RESISTANT
-
TOOL
-
STORED_ENCHANTMENTS
-
DYED_COLOR
-
MAP_COLOR
-
MAP_ID
-
MAP_DECORATIONS
-
MAP_POST_PROCESSING
-
CHARGED_PROJECTILES
-
BUNDLE_CONTENTS
-
POTION_CONTENTS
-
SUSPICIOUS_STEW_EFFECTS
-
WRITABLE_BOOK_CONTENT
-
WRITTEN_BOOK_CONTENT
-
TRIM
-
DEBUG_STICK_STATE
-
ENTITY_DATA
-
BUCKET_ENTITY_DATA
-
BLOCK_ENTITY_DATA
-
INSTRUMENT
-
OMINOUS_BOTTLE_AMPLIFIER
-
RECIPES
-
LODESTONE_TRACKER
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
PROFILE
-
NOTE_BLOCK_SOUND
-
BANNER_PATTERNS
-
BASE_COLOR
-
POT_DECORATIONS
-
CONTAINER
-
BLOCK_STATE
-
BEES
-
LOCK
-
CONTAINER_LOOT
-
-
Constructor Details
-
ComponentTypes
public ComponentTypes()
-
-
Method Details
-
define
-
define
public static <T> ComponentType<T> define(String key, @Nullable @Nullable ComponentTypes.Reader<T> reader, @Nullable @Nullable ComponentTypes.Writer<T> writer) -
getByName
-
getById
-