Skeleton conversion (#2064)

* Skeleton conversion

* Update mappings/net/minecraft/entity/projectile/ProjectileEntity.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
YanisBft 2021-02-13 22:41:21 +01:00 committed by GitHub
parent f2b7465268
commit ace28d437f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 0 deletions

View File

@ -627,6 +627,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
ARG 2 volume
ARG 3 pitch
METHOD method_5784 move (Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)V
ARG 1 movementType
ARG 2 movement
METHOD method_5785 scheduleVelocityUpdate ()V
METHOD method_5786 saveSelfToTag (Lnet/minecraft/class_2487;)Z

View File

@ -10,6 +10,7 @@ CLASS net/minecraft/class_4980 net/minecraft/entity/SaddledComponent
ARG 3 saddled
METHOD method_26307 boost ()V
METHOD method_26308 boost (Ljava/util/Random;)Z
ARG 1 random
METHOD method_26309 toTag (Lnet/minecraft/class_2487;)V
ARG 1 tag
METHOD method_26310 setSaddled (Z)V

View File

@ -96,6 +96,7 @@ CLASS net/minecraft/class_4095 net/minecraft/entity/ai/brain/Brain
ARG 3 requiredMemories
ARG 4 forgettingMemories
METHOD method_24531 resetPossibleActivities (Ljava/util/List;)V
ARG 1 activities
METHOD method_24535 setMemory (Lnet/minecraft/class_4140;Ljava/util/Optional;)V
ARG 1 type
ARG 2 memory

View File

@ -73,6 +73,15 @@ CLASS net/minecraft/class_1308 net/minecraft/entity/mob/MobEntity
METHOD method_26323 movesIndependently ()Z
COMMENT When true, causes this entity to take over pathfinding for its controlling passenger.
METHOD method_26828 createMobAttributes ()Lnet/minecraft/class_5132$class_5133;
METHOD method_29243 convertTo (Lnet/minecraft/class_1299;Z)Lnet/minecraft/class_1308;
COMMENT Converts this entity to the provided {@code entityType}.
COMMENT <p>The new entity will keep many of the properties set for this entity,
COMMENT including its vehicle, its name and whether it is persistent or not.
COMMENT <p>If {@code keepEquipment} is {@code true}, it will also keep its equipment.
ARG 1 entityType
COMMENT the entity type to convert to
ARG 2 keepEquipment
COMMENT whether the equipment of this entity should be kept
METHOD method_29506 interactWithItem (Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
ARG 1 player
ARG 2 hand

View File

@ -1 +1,9 @@
CLASS net/minecraft/class_1613 net/minecraft/entity/mob/SkeletonEntity
FIELD field_28642 CONVERTING Lnet/minecraft/class_2940;
FIELD field_28644 conversionTime I
METHOD method_33589 setConversionTime (I)V
ARG 1 time
METHOD method_33590 isConverting ()Z
COMMENT Returns whether this skeleton is currently converting to a stray.
METHOD method_33591 convertToStray ()V
COMMENT Converts this skeleton to a stray and plays a sound if it is not silent.

View File

@ -20,8 +20,12 @@ CLASS net/minecraft/class_4019 net/minecraft/entity/passive/FoxEntity
METHOD method_18257 canJumpChase (Lnet/minecraft/class_4019;Lnet/minecraft/class_1309;)Z
ARG 0 fox
ARG 1 chasedEntity
METHOD method_18265 (Lnet/minecraft/class_1542;)Z
ARG 0 item
METHOD method_18266 addTrustedUuid (Ljava/util/UUID;)V
ARG 1 uuid
METHOD method_18267 (Lnet/minecraft/class_1297;)Z
ARG 0 entity
METHOD method_18269 setFoxFlag (IZ)V
ARG 1 mask
ARG 2 value
@ -138,6 +142,7 @@ CLASS net/minecraft/class_4019 net/minecraft/entity/passive/FoxEntity
METHOD <init> (Ljava/lang/String;IILjava/lang/String;[Lnet/minecraft/class_5321;)V
ARG 3 id
ARG 4 key
ARG 5 biomes
METHOD method_18310 getKey ()Ljava/lang/String;
METHOD method_18311 fromId (I)Lnet/minecraft/class_4019$class_4039;
ARG 0 id

View File

@ -16,6 +16,7 @@ CLASS net/minecraft/class_1472 net/minecraft/entity/passive/SheepEntity
METHOD method_6631 setColor (Lnet/minecraft/class_1767;)V
ARG 1 color
METHOD method_6632 generateDefaultColor (Ljava/util/Random;)Lnet/minecraft/class_1767;
ARG 0 random
METHOD method_6633 getColor ()Lnet/minecraft/class_1767;
METHOD method_6634 getRgbColor (Lnet/minecraft/class_1767;)[F
ARG 0 dyeColor

View File

@ -2,6 +2,7 @@ CLASS net/minecraft/class_1676 net/minecraft/entity/projectile/ProjectileEntity
FIELD field_22478 ownerUuid Ljava/util/UUID;
FIELD field_23739 ownerEntityId I
FIELD field_23740 leftOwner Z
FIELD field_28646 shot Z
METHOD method_24919 setProperties (Lnet/minecraft/class_1297;FFFFF)V
ARG 1 user
ARG 2 pitch