Class ComponentPredicate
java.lang.Object
com.github.retrooper.packetevents.protocol.component.ComponentPredicate
- All Implemented Interfaces:
Predicate<IComponentMap>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasPatches
(StaticComponentMap base) static ComponentPredicate
boolean
static ComponentPredicate
fromPatches
(PatchableComponentMap components) List
<ComponentValue<?>> int
hashCode()
static ComponentPredicate
read
(PacketWrapper<?> wrapper) void
setRequiredComponents
(List<ComponentValue<?>> requiredComponents) boolean
test
(IComponentMap components) toString()
static void
write
(PacketWrapper<?> wrapper, ComponentPredicate predicate)
-
Constructor Details
-
ComponentPredicate
-
-
Method Details
-
read
-
write
-
emptyPredicate
-
fromPatches
-
asPatches
-
test
- Specified by:
test
in interfacePredicate<IComponentMap>
-
getRequiredComponents
-
setRequiredComponents
-
equals
-
hashCode
public int hashCode() -
toString
-