Created
August 19, 2016 03:06
-
-
Save StillManic/6793beae64f1ab70fa58ba3eaa8ae649 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BlockInfo { | |
public final BlockPos pos; | |
public final IBlockState state; | |
public final NBTTagCompound tileData; | |
public BlockInfo(BlockPos pos, IBlockState state, NBTTagCompound tileData) { | |
this.pos = pos; //relative block position | |
this.state = state; //blockstate at pos | |
this.tileData = tileData; //this is null for most blocks | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment