Package net.minecraft.component.type
Class ProfileComponent.Dynamic
java.lang.Object
net.minecraft.component.type.ProfileComponent
net.minecraft.component.type.ProfileComponent.Dynamic
- All Implemented Interfaces:
TooltipAppender
- Enclosing class:
ProfileComponent
- Mappings:
Namespace Name named net/minecraft/component/type/ProfileComponent$Dynamicintermediary net/minecraft/class_9296$class_11756official dkq$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.component.type.ProfileComponent
ProfileComponent.Data, ProfileComponent.Dynamic, ProfileComponent.Static -
Field Summary
FieldsFields inherited from class net.minecraft.component.type.ProfileComponent
CODEC, override, PACKET_CODEC, profile -
Constructor Summary
ConstructorsConstructorDescriptionDynamic(com.mojang.datafixers.util.Either<String, UUID> nameOrId, 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
-
TEXT
- Mappings:
Namespace Name Mixin selector named TEXTLnet/minecraft/component/type/ProfileComponent$Dynamic;TEXT:Lnet/minecraft/text/Text;intermediary field_62072Lnet/minecraft/class_9296$class_11756;field_62072:Lnet/minecraft/class_2561;official eLdkq$a;e:Lxx;
-
nameOrId
- Mappings:
Namespace Name Mixin selector named nameOrIdLnet/minecraft/component/type/ProfileComponent$Dynamic;nameOrId:Lcom/mojang/datafixers/util/Either;intermediary field_62073Lnet/minecraft/class_9296$class_11756;field_62073:Lcom/mojang/datafixers/util/Either;official fLdkq$a;f:Lcom/mojang/datafixers/util/Either;
-
-
Constructor Details
-
Dynamic
Dynamic(com.mojang.datafixers.util.Either<String, UUID> nameOrId, SkinTextures.SkinOverride override) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/component/type/ProfileComponent$Dynamic;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/entity/player/SkinTextures$SkinOverride;)Vintermediary <init>Lnet/minecraft/class_9296$class_11756;<init>(Lcom/mojang/datafixers/util/Either;Lnet/minecraft/class_8685$class_11892;)Vofficial <init>Ldkq$a;<init>(Lcom/mojang/datafixers/util/Either;Lczp$a;)V
-
-
Method Details
-
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$Dynamic;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_9296$class_11756;equals(Ljava/lang/Object;)Zofficial equalsLdkq$a;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode() -
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;
-
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;
-
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
-