Class ItemAdventurePredicate.BlockPredicate
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemAdventurePredicate.BlockPredicate
- Enclosing class:
ItemAdventurePredicate
-
Constructor Summary
ConstructorDescriptionBlockPredicate
(@Nullable MappedEntitySet<StateType.Mapped> blocks, @Nullable List<ItemAdventurePredicate.PropertyMatcher> properties, @Nullable NBTCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(ItemAdventurePredicate.PropertyMatcher propertyMatcher) boolean
@Nullable MappedEntitySet
<StateType.Mapped> @Nullable NBTCompound
getNbt()
@Nullable List
<ItemAdventurePredicate.PropertyMatcher> int
hashCode()
read
(PacketWrapper<?> wrapper) void
setBlocks
(@Nullable MappedEntitySet<StateType.Mapped> blocks) void
setNbt
(@Nullable NBTCompound nbt) void
setProperties
(@Nullable List<ItemAdventurePredicate.PropertyMatcher> properties) static void
write
(PacketWrapper<?> wrapper, ItemAdventurePredicate.BlockPredicate predicate)
-
Constructor Details
-
BlockPredicate
public BlockPredicate(@Nullable @Nullable MappedEntitySet<StateType.Mapped> blocks, @Nullable @Nullable List<ItemAdventurePredicate.PropertyMatcher> properties, @Nullable @Nullable NBTCompound nbt)
-
-
Method Details