Commit Graph

730 Commits

Author SHA1 Message Date
­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
Chloe Dawn 6873106509 VerticalEntityPosition -> EntityContext (#669) 2019-05-05 23:23:57 +01:00
Adrian Siekierka 465a1e3701
entity renderer naming consistency fixes (#653) 2019-04-29 08:54:17 +02:00
Runemoro f8505bdd1c Map the new 1.14 classes (#646) 2019-04-24 23:19:40 +02:00
Runemoro ca0680d8ca Item mappings (#641)
* Item mappings

* shouldCheckIfStateAllowsPlacement

* canBeLit
2019-04-23 14:47:50 +01:00
Pyrofab a4d9672e02 Made a few needed changes based on open issues (#645)
* Rename LivingEntity#attack, fixes #482

* Rename ItemCooldownManager#isCooldown, fixes #488

* Rename StringItem, fixes #525

* Rename *riddenEntity to *vehicle, closes #589

* Rename PlayerMoveServerMessage, closes #623

* Disambiguate Rotation, fixes #630

* Distinguish rotation classes more

* Revert to BlockRotation
2019-04-23 14:47:15 +01:00
modmuss50 de13dda07c 1.14 Pre-Release 5 2019-04-18 22:01:39 +01:00
NeunEinser b948925b87 A few new pre-4 mappings (#633)
* A few new pre-4 mappings

* typo

* Update and rename ItemOminousBannerTranslataionKeyRenameFix.mapping to ItemOminousBannerTranslationKeyRenameFix.mapping

* Improvements + some parameter names for CartographyTableContainer
2019-04-18 21:51:33 +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
Runemoro 4aa3c17b17 A few mappings (#631)
* A few mappings

* Suggestions by liach

* Improvements

* Add methods from liach's PR

* make -> get to match others

* get -> create for methods that create tasks
2019-04-17 17:23:22 +01:00
Adrian Siekierka 13943c582b update to 1.14 Pre-Release 3 2019-04-16 17:51:03 +02:00
NeunEinser 4ef4dc3e8d Command Mappings, mostly arguments and some missing methods/inner classes (#613) 2019-04-16 16:17:28 +02:00
Runemoro 4b82d7412a Misc mappings (#621) 2019-04-16 16:16:45 +02:00
Runemoro d59d0ed42f Client mappings (#620) 2019-04-16 16:13:47 +02:00
liach eca8dc8f6e Some updated raid mappings (#617) 2019-04-16 16:13:03 +02:00
SquidDev 616683e536 A couple more methods for CommandBlockExecutor (#612) 2019-04-14 10:55:58 +02:00
modmuss50 2fd19127ea 1.14 Pre-Release 2 2019-04-12 15:38:24 +01:00
modmuss50 dcf1bdca01 Merge branch 'pull/607' into 1.14_Pre-Release_1
# Conflicts:
#	mappings/net/minecraft/world/loot/function/SetNbtLootFunction.mapping
2019-04-12 15:20:28 +01:00
liach a4de6322db Map some poi and village stuff (#604)
* Map some poi and village stuff

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

* Update based on suggestion
traderrecipe -> tradeoffer

Signed-off-by: liach <liach@users.noreply.github.com>
2019-04-12 15:16:50 +01:00
SquidDev 6216cbc25c Map a collection of random methods (#608) 2019-04-12 15:16:19 +01:00
Runemoro ffdab84e79 Client mappings (#609)
* Client mappings

* Update BlockLeakParticle.mapping

* Update NativeImage.mapping
2019-04-12 15:15:55 +01:00
Runemoro 7bedd4cd9f Map all commands and argument types 2019-04-11 01:58:54 -04:00
modmuss50 b13686aed0 1.14 Pre-Release 1 2019-04-10 16:36:17 +01:00
Runemoro 6bb2ca352f Entity mappings (#595)
* Entity mappings

* More mappings

* A few more names

* More entity mappings

* Update CompositeTask.mapping
2019-04-10 15:34:04 +01:00
liach 94b94160ea Some mappings for 19w14b (#592)
* Some mappings

Map render distance center packet and fix revenge target selection goal

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

* More mappings along entities, etc.

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

* Save mappings again

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

* Fixes a few mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-04-10 12:36:55 +01:00
Uriel Salischiker ac757c350a Mappings for some files (#600) 2019-04-07 12:07:33 +02:00
modmuss50 0e8b18ad3f 19w14b 2019-04-05 17:03:47 +01:00
modmuss50 6bc3deea2f Merge branch 'pull/590' into 19w14a
# Conflicts:
#	mappings/net/minecraft/entity/Entity.mapping
#	mappings/net/minecraft/entity/mob/SlimeEntity.mapping
#	mappings/net/minecraft/entity/passive/AbstractTraderEntity.mapping
#	mappings/net/minecraft/entity/passive/VillagerEntity.mapping
2019-04-05 16:59:48 +01:00
liach e2c9a5c337 A few mappings around villagers (#587)
* A few mappings around villagers

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

* Update VillagerEntity.mapping

did enigma broke
2019-04-05 16:56:48 +01:00
Yanis48 1d2960ebe7 A few random mappings (#583)
* my little mappings

* plural methods
2019-04-05 16:56:01 +01:00
Sargun Vohra 046e93f136 Mostly EntityType stuff, plus a bit of slime stuff (#588) 2019-04-05 13:58:14 +02:00
Runemoro fca78f74f4 More mappings 2019-04-04 18:04:19 -04:00
Runemoro 8fb75cc949 Entity mappings 2019-04-04 16:04:27 -04:00
modmuss50 845be1d2ec 19w14a 2019-04-03 17:16:41 +01:00
modmuss50 90190d1843 Merge branch 'pull/580' into 19w13b
# Conflicts:
#	mappings/net/minecraft/world/EntityView.mapping
2019-04-03 16:46:13 +01:00
modmuss50 087ce6de98 Merge branch 'pull/579' into 19w13b
# Conflicts:
#	mappings/net/minecraft/entity/ai/goal/TemptGoal.mapping
#	mappings/net/minecraft/world/EntityView.mapping
2019-04-03 16:45:44 +01:00
Sargun Vohra dcf0691315 Make AI task lifecycle easier to understand (#581) 2019-04-03 16:43:23 +01:00
Jonathan Frederick d4d42f2976 TargetPredicate + Misc mappings (#577)
* TargetPredicate: Add some argument mappings

* MobSpawnerLogic: Add method mappings

* EntityPredicates: Add getBottommostEntity mapping

If anyone has a better name please let me know

* LivingEntity: Add mapping for teleport method

* AnimalMateGoal: add some mappings

* AvoidGoal: add setMobEntityTarget mapping

* FleeEntityGoal: add many mappings

* FollowTargetGoal: Add many mappings

* IronGolemLookGoal: Add mappings

* TrackTargetGoal: Add argument mapping

* WolfBegGoal: Add mappings

This also changes an incorrect mapping

* EndermanEntity: Add many mappings

* MobEntity: Add looking and angle mappings

* EntityView: Add a bunch of mappings

* MobSpawnerLogic: Add playerInRange method

* CreeperEntity: add some mappings

* Explosion: map DestructionType

* Add various entity mappings

* DolphinEntity: Clarify field

* HorseBaseEntity: add pathToAdult method

* PandaEntity: add some mappings

* TurtleEntity: Add some mappings

* RaiderEntity: Add some mappings

* Describe ALL of the predicates!

I've tried to give each predicate a descriptive name, instead of just naming all
of them, "targetPredicate"

* Fixup names of some mappings

* AvoidGoal: Use better predicate name

* FleeEntityGoal: Use better predicate name, more mappings
2019-04-03 16:43:01 +01:00
Runemoro 4ebfe3c891 Rendering mappings 2019-03-31 20:45:27 -04:00
modmuss50 f6fbfeffd8 Merge branch 'pull/576' into 19w13b
# Conflicts:
#	mappings/net/minecraft/server/command/ParticleCommand.mapping
2019-03-31 15:23:26 +01:00
liach 6e44cd7dc6 Random mappings around projectiles etc (#575)
Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-31 15:11:51 +01:00
gegy1000 b8e424d707 Cat and Ocelot mapping 2019-03-31 16:06:27 +02:00
Runemoro 1458a5ce72 More mappings 2019-03-31 07:34:42 -04:00
Runemoro 2337da5579 More mappings 2019-03-31 07:15:05 -04:00
Sargun Vohra 791ef4f5e5 Some player stuff (#574)
* Some player stuff

* Update LivingEntity.mapping
2019-03-30 11:06:24 +02:00
modmuss50 0580b466fb 19w13b 2019-03-29 16:19:26 +00:00
Runemoro 4c16cbb961 Merge remote-tracking branch 'upstream/19w13a' into s 2019-03-29 03:39:49 -04:00
Runemoro a1438d1316 Fixes + more names 2019-03-29 03:36:11 -04:00
Runemoro dc3213335d 19w13a mappings 2019-03-29 03:04:08 -04:00
liach b418a046f0 Some stuff about trading and villages (#563)
* Some stuff about trading and villages

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

* A few more random mappings

Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-29 00:37:29 +00:00
liach f9e67cc711 I love raids! (#562)
* I love raids!

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

* Fix spawn more groups name

Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-28 19:07:49 +00:00
Pyrofab 1ba89c7d1f Finish mapping Brain (#561) 2019-03-28 09:33:27 +02:00
modmuss50 53620837bf 19w13a 2019-03-27 18:35:10 +00:00
Runemoro c67d269dfd Entity mappings (#554)
* Entity mappings

* Update ZombiePigmanEntity.mapping

* Improvements

* Update ProjectileUtil.mapping

* More names
2019-03-27 17:54:42 +00:00
Sargun Vohra 672b1f4d70 Map some xp/loot drop stuff (#556)
* Map some xp/loot drop stuff

* Update KilledByPlayerLootCondition.mapping
2019-03-26 12:22:55 +02:00
Blake Redenius 106c733e04 Map mostly static ArgumentType methods, and a PlayerInventory field. (#550)
* Mappings for the static getArgument ArgumentType methods.

* This field is set to a list of every item list that makes up the players inventory.
2019-03-22 17:56:19 +02:00
modmuss50 6d38740b83 19w12b 2019-03-21 18:06:36 +00:00
modmuss50 8339dfb381 Merge branch 'pull/546' into 19w12a
# Conflicts:
#	mappings/net/minecraft/entity/ai/brain/Brain.mapping
2019-03-21 17:29:44 +00:00
Adrian Freund 7480676ebe Added mappings for VillagerEntity inner class (#543) 2019-03-21 17:27:23 +00:00
Runemoro 1d060729ff 19w12a mappings (#541)
* 19w12a mappings

* More mappings

* Overlay

* Debug renderers

* Tasks

* Map remaining tasks

* Goals

* 3 more classes

* fix

* Fix package
2019-03-21 17:27:13 +00:00
liach a265c803cf Drop subclass for #543
Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-21 08:19:14 -07:00
liach a0c6dc7e67 Add some villager related mappings and fix some really poor names
Signed-off-by: liach <liach@users.noreply.github.com>
2019-03-21 08:16:40 -07:00
modmuss50 b9285540bc 19w12a 2019-03-20 17:56:26 +00:00
Gegy f1e3439325 Updated Villager Mapping (#527)
* Merge with upstream

* Add back dropped mapping

* Further villager mapping
2019-03-20 17:45:35 +00:00
Pyrofab 0cfcb7800c Finish mapping entity attributes (#538) 2019-03-19 20:07:55 +00:00
Yanis48 9ae17580ac Various mappings, mainly entity (#524)
* Various mappings, mainly entity

* wrong tabulation

* added smooth lighting render class

* resolved conflicts

* oupsi

* '-'
2019-03-19 15:38:15 +00:00
Runemoro fa91aa70fa AI mappings (#533)
* AI mappings

* Map remaining tasks

* Goal mappings

* More goals

* Suggestions

* getOutputMemoryModules
2019-03-19 17:37:06 +02:00
Terrails 24ede5ae9b 19w11b FoodItem replacements (#523)
* Mappings for the FoodItem replacement

* Update FoodItemSetting.mapping

* Update FoodItemSetting.mapping

* Update FoodItemSetting.mapping

* Make setter methods similar to other Setting builders
2019-03-18 19:54:11 +00:00
Runemoro 936397a574 Client class mappings (#534)
* Client class mappings

* A few more classes

* 3 more

* A few more classes

* a

* Suggestions

* ErrorScreen
2019-03-18 19:53:22 +00:00
modmuss50 b7d1ab3eab CrossbowUser.w should be getTarget. Work around for propagation issue 2019-03-17 16:40:47 +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
Blake Redenius 3678cb6171 Add 2 new methods mappings and rename a few others. (#516)
* Change ItemStack#invalid to ItemStack#empty. Only ever used when checking if the stack is empty

* Rename BucketMilkItem to MilkBucketItem

* Change FireworksItem to FireworkItem (registry name is also singular, not plural)

* Rename EntityType.ILLAGER_BEAST to RAVAGER to match the class / actual entity name.

* Map 2 of FenceBlock's connection-related methods.
2019-03-09 15:13:29 +01:00
Raph Hennessy 85bfe2b5b4 Mapped CameraHelper, Shaped/Shapeless Serializers and other small methods (#512) 2019-03-08 02:01:59 +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
Ryan Liptak a2e9d2cb1a Updated movement mappings for 19w08b (#498)
FFF changed to Vec3d, this updates those functions to match the mappings that were added in https://github.com/FabricMC/yarn/pull/492 + a few other new mappings

movementSpeed -> speed
vec3dHorizontalLengthSq -> Entity.squaredHorizontalLength
2019-02-25 14:33:09 +01:00
Pyrofab 4be7484935 Update EntityPose related mappings (#501)
* Update EntityPose related mappings

* refreshDimensions -> refreshSize
2019-02-23 14:09:20 +00:00
Meredith Espinosa cdb7916a69 map the new enum for status effects (#497) 2019-02-22 13:33:25 +01:00
asie 4c6e7b023d fix PandaEntity 2019-02-21 19:46:39 +01:00
Adrian Siekierka 5b57dd7623 map Entity.*velocity 2019-02-21 19:20:43 +01:00
Adrian Siekierka c25fcbb177 19w08b 2019-02-21 19:19:18 +01:00
asie b8455e0dc2 mapping tweaks, close #494 2019-02-21 19:15:03 +01:00
liach 2855b53931 A few assorted entity related mappings (#491) 2019-02-21 19:13:36 +01:00
Ryan Liptak c869757d91 Movement and input related mappings (#492)
- Reasoning for updateVelocity/travel naming: https://github.com/FabricMC/yarn/pull/485#issuecomment-465793034
- PlayerLookC2SPacket -> PlayerInputC2SPacket
  + There's no look information in this packet, only info related to the movement keys the player is pressing
  + PlayerLookC2SPacket.yaw -> PlayerInputC2SPacket.sideways
  + PlayerLookC2SPacket.pitch -> PlayerInputC2SPacket.forward
- Mapped Input.movementSideways/Input.movementForward fields and adding 'pressing' prefix to the boolean Input.forward/back/right/left fields
2019-02-21 19:02:24 +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
quat 47af0fc37e Some things, mainly relating to InGameHud 2019-02-20 02:38:08 -05:00
Adrian Siekierka 7c106f6eec clean up Knit bugs, unmap some enums, map a few names along the way - close #461 (#472) 2019-02-17 19:12:23 +00:00
Meredith Espinosa d3a3dc08c0 add various PlayerEntity-related mappings (#473)
* add various PlayerEntity-related mappings

* add mappings for jumps
2019-02-17 19:11:39 +00:00
Yanis Guaye 644904f268 LightningEntity mappings (#475)
* LightningEntity mappings

* Fully mapped LightningEntity

* better field and parameter names

* extraFireBlocksCount -> spreadAttempts
2019-02-17 16:50:31 +00:00
kashike f9219d3e30 fix wither class name (#478) 2019-02-17 12:28:17 +01:00
liach 9ce0143a77 Map all fields, methods, and inner classes of fox entity (#459) 2019-02-16 21:50:35 +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
Runemoro cb61641543 World mappings 2019-02-10 02:49:48 -05:00
Adrian Siekierka e2a1bba0b6 19w06a 2019-02-06 21:22:24 +01:00
Pyrofab 5c388721a8 Map GuardianEntity (#446) 2019-02-06 18:11:49 +00:00
Gegy 15fb68b4f0 AI mapping (#441)
* AI mapping

* Remove redundant inherited method mapping

* Fix PrimedTntEntity mapping

* Fix PrimedTntEntity mapping

* Fix PrimedTntEntity mapping

* initGoals
2019-02-06 18:11:04 +00:00
Gareth Williams ea2837fd3a hasItemStack mapping (#444) 2019-02-06 17:01:17 +01:00
Erlend Åmdal 6a0d96fda2 Tiny fixes (#443) 2019-02-03 18:32:25 +01:00
Yanis48 3ad526eaee Various things from 19w05a (#437) 2019-01-31 12:59:07 +01:00
asie 5a4697d967 fix EntityType.category, Entity.createSpawnPacket 2019-01-30 23:55:59 +01:00
Adrian Siekierka 1bfe80a06a update to 19w05a 2019-01-30 18:48:39 +01:00
Siphalor fcf9dbf746 (#435) Various entity and collision related mappings 2019-01-30 18:35:02 +01:00
Adrian Siekierka 15dca47835
toast/item/loot/misc names (#429) 2019-01-30 18:24:47 +01:00
Juuxel b94e870e54 Crossbows and some entity mappings (#427) 2019-01-28 12:18:51 +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
Shadowfacts 1ceae3f9b2 Misc Hit Result stuff (#411) 2019-01-24 14:08:28 +01:00
Sebastian Knackstedt d82849a667 Add DolphinJumpGoal mapping (#412) 2019-01-19 18:06:44 -05:00
Adrian Siekierka 37e4c7616b update to 19w03b 2019-01-18 00:35:46 +01:00
Hazeev Aidar aa8fdd1e89 Some player related mappings (#406) 2019-01-18 00:32:39 +01:00
Jono Kemball 90b84803e4 Some End fight and BossBar mappings (#409)
Not 100% on where to put the `BossBarManager` and `CommandBossBar` or what a better name for `CommandBossBar` would be that isn't potentially confused with `BossBarCommand`
2019-01-17 18:20:42 -05:00
Runemoro 7a20b89758 19w03a mappings (#404) 2019-01-17 13:18:48 +01:00
modmuss50 a9bd6ab44d Rebuild method names 2019-01-16 18:30:32 +00:00
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Virtuoel dd1bb669ea Fix scaffolding distance. Minor spelling fix (#403) 2019-01-16 17:57:16 +01:00
Runemoro 37756970dc A few rendering mappings (#401)
* A few rendering mappings

* Fix something

* Fix something
2019-01-16 15:48:01 +00:00
Runemoro fdb188cf3a 19w02a mappings (#387) 2019-01-12 12:41:47 +01:00
Kitten df7cbc8c55 playSoundAtEntity -> playSound (#391) 2019-01-12 01:33:31 +01:00
Blake Redenius 9ecf444f1a Add field / arg mappings for various things. Also map some some thing… (#393)
* Add field / arg mappings for various things. Also map some some things on `aud` -> `LecternContainer`.

* Add mapping for BlockEntityType.Builder#a -> BlockEntityType.Builder#build

* Add mapping for some Inventory parameter names. Also add mappings for CraftingInventory.f() -> CraftingInventory.getHeight() & CraftingInventory.g() -> CraftingInventory.getWidth()
2019-01-12 01:30:17 +01:00
asie 951dbea96d propagation fixes 2019-01-09 18:46:28 +01:00
Adrian Siekierka bf62f29ddf update to 19w02a 2019-01-09 18:20:38 +01:00
Runemoro 9e8dc23783 Lots of mappings (#381) 2019-01-09 17:05:18 +01:00
liach 0aca6ada2b Some advancement mappings (#378) 2019-01-09 13:53:32 +01:00
Juuxel 6c2ce1ff41 Falling blocks and paintings (#383)
* More falling block mappings

* Change some wording

* Painting mappings
2019-01-08 21:14:51 +00:00
Adrian Siekierka cf025be5ef
map some *BlockEntity methods (#372) 2018-12-31 22:42:36 +01:00
Sebastian Knackstedt c17d6ea7cb Method-namings for Entity-classes (#356) 2018-12-30 09:37:40 -05:00
Tyler Hancock 34c0ed8cd5 18w50a exploration 2 (#365) 2018-12-29 12:40:02 +01:00
Tyler Hancock d110c89950 Mapped out some stuff in enchantments. (#355) 2018-12-24 09:09:09 +01:00
Adrian Siekierka bbaf0533c7 Merge branch '18w50a' of github.com:FabricMC/pomf into 18w50a 2018-12-22 19:26:55 +01:00
Adrian Siekierka a2c2c754e9 autofixes 2018-12-22 19:26:44 +01:00
Erlend Åmdal 79fee4ac00 Entity/Feature rendering (#339) 2018-12-22 19:20:49 +01:00
sekwah41 35e4e4b39e Updated a bunch of entity and world collision names (#338) 2018-12-22 19:15:59 +01:00
liach 249b75d84a Many villager-related mappings, some trade related ones and some new (#280) 2018-12-20 09:45:46 +01:00
liach 1f9002714e Mapped a few goals (#333)
* Mapped a few goals

Signed-off-by: liach <liach@users.noreply.github.com>
2018-12-20 09:41:05 +01:00
modmuss50 f07fc18ffb Fix duplicate mappings + small fix
Let me know if your not happy with these new names
2018-12-20 00:17:37 +00:00
liach 7d736ef495 Mapped some stuff about fish, especially fish group and tropical fish (#341)
* Mapped some stuff about fish, especially fish group and tropical fish

also include some mob spawning/despawning mappings

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

* Fixes for review

Signed-off-by: liach <liach@users.noreply.github.com>
2018-12-19 22:21:43 +01:00
Jamie Mansfield 4fd4df0a14 Raids (#321)
*The following are an exert from my mapping set, they are my own work*.

```
CL: asd net/minecraft/world/entity/projectile/WitherSkull
CL: asf net/minecraft/world/entity/raid/Raid
CL: asg net/minecraft/world/entity/raid/Raider
CL: ash net/minecraft/world/entity/raid/RaidManager
CL: asi net/minecraft/world/entity/vehicle/AbstractMinecart
```

(mapping order shows they are packaged together)
2018-12-18 12:47:05 -05:00
Erlend Åmdal 23242ea914 Comprehensive particle mappings (#309)
* Map particle stuff

* source -> parameters

* Fix things

* xVelocity -> velocityX
2018-12-16 18:26:54 +01:00
David Vierra 6c829da1f5 Many names following from UnlockRecipesClientPacket (#303) 2018-12-16 09:57:44 +01:00
RedstoneParadox 926a19b9fb Multiple Item Related Mappings (#302)
* Update some thrown entity mappings.

* Item + Trading mappings.

* Update ArmorItem.mapping

* Update ArmorMaterials.mapping

* Update ArmorMaterials.mapping

* Create ArmorMaterial.mapping

* Update ArmorStandItem.mapping

* Update ArrowItem.mapping

* Update AxeItem.mapping

* Update BannerPatternItem.mapping

* Update BaseBowItem.mapping

* Update BoatItem.mapping

* Delete VillagerTrade.mapping

* Delete VillagerTradeList.mapping

* Update BannerPatternItem.mapping
2018-12-15 19:30:09 -05:00
Jamie Mansfield c144691acb 18w50a: Update registries (#294) 2018-12-14 20:05:02 +01:00
quat b17dbf0abf Map ALL the packets! 2018-12-14 19:20:08 +01:00
David Vierra 4cc228e366 Lots of stuff related to RecipeBook and RecipeBookGui (#289)
* Lots of stuff related to RecipeBook and RecipeBookGui

* RecipeDisplayListener

* RecipeResultCollection

* RecipeGridAligner

* idToAmountMap

* RecipeInputProvider

* Ingredient.NON_EMPTY
2018-12-14 16:43:15 +00:00
Striker Rocker 034a3c4888 Updated some entity fields and class mappings (#288) 2018-12-14 08:37:49 -05:00
SquidDev 9ac856c303 Re-add mappings for Nameable (#279) 2018-12-13 09:17:42 +00: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
asie 710d7d3f05 fix StatusEffectInstance 2018-12-12 15:31:23 +01:00
Shadowfacts afaf4b010b Assorted dragon fight work (#258)
* Assorted dragon fight work

* PhaseBase -> AbstractPhase, PhaseBaseOther -> AbstractSittingPhase

* crystalWasDamaged -> crystalDestroyed

* More dragon fight work
2018-12-12 11:36:16 +01:00
Adrian Siekierka 0a3f579fc7
partial mapping of EntityTracker (#262) 2018-12-11 14:21:44 +01:00
Adrian Siekierka 14bc1dfaed
map out EntityType (#259)
* map out EntityType

* missed a few
2018-12-11 09:15:34 +01:00
Gegy d1c21f67b7 Model and debug renderer mapping (#261) 2018-12-11 09:15:18 +01:00
Jamie Mansfield b093e2f65b populateCrashReport (#255) 2018-12-10 19:53:18 +01:00
asie a10a6291ed unmap wrong name in MinecraftClient, standardize appendCrashReportDetails 2018-12-10 07:52:44 +01:00
Prospector b3992e890d Bit of work (#246)
* Bit of work

* A bit of biome source stuff before I gave up. ITried.jpg

* Revert stuff I don't understand

* get rid of enum mapping
2018-12-08 23:20:01 +01:00
asie b12b46a7b2 remove some enums 2018-12-08 14:48:51 +01:00
asie 97567d9cd6 rework EnchantmentHelper names, map a few network-related things 2018-12-07 21:00:43 +01:00
asie b4febed443 tweaks to previous + DamageSource 2018-12-06 11:27:17 +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
asie 3219314eb4 ServerPlayerEntity-related naming work 2018-12-05 12:16:14 +01:00
asie 557df3c0fb minor file cleanup 2018-12-04 09:13:56 +01:00
asie 63470107ac mapping name unification & fixes 2018-12-03 20:57:18 +01:00
kashike 6b9cd483ff various mappings (#235) 2018-12-03 13:33:56 +01:00
Adrian Siekierka f4d37dc92c another hotfix 2018-12-02 11:53:35 +01:00
Adrian Siekierka a9aaf83026 fixes and mapping work 2018-12-02 11:38:26 +01:00
SquidDev 0a42dd3c3b Assorted mappings for commands (#229)
* Mappings for command argument types

* A couple of responses to feedback
2018-12-01 12:55:14 +01:00
kashike 03cc49749c some various mappings (#228) 2018-11-30 22:32:46 +01:00
Adrian Siekierka 44f4d2645a mapped a few texture-related things 2018-11-30 15:27:03 +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
kashike 3a95f539e7 some things (#220) 2018-11-30 12:38:47 +01:00
Prospector 111d25a61c A LITTLE BIT OF EVERYTHING (#224) 2018-11-30 12:37:11 +01:00
SquidDev 9104e89be3 Rename several methods to be suffixed (#222)
* Rename several methods to be suffixed

* Remove "Server" from various ServerCommandSource methods
2018-11-30 12:01:17 +01:00
Adrian Siekierka 50764e1853 update to 18w48a 2018-11-29 21:10:38 +01:00
SquidDev 7a03d43146 A random assortment of things (#213)
* Add RecipeSerializers mappings

* Add class mappings for several items

* Add several BlockSoundGroups

* Add World.getDimension and World.playRecord

* Add a couple of methods to bounding boxes

* A couple of minor mappings for servers

* Some mappings for TextComponent (de)serialization

* A very minor mapping for Polar2f

I'm really unsure about this name, so comments welcome!

* A few mappings for chat

* Basic fluid mappings

* Waterlogged -> Waterloggable, removeChatMessage -> removeMessage

* Polar2f -> Vec2f, setPlayingOverlay -> setRecordPlayingOverlay
2018-11-29 21:07:58 +01:00
kashike 1d1dac2926 switch around some predicate stuff (#216) 2018-11-29 21:07:40 +01:00
kashike 56b40168df Goal! (#217) 2018-11-28 21:24:24 +01:00
asie 0f7adbf0ac rename InventoryPlayer 2018-11-28 11:55:22 +01:00
asie 1e4a6195a4 whoops 2018-11-28 08:42:25 +01:00
asie 9a6a13a6e8 close #210, close #211, work on other things 2018-11-28 08:42:16 +01:00
asie 5e77db1bf2 first pass of fixes 2018-11-27 20:35:45 +01:00
Adrian Siekierka 13ed3f8e2c update to 18w47b 2018-11-27 19:50:51 +01:00
asie 895ed3ad61 The Great Suffixification 2018-11-27 19:42:03 +01:00
asie 05dc08bffb close #199, close #201, close #202 2018-11-26 14:33:11 +01:00
Adrian Siekierka 591e770b72 update to 18w47a 2018-11-21 17:58:05 +01:00
asie 2e5d688eaa fix EntityLiving.damage 2018-11-18 08:22:10 +01:00
Adrian Siekierka def639a8a4 merge Prospector's work 2018-11-15 18:20:38 +01:00
Adrian Siekierka 1418bb1b37 update to 18w46a 2018-11-15 18:05:03 +01:00
asie fcc786466a minor update 2018-11-09 12:34:50 +01:00
asie 6d3075daeb map a few block-related things 2018-11-08 23:43:19 +01:00
asie a1b90d58a7 fix Entity.getName() conflict 2018-11-07 20:46:53 +01:00
Adrian Siekierka 47d8c24214 update to 18w45a 2018-11-07 17:37:58 +01:00
NikkyAI 07155b2aa6 ServerCommandSource and some random (#188)
* ServerCommandSource and some random

* rename exception types

* some more CommandExceptions

* one more
2018-11-07 17:33:25 +01:00
asie 050abcefca rename some network classes, map scoreboard/custom payload 2018-11-07 09:59:35 +01:00
asie 6cf2bc0eea Update 2018-11-06 20:26:53 +01:00
asie f9cb07a2b4 minor mappings 2018-11-06 17:02:00 +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 ce1ae229d1 client-side interaction-related mapping 2018-11-03 19:06:46 +01:00
asie d5ddad5c30 map some client things 2018-11-03 08:44:17 +01:00
Adrian Siekierka 27247c41f0 fix getNameComponent 2018-11-01 20:19:03 +01:00
asie 8226c45d75 resource mapping work, refactor interface names - close #184 2018-11-01 17:53:10 +01:00
asie 1ec80e3ecc first shot at mapping font-related stuff 2018-10-31 22:01:41 +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
Adrian Siekierka d3eb0a76be entity/registry/bootstrap mapping work 2018-10-28 13:34:15 +01:00
Adrian Siekierka 726aff2072 attempt mapping VoxelShape, other updates 2018-10-27 16:04:37 +02:00
asie 1b13674f8a map DyeColor, JsonLikeTagParser, update 2018-10-27 09:11:38 +02:00
modmuss50 10ccf6a407 Possible fixes for mapping conflicts 2018-10-26 22:53:20 +01:00
Adrian Siekierka 10af649fc1 update 2018-10-26 20:59:00 +02:00
Adrian Siekierka 45e6a3755d update to 18w43c 2018-10-26 13:08:59 +02:00
asie 153fc8a1a6 some server classes, oddballs, map command manager and command class names 2018-10-26 08:04:38 +02:00
asie 33e2884035 port server.config 2018-10-25 22:36:50 +02:00
asie 1c8c22d955 recipe, etc. work 2018-10-25 22:01:57 +02:00
asie 0ba935a233 restore entity.tracker, add misc things 2018-10-25 19:18:32 +02:00
asie ee188babd0 fix copyEntityData conflict 2018-10-25 09:28:52 +02:00
asie 981e16912a rebuilt method names 2018-10-25 00:05:14 +02:00
Adrian Siekierka 9cd29783ca 18w43b initial migration, 99% likely to not work 2018-10-24 21:40:05 +02:00
Player 76cdc3f14e Include server-only mapping, some fixup from matcher bugs. 2017-06-12 21:56:35 +02:00
Adrian Siekierka fed260bb6d Run Enigma Rebuild Method Names 2017-06-08 16:09:29 +02:00
Player da4b189aef Update to 1.12 (preliminary!) 2017-06-08 16:01:49 +02:00
Prospector f88888c26f A few sessions of "pomfing all the things" (#163)
* 2 1/2 hours of me mapping stuff

* Round two!

* Few small additions

* Fix mappings from merge

* Make proper changes

* loadsMoreDecoration -> moreSurfaceDecoration

* Make requested changes
2017-05-22 14:38:25 +01:00
Tyler Hancock f2a9ec2d04 Blocks, Entities, Models (#162)
* Mapped a bunch of entity stuff.

* Named a bunch of entity model classes.

* Added some more gui mappings

* Mapped a few misc block things.

* Even more block mappings.

* Mapped the rest of the entity classes.

* Changed minecraftGame -> game
2017-05-14 16:38:30 +01:00
Adrian Siekierka cd0a6cf43d fix missing constructor names from 16w38a 2017-05-13 15:37:15 +02:00
Adrian Siekierka 8773f5423a fix conflicts 2017-05-13 14:44:07 +02:00
Adrian Siekierka 95e2db6744 restore old argnames from 16w38a 2017-05-13 08:02:51 +02:00
Tyler Hancock de13604da3 Mapped a few entity/item/player stuff. (#161)
* Mapped some throwable entity stuff.

* Added some player, player inventory stuff.

* Mapped some stuff related to the dragon fight.

* Mapped a bunch of params and methods for item.

* Fixed several typos.
2017-05-13 08:02:52 +02:00
mezz 5c6c0c71d1 Add mappings for Evoker, Vex, their rendering and some AI (#158)
* Add mappings for Evoker, Vex, their rendering and some AI

* Updates for review
2017-05-13 08:02:30 +02:00
Adrian Siekierka 37305ccefa more minor work 2017-05-12 19:27:13 +02:00
Adrian Siekierka 9280ad2cd4 mappings updates in Block, World, etc. 2017-05-12 11:21:39 +02:00
Thomas Guillemard f045a7a329 Some class remapping (#159) 2017-05-11 07:30:10 +02:00
Adrian Siekierka fd834220b5 minor mapping work 2017-05-10 21:24:29 +02:00
Ethan Brooks 141c8b05dc Fix package name for EntityVex mapping 2017-05-03 08:08:31 -04:00
mezz d02bf6b73b Add mappings for tracking recent damage to entities (#155) 2017-05-03 12:00:14 +02:00
Adrian Siekierka 539c88fa5a add 17w13b content, restore MinecraftServer mappings, work on a few other classes 2017-05-03 09:00:55 +02:00
Ethan Brooks 7683882299 Basic Command Additions (#154)
* Testing out enigma with a basic mapping

* A lot of work on command mappings

* Fix weird Enigma naming error

* An attempt to fix mappings, but bigger issues are afoot

* Change CommandLocateStructure to CommandLocate

* Make suggested changes by unascribed
2017-05-03 08:14:24 +02:00
Shadowfacts 6aa774e04b Initial advancements/recipe book work (#153) 2017-04-09 20:18:41 -04:00
modmuss50 dcd65835c8
Rebuild method names, with enigma fix. 2017-04-05 19:11:28 +01:00
modmuss50 013cae4ada
Revert "Rebuild method names"
This reverts commit a7ecff3f2e.
2017-04-05 13:36:44 +01:00
modmuss50 a7ecff3f2e
Rebuild method names 2017-04-05 13:32:34 +01:00
modmuss50 410400d99e
17w13b 2017-04-05 12:31:24 +01:00
copygirl d6b5a6689f Map / rename some block breaking related things
Followup to #147
- getBlockBreakingSpeed (EntityPlayer / InventoryPlayer / Item), was "Strength" and "StrengthWithSelectedTool", too verbose
- InventoryPlayer.canHarvest => isUsingEffectiveTool (+ mapped corresponding EntityPlayer method)
- Item.canHarvestBlock => isEffectiveOn
- calcBlockBreakingDelta (Block / IBlockInfoProxy)
Leaving the Material.harvestable field / methods alone due to lack of better name ("doesntRequireEffectiveTool"?)
2016-10-28 17:31:30 +02:00
copygirl 40ce0ab02c Rename ..Timestamp => ..Time
Followup to #147
2016-10-28 16:17:35 +02:00
mezz 22d5f683d2 More Village and Entity mappings (#147)
* More Village and Entity mappings

* Unmap parameter of an unmapped method

* Fixes for review
2016-10-28 15:27:58 +02:00
copygirl 46783d0b1a Rename Entity.ignoreCollision => noClip
As this doesn't disable all kinds of collision (such as being hit by arrows), only movement related ones: Block collision and entities pushing each other (both ways).
2016-10-28 13:31:27 +02:00
copygirl eb5345fee6 Map Entity.doesRenderOnFire 2016-10-28 13:28:25 +02:00
copygirl c0b1dc2708 Rename isInRenderRange => shouldRender
Followup to #145
- Map shouldRenderFrom
- Map renderDistanceMultiplier
2016-10-28 13:28:18 +02:00
Tyler Hancock 77aeb1aec0 Misc. Mappings, again (#145)
* Mapped a bunch of random stuff.

* Few interfaces

* Corrected mappings based on feedback.
2016-10-28 12:40:28 +02:00
Shadowfacts f99aa89c76
Move EntityCaveMob to entity/mob with other base mob classes 2016-10-21 20:00:17 -04:00
asiekierka 2351d30ec9 map blockstate selectors, fixups 2016-10-20 12:06:19 +02:00
Tyler Hancock 9e3cfa8d32 Models & AI (#140)
* Fleshed out model mappings

* Mapped some entity logic

* Fixed a few of the issues.

* Fixed a typo of sorts

* Fixed the rest of the suggestions.
2016-10-20 11:44:34 +02:00
Ryan Leach 6cc5341d39 TargetSelectorParser done. (#141)
* TargetSelectorParser

* Adjust some entity matching things

EntityPredicates.WITHOUT_SPECTATORS => VISIBLE
excludedEntity parameter => except
Got rid of "Matching" from Method names
boundingBox parameter => area
Chunk.getEntitiesIn => collectEntitiesIn
+ entities parameter => resultList
+ predicate => filter

* Remove CommandBase.b (unmapped)
2016-10-19 21:06:28 +02:00
asiekierka 65ee82c8a8 IHopper.getWorld must be getHopperWorld, or issues happen 2016-10-19 10:23:31 +02:00
asiekierka 0b55160bef remove none/ prefix 2016-10-18 17:31:59 +02:00
asiekierka d4f7e7f6ac Merge branch 'guis' of https://github.com/Nedelosk/pomf into Nedelosk-guis 2016-10-18 17:01:02 +02:00
Ryan Leach ee80697cf4 Tonights Work for review. (#135)
* Various entity & loot names

* Revert confusing names.

* Remove renamed args on obfuscated methods.

* Fix things based on asie's review
2016-10-18 15:05:26 +02:00
asiekierka 8afca43a1f minor cleanup 2016-10-18 15:02:36 +02:00
Nedelosk 07e7702f6f Improve Mappings 2016-10-18 10:53:45 +02:00
Nedelosk a3585a38e0 Update Mappings 2016-10-18 00:57:42 +02:00
Nedelosk e542a2fc78 Add mappings for ItemRender, Containers and Villages 2016-10-18 00:14:29 +02:00
mezz 36bdd37960 Misc mappings (#131)
* Misc mappings

* Misc random mappings (#120)

* Misc random mappings

* Minor changes & move WorldServerChild to sortme

* username -> userName

* Rename some Gui related methods & more

lastPressedWidget
mouseDragged => onMouseDragged
handleMouseClick => onMousePressed
handleTouchEvent => onMouseReleased
handleKeyPress => onKeyPressed
handleButtonPressed => onWidgetPressed
WidgetButton.released => onReleased

* Add some mappings for mob pathfinding (#127)

* Add some mappings for mob pathfinding

* Fixes for review

* Fixes for review

* Several mappings (#129)

* Mapped a bunch of loot stuff.

* Mapped some random stuff.

* Mapped some debug renderers.

* Mapped a few misc things.

* element -> json

* Map / rename PlayerFormatUpgrader

* Fix StatManager, map StatManagerServer and such

updateStatState => set
increaseState => increase
getValue => get
EntityPlayer.getStatManager => getStats

* Fix LootTable related mappings

serialze => serialize
Serializer => DeSerializer
LootTableContext:
* TARGET => Target
* source => damageSource
* setX(x) => setX(value)

* Random block stuff

* Random world stuff

* Add some mappings for block rendering (#133)

* Add some mappings for block rendering

* Fixes some things

* Make getAoBrightness to getAmbientOcclusionBrightness

* Fix merge conflicts

* Fix a few minor things

VertexBuffer.putColorRGB => putColor
BlockRenderer hashcode parameter => variationSeed
Revert to IBlockView.getCombinedLight

* BIomes, biome generation (#132)

* BIomes, biome generation

* Misc random mappings (#120)

* Misc random mappings

* Minor changes & move WorldServerChild to sortme

* username -> userName

* Rename some Gui related methods & more

lastPressedWidget
mouseDragged => onMouseDragged
handleMouseClick => onMousePressed
handleTouchEvent => onMouseReleased
handleKeyPress => onKeyPressed
handleButtonPressed => onWidgetPressed
WidgetButton.released => onReleased

* Add some mappings for mob pathfinding (#127)

* Add some mappings for mob pathfinding

* Fixes for review

* Fixes for review

* Several mappings (#129)

* Mapped a bunch of loot stuff.

* Mapped some random stuff.

* Mapped some debug renderers.

* Mapped a few misc things.

* element -> json

* Map / rename PlayerFormatUpgrader

* Fix StatManager, map StatManagerServer and such

updateStatState => set
increaseState => increase
getValue => get
EntityPlayer.getStatManager => getStats

* Fix LootTable related mappings

serialze => serialize
Serializer => DeSerializer
LootTableContext:
* TARGET => Target
* source => damageSource
* setX(x) => setX(value)

* Random block stuff

* Random world stuff

* Add some mappings for block rendering (#133)

* Add some mappings for block rendering

* Fixes some things

* Make getAoBrightness to getAmbientOcclusionBrightness

* Fix merge conflicts

* Fix a few minor things

VertexBuffer.putColorRGB => putColor
BlockRenderer hashcode parameter => variationSeed
Revert to IBlockView.getCombinedLight

* Fix a few things

* Remove Vector3f (fixes Enigma mapping conflict)

* Map WidgetLockButton

* Fix gameMode setters to use "value"
2016-10-17 19:39:56 +02:00
copygirl 19a960b323 Fix StatManager, map StatManagerServer and such
updateStatState => set
increaseState => increase
getValue => get
EntityPlayer.getStatManager => getStats
2016-10-17 17:04:46 +02:00
Tyler Hancock d523685eda Several mappings (#129)
* Mapped a bunch of loot stuff.

* Mapped some random stuff.

* Mapped some debug renderers.

* Mapped a few misc things.

* element -> json
2016-10-17 16:46:26 +02:00
mezz 8567014b87 Add some mappings for mob pathfinding (#127)
* Add some mappings for mob pathfinding

* Fixes for review

* Fixes for review
2016-10-17 15:29:56 +02:00
asiekierka 4bb920f431 fix ItemStack style issues, map a bit of client/server 2016-10-16 17:28:20 +02:00
Łukasz Magiera 02287bc3a4 Name some things (#119)
* Name some things

* Apply suggestions

* Apply suggestions
2016-10-16 17:07:39 +02:00
mezz 2837df0b62 Add mobTick and checkDespawn (#126) 2016-10-16 17:00:41 +02:00
asiekierka ebe1995b43 fix field naming, map more of EntityPainting 2016-10-16 14:44:01 +02:00
asiekierka f5f7fefbd8 Merge branch '16w38a' of github.com:FabricMC/pomf into 16w38a 2016-10-16 13:39:15 +02:00
asiekierka 0b94e1272b fix method conflicts 2016-10-16 13:39:01 +02:00
mezz 3cee9fc828 Add some entity mappings, more general name for EntityParts (#122)
* Add some entity mappings, more general name for EntityParts

* Fixes for review
2016-10-16 09:31:17 +02:00
Tyler Hancock 9fc5447217 More misc mappings (#118)
* Mapped a few misc things related to entities and rendering.

* Fixed a few things based on Copy's suggestions.

* Fixed mainhand/offhand issue.
2016-10-16 08:05:38 +02:00
asiekierka db9fc376d7 entity, biome mappings 2016-10-15 20:49:37 +02:00
asiekierka 37441396aa minor random mappings 2016-10-15 17:21:53 +02:00
copygirl e513307be1 Map / move DispenserBehavior (#111)
* Map / move DispenserBehavior

Also some IProjectile stuff

* Rename getDispenseOffset => getDispenseLocation

* Rename dispenseInternal => doDispense
2016-10-15 14:32:01 +02:00
asiekierka 1087daa2f4 stat/entity/tracker mappings 2016-10-15 13:59:08 +02:00
asiekierka bd3143ae63 map ChunkPlayerTracker, some BlockState oddities 2016-10-15 13:28:26 +02:00
Łukasz Magiera bceab1c49a Network and Some Random mappings (#114)
* Network and random mappings

* Apply suggestions

* ctx/context, mtick/lastVillagerDeath
2016-10-15 12:57:47 +02:00
copygirl 6255f81c73 Map some various things (#112)
* Map some EnchantmentHelper

* Map BlockFire.registerFlammable(s)

Still missing mappings for the two maps used by these methods regarding fire spread.

* Map some entity death / loot stuff

* Map some entity sound stuff

* Map a few small things

* Rename init => registerDefaults

And registerFlammables => registerDefaultFlammables
2016-10-15 11:17:41 +02:00
copygirl 133862cfa6 Map ICrashCallable.call 2016-10-10 14:02:36 +02:00
Max Gurela 30ea3f3ed9 WIP Scoreboard Mappings (#101)
* WIP Scoreboard Mappings

* More mapping coverage

* More scoreboard

* ScoreboardServer mapping improvement

* More scoreboard mappings
2016-10-01 07:59:27 +02:00
asiekierka 93d30e8626 apply feedback 2016-10-01 07:57:18 +02:00
Benjamin K ac50036d17 Map code related to entity riding and passengers. (#96) 2016-10-01 07:53:12 +02:00
copygirl 16d2c49ac0 Get rid of impl packages (#97) 2016-09-28 14:17:20 +02:00
asiekierka 5f502767c1 minor work 2016-09-27 16:56:35 +02:00
iamgreaser 86cdb012f1 Particle system (#91)
* Particle + ParticleManager

* found IParticleFactory

* further particle progress

* move Particle into client

* VertexBuffer.texture(int, int)

* Entity.getForwardVector

* more Particle stuff

* review part 1
2016-09-26 05:28:33 +02:00
copygirl 200ccadaed Map MigrationHandler parameters 2016-09-22 21:31:01 +02:00
copygirl 33d5682552 Rename remaining dimension => world 2016-09-22 18:02:21 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +02:00
asiekierka 55848c82d5 getDistanceTo -> distanceTo 2016-09-20 16:34:14 +02:00
asiekierka 65e7332171 fixes, mappings 2016-09-19 19:41:27 +02:00
asiekierka b7c5af3623 clean up sortme, other things 2016-09-19 16:40:26 +02:00
asiekierka bbbd3cff79 map some container stuff, fix audio mappings 2016-09-19 12:18:00 +02:00
asiekierka 36f32bdbc4 map texture stuff 2016-09-19 10:08:43 +02:00
asiekierka 90b96b98ec map entity, item stuff 2016-09-18 10:03:00 +02:00
asiekierka 0a04c3004d minor mapping work before bed 2016-09-18 00:45:01 +02:00
asiekierka 474177781c entity mapping work 2016-09-17 18:44:46 +02:00
asiekierka 0a40ad452b sound, entity, item work 2016-09-15 12:15:02 +02:00
copygirl 524879cf96 Rename TileEntity => BlockEntity (#76) 2016-09-14 22:57:36 +02:00
asiekierka 7d46c65301 rendering mapping work 2016-09-14 14:50:56 +02:00
asiekierka 6160694546 mappings work 2016-09-14 12:00:19 +02:00
Max Gurela 65574f417a Add mapping for Rotation and improve armor stand (#73) 2016-09-13 18:08:31 -04:00
copygirl e6805fb25f Make de/serialization methods names consistent (#71)
* Fix spelling mistake (serialie!)

* Rename Serializer to DeSerializer

Of ITextComponent and Style, to go along with ServerConfigList.DeSerializer. Consistency!

* Map BlockCrop.serializeCropAge properly

Instead of serializeState0

* Name TagCompound parameters "tag" consistently

* Name de/serialization functions consistently

Notable changes:
- TileEntity.createTileFromTag => deserialize
- TileEntity.writeToTag => serialize
- BlockRegion.toTag => serialize

* Rename TileEntity.serializeIdentifyingData

From serializeTileData

* Rename TileEntity.serializeInitialChunkData

From (incorrect) serialize

* Rename Entity.de/serializeCustomData

From de/serializeEntityTag

* Rename Item.readTag => onDeserialize

* Fix TagCompound.copyTo => copyFrom

Doesn't copy values to the specified compound argument, but actually inserts copied values *from* it.

* de/serializeBlockEntityTag

* Fix Block.getDropStack => getPickStack
2016-09-13 10:53:45 -04:00
asiekierka 7cb0dec07f attribute, scoreboard, etc. work 2016-09-13 12:41:42 +02:00
Łukasz Magiera c23c9d5434 Some random mappings (#69) 2016-09-12 16:28:44 -04:00
asiekierka a0df18127a mapping improvements 2016-09-12 22:13:50 +02:00
asiekierka 47c5b85441 add missing argument names 2016-09-12 15:16:04 +02:00
asiekierka d73d078546 fix mapping errors 2016-09-12 15:05:34 +02:00
asiekierka 50a87ae8ef port to 16w36a 2016-09-12 12:08:56 +02:00
liach e349ebc2fd Add some stuff for AIs (#67)
* Add some stuff for AIs

* deleted bad files

* missed them

* fix according to asiekierka
2016-09-12 11:28:32 +02:00
asiekierka 3310e8b32f Merge branch '16w33a' of github.com:FabricMC/pomf into 16w33a 2016-09-10 17:55:40 +02:00
asiekierka f857ed83de network/server/migration mappings 2016-09-10 17:54:35 +02:00
asiekierka bfdec19d17 Merge branch '16w33a' of github.com:FabricMC/pomf into 16w33a 2016-09-10 17:31:57 +02:00
copygirl 2f3c26312f Map various things and entity TrackedData fields and related (#65)
* Map PotionHelper

* Villager & Wolf skin texture fields

* Various entity mappings

* Map EntityEnderDragonPart

* Fix DamageSource attacker/source mixup

* Rename BlockPos nested classes & map PooledMutable

* Map projectile onCollision & onHit

* Map entity TrackedData fields and related

* Fix "invulnurable" typing error

* Fix Block.DEFAULT_ID -> AIR_ID

* Fix Minecart "carried" -> "contained"

* Fix isSourceCreativePlayer

* Fix Entity.dropItems -> dropStack

Also tiny parameter name addition

* Fix Entity.AIR -> BREATH

* Fix Entity.setOnFire -> setOnFireFor

* Fix tamable -> tameable
2016-09-10 17:26:28 +02:00
asiekierka 8223a7a99c fix some non-fully-mapped methods 2016-09-10 16:37:50 +02:00
asiekierka 169de4545c getId -> getContainerId 2016-09-10 16:30:17 +02:00
asiekierka 1426735636 stackSize -> amount 2016-09-08 23:31:38 +02:00
asiekierka 184690578d world, network work 2016-09-07 11:55:02 +02:00
copygirl bbaf10dde3 Map Explosion related things (#62) 2016-09-07 11:12:57 +02:00
copygirl 081e653df0 Map various things (#61)
* Map ServerRunnable

* Map ServerConfigList and related

Renamed from ProfileList
Mapped ServerConfigEntry
Renamed list and entry classes

* Map / update ServerConfigurationManagers

* Map some Potion(Effect) stuff

* Map a few minor fields

* Map DamageSource

Renamed EntityProjectile => EntityArrowBase
Mapped Entity.damage
2016-09-03 12:14:27 +02:00
Benjamin K 56f1d945bb LootTable, and KeyBinding class name. (#60)
* Map LootTable stuff.

* Map KeyBinding class name

* ILootTableProvider

* Map Sound class.
2016-09-01 16:00:14 +02:00
Benjamin K 0c9cde4c96 Map the rest of BoatType, as well as some other entity related things. (#58)
* Map the rest of BoatType

* Map entity move method, and onEntityLanding in Block.

* map handleFallDamage, onEntityLanding -> onLandedUpon, playSoundAtEntity
2016-08-30 10:21:03 -04:00
copygirl 1bb8508275 Map ItemStack and some related (#55)
* Map ItemStack and some related

* Rename equals => areEqual
2016-08-29 00:55:25 +02:00
Max Gurela 90a03e3e1a Command misc mappings (#54)
* Command misc mappings

* Remove isSpectator/isCreative mappings
2016-08-28 19:55:13 +02:00
asiekierka 26b7d11676 minor tile entity mapping 2016-08-28 16:10:46 +02:00
asiekierka e0c230b842 Fix World names, add more Block names 2016-08-28 14:21:39 +02:00
copygirl ca1cbec5b8 Gui > Drawable and lots of connected changes (#51)
* Gui > Drawable and lots of connected changes

* Merge drawable package into gui
2016-08-28 13:20:58 +02:00
asiekierka 0c30378958 minor mapping around Block, EntityItem 2016-08-28 11:43:19 +02:00
asiekierka c4574d5de0 snooper, container, hopper, inventory mappings 2016-08-27 19:12:35 +02:00
asiekierka f02083b324 heldStack -> cursorStack, minor name addons/corrections 2016-08-27 16:42:05 +02:00
asiekierka e7bcf06368 mostly container stuff 2016-08-27 16:34:11 +02:00
Max Gurela d8567eb06d Misc mappings (#48)
* Misc mappings

* Remove .DS_Store

* Update mappings per comments
2016-08-26 17:50:32 +02:00
Shadowfacts 8772079839
Entity things 2016-08-25 18:15:29 -04:00
asiekierka 96e3012b76 map a few entity/world functions 2016-08-25 21:12:22 +02:00
Max Gurela f30442e020 Map nd -> ConsoleCommandSender (#42)
* Map nd -> ConsoleCommandSender

net.minecraft.server.dedicated.ConsoleCommandSender

* Map executeCommand in IServer

* Clarify with CommandFeedback
2016-08-25 18:18:42 +02:00
asiekierka 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
asiekierka 4c54af09c1 map out more of WorldSaveHandler 2016-08-25 11:46:44 +02:00
Adrian Siekierka 9af7db83ed (Darkhax) Mapped out way too much stuff (#44)
* Partially mapped sounds.

* Partially documented the music tracker.

* Partially fixed sound name issue.

* Mapped a bunch of rendering and model stuff.

* More model mapping

* More random mappings

* Time to clock out before this PR becomes too big.

* apply fixes
2016-08-25 11:35:28 +02:00
Shadowfacts a13af86fbb
Entity setYawAndPitch and setPosition 2016-08-24 17:48:22 -04:00
Shadowfacts 6944ce15b6
Various Entity setPosition methods 2016-08-24 17:39:47 -04:00
Shadowfacts 4012e1d1c1
Some player stuff 2016-08-24 15:26:03 -04:00
Shadowfacts a374a7ec07
Map EntityPlayer.SleepResult 2016-08-24 15:10:39 -04:00
Shadowfacts 058dd3c47a
Some EntityItem stuff 2016-08-23 16:16:32 -04:00
Shadowfacts f0cdacd912
Map InventoryPlayer 2016-08-23 13:06:00 -04:00
asiekierka 5bf904f9ef minor work here and there 2016-08-23 15:24:22 +02:00
Tyler Hancock c980285f87 More mappings (#33)
* Added missing mappings. These should have been in the last PR o.O

* Mapped some item things

* Mapped some misc stuff
2016-08-23 10:25:30 +02:00
copygirl 21511e09dd Tons of GUI related mappings + reorganization (#29)
* Boss bar mappings

* Tons of GUI related mappings + reorganization

* Move GUI classes out of gui.screen

* Move classes out of old hud.impl package

* Reorganize GUI packages (number 2)
2016-08-23 10:25:04 +02:00
Benjamin K e20870da34 Map Entity.changeDimension (#31)
Remove ItemMapBase mapping that was left for some reason.
2016-08-22 12:41:44 +02:00
Shadowfacts 88680c8520
Merge branch 'pr3' of git://github.com/Darkhax-Forked/pomf into Darkhax-Forked-pr3 2016-08-21 21:27:50 -04:00
Tyler Hancock 4f10b69f8c
Implemented feedbac 2016-08-21 12:11:11 -06:00