Commit Graph

17 Commits

Author SHA1 Message Date
copygirl 6d4bc3f471 Fix calculate => calcBlockBreakingDelta 2016-10-30 17:53:29 +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
copygirl 3151a5151c Map IBlockInfoProxy comparator methods 2016-10-28 17:22:21 +02:00
asiekierka 0b55160bef remove none/ prefix 2016-10-18 17:31:59 +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
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
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
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
asiekierka 50a87ae8ef port to 16w36a 2016-09-12 12:08:56 +02:00
asiekierka b02f923392 map block renderer stuff 2016-08-28 20:29:00 +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