Commit Graph

105 Commits

Author SHA1 Message Date
Nedelosk e542a2fc78 Add mappings for ItemRender, Containers and Villages 2016-10-18 00:14:29 +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 36f2f3fc7b
Random block stuff 2016-10-17 11:33:57 -04: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 ebe1995b43 fix field naming, map more of EntityPainting 2016-10-16 14:44:01 +02:00
asiekierka 0b94e1272b fix method conflicts 2016-10-16 13:39:01 +02:00
asiekierka db9fc376d7 entity, biome mappings 2016-10-15 20:49:37 +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 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
asiekierka bd3143ae63 map ChunkPlayerTracker, some BlockState oddities 2016-10-15 13:28:26 +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 9fc4a1d02a Rename IPlantBlock to IFertilizable (#110) 2016-10-14 12:01:31 +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
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 8fe2122509 map more piston stuff, neighbor updates 2016-09-27 16:02:14 +02:00
copygirl 200ccadaed Map MigrationHandler parameters 2016-09-22 21:31:01 +02:00
asiekierka e0058174c0 initial port 2016-09-20 17:18:54 +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 7d64ca1c52 client gui, resource mapping work 2016-09-18 16:43:16 +02:00
asiekierka 90b96b98ec map entity, item stuff 2016-09-18 10:03: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
copygirl 524879cf96 Rename TileEntity => BlockEntity (#76) 2016-09-14 22:57:36 +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
Ł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 3310e8b32f Merge branch '16w33a' of github.com:FabricMC/pomf into 16w33a 2016-09-10 17:55:40 +02:00
asiekierka f857ed83de network/server/migration mappings 2016-09-10 17:54:35 +02:00
asiekierka bfdec19d17 Merge branch '16w33a' of github.com:FabricMC/pomf into 16w33a 2016-09-10 17:31:57 +02:00
copygirl 2f3c26312f Map various things and entity TrackedData fields and related (#65)
* Map PotionHelper

* Villager & Wolf skin texture fields

* Various entity mappings

* Map EntityEnderDragonPart

* Fix DamageSource attacker/source mixup

* Rename BlockPos nested classes & map PooledMutable

* Map projectile onCollision & onHit

* Map entity TrackedData fields and related

* Fix "invulnurable" typing error

* Fix Block.DEFAULT_ID -> AIR_ID

* Fix Minecart "carried" -> "contained"

* Fix isSourceCreativePlayer

* Fix Entity.dropItems -> dropStack

Also tiny parameter name addition

* Fix Entity.AIR -> BREATH

* Fix Entity.setOnFire -> setOnFireFor

* Fix tamable -> tameable
2016-09-10 17:26:28 +02:00
asiekierka 8223a7a99c fix some non-fully-mapped methods 2016-09-10 16:37:50 +02:00
asiekierka 169de4545c getId -> getContainerId 2016-09-10 16:30:17 +02:00
Benjamin K 49e4b0e26e Map disableMiningStats in Block and canInsert in Slot. (#68) 2016-09-10 09:53:08 +02:00
asiekierka 1426735636 stackSize -> amount 2016-09-08 23:31:38 +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
copygirl da4c7ca2b9 Move BlockState related stuff into its own package (#63) 2016-09-04 10:57:42 -04:00
Benjamin K 56f1d945bb LootTable, and KeyBinding class name. (#60)
* Map LootTable stuff.

* Map KeyBinding class name

* ILootTableProvider

* Map Sound class.
2016-09-01 16:00:14 +02:00
asiekierka b56b8e99bc map StateModelMapper code 2016-09-01 14:19:42 +02:00
Benjamin K 0c9cde4c96 Map the rest of BoatType, as well as some other entity related things. (#58)
* Map the rest of BoatType

* Map entity move method, and onEntityLanding in Block.

* map handleFallDamage, onEntityLanding -> onLandedUpon, playSoundAtEntity
2016-08-30 10:21:03 -04:00
asiekierka b02f923392 map block renderer stuff 2016-08-28 20:29:00 +02:00
Max Gurela 90a03e3e1a Command misc mappings (#54)
* Command misc mappings

* Remove isSpectator/isCreative mappings
2016-08-28 19:55:13 +02:00
Ruben Taelman e5a3551604 Mappings related to stats (#53) 2016-08-28 19:08:03 +02:00
asiekierka 26b7d11676 minor tile entity mapping 2016-08-28 16:10:46 +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
asiekierka 98415f9072 more internal Block field maps 2016-08-28 13:24:41 +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 c4574d5de0 snooper, container, hopper, inventory mappings 2016-08-27 19:12:35 +02:00
asiekierka e7bcf06368 mostly container stuff 2016-08-27 16:34:11 +02:00
Max Gurela f30442e020 Map nd -> ConsoleCommandSender (#42)
* Map nd -> ConsoleCommandSender

net.minecraft.server.dedicated.ConsoleCommandSender

* Map executeCommand in IServer

* Clarify with CommandFeedback
2016-08-25 18:18:42 +02:00
asiekierka 03ee9d101c map things in Item, World, BlockState 2016-08-25 16:51:07 +02: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 5bf904f9ef minor work here and there 2016-08-23 15:24:22 +02:00
asiekierka ed5bca2a0b misc improvements 2016-08-21 13:11:10 +02:00
Tyler Hancock 8a6f9480a9
Mapped out tools and related things 2016-08-20 16:50:38 -06:00
Shadowfacts 0251120a86
TileEntityRenderer stuff 2016-08-20 16:08:08 -04:00
Shadowfacts 428862cd7d
Some TileEntity mappings 2016-08-20 15:23:28 -04:00
Shadowfacts 0ff574b11d
More item mappings 2016-08-20 14:35:19 -04:00
Shadowfacts 059bf7b5a6
More block stuff 2016-08-20 14:05:24 -04:00
asiekierka 018b114719 work in entities, network, server, Minecraft client 2016-08-19 21:40:47 +02:00
copygirl eba6c0f62c Update Block mappings (#22)
* Update Block mappings

* Move BlockButtonBase to net.minecraft.block

* Move BlockStairs to net.minecraft.block

* Additional Block mapping changes
2016-08-19 10:34:06 -04:00
copygirl 32d2438975 Update Material mappings (#19)
* Update some Block mappings

Fields: friction
Methods: dropItems, dropStack, dropExperience
Parameters: fortune

Renamed EntityXPOrb to EntityExperienceOrb

* Update Material mappings

* Fix mixed-up PistonBehavior naming

* Rename Material PLANT_BLOCK to PLANT_CUBE
2016-08-19 14:11:29 +02:00
copygirl 313f4eb099 Update some Block mappings (#16)
Fields: friction
Methods: dropItems, dropStack, dropExperience
Parameters: fortune

Renamed EntityXPOrb to EntityExperienceOrb
2016-08-18 12:35:21 -04:00
asiekierka 5912343c8a class mapout of most entity renderers, improvements 2016-08-18 15:03:31 +02:00
asiekierka 29274e2a51 chunk, potion work 2016-08-18 02:35:58 +02:00
asiekierka 02adfa28c1 more work 2016-08-17 23:19:57 +02:00
asiekierka 3d68fe8bb0 fix IInventory mapping 2016-08-17 20:57:56 +02:00
asiekierka 13d8bfc9cc initial update to 16w33a 2016-08-17 19:52:38 +02:00
asiekierka fc580c38c7 apply POMF fix 2016-08-17 16:03:57 +02:00
asiekierka 3a6229f684 entity, stat work 2016-08-17 12:48:54 +02:00
asiekierka 3cee61d028 mostly item and recipe work 2016-08-17 00:08:07 +02:00
Benjamin K 6cd8e2947f Map some sound stuff, tile renderers, and other misc stuff. (#14) 2016-08-16 22:22:45 +02:00
Shadowfacts c60bc2c601
TileEntity stuff 2016-08-15 13:20:34 -04:00
Shadowfacts 518a74d73b
More block stuff 2016-08-15 12:41:18 -04:00
Shadowfacts aab68c7a76 More block stuff 2016-08-15 12:11:13 -04:00
asiekierka bc4be53a37 minor additions to Block, fix IInventory crash 2016-08-15 14:40:10 +02:00
asiekierka fb2b4748cd work on blocks, entities 2016-08-15 13:03:18 +02:00
Benjamin K 4c3313c903 Map some blocks, entities, and related methods and classes. (#10) 2016-08-15 12:13:46 +02:00
Shadowfacts 10bf12d36b Merge branch 'master' of github.com:ChorusMC/pomf 2016-08-14 17:19:50 -04:00
Shadowfacts e4afbd0172 Block parameter mappings 2016-08-14 17:06:03 -04: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 7205dd6d87 Block, biome, and world generator stuff (#5) 2016-08-14 17:17:21 +02:00
asiekierka 66b94455d1 remove double class BlockTileEntity 2016-08-14 16:15:17 +02:00
asiekierka b9459bf28d apparently DyeColor did not save right 2016-08-14 15:43:36 +02:00
asiekierka c70e3503b8 more additions to mappings 2016-08-14 15:36:07 +02:00
Shadowfacts fdfcdba963 Misc (#4)
* Block state stuff

* Block/state/interaction mappings

* CreativeTab

* More block mappings
2016-08-14 14:29:39 +02:00