Class ItemAdventurePredicate
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemAdventurePredicate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static interface
-
Constructor Summary
ConstructorsConstructorDescriptionItemAdventurePredicate
(List<ItemAdventurePredicate.BlockPredicate> predicates, boolean showInTooltip) showInTooltip
has been removed in 1.21.5 -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
int
hashCode()
boolean
Removed with 1.21.5static ItemAdventurePredicate
read
(PacketWrapper<?> wrapper) void
setPredicates
(List<ItemAdventurePredicate.BlockPredicate> predicates) void
setShowInTooltip
(boolean showInTooltip) Removed with 1.21.5static void
write
(PacketWrapper<?> wrapper, ItemAdventurePredicate predicate)
-
Constructor Details
-
ItemAdventurePredicate
-
ItemAdventurePredicate
@Obsolete public ItemAdventurePredicate(List<ItemAdventurePredicate.BlockPredicate> predicates, boolean showInTooltip) showInTooltip
has been removed in 1.21.5
-
-
Method Details
-
read
-
write
-
addPredicate
-
getPredicates
-
setPredicates
-
isShowInTooltip
@Obsolete public boolean isShowInTooltip()Removed with 1.21.5 -
setShowInTooltip
@Obsolete public void setShowInTooltip(boolean showInTooltip) Removed with 1.21.5 -
equals
-
hashCode
public int hashCode()
-