Commit Graph

713 Commits

Author SHA1 Message Date
Shnupbups fd0d13ce44
21w20a stuff (#2417)
* 21w20a stuff

* Apply suggestions from code review

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

* AngledModelEntity

idk about the name but eh

* Update HoeItem.mapping

* Update FoodComponent.mapping

* stuff

* Update ItemCooldownManager.mapping

* Revert "Merge branch '21w20a-stuff' of https://github.com/Shnupbups/yarn into 21w20a-stuff"

This reverts commit 494e736d32, reversing
changes made to c481e02b48.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-24 14:46:09 +01:00
apple502j 007d1f97a7
21w20a entity (#2413)
* 21w20a entity

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-21 14:28:57 +00:00
Player 38f713e4fc 21w20a 2021-05-19 19:20:40 +02:00
liach dba53e8e93
Checks entity flags to unpick (#2406)
closes #2186

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:46:21 +00:00
liach 8fba2a7da0
Ram (#2403)
fixes a few bad names from shunpbups

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:47 +00:00
Shnupbups 0510c2b069
misc things (#2409)
* misc things

* 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>

* Update PlayerPredicate.mapping

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-18 15:38:15 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
modmuss50 b8cf5bdaef 21w18a 2021-05-05 18:45:23 +01:00
haykam821 f32ff77fb1
Improve documentation for teleport targets (#2379) 2021-05-05 11:57:42 +00:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
apple502j f344dece1a
21w17a stuff (#2355)
* 21w17a stuff

* Fix lint failure

* Rename onEntitiesDestroy

* Rename setYaw
2021-04-30 17:02:56 +00:00
Player 71cbfa770b 21w17a 2021-04-28 17:44:41 +02:00
apple502j a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00:00
Shnupbups e0d95e8960
small 21w16a things (#2342) 2021-04-22 11:10:10 +00:00
liach 944e85408f
A few more constant classes (#2319)
* A few more constant classes

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

* Drop the name of class 6148 while keeping the javadocs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-18 13:03:44 +00:00
YanisBft 970cb76c9c
Entity flags and other constant fields (#2331)
* Entity flags and other constant fields

* updated unpick
2021-04-18 13:02:39 +00:00
YanisBft 88d0870fd4
Renamed dragon entity parts (#2316)
* Renamed dragon entity parts

* FLAG suffix instead of MASK
2021-04-15 12:41:38 +01:00
haykam821 5ab745bc99
Map marker entities (#2326)
* Map marker entities

* Reword the documentation for the EmptyEntityRenderer class to highlight that it does not render anything

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-15 12:41:25 +01:00
Shnupbups a046ab2dbb
21w15a stuff (#2330) 2021-04-15 12:41:15 +01:00
modmuss50 9ac44da9db 21w15a 2021-04-14 18:18:43 +01:00
Juuxel e7d81b806c
Add javadoc linting task using Filament (#2318)
* Add javadoc linting task

* Fix all javadoc formatting
2021-04-13 12:59:43 +01:00
­Sollace d5b7231967
Recipe mappings (#1325)
* Recipe mappings

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

* Update mappings/net/minecraft/recipe/Recipe.mapping

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

* Update mappings/net/minecraft/recipe/Recipe.mapping

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

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: YanisBft <doublecraft.official@gmail.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: YanisBft <doublecraft.official@gmail.com>

* Update mappings/net/minecraft/recipe/ShapedRecipe.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/recipe/Recipe.mapping

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

* Update mappings/net/minecraft/recipe/RecipeMatcher.mapping

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

* Update mappings/net/minecraft/recipe/RecipeMatcher.mapping

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

* Update mappings/net/minecraft/recipe/RecipeMatcher.mapping

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

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@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>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-12 13:13:07 +01:00
haykam821 fbad72f5e9
Remove unnecessary paragraph end tags from documentation (#2295)
* Remove unnecessary paragraph end tags from documentation

* Update mappings/net/minecraft/item/Item.mapping

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

Co-authored-by: modmuss50 <modmuss50@gmail.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-11 13:08:07 +01:00
­Sollace 8eb917d43a
AI Mappings (#2298)
* 21w13/14a classes

* Fill holes in existing classes

* Update mappings/net/minecraft/entity/ai/brain/task/WalkTask.mapping

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

* Apply suggestions from code review

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

* leaping -> noInertia (to better reflect what it does)

* EXPIRY -> POI_EXPIRY + javadoc

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

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

* 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>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-10 22:41:40 +01:00
Shnupbups 4b9ac0574d
misc stuff (#2292)
* misc stuff

* Apply suggestions from code review

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

* stuff

* carver config

* heightproviders

* Update HeightProvider.mapping

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-09 09:36:00 +01:00
­Sollace c700690ec2
Plug some of the holes in PlayerInventory (#2287)
* Plug some of the holes in PlayerInventory

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Close the P tags

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.mapping

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

* Update mappings/net/minecraft/entity/player/PlayerInventory.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-04-08 10:41:04 +01:00
Eli Orona 6d831350d9
Entity Status Constants (#2284)
* Initial Pass

* EntityStatusTypes -> EntityStatuses

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

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

* Update unpick-definitions/entity_status.unpick

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

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

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

* Update unpick-definitions/entity_status.unpick

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

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

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

* Update unpick-definitions/entity_status.unpick

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-04-08 10:40:57 +01:00
apple502j 5938ece303
Map entity methods, params, etc (#2266)
* Map entity

* Map hostile mobs

* Map passive mobs

* Map some entities

* 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>

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

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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-07 21:44:18 +01:00
modmuss50 3d39c74f21 21w14a
All of the package-info classes are just reformatted. The tool used to generate them didn't output the same format as matcher/engima
2021-04-07 18:22:56 +01:00
Shnupbups c0c4b3a8b1
Misc 21w13a stuff (#2271)
* misc stuff

* Update mappings/net/minecraft/particle/DustColorTransitionParticleEffect.mapping

Co-authored-by: LambdAurora <aurora42lambda@gmail.com>

* Update OrderedText.mapping

* Apply suggestions from code review

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

* Update Entity.mapping

Co-authored-by: LambdAurora <aurora42lambda@gmail.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-06 18:00:23 +01:00
liach f1a8f3efa0
3 random classes (#2278)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-05 12:39:27 +01:00
Juuxel 416b19b716
Bee mappings (#2265)
* Bee mappings

* NBT_KEY -> KEY
2021-04-03 15:03:02 +01:00
LambdAurora 355c529aa1
NBT refactor: step 3 (#2257)
* Refactor NBT parameter names and a bit more.

* Apply suggestions from code review.

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

* Apply more suggestions from code review.

* MobEntity leashTag stuff -> leashNbt

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 22:03:30 +01:00
Shnupbups 333a6d75b5
21w13a entity ai stuff (#2255)
* entity

* Apply suggestions from code review

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

* nbt_key -> key

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

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

* AI stuff

* Update mappings/net/minecraft/entity/ai/brain/sensor/AxolotlAttackablesSensor.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 19:06:05 +01:00
Shnupbups 1014a0a840
21w13a entity stuff (#2231)
* entity

* Apply suggestions from code review

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

* nbt_key -> key

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 12:59:05 +01:00
Shnupbups 86891d90dc
21w13a interfaces (#2223)
* interfaces

* whoops

* MobWithInventory -> InventoryOwner

* fix package
2021-04-02 12:58:33 +01:00
apple502j 52b23df471
Map two debug commands (#2219) 2021-04-01 21:14:34 +01:00
Alexander 56d442309e
Goat mappings (#2220)
* Goat mappings

* Fix Goat renderer and model packages
2021-04-01 13:21:58 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
Florens Pauwels 78172ae480
Fix some wrong mappings (#2207)
* updatePose

* Fix wrong method name

* Another mapping fix
2021-03-30 22:36:56 +01:00
liach c0c97b852e
Book using (#2198)
* Book using

Fixes #2181

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

* Apply suggestions from code review

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-27 20:10:22 +00:00
YanisBft 429408355a
Document ItemEntity and improve a few names (#2184)
* Document ItemEntity and improve a few names

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

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

* Update ItemEntity.mapping

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

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

* Update gradle.properties

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-26 17:27:00 +00:00
enbrain 80fa3fa325
Add misc javadoc (#2170)
* Add misc javadoc

* hearts -> half-hearts

* Use passive voice

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>

Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-21 13:14:31 +00:00
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +00:00
liach 739e64a97f
Xp dropping in living entity (#2156)
Closes #2018

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-20 11:15:41 +00:00
Eli Orona 1a226534c8
Finish mappings for dragon and dragon fight (#2142)
* Finish mappings for dragon and dragon fight

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

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update SittingFlamingPhase.mapping

* Update HoldingPatternPhase.mapping

* Update TakeoffPhase.mapping

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

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

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

* Update mappings/net/minecraft/entity/boss/dragon/EnderDragonEntity.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update ChargingPlayerPhase.mapping

* Update HoldingPatternPhase.mapping

* Update LandingApproachPhase.mapping

* Update StrafePlayerPhase.mapping

* Update TakeoffPhase.mapping

* Update ChargingPlayerPhase.mapping

* Update mappings/net/minecraft/entity/boss/dragon/phase/ChargingPlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/StrafePlayerPhase.mapping

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

* Update mappings/net/minecraft/entity/boss/dragon/phase/HoldingPatternPhase.mapping

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

Co-authored-by: liach <7806504+liach@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-03-17 18:46:42 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
Alexander 3a70564531
Make BossBar names more consistent (#2149) 2021-03-16 13:35:46 +00:00
apple502j ac8ad7eb8d
Village and POI stuff (#2137)
* POI stuff

* Village stuff

* Rename hasRecentlyWorkedAndSlept

* Update mappings/net/minecraft/world/poi/PointOfInterestType.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-03-14 16:20:37 +00:00
YanisBft 8276930dca
Document TradeOffer and improve various names (#2139)
* Document TradeOffer and improve various names

* Update mappings/net/minecraft/village/TradeOffer.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-13 21:18:04 +00:00
haykam821 96fc5ea090
Map the refactor for item frames and glow item frames (#2123)
* Map the refactor for item frames and glow item frames

* Make the names of sound event methods in the ItemFrameEntity class consistent with other sound event methods
2021-03-10 22:04:38 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 84b016a8a2
21w08a Packet stuff (#2104)
* packets and stuff

* k

* oh gosh oh heck i got carried away

* Update PlayerMoveC2SPacket.mapping

* NbtTagSizeAllocator -> NbtTagSizeTracker

* Delete TitleClearS2CPacket.mapping

* Delete ActionBarTextSetS2CPacket.mapping

* Delete SubtitleTextSetS2CPacket.mapping

* Delete TitleTimesS2CPacket.mapping

* Delete TitleTextSetS2CPacket.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayNetworkHandler.mapping

* Apply suggestions from code review

github online editor sucks lol

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

* Update mappings/net/minecraft/block/entity/SignBlockEntity.mapping

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

* Apply suggestions from code review

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

* Update mappings/net/minecraft/server/filter/TextStream.mapping

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

* liach stuff

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-10 18:17:14 +00:00
liach 5f03d99beb Fixes #1696 SpawnGroup.isAnimal (#2097)
also adds javadoc to SpawnGroup

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-28 15:01:36 +00:00
liach 3e16e8ee13
A few entity methods (#2082)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:00 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
liach 06e8b4905b
Some path targeting stuff (#2030)
* Some path targeting stuff

I think they are very open to improvements, but I will share what I have for now

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

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

This apparently kills mappingpoet. fun enough

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

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

* Apply suggestions from code review

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-23 20:33:28 +00:00
modmuss50 03e20d7d9a 21w07a 2021-02-17 18:45:32 +00:00
LambdAurora aaf9d28388
Refactor toTag/fromTag to follow current conventions. (#2037)
* Refactor toTag/fromTag to follow current conventions.

* More refactor.

* Refactor saveSelfToNbt and saveToNbt.

* Include more renames.

* Last automatic batch.

* Update mappings/net/minecraft/structure/StructurePiece.mapping

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

* Fix GitHub resolve conflict error.

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-17 18:16:46 +00:00
liach 24d7940f58
Entity move effect and player position look packet's one field (#2062)
* Entity move effect and player position look packet's one field

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

* Fixes #2080

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:34 +00:00
YanisBft ace28d437f
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>
2021-02-13 21:41:21 +00:00
hqics f5a31b54d9
pos -> power (#2059) 2021-02-13 21:19:28 +00:00
liach f649081f23
Mappings for nether portal-related functionality (#2052)
* Mappings for nether portal-related functionality

Apply suggested changes

* getOrNone → getOrEmpty
* destinationIsNether → destIsNether

getCoordinateScaleRatio -> getCoordinateScaleFactor and more mappings

* Apply suggestions from code review

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

Co-authored-by: Kyarei <uruwi@protonmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:51 +00:00
liach 3b23315115
Game events stuff. Map 2 unmapped top level classes (#2045)
* Game events stuff. Map 2 unmapped top level classes

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

* Update mappings/net/minecraft/world/event/listener/EntityGameEventHandler.mapping

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

* Update mappings/net/minecraft/world/event/PositionSource.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-13 17:01:00 +00:00
liach 47bdb3b9e4
Entity stuff, see #1905 (#1967)
* Squash the review stuff

Co-authored-by: Henry <obw@generalprogramming.org>
Co-authored-by: Thalia Nero <chrisvn00@gmail.com>

commit b9e91de684
Author: Henry <obw@generalprogramming.org>
Date:   Fri Jan 1 18:06:37 2021 +0000

    Apply some cleanup from code review

    Also removes some bits not present in 20w51a

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

commit e9f0cea6e7
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 19:40:28 2020 +0000

    Add javadocs for MessageListener

commit a6fe16a9cd
Author: Henry Le Grys <henry@legrys.info>
Date:   Wed Dec 9 18:31:29 2020 +0000

    Apply some suggestions to clean up

    - Restored missing Entity methods
    - Fixed comment reference
    - Unmapped generic `flagSet`-named methods

commit cbacd58a0a
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 18:56:45 2020 +0000

    Apply some suggestions & map extra names

commit 411b92b91f
Merge: c5287fed0 c0a046c66
Author: Henry Le Grys <henry@legrys.info>
Date:   Thu Dec 3 17:55:40 2020 +0000

    Merge 20w49a into world-entity

commit c5287fed06
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Wed Nov 11 23:18:02 2020 -0500

    listener -> handler

commit 490818513e
Merge: d74d922b0 3465a1132
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sun Nov 8 14:53:43 2020 -0500

    Merge branch '20w45a' into world-entity

commit d74d922b0b
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 15:28:32 2020 -0500

    Update mappings from review.

commit fbb44ecbb9
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:51:17 2020 -0500

    Some docs and mapping of methods called by the entity stuff.

commit 095711c00a
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:28:23 2020 -0500

    Some parameters and mappings.

commit caea9fed00
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Sat Nov 7 01:14:33 2020 -0500

    Filter -> TypeFilter

commit 9d82f4bcc4
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:19:18 2020 -0500

    Map ChunkStatusChangeListener.

commit 4699e0991e
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 20:11:11 2020 -0500

    Map more entity loading stuff.

commit 8a30358ef2
Merge: 6d0aa8cff ee05e2b40
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 18:10:03 2020 -0500

    Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity

commit 6d0aa8cff7
Author: Thalia Nero <chrisvn00@gmail.com>
Date:   Fri Nov 6 03:43:11 2020 -0500

    Map a lot of entity world interaction shenanigans. Feeling tired might remap later.

* Extra classes

* tweaks

* Revert some refactors

* meh, enigma bad

* move entitylike to world as it's more s/l related than actual entity

* Eliminate the "group"

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

* Bunch renames, should make sense now

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

* Fix javadoc types

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

* Human-friendly name for synthetic fields in case they appear

* rename

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 19:35:29 +00:00
liach 7e5965e1ef
item slot (#2032)
* item slot

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

* Call this command item slot to prevent unintentional misusages

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-08 19:47:07 +00:00
liach df3da30394
Bundle tutorial (#2011)
* Bundle tutorial

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

* Fixed bad names and add some docs

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

* Update mappings/net/minecraft/client/tutorial/TutorialManager.mapping

* Update mappings/net/minecraft/entity/player/PlayerEntity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-07 13:31:42 +00:00
liach 9526a4af9f
Refactored some cursed height limit view names (#2027)
* Refactored some cursed height limit view names

They were either confusing or plainly wrong

Fixed a few javadoc problems

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

* embellish javadoc

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

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

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

* height is a better name

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-07 13:30:35 +00:00
Shnupbups 92f21d3e83
21w05a stuff (#2017)
* 05a stuff

* stuff

* Update HangingRootsBlock.mapping
2021-02-04 18:34:24 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
haykam821 c60b023328
Clarify the methods relating to entities ticking in the void (#1983)
* Clarify the methods relating to entities ticking in the void

* Simplify documentation links to methods and classes that are already in scope

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-01-25 20:19:36 +00:00
Shnupbups ae4a1cc89b
Entity package stuff (#1979)
* entity

* forgot this

* this too

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

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

* 2 more things

* remove reference to ItemStackHolder

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-01-25 18:28:38 +00:00
YanisBft 85fa278887
21w03a stuff (#1964)
* 21w03a stuff

* Update mappings/net/minecraft/client/render/entity/ItemFrameEntityRenderer.mapping

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-01-22 13:36:31 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
YanisBft 553ad17e3c
Random stuff (#1947) 2021-01-03 20:53:34 +00:00
Shnupbups b9d56158e5
20w51a things (#1918)
* stuff

haha yes

* buckets

* sleeping gamerule thing

* haha yes

* haha yes

* Update mappings/net/minecraft/item/ItemUsage.mapping

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

* Update mappings/net/minecraft/entity/ai/brain/Brain.mapping

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

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

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

* stuff

* things

* whoop

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

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

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/world/gen/chunk/GenerationShapeConfig.mapping

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

* Update mappings/net/minecraft/world/dimension/DimensionType.mapping

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

* Update mappings/net/minecraft/world/dimension/AreaHelper.mapping

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-31 14:22:27 +00:00
Siphalor 8fba5222be
Some renames concerning the hotbar (#1943)
* Rename HeldItemChangeS2C to match UpdateSelectedSlotC2S

* Fix bad parameter name of swapSlotWithHotbar
2020-12-28 13:08:19 +00:00
YanisBft 992926dd04
Fix javadocs and update Enigma (#1937)
* Fix javadocs and update Enigma

* oops
2020-12-25 23:25:28 +00:00
haykam821 471e787c32
Fix some boolean getter methods being prefixed with 'get' (#1920)
* Fix some boolean getter methods being prefixed with 'get'

Fixes #1892

* Fix the setter method for thickening fog in the BossBar class being renamed instead of the getter method
2020-12-17 20:04:22 +00:00
­Sollace d4bd96020f
Effectiveness 2 (#1272)
* isUsingEffectiveTool -> canHarvest, isEffectiveOn -> isSuitableFor

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Drop invalid mappings

* "this method doesn't exist" he said

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-17 20:00:29 +00:00
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +00:00
YanisBft 33da594c95
20w49a cleanup (#1911)
* 20w49a cleanup

* Update Vibration.mapping
2020-12-14 21:35:39 +00:00
Shnupbups d05efed548
20w49a stuff (#1903)
* fuck it i'm committing and going to bed

here's what i got

* lots of misc stuff

haha yes

* Delete class_5700.mapping
2020-12-09 12:21:32 +00:00
Taavi Väänänen 882d18f793
Add some villager mappings (#1907)
* Add some villager mappings

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-06 18:04:59 +00:00
­Sollace c0a046c665
Model part names (#1900)
* Update all the models fields that come from Mojang's json code

* Unswap tailAngle and spikeExtension fields

* Fill in missing names in MathHelper

* Apply suggestions from code review

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

* More code review fixes

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-03 13:51:45 +00:00
Taavi Väänänen a579fc53ee
Add some brain mappings (#1901)
* Add some brain mappings

* Be consistent with rest of that class
2020-12-03 13:50:56 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
SPGoding 6596cd0f81
Map something for experience orb (#1893)
* Map something for experience orb

* Remap method_30048
2020-11-29 22:05:30 +00:00
modmuss50 b4c1720de7 20w48a 2020-11-25 18:55:46 +00:00
haykam821 c55751331e
Map classes and methods relating to powder snow and freezing (#1865)
* Map classes relating to powder snow

* Map methods used to manage freezing

* Move the PowderSnowBucketItem class to the correct package

* Rename the subtractWaterLevel method to decrementFluidLevel in the LeveledCauldronBlock class

* Remove the implicit mapping for the POWDER_SNOW_BUCKET field

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-11-18 12:02:57 +00:00
modmuss50 3e78db4504 20w46a 2020-11-11 19:27:23 +00:00
Florens Pauwels 118da214ba
Add LivingEntity shouldsSwimInFluids (#1860)
Co-authored-by: Florens Pauwels <mail@florens.be>
2020-11-07 23:16:57 +00:00
YanisBft 34b70efdb0
Some EntryListWidget and entity methods and javadocs (#1812)
* Some EntryListWidget and entity methods and javadocs

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

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

* Update mappings/net/minecraft/client/gui/widget/EntryListWidget.mapping

Co-authored-by: Gegy <gegy1000@gmail.com>

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
Co-authored-by: Gegy <gegy1000@gmail.com>
2020-11-07 13:11:45 +00:00
Toshimichi0915 e54760827a
Fix Entity#MAX_ENTITY_ID to Entity#ENTITY_ID_COUNTER(#1825) (#1858) 2020-11-07 12:51:21 +00:00
LambdAurora bcbbc58af5
20w45a player mappings! (#1853) 2020-11-06 14:25:29 +00:00
Shnupbups 1e46390347
20w45a things (#1833)
* Things

* Update AbstractCauldronBlock.mapping

* a few more things

* Create EntityModelLayers.mapping

* Update MinecraftVersion.mapping

* Update Oxidizable.mapping
2020-11-06 14:24:34 +00:00
joaoh1 51b2b77362
Map spyglass logic (#1834)
Co-authored-by: joaoh1 <joaoh1@users.noreply.github.com>
2020-11-05 19:37:46 +00:00
LambdAurora b44b26d435
Add entity mappings (#1829)
* Add entity mappings

* Add javadoc to dismountVehicle.
2020-11-05 09:41:29 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
haykam821 cd6d0e6ccc
Replace remaining references to generic trader naming with merchant (#1778) 2020-10-10 12:48:27 +01:00