Commit Graph

45 Commits

Author SHA1 Message Date
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
asiekierka 0b55160bef remove none/ prefix 2016-10-18 17:31:59 +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
mezz 1c74fd5ee2 Fix BoundingBox method names, finish Facing (#123) 2016-10-16 08:07:10 +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
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 0a04c3004d minor mapping work before bed 2016-09-18 00:45:01 +02: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 50a87ae8ef port to 16w36a 2016-09-12 12:08:56 +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 184690578d world, network work 2016-09-07 11:55:02 +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 c4574d5de0 snooper, container, hopper, inventory mappings 2016-08-27 19:12:35 +02:00
asiekierka 8b90654bcd initial work on models 2016-08-24 19:54:06 +02:00
Shadowfacts cc39e6126d
BlockPos.toLong and fromLong 2016-08-23 16:06:15 -04: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 403c5a575e Mapped out some position related stuff. 2016-08-20 19:50:06 -06:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
Shadowfacts aab68c7a76 More block stuff 2016-08-15 12:11:13 -04: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 7205dd6d87 Block, biome, and world generator stuff (#5) 2016-08-14 17:17:21 +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
asiekierka ae11bd10d3 first commit 2016-08-12 15:28:17 +02:00