Package net.minecraft.component.type
Class ProfileComponent.Static
java.lang.Object
net.minecraft.component.type.ProfileComponent
net.minecraft.component.type.ProfileComponent.Static
- All Implemented Interfaces:
TooltipAppender
- Enclosing class:
ProfileComponent
- Mappings:
Namespace Name named net/minecraft/component/type/ProfileComponent$Staticintermediary net/minecraft/class_9296$class_11758official dkr$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.component.type.ProfileComponent
ProfileComponent.Data, ProfileComponent.Dynamic, ProfileComponent.Static -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProfileComponent.Staticprivate final com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile, ProfileComponent.Data> Fields inherited from class net.minecraft.component.type.ProfileComponent
field_49359, field_63030, PACKET_CODEC, profile -
Constructor Summary
ConstructorsConstructorDescriptionStatic(com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile, ProfileComponent.Data> profileOrData, SkinTextures.MannequinInfo mannequinInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, ComponentsAccess components) booleanprotected com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile, ProfileComponent.Data> get()getName()inthashCode()CompletableFuture<com.mojang.authlib.GameProfile> resolve(GameProfileResolver resolver) Methods inherited from class net.minecraft.component.type.ProfileComponent
createGameProfile, getGameProfile, method_74889, method_74890, ofDynamic, ofStatic
-
Field Details
-
field_63034
- Mappings:
Namespace Name Mixin selector named field_63034Lnet/minecraft/component/type/ProfileComponent$Static;field_63034:Lnet/minecraft/component/type/ProfileComponent$Static;intermediary field_63034Lnet/minecraft/class_9296$class_11758;field_63034:Lnet/minecraft/class_9296$class_11758;official eLdkr$c;e:Ldkr$c;
-
profileOrData
private final com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile,ProfileComponent.Data> profileOrData- Mappings:
Namespace Name Mixin selector named profileOrDataLnet/minecraft/component/type/ProfileComponent$Static;profileOrData:Lcom/mojang/datafixers/util/Either;intermediary field_62077Lnet/minecraft/class_9296$class_11758;field_62077:Lcom/mojang/datafixers/util/Either;official fLdkr$c;f:Lcom/mojang/datafixers/util/Either;
-
-
Constructor Details
-
Static
Static(com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile, ProfileComponent.Data> profileOrData, SkinTextures.MannequinInfo mannequinInfo) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/ProfileComponent$Static;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/client/util/SkinTextures$MannequinInfo;)Vintermediary <init>Lnet/minecraft/class_9296$class_11758;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/class_8685$class_11892;)Vofficial <init>Ldkr$c;<init>(Lcom/mojang/datafixers/util/Either;Lczq$a;)V
-
-
Method Details
-
resolve
- Specified by:
resolvein classProfileComponent- Mappings:
Namespace Name Mixin selector named resolveLnet/minecraft/component/type/ProfileComponent;resolve(Lnet/minecraft/server/GameProfileResolver;)Ljava/util/concurrent/CompletableFuture;intermediary method_73306Lnet/minecraft/class_9296;method_73306(Lnet/minecraft/class_11755;)Ljava/util/concurrent/CompletableFuture;official aLdkr;a(Lbbf;)Ljava/util/concurrent/CompletableFuture;
-
get
protected com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile,ProfileComponent.Data> get()- Specified by:
getin classProfileComponent- Mappings:
Namespace Name Mixin selector named getLnet/minecraft/component/type/ProfileComponent;get()Lcom/mojang/datafixers/util/Either;intermediary method_73305Lnet/minecraft/class_9296;method_73305()Lcom/mojang/datafixers/util/Either;official aLdkr;a()Lcom/mojang/datafixers/util/Either;
-
getName
- Specified by:
getNamein classProfileComponent- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/component/type/ProfileComponent;getName()Ljava/util/Optional;intermediary method_73317Lnet/minecraft/class_9296;method_73317()Ljava/util/Optional;official dLdkr;d()Ljava/util/Optional;
-
equals
- Overrides:
equalsin classObject- Mappings:
Namespace Name Mixin selector named equalsLnet/minecraft/component/type/ProfileComponent$Static;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_9296$class_11758;equals(Ljava/lang/Object;)Zofficial equalsLdkr$c;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode() -
appendTooltip
public void appendTooltip(Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type, ComponentsAccess components) - Mappings:
Namespace Name Mixin selector named appendTooltipLnet/minecraft/item/tooltip/TooltipAppender;appendTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/item/tooltip/TooltipType;Lnet/minecraft/component/ComponentsAccess;)Vintermediary method_57409Lnet/minecraft/class_9299;method_57409(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;Lnet/minecraft/class_9473;)Vofficial aLdkw;a(Ldhm$b;Ljava/util/function/Consumer;Ldjf;Lkk;)V
-