1
0
Fork 0
cuberite-2a/src/Items
KingCol13 1d1fa91401
Chorus fruit teleport (#5259)
* Outline function for teleporting.

* Created new handler for chorus fruit.

* Fixed AttemptTeleport failing.

* Better names, working sound effect.

* Corrected naming.

* Remove stray LOGD.

* Offset teleport to middle of block.

* Style Fixes

Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>

* Style Fixes 2

Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>

* Move FindTeleportDestination to static cPawn method.

* cBoundingBox interface.

* Cleanup includes.

* Maybe exported to API?

* Change a_World to reference, add to APIDesc.

Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
2021-07-10 20:05:00 +00:00
..
CMakeLists.txt Chorus fruit teleport (#5259) 2021-07-10 20:05:00 +00:00
ItemAnvil.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemArmor.h Basic elytra flight (#5124) 2021-04-03 18:45:20 +01:00
ItemAxe.h Using Super. 2020-04-16 20:07:48 +00:00
ItemBanner.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemBed.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemBigFlower.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemBoat.h Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) 2020-05-08 10:04:07 +01:00
ItemBottle.h Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) 2020-05-08 10:04:07 +01:00
ItemBow.h Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
ItemBucket.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemButton.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemChest.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemChorusFruit.h Chorus fruit teleport (#5259) 2021-07-10 20:05:00 +00:00
ItemCloth.h Moved source to src 2013-11-24 14:19:41 +00:00
ItemComparator.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemCookedFish.h Using Super. 2020-04-16 20:07:48 +00:00
ItemDoor.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemDropSpenser.h Re-implement up/down placement metadata (#5219) 2021-05-14 10:42:08 +01:00
ItemDye.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemEmptyMap.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemEnchantingTable.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemEndCrystal.h End crystal placement (#5112) 2021-01-22 17:06:26 +00:00
ItemEndPortalFrame.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemEnderchest.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemEyeOfEnder.h Added end portal and enchanting table block entities 2020-09-20 01:40:20 +01:00
ItemFenceGate.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemFishingRod.h Add player statistics to API (#5193) 2021-05-03 21:07:09 +01:00
ItemFood.h Using Super. 2020-04-16 20:07:48 +00:00
ItemFoodSeeds.h Using Super. 2020-04-16 20:07:48 +00:00
ItemFurnace.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemGlazedTerracotta.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemGoldenApple.h Using Super. 2020-04-16 20:07:48 +00:00
ItemHandler.cpp Chorus fruit teleport (#5259) 2021-07-10 20:05:00 +00:00
ItemHandler.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemHoe.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemHopper.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemItemFrame.h Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
ItemJackOLantern.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemLadder.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemLeaves.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemLever.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemLighter.h Lighters: don't activate TNT when crouched 2021-06-28 21:54:21 +01:00
ItemLilypad.h Lilypads: add missing boundary check 2020-11-28 20:48:53 +00:00
ItemMap.h Added override specifiers to overridden functions. 2021-04-12 14:09:52 +01:00
ItemMilk.h Using Super. 2020-04-16 20:07:48 +00:00
ItemMinecart.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemMobHead.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemNetherWart.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemObserver.h Re-implement up/down placement metadata (#5219) 2021-05-14 10:42:08 +01:00
ItemPainting.h Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
ItemPickaxe.h Using Super. 2020-04-16 20:07:48 +00:00
ItemPiston.h Re-implement up/down placement metadata (#5219) 2021-05-14 10:42:08 +01:00
ItemPlanks.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemPoisonousPotato.h Using Super. 2020-04-16 20:07:48 +00:00
ItemPotion.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemPumpkin.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemQuartz.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemRail.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemRawChicken.h Using Super. 2020-04-16 20:07:48 +00:00
ItemRawFish.h Using Super. 2020-04-16 20:07:48 +00:00
ItemRedstoneDust.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemRedstoneRepeater.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemRottenFlesh.h Using Super. 2020-04-16 20:07:48 +00:00
ItemSapling.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemSeeds.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemShears.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemShovel.h Using Super. 2020-04-16 20:07:48 +00:00
ItemSideways.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemSign.h Item frame maps (#5258) 2021-07-09 18:45:53 +01:00
ItemSlab.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemSnow.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemSoup.h Using Super. 2020-04-16 20:07:48 +00:00
ItemSpawnEgg.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemSpiderEye.h Using Super. 2020-04-16 20:07:48 +00:00
ItemStairs.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemSword.h Using Super. 2020-04-16 20:07:48 +00:00
ItemThrowable.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00
ItemTorch.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemTrapdoor.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemTripwireHook.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
ItemVine.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00
SimplePlaceableItemHandler.h Move item placement into item handlers (#5184) 2021-05-05 13:25:10 +00:00