Commit Graph

103 Commits

Author SHA1 Message Date
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
kashike 4a1f5474ea builder-friendliness (#260) 2018-12-11 07:45:42 -05:00
Adrian Siekierka 9502bd793e a few renames 2018-12-09 17:00:06 +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
kashike ff74e3d54f map colour -> material colour (#233) 2018-12-03 20:12:19 +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
Prospector 111d25a61c A LITTLE BIT OF EVERYTHING (#224) 2018-11-30 12:37:11 +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
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 701eb32c91 further map out BlockBuilder (w/ Prospector) 2018-11-21 14:44:42 +01:00
asie c4f7032d43 mapping tweaks 2018-11-17 08:21:42 +01:00
Adrian Siekierka dc265f2888 method propagation fixes 2018-11-15 18:25:00 +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 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
Adrian Siekierka 0646e1902b map some block/world things 2018-11-03 14:58:30 +01:00
asie 6857e7f66f update 2018-11-03 12:17:54 +01:00
asie 28de8727a1 map more things 2018-11-03 10:24:59 +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 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 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 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 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
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 95e2db6744 restore old argnames from 16w38a 2017-05-13 08:02:51 +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
Adrian Siekierka e48ac16016 minor names and renames 2017-05-10 23:15:26 +02:00
Adrian Siekierka fd834220b5 minor mapping work 2017-05-10 21:24:29 +02:00
Ethan Brooks e2bbf83836 net.minecraft.world mapping additions (#157)
* Little changes to World

* Lots of parameter changes

* There are so many world mappings

* Fix misnamed chunkZ

* Change consultRemoteProvider to ingoreRemote

* Named two constants

* Whoops, wrong names
2017-05-05 09:26:01 +01: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 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
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
asiekierka cbe1078186 Merge branch 'block' of https://github.com/mezz/pomf into mezz-block 2016-10-18 14:32:58 +02:00
mezz 175bacb846 Fixes for review 2016-10-17 17:16:44 -07: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
copygirl 35fc70af30 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
2016-10-17 18:37:10 +02:00
Shadowfacts 36f2f3fc7b
Random block stuff 2016-10-17 11:33:57 -04:00
mezz 24e77d961b Fixes for review 2016-10-16 15:24:14 -07:00
mezz 9651b6962b Add/Fix some block mappings 2016-10-16 00:38:17 -07: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 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 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 8fe2122509 map more piston stuff, neighbor updates 2016-09-27 16:02:14 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +02: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
asiekierka 6160694546 mappings work 2016-09-14 12:00:19 +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 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
Benjamin K 49e4b0e26e Map disableMiningStats in Block and canInsert in Slot. (#68) 2016-09-10 09:53:08 +02:00
copygirl bbaf10dde3 Map Explosion related things (#62) 2016-09-07 11:12:57 +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
asiekierka b02f923392 map block renderer stuff 2016-08-28 20:29:00 +02:00
Ruben Taelman e5a3551604 Mappings related to stats (#53) 2016-08-28 19:08:03 +02:00
asiekierka 0c30378958 minor mapping around Block, EntityItem 2016-08-28 11:43:19 +02:00
Adrian Siekierka 9cfb8a7d1c Add redstone mapping names (#50)
* add redstone mapping names

* minor corrections
2016-08-28 00:16:49 +02:00
asiekierka 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
Benjamin K e8f2f9bf1c Map ChunkGenerators, some decorators, BiomeGeneratorSettings, and some missing block properties (#34)
* Map ChunkGenerators, some decorators, BiomeGeneratorSettings, and some missing block properties.

* Adjust to the suggestions that have been made.

* Fix mentioned issues. Should be ready for merge.
2016-08-24 00:54:21 +02:00
asiekierka 5bf904f9ef minor work here and there 2016-08-23 15:24:22 +02:00
Shadowfacts 059bf7b5a6
More block stuff 2016-08-20 14:05:24 -04:00
copygirl eba6c0f62c Update Block mappings (#22)
* Update Block mappings

* Move BlockButtonBase to net.minecraft.block

* Move BlockStairs to net.minecraft.block

* Additional Block mapping changes
2016-08-19 10:34:06 -04:00
copygirl 313f4eb099 Update some Block mappings (#16)
Fields: friction
Methods: dropItems, dropStack, dropExperience
Parameters: fortune

Renamed EntityXPOrb to EntityExperienceOrb
2016-08-18 12:35:21 -04:00
asiekierka 3cee61d028 mostly item and recipe work 2016-08-17 00:08:07 +02:00
Benjamin K 6cd8e2947f Map some sound stuff, tile renderers, and other misc stuff. (#14) 2016-08-16 22:22:45 +02: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
asiekierka fb2b4748cd work on blocks, entities 2016-08-15 13:03:18 +02: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 e4afbd0172 Block parameter mappings 2016-08-14 17:06:03 -04:00
asiekierka f8b443bc8a more mappings across the codebase 2016-08-14 22:30:49 +02:00
asiekierka c70e3503b8 more additions to mappings 2016-08-14 15:36:07 +02:00