Commit Graph

2543 Commits

Author SHA1 Message Date
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
Shadowfacts 0bb8d63809
Use classpath Weave instead of downloading 2016-10-02 11:58:57 -04:00
Shadowfacts 6c02b4a834
Fix buildscript 2016-10-02 11:46:04 -04:00
asiekierka c01c433297 apply feedback 2016-10-01 08:05:01 +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
asiekierka 93d30e8626 apply feedback 2016-10-01 07:57:18 +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
copygirl b23cb29ec9 Map ambientDarkness and isDaylight (#90) 2016-09-28 14:13:06 +02:00
asiekierka 5f502767c1 minor work 2016-09-27 16:56:35 +02:00
asiekierka 8fe2122509 map more piston stuff, neighbor updates 2016-09-27 16:02:14 +02:00
Benjamin K 1fd23a0471 Map VersionType. (#95) 2016-09-27 09:02:50 +02:00
copygirl a1db041f76 Rename YELLOW/RED_FLOWER to DANDELION / POPPY 2016-09-26 22:12:54 +02:00
copygirl 01953528b4 Map BiomeGeneratorSettings (#92) 2016-09-26 22:00:10 +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 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 c0080760e2 Fix build.gradle (moved to new maven) 2016-09-22 16:54:46 +02:00
modmuss50 3e0ebcb718 use weave fat jar 2016-09-21 15:25:10 +01:00
modmuss50 38658dc7e1 Fix build without libs folder 2016-09-21 13:55:01 +01:00
modmuss50 a95593bace Generate tiny mapping files 2016-09-21 13:52:54 +01:00
copygirl 017a3ea5bd Fix WorldProvider.getWorldType 2016-09-21 13:09:15 +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 3c9e2859e4 fix ItemBlockMulti.VariantNameProvider 2016-09-20 18:08:20 +02:00
asiekierka 8d4ec1cfa1 update README 2016-09-20 17:58:54 +02:00
asiekierka 2f3c292a84 fix MinecraftServer, map LockableContainerDoubleChest and others 2016-09-20 17:58:37 +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 023f518b40 Merge branch 'iamgreaser-texturestuff1' into 16w36a 2016-09-20 16:38:32 +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
asiekierka 55848c82d5 getDistanceTo -> distanceTo 2016-09-20 16:34:14 +02:00
iamgreaser 052ba93b9b Vec3d fully mapped; Polar2f identified (#88)
* Vec3d fully mapped; Polar2d identified

* s/coerce/fromPolar/g

* Vec3i fully mapped

* BlockPos fully mapped

also demapped a method in Vec3i that may cause issues
(I suspect Enigma has a bug)

* review round 1

closes #87

* Vec3i s/ORIGIN/ZERO/g

* dammit when will you all take a linear algebra course
2016-09-20 16:31:38 +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 25d67cd049 what the fuck?
Also known as Fast Inverse Square Root.

MC uses the double-precision version.
The magic number is one more than Robertson's constant.

It is used for atan2, which has also been mapped here.
2016-09-20 15:26:51 +12:00
Ben Russell 9cfba5aac2 The algorithm known as WHAT THE FUCK 2016-09-20 15:18:30 +12:00
Ben Russell a1858764e6 fill in a few more MathUtils methods 2016-09-20 15:17:00 +12: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