aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/TheEndPortal_SPU.h
blob: f6e3b3e7664cc56b3d3c68968646b7c9c98a0ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include "EntityTile_SPU.h"

class TheEndPortal_SPU : public EntityTile_SPU
{
public:
	TheEndPortal_SPU(int id) : EntityTile_SPU(id) {}

//     virtual void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, shared_ptr<TileEntity> forceEntity = shared_ptr<TileEntity>());	// 4J added forceData, forceEntity param
    virtual bool shouldRenderFace(ChunkRebuildData *level, int x, int y, int z, int face)
	{
		if (face != 0) return false;
		return EntityTile_SPU::shouldRenderFace(level, x, y, z, face);
	}
    virtual bool isSolidRender(bool isServerLevel = false) { return false; }
    virtual int getRenderShape() { return SHAPE_INVISIBLE; }
};