Interface PropertyTester

All Known Subinterfaces:
BooleanProperty
All Known Implementing Classes:
BrokenProperty, BundleHasSelectedItemProperty, CarriedProperty, ComponentBooleanProperty, CustomModelDataFlagProperty, DamagedProperty, ExtendedViewProperty, FishingRodCastProperty, HasComponentProperty, KeybindDownProperty, SelectedProperty, UsingItemProperty, ViewEntityProperty
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Environment(CLIENT) public interface PropertyTester
Mappings:
Namespace Name
named net/minecraft/client/render/item/property/PropertyTester
intermediary net/minecraft/class_10724
official hpd
  • Method Details

    • test

      boolean test(ItemStack stack, @Nullable @Nullable ClientWorld world, @Nullable @Nullable LivingEntity entity, int seed, ItemDisplayContext displayContext)
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/client/render/item/property/PropertyTester;test(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;ILnet/minecraft/item/ItemDisplayContext;)Z
      intermediary method_65638 Lnet/minecraft/class_10724;method_65638(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;ILnet/minecraft/class_811;)Z
      official get Lhpd;get(Ldcv;Lgrj;Lcam;ILdct;)Z