Commit Graph

815 Commits

Author SHA1 Message Date
apple502j dfda2435aa
Fix several mapping bugs (#3074)
Resolves #3043
Resolves #3057
Resolves #3066
2022-04-14 22:19:33 +01:00
Jake Potrebic 45c56b435b
Rename flag from 'scared' to 'sitting' (#2965)
When you send the entity metadata packet with the appropriate update to the client
the panda's behavior can be better described as sitting up rather than being scared
2022-02-22 16:59:28 +00:00
Shnupbups 4731a2c3ce
22w07a stuff (#3012)
* biome tags

* more biome tag stuff + datafix

* more stuff

* remove stuff mapped by #3013

* some noise stuff

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* dropped invalids

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-02-19 11:29:24 +00:00
apple502j 20e6725f2c
22w07a stuff (#3013)
* 22w07a stuff

* Update Registry.mapping

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* registryKeys -> keys

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-18 22:44:32 +00:00
Player fd8c5a7486 22w07a 2022-02-16 19:13:28 +01:00
Noah van der Aa a6d414dd13
Map some random entity stuff (#2994)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-11 09:03:20 +00:00
Shnupbups 81898922c6
22w06a stuff (#2996)
* man wtf is this

* Revert "man wtf is this"

This reverts commit 8e63ae95e9.

* oh gosh oh heck what is this

* why

* seriously

* Update RegistryEntryList.mapping
2022-02-10 18:47:38 +00:00
apple502j eb5070e74f
22w06a non-cursed stuff (#2999) 2022-02-10 17:31:50 +00:00
modmuss50 0ef70746f2 22w06a 2022-02-09 18:58:35 +00:00
enbrain e8a1536e6c
Fix some setters not matching fields and params (#2978)
* Fix some setters not matching fields and params

* Revert params with current prefix

* Rename targetPool to target

to match the setter in JigsawBlockEntity

* Revert more renames

* Revert setInvStackList -> setInventory

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 16:42:35 +00:00
Shnupbups 536210f3e7
some random stuff (#2969)
* some random stuff

* more stuff

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 16:42:22 +00:00
apple502j 10fda6dd17
22w03a stuff (#2971)
* 22w03a stuff

* Fix ExclusiveNbtCollector

* Remove OpenDoorsTask mapping for conflict

* Remove SpreadPlayersCommand mapping for conflict

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Renames, javadoc, etc

* Fix description of shouldCrashOnException

* Update mappings/net/minecraft/entity/FallingBlockEntity.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-09 11:33:27 +00:00
apple502j a70b1d3cea
22w05a stuff (#2993)
* 22w05a stuff

* Update mappings/net/minecraft/util/math/Vec3i.mapping

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

* Rename WeaponSmithChestLootTableFix

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2022-02-09 11:25:03 +00:00
modmuss50 a038ffcefc 22w05a 2022-02-02 17:09:28 +00:00
Noah van der Aa c968285953
Map some fields and params based around the dragon battle (#2985)
* Map some fields and params based around the dragon battle

* SPAWN_HEIGHT -> SPAWN_Y

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2022-01-28 20:10:24 +00:00
Jake Potrebic 14eca98488
Fix entity param name for updateKilledAdvancementCriterion (#2975) 2022-01-23 15:11:11 +00:00
modmuss50 26c319461b 22w03a 2022-01-19 17:26:32 +00:00
apple502j 12c58a41f2
Rename Entity#inanimate (#2922)
* Rename Entity#inanimate

* Fix javadoc

* Rename to intersectionChecked
2022-01-17 21:24:09 +00:00
apple502j 214508ba12
Rename remaining Tag to Nbt (#2960) 2022-01-17 21:21:38 +00:00
apple502j c715653edb
Fix more typos (#2954) 2022-01-02 18:50:05 +00:00
Jake Potrebic 5aaa27338b
lure and LOTS levels were swapped (#2951) 2021-12-31 13:35:43 +00:00
enbrain b996fd0fb8
Fix MoveToTargetPosGoal.getDesiredSquaredDistanceToTarget (#2942) 2021-12-23 14:19:33 +00:00
apple502j 24a1ee97f8
Fix typos (#2928)
* Fix typo, step 1
Changes to mappings:
- `SetDamageLootFunction#<init>` `conditons` -> `conditions`

* Fix typos, step 2
Changes to mappings:
- `BedBlock#getAroundAndOnBedOffets` -> `getAroundAndOnBedOffsets`
- `EntityShapeContext#<init>` `walkOnFluidPrecicate` -> 
`walkOnFluidPredicate`
- `HungerConstants#EXHAUSION_UNIT` -> `EXHAUSTION_UNIT`
- `HungerConstants#EXHAUSION_PER_HITPOINT` -> `EXHAUSTION_PER_HITPOINT`

* Update mappings/net/minecraft/world/chunk/PaletteResizeListener.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-12-15 17:33:40 +00:00
apple502j 752fcb213f
1.18.1-rc1 stuff (#2908)
* 1.18.1-rc1 stuff

* Apply suggestions from code review

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

* Rename shouldRecalculate, etc

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-12-13 13:47:39 +00:00
modmuss50 dadc38b9c4 1.18.1-rc1 2021-12-07 16:44:03 +00:00
Shnupbups fbcd127c32
1.18-rc stuff (#2887)
* 1.18-rc1 stuff

resolves #2886

* small things

* Update WorldRenderer.mapping

* stuff

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-27 22:03:48 +00:00
apple502j 7ee4de9d98
1.18-pre8 stuff (#2885)
* 1.18-pre8 stuff

* Update mappings/net/minecraft/text/TranslatableText.mapping
2021-11-25 09:33:54 +00:00
enbrain db9a80f418
Document chat stuff (#2881)
* Document chat stuff

* Remove apiNote from ChatMessageC2SPacket

* Links broadcast from and to sendMessage

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-24 20:16:37 +00:00
Shnupbups 2cac3f4178
1.18 pre6 stuff (#2869)
* 1.18 pre6 stuff

* Update Biome.mapping

* Update mappings/net/minecraft/world/chunk/BelowZeroRetrogen.mapping

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

* Update mappings/net/minecraft/world/chunk/Chunk.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-23 17:24:16 +00:00
enbrain 59d78662d3
Refactor equipment sync stuff (#2801)
* Refactor equipment sync stuff

* sendHandStackSwap -> checkHandStackSwap

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-11-23 17:20:26 +00:00
enbrain 83d7540f2f
Fix javadoc reference errors (#2871) 2021-11-23 10:37:28 +00:00
modmuss50 3eb7466178 1.18-pre6 2021-11-22 18:18:04 +00:00
enbrain abb1308444
Map misc stuff (#2843) 2021-11-22 16:43:57 +00:00
Shnupbups 8d8f35a33b
Mapping Bonanza Part 4: Entity AI stuff (#2848)
* Entity AI stuff

* Apply suggestions from code review

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>

Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
2021-11-22 15:29:27 +00:00
Shnupbups 5d6034cbb0
Mapping Bonanza Part 3: Entity stuff (#2847)
* Entity stuff

* Apply suggestions from code review

* Update ShulkerEntity.mapping
2021-11-22 15:28:47 +00:00
modmuss50 f870cc7ed4 Revert "Use "offhand" instead of "offHand" (#2844)"
This reverts commit 5c2072d88d.
2021-11-19 16:54:44 +00:00
modmuss50 071aba24e7 1.18-pre5 2021-11-19 16:35:58 +00:00
apple502j 5c2072d88d
Use "offhand" instead of "offHand" (#2844) 2021-11-19 10:48:27 +00:00
apple502j 1ac9261de3
1.18 pre3 stuff (#2840)
* Map fox

* Map other weird stuff

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-18 09:09:02 +00:00
Shnupbups 4bdab49349
1.18-pre2-4 stuff (#2836)
* 1.18-pre2 stuff

* SurfacePlacedFeatures -> VillagePlacedFeatures

* Update BlendingData.mapping

* stuff
2021-11-18 09:08:32 +00:00
modmuss50 07f60f0a15 1.18-pre3 2021-11-17 16:49:31 +00:00
apple502j 5c1f90e127
More 1.18-pre2 stuff (#2838)
* More 1.18-pre2 stuff

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-17 14:33:42 +00:00
Shnupbups ed1378656a
Standardise use of Oxidation over Oxidization (#2837)
* Standardise use of Oxidation over Oxidization

Previously, a mix of the two were used.

Mojang seems to use the word 'Oxidation' over 'Oxidization' (see https://www.minecraft.net/en-us/article/minecraft-snapshot-20w45a ) so all instances of the latter have been changed to the former.

* missed a spot
2021-11-17 12:08:53 +00:00
modmuss50 d792ab8d27 1.18-pre2 2021-11-16 18:18:51 +00:00
enbrain 36069d7693
Map the new LivingTargetCache class (#2825)
* Map the new VisibleLivingEntityList class

* Rename to LivingTargetCache
2021-11-16 13:11:54 +00:00
apple502j 4a74cfdf1c
1.18-pre1 stuff (#2823)
* 1.18-pre1 stuff

* Update mappings/net/minecraft/util/math/Vec3i.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Fix some wrong mappings

* client stuff, related to amplified

* client world stuff

* WorldgenListProvider

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-13 13:54:41 +00:00
modmuss50 1f0b4b7ebc 1.18-pre1 2021-11-11 18:05:24 +00:00
apple502j 119815df5d
More 21w44a stuff (#2811)
* More 21w44a stuff

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/util/profiling/jfr/JfrProfiler.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/util/math/ChunkSectionPos.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Rename some stuff

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-11-08 23:34:33 +00:00
enbrain 59a527d6d2
Restore parameters lost in 21w44a update (#2810) 2021-11-04 12:00:14 +00:00
modmuss50 35c46fc6b7 21w44a 2021-11-03 18:39:11 +00:00
­Sollace b261ddf6f8
Add docs for FuzzyTargetting and NoPenaltyTargetting (#2783)
* Add docs for FuzzyTargetting and NoPenaltyTargetting

* Bruh part 1

* Bruh part 2

* Bruh part 3

* Bruh part 4

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/NoPenaltyTargeting.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Update mappings/net/minecraft/entity/ai/FuzzyTargeting.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-03 14:12:48 +00:00
­Sollace 31ad1856ef
Map a bunch of constants in Entity and MobEntity (#2784)
* Map a bunch of constants in Entity and MobEntity

* Update mappings/net/minecraft/entity/Entity.mapping

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

* Update mappings/net/minecraft/entity/mob/MobEntity.mapping

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

* Update mappings/net/minecraft/entity/mob/MobEntity.mapping

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <yanis.briffaut@gmail.com>

Co-authored-by: Shnupbups <shnupbups@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <yanis.briffaut@gmail.com>
2021-11-03 14:12:19 +00:00
haykam821 e11cf6480c
Rename the PlayerEntity#isSleepingLongEnough method to canResetTimeBySleeping (#2803)
Fixes #2637
2021-11-01 13:27:22 +00:00
Juuxel 391e52a687
Spawn point tweaks and fixes (#2765)
* Spawn point fixes

* "chat message" -> "game message"

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

* Document PlayerEntity.findRespawnPosition

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-10-19 17:19:25 +01:00
apple502j cd41fa9d2b
21w41a monster XP fields (#2757)
* 21w41a monster XP fields

* Added javadoc

* Update mappings/net/minecraft/entity/mob/Monster.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-10-19 17:17:05 +01:00
modmuss50 fa2f4838b2 Remove duplicate class mapping + drop invalid mappings. 2021-10-15 17:14:42 +01:00
apple502j 32a862fbda
21w41a stuff (#2749)
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-10-15 16:30:33 +01:00
NotSomeBot 920413739b
name function method_26318 applyMovementInput (#2742)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-15 16:24:40 +01:00
Juuxel 7e46e4bee6
Entity sleeping docs + a rename (#2743)
* Document PlayerEntity/LivingEntity sleeping stuff, rename SleepFailureReason.toText -> getMessage

* Refine jd

* Update mappings/net/minecraft/entity/player/PlayerEntity.mapping
2021-10-15 16:23:55 +01:00
Shnupbups 065317d2b3
Random stuff (#2744)
* Random stuff

* more stuff

* just a little more
2021-10-15 16:23:39 +01:00
Shnupbups 2e1a85620a
21w40a stuff (#2733)
* 21w40a stuff

* Create LegacyBiomeMapping.mapping

* canSpawn

* stuff
2021-10-10 22:10:18 +01:00
apple502j 85ee28e1e9
More 21w40a stuff (#2736)
* More 21w40a stuff

* Rename and add javadoc
2021-10-10 22:10:05 +01:00
modmuss50 1391c4cb97 21w40a 2021-10-07 15:55:57 +01:00
liach 967ba53ab5
Revamp control to be more accurate (#2513)
* Revamp control to be more accurate

Fixes stepAngleTowards to be clampAngle, 3 mob entity methods

I initially wanted to just map the shulker look control class, turns
out the whole look control system has some wrong names.

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

* Update mappings/net/minecraft/entity/mob/MobEntity.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-10-04 14:06:44 +01:00
Cammie 3d55cf6afa
changed flyingSpeed to airStrafingSpeed (#2684)
* changed flyingSpeed to airStrafingSpeed

* Added javadocs to airStrafeSpeed

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-03 12:47:33 +01:00
apple502j 3d6d299423
More 21w39a stuff (#2720)
* More 21w39a stuff

* Apply suggestions from code review

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

* Rename some methods

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-10-01 19:02:43 +01:00
enbrain f51ddcde21
Improve ProjectileEntity (#2715)
* Improve ProjectileEntity

* setProperties -> setVelocity

* Update speed javadoc

* Update divergence javadoc

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-01 19:00:45 +01:00
modmuss50 7436b2b1d9 21w39a 2021-09-29 19:08:30 +01:00
liach d6eb4319f4
Restore some stuff lost in 54f0920bc0 (#2695)
and furnish, closes #2686

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-09-20 16:52:01 +01:00
apple502j 69e93f720a
21w37a misc stuff (#2689)
* 21w37a stuff

* Apply suggestions from code review

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

* Revert BlockEntity change

* Apply suggestions from code review

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

* Move Range to util/dynamic

* Map SoundEngine init param

* Un-map BlockEntityUpdateS2CPacket#fromBlockEntity

* Move random classes to /world/gen/random/

* Update mappings/net/minecraft/util/dynamic/Range.mapping

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

* Rename to BlockPredicatesChecker

* Remove empty comment

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-09-20 16:51:40 +01:00
Shnupbups d43dd63f45
21w37a stuff (#2685) 2021-09-17 16:18:49 +01:00
Player 54f0920bc0 Import from 1.18_experimental-snapshot-7 2021-09-17 01:24:14 +02:00
Player 3c62b19290 21w37a 2021-09-16 21:06:33 +02:00
frqnny 2575997c1d
FollowTargetGoal -> ActiveTargetGoal (#2561)
* FollowTargetGoal -> TrackClosestTargetGoal

* update with some child class renames too

* Update mappings

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-14 21:22:32 +01:00
apple502j a0592ba0ce
1.17.1 passive entity stuff (#2664)
* 1.17.1 passive entity stuff

* Update AxolotlBrain.mapping
2021-09-08 12:21:48 +01:00
haykam821 2920a46c96
Rename the StatusEffectType class to StatusEffectCategory (#2648) 2021-08-25 16:26:03 +01:00
Dogeon188 af24263a0a
AxolotlEntity.Variant naming fix (#2575) 2021-07-13 11:07:02 +00:00
liach d88f9e4804
Update toolchain and fix minor javadoc problems (#2563)
* Update toolchain and fix minor javadoc problems

Fixes #2518 and resolves gradle warnings

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

* update java version in comment as well

* remove obsolete comment (didn't forsee mojang would go java 16)

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

* beautify this as well

* at least javadoc won't stall for 10 minutes now

still after 5 minutes of building there is a daemon with 4G ram usage

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

* Use more friendly format to set properties

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:28:14 +01:00
frqnny b054090c81
Travel javadocs (#2568)
* Travel method javadocs

* moved param doc to param

* fix

* Fix a typo

* Fix a typo 2.0 electric boogaloo

* Update mappings/net/minecraft/entity/LivingEntity.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-07-10 12:27:29 +01:00
apple502j 6aaad15ea9
1.17.1-pre2/pre3 stuff (#2535)
* 1.17.1-pre2 stuff

* 1.17.1-pre3 stuff
2021-07-01 13:54:06 +01:00
modmuss50 0ad32f2247 1.17.1-pre3 2021-06-30 18:01:37 +01:00
liach 1cc9733ae3
Sampler changes (#2478)
* Fully mapped sampler

now they are mostly on server, and a few refactors

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

* Missing old name

Co-authored-by: liach <liach@users.noreply.github.com>
2021-06-28 15:22:54 +01:00
apple502j 117c139ec9
More 1.17-pre1 stuff (#2501)
* More 1.17-pre1 stuff

* Rename to entireStack

* Use revision instead of nonce

* Document read/writeOptional

* Update mappings/net/minecraft/screen/ScreenHandler.mapping

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

* Update mappings/net/minecraft/client/realms/gui/screen/RealmsSubscriptionInfoScreen.mapping

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

* Rename getMaxY to getHeight

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-26 12:53:03 +01:00
ByMartrixX 6473b3525a
1.17.1-pre1 stuff (#2500)
* 1.17.1-pre1 stuff

* Apply review suggestions

* Rename BookUpdateC2SPacket constructor args

* Rename two BookUpdateC2SPacket getters

* Improve method_37420 name
2021-06-24 14:15:19 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
liach 3320a21d3c
Barebone javadoc for brain, explains why (#2475)
closes #2210, feel free to ask for more

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-09 00:14:21 +01:00
Will 1bbd993937
Correct visibleOnly method name -> ignoreVisibility (#2479)
`visibleOnly` actually sets `respectsVisibility` to `false`
```java
    public TargetPredicate visibleOnly() {
        this.respectsVisibility = false;
        return this;
    }
```
later in `test`, you can see that `respectsVisibility` is correctly named, as precedes the visibility check:
```java
                if (this.respectsVisibility && baseEntity instanceof MobEntity && !((MobEntity)baseEntity).getVisibilityCache().canSee(targetEntity)) {
                    return false;
                }
```

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 15:00:32 +01:00
apple502j 34eba1a24f
Random 1.17 pre-release stuff (#2476)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:46:10 +01:00
liach 93ef3bdefa
About entity network ID (#2472)
* About entity network ID

Fixes #2469

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

* Update mappings/net/minecraft/entity/Entity.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

* Rename the entity id stuff to just id

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:45:06 +01:00
ByMartrixX 6ac3f86f2e
Map some BeeEntity constants (#2462)
* Map some BeeEntity constants

* Fix typo

* Make difficulty the prefix in fields 30289 and 30290

* Rename fields 30291 and 30293

* Apply suggestions from code review

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-07 14:40:36 +01:00
apple502j 7d8e711671
Map entity methods and params (#2455)
* Map entity methods and params

* Apply suggestions from code review

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

* Rename prevAge, change javadoc

* 1.17-pre3 methods

* Add javadocs

* Update mappings/net/minecraft/entity/damage/DamageSource.mapping

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

* Apply suggestions from code review

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-06-06 14:21:56 +00:00
Shnupbups 233d572f2c
Random stuff (#2463)
* Stuff

* Apply suggestions from code review

Co-authored-by: YanisBft <doublecraft.official@gmail.com>

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-04 13:02:31 +01:00
LambdAurora 5d1e9d9800
Fixes some bad names and add new docs. (#2465)
* Fixes some bad names and add new docs.

* Fix missing Goal suffix.

* Update mappings/net/minecraft/entity/passive/CatEntity.mapping

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

* Apply suggestions from code review

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-06-04 10:57:41 +00:00
Shnupbups 24a6894e06
1.17-pre1 stuff (#2436)
* 1.17-pre1 stuff

* Update mappings/net/minecraft/server/MinecraftServer.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* a

* removed a mappings

* Update SignBlockEntityRenderer.mapping

* Update MinecraftServer.mapping

* more things

* Apply suggestions from code review

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 16:35:05 +01:00
modmuss50 c13a13d765 1.17-pre3 2021-06-01 17:22:33 +01:00
liach 37f94858b0
status effect source (#2441)
* status effect source

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

* improve docs and update legacy packet handler name

* Another effect cause related method

* 2 vec3d methods seen in projectiles

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

* Update mappings/net/minecraft/entity/LivingEntity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-01 16:29:19 +01:00
enbrain 10f5de0e61
Fix Entity.dealDamage (#2437)
* Fix Entity.dealDamage

* Rename to applyDamageEffects

* Document what attacker may be

* Update mappings/net/minecraft/entity/Entity.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Document in the parameter itself

* Link to ProjectileEntity#getOwner()

* Remove period

* Use linkplain

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:26:08 +01:00
modmuss50 282fb18a0b 1.17-pre2 2021-05-31 17:31:55 +01:00
Emily Rose Alexandra 624433f650
Slot.isEnabled and CommandItemSlot -> StackReference (#2452)
* Fix infuriatingly mismapped Slot method

* CommandItemSlot -> StackReference

* Update command name
2021-05-30 22:10:13 +01:00
LambdAurora a0ec4231f8
Entity and entity models documentations (#2431)
* Map some axolotl stuff and start work on entity and entity models documentation.

* Improve entity models documentation.

* Update mappings/net/minecraft/client/model/Model.mapping

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

* More entity model documentation.

* Axolotl brain and tasks.

* Update mappings/net/minecraft/client/render/entity/model/CatEntityModel.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-05-29 11:52:11 +01:00