Class ItemAdventurePredicate.BlockPredicate
java.lang.Object
com.github.retrooper.packetevents.protocol.component.builtin.item.ItemAdventurePredicate.BlockPredicate
- Enclosing class:
- ItemAdventurePredicate
-
Constructor Summary
ConstructorsConstructorDescriptionBlockPredicate(@Nullable MappedEntitySet<StateType.Mapped> blocks, @Nullable List<ItemAdventurePredicate.PropertyMatcher> properties, @Nullable NBTCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(ItemAdventurePredicate.PropertyMatcher propertyMatcher) boolean@Nullable MappedEntitySet<StateType.Mapped>@Nullable NBTCompoundgetNbt()@Nullable List<ItemAdventurePredicate.PropertyMatcher>inthashCode()read(PacketWrapper<?> wrapper) voidsetBlocks(@Nullable MappedEntitySet<StateType.Mapped> blocks) voidsetNbt(@Nullable NBTCompound nbt) voidsetProperties(@Nullable List<ItemAdventurePredicate.PropertyMatcher> properties) static voidwrite(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