Commit Graph

218 Commits

Author SHA1 Message Date
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
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
enbrain f59ff97386
Map lambda parameters of record codec instance (#2438) 2021-05-28 08:08:35 +00:00
modmuss50 372c15cf37 1.17-pre1 2021-05-27 18:09:37 +01: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
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00: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
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
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
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
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
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
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
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
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
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +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
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +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 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
haykam821 349110cfe1
Map the new fields and methods in 1.16.3-rc1 (#1754) 2020-09-11 18:28:51 +01:00
YanisBft 4c75a2df53
Random worldgen (#1728) 2020-08-30 11:07:55 +01:00
Yanis48 ee1d477e18
1 outer class, 3 inner classes & some moves (#1679)
* 1 outer class, 3 inner classes & some moves

* moved AreaHelper to world.dimension
2020-08-16 12:43:46 +01:00
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +01:00
haykam821 a83a057fe4
Map unmapped fields that have getter methods (#1612)
* Map unmapped fields that have getter methods

* Fix the parts field in GhastEntityModel using the same name as its getter method

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

* Update outdated getter method names

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-07-27 19:44:57 +01:00
modmuss50 78fcff22ef 20w30a 2020-07-22 17:29:24 +01:00
liach 79b3bf1c4b
Less controversial new stuff (#1567)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-09 12:36:04 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
Shnupbups 8af9ff5509
Piglin Brutes and stuff (#1537)
* Piglin Brutes and stuff

* Delete RenameSwapHandsFix.mapping

* stuff

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-05 13:45:14 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
Joseph Burton ed2e3e3b29
A couple of goal fixes (#1527)
* A couple of goal fixes

* WanderAroundTarget -> WanderNearTarget
2020-06-28 17:44:59 +01:00
Yanis48 9937826d46
MobEntityWithAi -> PathAwareEntity (#1517) 2020-06-28 13:22:37 +01:00
Joseph Burton d3e8fd1935
Fix lots of spelling errors throughout yarn (#1506)
* Fix lots of spelling errors throughout yarn

* Delete empty comment
2020-06-24 17:34:48 +01:00
Shnupbups 987aa1a483
1.16 pre3 things (#1459)
* stuff

mapped every class except 5395 because i dont understand codecs lol

* dont mind me

* there we go

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/ai/goal/UniversalAngerGoal.mapping

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

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

Co-authored-by: jadon <jadonflower@gmail.com>

* Update EditGameRulesScreen.mapping

* 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>
Co-authored-by: jadon <jadonflower@gmail.com>
2020-06-18 20:17:05 +01:00
modmuss50 a4305ccae9 1.16-pre8 2020-06-17 17:11:43 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
liach 8619da580f
A bit entity brain/anger stuff (#1430)
* A bit entity brain/anger stuff

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

* Fix bad name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 15:33:41 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
liach b274a2e932
20w21a brain (#1387)
* 20w21a brain

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

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

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-22 12:40:53 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
Shnupbups 2cf6919014
stuff (#1334)
yep
2020-05-11 12:50:12 +01:00
Joseph Burton 1f8c97ed9f
Goal selector related mappings (#1336)
* Goal selector related mappings

* Update mappings/net/minecraft/entity/ai/goal/GoalSelector.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-07 16:07:12 +01:00
liach 9b001525fa
EntityCategory -> SpawnGroup, SpawnType -> SpawnReason (#1327)
* EntityCategory -> SpawnGroup, SpawnType -> SpawnReason

Closes #1315

* Fix missed name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-06 21:53:25 +01:00
Joseph Burton 7725dcb827
Lots of entity mappings (#1322)
* Lots of entity mappings

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
­Sollace 67a8a36b13
Misc Strider mappings (#1273)
* Misc strider mappings

* Fix conflic (Mountable was already mapped as "Saddle-able")
2020-04-16 02:47:24 +01:00
modmuss50 863b0e905c 20w16a 2020-04-15 16:34:32 +01:00
Yanis48 4a8babd645
Some entity stuff (#1277)
* entity things

* message methods
2020-04-14 15:01:24 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
Shnupbups 8cd54e4886
stuff (#1231)
* stuff

less cursed this time hopefully

* Apply suggestions from code review

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

* Update ItemSteerable.mapping

* Update HungerManager.mapping

* revert Quaternion changes

* supplier -> table

* Update CrashReport.mapping

* Apply suggestions from code review

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

* Update WorldBorderListener.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
liach d93a2d54d5
Map two new farmer tasks (#1229)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 23:14:46 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
Joseph Burton 4b2f6a5aa8
Pathfinding improvements (#1180)
* Pathfinding improvements

* n.m.block.BlockPlacementEnvironment -> n.m.entity.ai.pathing.NavigationType
2020-03-17 20:21:08 +00:00
modmuss50 9497721136 20w11a 2020-03-11 17:25:56 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
Joseph Burton 1d3ea3b886
fungi -> fungus (#1136) 2020-02-28 16:06:45 +00:00
modmuss50 8e7f7a8d35 20w09a 2020-02-26 17:56:39 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
LambdAurora f20fc8f630
Rename every view argument to world and random additions. (#1114)
* WIP on view argument nuking.

* More mappings.

* Nuke remaining view arguments.

* FeatureRendererContext#getTexture() ARG 1 wolf -> entity
2020-02-17 13:48:43 +00:00
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +00:00
liach 9b56dd3eec Networking stuff (#1096)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 14:31:14 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
liach f52dc8faa5 Mapped some entity logic stuff (#1013)
* Mapped some entity logic stuff

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

* Use updateCountdownTicks
2019-12-19 18:46:57 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
Runemoro 898fb4c9be Bee mappings (#981) 2019-11-24 01:18:13 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Runemoro 630bd1451b Refactor rendering (#930)
* Refactor rendering

* Revert #929 and map more things

* Fixes by liach

* Revert bufferBuilder -> buffer in fields too

* Fixes

* Update mappings/net/minecraft/util/MessageQueue.mapping

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

* Update mappings/net/minecraft/util/MessageQueue.mapping

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

* Suggestions by Player

* Fix some debug renderer names

* More mappings

* Fix

* Fixes by Player

* Improve BufferBuilderStorage names
2019-11-07 18:03:04 +00:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
modmuss50 b198b9c6ca Merge #822
# Conflicts:
#	mappings/net/minecraft/entity/LivingEntity.mapping
#	mappings/net/minecraft/entity/mob/MobEntity.mapping
#	mappings/net/minecraft/util/SystemUtil.mapping
2019-09-12 14:28:23 +01:00
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
NinjaPhenix 9350e9382e Renames some classes now shared by parrots and bees (#840)
* Renames some classes now shared by parrots and bees

* Renames Flutters to Flutterer due to recommendation in #yarn.
2019-08-26 22:34:19 +01:00
Shnupbups 3ae7d9f0a9 Fixed a typo (#836)
* Map LongArgumentSerializer (#813)

* Fixed a typo
2019-08-26 12:02:55 +01:00
modmuss50 5695254f64 19w34a 2019-08-22 14:39:40 +01:00
­Sollace 8f369ff52e Entity control mappings (#778)
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-07-16 20:22:47 +02:00
modmuss50 69808e7f6c 1.14.4-pre4 2019-07-10 14:32:43 +01:00
liach 08dc88d859 Mapped some non-realms stuff (#782) 2019-07-10 08:52:57 +02:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00