* Fix mentions to nether portals
* Rename `Entity#collides` to `canHit`
This is intentionally a double-meaning word; this is used by
clients hitting entities, and projectiles hitting an entity.
* Rename `Entity#getItemsHand` to `getHandItems`
* Rename `Entity#shouldLeaveSwimmingPose` to `isCrawling`
* Rename `Entity#hasPassengerType` to `hasPassenger`
* Rename `AnimalMateGoal#chance` to `speed`
* Rename `FoxEntity$EatSweetBerriesGoal` to `EatBerriesGoal`
* Rename `eatSweetBerry` to `eatBerries`
* A few entity mappings
* Remove WorldAccess changes as they appear to be already applied
* a tiny amount of more mappings
* a tinsy itsy bit of changes
* 22w12a stuff
* fixes from @apple502j and a bit more
* Update mappings/net/minecraft/block/entity/SculkShriekerWarningManager.mapping
Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
Co-authored-by: apple502j <33279053+apple502j@users.noreply.github.com>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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: c5287fed0c0a046c66
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: d74d922b03465a1132
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: 6d0aa8cffee05e2b40
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>
* 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>
* 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>
* 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>
* Things
* Update AbstractCauldronBlock.mapping
* a few more things
* Create EntityModelLayers.mapping
* Update MinecraftVersion.mapping
* Update Oxidizable.mapping
* Actually describe vague "checkChunk" methods.
These are quite vague, and the profiler call is all we really have to go off of.
From looking around the codebase, these methods validate the entity's chunkX/Y/Z positions are correct. If the entity's last and current chunk pos are not the same, move the entity to it's new chunk (which also changes the chunkX/Y/Z values to the correct ones).
Oh and some synthetic method params while I was at it.
* Update mappings/net/minecraft/server/world/ServerWorld.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/entity/Entity.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/client/world/ClientWorld.mapping
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update mappings/net/minecraft/server/world/ServerWorld.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* Update mappings/net/minecraft/client/world/ClientWorld.mapping
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
* match method name
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>