Package net.minecraft.predicate.entity
Class EntityPredicates
java.lang.Object
net.minecraft.predicate.entity.EntityPredicates
- Mappings:
Namespace Name official awp
intermediary net/minecraft/class_1301
named net/minecraft/predicate/entity/EntityPredicates
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionTests if an entity is not mounted.Tests if an entity is valid.Tests if an entity has a valid inventory.Tests if a living entity is valid. -
Constructor Summary
-
Method Summary
-
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 a
Lawp;a:Ljava/util/function/Predicate;
intermediary field_6154
Lnet/minecraft/class_1301;field_6154:Ljava/util/function/Predicate;
named VALID_ENTITY
Lnet/minecraft/predicate/entity/EntityPredicates;VALID_ENTITY:Ljava/util/function/Predicate;
-
VALID_LIVING_ENTITY
Tests if a living entity is valid.A living entity is valid when the entity is alive.
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lawp;b:Ljava/util/function/Predicate;
intermediary field_6157
Lnet/minecraft/class_1301;field_6157:Ljava/util/function/Predicate;
named VALID_LIVING_ENTITY
Lnet/minecraft/predicate/entity/EntityPredicates;VALID_LIVING_ENTITY:Ljava/util/function/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 c
Lawp;c:Ljava/util/function/Predicate;
intermediary field_6153
Lnet/minecraft/class_1301;field_6153:Ljava/util/function/Predicate;
named NOT_MOUNTED
Lnet/minecraft/predicate/entity/EntityPredicates;NOT_MOUNTED:Ljava/util/function/Predicate;
-
VALID_INVENTORIES
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 d
Lawp;d:Ljava/util/function/Predicate;
intermediary field_6152
Lnet/minecraft/class_1301;field_6152:Ljava/util/function/Predicate;
named VALID_INVENTORIES
Lnet/minecraft/predicate/entity/EntityPredicates;VALID_INVENTORIES:Ljava/util/function/Predicate;
-
EXCEPT_CREATIVE_OR_SPECTATOR
- Mappings:
Namespace Name Mixin selector official e
Lawp;e:Ljava/util/function/Predicate;
intermediary field_6156
Lnet/minecraft/class_1301;field_6156:Ljava/util/function/Predicate;
named EXCEPT_CREATIVE_OR_SPECTATOR
Lnet/minecraft/predicate/entity/EntityPredicates;EXCEPT_CREATIVE_OR_SPECTATOR:Ljava/util/function/Predicate;
-
EXCEPT_SPECTATOR
- Mappings:
Namespace Name Mixin selector official f
Lawp;f:Ljava/util/function/Predicate;
intermediary field_6155
Lnet/minecraft/class_1301;field_6155:Ljava/util/function/Predicate;
named EXCEPT_SPECTATOR
Lnet/minecraft/predicate/entity/EntityPredicates;EXCEPT_SPECTATOR:Ljava/util/function/Predicate;
-
CAN_COLLIDE
- Mappings:
Namespace Name Mixin selector official g
Lawp;g:Ljava/util/function/Predicate;
intermediary field_35589
Lnet/minecraft/class_1301;field_35589:Ljava/util/function/Predicate;
named CAN_COLLIDE
Lnet/minecraft/predicate/entity/EntityPredicates;CAN_COLLIDE:Ljava/util/function/Predicate;
-
-
Constructor Details
-
EntityPredicates
private EntityPredicates()
-
-
Method Details
-
maxDistance
- Mappings:
Namespace Name Mixin selector official a
Lawp;a(DDDD)Ljava/util/function/Predicate;
intermediary method_5909
Lnet/minecraft/class_1301;method_5909(DDDD)Ljava/util/function/Predicate;
named maxDistance
Lnet/minecraft/predicate/entity/EntityPredicates;maxDistance(DDDD)Ljava/util/function/Predicate;
-
canBePushedBy
- Mappings:
Namespace Name Mixin selector official a
Lawp;a(Lawm;)Ljava/util/function/Predicate;
intermediary method_5911
Lnet/minecraft/class_1301;method_5911(Lnet/minecraft/class_1297;)Ljava/util/function/Predicate;
named canBePushedBy
Lnet/minecraft/predicate/entity/EntityPredicates;canBePushedBy(Lnet/minecraft/entity/Entity;)Ljava/util/function/Predicate;
-
rides
- Mappings:
Namespace Name Mixin selector official b
Lawp;b(Lawm;)Ljava/util/function/Predicate;
intermediary method_5913
Lnet/minecraft/class_1301;method_5913(Lnet/minecraft/class_1297;)Ljava/util/function/Predicate;
named rides
Lnet/minecraft/predicate/entity/EntityPredicates;rides(Lnet/minecraft/entity/Entity;)Ljava/util/function/Predicate;
-