Class ComponentPredicate
java.lang.Object
com.github.retrooper.packetevents.protocol.component.ComponentPredicate
- All Implemented Interfaces:
Predicate<IComponentMap>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasPatches(StaticComponentMap base) static ComponentPredicatestatic ComponentPredicatefromPatches(PatchableComponentMap components) List<ComponentValue<?>>static ComponentPredicateread(PacketWrapper<?> wrapper) voidsetRequiredComponents(List<ComponentValue<?>> requiredComponents) booleantest(IComponentMap components) static voidwrite(PacketWrapper<?> wrapper, ComponentPredicate predicate)
-
Constructor Details
-
ComponentPredicate
-
-
Method Details
-
read
-
write
-
emptyPredicate
-
fromPatches
-
asPatches
-
test
- Specified by:
testin interfacePredicate<IComponentMap>
-
getRequiredComponents
-
setRequiredComponents
-