mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-26 21:26:38 +01:00
Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com> Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4205
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);
|
|
}; |