2020-11-07 01:14:33 -05:00
|
|
|
CLASS net/minecraft/class_5575 net/minecraft/util/TypeFilter
|
2020-11-06 03:43:11 -05:00
|
|
|
COMMENT A filter determines if an object of some supertype {@code B} can be treated as an object
|
|
|
|
COMMENT of some subtype {@code T}.
|
|
|
|
METHOD method_31794 getBaseClass ()Ljava/lang/Class;
|
2020-11-07 15:28:32 -05:00
|
|
|
METHOD method_31795 instanceOf (Ljava/lang/Class;)Lnet/minecraft/class_5575;
|
2020-11-06 03:43:11 -05:00
|
|
|
COMMENT Creates a filter whose filtering condition is whether the object is an instance of the given class.
|
|
|
|
ARG 0 cls
|
|
|
|
METHOD method_31796 downcast (Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
COMMENT If the argument can be converted to the type {@code T}, return the argument, otherwise {@code null}.
|
|
|
|
ARG 1 obj
|