mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-21 17:23:56 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
24 lines
654 B
C++
24 lines
654 B
C++
#pragma once
|
|
|
|
#include "RotatedPillarTile.h"
|
|
|
|
class HayBlockTile : public RotatedPillarTile
|
|
{
|
|
friend class ChunkRebuildData;
|
|
public:
|
|
HayBlockTile(int id);
|
|
|
|
int getRenderShape();
|
|
virtual void createBlockStateDefinition() override;
|
|
virtual int defaultBlockState() override;
|
|
virtual int convertBlockStateToLegacyData(BlockState *state) override;
|
|
virtual Tile::BlockState getBlockState(LevelSource *level, int x, int y, int z) override;
|
|
virtual Tile::BlockState getBlockState(int data);
|
|
virtual float getFallDamageMultiplier() { return 0.2f; }
|
|
|
|
protected:
|
|
Icon *getTypeTexture(int type);
|
|
|
|
public:
|
|
void registerIcons(IconRegister *iconRegister);
|
|
}; |