Package net.fabricmc.fabric.api.block
Class FabricBlockSettings
java.lang.Object
net.fabricmc.fabric.api.block.FabricBlockSettings
@Deprecated public class FabricBlockSettings extends Object
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description protected FabricBlockSettings
delegate
Deprecated. -
Constructor Summary
Constructors Modifier Constructor 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. -
Method Summary
Modifier and Type Method Description FabricBlockSettings
breakByHand(boolean breakByHand)
Deprecated.Makes the block breakable by any tool ifbreakByHand
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 usingFabricBlockSettings.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 usingFabricBlockSettings.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.block.MaterialColor color)
Deprecated.FabricBlockSettings
materialColor(net.minecraft.util.DyeColor 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.block.MaterialColor color)
Deprecated.static FabricBlockSettings
of(net.minecraft.block.Material material, net.minecraft.util.DyeColor 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.
-
Field Details
-
delegate
Deprecated.
-
-
Constructor Details
-
FabricBlockSettings
protected FabricBlockSettings(net.minecraft.block.Material material, net.minecraft.block.MaterialColor color)Deprecated. -
FabricBlockSettings
protected FabricBlockSettings(net.minecraft.block.Block base)Deprecated. -
FabricBlockSettings
protected FabricBlockSettings(net.minecraft.block.AbstractBlock.Settings delegate)Deprecated.
-
-
Method Details
-
of
Deprecated. -
of
public static FabricBlockSettings of(net.minecraft.block.Material material, net.minecraft.block.MaterialColor color)Deprecated. -
of
public static FabricBlockSettings of(net.minecraft.block.Material material, net.minecraft.util.DyeColor color)Deprecated. -
copy
Deprecated. -
copyOf
Deprecated. -
breakByHand
Deprecated.Makes the block breakable by any tool ifbreakByHand
is set to true. -
breakByTool
public 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 usingFabricBlockSettings.requiresTool()
. -
breakByTool
Deprecated.Please make the block require a tool if you plan to disable drops and slow the breaking down using the incorrect tool by usingFabricBlockSettings.requiresTool()
. -
materialColor
Deprecated. -
materialColor
Deprecated. -
collidable
Deprecated. -
noCollision
Deprecated. -
nonOpaque
Deprecated. -
sounds
Deprecated. -
ticksRandomly
Deprecated. -
lightLevel
Deprecated. -
hardness
Deprecated. -
resistance
Deprecated. -
strength
Deprecated. -
breakInstantly
Deprecated. -
dropsNothing
Deprecated. -
dropsLike
Deprecated. -
drops
Deprecated. -
friction
Deprecated. -
slipperiness
Deprecated. -
dynamicBounds
Deprecated. -
build
public net.minecraft.block.AbstractBlock.Settings build()Deprecated. -
build
Deprecated.
-
FabricBlockSettings
instead