Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockProperty.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5enum class BlockProperty : uint64 {
6 // bitfield representation
7 None = 0,
8 Stair = 1ull << 0,
9 HalfSlab = 1ull << 1,
10 Hopper = 1ull << 2,
11 TopSnow = 1ull << 3,
12 FenceGate = 1ull << 4,
13 Leaves = 1ull << 5,
14 Connects2D = 1ull << 6,
15 Carpet = 1ull << 7,
16 Button = 1ull << 8,
17 Door = 1ull << 9,
18 Portal = 1ull << 10,
19 CanFall = 1ull << 11,
20 Snow = 1ull << 12,
21 Trapdoor = 1ull << 13,
22 Sign = 1ull << 14,
23 Walkable = 1ull << 15,
24 PressurePlate = 1ull << 16,
25 TopSolidBlocking = 1ull << 17,
26 CubeShaped = 1ull << 18,
27 Piston = 1ull << 19,
28 InfiniBurn = 1ull << 20,
29 RequiresWorldBuilder = 1ull << 21,
30 CausesDamage = 1ull << 22,
31 BreaksWhenFallenOnByFallingBlock = 1ull << 23,
32 Liquid = 1ull << 24,
33 Scaffolding = 1ull << 25,
34 CanSupportCenterHangingBlock = 1ull << 26,
35 Unwalkable = 1ull << 27,
36 Hollow = 1ull << 28,
37 OperatorBlock = 1ull << 29,
38 PreventsJumping = 1ull << 30,
39 ContainsHoney = 1ull << 31,
40 Slime = 1ull << 32,
41 Climbable = 1ull << 33,
42 CanHaltWhenClimbing = 1ull << 34,
43 CanDamperVibrations = 1ull << 35,
44 CanOccludeVibrations = 1ull << 36,
45 LegacyComparatorReadThrough = 1ull << 37,
46 HasAlignedPlacement = 1ull << 38,
47};
Definition Hopper.h:17
Definition Slime.h:21