set default waterlogged state to false for WaterLoggableBlockWithEntity
This commit is contained in:
parent
ff044762be
commit
5dcccdd571
2 changed files with 2 additions and 1 deletions
|
@ -219,7 +219,7 @@ test {
|
|||
//useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.test.doFirst {Test test ->
|
||||
tasks.test.doFirst {test ->
|
||||
if (!test.workingDir.exists()) {
|
||||
test.workingDir.mkdirs();
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@ public abstract class WaterLoggableBlockWithEntity extends BlockWithEntity imple
|
|||
public static final BooleanProperty WATERLOGGED = Properties.WATERLOGGED;
|
||||
protected WaterLoggableBlockWithEntity(Settings settings) {
|
||||
super(settings);
|
||||
setDefaultState(this.getStateManager().getDefaultState().with(WATERLOGGED, false));
|
||||
}
|
||||
@Override
|
||||
protected void appendProperties(StateManager.Builder<Block, BlockState> builder) {
|
||||
|
|
Loading…
Reference in a new issue