net.minecraft.entity.decoration

public class MannequinEntity

extends PlayerLikeEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint

net.minecraft.world.entity.decoration.Mannequin
net.minecraft.class_11891
net.minecraft.entity.decoration.MannequinEntity

Field summary

Modifier and TypeField
protected static final TrackedData<ProfileComponent>
DATA_PROFILE
field_62516
PROFILE
private static final TrackedData<Boolean>
DATA_IMMOVABLE
field_63024
IMMOVABLE
private static final TrackedData<Optional<Text>>
DATA_DESCRIPTION
field_63025
DESCRIPTION
private static final byte
ALL_LAYERS
field_62517
ALL_MODEL_PARTS
private static final Set<EntityPose>
VALID_POSES
field_63026
POSES
public static final com.mojang.serialization.Codec<EntityPose>
POSE_CODEC
field_63017
POSE_CODEC
private static final com.mojang.serialization.Codec<Byte>
LAYERS_CODEC
field_62518
MODEL_PARTS_CODEC
public static final ProfileComponent
DEFAULT_PROFILE
field_62519
DEFAULT_INFO
private static final Text
DEFAULT_DESCRIPTION
field_63027
DEFAULT_DESCRIPTION
protected static EntityType$EntityFactory<MannequinEntity>
constructor
field_62912
factory
private static final String
PROFILE_FIELD
field_62520
PROFILE_KEY
private static final String
HIDDEN_LAYERS_FIELD
field_62521
HIDDEN_LAYERS_KEY
private static final String
MAIN_HAND_FIELD
field_62522
MAIN_HAND_KEY
private static final String
POSE_FIELD
field_63018
POSE_KEY
private static final String
IMMOVABLE_FIELD
field_63019
IMMOVABLE_KEY
private static final String
DESCRIPTION_FIELD
field_63020
DESCRIPTION_KEY
private static final String
HIDE_DESCRIPTION_FIELD
field_63021
HIDE_DESCRIPTION_KEY
private Text
description
field_63022
description
private boolean
hideDescription
field_63023
hideDescription

Constructor summary

ModifierConstructor
public (EntityType<MannequinEntity> type, World level)
protected (World world)

Method summary

Modifier and TypeMethod
public static MannequinEntity
create(EntityType<Mannequin> type, Level level)
method_74669(class_1299<class_11891> arg0, class_1937 arg1)
create(EntityType<MannequinEntity> type, World world)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public ProfileComponent
getProfile()
method_74104()
getMannequinProfile()
private void
setProfile(ResolvableProfile profile)
method_74098(class_9296 arg0)
setMannequinProfile(ProfileComponent profile)
private boolean
getImmovable()
method_74881()
isImmovable()
private void
setImmovable(boolean immovable)
method_74876(boolean arg0)
setImmovable(boolean immovable)
protected Text
getDescription()
method_74880()
getDescription()
private void
setDescription(Component description)
method_74875(class_2561 arg0)
setDescription(Text description)
private void
setHideDescription(boolean hideDescription)
method_74877(boolean arg0)
setHideDescription(boolean hideDescription)
private void
updateDescription()
method_74882()
updateTrackedDescription()
protected boolean
isImmobile()
method_6062()
isImmobile()
public boolean
isEffectiveAi()
method_6034()
canActVoluntarily()
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public <T> T
get(DataComponentType<? extends T> type)
method_58694(class_9331<? extends T> arg0)
get(ComponentType<? extends T> arg0)
protected void
applyImplicitComponents(DataComponentGetter components)
method_66649(class_9473 arg0)
copyComponentsFrom(ComponentsAccess arg0)
protected <T> boolean
applyImplicitComponent(DataComponentType<T> type, T value)
method_66654(class_9331<T> arg0, T arg1)
setApplicableComponent(ComponentType<T> arg0, T arg1)
public void
aiStep()
method_6007()
tickMovement()
private static List
lambda$static$5(Byte arg0)
method_74102(Byte arg0)
method_74102(Byte bitFlag)
private static boolean
lambda$static$6(Byte arg0, PlayerModelPart arg1)
method_74100(Byte arg0, class_1664 arg1)
method_74100(Byte arg0, PlayerModelPart part)
private static Byte
lambda$static$3(List arg0)
method_74103(List arg0)
method_74103(List parts)
private static int
lambda$static$4(int arg0, int arg1)
method_74097(int arg0, int arg1)
method_74097(int flagL, int flagR)
private static com.mojang.serialization.DataResult
lambda$static$1(Pose arg0)
method_74878(class_4050 arg0)
method_74878(EntityPose pose)
private static String
lambda$static$2(Pose arg0)
method_74879(class_4050 arg0)
method_74879(EntityPose arg0)
private static int
lambda$static$0(int arg0, int arg1)
method_74101(int arg0, int arg1)
method_74101(int flagL, int flagR)