Skip to content

Commit

Permalink
some more
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnupbups committed Sep 4, 2024
1 parent 55f30d3 commit 021e034
Show file tree
Hide file tree
Showing 28 changed files with 111 additions and 10 deletions.
4 changes: 4 additions & 0 deletions mappings/net/minecraft/command/argument/PosArgument.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
CLASS net/minecraft/class_2267 net/minecraft/command/argument/PosArgument
METHOD method_64085 toAbsolutePos (Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;
ARG 1 source
METHOD method_64086 toAbsoluteRotation (Lnet/minecraft/class_2168;)Lnet/minecraft/class_241;
ARG 1 source
METHOD method_9704 toAbsoluteBlockPos (Lnet/minecraft/class_2168;)Lnet/minecraft/class_2338;
ARG 1 source
METHOD method_9705 isXRelative ()Z
Expand Down
11 changes: 11 additions & 0 deletions mappings/net/minecraft/entity/Entity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -2280,6 +2280,17 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
ARG 1 tickDelta
METHOD method_61416 isInSameTeam (Lnet/minecraft/class_1297;)Z
ARG 1 other
METHOD method_63613 updatePrevPosition ()V
METHOD method_63614 updatePrevAngles ()V
METHOD method_63615 setPrevPositionAndAngles (Lnet/minecraft/class_243;FF)V
ARG 1 pos
ARG 2 yaw
ARG 3 pitch
METHOD method_63617 setPrevAngles (FF)V
ARG 1 prevYaw
ARG 2 prevPitch
METHOD method_63618 setPrevPosition (Lnet/minecraft/class_243;)V
ARG 1 pos
METHOD method_7325 isSpectator ()Z
COMMENT {@return whether the entity is a spectator}
COMMENT
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/mob/HoglinEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ CLASS net/minecraft/class_4760 net/minecraft/entity/mob/HoglinEntity
ARG 1 cannotBeHunted
METHOD method_63661 (Lnet/minecraft/class_5136;)V
ARG 0 zoglin
METHOD method_63662 setTimeInOverworld (I)V
ARG 1 timeInOverworld
6 changes: 6 additions & 0 deletions mappings/net/minecraft/entity/mob/MobEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ CLASS net/minecraft/class_1308 net/minecraft/entity/mob/MobEntity
ARG 1 canPickUpLoot
METHOD method_5955 prefersNewEquipment (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Z
ARG 1 newStack
ARG 2 oldStack
ARG 3 slot
METHOD method_5957 canSpawn (Lnet/minecraft/class_4538;)Z
ARG 1 world
METHOD method_5958 mobTick ()V
Expand Down Expand Up @@ -284,6 +286,10 @@ CLASS net/minecraft/class_1308 net/minecraft/entity/mob/MobEntity
ARG 2 context
ARG 3 reason
ARG 4 finalizer
METHOD method_63632 getAttributeValueWithStack (Lnet/minecraft/class_1799;Lnet/minecraft/class_6880;Lnet/minecraft/class_1304;)D
ARG 1 stack
ARG 2 attribute
ARG 3 slot
METHOD method_63633 setLootTable (Ljava/util/Optional;)V
ARG 1 lootTable
METHOD method_63634 getHandDropChances ()[F
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/passive/PassiveEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ CLASS net/minecraft/class_1296 net/minecraft/entity/passive/PassiveEntity
METHOD method_5620 growUp (IZ)V
ARG 1 age
ARG 2 overGrow
METHOD method_63605 getForcedAge ()I
METHOD method_63606 getHappyTicksRemaining ()I
CLASS class_4697 PassiveData
FIELD field_20684 spawnCount I
FIELD field_20685 babyAllowed Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ CLASS net/minecraft/class_1668 net/minecraft/entity/projectile/ExplosiveProjecti
METHOD method_60499 setVelocityWithAcceleration (Lnet/minecraft/class_243;D)V
ARG 1 velocity
ARG 2 accelerationPower
METHOD method_63671 applyDrag ()V
METHOD method_63672 addParticles ()V
METHOD method_7466 getDrag ()F
METHOD method_7467 getParticleType ()Lnet/minecraft/class_2394;
METHOD method_7468 isBurning ()Z
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ CLASS net/minecraft/class_1665 net/minecraft/entity/projectile/PersistentProject
METHOD method_59957 knockback (Lnet/minecraft/class_1309;Lnet/minecraft/class_1282;)V
ARG 1 target
ARG 2 source
METHOD method_63669 applyDrag ()V
METHOD method_63670 applyCollision (Lnet/minecraft/class_3965;)V
ARG 1 blockHitResult
METHOD method_7433 setNoClip (Z)V
ARG 1 noClip
METHOD method_7434 getEntityCollision (Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Lnet/minecraft/class_3966;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CLASS net/minecraft/class_1682 net/minecraft/entity/projectile/thrown/ThrownEnti
ARG 4 y
ARG 6 z
ARG 8 world
METHOD method_63673 applyDrag ()V
12 changes: 10 additions & 2 deletions mappings/net/minecraft/entity/vehicle/BoatEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,19 @@ CLASS net/minecraft/class_1690 net/minecraft/entity/vehicle/BoatEntity
CLASS class_1692 Type
FIELD field_41599 CODEC Lnet/minecraft/class_3542$class_7292;
FIELD field_41675 BY_ID Ljava/util/function/IntFunction;
FIELD field_7726 name Ljava/lang/String;
FIELD field_54106 item Lnet/minecraft/class_1792;
FIELD field_54107 name Lnet/minecraft/class_2561;
FIELD field_7726 id Ljava/lang/String;
FIELD field_7731 baseBlock Lnet/minecraft/class_1792;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_1792;Lnet/minecraft/class_1792;Ljava/lang/String;Ljava/lang/String;)V
ARG 3 baseBlock
ARG 4 item
ARG 5 id
ARG 6 translationKey
METHOD method_63674 getItem ()Lnet/minecraft/class_1792;
METHOD method_7558 getType (I)Lnet/minecraft/class_1690$class_1692;
ARG 0 type
METHOD method_7559 getName ()Ljava/lang/String;
METHOD method_7559 getId ()Ljava/lang/String;
METHOD method_7560 getBaseBlock ()Lnet/minecraft/class_1792;
METHOD method_7561 getType (Ljava/lang/String;)Lnet/minecraft/class_1690$class_1692;
ARG 0 name
6 changes: 6 additions & 0 deletions mappings/net/minecraft/item/AnimalArmorItem.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CLASS net/minecraft/class_4059 net/minecraft/item/AnimalArmorItem
FIELD field_47824 type Lnet/minecraft/class_4059$class_9076;
METHOD <init> (Lnet/minecraft/class_1741;Lnet/minecraft/class_4059$class_9076;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 material
ARG 2 type
ARG 3 settings
CLASS class_9076 Type
FIELD field_49256 breakSound Lnet/minecraft/class_3414;
FIELD field_54108 allowedEntities Lnet/minecraft/class_6885;
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_3414;[Lnet/minecraft/class_1299;)V
ARG 3 breakSound
ARG 4 allowedEntities
2 changes: 2 additions & 0 deletions mappings/net/minecraft/item/ArmorItem.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
CLASS net/minecraft/class_1738 net/minecraft/item/ArmorItem
METHOD <init> (Lnet/minecraft/class_1741;Lnet/minecraft/class_8051;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 material
ARG 2 type
ARG 3 settings
5 changes: 0 additions & 5 deletions mappings/net/minecraft/item/ArmorMaterial.mapping

This file was deleted.

1 change: 1 addition & 0 deletions mappings/net/minecraft/item/CompassItem.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CLASS net/minecraft/class_1759 net/minecraft/item/CompassItem
FIELD field_54114 LODESTONE_COMPASS_NAME Lnet/minecraft/class_2561;
METHOD method_43123 createSpawnPos (Lnet/minecraft/class_1937;)Lnet/minecraft/class_4208;
ARG 0 world
3 changes: 3 additions & 0 deletions mappings/net/minecraft/item/FireworkRocketItem.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CLASS net/minecraft/class_1781 net/minecraft/item/FireworkRocketItem
FIELD field_30884 OFFSET_POS_MULTIPLIER D
FIELD field_41064 FLIGHT_VALUES [B
METHOD method_63679 position (Lnet/minecraft/class_2342;Lnet/minecraft/class_2350;)Lnet/minecraft/class_243;
ARG 0 pointer
ARG 1 facing
3 changes: 3 additions & 0 deletions mappings/net/minecraft/item/GoatHornItem.mapping
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CLASS net/minecraft/class_7430 net/minecraft/item/GoatHornItem
FIELD field_39123 instrumentTag Lnet/minecraft/class_6862;
METHOD <init> (Lnet/minecraft/class_6862;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 instrumentTag
ARG 2 settings
METHOD method_43558 getStackForInstrument (Lnet/minecraft/class_1792;Lnet/minecraft/class_6880;)Lnet/minecraft/class_1799;
ARG 0 item
ARG 1 instrument
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/item/OnAStickItem.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
CLASS net/minecraft/class_1758 net/minecraft/item/OnAStickItem
FIELD field_23253 target Lnet/minecraft/class_1299;
FIELD field_23743 damagePerUse I
METHOD <init> (Lnet/minecraft/class_1299;ILnet/minecraft/class_1792$class_1793;)V
ARG 1 target
ARG 2 damagePerUse
ARG 3 settings
6 changes: 6 additions & 0 deletions mappings/net/minecraft/item/SignItem.mapping
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
CLASS net/minecraft/class_1822 net/minecraft/item/SignItem
METHOD <init> (Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
ARG 1 settings
ARG 2 standingBlock
ARG 3 wallBlock
ARG 4 verticalAttachmentDirection
METHOD <init> (Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 standingBlock
ARG 2 wallBlock
ARG 3 settings
8 changes: 8 additions & 0 deletions mappings/net/minecraft/item/SmithingTemplateItem.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ CLASS net/minecraft/class_8052 net/minecraft/item/SmithingTemplateItem
FIELD field_41993 EMPTY_SLOT_AXE_TEXTURE Lnet/minecraft/class_2960;
FIELD field_42472 EMPTY_SLOT_AMETHYST_SHARD_TEXTURE Lnet/minecraft/class_2960;
FIELD field_52584 SMITHING_TEMPLATE_TEXT Lnet/minecraft/class_2561;
METHOD <init> (Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/util/List;Ljava/util/List;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 appliesToText
ARG 2 ingredientsText
ARG 3 baseSlotDescriptionText
ARG 4 additionsSlotDescriptionText
ARG 5 emptyBaseSlotTextures
ARG 6 emptyAdditionsSlotTextures
ARG 7 settings
METHOD method_48413 getEmptyAdditionsSlotTextures ()Ljava/util/List;
METHOD method_48414 getArmorTrimEmptyBaseSlotTextures ()Ljava/util/List;
METHOD method_48415 getArmorTrimEmptyAdditionsSlotTextures ()Ljava/util/List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ CLASS net/minecraft/class_1827 net/minecraft/item/VerticallyAttachableBlockItem
METHOD <init> (Lnet/minecraft/class_2248;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;Lnet/minecraft/class_1792$class_1793;)V
ARG 1 standingBlock
ARG 2 wallBlock
ARG 3 verticalAttachmentDirection
COMMENT the direction of the item's vertical attachment, {@link Direction#UP} for hanging blocks
COMMENT and {@link Direction#DOWN} for standing blocks
ARG 4 settings
METHOD method_45431 canPlaceAt (Lnet/minecraft/class_4538;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 state
Expand Down
13 changes: 13 additions & 0 deletions mappings/net/minecraft/item/equipment/ArmorMaterial.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CLASS net/minecraft/class_1741 net/minecraft/item/equipment/ArmorMaterial
COMMENT Defines the material stats of an {@link ArmorItem} item.
COMMENT
COMMENT <p>
COMMENT To view available vanilla armor materials, visit {@link ArmorMaterials}.
METHOD method_63991 applySettings (Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_8051;)Lnet/minecraft/class_1792$class_1793;
ARG 1 settings
ARG 2 equipmentType
METHOD method_63992 applyBodyArmorSettings (Lnet/minecraft/class_1792$class_1793;Lnet/minecraft/class_6885;)Lnet/minecraft/class_1792$class_1793;
ARG 1 settings
ARG 2 allowedEntities
METHOD method_63993 createAttributeModifiers (Lnet/minecraft/class_8051;)Lnet/minecraft/class_9285;
ARG 1 equipmentType
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_1740 net/minecraft/item/ArmorMaterials
CLASS net/minecraft/class_1740 net/minecraft/item/equipment/ArmorMaterials
FIELD field_21977 NETHERITE Lnet/minecraft/class_1741;
FIELD field_48846 ARMADILLO_SCUTE Lnet/minecraft/class_1741;
FIELD field_7887 CHAIN Lnet/minecraft/class_1741;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASS net/minecraft/class_8051 net/minecraft/item/Type
CLASS net/minecraft/class_8051 net/minecraft/item/equipment/EquipmentType
FIELD field_41938 equipmentSlot Lnet/minecraft/class_1304;
FIELD field_41939 name Ljava/lang/String;
FIELD field_48839 CODEC Lcom/mojang/serialization/Codec;
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/potion/Potion.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ CLASS net/minecraft/class_1842 net/minecraft/potion/Potion
ARG 2 effects
METHOD method_58671 requires ([Lnet/minecraft/class_7696;)Lnet/minecraft/class_1842;
ARG 1 requiredFeatures
METHOD method_63990 getBaseName ()Ljava/lang/String;
METHOD method_8049 getEffects ()Ljava/util/List;
METHOD method_8050 hasInstantEffect ()Z
5 changes: 5 additions & 0 deletions mappings/net/minecraft/predicate/ComponentPredicate.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ CLASS net/minecraft/class_9329 net/minecraft/predicate/ComponentPredicate
METHOD method_57869 (Lnet/minecraft/class_9329;)Ljava/util/Map;
ARG 0 predicate
METHOD method_57870 toChanges ()Lnet/minecraft/class_9326;
METHOD method_64096 ofFiltered (Lnet/minecraft/class_9323;[Lnet/minecraft/class_9331;)Lnet/minecraft/class_9329;
ARG 0 components
ARG 1 types
METHOD test (Ljava/lang/Object;)Z
ARG 1 components
CLASS class_9330 Builder
Expand All @@ -26,3 +29,5 @@ CLASS net/minecraft/class_9329 net/minecraft/predicate/ComponentPredicate
METHOD method_57872 add (Lnet/minecraft/class_9331;Ljava/lang/Object;)Lnet/minecraft/class_9329$class_9330;
ARG 1 type
ARG 2 value
METHOD method_64097 add (Lnet/minecraft/class_9336;)Lnet/minecraft/class_9329$class_9330;
ARG 1 component
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
FIELD field_50088 startRaidPos Lnet/minecraft/class_2338;
FIELD field_51875 movement Lnet/minecraft/class_243;
FIELD field_52358 particlesMode Lnet/minecraft/class_4066;
FIELD field_54048 playerInput Lnet/minecraft/class_10185;
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_8791;)V
ARG 1 server
ARG 2 world
Expand Down Expand Up @@ -287,6 +288,10 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
ARG 1 stack
ARG 2 throwRandomly
ARG 3 retainOwnership
METHOD method_63561 setPlayerInput (Lnet/minecraft/class_10185;)V
ARG 1 playerInput
METHOD method_63562 getPlayerInput ()Lnet/minecraft/class_10185;
METHOD method_63563 getInputVelocityForMinecart ()Lnet/minecraft/class_243;
METHOD method_7336 changeGameMode (Lnet/minecraft/class_1934;)Z
ARG 1 gameMode
CLASS 1
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/test/TestContext.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -442,3 +442,7 @@ CLASS net/minecraft/class_4516 net/minecraft/test/TestContext
ARG 1 box
METHOD method_62773 getRelative (Lnet/minecraft/class_238;)Lnet/minecraft/class_238;
ARG 1 box
METHOD method_64113 expectEntity (Lnet/minecraft/class_2338;Lnet/minecraft/class_1299;Ljava/util/function/Predicate;)V
ARG 1 pos
ARG 2 type
ARG 3 predicate
2 changes: 2 additions & 0 deletions mappings/net/minecraft/util/shape/VoxelShape.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ CLASS net/minecraft/class_265 net/minecraft/util/shape/VoxelShape
METHOD method_61896 isSquare (Lnet/minecraft/class_2350$class_2351;)Z
ARG 1 axis
METHOD method_61897 isCube ()Z
METHOD method_64034 offset (Lnet/minecraft/class_243;)Lnet/minecraft/class_265;
ARG 1 vec3d
2 changes: 1 addition & 1 deletion mappings/net/minecraft/world/CollisionView.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ CLASS net/minecraft/class_1941 net/minecraft/world/CollisionView
ARG 1 entity
ARG 2 box
ARG 3 checkFluid
METHOD method_61717 getWorldBorderCollisions (Lnet/minecraft/class_3959;)Lnet/minecraft/class_3965;
METHOD method_61717 getCollisionsIncludingWorldBorder (Lnet/minecraft/class_3959;)Lnet/minecraft/class_3965;
ARG 1 context
METHOD method_61719 getBlockOrFluidCollisions (Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/lang/Iterable;
ARG 1 entity
Expand Down

0 comments on commit 021e034

Please sign in to comment.