1
0
Fork 0
cuberite-2a/src/Blocks
changyong guo 57690b81a2 Experience orb (#4259)
* Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer
* Implement experience reward splitting into the orb sizes used in vanilla
* Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player

Fixes #4216
2018-08-02 15:59:10 +01:00
..
BlockAnvil.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockBed.cpp Broadcast refactor (#4264) 2018-07-24 22:30:49 +01:00
BlockBed.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockBigFlower.h Item durability loss now depends on the item used. (#4123) 2018-01-05 11:28:06 +00:00
BlockBrewingStand.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockButton.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockCactus.h Break the cactus block when it grows next to a block. (#3851) 2017-07-18 15:14:52 +02:00
BlockCake.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockCarpet.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockCauldron.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockChest.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockCloth.h Improved maps 2015-07-14 21:46:30 +01:00
BlockCobWeb.h Improved maps 2015-07-14 21:46:30 +01:00
BlockCocoaPod.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockCommandBlock.h Improved maps 2015-07-14 21:46:30 +01:00
BlockComparator.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockConcretePowder.h Concrete mixing (#4096) 2018-01-03 16:33:31 +00:00
BlockCrops.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
BlockDeadBush.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockDirt.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BlockDoor.cpp cWorld: Manually bind deprecated broadcast functions (#4265) 2018-07-27 00:12:41 +01:00
BlockDoor.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockDropSpenser.h fix dispenser pickup display bug (#4247) 2018-06-30 22:37:10 +01:00
BlockEnchantmentTable.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockEnderchest.h Drop enderchest when broken by a silk touck pick (#3986) 2017-08-31 17:50:07 +02:00
BlockEntity.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockFarmland.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockFence.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
BlockFenceGate.h cWorld: Manually bind deprecated broadcast functions (#4265) 2018-07-27 00:12:41 +01:00
BlockFire.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockFlower.h Fix Pickups of BlockFlower 2016-02-06 22:04:00 +01:00
BlockFlowerPot.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockFluid.h BigFlower fixes (#3826) 2017-07-07 16:37:53 +02:00
BlockFurnace.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockGlass.h Improved maps 2015-07-14 21:46:30 +01:00
BlockGlowstone.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
BlockGravel.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
BlockHandler.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
BlockHandler.h Rewrite cClientHandle::HandleRightClick (#4089) 2018-01-08 13:37:10 +00:00
BlockHopper.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockIce.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockLadder.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockLeaves.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockLever.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockLilypad.h Lilypads can be on top of (frosted) ice (#4122) 2017-12-27 18:47:28 +00:00
BlockMelon.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
BlockMobHead.h Replace ItemCallbacks with lambdas (#3993) 2017-09-11 23:20:49 +02:00
BlockMobSpawner.h Experience orb (#4259) 2018-08-02 15:59:10 +01:00
BlockMushroom.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BlockMycelium.h Improved maps 2015-07-14 21:46:30 +01:00
BlockNetherWart.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockNetherrack.h * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. 2015-08-19 10:48:21 -06:00
BlockOre.h Experience orb (#4259) 2018-08-02 15:59:10 +01:00
BlockPiston.cpp At long last... Piston animations! 2018-07-25 15:29:53 +01:00
BlockPiston.h At long last... Piston animations! 2018-07-25 15:29:53 +01:00
BlockPlanks.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockPlant.h cBlockInfo static initialisation (#3832) 2017-07-03 18:34:27 +02:00
BlockPluginInterface.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BlockPortal.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockPressurePlate.h Pressure plates can be placed on fences and hoppers (#3796) 2017-06-22 21:11:46 +02:00
BlockPumpkin.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockQuartz.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockRail.h cBlockRail: Fix assertion failure (#4075) 2017-11-21 21:54:21 +00:00
BlockRedstone.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockRedstoneLamp.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BlockRedstoneRepeater.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockRedstoneTorch.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockSand.h Improved maps 2015-07-14 21:46:30 +01:00
BlockSapling.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockSeaLantern.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
BlockSideways.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockSignPost.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockSlab.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockSlime.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BlockSnow.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockStairs.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockStems.h Removed unneeded includes (#3902) 2017-08-06 20:57:44 +01:00
BlockStone.h Remove double includes part 2 (#3890) 2017-08-03 15:34:19 +02:00
BlockSugarcane.h Sugar cane can be near frosted ice (#4133) 2018-01-05 12:49:08 +00:00
BlockTNT.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BlockTallGrass.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockTorch.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockTrapdoor.h Broadcast refactor (#4264) 2018-07-24 22:30:49 +01:00
BlockTripwire.h Improved maps 2015-07-14 21:46:30 +01:00
BlockTripwireHook.h Deal with covered switches consistently (#4161) 2018-02-04 23:07:12 +00:00
BlockVine.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockWallSign.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
BlockWorkbench.h cBlockHandler: take player by ref 2017-08-01 08:21:20 +02:00
BroadcastInterface.h Broadcast refactor (#4264) 2018-07-24 22:30:49 +01:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
ChunkInterface.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
ChunkInterface.h cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) 2017-11-20 11:13:11 +00:00
ClearMetaOnDrop.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
GetHandlerCompileTimeTemplate.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
MetaRotator.h Clang 5.0 fixes 2017-05-21 12:19:06 +02:00
WorldInterface.h Experience orb (#4259) 2018-08-02 15:59:10 +01:00