Java Code Examples for net.minecraft.block.Block#Settings
The following examples show how to use
net.minecraft.block.Block#Settings .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UnlitWallTorchBlock.java From Galacticraft-Rewoven with MIT License | 4 votes |
public UnlitWallTorchBlock(Block.Settings settings) { super(settings, null); }
Example 2
Source File: GlowstoneWallTorchBlock.java From Galacticraft-Rewoven with MIT License | 4 votes |
public GlowstoneWallTorchBlock(Block.Settings settings) { super(settings, null); }
Example 3
Source File: RestlessCactusBlock.java From the-hallow with MIT License | 4 votes |
public RestlessCactusBlock(Block.Settings settings) { super(settings); this.setDefaultState(this.stateManager.getDefaultState().with(AGE, 0)); }
Example 4
Source File: InfusionPillarBlock.java From the-hallow with MIT License | 4 votes |
public InfusionPillarBlock(Block.Settings settings) { super(settings); }
Example 5
Source File: CoarseTaintedSandBlock.java From the-hallow with MIT License | 4 votes |
public CoarseTaintedSandBlock(Block.Settings settings) { super(settings); }
Example 6
Source File: InfusionAltarBlock.java From the-hallow with MIT License | 4 votes |
public InfusionAltarBlock(Block.Settings settings) { super(settings); }
Example 7
Source File: DeaderBushBlock.java From the-hallow with MIT License | 4 votes |
public DeaderBushBlock(Block.Settings settings) { super(settings); }
Example 8
Source File: DeceasedGrassBlock.java From the-hallow with MIT License | 4 votes |
public DeceasedGrassBlock(Block.Settings settings) { super(settings); }
Example 9
Source File: PatchworkBlockSettings.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public static Block.Settings lightLevel(Block.Settings settings, int level) { return FabricBlockSettings.copyOf(settings).lightLevel(level).build(); }
Example 10
Source File: PatchworkBlockSettings.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public static Block.Settings breakInstantly(Block.Settings settings) { return settings.strength(0.0F, 0.0F); }
Example 11
Source File: PatchworkBlockSettings.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public static Block.Settings ticksRandomly(Block.Settings settings) { return FabricBlockSettings.copyOf(settings).ticksRandomly().build(); }
Example 12
Source File: PatchworkBlockSettings.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public static Block.Settings hasDynamicBounds(Block.Settings settings) { return FabricBlockSettings.copyOf(settings).dynamicBounds().build(); }
Example 13
Source File: PatchworkBlockSettings.java From patchwork-api with GNU Lesser General Public License v2.1 | 4 votes |
public static Block.Settings dropsNothing(Block.Settings settings) { return FabricBlockSettings.copyOf(settings).dropsNothing().build(); }
Example 14
Source File: RedstoneWireBlockMixin.java From fabric-carpet with MIT License | 4 votes |
@Inject(method = "<init>", at = @At("RETURN")) private void onRedstoneWireBlockCTOR(Block.Settings settings, CallbackInfo ci) { //noinspection ConstantConditions wireTurbo = new RedstoneWireTurbo((RedstoneWireBlock) (Object) this); }
Example 15
Source File: MixinBlock.java From Sandbox with GNU Lesser General Public License v3.0 | votes |
@Shadow protected abstract Block.Settings lightLevel(int i);