Package net.minecraft.predicate.entity
Class EntityPredicates
java.lang.Object
net.minecraft.predicate.entity.EntityPredicates
- Mappings:
Namespace Name named net/minecraft/predicate/entity/EntityPredicates
intermediary net/minecraft/class_1301
official btb
-
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 named VALID_ENTITY
Lnet/minecraft/predicate/entity/EntityPredicates;VALID_ENTITY:Ljava/util/function/Predicate;
intermediary field_6154
Lnet/minecraft/class_1301;field_6154:Ljava/util/function/Predicate;
official a
Lbtb;a: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 named VALID_LIVING_ENTITY
Lnet/minecraft/predicate/entity/EntityPredicates;VALID_LIVING_ENTITY:Ljava/util/function/Predicate;
intermediary field_6157
Lnet/minecraft/class_1301;field_6157:Ljava/util/function/Predicate;
official b
Lbtb;b: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 named NOT_MOUNTED
Lnet/minecraft/predicate/entity/EntityPredicates;NOT_MOUNTED:Ljava/util/function/Predicate;
intermediary field_6153
Lnet/minecraft/class_1301;field_6153:Ljava/util/function/Predicate;
official c
Lbtb;c: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 named VALID_INVENTORIES
Lnet/minecraft/predicate/entity/EntityPredicates;VALID_INVENTORIES:Ljava/util/function/Predicate;
intermediary field_6152
Lnet/minecraft/class_1301;field_6152:Ljava/util/function/Predicate;
official d
Lbtb;d:Ljava/util/function/Predicate;
-
EXCEPT_CREATIVE_OR_SPECTATOR
- Mappings:
Namespace Name Mixin selector named EXCEPT_CREATIVE_OR_SPECTATOR
Lnet/minecraft/predicate/entity/EntityPredicates;EXCEPT_CREATIVE_OR_SPECTATOR:Ljava/util/function/Predicate;
intermediary field_6156
Lnet/minecraft/class_1301;field_6156:Ljava/util/function/Predicate;
official e
Lbtb;e:Ljava/util/function/Predicate;
-
EXCEPT_SPECTATOR
- Mappings:
Namespace Name Mixin selector named EXCEPT_SPECTATOR
Lnet/minecraft/predicate/entity/EntityPredicates;EXCEPT_SPECTATOR:Ljava/util/function/Predicate;
intermediary field_6155
Lnet/minecraft/class_1301;field_6155:Ljava/util/function/Predicate;
official f
Lbtb;f:Ljava/util/function/Predicate;
-
CAN_COLLIDE
- Mappings:
Namespace Name Mixin selector named CAN_COLLIDE
Lnet/minecraft/predicate/entity/EntityPredicates;CAN_COLLIDE:Ljava/util/function/Predicate;
intermediary field_35589
Lnet/minecraft/class_1301;field_35589:Ljava/util/function/Predicate;
official g
Lbtb;g:Ljava/util/function/Predicate;
-
-
Constructor Details
-
EntityPredicates
private EntityPredicates()
-
-
Method Details
-
maxDistance
- Mappings:
Namespace Name Mixin selector named maxDistance
Lnet/minecraft/predicate/entity/EntityPredicates;maxDistance(DDDD)Ljava/util/function/Predicate;
intermediary method_5909
Lnet/minecraft/class_1301;method_5909(DDDD)Ljava/util/function/Predicate;
official a
Lbtb;a(DDDD)Ljava/util/function/Predicate;
-
canBePushedBy
- Mappings:
Namespace Name Mixin selector named canBePushedBy
Lnet/minecraft/predicate/entity/EntityPredicates;canBePushedBy(Lnet/minecraft/entity/Entity;)Ljava/util/function/Predicate;
intermediary method_5911
Lnet/minecraft/class_1301;method_5911(Lnet/minecraft/class_1297;)Ljava/util/function/Predicate;
official a
Lbtb;a(Lbsw;)Ljava/util/function/Predicate;
-
rides
- Mappings:
Namespace Name Mixin selector named rides
Lnet/minecraft/predicate/entity/EntityPredicates;rides(Lnet/minecraft/entity/Entity;)Ljava/util/function/Predicate;
intermediary method_5913
Lnet/minecraft/class_1301;method_5913(Lnet/minecraft/class_1297;)Ljava/util/function/Predicate;
official b
Lbtb;b(Lbsw;)Ljava/util/function/Predicate;
-