Commit Graph

315 Commits

Author SHA1 Message Date
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
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
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
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
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
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
mezz add3904c89 Add/fix some chunk mappings (#124)
* Add/fix some chunk mappings

* Fixes for review
2016-10-16 09:31:36 +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
asiekierka 1087daa2f4 stat/entity/tracker mappings 2016-10-15 13:59:08 +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
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 ef27944c4b improvements to structure maps 2016-10-13 16:14:09 +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 133862cfa6 Map ICrashCallable.call 2016-10-10 14:02:36 +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 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
copygirl b23cb29ec9 Map ambientDarkness and isDaylight (#90) 2016-09-28 14:13:06 +02:00
asiekierka 8fe2122509 map more piston stuff, neighbor updates 2016-09-27 16:02:14 +02:00
copygirl 01953528b4 Map BiomeGeneratorSettings (#92) 2016-09-26 22:00:10 +02:00
copygirl 200ccadaed Map MigrationHandler parameters 2016-09-22 21:31:01 +02:00
copygirl 33d5682552 Rename remaining dimension => world 2016-09-22 18:02:21 +02:00
copygirl 017a3ea5bd Fix WorldProvider.getWorldType 2016-09-21 13:09:15 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +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 0a04c3004d minor mapping work before bed 2016-09-18 00:45:01 +02:00
asiekierka 0a40ad452b sound, entity, item work 2016-09-15 12:15:02 +02:00
asiekierka 8e54e62451 map a lot of loot table stuff 2016-09-15 00:43:52 +02:00
Max Gurela ff8fe56ddb Decorators (#77)
* Decorators

* Add tree mappings
2016-09-14 17:06:37 -04: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 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
liach e349ebc2fd Add some stuff for AIs (#67)
* Add some stuff for AIs

* deleted bad files

* missed them

* fix according to asiekierka
2016-09-12 11:28:32 +02:00
asiekierka 5ffd55f7ae slight model data format progress 2016-09-10 21:26:52 +02:00
asiekierka f857ed83de network/server/migration mappings 2016-09-10 17:54:35 +02:00
asiekierka 184690578d world, network work 2016-09-07 11:55:02 +02:00
copygirl bbaf10dde3 Map Explosion related things (#62) 2016-09-07 11:12:57 +02:00
Benjamin K d362d9d885 worldName was incorrectly named. This should fix it. (#57) 2016-08-29 01:09:46 +02:00
Benjamin K 2727af5a03 [WIP] World related mappings. (#52)
* Nothing overly interesting.

* Map workers and fix the thread factory variable name.

* Map WorldInfo and some other things I found along the way.

* Fix some mappings, map Enchantments class.
2016-08-29 00:56:11 +02:00
asiekierka 18defd5bb9 world, renderer improvements 2016-08-28 23:11:16 +02:00
Łukasz Magiera 1d0e02d987 Mappings around world storage (#56) 2016-08-28 22:34:06 +02:00
asiekierka 83e3f3089b small World work 2016-08-28 17:25:24 +02:00
asiekierka e0c230b842 Fix World names, add more Block names 2016-08-28 14:21:39 +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
Adrian Siekierka 9cfb8a7d1c Add redstone mapping names (#50)
* add redstone mapping names

* minor corrections
2016-08-28 00:16:49 +02:00
Shadowfacts 6a7282827f
World#updateSleepingStatus 2016-08-27 17:57:11 -04:00
asiekierka c4574d5de0 snooper, container, hopper, inventory mappings 2016-08-27 19:12:35 +02:00
Hazeev Aidar 0012609c5e Random stuff (#46) 2016-08-26 09:11:01 +02:00
Shadowfacts 91e22870c7
World.createEntity -> spawnEntity 2016-08-25 18:11:28 -04:00
asiekierka 96e3012b76 map a few entity/world functions 2016-08-25 21:12:22 +02:00
asiekierka 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02:00
asiekierka 4c54af09c1 map out more of WorldSaveHandler 2016-08-25 11:46:44 +02:00
Adrian Siekierka 9af7db83ed (Darkhax) Mapped out way too much stuff (#44)
* Partially mapped sounds.

* Partially documented the music tracker.

* Partially fixed sound name issue.

* Mapped a bunch of rendering and model stuff.

* More model mapping

* More random mappings

* Time to clock out before this PR becomes too big.

* apply fixes
2016-08-25 11:35:28 +02:00
Benjamin K cd46a92b09 Fix some namings as well as add some names to MinecraftServer and related classes. (#36)
* Redo the PR so I don't have conflicts. Also map IGameThread (feedback on that name is welcome)

* This makes a bit more sense.
2016-08-25 09:50:47 +02:00
Shadowfacts ae598db91b
Map WorldServer.entityTracker 2016-08-24 16:38:50 -04:00
Shadowfacts 6e879cfb64
Map some of WorldEntityTracker 2016-08-24 16:19:19 -04:00
Tyler Hancock 697bcf0377 Expand World/Save mappings (#35)
* Mapped some world stuff. Partially related to saving.

* Named some dimension stuff.

* Mapped out some more save stuff. Should be enough to get stuff rolling.

* Implement feedback
2016-08-24 13:24:49 -04: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 41850f5bf3 work on TileEntityStructureBlock and misc 2016-08-23 17:11:06 +02:00
asiekierka 96105ecbda fix misspell 2016-08-23 15:26:58 +02: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
Shadowfacts 97fa1fd75c
Resource pack stuff 2016-08-22 18:16:53 -04: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
Tyler Hancock 4f10b69f8c
Implemented feedbac 2016-08-21 12:11:11 -06:00
asiekierka ed5bca2a0b misc improvements 2016-08-21 13:11:10 +02:00
Tyler Hancock 2f958976a4 Mapped out some of the main entity types.
Not sure where to but the big types like Mob and EntityAnimal
2016-08-20 21:00:51 -06:00
Tyler Hancock bfee108e0e Mapped a decent bit of biomes. 2016-08-20 20:45:54 -06:00
Tyler Hancock 57143673c6 Mapped some misc stuff 2016-08-20 20:30:11 -06:00
Tyler Hancock 8a6f9480a9
Mapped out tools and related things 2016-08-20 16:50:38 -06:00
Shadowfacts 428862cd7d
Some TileEntity mappings 2016-08-20 15:23:28 -04:00
Shadowfacts 30d7950c0b
Merge branch '16w33a' of github.com:FabricMC/pomf into 16w33a 2016-08-20 14:05:34 -04:00
Shadowfacts 059bf7b5a6
More block stuff 2016-08-20 14:05:24 -04:00
asiekierka 7c52be2b59 map out most of sprite code, minor work in Minecraft/MinecraftServer/World 2016-08-20 18:56:54 +02:00
asiekierka 018b114719 work in entities, network, server, Minecraft client 2016-08-19 21:40:47 +02:00
asiekierka 1e8f8eb3ca finish most packet mappings, move DamageSource to entity/damage 2016-08-19 20:15:18 +02:00
asiekierka 23e5364c74 more work on network packets and surrounding classes 2016-08-19 01:11:41 +02:00
asiekierka 235a7fdc07 begin mapping client packets 2016-08-18 21:44:20 +02:00
Łukasz Magiera 786c13afa9 More mappings here and there(server/entity renderer) (#17)
* Likely some entity/mob renderer

* Things around server gui
2016-08-18 16:49:56 +02:00
asiekierka 2c3248d33a fix weird BiomeConfiguration issue 2016-08-18 02:43:53 +02:00
asiekierka 29274e2a51 chunk, potion work 2016-08-18 02:35:58 +02:00
Łukasz Magiera 54497adc50 Some chunk related mappings (#15) 2016-08-18 01:16:15 +02:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
asiekierka 13d8bfc9cc initial update to 16w33a 2016-08-17 19:52:38 +02:00
Benjamin K 4c3313c903 Map some blocks, entities, and related methods and classes. (#10) 2016-08-15 12:13:46 +02:00
asiekierka f8b443bc8a more mappings across the codebase 2016-08-14 22:30:49 +02:00
asiekierka 31b97b576f work on GlHandler, decorators, potions, misc. classes 2016-08-14 20:22:30 +02:00
Shadowfacts cf2340224c Text (and some server) mappings (#8) 2016-08-14 19:51:55 +02:00
Shadowfacts 7205dd6d87 Block, biome, and world generator stuff (#5) 2016-08-14 17:17:21 +02:00
asiekierka b9459bf28d apparently DyeColor did not save right 2016-08-14 15:43:36 +02:00
asiekierka 63ca292b72 move from JSON to split Enigma format 2016-08-12 20:24:17 +02:00
asiekierka db676b3d90 Improvements across the mappings 2016-08-12 17:23:12 +02:00
asiekierka ae11bd10d3 first commit 2016-08-12 15:28:17 +02:00