Package net.minecraft
Record Class class_9663
java.lang.Object
java.lang.Record
net.minecraft.class_9663
- Record Components:
c
-d
-e
-f
-g
-
- All Implemented Interfaces:
ComponentSubPredicate<WrittenBookContentComponent>
,ItemSubPredicate
public record class_9663(Optional<class_9648<RawFilteredPair<Text>,class_9663.class_9664>> c, Optional<String> d, Optional<String> e, NumberRange.IntRange f, Optional<Boolean> g)
extends Record
implements ComponentSubPredicate<WrittenBookContentComponent>
- Mappings:
Namespace Name named net/minecraft/class_9663
intermediary net/minecraft/class_9663
official cv
named c
intermediary comp_2642
official c
named d
intermediary comp_2643
official d
named e
intermediary comp_2644
official e
named f
intermediary comp_2645
official f
named g
intermediary comp_2646
official g
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.predicate.item.ItemSubPredicate
ItemSubPredicate.Type<T extends ItemSubPredicate>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional
<class_9648<RawFilteredPair<Text>, class_9663.class_9664>> The field for thec
record component.The field for thed
record component.The field for thee
record component.private final NumberRange.IntRange
The field for thef
record component.static final com.mojang.serialization.Codec
<class_9663> The field for theg
record component.Fields inherited from interface net.minecraft.predicate.item.ItemSubPredicate
PREDICATES_MAP_CODEC
-
Constructor Summary
ConstructorsConstructorDescriptionclass_9663
(Optional<class_9648<RawFilteredPair<Text>, class_9663.class_9664>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> optional4) -
Method Summary
Modifier and TypeMethodDescriptionc()
Returns the value of thec
record component.d()
Returns the value of thed
record component.e()
Returns the value of thee
record component.final boolean
Indicates whether some other object is "equal to" this one.f()
Returns the value of thef
record component.g()
Returns the value of theg
record component.final int
hashCode()
Returns a hash code value for this object.boolean
test
(ItemStack itemStack, WrittenBookContentComponent writtenBookContentComponent) final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.predicate.item.ComponentSubPredicate
test
-
Field Details
-
c
The field for thec
record component. -
d
The field for thed
record component. -
e
The field for thee
record component. -
f
The field for thef
record component. -
g
The field for theg
record component. -
field_51400
- Mappings:
Namespace Name Mixin selector named field_51400
Lnet/minecraft/class_9663;field_51400:Lcom/mojang/serialization/Codec;
intermediary field_51400
Lnet/minecraft/class_9663;field_51400:Lcom/mojang/serialization/Codec;
official a
Lcv;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_9663
public class_9663(Optional<class_9648<RawFilteredPair<Text>, class_9663.class_9664>> optional, Optional<String> optional2, Optional<String> optional3, NumberRange.IntRange intRange, Optional<Boolean> optional4)
-
-
Method Details
-
getComponentType
- Specified by:
getComponentType
in interfaceComponentSubPredicate<WrittenBookContentComponent>
- Mappings:
Namespace Name Mixin selector named getComponentType
Lnet/minecraft/predicate/item/ComponentSubPredicate;getComponentType()Lnet/minecraft/component/DataComponentType;
intermediary method_58163
Lnet/minecraft/class_9365;method_58163()Lnet/minecraft/class_9331;
official a
Lds;a()Lkl;
-
test
- Specified by:
test
in interfaceComponentSubPredicate<WrittenBookContentComponent>
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/class_9663;test(Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/WrittenBookContentComponent;)Z
intermediary method_59697
Lnet/minecraft/class_9663;method_59697(Lnet/minecraft/class_1799;Lnet/minecraft/class_9302;)Z
official a
Lcv;a(Lcuk;Lcxt;)Z
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
c
Returns the value of thec
record component.- Returns:
- the value of the
c
record component
-
d
Returns the value of thed
record component.- Returns:
- the value of the
d
record component
-
e
Returns the value of thee
record component.- Returns:
- the value of the
e
record component
-
f
Returns the value of thef
record component.- Returns:
- the value of the
f
record component
-
g
Returns the value of theg
record component.- Returns:
- the value of the
g
record component
-