1
0
cuberite-2a/src/Items/CMakeLists.txt
Tiger Wang a62b2b1be2
Move item placement into item handlers (#5184)
* Move item placement into item handlers

+ Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call.
* Partly addresses #5157
* Fixes #4878
* Fixes #2919
* Fixes #4629
* Fixes #4239
* Fixes #4849

Co-authored-by: changyong guo <guo1487@163.com>
Co-authored-by: Xotheus <shady3300@outlook.com>
Co-authored-by: Krist Pregracke <krist@tiger-scm.com>

* Review fixes

* Update APIDesc.lua

* Rename

Co-authored-by: changyong guo <guo1487@163.com>
Co-authored-by: Xotheus <shady3300@outlook.com>
Co-authored-by: Krist Pregracke <krist@tiger-scm.com>
2021-05-05 13:25:10 +00:00

87 lines
1.3 KiB
CMake

target_sources(
${CMAKE_PROJECT_NAME} PRIVATE
ItemHandler.cpp
ItemAnvil.h
ItemArmor.h
ItemAxe.h
ItemBanner.h
ItemBed.h
ItemBigFlower.h
ItemBoat.h
ItemBottle.h
ItemBow.h
ItemBucket.h
ItemButton.h
ItemChest.h
ItemCloth.h
ItemComparator.h
ItemCookedFish.h
ItemDoor.h
ItemDropSpenser.h
ItemDye.h
ItemEmptyMap.h
ItemEnchantingTable.h
ItemEndCrystal.h
ItemEndPortalFrame.h
ItemEnderchest.h
ItemEyeOfEnder.h
ItemFenceGate.h
ItemFishingRod.h
ItemFood.h
ItemFoodSeeds.h
ItemFurnace.h
ItemGlazedTerracotta.h
ItemGoldenApple.h
ItemHandler.h
ItemHoe.h
ItemHopper.h
ItemItemFrame.h
ItemJackOLantern.h
ItemLadder.h
ItemLeaves.h
ItemLever.h
ItemLighter.h
ItemLilypad.h
ItemMap.h
ItemMilk.h
ItemMinecart.h
ItemMobHead.h
ItemNetherWart.h
ItemObserver.h
ItemPainting.h
ItemPickaxe.h
ItemPiston.h
ItemPlanks.h
ItemPoisonousPotato.h
ItemPotion.h
ItemPumpkin.h
ItemQuartz.h
ItemRail.h
ItemRawChicken.h
ItemRawFish.h
ItemRedstoneDust.h
ItemRedstoneRepeater.h
ItemRottenFlesh.h
ItemSapling.h
ItemSeeds.h
ItemShears.h
ItemShovel.h
ItemSideways.h
ItemSign.h
ItemSlab.h
ItemSnow.h
ItemSoup.h
ItemSpawnEgg.h
ItemSpiderEye.h
ItemStairs.h
ItemSword.h
ItemThrowable.h
ItemTorch.h
ItemTrapdoor.h
ItemTripwireHook.h
ItemVine.h
SimplePlaceableItemHandler.h
)