Commit Graph

355 Commits

Author SHA1 Message Date
modmuss50 347fd572c2 19w03a 2019-01-16 18:24:40 +00:00
Yanis Guaye 30322f218e BlockState-related mappings (#388) 2019-01-12 01:31:00 +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
Juuxel dd3052a547 Some mappings for falling blocks, food items and ParticleArgumentType (#363) 2019-01-08 13:02:03 +01:00
Tyler Hancock 34c0ed8cd5 18w50a exploration 2 (#365) 2018-12-29 12:40:02 +01:00
Adrian Siekierka a2c2c754e9 autofixes 2018-12-22 19:26:44 +01:00
Juuxel 793cd0c817 Updates to BucketItem, the Waterloggable hierarchy and block materials (#327)
This PR maps the rest of `BucketItem` as well as the `Waterloggable` superinterfaces and their methods and some of the `net.minecraft.block.Material` properties.

(Also, I don't know why the merged BucketItem commit is there again /shrug)
2018-12-20 19:24:37 -05:00
Erlend Åmdal 60a2f5b80e LightmapTextureManager and various ambient light things (#312)
* Map LightmapTextureManager and various ambient light things
2018-12-20 20:51:03 +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 69f8a71801 Mapped some persistence data stuff (#326)
I renamed all persisted to persistent, though vanilla fix types enum calls them saved data.

Mapped out the persistent data manager that is bound to each dimension and the persistent data updater for stuctures.
2018-12-19 19:25:32 -05: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
Juuxel 0125d52a01 Update BucketItem.mapping (#319) 2018-12-16 21:35:21 +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
Juuxel 67865937a5 Item mappings (#310)
* Add ArmorMaterial.getEnchantability()

* Add the firework type enum

* FireworkChargeItem's static methods

* BucketItem and FishBucketItem

* Add crop mapping to SeedsItem
2018-12-15 23:14:11 +01:00
Adrian Siekierka 8a83c44585
Item-related name tweaks (#295)
* item name tweaks

* missed one

* better names, remap ArmorMaterial as we lost it again?
2018-12-14 23:26:40 +01:00
quat b17dbf0abf Map ALL the packets! 2018-12-14 19:20:08 +01: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
Ryan Liptak c992cbd49c saturationRestored -> saturationModifier (#257)
* saturationRestored -> saturationModifier

Saturation restored is calculated by (hungerRestored * saturationModifier * 2), so saturationRestored is an incorrect name for the field

* Fix typo in saturation method names (extra at)
2018-12-11 07:12:01 +01:00
Adrian Siekierka b62276acb1 incorporate some discussed names 2018-12-09 17:04:45 +01:00
Adrian Siekierka 9502bd793e a few renames 2018-12-09 17:00:06 +01:00
Adrian Siekierka d93e241d50 too hasty 2018-12-09 13:12:53 +01:00
Adrian Siekierka e7960860a8 flesh out Items 2018-12-09 13:12:02 +01:00
asie 3ad7815fdd accidentally unmapped Items, sorry 2018-12-08 14:51:07 +01:00
asie b12b46a7b2 remove some enums 2018-12-08 14:48:51 +01:00
Adrian Siekierka 245ce1dd92 update to 18w49a 2018-12-05 15:13:16 +01:00
asie 63470107ac mapping name unification & fixes 2018-12-03 20:57:18 +01:00
Adrian Siekierka 815b9fbd01 early work on server interaction manager mapping, flesh out BlockItem subclasses 2018-12-02 10:52:03 +01:00
Adrian Siekierka 2c068a1e52 ContainerItem -> ItemContainer 2018-12-01 10:55:38 +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 6bfbd7f635 fix ToolMaterial 2018-11-30 12:49:14 +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 ca921e4b58 fix #218, map grindstone container/GUI 2018-11-29 21:15:08 +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
asie 8b9842288d more class name fixes 2018-11-28 11:50:56 +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 dd3236b3a6 tweak ItemStack names 2018-11-21 21:58:18 +01:00
asie e39d8c9c4c Block mapping tweaks, map a bit of ChunkStatus 2018-11-21 20:49:12 +01:00
Adrian Siekierka 591e770b72 update to 18w47a 2018-11-21 17:58:05 +01:00
asie c4f7032d43 mapping tweaks 2018-11-17 08:21:42 +01:00
Adrian Siekierka 1418bb1b37 update to 18w46a 2018-11-15 18:05:03 +01:00
asie 6d3075daeb map a few block-related things 2018-11-08 23:43:19 +01:00
Adrian Siekierka 47d8c24214 update to 18w45a 2018-11-07 17:37:58 +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 28de8727a1 map more things 2018-11-03 10:24:59 +01:00
Max Gurela 416b84f5f8 Map NBT classes (#181)
* Map NBT classes

* prettyPrint -> toTextComponent

* CompoundWrapper -> PersistedState
2018-11-02 09:07:35 +01:00
asie 8226c45d75 resource mapping work, refactor interface names - close #184 2018-11-01 17:53:10 +01:00
asie 42688a2178 fix accidental revert 2018-11-01 09:29:52 +01:00
Adrian Siekierka d7fc5168c5 18w44a 2018-10-31 17:57:50 +01:00
asie 3886800d2c remove .reference, map a few criterion triggers 2018-10-31 14:17:45 +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
Adrian Siekierka 730b13f422 mostly Chunk/WorldBorder-related mappings 2018-10-26 18:32:05 +02:00
asie 8d9e4ecd3b Update 2018-10-26 15:47:51 +02:00
Adrian Siekierka 45e6a3755d update to 18w43c 2018-10-26 13:08:59 +02:00
asie 1c8c22d955 recipe, etc. work 2018-10-25 22:01:57 +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 82e8c76e34 low-hanging fruit 2018-10-25 00:32:03 +02:00
asie 12796ba3aa initial batch of fixes 2018-10-25 00:20:09 +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
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
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
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
Tyler Hancock 5c1dcf27ed Mapped a few missing params/fields and named some classes. (#160)
* Added to the rendering mappings for parrots.

* Fixed a typo in setUpdateCooldown.

* Added several parameter names to ItemStack.

* Mapped the remaining missing fields.

* Added the missing param mappings for Potion.

* More potion stuff. (Forgot to include in last commit)

* Mapped the shulker box renderer.
2017-05-12 10:45:17 +02:00
Thomas Guillemard f045a7a329 Some class remapping (#159) 2017-05-11 07:30:10 +02:00
Adrian Siekierka e48ac16016 minor names and renames 2017-05-10 23:15:26 +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
modmuss50 0e93036e38
Fix abstract method error, + add missing stuff from last commit. 2017-04-05 19:17:11 +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
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
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
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
asiekierka 8afca43a1f minor cleanup 2016-10-18 15:02:36 +02:00
Nedelosk 07e7702f6f Improve Mappings 2016-10-18 10:53:45 +02:00
asiekierka 4bb920f431 fix ItemStack style issues, map a bit of client/server 2016-10-16 17:28:20 +02:00
asiekierka ebe1995b43 fix field naming, map more of EntityPainting 2016-10-16 14:44:01 +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
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 9fc4a1d02a Rename IPlantBlock to IFertilizable (#110) 2016-10-14 12:01:31 +02:00
asiekierka 5edd510627 adjust mapping packages, map ParticleBlock 2016-10-12 13:09:35 +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
copygirl 16d2c49ac0 Get rid of impl packages (#97) 2016-09-28 14:17:20 +02:00
copygirl 200ccadaed Map MigrationHandler parameters 2016-09-22 21:31:01 +02:00
asiekierka 3c9e2859e4 fix ItemBlockMulti.VariantNameProvider 2016-09-20 18:08:20 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +02:00
asiekierka b7c5af3623 clean up sortme, other things 2016-09-19 16:40:26 +02:00
asiekierka 90b96b98ec map entity, item stuff 2016-09-18 10:03:00 +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 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 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
asiekierka f388749407 minor model, client cleanup work 2016-09-11 12:46:28 +02:00
asiekierka f857ed83de network/server/migration mappings 2016-09-10 17:54:35 +02:00
asiekierka 1426735636 stackSize -> amount 2016-09-08 23:31:38 +02: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
asiekierka b02f923392 map block renderer stuff 2016-08-28 20:29:00 +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
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 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
Shadowfacts 058dd3c47a
Some EntityItem stuff 2016-08-23 16:16:32 -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
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
copygirl 1c8fb8d5fe Few Item / ItemBlock related mappings (#26)
* Fix INSTANT_HELATH => INSTANT_HEALTH

* Name ItemMapBase

* Add some ItemBlock mappings
2016-08-21 09:57:57 -04:00
Tyler Hancock 440212098a Mapped items a bit 2016-08-20 20:30:37 -06:00
Tyler Hancock e6a57227ea Mapped a bunch of misc stuff 2016-08-20 19:23:22 -06:00
Shadowfacts b108e1d966
Merge branch 'pr2' of git://github.com/Darkhax-Forked/pomf into Darkhax-Forked-pr2 2016-08-20 19:22:32 -04:00
Tyler Hancock 516e470c13
Fixed a typo with getMaterial 2016-08-20 17:11:26 -06:00
Benjamin K 5955f88633 Misc mappings related to items and entities. (#24)
* Food related mappings, Entity related mappings, smelting related mappings.

* Change item creative tab mapping to match blocks, small change in the smeltingregistry.

* SmeltingRegistry areEqual -> matches

* remove sendTextNotification as it has more uses.
2016-08-21 01:05:19 +02:00
Tyler Hancock 8a6f9480a9
Mapped out tools and related things 2016-08-20 16:50:38 -06:00
Shadowfacts 0ff574b11d
More item mappings 2016-08-20 14:35:19 -04:00
Tyler Hancock f8d75caec2 Mapped out Enchantment and related classes (#23)
* Mapped enchantments and related files

* Normalize line endings
2016-08-20 18:08:53 +02:00
asiekierka 235a7fdc07 begin mapping client packets 2016-08-18 21:44:20 +02:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
asiekierka 3cee61d028 mostly item and recipe work 2016-08-17 00:08:07 +02:00
Shadowfacts 7829c20ae4 Client stuff (#9)
* Client stuff

* More GUI stuff

* Fix typo
2016-08-15 10:48:57 -04:00
Benjamin K 4c3313c903 Map some blocks, entities, and related methods and classes. (#10) 2016-08-15 12:13:46 +02:00
Shadowfacts 10bf12d36b Merge branch 'master' of github.com:ChorusMC/pomf 2016-08-14 17:19:50 -04:00
Shadowfacts c69e9cd14c Item parameter/method mappings 2016-08-14 17:15:32 -04:00
asiekierka f8b443bc8a more mappings across the codebase 2016-08-14 22:30:49 +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
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 ae11bd10d3 first commit 2016-08-12 15:28:17 +02:00