Commit Graph

600 Commits

Author SHA1 Message Date
Adrian Siekierka 539c88fa5a add 17w13b content, restore MinecraftServer mappings, work on a few other classes 2017-05-03 09:00:55 +02:00
Shadowfacts 6aa774e04b Initial advancements/recipe book work (#153) 2017-04-09 20:18:41 -04:00
modmuss50 9384ad88bc
Rebuild method names, with inner classes. 2017-04-05 19:55:39 +01: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
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 459af8cc46 Rename Identifier.owner => namespace
Closes #143
2016-10-28 15:08:26 +02:00
Shadowfacts e9eeae5f0d
Mark some things as deobfuscated 2016-10-21 20:07:02 -04:00
asiekierka 2351d30ec9 map blockstate selectors, fixups 2016-10-20 12:06:19 +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 0b55160bef remove none/ prefix 2016-10-18 17:31:59 +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
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
Ryan Leach 6b6de7cf61 Update Predicates, BlockPattern, and some loot entries. (#130)
* Update Predicates, BlockPattern, and some loot entries.

* revert useNativeTransport

* Move & Fix "buggy" naming

* revert isRemote

* ComparatorSomething -> MaterialBlockPredicate

* second BlockPattern naming round.

* BlockInWorld -> BlockProxy

* Address comments.

* Missed one, I should sleep.
2016-10-16 18:25:15 +02:00
mezz 1c74fd5ee2 Fix BoundingBox method names, finish Facing (#123) 2016-10-16 08:07:10 +02:00
asiekierka db9fc376d7 entity, biome mappings 2016-10-15 20:49:37 +02:00
mezz 059d2393af Add various mappings
Fixes from review

More fixes from review

passesLight -> allowsLightTransmission, blocksLight -> preventsLightTransmission

Remove badly named params from "nearest" function
2016-10-15 16:57:09 +02:00
copygirl 96b046e6c1 Map some World fields / methods and more (#106)
* Map World.globalEntities

* Map sendToAllPlayersInRange

* Map IntHashMap

Also renamed fields using it
(And incorrectly named non-static ALL_CAPS fields)

* Map block tick scheduling

* Map World raining / thundering things

* Fix some IntHashMap things

- Bucket -> Element
- Remove "ForKey"

* Fix some suggested things
2016-10-12 13:31:11 +02:00
asiekierka 5edd510627 adjust mapping packages, map ParticleBlock 2016-10-12 13:09:35 +02:00
copygirl 133862cfa6 Map ICrashCallable.call 2016-10-10 14:02:36 +02:00
asiekierka 5f502767c1 minor work 2016-09-27 16:56:35 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +02:00
asiekierka d4ce8f6da4 Merge branch 'texturestuff1' of https://github.com/iamgreaser/pomf into iamgreaser-texturestuff1 2016-09-20 16:34:44 +02:00
iamgreaser 052ba93b9b Vec3d fully mapped; Polar2f identified (#88)
* Vec3d fully mapped; Polar2d identified

* s/coerce/fromPolar/g

* Vec3i fully mapped

* BlockPos fully mapped

also demapped a method in Vec3i that may cause issues
(I suspect Enigma has a bug)

* review round 1

closes #87

* Vec3i s/ORIGIN/ZERO/g

* dammit when will you all take a linear algebra course
2016-09-20 16:31:38 +02:00
Ben Russell 25d67cd049 what the fuck?
Also known as Fast Inverse Square Root.

MC uses the double-precision version.
The magic number is one more than Robertson's constant.

It is used for atan2, which has also been mapped here.
2016-09-20 15:26:51 +12:00
Ben Russell 9cfba5aac2 The algorithm known as WHAT THE FUCK 2016-09-20 15:18:30 +12:00
Ben Russell a1858764e6 fill in a few more MathUtils methods 2016-09-20 15:17:00 +12:00
Ben Russell 53bf2f710f tie off loose ends for banner stuff 2016-09-20 14:55:59 +12:00
asiekierka 65e7332171 fixes, mappings 2016-09-19 19:41:27 +02:00
copygirl dd4d52b441 Map Level related things and a bunch more (WIP?) (#83)
* Map LevelGeneratorType

From WorldGenerator

* Map LevelInfo

From WorldInfo

* Map Level related and many more

* Fix construct => createProvider

* Unfinished stuff please ignore
2016-09-19 19:19:11 +02:00
asiekierka b7c5af3623 clean up sortme, other things 2016-09-19 16:40:26 +02:00
asiekierka 0a04c3004d minor mapping work before bed 2016-09-18 00:45:01 +02:00
iamgreaser 8e0790b382 Scrollable entry lists + LAN server querying (#80)
* LanServerQueryManager

* moved to sortme; GUI tidbits

* mouse mappings for gui (+ server lists)

* entryCount for gui lists

* width/height/scroll for bfb

* setLeftPos for bfb

* scrolls + more mouse stuff (bfb)

* bfb entryWidth/handleButtonPressed/drawEntries

* bfb drawEntry

* starting to decipher none.bew

* add index to a bew.a method

* bmk -> ServerList (fully deobf'd)

* starting on none.big

* index selections for bfb & co

* set(User|Lan)Servers for none.big

* quick names for bfb and whatnot

* name tweaks
2016-09-17 01:02:39 +02:00
asiekierka 0a40ad452b sound, entity, item work 2016-09-15 12:15:02 +02:00
Max Gurela 708bffc099 IProgress and NetHelper (#75)
* IProgress and NetHelper

* Net -> Network
2016-09-14 17:07:53 -04:00
copygirl 524879cf96 Rename TileEntity => BlockEntity (#76) 2016-09-14 22:57:36 +02:00
Łukasz Magiera 4f53a9df5b Fixed RCON mappings (#72)
* Fixed RCON mappings

* Applied some suggestions, Session mappings
2016-09-14 14:51:09 +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
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 f388749407 minor model, client cleanup work 2016-09-11 12:46:28 +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 184690578d world, network work 2016-09-07 11:55:02 +02:00
asiekierka 18defd5bb9 world, renderer improvements 2016-08-28 23:11:16 +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
Hazeev Aidar 0012609c5e Random stuff (#46) 2016-08-26 09:11:01 +02:00
Tyler Hancock e140e1cb9e Finished off Item's mappings. Also mapped some itemblock stuff. (#45)
* Mapped out most of Item

* Mapped out some related item blocks.

* Item is truly complete.
2016-08-25 22:16:05 +02:00
asiekierka 11f066b8c0 map TagStorageHelper 2016-08-25 15:23:15 +02:00
asiekierka 8b90654bcd initial work on models 2016-08-24 19:54:06 +02:00
Tyler Hancock 697bcf0377 Expand World/Save mappings (#35)
* Mapped some world stuff. Partially related to saving.

* Named some dimension stuff.

* Mapped out some more save stuff. Should be enough to get stuff rolling.

* Implement feedback
2016-08-24 13:24:49 -04:00
asiekierka 8f48f7afb6 map most of resource stuff, other refactoring in rendering 2016-08-24 13:57:31 +02:00
Shadowfacts cc39e6126d
BlockPos.toLong and fromLong 2016-08-23 16:06:15 -04:00
asiekierka 41850f5bf3 work on TileEntityStructureBlock and misc 2016-08-23 17:11:06 +02:00
asiekierka 5bf904f9ef minor work here and there 2016-08-23 15:24:22 +02:00
asiekierka a17186b0c8 make sense of IdStore 2016-08-23 11:54:39 +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
Shadowfacts 88680c8520
Merge branch 'pr3' of git://github.com/Darkhax-Forked/pomf into Darkhax-Forked-pr3 2016-08-21 21:27:50 -04:00
asiekierka ed5bca2a0b misc improvements 2016-08-21 13:11:10 +02:00
Tyler Hancock 57143673c6 Mapped some misc stuff 2016-08-20 20:30:11 -06:00
Tyler Hancock 403c5a575e Mapped out some position related stuff. 2016-08-20 19:50:06 -06:00
Shadowfacts 428862cd7d
Some TileEntity mappings 2016-08-20 15:23:28 -04:00
asiekierka 018b114719 work in entities, network, server, Minecraft client 2016-08-19 21:40:47 +02:00
Łukasz Magiera 01e24a33f0 Network related mappings (#18) 2016-08-18 12:35:56 -04:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
asiekierka fc580c38c7 apply POMF fix 2016-08-17 16:03:57 +02:00
Shadowfacts c60bc2c601
TileEntity stuff 2016-08-15 13:20:34 -04:00
Shadowfacts 518a74d73b
More block stuff 2016-08-15 12:41:18 -04:00
Shadowfacts aab68c7a76 More block stuff 2016-08-15 12:11:13 -04:00
Shadowfacts a52dce40ff
Server-side I18n 2016-08-15 12:03:10 -04:00
Shadowfacts 41b4069272 PacketByteBuf 2016-08-15 11:49:35 -04:00
Shadowfacts 7829c20ae4 Client stuff (#9)
* Client stuff

* More GUI stuff

* Fix typo
2016-08-15 10:48:57 -04:00
asiekierka bc4be53a37 minor additions to Block, fix IInventory crash 2016-08-15 14:40:10 +02:00
asiekierka fb2b4748cd work on blocks, entities 2016-08-15 13:03:18 +02:00
asiekierka f8b443bc8a more mappings across the codebase 2016-08-14 22:30:49 +02:00
asiekierka 31b97b576f work on GlHandler, decorators, potions, misc. classes 2016-08-14 20:22:30 +02:00
Shadowfacts cf2340224c Text (and some server) mappings (#8) 2016-08-14 19:51:55 +02:00
Shadowfacts 627ac0205e Crash reports (#7)
* Remove Biome.BiomeConfiguration.name mapping, fixes error on opening mappings

* Crash reports
2016-08-14 18:23:31 +02:00
Shadowfacts 7205dd6d87 Block, biome, and world generator stuff (#5) 2016-08-14 17:17:21 +02:00
asiekierka b9459bf28d apparently DyeColor did not save right 2016-08-14 15:43:36 +02:00
asiekierka c70e3503b8 more additions to mappings 2016-08-14 15:36:07 +02:00
Shadowfacts fdfcdba963 Misc (#4)
* Block state stuff

* Block/state/interaction mappings

* CreativeTab

* More block mappings
2016-08-14 14:29:39 +02:00
Shadowfacts d6a7fa5709 Block state stuff (#3) 2016-08-13 16:21:15 +02:00
asiekierka 63ca292b72 move from JSON to split Enigma format 2016-08-12 20:24:17 +02:00
asiekierka 14b3f16ea1 fix LOGGER and clean up Reference classes 2016-08-12 19:05:33 +02:00
asiekierka db676b3d90 Improvements across the mappings 2016-08-12 17:23:12 +02:00
Shadowfacts e4060d8a5e Registry stuff (#1)
* Registry stuff

* Change Id case
2016-08-12 17:16:44 +02:00
asiekierka ae11bd10d3 first commit 2016-08-12 15:28:17 +02:00