Commit Graph

50 Commits

Author SHA1 Message Date
modmuss50 23444cc46d 24w13a 2024-03-27 16:44:45 +00:00
apple502j 1fc3291ea5
24w11a stuff (#3818)
* 24w11a stuff

* Fix javadoc, ArmorMaterial name

* Merge Shnupbups' PR

* Update mappings/net/minecraft/data/Main.mapping

Co-authored-by: Shnupbups <shnupbups@gmail.com>

---------

Co-authored-by: Shnupbups <shnupbups@gmail.com>
2024-03-17 01:19:53 +11:00
Shnupbups e5366275b2
24w11a stuff (#3817) 2024-03-16 20:52:47 +09:00
apple502j 46d17a733a
24w03a/b more stuff (#3767)
* 24w03a/b more stuff

* Javadocs, bug fixes, etc

* More stuff
2024-01-20 14:06:56 +11:00
apple502j 302d5a04fa
23w51b yet more stuff (#3756)
* 23w51b yet more stuff

* Delete mappings/net/minecraft/entity/ai/brain/task/BreezeUtil.mapping
2023-12-26 01:37:27 +11:00
Shnupbups 1bbec7296b
23w51 stuff (#3754)
not entirely finished, but it's getting late...
2023-12-19 18:41:40 +09:00
modmuss50 8c992c5e9a 23w51a 2023-12-18 15:11:52 +00:00
Shnupbups c79ff3fbdc
23w32a stuff (#3626)
* 23w32a stuff

* 23w32a stuff

* re-fix build whoops

* whoops

That's what you get for trying to do this stuff on a phone
2023-08-10 12:09:04 +09:00
modmuss50 dac0dd71e1 23w32a 2023-08-09 16:28:38 +01:00
apple502j 511bb87f9f
23w31a block, item, entity stuff (#3622)
* 23w31a block, item, entity

* Fix #3607
2023-08-06 02:33:09 +10:00
Shnupbups 6a0a492578
23w31a stuff (#3610)
* 23w31a stuff

i'm starting to get a headache so i'll stop now
lots of stuff left though

* Apply suggestions from code review

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>

---------

Co-authored-by: YanisBft <yanis.briffaut@gmail.com>
2023-08-03 13:44:06 +09:00
modmuss50 c073210031 23w31a 2023-08-02 18:18:08 +01:00
Shnupbups 19e4d58a9e
Entity stuff (#3382)
Just a few misc things in the entity package
2022-11-04 09:32:56 +09:00
apple502j 657bc4749b
22w43a stuff (#3369)
* 22w43a stuff

* Fix javadoc

* Map more stuff

* More field mappings

* Update mappings/net/minecraft/world/World.mapping

* Apply suggestions from code review
2022-11-01 22:11:24 +11:00
Player 13c4ad0853 22w14a 2022-04-06 21:01:01 +02:00
Player f5611fdd0f Port from 1.19-exp1 2022-03-24 23:48:18 +01:00
modmuss50 18cd8cc489 22w12a 2022-03-24 19:10:04 +00:00
haykam821 2920a46c96
Rename the StatusEffectType class to StatusEffectCategory (#2648) 2021-08-25 16:26:03 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
liach 4f26ca97bd Status effect stufff (#1068)
* Minor status effect stuff

Signed-off-by: liach <liach@users.noreply.github.com>

* hiddenEffect

Signed-off-by: liach <liach@users.noreply.github.com>

* Err

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-24 10:10:35 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
Pyrofab 7b6268654f Remaining StatusEffect methods (#1043)
* StatusEffect#method_5563(2) -> adjustModifierAmount

* StatusEffect#adjustModifierAmount(2)[1 = ] -> amplifier

* StatusEffect#adjustModifierAmount(2)[2 = ] -> modifier

* StatusEffect#method_5573(0) -> isBeneficial

* StatusEffect#onApplied(3)[1 = ] -> entity

* StatusEffect#onApplied(3)[2 = ] -> attributes

* StatusEffect#onApplied(3)[3 = ] -> amplifier

* StatusEffect#onRemoved(3)[1 = ] -> entity

* StatusEffect#onRemoved(3)[2 = ] -> attributes

* StatusEffect#onRemoved(3)[3 = ] -> amplifier

* StatusEffect#<init>(2)[2 = ] -> color

* StatusEffect#<init>(2)[1 = ] -> type
2020-01-11 15:59:27 +00:00
biom4st3r 11d3a5cf6e StatusEffect mapping and Cuboid Method rename (#906)
* Mappings for statusEffects
Changed Cuboid.copyRotation -> Cuboid.copyRotationAndPoint because of the misleading name

* Apply suggestions from code review

Co-Authored-By: Runemoro <runemoro1@gmail.com>
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/entity/effect/StatusEffect.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-30 15:50:18 +00:00
­Sollace 7166083ec4 LivingEntity mappings (#802)
* field_6276 -> lastDamageSource
field_6226 -> lastDamageTime

* getHealthMaximum -> getMaximumHealth

* method_6124 -> getPrimeAdversary

* addPotionEffect -> addStatusEffect

* method_6009 -> onStatusEffectUpgraded
method_6020 -> onStatusEffectApplied

* clearPotionEffects -> clearStatusEffects

* method_6024 -> getLeaningPitch
field_6243 -> leaningPitch
field_6264 -> lastLeaningPitch

* Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position)

* method_18802 -> getMovementSpeed
field_6281 -> flyingSpeed

* method_18801 -> applyClimbingSpeed

* method_6093 -> knockDownwards

* cannotMove -> isImmobile

* method_18396 -> getArmorVisibility

* isEquippedStackValid -> hasStackEquipped

* setEquippedStack -> equipStack

* attributeContainer -> attributes

* method_6039 -> isBlocking
method_6061 -> canPierceDefense

* method_6040 -> consumeItem

* method_6076 -> tickActiveItemStack

* method_6072 -> updateLeaningPitch

* method_6077 -> canEnterTrapdoor

* method_16212 -> getBlockStateUnderFeet (suggestions welcome)

* method_6095 -> absorbDamage

* field_6271 -> knockbackVelocity (or painFactor)

* field_6239 -> roll

* field_6228 -> jumpingCooldown

* field_6254 -> maxHurtTime

* method_6129 -> onStatusEffectRemoved

* field_6285 -> effectsChanged

* spawnPotionParticles -> tickStatusEffects

* method_6031 -> turnHead (as hinted by Mojang)
field_6283 -> bodyYaw
field_6220 -> prevBodyYaw

* field_6255 -> lookDirection (result of turnHead)

* method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart)

* field_6267 -> diagonalSpeed

* field_6261 -> pushCooldown
method_6035 -> push (As hinted by Mojang)
tickPushing -> tickCramming (applies the cramming rule)

* field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion)

* field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before)

* field_6275 -> prevLookDirection

* field_6269 -> defaultMaximumHealth (public, final, value is 20)

* (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding)
field_6233 -> stepBobbingAmount
field_6217 -> prevStepBobbingAmount

* (unused - set to a random float when constructing)
field_6244 -> randomLargeSeed
field_6262 -> randomSmallSeed

* Stitch did this. I don't know why.

* StatusEffect.method_5555 -> onApplied

* canPierceDefense -> tryUseShield

* absorbDamage -> tryUseTotem

* getBlockStateUnderFeet -> getBlockState

* diagonalSpeed -> turningSpeed

* Mapped several parameters

* removeStatusEffect -> tryRemoveStatusEffect
removePotionEffect -> removeStatusEffect

* isPotionEffective -> canHaveStatusEffect

* More parameters

* tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
2019-08-22 21:25:19 +01:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
Runemoro fca78f74f4 More mappings 2019-04-04 18:04:19 -04:00
Runemoro 8fb75cc949 Entity mappings 2019-04-04 16:04:27 -04:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
Adrian Siekierka 1bfe80a06a update to 19w05a 2019-01-30 18:48:39 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Adrian Siekierka c8152014af rebuild method names 2018-12-12 18:22:18 +01:00
Adrian Siekierka e9ccf701a7 port to 18w50a 2018-12-12 18:12:26 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
Adrian Siekierka 50764e1853 update to 18w48a 2018-11-29 21:10:38 +01:00
Adrian Siekierka 13ed3f8e2c update to 18w47b 2018-11-27 19:50:51 +01:00
asie 895ed3ad61 The Great Suffixification 2018-11-27 19:42:03 +01:00