summaryrefslogtreecommitdiff
path: root/src/main/java/jp/plusplus/fbs/tileentity/TileEntityHavestableGrass.java
blob: ebb62fa110f60430b6b9c25a592c2b2b8241bf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package jp.plusplus.fbs.tileentity;

import net.minecraft.block.BlockSapling;

/**
 * Created by plusplus_F on 2016/02/23.
 */
public class TileEntityHavestableGrass extends TileEntityHavestable {
    public TileEntityHavestableGrass(){

    }
    public TileEntityHavestableGrass(int ageMax, int meta) {
        super(ageMax, meta);
    }

    @Override
    public boolean canGlow(){
        return worldObj.getBlockLightValue(xCoord, yCoord+1, zCoord)>=9;
        //return worldObj.is;
    }
}