Commit Graph

689 Commits

Author SHA1 Message Date
modmuss50 78fcff22ef 20w30a 2020-07-22 17:29:24 +01:00
Nikita Skobelevs 94d094ae5e
EntityType mappings for missing methods and fields (#1578)
* Added mappings for missing EntityType fields and methods

Signed-off-by: Nikita Skobelevs <nikita.skobelevs@gmail.com>

* Fixed spelling

Signed-off-by: Nikita Skobelevs <nikita.skobelevs@gmail.com>

* Update EntityType mapping per suggestion

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

* Updated EntityType mapping as per PR suggestion

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

* Fixed spelling error in EntityType 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-07-20 16:10:42 +01:00
liach a9e6995935
Minecart mappings ported (#1555)
* Minecart related mappings

* Update for new dismounting content

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

* Update mappings/net/minecraft/entity/Dismounting.mapping

Co-authored-by: shartte <shartte@users.noreply.github.com>

Co-authored-by: immibis <immibis@gmail.com>
Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: shartte <shartte@users.noreply.github.com>
2020-07-10 18:30:34 +01:00
i509VCB 73f3f96ff9 Actually describe vague "checkChunk" methods. (#1548)
* Actually describe vague "checkChunk" methods.

These are quite vague, and the profiler call is all we really have to go off of.

From looking around the codebase, these methods validate the entity's chunkX/Y/Z positions are correct. If the entity's last and current chunk pos are not the same, move the entity to it's new chunk (which also changes the chunkX/Y/Z values to the correct ones).

Oh and some synthetic method params while I was at it.

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/entity/Entity.mapping

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* Update mappings/net/minecraft/server/world/ServerWorld.mapping

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

* Update mappings/net/minecraft/client/world/ClientWorld.mapping

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

* match method name

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-10 13:04:35 +01:00
liach 79b3bf1c4b
Less controversial new stuff (#1567)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-09 12:36:04 +01:00
i509VCB 52bb8ef4aa
Thinking with portals (part 1) (#1569)
* Thinking with portals (part 1)

* match the method name to return type
2020-07-09 11:00:39 +01:00
modmuss50 c8192e4d36 20w28a 2020-07-08 18:49:17 +01:00
liach bdbb68371c
Sneak 100 (#1553)
* Sneak 100

Fixes for #1551

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

* Update mappings/net/minecraft/entity/Entity.mapping

Co-authored-by: liach <liach@users.noreply.github.com>
2020-07-08 10:40:52 +01:00
Yanis48 4b5dadbafa
Quick fixes (#1534)
* Quick fixes

* Update EntryListWidget.mapping
2020-07-05 13:45:54 +01:00
Shnupbups 8af9ff5509
Piglin Brutes and stuff (#1537)
* Piglin Brutes and stuff

* Delete RenameSwapHandsFix.mapping

* stuff

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

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

Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-07-05 13:45:14 +01:00
jakbyte d2aad0de0b Add some ProjectileEntity field names (#1507)
* Add some ProjectileEntity field names

* Fix my syntax mistakes
2020-07-03 13:31:06 +01:00
modmuss50 b446f6047d 20w27a 2020-07-01 17:44:38 +01:00
Joseph Burton ed2e3e3b29
A couple of goal fixes (#1527)
* A couple of goal fixes

* WanderAroundTarget -> WanderNearTarget
2020-06-28 17:44:59 +01:00
eatmyvenom 153ef3a58b
Update PiglinBrain to have more accurate names (#1513)
* Update PiglinBrain to have more accurate names

* change swapItemToOffHand -> swapItemWithOffHand
2020-06-28 13:24:35 +01:00
Yanis48 9937826d46
MobEntityWithAi -> PathAwareEntity (#1517) 2020-06-28 13:22:37 +01:00
Alexander 6d9a8c1aca
Map riptide properly (#1503) 2020-06-24 17:35:02 +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
i509VCB 5bf86c068f
Move raid classes to village package (#1482) 2020-06-21 22:00:14 +01:00
Yanis48 c72ab7649e
Some fixes (#1481)
* Some fixes

* FeaturePiece -> StructurePiece
2020-06-20 19:51:40 +01:00
Shnupbups 987aa1a483
1.16 pre3 things (#1459)
* stuff

mapped every class except 5395 because i dont understand codecs lol

* dont mind me

* there we go

* Apply suggestions from code review

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

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

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

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

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

* Update EditGameRulesScreen.mapping

* Apply suggestions from code review

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: jadon <jadonflower@gmail.com>
2020-06-18 20:17:05 +01:00
i509VCB 476b5d351e
ServerCommandOutput -> RconCommandOutput and a bunch of assorted parameter names (#1475) 2020-06-18 20:16:49 +01:00
modmuss50 a4305ccae9 1.16-pre8 2020-06-17 17:11:43 +01:00
liach 111e319cee
Fix a typo, thanks haykam (#1477)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-16 12:42:49 +01:00
modmuss50 3974dc0927 1.16-pre6 2020-06-15 19:17:37 +01:00
modmuss50 49710ba86a 1.16-pre3 2020-06-10 18:05:28 +01:00
Joseph Burton c34a0949a3
A few soul speed mappings (#1439) 2020-06-08 13:20:53 +01:00
Shnupbups 49284a0f45
pre1 stuff (#1420)
* pre1 stuff

idk

* more stuff

* remove things already mapped

removes things already mapped by newly merged prs
2020-06-07 16:02:50 +01:00
liach 8619da580f
A bit entity brain/anger stuff (#1430)
* A bit entity brain/anger stuff

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

* Fix bad name

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 15:33:41 +01:00
liach 4edabede94
Explosions (#1429)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-06-07 15:33:15 +01:00
Juuxel 3eb088abba
Various misc changes (#1372)
* Fix #1369

* CriteriaMerger -> CriterionMerger

* ItemRenderer.renderGuiItem + related names

Closes #1361.

* WololoGoal.purpleSheepPredicate -> convertibleSheepPredicate

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

Closes #1344.

* Improve GUI item rendering names

* MinecraftClient.(block/item)ColorMap -> (block/item)Colors

* Change wording a little

* Model overrides
2020-06-07 15:26:33 +01:00
modmuss50 0295b1e8d5 1.16-pre1 2020-06-04 20:08:31 +01:00
Joseph Burton 990203f196
Map ZOMBIE_TYPE (#1414)
* Map ZOMBIE_TYPE

* Clarify that we mean "type of entity"
2020-06-01 22:19:44 +01:00
Deximus-Maximus 2fbbb01395
Misc. Issue Resolution (#1401)
* PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392)

* GameJoinS2CPacket seed -> sha256Seed (#1360)

* checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332)

* StatusEffectType -> StatusEffectCategory (#1036)
StatusEffect -> StatusEffectType
StatusEfectInstance -> StatusEffect
(and related names)

* SettingsScreen -> OptionsScreen (#787)
AccessibilityScreen -> AccessibilityOptionsScreen
Moved OptionsScreen to options package with all the other options screens

* Finishes making maximum/minimum -> max/min (#672)
(the ones in TreeDecoratorConfig as they have no postfix)

DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667)

* fix missing file

* Revert "StatusEffectType -> StatusEffectCategory (#1036)"

This reverts commit 07f887a3d2.

* fix capitalization

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

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

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

* Update mappings/net/minecraft/client/render/WorldRenderer.mapping

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

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

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 19:31:17 +01:00
modmuss50 e9c5c02d50 20w22a 2020-05-29 14:31:34 +01:00
liach b274a2e932
20w21a brain (#1387)
* 20w21a brain

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

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

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

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

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

Co-authored-by: liach <liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-05-22 12:40:53 +01:00
haykam821 1f53bd3df4
Improve and add mappings related to soul speed (#1391)
* Change the applyFrostWalker method to applyMovementEffects

* Map soul speed-related methods

* Fix duplicate intermediary mapping for method_25937
2020-05-22 12:39:23 +01:00
haykam821 ded5c7e457
Standardize attribute modifier mappings (#1390)
* Standardize the suffix of attribute modifier ID fields

* Remove prefix from attribute modifier fields

* Make soul speed boost attribute modifier ID field consistent

* Make baby piglin speed boost fields consistent
2020-05-22 12:38:04 +01:00
2xsaiko 77f8ede4b4
20w20a mappings (#1353)
* 20w20a mappings

* GameModeSelectScreen -> GameModeSelectionScreen

* Revert class_5281 to obfuscated in favor of #1350

* Some improvements

* worldBorderProperties -> worldBorder

* Merge non-conflicting names

* Rename some existing mappings where names got lost

* Small changes

* Remove leftover rebase tags

* Remove duplicate mappings

* 20w21a changes

* Cleanup & Map ChunkGeneratorType.Preset

* Adjust DimensionType mappings

* hellish -> hasCeiling
2020-05-20 22:57:06 +01:00
modmuss50 4f89f2fdba 20w21a 2020-05-20 17:12:58 +01:00
modmuss50 015995dd3f 20w20a 2020-05-13 18:06:00 +01:00
Shnupbups 2cf6919014
stuff (#1334)
yep
2020-05-11 12:50:12 +01:00
Joseph Burton 1f8c97ed9f
Goal selector related mappings (#1336)
* Goal selector related mappings

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

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

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

Closes #1315

* Fix missed name

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

* Apply review suggestions

* Apply more review suggestions

* Tweak drowned and enderman mappings

* Properly rename EndermanEntity.chasing -> provoked

* capChange -> stepTowards
2020-05-06 21:49:35 +01:00
modmuss50 ef74eec9c1 20w19a 2020-05-06 18:28:56 +01:00
liach 2e74ea5a2f
Advancement new stuff and refactor old bad names (#1310)
* Advancement new stuff and refactor old bad names

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

* loader/saver -> deserializer/serializer

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-05-02 13:31:08 +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
liach 104490a2e2
Entity type missing stuff, new server properties (#1312)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-30 11:32:20 +01:00
modmuss50 9a617e4707 20w18a 2020-04-29 17:24:56 +01:00
Yanis48 8a00a58f58
Attribute command & related stuff (#1295)
* Attribute command & related stuff

* missed parameters

* updated name
2020-04-26 22:16:16 +01:00
modmuss50 659b0da1dd 20w17a 2020-04-22 16:59:47 +01:00
liach 7180726b1f
Fix javadoc warnings (#1286)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 14:55:18 +01:00
­Sollace 67a8a36b13
Misc Strider mappings (#1273)
* Misc strider mappings

* Fix conflic (Mountable was already mapped as "Saddle-able")
2020-04-16 02:47:24 +01:00
modmuss50 863b0e905c 20w16a 2020-04-15 16:34:32 +01:00
Joseph Burton bff0236300
World modification fix (#1232)
* World modification fix

* isWorldModificationRestricted -> isBlockBreakingRestricted
2020-04-14 15:01:34 +01:00
Yanis48 4a8babd645
Some entity stuff (#1277)
* entity things

* message methods
2020-04-14 15:01:24 +01:00
liach 159546e8cd
Map some 20w15a new classes (entities, enchantments) (#1269)
* Map some 20w15a new classes (entities, enchantments)

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

* Some javadocs

* Just refer by id

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

* Fix bad class name

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-08 21:48:41 +01:00
modmuss50 cf0ef0a6bd 20w15a 2020-04-08 15:44:19 +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 8a6cdb8699
Rename attribute factory methods to be unique (#1263)
I hate unqualified static method/field calls and static inference!

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 12:19:15 +01:00
liach cabb00e658
20w14a Attributes (#1256)
* 20w14a Attributes

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

* Map the attributes method for zoglin

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-04 21:18:55 +01:00
Shnupbups 5ef7ccfb9b
some 14a stuff (#1251)
* some 14a stuff

* Apply suggestions from code review

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>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-04-03 20:11:08 +01:00
modmuss50 0c14fa6444 20w14a 2020-04-02 18:40:17 +01:00
Shnupbups 8cd54e4886
stuff (#1231)
* stuff

less cursed this time hopefully

* Apply suggestions from code review

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

* Update ItemSteerable.mapping

* Update HungerManager.mapping

* revert Quaternion changes

* supplier -> table

* Update CrashReport.mapping

* Apply suggestions from code review

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

* Update WorldBorderListener.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-30 09:10:03 +00:00
Yanis48 f3692142b6
Strider entity mappings (#1225)
* strider entity mappings

* some additions

* changes

* changes

* Update ItemSteerable.mapping

* class_4988
2020-03-26 14:09:47 +00:00
modmuss50 421fd43218 20w13b 2020-03-26 14:08:27 +00:00
liach 0c84d443c2
Map two missing inner classes (#1228)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-26 11:32:00 +00:00
i509VCB 7b32b5f874
Javadoc for some client, datafixer and other miscellaneous areas. (#1219)
* Javadoc for some client, datafixer and misc.

* Update ServerPlayNetworkHandler.mapping

* Update MinecraftClient.mapping

* Update ClientPlayerEntity.mapping

* Update PlayerListEntry.mapping

* Update TypeReferences.mapping

* Update Entity.mapping

* Update LivingEntity.mapping

* Update NbtHelper.mapping

* Update CommandOutput.mapping

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

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

* Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping

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

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/server/command/CommandOutput.mapping

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

* Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping

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

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

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

* Update PlayerListEntry.mapping

* Update ClientPlayPacketListener.mapping

* Update ServerPlayPacketListener.mapping

* Update ClientPlayPacketListener.mapping

* Fix possible build error

* try 2

* Update LivingEntity.mapping

* Update mappings/net/minecraft/datafixer/TypeReferences.mapping

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

* Update mappings/net/minecraft/entity/Entity.mapping

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

* Update mappings/net/minecraft/nbt/NbtHelper.mapping

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

* Update mappings/net/minecraft/nbt/NbtHelper.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-03-25 23:14:55 +00:00
liach d93a2d54d5
Map two new farmer tasks (#1229)
Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-25 23:14:46 +00:00
modmuss50 a068df5d3d 20w13a 2020-03-25 17:49:03 +00:00
liach 4bcc8ac47c
EntityContext -> ShapeContext, EntityContextImpl -> EntityShapeContext (#1213)
Fixes #908.

This context is exclusively used by block's 3 shape checking methods.
For its usage outside of blocks, it is used to be eventually passed to call one of the shape checking methods (as in CollisionView#canPlace or RayTraceContext)

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

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-24 22:54:23 +00:00
liach e34b5a891e
New sound stuff, fish hook predicate, missed persistent state uuid fix (#1202)
Signed-off-by: liach <liach@users.noreply.github.com>

Add jd to note this is the mood percentage for biome sound

Co-authored-by: liach <liach@users.noreply.github.com>
2020-03-19 14:50:03 +00:00
Yanis48 1cf89957f5
Sorted out the projectile mess (#1199)
* sorted out the projectile mess

* Update ShulkerBulletEntity.mapping
2020-03-19 14:41:57 +00:00
Yanis48 a36211bd7c
Quick entity fixes (#1200) 2020-03-19 14:07:30 +00:00
Yanis48 27d4f077fc
RespawnAnchorBlock & related respawn stuff (#1204) 2020-03-18 23:12:00 +00:00
modmuss50 ab907504e7 20w12a 2020-03-18 18:59:27 +00:00
Joseph Burton 4b2f6a5aa8
Pathfinding improvements (#1180)
* Pathfinding improvements

* n.m.block.BlockPlacementEnvironment -> n.m.entity.ai.pathing.NavigationType
2020-03-17 20:21:08 +00:00
modmuss50 9497721136 20w11a 2020-03-11 17:25:56 +00:00
Juuxel 08f62761fc
EnderCrystal -> EndCrystal, #1163 improvements (#1173)
The end crystal entity is registered as minecraft:end_crystal.
2020-03-11 16:17:29 +00:00
liach 7bd162989d
Pick up rendering stuff and dragon stuff (#1163)
* Pick up #1026 and adjustments

ArmorFeatureRenderer, BipedEntityModel and some player stuff

Parrot entity rendering fixes

At the moment, I don't know the difference between method_17110 and method_17111.

method_17110 -> animateModel

Still a provisional name.

Finish the other feature renderers (except CapeFeatureRenderer)

Name methods involving armor stands

Work on Ender Dragon-related things

overlay{Message, Tinted} -> {message, tinted}

Add docs for ClientPlayerEntity#wateriness (now wetness)

ClientPlayerEntity#getVisibilityReductionFromWater -> getScaledWetness

Actually add javadocs

newHealth -> health

DragonFireballEntityRenderer#FIREBALL -> LAYER

* Update mappings/net/minecraft/client/render/RenderLayer.mapping

Co-authored-by: Kyarei <uruwi@protonmail.com>
2020-03-11 15:09:33 +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
Yanis48 168d6b23ec
Random fixes (#1162) 2020-03-08 22:14:25 +00:00
­Sollace 372e9fa3b2
Cape and Elytra mappings for PlayerEntity (#1138)
* Cape and Elytra mappings for PlayerEntity

* Apply suggestions from code review

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

* spreadItems -> throwRandomly

* vx/y/z -> dx/y/z

* Remove invalid mappings

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-03-07 17:37:40 +00:00
modmuss50 f339c99217
some piglin stuff + misc (#1144)
* some piglin stuff + misc

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

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

* more stuff

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-03-05 21:40:35 +00:00
modmuss50 42eff3b6d0
Add Back Some Projectile Mappings (#1150) 2020-03-05 21:39:51 +00:00
modmuss50 1b7aa91a4d 20w10a
bit of a big one
2020-03-04 20:22:46 +00:00
Ido Dana 067f52a039
isCloseToTarget -> isNearTarget (#1141) 2020-03-03 15:12:50 +00:00
Joseph Burton 1d3ea3b886
fungi -> fungus (#1136) 2020-02-28 16:06:45 +00:00
modmuss50 8e7f7a8d35 20w09a 2020-02-26 17:56:39 +00:00
liach b00c92199f
Map new classes, staging (#1122)
Map new classes, staging
2020-02-24 20:14:56 +00:00
Pyrofab 7ccd4ce5ad
Standardize EntityData naming (#1113)
* Remove overlaps

* net/minecraft/entity/passive/PassiveEntity$EntityData -> PassiveData

* net/minecraft/entity/passive/SchoolingFishEntity$Data -> FishData

* net/minecraft/entity/passive/TropicalFishEntity$Data -> TropicalFishData

* net/minecraft/entity/mob/ZombieEntity$Data -> ZombieData

* net/minecraft/entity/mob/SpiderEntity$SpawnEffectData -> SpiderData

* net/minecraft/entity/passive/HorseEntity$EntityData -> HorseData

* net/minecraft/entity/passive/LlamaEntity$EntityData -> LlamaData

* net/minecraft/entity/passive/RabbitEntity$RabbitEntityData -> RabbitData
2020-02-17 13:50:02 +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
modmuss50 d2afdda25f 20w07a 2020-02-14 14:54:37 +00:00
Joseph Burton 19b1318608 Motive -> Painting Motive (#1100)
* Motive -> Motif

* Update mappings/net/minecraft/entity/decoration/AbstractDecorationEntity.mapping

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

* motif -> painting_motive

* Nuke last remaining motif

Co-authored-by: ­Sollace <Sollace@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-02-09 19:05:38 +00:00
liach 9b56dd3eec Networking stuff (#1096)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-02-09 14:31:14 +00:00
LambdAurora 58d38fa944
Add fluid mappings and fix some inconsistencies and typo. (#1095)
* Fix some inconsistencies and misspelling.

* Fix and add a lot of fluid mappings.

* Change method_15819 to canLightFire.

* Fix a typo in method Fluid#canBeReplacedWith.
2020-02-08 23:36:30 +00:00
Shnupbups 18a0bd11f1
A few 1.16 mappings (#1091)
* A few 1.16 mappings

* Update and rename WeepingVInesPlantBlock.mapping to WeepingVinesPlantBlock.mapping

* more stuff

* Wall mappings

ioly partially done, but eh

* Update and rename WallType.mapping to WallShape.mapping

* Update Properties.mapping

* Update WallBlock.mapping

* Update mappings/net/minecraft/entity/ItemEntity.mapping

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

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-02-06 20:02:23 +00:00
modmuss50 9b88b3c3e8 20w06a 2020-02-05 17:27:03 +00:00
Pyrofab 32e934eac7
LivingEntity rendering fix (#1080)
* Entity#canSeePlayer(1) -> isInvisibleTo

* LivingEntityRenderer#method_4056(2) -> shouldRender

* LivingEntityRenderer#method_4056(2) -> isVisible

* EntityRenderer#render(3)[2 = ] -> yaw

* EntityRenderer#render(3)[3 = ] -> tickDelta

* EntityRenderer#render(3)[5 = ] -> vertexConsumers

* EntityRenderer#render(3)[6 = ] -> light

* Pick better names

* Remove overlaps

* Fix merge conflicts

* Actually remove overlap
2020-01-31 10:14:57 +00:00
liach 980c35338c
Hodgepodge mappings 1 (#1075)
Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-29 14:02:51 +00:00
liach 4f26ca97bd Status effect stufff (#1068)
* Minor status effect stuff

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

* hiddenEffect

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

* Err

Signed-off-by: liach <liach@users.noreply.github.com>
2020-01-24 10:10:35 +00:00
haykam821 fc5dbf2128 Map method_7288 to findRespawnPosition (#1045)
* Map method_7288 to findRespawnPosition

* Map findRespawnPosition parameter names

* Change parameter mappings to suggested names

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2020-01-20 16:34:03 +00:00
LambdAurora 60e68c5b4f Improve confusing names in entities classes. (#1058)
* Improve confusing names in entities classes.

* Small changes following the PR's review.

* Update mappings/net/minecraft/entity/Entity.mapping

Co-Authored-By: Pyrofab <redstoneinfire@gmail.com>

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-01-19 18:02:15 +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
modmuss50 f233f5a380 1.15.2-pre2 2020-01-16 15:03:24 +00:00
modmuss50 ea08e25f4f 1.15.2-pre1 2020-01-14 20:22:47 +00:00
Pyrofab db8d805aa5 LivingEntity#removeStatusEffect clarification (#1050)
* LivingEntity#removeStatusEffect(1) -> removeStatusEffectInternal

* +279 doc in LivingEntity#removeStatusEffectInternal(1)

* LivingEntity#tryRemoveStatusEffect(1) -> removeStatusEffect

* +441 doc in LivingEntity#removeStatusEffect(1)

* LivingEntity#removeStatusEffect(1)[1 = effect] -> type

* LivingEntity#removeStatusEffectInternal(1)[1 = effect] -> type

* +26 doc in LivingEntity#removeStatusEffectInternal(1)
2020-01-11 16:12:49 +00:00
Pyrofab 0a3900ac22 A couple living entity mappings (#1039)
* LivingEntity#method_23883(0) -> dropXp

* LivingEntity#method_23733(1)[1 = ] -> adversary

* LivingEntity#method_23733(1) -> onKilledBy

* +227 doc in LivingEntity#onKilledBy(1)

* LivingEntity#method_23329(2) -> computeFallDamage

* LivingEntity#computeFallDamage(2)[1 = ] -> fallDistance

* LivingEntity#computeFallDamage(2)[2 = ] -> damageMultiplier

* LivingEntity#method_23328(0) -> playBlockFallSound

* LivingEntity#method_21754(0) -> isHoldingLadder

* +175 doc in LivingEntity#isHoldingLadder(0)

* LivingEntity#method_22382(0) -> shouldSpawnConsumptionEffects

* LivingEntity#method_6018(1) -> setPushCooldown

* Fix return tag

* Name PlayerEntity#clipAtLedge

* Move onKilledBy param doc

* isHoldingLadder -> isHoldingOntoLadder

* Fix param comment indent
2020-01-11 16:06:55 +00:00
Pyrofab 7b6268654f Remaining StatusEffect methods (#1043)
* StatusEffect#method_5563(2) -> adjustModifierAmount

* StatusEffect#adjustModifierAmount(2)[1 = ] -> amplifier

* StatusEffect#adjustModifierAmount(2)[2 = ] -> modifier

* StatusEffect#method_5573(0) -> isBeneficial

* StatusEffect#onApplied(3)[1 = ] -> entity

* StatusEffect#onApplied(3)[2 = ] -> attributes

* StatusEffect#onApplied(3)[3 = ] -> amplifier

* StatusEffect#onRemoved(3)[1 = ] -> entity

* StatusEffect#onRemoved(3)[2 = ] -> attributes

* StatusEffect#onRemoved(3)[3 = ] -> amplifier

* StatusEffect#<init>(2)[2 = ] -> color

* StatusEffect#<init>(2)[1 = ] -> type
2020-01-11 15:59:27 +00:00
modmuss50 88d6801de1
Fix 2 conflicts. (#1038)
ProtectionEnchantment.type conflicted with Enchantment.type
FoxEntity.wakeUp conflicted with LivingEntity.wakeUp
2020-01-07 16:56:19 +00:00
howtonotwin 805178edc7 Some potion-related names (#1032)
* Change some odd naming in Potion

* Some names in StatusEffectInstance
2020-01-07 00:55:16 +00:00
Tae Lim Kook 80cf8e5ada Names for some fields and methods in net.minecraft.data.server (#1021)
* Rename Gson fields in some classes to GSON

* Name some methods in RecipesProvider

Also a param fix in InventoryChangedCriterion's constructor.

* Rename field in LootTablesProvider

* Rename some methods in AbstractTagProvider

* Name some methods in AdventureTabAdvancementGenerator

* Rename some fields and methods for BlockLootTableGenerator

* Rename some fields and methods in EntityToolTableGenerator and EntityType

* Rename fields in FishingLootTableGenerator

These were loot condition constants checking for biomes.

* Rename fields and methods in HusbandryTabAdvancementGenerator

* method_10422 -> RecipesProvider.requireEnteringFluid

* Rename parameters to SnbtProvider.CompressedData

* Rename some fields and methods in NbtProvider

* method_10422 -> ItemListProvider#toJson

* NEED_ and REQUIRE_ -> NEEDS

* Remove 'loot table' and 'block' in BlockLootTableGenerator method names

Suggested by liach.

* Fix names in EntityLootTableGenerator to align with standards
2020-01-03 20:52:06 +00:00
Yanis48 232787ac4e Fixes for #895 & #1014 (#1015)
* Fixes for #895 & #1014

* fixes -> fix, schemas -> schema

* Merge remote-tracking branch 'upstream/1.15.1' into 1.15.1-pre1

* Revert "Merge remote-tracking branch 'upstream/1.15.1' into 1.15.1-pre1"

This reverts commit edc34b1487.

* renamed Entity fields and methods
2019-12-26 12:26:34 +00:00
liach f52dc8faa5 Mapped some entity logic stuff (#1013)
* Mapped some entity logic stuff

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

* Use updateCountdownTicks
2019-12-19 18:46:57 +00:00
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 b3d3023795 1.15-pre4 2019-12-03 13:35:46 +00:00
modmuss50 89b749da2a Update enigma for Javadoc support.
Mappings were re-written storing the inner classes at the end of the file.
2019-12-02 13:55:18 +00:00
Runemoro 966033b532 More rendering mappings (#986)
* More rendering mappings

* Even more rendering mappings

* Update mappings/net/minecraft/client/render/OverlayTexture.mapping

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

* Update mappings/net/minecraft/client/render/OverlayTexture.mapping

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

* Fix HashStrategy removed in last PR

* Fixes by liach
2019-12-02 13:47:40 +00:00
Runemoro bf81b47a6b Rendering mappings (#985)
* Rendering mappings

* Undo ColorResolver -> ColorProvider, it's an unobfuscated class!

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Update mappings/net/minecraft/client/render/debug/BeeDebugRenderer.mapping

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

* Fixes by liach

* Fix
2019-11-26 23:53:20 +00:00
modmuss50 85d87033da 1.15-pre2 2019-11-25 19:17:49 +00:00
Runemoro 898fb4c9be Bee mappings (#981) 2019-11-24 01:18:13 +00:00
modmuss50 9fb64b9b26 1.15-pre1 2019-11-21 19:13:18 +00:00
liach ec47b4448e 45b new stuff and a few fixed entity methods from 45a (#959)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-19 14:28:00 +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 a867725a7f 19w46a 2019-11-13 17:34:56 +00:00
modmuss50 3bf4ded164 19w45a 2019-11-07 19:37:31 +00:00
Runemoro 630bd1451b Refactor rendering (#930)
* Refactor rendering

* Revert #929 and map more things

* Fixes by liach

* Revert bufferBuilder -> buffer in fields too

* Fixes

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

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

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

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

* Suggestions by Player

* Fix some debug renderer names

* More mappings

* Fix

* Fixes by Player

* Improve BufferBuilderStorage names
2019-11-07 18:03:04 +00:00
liach 02908445ab Mapped all top-level classes (#934)
* Mapped all top-level classes

No more obfuscated top-level class

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

* Mapping inner classes (Still some left)

These to go:
net/minecraft/datafixers/fixes/LeavesFix$class_1192
net/minecraft/structure/NetherFortressGenerator$class_3404
net/minecraft/structure/OceanMonumentGenerator$class_3367
net/minecraft/structure/OceanMonumentGenerator$class_3368
net/minecraft/structure/OceanMonumentGenerator$class_3369
net/minecraft/structure/OceanMonumentGenerator$class_3370
net/minecraft/structure/OceanMonumentGenerator$class_3371
net/minecraft/structure/OceanMonumentGenerator$class_3372
net/minecraft/structure/OceanMonumentGenerator$class_3373
net/minecraft/structure/OceanMonumentGenerator$class_3375
net/minecraft/structure/OceanMonumentGenerator$class_3388
net/minecraft/structure/StrongholdGenerator$class_3427
net/minecraft/structure/StrongholdGenerator$class_3466
net/minecraft/structure/Structure$class_3500
net/minecraft/structure/WoodlandMansionGenerator$class_3478

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

* Update StructurePoolBasedGenerator.mapping

* Fixes as suggested by @Runemoro

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:51:27 +00:00
liach f61755b603 Minor stuff for util package (#935)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-02 21:47:58 +00:00
modmuss50 bf6fdd7195 19w44a 2019-10-30 16:28:24 +00:00
liach 6fa1e34c83 19w42a rendering and layers etc (#917)
* 19w42a rendering and layers etc

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

* Stage changes

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

* stuff stuff stuff

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

* fixed color

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

* Banner Pattern "Patterns"

Patterns name see https://minecraft.gamepedia.com/Banner#Block_entity

* Some more changes

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

* Add 2 mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-30 16:15:03 +00:00
biom4st3r 11d3a5cf6e StatusEffect mapping and Cuboid Method rename (#906)
* Mappings for statusEffects
Changed Cuboid.copyRotation -> Cuboid.copyRotationAndPoint because of the misleading name

* Apply suggestions from code review

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

* Update mappings/net/minecraft/entity/effect/StatusEffect.mapping

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-10-30 15:50:18 +00:00
Laura F. D d5b9f96390 Some entity mappings (#888)
* Some entity mappings

* Mixed set/getShowsDeathScreen up

* AbstractMinecartEntity mappings

* Bee mapping

* No boolean getters

* Reorder words

* rebase and fix
2019-10-30 15:42:22 +00:00
UpcraftLP ba767b5dfb you need Boat (#923) 2019-10-25 16:57:20 +01:00
Modmuss50 ef9864b2b8 A few easy mappings for 41a (#904) 2019-10-10 06:36:35 +02:00
modmuss50 841e352c61 19w41a 2019-10-09 18:17:26 +01:00
Julian Dunskus cbd7317764 FishingBobberEntity Mappings (#820)
* FishingBobberEntity complete

`luckOfTheSeaLevel` and `lureLevel` were swapped

* following boolean field naming conventions

* naming improvements
2019-10-09 17:45:12 +01:00
Juuxel c95856c60f Entity properties (#882)
* Entity stuff

* Better param name

* ServerPlayerEntity.xScore -> lastXScore

* World border improvements and some player/living entity methods

* Remove redundant pos suffix

* Airy renames
2019-10-09 17:44:02 +01:00
SPGoding 8d19e8266c Map a filed in TridentEntity (#898) 2019-10-09 07:36:50 +01:00
Gareth Williams 26c6645776 mapped isSpawnableFarFromPlayer (#892)
* mapped isSpawnableFarFromPlayer

* mapped spawnableFarFromPlayer
2019-10-03 13:18:51 +01:00
DrMeepster b86853dc72 ZombieEntity Mappings (#857)
* named difficultyChecker

* Update ZombieEntity.mapping

* Baby data

* revised data name

* more naming

* renamed another variable

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

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

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

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

* changed name to fit conventions

* replaced child with baby for consistency

* changed itemStack to stack
2019-09-30 21:27:45 +01:00
João fbb208ed8d Mappings for projectileEntity (#880)
* Map LongArgumentSerializer (#813)

* Mappings for projectileEntity

* Changed/fix fireTime to fireTicks

* Some fixes

* Update mappings/net/minecraft/entity/projectile/ProjectileEntity.mapping

Co-Authored-By: Juuxel <kasperi.kauppi@gmail.com>

* Update mappings/net/minecraft/entity/projectile/ProjectileEntity.mapping

Co-Authored-By: Juuxel <kasperi.kauppi@gmail.com>

* Update mappings/net/minecraft/entity/projectile/ProjectileEntity.mapping

Co-Authored-By: Juuxel <kasperi.kauppi@gmail.com>
2019-09-30 13:58:58 +01:00
Juuxel d9447e37cc Randoms and datafixers (#871)
* Some random mappings

* Revert block tick method renames
2019-09-29 18:46:25 +01:00
Juuxel 976473470a Spawn restriction mappings (#858)
* Spawn restriction mappings

* SpawnRestriction.canSpawnAt -> canSpawn for consistency

* Some tweaks

* Suggestions

* isValidSpawnHeight -> isValidSpawnDepth

* SpawnRestriction.Predicate => SpawnPredicate

* Parameter names
2019-09-29 18:40:10 +01:00
modmuss50 052e77acc0 19w39a 2019-09-27 17:23:24 +01:00
modmuss50 bf500b5591 Fix 19w38b 2019-09-18 17:39:49 +01:00
modmuss50 5f624356fc 19w38b 2019-09-18 16:29:55 +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 363b9de876 Merged #849
Squashed commit of the following:

commit 10e2858763
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 15:49:09 2019 +0100

    Rename BlockPlayerActionS2CPacket

commit c3357584bc
Author: Joe <burtonjae@hotmail.co.uk>
Date:   Thu Sep 5 13:55:32 2019 +0100

    Add some player interaction mappings
2019-09-12 14:38:10 +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 f4da454c81 19w37a 2019-09-11 16:28:06 +01:00
modmuss50 6bcf8b8ce9 19w36a 2019-09-05 10:54:58 +01:00
Runemoro 35891f155e Map some new 19w34a classes (#831)
* Map some new 19w23a classes

* Fixes

* Fix typo

* Drop methods that are gone
2019-09-01 16:21:31 +01:00
modmuss50 d75cbd833f 19w35a 2019-08-28 18:46:02 +01:00
NinjaPhenix 9350e9382e Renames some classes now shared by parrots and bees (#840)
* Renames some classes now shared by parrots and bees

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

* Fixed a typo
2019-08-26 12:02:55 +01:00
Shnupbups 80e8183975 Begin 19w34a mappings (#828)
* Begin 19w34a mappings

* more stuff

* More stuff

* stuff

* stuff again

* Update EntityRenderer.mapping

* x

* Finish mapping and modify BeeEntity, name string damagesource, map bee model

* Fix typo in class_1282 method 21748

* Update BeeEntity.mapping

* Update BeeHiveBlockEntity.mapping

* more stuff
2019-08-25 15:18:10 +00: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
­Sollace 093d7f91c1 Item entity mappings (#796)
* method_6980 -> setCreativeDespawnTime

* method_20397 -> canMerge

* method_6974 -> applyBuoyancy

* method_6976 -> setCovetedItem

* method_6987 -> setDespawnImmediately
2019-08-03 23:47:19 +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
­Sollace 8f369ff52e Entity control mappings (#778)
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
2019-07-16 20:22:47 +02:00
quaternary 5348cc0cfa Smol potion stuff (#775) 2019-07-14 09:17:06 +02:00
modmuss50 69808e7f6c 1.14.4-pre4 2019-07-10 14:32:43 +01:00
liach 08dc88d859 Mapped some non-realms stuff (#782) 2019-07-10 08:52:57 +02:00
Runemoro 618083791c Fix some methods not using intermediaries (#788) 2019-07-08 18:09:22 +02:00
modmuss50 e20cfe9b0e 1.14.4-pre3 2019-07-08 13:27:46 +01:00
modmuss50 618de57dfb 1.14.4-pre2 2019-07-04 16:29:01 +01:00
Adrian Siekierka ab32dae2fa 1.14.4-pre1 2019-07-03 20:50:19 +02:00
Adrian Siekierka 30dc644d22 update Enigma, Stitch; drop unnecessary enum mappings 2019-06-29 09:49:26 +02:00
Adrian Siekierka 4be1c27c10 merge missing 1.14.3-pre2 mappings; update Enigma to fix save NPE 2019-06-29 00:43:29 +02:00
Adrian Siekierka 1a6f261a2e The Great Intermediary Update, Part 1 2019-06-28 23:55:20 +02:00
liach ee0c22d08b Mapped two unmapped classes and some villager stuff (#758)
* Mapped two unmapped classes and some villager stuff

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

* optimize name

Signed-off-by: liach <liach@users.noreply.github.com>
2019-06-23 18:55:59 +01: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
­Sollace 57f9d99fc1 EntitySize -> EntityDimensions (#745)
* EntitySize -> EntityDimensions

* resizeable -> changing

* constant -> fixed (fite me)

* x/z -> width/height

* EntityType.setSize -> setDimensions

* Entity.getSize -> getDimensions

* EnderDragonPart.partSize -> partDimensions

* PlayerEntity.STANDING_SIZE -> STANDING_DIMENSIONS

* LivingEntity.SLEEPING_SIZE -> SLEEPING_DIMENSIONS

* PlayerEntity.SIZES -> POSE_DIMENSIONS (POSTURES?)

* EntityType.size -> dimensions

* Entity.size -> dimensions

* EntityType.getDefaultSize -> getDimensions

* Entity.refreshSize -> calculateDimensions

* getActiveEyeHeight(pose,size) -> getActiveEyeHeight(pose,dimensions)
2019-06-18 13:05:31 +01:00
Adrian Siekierka 3fae250684 take care of #730 2019-06-14 11:57:55 +02: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
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
Chloe Dawn bb90607728 Item refactoring (#712) 2019-06-03 18:42:18 +02:00
Yanis48 86b6ca3940 Class renamings, mainly entity-related (#720)
* renamings

* tnt minecart entity
2019-06-02 20:35:57 +01:00
Adrian Siekierka 1f9f42e6dd 1.14.2 Pre-Release 3 2019-05-22 16:06:46 +02:00
Adrian Siekierka 7d5de74139
Block.isOpaque, Phase tick mappings (#708) 2019-05-18 21:45:50 +02:00
Yanis48 3abd72da61 Various entity renderer & model mappings (#707) 2019-05-18 13:23:23 +02:00
modmuss50 b60e6e7e6c 1.14.2 Pre-Release 1 2019-05-16 17:28:41 +01:00
howtonotwin ea55a3db01 Name some stuff in and around BoatEntity (#702) 2019-05-16 17:25:06 +01:00
modmuss50 60e13d70f8 Revert 2 bad renames, and downgrade enigma 2019-05-14 12:05:39 +01:00
Chloe Dawn 7a61325ce6 getEntityWorld -> getWorld (#696) 2019-05-13 15:35:00 +01:00
Adrian Siekierka 7290b5ae14 1.14.1 Pre-Release 2 2019-05-09 17:00:37 +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
tyra 6178ac86fc Update LlamaEntity.mapping (#684)
Adds mappings for two more methods
2019-05-07 16:57:34 +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 e375b99270 Entity mappings (#657)
* Entity mapping modifications

* Entity mapping renames

* improvements

* xp -> experience, Snowgolem -> SnowGolem, spitout -> spitOut, lastLeveledUp -> lastPlayedLevelUpSoundTime, missed an instance of targetting

* Rename SnowgolemEntity.mapping to SnowGolemEntity.mapping

Stupid file system doesn't make a difference between cases.

* touchingLava -> inLava, touchLava() - setInLava()

* putOnTopmostSolidBlock -> afterSpawn

* owner -> actor, other improvements

* Actors are evil. Or something.

* Missed some actors, reverted stuff that's now part of #663

* isInfestableBlock -> isInfestable

* getRegularBlock(BlockState) ->fromRegularBlock

Another method with inverse logic in that class.

* use method name from main branch for surface collision
2019-05-07 12:19:00 +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