Package net.minecraft.entity.predicate
Class EntityPredicates
java.lang.Object
net.minecraft.entity.predicate.EntityPredicates
- Mappings:
Namespace Name official rvintermediary net/minecraft/class_1394named net/minecraft/entity/predicate/EntityPredicates
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionTests if an entity is not mounted.Tests if an entity is valid.Tests if an entity has a valid inventory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethod_13024(double double2, double double3, double double4, double double5) method_13025(Entity entity)
-
Field Details
-
VALID_ENTITY
Tests if an entity is valid.An entity is valid when the entity is alive.
- See Also:
- Mappings:
Namespace Name Mixin selector official aLrv;a:Lcom/google/common/base/Predicate;intermediary field_11909Lnet/minecraft/class_1394;field_11909:Lcom/google/common/base/Predicate;named VALID_ENTITYLnet/minecraft/entity/predicate/EntityPredicates;VALID_ENTITY:Lcom/google/common/base/Predicate;
-
NOT_MOUNTED
Tests if an entity is not mounted.An entity is not mounted when:
- The entity is alive
- The entity has no passengers
- The entity is not in a vehicle
- Mappings:
Namespace Name Mixin selector official bLrv;b:Lcom/google/common/base/Predicate;intermediary field_11910Lnet/minecraft/class_1394;field_11910:Lcom/google/common/base/Predicate;named NOT_MOUNTEDLnet/minecraft/entity/predicate/EntityPredicates;NOT_MOUNTED:Lcom/google/common/base/Predicate;
-
VALID_INVENTORY
Tests if an entity has a valid inventory.An entity has a valid inventory when:
- The entity is alive
- The entity implements
Inventory
- See Also:
- Mappings:
Namespace Name Mixin selector official cLrv;c:Lcom/google/common/base/Predicate;intermediary field_11911Lnet/minecraft/class_1394;field_11911:Lcom/google/common/base/Predicate;named VALID_INVENTORYLnet/minecraft/entity/predicate/EntityPredicates;VALID_INVENTORY:Lcom/google/common/base/Predicate;
-
EXCEPT_CREATIVE_OR_SPECTATOR
- Mappings:
Namespace Name Mixin selector official dLrv;d:Lcom/google/common/base/Predicate;intermediary field_14515Lnet/minecraft/class_1394;field_14515:Lcom/google/common/base/Predicate;named EXCEPT_CREATIVE_OR_SPECTATORLnet/minecraft/entity/predicate/EntityPredicates;EXCEPT_CREATIVE_OR_SPECTATOR:Lcom/google/common/base/Predicate;
-
EXCEPT_SPECTATOR
- Mappings:
Namespace Name Mixin selector official eLrv;e:Lcom/google/common/base/Predicate;intermediary field_11912Lnet/minecraft/class_1394;field_11912:Lcom/google/common/base/Predicate;named EXCEPT_SPECTATORLnet/minecraft/entity/predicate/EntityPredicates;EXCEPT_SPECTATOR:Lcom/google/common/base/Predicate;
-
field_14516
- Mappings:
Namespace Name Mixin selector official fLrv;f:Lcom/google/common/base/Predicate;intermediary field_14516Lnet/minecraft/class_1394;field_14516:Lcom/google/common/base/Predicate;named field_14516Lnet/minecraft/entity/predicate/EntityPredicates;field_14516:Lcom/google/common/base/Predicate;
-
-
Constructor Details
-
EntityPredicates
public EntityPredicates()
-
-
Method Details
-
method_13024
public static <T extends Entity> Predicate<T> method_13024(double double2, double double3, double double4, double double5) - Mappings:
Namespace Name Mixin selector official aLrv;a(DDDD)Lcom/google/common/base/Predicate;intermediary method_13024Lnet/minecraft/class_1394;method_13024(DDDD)Lcom/google/common/base/Predicate;named method_13024Lnet/minecraft/entity/predicate/EntityPredicates;method_13024(DDDD)Lcom/google/common/base/Predicate;
-
method_13025
- Mappings:
Namespace Name Mixin selector official aLrv;a(Lrr;)Lcom/google/common/base/Predicate;intermediary method_13025Lnet/minecraft/class_1394;method_13025(Lnet/minecraft/class_864;)Lcom/google/common/base/Predicate;named method_13025Lnet/minecraft/entity/predicate/EntityPredicates;method_13025(Lnet/minecraft/entity/Entity;)Lcom/google/common/base/Predicate;
-