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 dkq$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
CODEC, override, PACKET_CODEC, profile -
Constructor Summary
ConstructorsConstructorDescriptionStatic(com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile, ProfileComponent.Data> profileOrData, SkinTextures.SkinOverride override) -
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, getOverride, ofDynamic, ofDynamic, ofStatic
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/component/type/ProfileComponent$Static;EMPTY:Lnet/minecraft/component/type/ProfileComponent$Static;intermediary field_63034Lnet/minecraft/class_9296$class_11758;field_63034:Lnet/minecraft/class_9296$class_11758;official eLdkq$c;e:Ldkq$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 fLdkq$c;f:Lcom/mojang/datafixers/util/Either;
-
-
Constructor Details
-
Static
Static(com.mojang.datafixers.util.Either<com.mojang.authlib.GameProfile, ProfileComponent.Data> profileOrData, SkinTextures.SkinOverride override) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/ProfileComponent$Static;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/entity/player/SkinTextures$SkinOverride;)Vintermediary <init>Lnet/minecraft/class_9296$class_11758;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/class_8685$class_11892;)Vofficial <init>Ldkq$c;<init>(Lcom/mojang/datafixers/util/Either;Lczp$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 aLdkq;a(Lbbe;)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 aLdkq;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 dLdkq;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 equalsLdkq$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 aLdkv;a(Ldhl$b;Ljava/util/function/Consumer;Ldje;Lkk;)V
-