示例#1
0
文件: Rail.java 项目: hapm/Vanilla
 @Override
 public RailsState getState(Block block) {
   return RailsState.get(block.getData());
 }
示例#2
0
文件: Rail.java 项目: hapm/Vanilla
 @Override
 public void setState(Block block, RailsState state) {
   block.setData(state.getData());
 }