Commit Graph

184 Commits

Author SHA1 Message Date
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
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 d4f7e7f6ac Merge branch 'guis' of https://github.com/Nedelosk/pomf into Nedelosk-guis 2016-10-18 17:01:02 +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
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
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
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
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
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
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 add3904c89 Add/fix some chunk mappings (#124)
* Add/fix some chunk mappings

* Fixes for review
2016-10-16 09:31:36 +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
Łukasz Magiera 7e8fe4b852 Some mappings near chunk rendering logic (#117) 2016-10-15 14:30:22 +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
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
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
Benjamin K ac50036d17 Map code related to entity riding and passengers. (#96) 2016-10-01 07:53:12 +02:00
Modmuss50 411a82babc Entity Rendering Stuff (#99)
* Entity Rendering Stuff

* Fix some issues

* Fix some issues + a few small things

* More fixes, again

* Last fix?

* Update EntityRendererWither.mapping
2016-09-30 20:19:04 +02:00
copygirl f888ce93fa Map world generation related stuff (#98)
* Map BiomeGenerator

* Rename DecoratorMushroomHuge

* Rename some IWorldListener and Chunk methods

onSpawn/DespawnEntity => onEntityAdded/Removed
onPlaySound => onSound
onSpawnParticle => onParticle
add/dropEntities => add/dropEntitiesTo/FromWorld

* Map ChunkBlockStore

* Map Chunk.lastSavedTime

* Move stuff to net.minecraft.world.gen package

* Map BlockFalling.fallInstantly

* Move worldgen + biome related to world.gen.biome

* Move WorldProviders to world.gen package

* Map DecoratorNetherSpring

* Map ChunkGenerators

* Map FeatureGenerators

* Map StructureGenerators

* Map a little of BiomeProvider

* Fix a few minor things

random => rand
LIQUID => oceanBlock
pallette => palette
2016-09-29 11:01:19 +02:00
copygirl 16d2c49ac0 Get rid of impl packages (#97) 2016-09-28 14:17:20 +02:00
asiekierka 5f502767c1 minor work 2016-09-27 16:56:35 +02:00
Benjamin K 1fd23a0471 Map VersionType. (#95) 2016-09-27 09:02:50 +02:00
iamgreaser 86cdb012f1 Particle system (#91)
* Particle + ParticleManager

* found IParticleFactory

* further particle progress

* move Particle into client

* VertexBuffer.texture(int, int)

* Entity.getForwardVector

* more Particle stuff

* review part 1
2016-09-26 05:28:33 +02:00
copygirl e923c15592 Fix default skins to use _SKIN suffix 2016-09-21 11:41:48 +02:00
copygirl 96dd2032a2 Fix EnchantingPhrases having CAPS fields 2016-09-21 11:40:55 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +02:00
asiekierka 6ed57dc017 BannerCache -> BannerTextureCache 2016-09-20 16:40:17 +02:00
asiekierka be5a577365 fixes 2016-09-20 16:38:09 +02:00
asiekierka d4ce8f6da4 Merge branch 'texturestuff1' of https://github.com/iamgreaser/pomf into iamgreaser-texturestuff1 2016-09-20 16:34:44 +02:00
Ben Russell 98c6cefca4 review round 1 2016-09-20 19:45:11 +12:00
iamgreaser cc71e90257 bdu -> ScreenshotUtils (fully mapped) (#85) 2016-09-20 09:28:59 +02:00
Ben Russell 53bf2f710f tie off loose ends for banner stuff 2016-09-20 14:55:59 +12:00
Ben Russell c9b6c1d113 BannerCache+TextureBanner fully mapped 2016-09-20 14:52:55 +12:00
Ben Russell 992cf97d8a bpb -> ImageFilterSkinRemapper (mostly remapped)
what the hell mojang the skin format is terrible
2016-09-20 13:01:44 +12:00
Ben Russell 3eec79843c bov -> ImageFilter 2016-09-20 12:54:00 +12:00
Ben Russell 7ab32e40ec bwu -> TexturePlayerSkin (mostly mapped) 2016-09-20 12:47:28 +12:00
Ben Russell b58fd3ff6e DefaultSkinUtils fully mapped 2016-09-20 12:34:52 +12:00
Ben Russell ce7bd3f174 Texture and ITexture fully mapped 2016-09-20 12:25:24 +12:00
iamgreaser 1c736f27c8 TextureUtils fully mapped (#84)
* TextureUtils fully mapped

* TextureUtils: review round 1
2016-09-20 00:19:50 +02:00
asiekierka 65e7332171 fixes, mappings 2016-09-19 19:41:27 +02:00
copygirl dd4d52b441 Map Level related things and a bunch more (WIP?) (#83)
* Map LevelGeneratorType

From WorldGenerator

* Map LevelInfo

From WorldInfo

* Map Level related and many more

* Fix construct => createProvider

* Unfinished stuff please ignore
2016-09-19 19:19:11 +02:00
asiekierka b7c5af3623 clean up sortme, other things 2016-09-19 16:40:26 +02:00
asiekierka bbbd3cff79 map some container stuff, fix audio mappings 2016-09-19 12:18:00 +02:00
asiekierka 36f32bdbc4 map texture stuff 2016-09-19 10:08:43 +02:00
asiekierka 6f6e2a129d tweaks to last pull 2016-09-18 17:00:35 +02:00
iamgreaser 6c842977a3 GL 2.0+ pipeline (#81)
* initial cbf->GlExtensionHandler fill

* most GlExtH methods

* GlExtH OpenGL enums

* loose ends for GlExtH

* GlProgram/GlShader located

* filled in GlShader

* more GlProgram stuff

* GlUniform located

* fill in more GlUniform stuff

* GlBlendState + GlUniform gaps

* GlProgramManager located + fully mapped

* GlFramebuffer located

* more GlFramebuffer stuff

* solved the resize problem in GlFramebuffer

* review pt1

* review pt2
2016-09-18 16:55:46 +02:00
asiekierka 7d64ca1c52 client gui, resource mapping work 2016-09-18 16:43:16 +02:00
asiekierka 0a04c3004d minor mapping work before bed 2016-09-18 00:45:01 +02:00
asiekierka 474177781c entity mapping work 2016-09-17 18:44:46 +02:00
copygirl 1cc1d73e32 Fix conflicting mappings
(Always test your merge conflict fixes. I know what I did wrong.)
2016-09-17 01:21:36 +02:00
iamgreaser 8e0790b382 Scrollable entry lists + LAN server querying (#80)
* LanServerQueryManager

* moved to sortme; GUI tidbits

* mouse mappings for gui (+ server lists)

* entryCount for gui lists

* width/height/scroll for bfb

* setLeftPos for bfb

* scrolls + more mouse stuff (bfb)

* bfb entryWidth/handleButtonPressed/drawEntries

* bfb drawEntry

* starting to decipher none.bew

* add index to a bew.a method

* bmk -> ServerList (fully deobf'd)

* starting on none.big

* index selections for bfb & co

* set(User|Lan)Servers for none.big

* quick names for bfb and whatnot

* name tweaks
2016-09-17 01:02:39 +02:00
copygirl a244185861 Rename Minecraft => MinecraftGame (#82)
- 'mc' fields/parameters => 'game'
- WorldClient.getMinecraft => getGameInstance
- WidgetWorldEntry.minecraft => game
2016-09-16 22:32:52 +02:00
asiekierka 0a40ad452b sound, entity, item work 2016-09-15 12:15:02 +02:00
Max Gurela 708bffc099 IProgress and NetHelper (#75)
* IProgress and NetHelper

* Net -> Network
2016-09-14 17:07:53 -04: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 7d46c65301 rendering mapping work 2016-09-14 14:50:56 +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 7cb0dec07f attribute, scoreboard, etc. work 2016-09-13 12:41:42 +02:00
Łukasz Magiera c23c9d5434 Some random mappings (#69) 2016-09-12 16:28:44 -04:00
asiekierka a0df18127a mapping improvements 2016-09-12 22:13:50 +02:00
asiekierka 0f500e4ebe fix tile entity crash, map minor rendering things 2016-09-12 16:03:06 +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 1ad8c59e14 map further model format stuff 2016-09-12 00:27:01 +02:00
asiekierka f388749407 minor model, client cleanup work 2016-09-11 12:46:28 +02:00