Commit Graph

2332 Commits

Author SHA1 Message Date
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
liach 3e0278676c
rc2 stuff (#2565)
* rc2 stuff

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

* Don't use weird arrow

Co-authored-by: liach <liach@users.noreply.github.com>
2021-07-10 12:27:42 +01:00
ByMartrixX 62fb2bda10
Block render mappings (#2567)
* Block render mappings

* isBlockEntityInRenderDistance -> isInRenderDistance
2021-07-10 12:27:34 +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
enbrain 11f052803c
Fix the parameter of SliderWidget.setValue (#2570)
* Fix the parameter of SliderWidget.setValue

* Fix format
2021-07-10 12:27:23 +01:00
Juuxel 1eee701121
MinecraftClient.openScreen -> setScreen (#2526)
* MinecraftClient.openScreen -> setScreen

Closes #1597.

* Fix javadoc error in Item.Settings

* 'currently opened' -> 'previous'

* Improve jd

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:27:09 +01:00
LambdAurora 3299249a97
ItemStack refactor and documentation. (#2511)
* ItemStack refactor and documentation.

* shouldSyncNbtToClient -> isNbtSynced

* Fix method name.

* Improve consistency.

* More documentation.

* NBT operations documentation.

* Fix bad link, add Sub part to operations to Sub NBT.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-10 12:26:50 +01:00
modmuss50 648897cd3e 1.17.1-rc2 2021-07-05 16:40:11 +01:00
liach 7c2336e817
Camera projection (#2532)
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-05 16:32:18 +01:00
apple502j 7d14ba4a2f
Map more screens stuff (#2546)
* Map more screens stuff

* Update mappings/net/minecraft/client/gui/screen/DeathScreen.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 isNarratable/BeaconButtonWidget

* narratorTimer -> lastNarrationTime

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-07-05 16:32:12 +01:00
frqnny e727668fbc
Rename BlockBox#empty to BlockBox#infinite (#2558) 2021-07-05 16:32:07 +01:00
frqnny ff0c40d8a1
Misc structure gen mappings (#2559)
* Misc structure gen mappings

* Update javadoc
2021-07-05 16:32:02 +01:00
liach 0bcc427a29
A few unnamed item renderer stuff (#2547)
Signed-off-by: liach <liach@users.noreply.github.com>
2021-07-04 15:39:31 +00:00
liach ab850df1d7
PortalUtil -> BlockLocating, and findColumnEnd (#2514)
Fixes #2510

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-04 01:31:50 +01:00
Juuxel 91c7aa7036
Block.addStacksForDisplay -> appendStacks + docs (#2538)
Closes #2537.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-04 01:31:17 +01:00
apple502j db44f9c249
1.17.1-rc1 stuff (#2540) 2021-07-04 01:31:01 +01:00
modmuss50 9d8a096c5f 1.17.1-rc1 2021-07-01 17:21:19 +01:00
mschae23 d3ce24bdd9
Mapped ore vein and noodle caves generator (#2531)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-01 13:54:48 +01:00
YanisBft f3a7d261e1
Some datafixer methods and fields (#2536)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-01 13:54:37 +01:00
Juuxel 7a6582f2dd
Document SpawnEggItem.getColor (#2539) 2021-07-01 13:54:27 +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
Technici4n 8d5c0505e8
Name missing handled screen method (#2533)
* Name missing handled screen method

* Fix wrong param as well
2021-06-29 17:20:12 +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
YanisBft 4e2c6d333a
41 client constants (#2497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:36 +01:00
haykam821 73e8c1e92e
Document the DyedCarpetBlock class (#2498)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-28 15:22:20 +01:00
YanisBft 23dce9491b
Random server mappings (#2512)
* Random server mappings

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

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

* update enigma

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-06-28 15:22:10 +01:00
Alexander 1763ecc994
Some NativeImage methods (#2522)
* Some NativeImage methods

* getColorOrLuminance -> getColor
2021-06-28 15:21:44 +01:00
apple502j ec09b29d49
Map screen handlers (#2523) 2021-06-27 11:18:10 +01:00
ByMartrixX 4af63f77cf
Map debug renderers stuff (#2520)
* Map some things in VillageDebugRenderer

* Map constants in BeeDebugRenderer

* PathfindingDebugRenderer mappings

* StructureDebugRenderer mappings

* GameEventDebugRenderer mappings

* ChunkLoadingDebugRenderer mappings

* GoalSelectorDebugRenderer and HeightmapDebugRenderer mappings

* GameTest, RaidCenter, VillageSections and SkyLight DebugRenderers mappings

* Apply suggestions from code review

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

* getNamesOfVillagersWithPotentialJobSite -> getNamesOfJobSitePotentialOwners and
getNamesOfVillagersWithPointOfInterest -> getNamesOfPointOfInterestTicketHolders

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-27 11:13:39 +01:00
enbrain 32152b6855
Document EntityVelocityUpdateS2CPacket and ExplosionS2CPacket (#2521) 2021-06-27 11:13:17 +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
apple502j baec669196
Map resource package params (#2515)
* Map resource package params

* Update mappings/net/minecraft/client/resource/metadata/AnimationFrameResourceMetadata.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-24 14:14:30 +01:00
haykam821 be992dfd43
Map lambda parameters in the BooleanBiFunction class (#2516) 2021-06-24 14:14:01 +01:00
liach 743dedee46
some util dynamic stuff (#2502)
* some util dynamic stuff

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

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

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-06-21 12:00:15 +01:00
apple502j 930449aca3
Map realms, again (#2505)
* Map realms, again

* Consistent capitalization of "tooltip"

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

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-06-21 11:59:03 +01:00
haykam821 0d177cd2e2
Rename the createTreeFeature and createLargeTreeFeature methods to indicate that they return a constant reference to a configured feature (#2508)
Fixes #2506
2021-06-21 11:58:53 +01:00
apple502j 45146d364a
Use "tooltip" instead of "toolTip" (#2509) 2021-06-21 11:58:38 +01:00
modmuss50 39bf6bccf6 1.17.1-pre1 2021-06-18 14:36:45 +01:00
jackassmc 62a05f3c86
Map SplashOverlay.renderProgressBar (#2495)
* Map SplashOverlay.renderProgressBar

* Improve renderProgressBar args
2021-06-16 13:06:23 +00:00
Yan Chubikov eb10920c4f
change SplashScreen to SplashOverlay (#2494)
SplashScreen does not extend Screen but instead Overlay.
2021-06-14 03:45:29 +00:00
frqnny e2e461741a
Add mappings to StructurePoolElement (#2489)
* Add mappings to StructurePoolElement

* Update the mappings

* Add one more method
2021-06-12 13:59:03 +00:00
YanisBft 5b8aaf9ec5
Some constants (#2487) 2021-06-12 00:32:38 +01:00
enbrain 44bbc4c531
Rename fontRenderer to textRenderer (#2491) 2021-06-12 00:32:20 +01:00
Frank 1d4e5813b5
Mapping for `TextRenderer method_37296` (#2488) 2021-06-11 11:32:32 +00:00
haykam821 fc64c34532
Document the ProjectileDispenserBehavior class (#2485)
* Document the ProjectileDispenserBehavior class

* Fix a grammatical issue in the documentation for the createProjectile method

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-10 09:25:33 +00:00
YanisBft 86a0f7ffb8
Some client mappings (#2481)
* Some client mappings

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@users.noreply.github.com>

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

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

Co-authored-by: ByMartrixX <47987888+ByMartrixx@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-06-09 00:16:31 +01:00
Draylar d49bf4a58f
JavaDocs for Item and Item.Settings (#1792)
* item mappings

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

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

* Grammar fix from Items's to Item's

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

* fix Item capitalization

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Fix style issues. Use inline return

* Fix javadoc format error

* Remove periods at the end of inline returns

* Update Item.mapping

Co-authored-by: Gegy <gegy1000@gmail.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>
Co-authored-by: ByMartrixx <bymartrixx@gmail.com>
2021-06-09 00:14:38 +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
ByMartrixX 979e16e976
Map field_29709 and field_29735 (#2483) 2021-06-09 00:14:10 +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
ByMartrixX 0cb9a06afb
Some block constants (#2477)
* Some block constants

* Fix typo, rename field_31008 and name field_31007

* Update mappings/net/minecraft/block/TargetBlock.mapping

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

* Update mappings/net/minecraft/block/TargetBlock.mapping

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-06-07 14:46:44 +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
YanisBft 6d169d5422
Structure package constants (#2473)
* Structure package constants

* forgot that

* does this matter?

* remove block box prefix

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:44:50 +01:00
apple502j 23e05df05b
1.17-pre4 client stuff (#2466)
* 1.17-pre4 client stuff

* Apply suggestions from code review

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

* Rename TextHandler methods

* 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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-07 14:42:29 +01:00
ByMartrixX 8ef1ad747e
1.17-rc2 stuff (#2480) 2021-06-07 14:41:08 +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
liach e8461bf968
return inlining, up to enchantment package (#2461)
* return inlining, up to enchantment package

see #2454

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

* Apply suggestions from code review

Typos

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-07 14:40:13 +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
haykam821 d3b85ba3b8
Map the remaining block state fields used in configured features (#2471) 2021-06-05 09:33:13 +00:00
mschae23 885a4c839c
Some world gen mappings (#2457) 2021-06-05 09:32:55 +00:00
liach c096068118
Map perfcommand (incomplete) and fix zip compressor mappings (#2459)
* Map perfcommand (incomplete) and fix zip compressor mappings

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

* Fix perf command (after rebasing)

Co-authored-by: liach <liach@users.noreply.github.com>
2021-06-05 09:32:32 +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
apple502j a308aa67e3
Map getLuminanceSupplier methods (#2464)
* Map getLuminanceSupplier methods

* Update mappings/net/minecraft/block/CaveVines.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-04 07:25:04 +00:00
ByMartrixX b96c56fcd5
Map /perf command (#2460)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-03 22:00:12 +01:00
modmuss50 407aab9955 1.17-pre5 2021-06-03 19:30:06 +01:00
modmuss50 a8eaec9181 1.17-pre4 2021-06-02 17:47:23 +01: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
liach 382232eee2
Some function stuff (#2433)
* Some function stuff

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

* typo

* This is actually only used by scheduled/tick functions

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-06-02 15:42:32 +01:00
ByMartrixX 5664605164
Name remaining world event (#2458)
* Name remaining world event

* Add unpick definition, remove trailing space in javadoc

* Revert "Add unpick definition, remove trailing space in javadoc"

This reverts commit 93edb9020c.

* Add unpick definition, remove trailing space in javadoc (this time without extra things)

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-06-02 11:14:12 +01:00
modmuss50 7f35349e0f
Screenshooter -> ScreenshotRecorder (#2456)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-06-02 11:13:48 +01:00
modmuss50 c13a13d765 1.17-pre3 2021-06-01 17:22:33 +01:00
enbrain 037c2c05f6
Map InGameHud and its inner class (#2450)
* Map InGameHud and its inner class

* Make it a link that goes to the actual field

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

* Update javadoc of renderStatusBars

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-06-01 16:43:38 +01:00
apple502j 78c11e972b
Map two new classes used in profiler (#2451)
* Map two new classes used in profiler

* Rename methods

* toProfilerString -> collect

* Name changes for consistency
2021-06-01 16:39:22 +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
enbrain 4cbae4eb7f
Fix swapped names in Matrix3f and Matrix4f (#2453)
* Fix swapped names in Matrix3f and Matrix4f

* first -> major
2021-05-31 17:20:25 +01:00
ByMartrixX bd12181cb1
Map TradeOffers constants (#2449)
* Map TradeOffers constants

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-31 17:19:40 +01:00
liach da2b442a92
Some required tag details (#2442)
* Some required tag details

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

* Forgot removing capitalizating when adding "Creates and"

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-05-31 17:19:24 +01:00
liach 6ad6ee9694
Some collision stuff, fixes #2443 (#2444)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-31 17:18:53 +01:00
ByMartrixX 668e0274c5
Map some shared constants (#2447)
* Map some shared constants

* Update mappings/net/minecraft/SharedConstants.mapping

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

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
2021-05-31 17:18:27 +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
enbrain 4757c9a8c4
Map player list hud (#2439)
* Map player list hud

* Remove 'which is'

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

* lasthealth -> lastHealth

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-05-29 12:03:14 +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
YanisBft fa70358202
1.17-pre1 criteria (#2435) 2021-05-28 22:13:43 +00:00
Juuxel 9ccbdabbef
Rename HandledScreen.displayName -> playerInventoryTitle (#2434)
It's the display name of the player inventory, which in
a screen corresponds to its title.
2021-05-28 22:13:28 +00:00
marcus8448 ded034807f
Rename ShapedRecipe#getItemStack to getItem (#2440) 2021-05-28 08:08:52 +00: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
Alexander 8e7ee74ad5
Screen Narration stuff (#2425)
* Screen Narration stuff

* Function name fixes, removed semi-outdated documentation

* Update mappings/net/minecraft/client/gui/screen/narration/NarrationMessageBuilder.mapping

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

* Update mappings/net/minecraft/client/gui/screen/Screen.mapping

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

* getTitleNarrationMessage -> getNarratedTitle

* net/minecraft/util/ToStringTransformer -> net/minecraft/client/gui/screen/narration/ToStringTransformer

* ToStringTransformer -> Narration

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Readd lost in merge Screen::remove

* Keep existing clearChildren name

* Update mappings/net/minecraft/client/gui/screen/narration/Narration.mapping

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

* Update mappings/net/minecraft/client/gui/screen/Screen.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-05-26 11:08:37 +01:00
apple502j 3e70d627b7
Map server stuff (#2428)
* Map server stuff

* Apply suggestions from code review

Still need to fix a few things.

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-26 03:35:43 +00:00
jackassmc b830235152
Map Minecraft logo outline method (#2432)
* Map Minecraft logo outline method

* Rename to drawWithOutline

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

* Document consumer

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-05-25 20:36:44 +00:00
liach 6be1599808
Model predicate provider registry minor (#2420)
Works well with #2417

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-24 14:49:59 +01:00
liach 93ec3e9798
Block list checker for the allowed address resolver (#2418)
Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-24 14:49:41 +01:00
apple502j 32a23a2cb9
21w20a gui (#2421)
* 21w20a gui

* Rename ScreenTexts methods
2021-05-24 14:49:17 +01:00
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