Class ComponentPredicateTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.component.predicates.ComponentPredicateTypes
This implementation is experimental and not done yet. As I don't expect
component predicates to be used in packetevents at all, it is currently not
read from/to NBT; if you want/need this though, feel free to mention it
via GitHub/Discord - or open a PR!
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> static final ComponentPredicateType
<NbtComponentPredicate> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IComponentPredicate>
ComponentPredicateType<T> define
(String key, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) static VersionedRegistry
<ComponentPredicateType<?>>
-
Field Details
-
DAMAGE
-
ENCHANTMENTS
-
STORED_ENCHANTMENTS
-
POTION_CONTENTS
-
CUSTOM_DATA
-
CONTAINER
-
BUNDLE_CONTENTS
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
WRITABLE_BOOK_CONTENT
@Experimental public static final ComponentPredicateType<NbtComponentPredicate> WRITABLE_BOOK_CONTENT -
WRITTEN_BOOK_CONTENT
@Experimental public static final ComponentPredicateType<NbtComponentPredicate> WRITTEN_BOOK_CONTENT -
ATTRIBUTE_MODIFIERS
-
TRIM
-
JUKEBOX_PLAYABLE
-
-
Method Details
-
define
@Internal public static <T extends IComponentPredicate> ComponentPredicateType<T> define(String key, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) -
getRegistry
-