TU43 Structures, bug fixes & minor changes
- Elytra flight, damage, kinetic energy, pretty much any bug someone reported, paper doll, etc. - Fossil & Igloo generation - Texture interpolation - Iggy mouse fix for world settings - Neo branding on main screen - Release build txt logger - Debug mode spectator - Several server fixes - Flowerpot fixes - Several more changes made in TU43
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "Tile.h"
|
||||
#include "BaseEntityTile.h"
|
||||
|
||||
class FlowerPotTile : public Tile
|
||||
class FlowerPotTile : public BaseEntityTile
|
||||
{
|
||||
public:
|
||||
static const int TYPE_FLOWER_RED = 1;
|
||||
@@ -16,8 +16,13 @@ public:
|
||||
static const int TYPE_CACTUS = 9;
|
||||
static const int TYPE_DEAD_BUSH = 10;
|
||||
static const int TYPE_FERN = 11;
|
||||
static const int TYPE_FLOWER_BLUE_ORCHID = 12;
|
||||
static const int TYPE_FLOWER_ALLIUM = 13;
|
||||
static const int TYPE_FLOWER_AZURE_BLUET = 14;
|
||||
static const int TYPE_FLOWER_OXEYE_DAISY = 15;
|
||||
|
||||
FlowerPotTile(int id);
|
||||
shared_ptr<TileEntity> newTileEntity(Level *level);
|
||||
virtual void createBlockStateDefinition() override;
|
||||
virtual int defaultBlockState() override;
|
||||
virtual int convertBlockStateToLegacyData(BlockState *state) override;
|
||||
@@ -34,6 +39,7 @@ public:
|
||||
bool useOwnCloneData();
|
||||
bool mayPlace(Level *level, int x, int y, int z);
|
||||
void neighborChanged(Level *level, int x, int y, int z, int type);
|
||||
void onRemove(Level *level, int x, int y, int z, int id, int data);
|
||||
using Tile::spawnResources;
|
||||
void spawnResources(Level *level, int x, int y, int z, int data, float odds, int playerBonusLevel);
|
||||
int getResource(int data, Random *random, int playerBonusLevel);
|
||||
|
||||
Reference in New Issue
Block a user