mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Add support for adding/removing item to gas conversions via crafttweaker
also run formatter to fix spacing/ensure import order is correct
This commit is contained in:
20 files changed
+398
-104
No files matched your search
@@ -60,7 +60,7 @@ public class BlockStateBasic extends ExtendedBlockState {
|
||||
|
||||
public PropertyEnum<BasicBlockType> getProperty() {
|
||||
if (predicatedProperty == null) {
|
||||
predicatedProperty = PropertyEnum.create("type", BasicBlockType.class, it->Objects.requireNonNull(it).blockType==this);
|
||||
predicatedProperty = PropertyEnum.create("type", BasicBlockType.class, it -> Objects.requireNonNull(it).blockType == this);
|
||||
}
|
||||
return predicatedProperty;
|
||||
}
|
||||
@@ -125,11 +125,11 @@ public class BlockStateBasic extends ExtendedBlockState {
|
||||
|
||||
BasicBlockType(@Nonnull BasicBlock block, int metadata, String s, Supplier<TileEntity> tileClass, boolean hasDesc, Predicate<EnumFacing> facingAllowed,
|
||||
boolean activeState, boolean t, boolean beaconBase, boolean hasRedstoneOutput) {
|
||||
this(block, metadata, s, tileClass, hasDesc, facingAllowed, activeState, t, beaconBase, hasRedstoneOutput, false);
|
||||
this(block, metadata, s, tileClass, hasDesc, facingAllowed, activeState, t, beaconBase, hasRedstoneOutput, false);
|
||||
}
|
||||
|
||||
|
||||
BasicBlockType(@Nonnull BasicBlock block, int metadata, String s, Supplier<TileEntity> tileClass, boolean hasDesc, Predicate<EnumFacing> facingAllowed,
|
||||
boolean activeState, boolean t, boolean beaconBase, boolean hasRedstoneOutput, boolean fullBlock) {
|
||||
boolean activeState, boolean t, boolean beaconBase, boolean hasRedstoneOutput, boolean fullBlock) {
|
||||
blockType = block;
|
||||
meta = metadata;
|
||||
name = s;
|
||||
|
||||
Reference in new issue
Block a user