forked from virt-mirrors/Sit
22 lines
580 B
Java
22 lines
580 B
Java
![]() |
package one.oth3r.sit.file;
|
||
|
|
||
|
import com.google.gson.annotations.SerializedName;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
|
||
|
public class SittingBlock extends CustomBlock {
|
||
|
@SerializedName("sitting-height")
|
||
|
private Double sittingHeight = 0.5;
|
||
|
|
||
|
public Double getSittingHeight() {
|
||
|
return sittingHeight;
|
||
|
}
|
||
|
|
||
|
public SittingBlock() {}
|
||
|
|
||
|
public SittingBlock(ArrayList<String> blockIds, ArrayList<String> blockTags, ArrayList<String> blockStates, Double sittingHeight) {
|
||
|
super(blockIds, blockTags, blockStates);
|
||
|
this.sittingHeight = sittingHeight;
|
||
|
}
|
||
|
}
|