Commit Graph

600 Commits

Author SHA1 Message Date
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
frqnny e727668fbc
Rename BlockBox#empty to BlockBox#infinite (#2558) 2021-07-05 16:32:07 +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
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
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 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
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
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
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
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 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
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
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
LambdAurora 54b99399c7
Restore lost arguments and map some random stuff (#2426)
* Add back lost arguments.

* Map some random stuff.
2021-05-23 18:12:42 +00:00
apple502j b49df01f65
21w20a util stuff (#2424)
* 21w20a util stuff

* 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-23 18:12:20 +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 9d99817d84
framebuffer, screenshots, gl info (#2402)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-05-19 12:45:15 +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
apple502j a0d779e7b6
Map util stuff (#2386)
* Map util

* Update mappings/net/minecraft/util/snooper/Snooper.mapping

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

* Update mappings/net/minecraft/util/snooper/Snooper.mapping

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

* Rename methods of UserCache

* Revert BooleanBiFunction mappings for now

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-05-08 03:39:34 +00:00
enbrain a30bafcec5
Map math classes (#2364)
* Map math classes

* Fix typo: rotateZCoutnerclockwise -> rotateZCounterclockwise

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

* Move Rect2i to client/util/math

* Document the range of the return value

* Use @code for range

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

* Revert multiplyModel

* cumulativeProportions -> getCumulativeDistribution

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-05-04 18:25:42 +01:00
enbrain 17fead3d2e
Refactor coordinate names to follow conventions (#2366) 2021-05-04 08:46:46 +00:00
enbrain d974d8be2b
Map the parameter of all equals methods (#2363) 2021-04-30 17:03:23 +00:00
haykam821 1317eb48c0
Make the parameter for equals methods consistent (#2361)
* Make the parameter for equals methods consistent

Fixes #2299

* Add conventions for the correct parameter for equals methods
2021-04-29 17:12:46 +01:00
enbrain 3d5a2db229
Fix javadoc errors (#2348) 2021-04-25 22:46:10 +01:00
enbrain 7ad5228217
Document the Vec3d class (#2341)
* Document the Vec3d class

* oops

* reverseSubtract -> relativize

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

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

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

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

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

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

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

* Fix typo

* Fix doc (squared distance)

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-24 10:15:45 +01:00
apple502j a99ec0c4f0
21w16a stuff (#2340) 2021-04-23 19:08:59 +00:00
liach 01f3c5067b
structure piece holder and timed task nested class (#2315)
refactor some broken stuff

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-18 13:04:10 +00:00
­Sollace a00c699024
Yet more obscure stuff (#2323)
* Map some incidental fields

* Map the very hard to understand (unused) class. Name is WIP. Mahjong pls.

* ExpandingLongLinkedOpenHashSet -> LinkedBlockPosHashSet + docs

* Fix typo

* Apply suggestions from code review

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

* Update mappings/net/minecraft/util/collection/LinkedBlockPosHashSet.mapping

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-16 14:20:36 +00:00
SuperCoder79 1c509d5860
21w15a worldgen (#2336) 2021-04-16 14:19:52 +00:00
Shnupbups a046ab2dbb
21w15a stuff (#2330) 2021-04-15 12:41:15 +01:00
YanisBft 00a863b1b9
Map new int and height providers (#2328)
* Map new int and height providers

* oops

* oops again
2021-04-15 12:41:05 +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
liach 177f38b9aa
Last few top level classes (annotations) (#2321)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-12 13:23:18 +01:00
enbrain d7d90b87ce
Fix base and spread in UniformFloatProvider (#2305) 2021-04-11 13:09:21 +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
Shnupbups 19c661296a
more 21w14a stuff (#2300)
* stuff

mostly client stuff

* Apply suggestions from code review

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

* 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-04-10 18:09:14 +01:00
enbrain 0992c71424
Map and document the Box class (#2304)
* Map and document the Box class

* method_35580 -> contract

* Add javadoc links

* Update mappings/net/minecraft/util/math/Box.mapping
2021-04-10 14:05:02 +01:00
enbrain ec97f0745c
Map Matrix3f and Matrix4f (#2297)
* Map Matrix3f and Matrix4f

* Use row first/column first than transpose or not
2021-04-09 19:50:40 +01:00
­Sollace 2caa310241
Map the internals of PackedIntegerArray. (#2285)
* Map the internals of PackedIntegerArray. Some values taken from #1686

* Update mappings/net/minecraft/util/collection/PackedIntegerArray.mapping

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

* Map BitStorageAlignFix

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.mapping

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

* Update mappings/net/minecraft/datafixer/fix/BitStorageAlignFix.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-07 16:56:58 +01:00
­Sollace fba9d9e178
Map misc weighting stuff (#2281)
* Map misc weighting stuff

* Map pools and move to the collection package

* Implement @liach's suggestions

* More code review

* Move pool to the correct package

* God dammit Enigma

* Bleh

* decode -> mapCodec

* Update mappings/net/minecraft/util/collection/Pool.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/ImmutablePool.mapping

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

* ImmutablePool -> DataPool

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* Update mappings/net/minecraft/util/collection/Weighted.mapping

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

* WeightingUtil -> Weighting

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-07 16:56:50 +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
Shnupbups f0f341e715
util 21w13a stuff (#2273)
* util stuff

* Apply suggestions from code review

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

Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-05 11:30:17 +01:00
liach 0bc94eeaeb
Some network stuff, and minor atomic stack/affine transformation revisit (#2246)
* Some network stuff, and minor atomic stack/affine transformation revisit

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

* typos

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

* Let unpick glitch. I'm hopeless

* End of experiment

the uncommented ones work while the commented ones don't

Turns out unpick is unpicking what's exposed to the public api than
what's in the method body. So yeah, not much valuable stuff to unpick
in network package as a result.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-03 15:02:25 +01:00
­Sollace 9d9739c2ad
Map the debug profiler classes (#2212)
* Map the debug profiler classes

* Place Recorder in the correct package

* A few more tweaks and fixes

* Update mappings/net/minecraft/client/util/profiler/SamplerFactory.mapping

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

* Update mappings/net/minecraft/client/util/profiler/SamplingRecorder.mapping

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-04-03 15:01:53 +01:00
Lava 8a1b1ea1c2
Re-add WeightedList mappings (#2252) 2021-04-02 19:06:29 +01:00
liach e9fdb87bed
Assorted fixes (#2253)
Always name registry fields. Otherwise the name inference messes things up.
Javadocs start building again
Cfr decompile fails because decompileClasspath is resolved too early
and cannot be modified in downloadMcLibs

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-02 19:01:34 +01:00
Shnupbups 5c895a7da4
21w13a misc stuff (#2233)
* misc stuff

* nbt_key -> key
2021-04-02 13:01:06 +01:00
Alexander c58cee8a8d
Util math IntProviders (#2221)
* Util math IntRanges

* [Fix] Renamed similar to FloatProviders

* Add builder lambda parameters names

* Update mappings/net/minecraft/util/math/intprovider/IntProvider.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-02 10:27:05 +01:00
liach d440a7188c
Two annotations. They write cursed annotations (#2241)
* Two annotations. They write cursed annotations

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

* stuff

* Update mappings/net/minecraft/obfuscate/DontObfuscate.mapping

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com>
2021-04-02 10:26:16 +01:00
BoogieMonster1O1 660a99737f
BlockBox mappings (#2239) 2021-04-01 19:58:05 +01:00
Alexander 97eab003b3
BlockPos mappings (#2237)
* BlockPos mappings

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-04-01 19:54:46 +01:00
Juuxel 187b0bc81a
Add nonnull annotations (#2244)
* Add nonnull annotations

* Move to util.annotation

* Add docs
2021-04-01 19:45:28 +01:00
liach 771d2c5cbd
Fixes javadoc gen for 21w13a (#2238)
Closes #2217

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-04-01 08:49:22 +01:00
apple502j ed764a5358
Map MathConstants (#2214)
* Map MathConstants

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-31 20:55:20 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
YanisBft 1e6db48a06
Some world stuff (#2202) 2021-03-30 22:24:22 +01:00
SuperCoder79 330aeee0fb
Refactor some worldgen names (#2175)
* Refactor some worldgen names

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-03-23 13:05:29 +00:00
apple502j 7ea618ed76
Map a lot of util methods and stuff (#2172)
* A lot of util mappings

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

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-03-21 13:13:33 +00:00
Shnupbups 76d049b459
21w11a stuff (#2160)
* 21w11a stuff

* fixes

* spriteProvider

* funni lightning haha

* javadoc
2021-03-20 11:15:54 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
mschae23 9fb9461398
Mapped world gen noise interpolator (#2138)
* Mapped world gen noise interpolator

* Noise3DInterpolator -> NoiseInterpolator

* Use SuperCoder79's suggestions

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

Co-authored-by: SuperCoder7979 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-15 14:49:32 +00:00
haykam821 f46af2fa9b
Map vertical surface types (#2128) 2021-03-12 20:18:13 +00:00
liach 9ae5d6af60
Add missing methods for util math from 10a update (#2126)
* Add missing methods for util math from 10a update

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

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

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
2021-03-11 23:32:53 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
SuperCoder79 5b8943ee10
21w08b worldgen mappings (#2116)
* 21w08b worldgen mappings

* Apply suggestions from code review

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

* Apply suggestions from code review

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>

* Update mappings/net/minecraft/world/gen/feature/Feature.mapping

Co-authored-by: liach <7806504+liach@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-03-09 19:52:29 +00:00
liach 70f7e4cfe0
Some util mappings (#2083)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-27 10:57:26 +00:00
modmuss50 1bc0fa389c 21w08a 2021-02-24 19:41:03 +00:00
SuperCoder79 625f8bd4ea
21w07a worldgen mappings (#2089)
* 21w07a worldgen mappings

* Update mappings/net/minecraft/world/gen/decorator/Decoratable.mapping

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-18 22:03:29 +00:00
liach 7c8ac787c8
Codecs.XorCodec (#2084)
* Codecs.XorCodec

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

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

Co-authored-by: i509VCB <i509vcb@gmail.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: i509VCB <i509vcb@gmail.com>
Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-18 18:01:27 +00:00
liach be4b29287b
Move registry lookup codec to dynamic (#2068)
Solves the one package warning for registry lookup codec

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-17 18:16:29 +00:00
liach 896d6340d5
Move affine transformation and vector 4f to regular util math (#2074)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-15 22:40:39 +00:00
liach 288f20b7d5
Map atomic stack (#2054)
* Map atomic stack

Now all top level classes are mapped, or at least have a pr that maps them

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

* Update mappings/net/minecraft/util/thread/AtomicStack.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-13 13:04:32 +00:00
haykam821 b32a964e46
Map new methods added to the MathHelper class in 21w06a (#2043)
* Map new methods added to the MathHelper class in 21w06a

* Fix the first parameter of the lerpFromProgress method being incorrectly named larpValue
2021-02-10 20:16:20 +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
modmuss50 16b9ec5cf2 21w06a 2021-02-10 18:42:45 +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
Kroppeb f1a60b3f99
Mapped some stuff in util.math (#2010)
* Mapped some stuff in util.math

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

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

* changed to

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-02-05 08:20:56 +00:00
SuperCoder79 34808daff7
21w05a worldgen mappings (#2016)
* 21w05a worldgen mappings

* consume -> skip

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-04 18:34:17 +00:00
modmuss50 323e6f8e29 21w05a 2021-02-03 19:34:30 +00:00
Shnupbups 4f69f09764
Util package stuff (#1994)
* util stuff

* Apply suggestions from code review

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

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

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

* Update Identifier.mapping

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-02-02 17:57:50 +00:00
liach 852f1e5c3d
codec utilities (#2001)
* codecs extra stuff. why are they reluctant to update dfu 🤔

also util.toIntArray double and int version both now named toArray

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-02-02 17:53:26 +00:00
YanisBft ecb173a29a
Various stuff (#1987) 2021-01-31 12:37:36 +00:00
modmuss50 a6ba184207 21w03a 2021-01-20 19:22:41 +00:00
yyny a94825617b
Complete Util mappings (#1961) 2021-01-19 18:58:47 +00:00
YanisBft 553ad17e3c
Random stuff (#1947) 2021-01-03 20:53:34 +00:00
YanisBft 7a3b5e7c30
Beacon beam rendering and other be renderers (#1944)
* Beacon beam rendering and other be renderers

* missing parameters

* follow conventions
2020-12-31 14:23:15 +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
SuperCoder79 ed7e60a9fb
Random misc world gen mappings (#1908)
* Random misc world gen mappings

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-23 18:37:43 +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
yitzy299 80fbe2cea7
Mapped parts of ScreenHandler (#1910)
* Mapped some methods in ScreenHandler

- Mapped method_30010 as removeStack
- Mapped some variable related to these methods
- A few more mappings in ScreenHandler

* Complete requested changes from PR review

- Changed back unrelated methods
- Fixed an area of ambiguity in onSlotClick

* Changed slotid to slotIndex

Fixing issue raised by Juuxel
2020-12-09 13:21:10 +00:00