Commit Graph

101 Commits

Author SHA1 Message Date
enbrain f59ff97386
Map lambda parameters of record codec instance (#2438) 2021-05-28 08:08:35 +00:00
Player 8fc50a424d 21w19a 2021-05-12 17:50:44 +02:00
liach 49ac5cbb8c
Some more resource docs and a few constant fields (#2242)
* Some more resource docs and a few constant fields

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

* Apply suggestions from code review

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-04-02 22:05:30 +01:00
modmuss50 414cedb22f 21w13a 2021-03-31 19:47:17 +01:00
liach 4c9fd21882
Resource reload renames (#2131)
* Resource reload renames

Fixes #920

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

* Update some stuff for 11a

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-24 18:19:56 +00:00
modmuss50 696ae0e310 21w11a 2021-03-17 18:44:18 +00:00
liach 2059b35245
Map resource factory (#2127)
It's used in creating class_5944 instances and GameRenderer.method_34521,
both of which only uses the DefaultResourcePack as the only resource
factory impl effectively.

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-03-13 21:17:59 +00:00
modmuss50 252ad11d0a 21w10a 2021-03-10 18:34:17 +00:00
Shnupbups 7eaa47d02a
resource stuff (#1999) 2021-01-31 17:06:52 +00:00
liach 256df6a630
Switch to mappingpoet 0.2.0 (#1934)
* Switch to mappingpoet 0.2.0

Now includes obf name in javadoc. Though it takes longer to generate

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

* removed the global toolchain version requirement

enable a few superstrict doclints (won't fail build) and we are now compliant!

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

Co-authored-by: liach <liach@users.noreply.github.com>
2021-01-21 18:44:55 +00:00
YanisBft 992926dd04
Fix javadocs and update Enigma (#1937)
* Fix javadocs and update Enigma

* oops
2020-12-25 23:25:28 +00:00
modmuss50 9ba8dbc9df 20w51a 2020-12-16 18:52:22 +00:00
modmuss50 db6fa87282 20w49a 2020-12-02 18:29:46 +00:00
­Sollace 1766e41fb5
ResourceManager documentation (#1898)
* add documentation for the ResourceManager

* Apply suggestions from code review

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

Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2020-12-02 14:37:53 +00:00
YanisBft 7ef965e06e
20w46a loot stuff (#1867) 2020-11-14 12:11:22 +00:00
LambdAurora e0043013e9
Resource mappings. (#1842)
* Resource mappings.

* setLanguage
2020-11-06 12:49:38 +00:00
modmuss50 c91f482141 20w45a 2020-11-04 20:44:22 +00:00
modmuss50 04b555a4ff 1.16.2-pre1 2020-07-29 16:36:02 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +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
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
modmuss50 4f3d7449a3
Map the remaining inner classes (#1443)
* Map the remaining inner classes

* TooltipSupplier

* PageContent

* Update mappings/net/minecraft/client/gui/screen/ingame/BookEditScreen.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-06-08 20:50:36 +01:00
liach fb19c79e06
Resource pack organizer (#1440)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-08 13:25:44 +01:00
i509VCB 50de34711b
Data and Server startup mappings (#1423)
* Data and Server startup mappings

* Actually, lets fix that param name and do another method

* Update MinecraftClient.mapping

* Update MinecraftClient.mapping

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

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* Update mappings/net/minecraft/client/MinecraftClient.mapping

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

* DataPackSettings

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-06-07 17:29:18 +01:00
liach 10be6db16a
Registry codec stuff, and that thing is registry not dimension tracker (#1425)
* Registry codec stuff, and that thing is registry not dimension tracker

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

* Paragraph

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

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

Co-authored-by: i509VCB <i509vcb@gmail.com>

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: i509VCB <i509vcb@gmail.com>
2020-06-05 20:11:11 +01:00
i509VCB 2fb0e8e8e5
Some small mappings (#1424)
* Some small mappings

* Liach's is a bit better imo

* Update mappings/net/minecraft/resource/ServerResourceManager.mapping

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-06-05 11:36:38 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
modmuss50 e1c2ee273f
A handful of random mappings (#1417)
* A handful of random mappings

* follow the conventions lol

* Review tweaks

* and this
2020-06-04 16:49:10 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
liach d24dec94fb
Plant block, smithing table container, data gen, dfu, dynamic seriali… (#1148)
* Plant block, smithing table container, data gen, dfu, dynamic serializable boolean

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

* updateresult

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

* Some biome sound and container screen etc

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

* More stuff
block state model generator is too big, maybe need cloak (enigma too slow)

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

* Update mappings/net/minecraft/container/ForgingContainer.mapping

* conatiner name -> screen title

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

* Document the 3 types of sounds; biome ambient sound player -> effect sound player

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

* Update ModelIds.mapping

* container -> screen handler

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

* Update mappings/net/minecraft/client/gui/screen/ingame/SmithingScreen.mapping

Missed this boi

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-08 22:23:40 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +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 7b3a61d763 1.15-pre5 2019-12-05 14:03:01 +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
liach d0f836da8e Some stuff for 1.15 pre 1 and pre2 (#980)
* Some stuff for 1.15 pre 1

wood type or sign type? it is only used by signs.

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

* A few more stuff

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

* bits of stuff

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

* Call it a sign type

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

* More stuff and refactors per suggestion

* More bits

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

* Missed the one i need to map

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

* You like dual better

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

* Update mappings/net/minecraft/client/texture/SpriteAtlasTexture.mapping

* 😓

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

* Some pre2 stuff as well
2019-11-25 20:12:08 +00:00
­Sollace abe91b29fa Mapped several things across all the modelling classes and renderers (#799)
* WeightedBakedModel.ModelEntry -> WeightedBakedModel.Entry

* Json ModelElement

* Mapped CubeFace
field_3958 -> DIRECTION_LOOKUP
method_3163 -> getFace

* Vector4f

* Vector4f.method_4929 -> Vector4f.viewboxMatrix

* Mapped BakedQuadFactory

* Resource reload listener

* ModelLoader
ModelLoader.class_4455 -> ModelLoader.ModelDefinition (as hinted by Mojang)

* field_20848 -> BLOCK_DESTRUCTION_STAGES
BLOCK_BREAKING_STAGES -> BLOCK_DESTRUCTION_STAGE_TEXTURES

* BakedModel
deserialize -> deserialize (where's the synthetic?)

* Back to this I guess.

* These mappings were lost in the rebase. :/

* getLightBrightness -> getRelativeDirectionalBrightness
getBrightnessInteger -> getLightmapCoordinate

* Mapped some incidental names relating to Sprite
2019-11-19 15:19:05 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
liach 8de7fde3c9 Remap resource pack profile stuff as I revisit it during api writing (#879)
* Remap resource pack profile stuff as I revisit it during api writing

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

* ResourcePackCreator -> ResourcePackProvider
ResourcePackProfileManager -> ResourcePackManager

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

* Minor

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-09 17:44:35 +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
­Sollace 7166083ec4 LivingEntity mappings (#802)
* field_6276 -> lastDamageSource
field_6226 -> lastDamageTime

* getHealthMaximum -> getMaximumHealth

* method_6124 -> getPrimeAdversary

* addPotionEffect -> addStatusEffect

* method_6009 -> onStatusEffectUpgraded
method_6020 -> onStatusEffectApplied

* clearPotionEffects -> clearStatusEffects

* method_6024 -> getLeaningPitch
field_6243 -> leaningPitch
field_6264 -> lastLeaningPitch

* Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position)

* method_18802 -> getMovementSpeed
field_6281 -> flyingSpeed

* method_18801 -> applyClimbingSpeed

* method_6093 -> knockDownwards

* cannotMove -> isImmobile

* method_18396 -> getArmorVisibility

* isEquippedStackValid -> hasStackEquipped

* setEquippedStack -> equipStack

* attributeContainer -> attributes

* method_6039 -> isBlocking
method_6061 -> canPierceDefense

* method_6040 -> consumeItem

* method_6076 -> tickActiveItemStack

* method_6072 -> updateLeaningPitch

* method_6077 -> canEnterTrapdoor

* method_16212 -> getBlockStateUnderFeet (suggestions welcome)

* method_6095 -> absorbDamage

* field_6271 -> knockbackVelocity (or painFactor)

* field_6239 -> roll

* field_6228 -> jumpingCooldown

* field_6254 -> maxHurtTime

* method_6129 -> onStatusEffectRemoved

* field_6285 -> effectsChanged

* spawnPotionParticles -> tickStatusEffects

* method_6031 -> turnHead (as hinted by Mojang)
field_6283 -> bodyYaw
field_6220 -> prevBodyYaw

* field_6255 -> lookDirection (result of turnHead)

* method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart)

* field_6267 -> diagonalSpeed

* field_6261 -> pushCooldown
method_6035 -> push (As hinted by Mojang)
tickPushing -> tickCramming (applies the cramming rule)

* field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion)

* field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before)

* field_6275 -> prevLookDirection

* field_6269 -> defaultMaximumHealth (public, final, value is 20)

* (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding)
field_6233 -> stepBobbingAmount
field_6217 -> prevStepBobbingAmount

* (unused - set to a random float when constructing)
field_6244 -> randomLargeSeed
field_6262 -> randomSmallSeed

* Stitch did this. I don't know why.

* StatusEffect.method_5555 -> onApplied

* canPierceDefense -> tryUseShield

* absorbDamage -> tryUseTotem

* getBlockStateUnderFeet -> getBlockState

* diagonalSpeed -> turningSpeed

* Mapped several parameters

* removeStatusEffect -> tryRemoveStatusEffect
removePotionEffect -> removeStatusEffect

* isPotionEffective -> canHaveStatusEffect

* More parameters

* tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
2019-08-22 21:25:19 +01:00
modmuss50 5695254f64 19w34a 2019-08-22 14:39:40 +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
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 8554a5ae8c 1.14.3-pre2 2019-06-07 12:45:25 +01:00
NeunEinser 4419bb5811 Some new 1.14.3 mappings (#731) 2019-06-06 21:37:03 +02:00
Adrian Siekierka bdbf125b33 1.14.3-pre1 2019-06-03 18:48:18 +02:00
modmuss50 fa072139bf 1.14.1 Pre-Release 1 2019-05-07 17:05:49 +01:00
liach 000b032f15 Map resources (pack, reload) stuff (#674)
* Map resources (pack, reload) stuff

some tag stuff
command suggestion window in both chat and command block ui
(mojang should just unify those instead of copy pasta)

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

* Unify the names to complete for completion of one suggestion

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

* Initial feedback from runemoro

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

* Missed a few things. Thanks rune for pointing out

Simplified name for abstract file resource pack

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

* fileNameFilter -> pathFilter (id path filter)

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

* creator -> factory

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

* main thread and caching tags

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

* TagManager -> RegistryTagManager (only manages registry tags)

Also named prepared data for application "Intermediate"

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

* Save some stuff

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

* Fix inferred name missing in named jar

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

* Revert auto mapping addition

Signed-off-by: liach <liach@users.noreply.github.com>
2019-05-07 16:56:34 +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
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +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
Runemoro 4b82d7412a Misc mappings (#621) 2019-04-16 16:16:45 +02: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 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
Modmuss50 87721e90d5
Unmap mojang named methods and fields (#553)
* Unmap mojang named methods.

* remove some more names.

* Changer container width/height to not clash with screen names.
2019-03-25 16:19:24 +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
asie 4b91cfbcf5 19w09a 2019-02-27 19:17:22 +01:00
gegy1000 9c2a779f00 (#507) Arbitrary Mapping 2019-02-27 19:09:49 +01:00
Adrian Siekierka 436cf33f9f
improve resource mappings (#508) 2019-02-27 19:06:10 +01:00
Adrian Siekierka d1435774dc fix mappings 2019-02-20 22:01:25 +01:00
Adrian Siekierka 66156a5471 update to 19w08a 2019-02-20 21:49:23 +01:00
Adrian Siekierka 2febf7b2b8 missed one 2019-02-14 21:02:48 +01:00
Adrian Siekierka 4f390a9306
map 19w07a resource reloading (#462) 2019-02-14 20:54:51 +01:00
modmuss50 8a2af8044e 19w07a 2019-02-13 17:35:08 +00:00
Blake Redenius 901311e1e5 Mapping for SynchronousResourceReloadListener#a -> reloadResources. Also fix up some LootTables names, and a few other misc mappings. (#455) 2019-02-10 23:43:24 +01:00
Adrian Siekierka 88671d22d7 map basic resource stuff 2019-02-06 21:33:19 +01:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
Adrian Siekierka 995df6291a update to 19w04a/Enigma 0.13.x 2019-01-24 20:10:22 +01:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Runemoro 37756970dc A few rendering mappings (#401)
* A few rendering mappings

* Fix something

* Fix something
2019-01-16 15:48:01 +00:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
liach 249b75d84a Many villager-related mappings, some trade related ones and some new (#280) 2018-12-20 09:45:46 +01: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
Adrian Siekierka c79869974f
fix ParticleManager, map LookupManager and related (#254) 2018-12-10 18:33:47 +01:00
liach df3a55d46c Mapped out a few resource-related stuff (#250)
Signed-off-by: liach <liach@users.noreply.github.com>
2018-12-10 18:09:03 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
Adrian Siekierka 50764e1853 update to 18w48a 2018-11-29 21:10:38 +01:00
Adrian Siekierka 13ed3f8e2c update to 18w47b 2018-11-27 19:50:51 +01:00
Adrian Siekierka 591e770b72 update to 18w47a 2018-11-21 17:58:05 +01:00
Adrian Siekierka 1418bb1b37 update to 18w46a 2018-11-15 18:05:03 +01:00
Adrian Siekierka 47d8c24214 update to 18w45a 2018-11-07 17:37:58 +01:00
asie 0bf4e529ca fix omissions, map ServerMetadata 2018-11-05 18:02:24 +01:00
Adrian Siekierka 4e8d79aef4 move Attribute -> EntityAttribute, PotionEffectType -> MobEffect 2018-11-04 20:05:56 +01:00
Adrian Siekierka 351b6536ae minor packet, resource work 2018-11-04 16:45:24 +01:00
Adrian Siekierka 5fd73b1943 update Enigma to 0.12.1 2018-11-04 13:22:38 +01:00
asie 2efa698889 renderer mappings 2018-11-04 10:53:55 +01:00
asie 8226c45d75 resource mapping work, refactor interface names - close #184 2018-11-01 17:53:10 +01:00
Adrian Siekierka d7fc5168c5 18w44a 2018-10-31 17:57:50 +01:00
asie b56b270f45 minor changes 2018-10-31 14:03:33 +01:00
asie 33ba1f118c client/property/resource mapping 2018-10-26 14:29:07 +02:00