Commit Graph

387 Commits

Author SHA1 Message Date
Modmuss50 a2e8a099fa Update README.md 2016-11-15 10:52:04 +00:00
Shadowfacts 520d4562f0
Fix sound mappings 2016-11-14 16:59:54 -05:00
modmuss50 9293d756a9 inital port to 1.11, things ARE broken 2016-11-14 19:46:38 +00:00
copygirl 6d4bc3f471 Fix calculate => calcBlockBreakingDelta 2016-10-30 17:53:29 +01:00
copygirl 677084ba6b Rename package villager => village 2016-10-28 17:34:43 +02: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
copygirl 40ce0ab02c Rename ..Timestamp => ..Time
Followup to #147
2016-10-28 16:17:35 +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
copygirl 459af8cc46 Rename Identifier.owner => namespace
Closes #143
2016-10-28 15:08:26 +02:00
copygirl 46783d0b1a Rename Entity.ignoreCollision => noClip
As this doesn't disable all kinds of collision (such as being hit by arrows), only movement related ones: Block collision and entities pushing each other (both ways).
2016-10-28 13:31:27 +02:00
copygirl 739927c594 Rename BLOCK_ATLAS_LOC => BLOCK_ATLAS_TEX 2016-10-28 13:28:26 +02:00
copygirl 3300113bc2 Rename Particle.isTransparent => hasAlpha
Followup to #145
- Rename setAlpha to setColorAlpha
- Rename setter parameters to value
2016-10-28 13:28:25 +02:00
copygirl eb5345fee6 Map Entity.doesRenderOnFire 2016-10-28 13:28:25 +02:00
copygirl c0b1dc2708 Rename isInRenderRange => shouldRender
Followup to #145
- Map shouldRenderFrom
- Map renderDistanceMultiplier
2016-10-28 13:28:18 +02:00
Tyler Hancock 77aeb1aec0 Misc. Mappings, again (#145)
* Mapped a bunch of random stuff.

* Few interfaces

* Corrected mappings based on feedback.
2016-10-28 12:40:28 +02:00
modmuss50 90f48964e4
Fix invalid methord name 2016-10-22 23:40:43 +01:00
Shadowfacts 72b219350b
Merge branch '16w38a' of github.com:FabricMC/pomf into 16w38a 2016-10-21 20:29:05 -04:00
Nedelosk 4603407470 Rename VertexState to VertexBuffer and Move AirGoalBreakDoor (#146) 2016-10-22 02:21:57 +02:00
Shadowfacts e9eeae5f0d
Mark some things as deobfuscated 2016-10-21 20:07:02 -04:00
Shadowfacts f99aa89c76
Move EntityCaveMob to entity/mob with other base mob classes 2016-10-21 20:00:17 -04:00
asiekierka 2351d30ec9 map blockstate selectors, fixups 2016-10-20 12:06:19 +02:00
Tyler Hancock 9e3cfa8d32 Models & AI (#140)
* Fleshed out model mappings

* Mapped some entity logic

* Fixed a few of the issues.

* Fixed a typo of sorts

* Fixed the rest of the suggestions.
2016-10-20 11:44:34 +02:00
Ryan Leach 6cc5341d39 TargetSelectorParser done. (#141)
* TargetSelectorParser

* Adjust some entity matching things

EntityPredicates.WITHOUT_SPECTATORS => VISIBLE
excludedEntity parameter => except
Got rid of "Matching" from Method names
boundingBox parameter => area
Chunk.getEntitiesIn => collectEntitiesIn
+ entities parameter => resultList
+ predicate => filter

* Remove CommandBase.b (unmapped)
2016-10-19 21:06:28 +02:00
Max Gurela d381decf03 Add checkMappings command to gradle (#144) 2016-10-19 10:58:14 +02:00
asiekierka 65ee82c8a8 IHopper.getWorld must be getHopperWorld, or issues happen 2016-10-19 10:23:31 +02:00
asiekierka c32cd9985e move GuiMainMenu back to where it unfortunately belongs 2016-10-19 09:50:02 +02:00
Max Gurela c8de4983bb Some GUI mappings (#142)
* Some GUI mappings

* Tweaks per review & move YesNo/MainMenu -> .menu
2016-10-19 09:43:38 +02:00
asiekierka 1c92503977 map a few render/color things 2016-10-18 17:52:14 +02:00
asiekierka 0b55160bef remove none/ prefix 2016-10-18 17:31:59 +02:00
copygirl c06c11f459 Map some of "PlayerCapabilities" ? 2016-10-18 17:26:35 +02:00
copygirl 81f8630b8f Partial block breaking 2016-10-18 17:23:37 +02:00
asiekierka d8d92b911c Merge branch 'Nedelosk-guis' into 16w38a 2016-10-18 17:01:05 +02:00
asiekierka d4f7e7f6ac Merge branch 'guis' of https://github.com/Nedelosk/pomf into Nedelosk-guis 2016-10-18 17:01:02 +02:00
Nedelosk 952634bb7b Merge branch '16w38a' of https://github.com/Nedelosk/pomf into guis 2016-10-18 16:53:43 +02:00
Nedelosk ace89230c4 Add missing mapping 2016-10-18 16:18:16 +02:00
Nedelosk bbc28d1e78 Improve Mappings 2016-10-18 15:19:38 +02:00
Ryan Leach ee80697cf4 Tonights Work for review. (#135)
* Various entity & loot names

* Revert confusing names.

* Remove renamed args on obfuscated methods.

* Fix things based on asie's review
2016-10-18 15:05:26 +02:00
asiekierka 8afca43a1f minor cleanup 2016-10-18 15:02:36 +02:00
asiekierka dc5f34a6a0 rebuild method names 2016-10-18 14:34:08 +02:00
asiekierka 6af6411089 Merge branch 'mezz-block' into 16w38a 2016-10-18 14:33:02 +02:00
asiekierka cbe1078186 Merge branch 'block' of https://github.com/mezz/pomf into mezz-block 2016-10-18 14:32:58 +02:00
Nedelosk 07e7702f6f Improve Mappings 2016-10-18 10:53:45 +02:00
mezz 175bacb846 Fixes for review 2016-10-17 17:16:44 -07:00
Nedelosk 102d618df6 Fix inventory ARG 2016-10-18 01:04:13 +02:00
Nedelosk 8a818cffc3 Fix three mappings 2016-10-18 01:02:31 +02: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
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
Nedelosk 66cdd72bcd Overwork old and add new Block rende mappings 2016-10-17 19:37:47 +02:00
mezz 0755637124 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
2016-10-17 18:55:23 +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 872f06f5c2
Random world stuff 2016-10-17 11:43:17 -04:00
Shadowfacts 36f2f3fc7b
Random block stuff 2016-10-17 11:33:57 -04:00
copygirl 2561d5ae91 Fix LootTable related mappings
serialze => serialize
Serializer => DeSerializer
LootTableContext:
* TARGET => Target
* source => damageSource
* setX(x) => setX(value)
2016-10-17 17:05:50 +02:00
copygirl 19a960b323 Fix StatManager, map StatManagerServer and such
updateStatState => set
increaseState => increase
getValue => get
EntityPlayer.getStatManager => getStats
2016-10-17 17:04:46 +02:00
copygirl 35fc4c8330 Map / rename PlayerFormatUpgrader 2016-10-17 17:03:32 +02:00
Tyler Hancock d523685eda Several mappings (#129)
* Mapped a bunch of loot stuff.

* Mapped some random stuff.

* Mapped some debug renderers.

* Mapped a few misc things.

* element -> json
2016-10-17 16:46:26 +02:00
mezz 8567014b87 Add some mappings for mob pathfinding (#127)
* Add some mappings for mob pathfinding

* Fixes for review

* Fixes for review
2016-10-17 15:29:56 +02:00
copygirl 4fd9367ecf Rename some Gui related methods & more
lastPressedWidget
mouseDragged => onMouseDragged
handleMouseClick => onMousePressed
handleTouchEvent => onMouseReleased
handleKeyPress => onKeyPressed
handleButtonPressed => onWidgetPressed
WidgetButton.released => onReleased
2016-10-17 15:13:15 +02:00
Max Gurela 7c20271c10 Misc random mappings (#120)
* Misc random mappings

* Minor changes & move WorldServerChild to sortme

* username -> userName
2016-10-17 14:45:28 +02:00
mezz 24e77d961b Fixes for review 2016-10-16 15:24:14 -07:00
Ryan Leach 6b6de7cf61 Update Predicates, BlockPattern, and some loot entries. (#130)
* Update Predicates, BlockPattern, and some loot entries.

* revert useNativeTransport

* Move & Fix "buggy" naming

* revert isRemote

* ComparatorSomething -> MaterialBlockPredicate

* second BlockPattern naming round.

* BlockInWorld -> BlockProxy

* Address comments.

* Missed one, I should sleep.
2016-10-16 18:25:15 +02:00
asiekierka 4bb920f431 fix ItemStack style issues, map a bit of client/server 2016-10-16 17:28:20 +02:00
Łukasz Magiera 02287bc3a4 Name some things (#119)
* Name some things

* Apply suggestions

* Apply suggestions
2016-10-16 17:07:39 +02:00
mezz 2837df0b62 Add mobTick and checkDespawn (#126) 2016-10-16 17:00:41 +02:00
asiekierka ebe1995b43 fix field naming, map more of EntityPainting 2016-10-16 14:44:01 +02:00
asiekierka f5f7fefbd8 Merge branch '16w38a' of github.com:FabricMC/pomf into 16w38a 2016-10-16 13:39:15 +02:00
asiekierka 0b94e1272b fix method conflicts 2016-10-16 13:39:01 +02:00
mezz 9651b6962b Add/Fix some block mappings 2016-10-16 00:38:17 -07:00
mezz add3904c89 Add/fix some chunk mappings (#124)
* Add/fix some chunk mappings

* Fixes for review
2016-10-16 09:31:36 +02:00
mezz 3cee9fc828 Add some entity mappings, more general name for EntityParts (#122)
* Add some entity mappings, more general name for EntityParts

* Fixes for review
2016-10-16 09:31:17 +02:00
mezz 1c74fd5ee2 Fix BoundingBox method names, finish Facing (#123) 2016-10-16 08:07:10 +02:00
Tyler Hancock 9fc5447217 More misc mappings (#118)
* Mapped a few misc things related to entities and rendering.

* Fixed a few things based on Copy's suggestions.

* Fixed mainhand/offhand issue.
2016-10-16 08:05:38 +02:00
asiekierka db9fc376d7 entity, biome mappings 2016-10-15 20:49:37 +02:00
asiekierka 37441396aa minor random mappings 2016-10-15 17:21:53 +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
copygirl fe95325e9b Rename EntityRendererArmor.TEX => SKIN 2016-10-15 14:32:30 +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
Łukasz Magiera 7e8fe4b852 Some mappings near chunk rendering logic (#117) 2016-10-15 14:30:22 +02:00
asiekierka 1087daa2f4 stat/entity/tracker mappings 2016-10-15 13:59:08 +02:00
Tyler Hancock 6c42c03951 A few new rendering things (#116)
* Completed the render layer mapping. Fixed a few misnamed things.

* partialTicks -> deltaTicks

* Fixed partial ticks in existing mapping as well. Also some new stuff.
2016-10-15 13:30:24 +02:00
asiekierka bd3143ae63 map ChunkPlayerTracker, some BlockState oddities 2016-10-15 13:28:26 +02:00
Łukasz Magiera bceab1c49a Network and Some Random mappings (#114)
* Network and random mappings

* Apply suggestions

* ctx/context, mtick/lastVillagerDeath
2016-10-15 12:57:47 +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
Max Gurela fbd787247c Map GuiSettingsVideo and related classes (#113)
* Map GuiSettingsVideo and related classes

* Change isSlider/isBoolean to slider/toggle

Still very confusing without documentation, both of the values are just booleans. They indicate whether or not the option is a numeric slider value option or a boolean value option.
2016-10-15 11:17:18 +02:00
Tyler Hancock 2b3044a857 Mapped a few new things (#108)
* Mapped resource index objects.

* Mapped a bunch of misc stuff.

* Mapped something to do with default light values.

* Fixed several issues

- Stray overlay texture is now SKIN
- Mapped the missing field for stray model.
- Renamed EntityrRendererArrows -> EntityRendererStuckArrows
- Renamed EnumLightTypes -> LightType

* Fixed a typo
2016-10-15 11:16:39 +02:00
copygirl 792681f8a0 Map world event (#109) 2016-10-15 11:15:33 +02:00
copygirl 9fc4a1d02a Rename IPlantBlock to IFertilizable (#110) 2016-10-14 12:01:31 +02:00
asiekierka ef27944c4b improvements to structure maps 2016-10-13 16:14:09 +02:00
asiekierka 2e0f9b8eb6 fix GuiMainMenu 2016-10-12 20:22:46 +02:00
asiekierka 7582e2ee06 map FontRenderer, do some work on structure gen 2016-10-12 17:02:29 +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 55e138ce17 that is what i get for not git pulling first 2016-10-12 13:15:24 +02:00
asiekierka 5edd510627 adjust mapping packages, map ParticleBlock 2016-10-12 13:09:35 +02:00
copygirl 85f6359061 Map / rename some more Particle things (#105)
* Map more Particle stuff

* Rename Particles (+ types)
2016-10-12 00:21:31 +02:00
copygirl 133862cfa6 Map ICrashCallable.call 2016-10-10 14:02:36 +02:00
Łukasz Magiera 4ea4567f32 JsonTagParser, EntityModels, Particles (#103)
* JsonTagParser, EntityModels, Particles

* Apply some comments
2016-10-08 17:10:35 +02:00
Max Gurela 7f389902ac GuiNewLevelCustomize/Widgets/WidgetListMulti (#104)
* WIP GuiNewLevelCustomize

* Map getScrollbarPosition

* Widgets progress

* WidgetToggle/WidgetTextField
2016-10-08 17:02:40 +02:00
Shadowfacts 2814e6c4c0 Update build.gradle 2016-10-02 13:26:07 -04:00