Commit Graph

192 Commits

Author SHA1 Message Date
LambdAurora fd21c81c4c
Backport 21w20a mappings to 1.16.5 (#2427)
* Backport mappings from 21w20a to 1.16.5.

* Include missing parts.

* Fix bad BlockBox backport.

* Revert backport errors and backport GuardianEntityModel mappings.

* WIP fixing javadocs.

* Backport ResourceReloader manually.

* Backport missing parts and fix broken javadocs.

* revert a couple of names (#1)

* Update mappings/net/minecraft/util/math/BlockBox.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>
2021-06-17 08:59:49 +01:00
i509VCB 99d6a174fe
Some block javadoc (#1669)
* Some block javadoc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-08-08 17:32:42 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
Yanis48 4b5dadbafa
Quick fixes (#1534)
* Quick fixes

* Update EntryListWidget.mapping
2020-07-05 13:45:54 +01:00
Juuxel f17244efd8
Block.replaced/replaceBlock -> replace (#1528)
* Block.replaced -> replaceBlock for consistency

It just delegates to replaceBlock with one constant parameter,
making it an overload. In addition, the method with the same signature
in 1.15 was called replaceBlock, so this matches that.

* Block.replaceBlock -> replace, add docs
2020-07-03 13:21:03 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
i509VCB 8a6a1db2ce
Map chunk and chunk statuses (Reattached) (#1511)
* Map chunk and chunk statuses

* Update mappings/net/minecraft/world/chunk/ProtoChunk.mapping

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

* So we don't have #1493 here

* chunks is fine

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

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

* Update ChunkStatus.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-26 12:34:45 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
i509VCB 428928b420
A bunch of param names (#1436) 2020-06-07 16:01:40 +01:00
Yanis48 1f2d9d7e4b
Bring back the parameters (#1307)
* Bring back the parameters

* better

* isBlock -> matches

* matches -> is / isOf
2020-05-02 13:31:02 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
Yanis48 19270ae02a
Random fixes (#1265)
* bug fixes

* Update BlockEntity.mapping

* abcd -> xyzw

* closes #856
2020-04-07 00:29:55 +01:00
liach c785526e75
block bad names and glstatemanager bad stuff, rotation3 -> affine transformation (#1244)
* block bad names and glstatemanager bad stuff, rotation3 -> affine transformation

close #1224, close #1233, close #1234, close #1241

* Update mappings/com/mojang/blaze3d/platform/GlStateManager.mapping

Co-Authored-By: Yanis48 <doublecraft.official@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-04-01 17:32:46 +01: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
Prospector 462812a68e
Container -> ScreenHandler (#1106)
* Container -> ScreenHandler

* Fix first set of issues (excluding comments)

* Fix comment issues
2020-03-08 22:18:57 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +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
Yanis48 692f7fadd9
Random fixes (#1109)
* fiiiiiiiiiiixes

* revert for c2s packet

* "loot table" -> "table"

* juuxeled
2020-02-17 13:46:39 +00:00
Juuxel 8187935ba8
Change EntityContext params from ePos to context (#1104) 2020-02-09 14:29:52 +00:00
Juuxel 870a3395ab Container and ContainerScreen improvements (#1035)
* Property mappings and javadoc

* BlockContext docs

* Add javadocs, param names, stacks -> trackedStacks

* Port more changes from Container -> Menu

- (Nameable)ContainerProvider -> (Nameable)ContainerFactory
  Prevents conflicts with the ContainerProvider used in screens.

- ContainerScreen9/54 -> Generic(3x3)ContainerScreen
  To match the menu class names.

- ClientDummyContainerProvider -> SimpleNamedContainerFactory
  Closes #889.

- AbstractContainerScreen -> ContainerScreen
  Removed pointless abstract prefix.

* Fix some block methods, PlayerContainer tweaks

* Networking-related container mappings
2020-01-21 18:21:12 +00:00
Yanis48 1fd1bad3dc (Block) entity position fixes (#964, #998, #1046, #1061) (#1051)
* fixed things

* deserialize2 -> deserialize

* (Block) entity position fixes

* setPosition -> setPos

* fixed #1061
2020-01-17 19:48:35 +00:00
liach 260c102750 1.15 pre 5 new mappings and other cumulative new mappings (#996)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-12-05 23:28:21 +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
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
Juuxel d9a890e5dc Fix various issues (#966)
* Fix various issues

Fixed TextRenderer.draw parameter names. Closes #965.
RabbitEntity.method_20669 -> canSpawn. Closes #956.
Block/Fluid.stateFactory + getters -> stateManager. Closes #957.
MinecraftServer.advancementManager + getter -> advancementLoader.
ServerPlayerEntity.advancementManager + getter -> advancementTracker.
Closes #960.
PlayerManager.getAdvancementManager -> getAdvancementTracker.
PlayerManager.advancementManagerMap -> advancementTrackers.
Fixed typo in StatePredicate.test param name (sate -> state).

* PlayerManager.advancementManagerMap -> advancementTrackers

* liach's suggestion
2019-11-19 14:22:22 +00:00
modmuss50 b8403e7661 19w42a 2019-10-16 18:09:47 +01:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
liach e68c809d40 19w36a: The art of nether update (#862)
* 19w37a biomes mappings

also mapped that new world thing to VoxelView (all methods mapped)

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

* Fixes two broken packages

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

* access -> getStored

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

* Few biome fields nearby

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

* voronoi

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

* cull -> culling

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

* voxelview -> worldview, biomeaccessor -> biomeaccess, biomeaccessstrategy -> biomeaccesstype

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

* Other improvements

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

* fix biome access name in chunkregion

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

* addSalt, map another biome array field, also move access things to world/biome from world/biome/source package

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

* Revert the is full cube name

(It was like whether to check neighbor for shape check)
2019-10-09 17:44:19 +01:00
Juuxel 174d38ad30 Drop 'on' prefixes from block tick methods, Block.activate -> onUse (#886)
* Drop 'on' prefixes from block tick methods, activate() => use()

* use -> onUse
2019-10-03 13:19:48 +01:00
Laura F. D 0357243c9f isOpaque backing field/block settings (#885) 2019-09-30 21:26:00 +01:00
Juuxel d9447e37cc Randoms and datafixers (#871)
* Some random mappings

* Revert block tick method renames
2019-09-29 18:46:25 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 2565f0b45b 19w38a 2019-09-18 16:17:05 +01:00
Shnupbups c9f29349e4 Some stuff (#854) 2019-09-15 13:05:47 +01:00
modmuss50 4130e35c88 Merge #848
# Conflicts:
#	mappings/net/minecraft/world/CollisionView.mapping
#	mappings/net/minecraft/world/chunk/light/LightingProvider.mapping
2019-09-12 14:34:29 +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
Shnupbups 4243e9813b Mapped lots of random things (#794)
* Stuff

* more stuff

* even more stuff

* removed an accidental thing

* stuff 4: electric boogaloo

* Update BlockState.mapping

* Stuff VI: The Search for Stuff V

* Update NativeImage.mapping

* removed things already mapped by Rune's PR

Namely `net/minecraft/realms/YesNoScreen' (`com/mojang/realmsclient/gui/screens/RealmsConfirmScreen` in Rune's PR), `net/minecraft/realms/RealmsError' (`com/mojang/realmsclient/client/RealmsError` in Rune's PR), and `net/minecraft/realms/InvalidClientScreen' (`com/mojang/realmsclient/gui/screens/RealmsClientOutdatedScreen` in Rune's PR).

* Stuff: The Final Stuffening

* Stuff: Revengeance

* Stuff Episode IX: Endgame
2019-07-31 15:20:12 +01: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
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
modmuss50 b6ed693b8d 1.14.3-pre4 2019-06-19 20:24:08 +01:00
modmuss50 b27778997a 1.14.3-pre3 2019-06-19 18:48:53 +01:00
modmuss50 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
Chloe Dawn 510f8cbc08 Text refactoring + related mappings (#737)
* Text refactoring + related mappings

* Add a more explicit name for the truncated string getter

* Move Formatting to util package and fully map members

* Advancement#toHoverableText

* Correct mappings in ScoreboardObjective

* Various changes in NbtText and subclasses

* JSONREADER -> JSON_READER

* Shorten TranslatableText argument getter to getArg

* Cleanup mappings in Difficulty class

* Fix Style$Serializer#deserialize json parameter name

* Cleanup some field names in TranslatableText

* More changes to NbtText

* Fix incorrect method name in Texts

* toGreenText -> join

* Use more semantically correct name joinOrdered

* Fix method name in Entity

* Actually fix the method names.. derp
2019-06-07 12:18:04 +01:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
Adrian Siekierka 7d5de74139
Block.isOpaque, Phase tick mappings (#708) 2019-05-18 21:45:50 +02:00
NeunEinser 86634d3461 some new 1.14.1-pre1 stuff (#686) 2019-05-07 23:48:07 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
Runemoro 892d4afb41 FIx issues (#680)
* FIx misnamed things

* Game options and mysterious setblockstate boolean

* a

* Remove duplicate class, remove enum constant from Unit
2019-05-07 15:21:22 +01:00
NeunEinser 802650ea21 Removed enum constants were auto mapping works, added them where it does not. (#663) 2019-05-06 17:57:44 +01:00
quaternary b0db177b4f Lots of fields, methods, params relating to blocks and their internals (#651)
* Lots of fields, methods, params relating to blocks and their internals

* Woops

* More STUFF! 😱

* Woops 2 electric boogaloo

* Minor text fix with pistons

* Reviews

* Map Block#n and friends

* Reviews

* 💩

* snowman -> snow golem

* Consistification with wither skull

* s/nt//

* rightChest/leftChest... might be backwards?
2019-05-05 23:31:29 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
Runemoro 4ce0451a0a Block mappings (#638)
* Block mappings

* upddate -> update

* maxFrostedIceNeighborCount -> maxNeighbors

* tickViewerCount
2019-04-18 21:50:55 +01:00
modmuss50 782b07c692 1.14 Pre-Release 4 2019-04-17 17:41:25 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
SquidDev 6216cbc25c Map a collection of random methods (#608) 2019-04-12 15:16:19 +01:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
modmuss50 845be1d2ec 19w14a 2019-04-03 17:16:41 +01:00
modmuss50 0580b466fb 19w13b 2019-03-29 16:19:26 +00:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
modmuss50 6d38740b83 19w12b 2019-03-21 18:06:36 +00:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
modmuss50 a7eee8f064 Fix inner class names 2019-03-14 19:41:19 +00:00
modmuss50 eef3d973f2 Save in enigma, removes some propagated method names 2019-03-14 16:26:35 +00:00
modmuss50 e3d24ae102 19w11b 2019-03-14 15:39:51 +00:00
Adrian Siekierka 333e59da73 19w11a 2019-03-14 13:57:09 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
Runemoro cb61641543 World mappings 2019-02-10 02:49:48 -05:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
Adrian Siekierka 1bfe80a06a update to 19w05a 2019-01-30 18:48:39 +01:00
Adrian Siekierka 995df6291a update to 19w04a/Enigma 0.13.x 2019-01-24 20:10:22 +01:00
Runemoro 20ffe31834 Block entities and blocks (#417) 2019-01-24 17:08:22 +01:00
Virtuoel 8dba2b66d6 Tooltip method consistency and minor spelling fixes (#418) 2019-01-22 22:44:40 +01:00
Adrian Siekierka 37e4c7616b update to 19w03b 2019-01-18 00:35:46 +01:00
SquidDev a8ded28d5f Some ray tracing shenanagins (#410)
* Map some simple ray tracing functionality

* Rename getBoundingShape to getOutlineShape

This matches the enum in RayTraceContext
2019-01-18 00:32:27 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Gegy 0906c04bb4 Worldgen mapping (#382)
* World gen mappings

* Generator config mapping
2019-01-09 09:51:49 +01:00
Adrian Siekierka ce9f853b25
fix #371 (#380) 2019-01-09 09:49:06 +01:00
gudenau 874defb5cc A handful of Block mappings (#344)
Probably made a mess of things, first try after all.
2018-12-21 22:34:57 -05:00
Adrian Siekierka afd4b9c54d
tweak model renderer-related class naming, move some things around (#345) 2018-12-20 22:29:19 +01:00
SquidDev a847209178 Several changes to blocks (#287)
Apologies for PR spam, just this one has a couple of changes I was unsure of, so it felt cleaner to split it into something separate:

 - I'm a bit conflicted on `.getCollisionShape` - it appears to be used both
for entity collision and determining if a block's side is a "full cube" (and so can have torches placed against or w/e)
 - I've renamed `getRenderingState` to `getStateForNeighborUpdate`, though am not 100% it's a good name - it may also perform side effects (mostly scheduling this block to be ticked next thread), so isn't quite a pure getter.
2018-12-14 17:18:57 -05:00
Adrian Siekierka c8152014af rebuild method names 2018-12-12 18:22:18 +01:00
Adrian Siekierka e9ccf701a7 port to 18w50a 2018-12-12 18:12:26 +01:00
therealfarfetchd aff4547d93 Mapping a lot of block related classes (#267)
* Block related mappings

* Block related mappings, pt2

* Block related mappings, pt3

* Darnit, it ate my files again

* Unmap BaseFluid#g()Z

* prevState -> oldState

* apply some change suggestions

* Hopefully unmap all local variables

* T data -> T object
2018-12-12 15:08:04 +00:00
kashike 4a1f5474ea builder-friendliness (#260) 2018-12-11 07:45:42 -05:00
Adrian Siekierka 9502bd793e a few renames 2018-12-09 17:00:06 +01:00
Prospector c2c85a6606 Literally low-hanging fruit (#244) 2018-12-06 08:13:30 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
kashike ff74e3d54f map colour -> material colour (#233) 2018-12-03 20:12:19 +01:00
SquidDev 2367df1d42 Add back several mappings dropped in the latest snapshot (#226)
* Add mappings back for GUI methods

* Add back argument mappings for blocks

And some other changes. I rather forgot.

* Item and entity arguments

* A whole bunch of argument mappings

* Items (again) and fluids

* Entity stuff 'n things

* Fixup most of the client stuff

* Some remaining items
2018-11-30 14:14:53 +01:00
Adrian Siekierka 6a53fc9df7 update to 18w48b 2018-11-30 12:43:16 +01:00
Prospector 111d25a61c A LITTLE BIT OF EVERYTHING (#224) 2018-11-30 12:37:11 +01:00