1
0
Fork 0
cuberite-2a/src/Blocks
12xx12 c080f819d2
Adding Silverfish Spawning Blocks (#4946)
* added breaking, spawning, animation

* checkstyle

* added undocumented API symbols

* added changes suggested by @peterbell10

* added natural ore like generation

* fixed spawning two silverfishes

* fixed clang

* fixed clang try 2

* updated comment
unified offset

* final clang fix

* added spawning for more silverfishes if one was damaged

* fixed spawning on one hit kill

* fixed spawning on one hit kill
fixed spawning by potion damage

* fixed clang

* fixed broken build

* fixed broken build

* I should read the error message properly
fixed build now?

* added small changes suggested by @peterbell10

Co-authored-by: 12xx12 <12xx12100@gmail.com>
2020-10-11 15:27:41 +00:00
..
BlockAir.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockAnvil.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockBed.cpp Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockBed.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockBigFlower.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockBookShelf.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockBrewingStand.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockButton.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCactus.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCake.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockCarpet.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCauldron.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockChest.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCloth.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCobWeb.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCocoaPod.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCommandBlock.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockComparator.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockConcretePowder.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockCrops.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockDeadBush.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockDefaultBlock.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockDirt.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockDoor.cpp Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockDoor.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockDropSpenser.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockEnchantingTable.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockEndPortalFrame.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockEnderchest.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockEntity.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFarmland.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFence.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockFenceGate.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFire.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFlower.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFlowerPot.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFluid.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockFurnace.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockGlass.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockGlazedTerracotta.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockGlowstone.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockGrass.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockGravel.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockHandler.cpp Adding Silverfish Spawning Blocks (#4946) 2020-10-11 15:27:41 +00:00
BlockHandler.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockHopper.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockIce.h added check if the digger is a nullptr (#4981) 2020-10-09 20:12:19 +00:00
BlockInfested.h Adding Silverfish Spawning Blocks (#4946) 2020-10-11 15:27:41 +00:00
BlockJukebox.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockLadder.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockLeaves.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockLever.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockLilypad.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockMelon.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockMobHead.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockMobSpawner.h added check if the digger is a nullptr (#4981) 2020-10-09 20:12:19 +00:00
BlockMushroom.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockMycelium.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockNetherWart.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockNetherrack.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockObserver.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockOre.h added check if the digger is a nullptr (#4981) 2020-10-09 20:12:19 +00:00
BlockPackedIce.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockPiston.cpp Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockPiston.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockPlanks.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockPlant.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockPluginInterface.h Refactored block-to-pickup conversion. (#4417) 2019-10-16 10:06:34 +02:00
BlockPortal.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockPressurePlate.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockPumpkin.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockQuartz.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockRail.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
BlockRedstone.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockRedstoneLamp.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockRedstoneOre.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockRedstoneRepeater.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSand.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSapling.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSeaLantern.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSideways.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSignPost.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSlab.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSlime.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSnow.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSponge.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockStairs.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockStems.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockStone.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockSugarcane.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockTNT.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockTallGrass.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockTorch.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockTrapdoor.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockTripwire.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockTripwireHook.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockVine.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockWallSign.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BlockWorkbench.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
BroadcastInterface.h Improve entity position updates (#4701) 2020-05-04 08:10:47 +00:00
CMakeLists.txt Adding Silverfish Spawning Blocks (#4946) 2020-10-11 15:27:41 +00:00
ChunkInterface.cpp Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
ChunkInterface.h Merged OnBreak with OnPlayerBreak (#4967) 2020-10-08 20:13:44 +01:00
GetHandlerCompileTimeTemplate.h CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
Mixins.h Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00:00
WorldInterface.h Vector3 in Handlers (#4680) 2020-04-21 22:19:22 +02:00