FabricBlockSettings
instead@Deprecated public class FabricBlockSettings extends Object
Modifier and Type | Field and Description |
---|---|
protected FabricBlockSettings |
delegate
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
FabricBlockSettings(net.minecraft.block.AbstractBlock.Settings delegate)
Deprecated.
|
protected |
FabricBlockSettings(net.minecraft.block.Block base)
Deprecated.
|
protected |
FabricBlockSettings(net.minecraft.block.Material material,
net.minecraft.block.MaterialColor color)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FabricBlockSettings |
breakByHand(boolean breakByHand)
Deprecated.
Makes the block breakable by any tool if
breakByHand is set to true. |
FabricBlockSettings |
breakByTool(net.minecraft.tag.Tag<net.minecraft.item.Item> tag)
Deprecated.
Please make the block require a tool if you plan to disable drops and slow the breaking down using the
incorrect tool by using
FabricBlockSettings.requiresTool() . |
FabricBlockSettings |
breakByTool(net.minecraft.tag.Tag<net.minecraft.item.Item> tag,
int miningLevel)
Deprecated.
Please make the block require a tool if you plan to disable drops and slow the breaking down using the
incorrect tool by using
FabricBlockSettings.requiresTool() . |
FabricBlockSettings |
breakInstantly()
Deprecated.
|
net.minecraft.block.AbstractBlock.Settings |
build()
Deprecated.
|
<T> T |
build(Function<net.minecraft.block.AbstractBlock.Settings,T> function)
Deprecated.
|
FabricBlockSettings |
collidable(boolean collidable)
Deprecated.
|
static FabricBlockSettings |
copy(net.minecraft.block.Block base)
Deprecated.
|
static FabricBlockSettings |
copyOf(net.minecraft.block.AbstractBlock.Settings settings)
Deprecated.
|
FabricBlockSettings |
drops(net.minecraft.util.Identifier dropTableId)
Deprecated.
|
FabricBlockSettings |
dropsLike(net.minecraft.block.Block block)
Deprecated.
|
FabricBlockSettings |
dropsNothing()
Deprecated.
|
FabricBlockSettings |
dynamicBounds()
Deprecated.
|
FabricBlockSettings |
friction(float friction)
Deprecated.
|
FabricBlockSettings |
hardness(float hardness)
Deprecated.
|
FabricBlockSettings |
lightLevel(int lightLevel)
Deprecated.
|
FabricBlockSettings |
materialColor(net.minecraft.util.DyeColor color)
Deprecated.
|
FabricBlockSettings |
materialColor(net.minecraft.block.MaterialColor color)
Deprecated.
|
FabricBlockSettings |
noCollision()
Deprecated.
|
FabricBlockSettings |
nonOpaque()
Deprecated.
|
static FabricBlockSettings |
of(net.minecraft.block.Material material)
Deprecated.
|
static FabricBlockSettings |
of(net.minecraft.block.Material material,
net.minecraft.util.DyeColor color)
Deprecated.
|
static FabricBlockSettings |
of(net.minecraft.block.Material material,
net.minecraft.block.MaterialColor color)
Deprecated.
|
FabricBlockSettings |
resistance(float resistance)
Deprecated.
|
FabricBlockSettings |
slipperiness(float value)
Deprecated.
|
FabricBlockSettings |
sounds(net.minecraft.sound.BlockSoundGroup group)
Deprecated.
|
FabricBlockSettings |
strength(float hardness,
float resistance)
Deprecated.
|
FabricBlockSettings |
ticksRandomly()
Deprecated.
|
protected final FabricBlockSettings delegate
protected FabricBlockSettings(net.minecraft.block.Material material, net.minecraft.block.MaterialColor color)
protected FabricBlockSettings(net.minecraft.block.Block base)
protected FabricBlockSettings(net.minecraft.block.AbstractBlock.Settings delegate)
public static FabricBlockSettings of(net.minecraft.block.Material material)
public static FabricBlockSettings of(net.minecraft.block.Material material, net.minecraft.block.MaterialColor color)
public static FabricBlockSettings of(net.minecraft.block.Material material, net.minecraft.util.DyeColor color)
public static FabricBlockSettings copy(net.minecraft.block.Block base)
public static FabricBlockSettings copyOf(net.minecraft.block.AbstractBlock.Settings settings)
public FabricBlockSettings breakByHand(boolean breakByHand)
breakByHand
is set to true.public FabricBlockSettings breakByTool(net.minecraft.tag.Tag<net.minecraft.item.Item> tag, int miningLevel)
FabricBlockSettings.requiresTool()
.public FabricBlockSettings breakByTool(net.minecraft.tag.Tag<net.minecraft.item.Item> tag)
FabricBlockSettings.requiresTool()
.public FabricBlockSettings materialColor(net.minecraft.block.MaterialColor color)
public FabricBlockSettings materialColor(net.minecraft.util.DyeColor color)
public FabricBlockSettings collidable(boolean collidable)
public FabricBlockSettings noCollision()
public FabricBlockSettings nonOpaque()
public FabricBlockSettings sounds(net.minecraft.sound.BlockSoundGroup group)
public FabricBlockSettings ticksRandomly()
public FabricBlockSettings lightLevel(int lightLevel)
public FabricBlockSettings hardness(float hardness)
public FabricBlockSettings resistance(float resistance)
public FabricBlockSettings strength(float hardness, float resistance)
public FabricBlockSettings breakInstantly()
public FabricBlockSettings dropsNothing()
public FabricBlockSettings dropsLike(net.minecraft.block.Block block)
public FabricBlockSettings drops(net.minecraft.util.Identifier dropTableId)
@Deprecated public FabricBlockSettings friction(float friction)
public FabricBlockSettings slipperiness(float value)
public FabricBlockSettings dynamicBounds()
public net.minecraft.block.AbstractBlock.Settings build()
public <T> T build(Function<net.minecraft.block.AbstractBlock.Settings,T> function)