1
0

Add mixins for blocks that rotate based on player yaw at placement

Also add observer block handler.
This commit is contained in:
Alexander Harkness
2020-04-08 21:35:08 +01:00
parent 458d7f95c2
commit f40aba941e
22 changed files with 202 additions and 413 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include "BlockHandler.h"
#include "Mixins.h"
class cBlockObserverHandler:
public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>
{
using super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>;
public:
cBlockObserverHandler(BLOCKTYPE a_BlockType) : super(a_BlockType)
{
}
};