Added features from TU25
Acacia and Dark Oak Logs, Planks and Stairs. Fences, Fence Gates and Doors for Spruce/Birch/Jungle/Acacia/Dark Oak. Iron Trapdoors and Inverted Daylight Sensor.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "FenceGateTile.h"
|
||||
#include "AABB.h"
|
||||
#include "net.minecraft.world.level.h"
|
||||
#include "net.minecraft.world.h"
|
||||
#include "net.minecraft.h"
|
||||
#include "LevelEvent.h"
|
||||
|
||||
@@ -11,7 +12,7 @@ FenceGateTile::FenceGateTile(int id) : DirectionalTile(id, Material::wood, isSol
|
||||
|
||||
Icon *FenceGateTile::getTexture(int face, int data)
|
||||
{
|
||||
return Tile::wood->getTexture(face);
|
||||
return icon;
|
||||
}
|
||||
|
||||
bool FenceGateTile::mayPlace(Level *level, int x, int y, int z)
|
||||
@@ -139,7 +140,7 @@ bool FenceGateTile::isOpen(int data)
|
||||
|
||||
void FenceGateTile::registerIcons(IconRegister *iconRegister)
|
||||
{
|
||||
// None
|
||||
icon = iconRegister->registerIcon(getIconName());
|
||||
}
|
||||
|
||||
bool FenceGateTile::shouldRenderFace(LevelSource *level, int x, int y, int z, int face)
|
||||
|
||||
Reference in New Issue
Block a user