Commit Graph

289 Commits

Author SHA1 Message Date
Tyler Hancock 34c0ed8cd5 18w50a exploration 2 (#365) 2018-12-29 12:40:02 +01:00
Bartosz Skrzypczak a7b7fe0152 Mostly mapped lighting (#290) 2018-12-19 22:20:55 +01:00
SquidDev 3d49f46517 Several mappings for chunk/block rerendering (#286)
Also fleshes out a couple of other missing mappings within `World` - most of these are existing methods which just forward to another.
2018-12-14 09:05:56 -05: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
modmuss50 4c6139025b Merge branch 'rn/e29de153-1c6a-445c-a0b1-879daea42d66' of https://github.com/kashike/pomf into kashike-rn/e29de153-1c6a-445c-a0b1-879daea42d66 2018-12-12 15:29:30 +00: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
Gegy 84b945de51 Biome layer system mapping (#269)
* Biome layer system mapping

* Move to biome layer package

* Integrate mappings from former biome layer PR

* OverworldBiomeLayers

* Change back to BiomeLayers per request
2018-12-12 14:52:14 +00:00
Gegy 559bf8da90 Chunk generator mappings (#275)
* Chunk generator mapping

* Tweak
2018-12-12 14:45:01 +00:00
kashike 4385959a96 Facing -> Direction 2018-12-10 00:54:34 -08:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
asie 557df3c0fb minor file cleanup 2018-12-04 09:13:56 +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
Adrian Siekierka 86dc9e0fe8 merge some parts of #209 2018-11-30 12:07:49 +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
Adrian Siekierka 13ed3f8e2c update to 18w47b 2018-11-27 19:50:51 +01:00
Adrian Siekierka 591e770b72 update to 18w47a 2018-11-21 17:58:05 +01:00
asie 4187af8c9f improve tick scheduler, registry, MathHelper mappings 2018-11-16 11:47:44 +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
Adrian Siekierka 47d8c24214 update to 18w45a 2018-11-07 17:37:58 +01:00
Adrian Siekierka 5fd73b1943 update Enigma to 0.12.1 2018-11-04 13:22:38 +01:00
asie d5ddad5c30 map some client things 2018-11-03 08:44:17 +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
Adrian Siekierka c093271ed1 fix BlockPos.Mutable mapping conflict 2018-10-27 22:32:04 +02:00
Adrian Siekierka 726aff2072 attempt mapping VoxelShape, other updates 2018-10-27 16:04:37 +02: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 33e2884035 port server.config 2018-10-25 22:36:50 +02:00
asie 8f9a0491ca map some util classes 2018-10-25 18:48:06 +02:00
asie 932eb276b0 work on items, bring back 1.12 rcon mappings, etc. 2018-10-25 17:03:13 +02:00
asie 6cc208bfe8 more low-hanging fruit: Block and Item class names 2018-10-25 02:10:30 +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
Adrian Siekierka cd0a6cf43d fix missing constructor names from 16w38a 2017-05-13 15:37:15 +02:00
Adrian Siekierka 95e2db6744 restore old argnames from 16w38a 2017-05-13 08:02:51 +02: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
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