mirror of
https://github.com/Minecraft-Community-Edition/client.git
synced 2026-05-23 17:44:34 +00:00
reimplement aether stuff from personal repo
This commit is contained in:
16
Minecraft.World/AetherBushTile.cpp
Normal file
16
Minecraft.World/AetherBushTile.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "stdafx.h"
|
||||
#include "AetherBushTile.h"
|
||||
#include "net.minecraft.world.level.h"
|
||||
|
||||
AetherBushTile::AetherBushTile(int id) : Bush(id)
|
||||
{
|
||||
}
|
||||
|
||||
AetherBushTile::AetherBushTile(int id, Material *material) : Bush(id, material)
|
||||
{
|
||||
}
|
||||
|
||||
bool AetherBushTile::mayPlaceOn(int tile)
|
||||
{
|
||||
return tile == Tile::aetherGrass_Id || tile == Tile::aetherDirt_Id;
|
||||
}
|
||||
Reference in New Issue
Block a user