A whole lot of formatting cleanup
Also changes NBTHolder to a standard Constants class with subclasses for each category
This commit is contained in:
parent
f9802900db
commit
34dee6447b
74 changed files with 861 additions and 662 deletions
|
@ -27,10 +27,10 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* Creates a block that has multiple meta-based states.
|
||||
*
|
||||
* <p/>
|
||||
* These states will be named after the given string array. Somewhere along the way, each
|
||||
* value is {@code toLowerCase()}'ed, so the blockstate JSON needs all values to be lowercase.
|
||||
*
|
||||
* <p/>
|
||||
* For {@link net.minecraft.tileentity.TileEntity}'s, use {@link BlockStringContainer}.
|
||||
*/
|
||||
@Getter
|
||||
|
@ -109,6 +109,6 @@ public class BlockString extends Block {
|
|||
}
|
||||
|
||||
private BlockState createRealBlockState() {
|
||||
return new ExtendedBlockState(this, new IProperty[] { stringProp }, new IUnlistedProperty[] { unlistedStringProp });
|
||||
return new ExtendedBlockState(this, new IProperty[]{stringProp}, new IUnlistedProperty[]{unlistedStringProp});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue