Package net.fabricmc.fabric.api.block
Class FabricBlockSettings
java.lang.Object
net.fabricmc.fabric.api.block.FabricBlockSettings
Deprecated.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
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 TypeMethodDescriptionbreakByHand(boolean breakByHand)
Deprecated.Makes the block breakable by any tool ifbreakByHand
is set to true.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()
.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()
.Deprecated.net.minecraft.block.AbstractBlock.Settings
build()
Deprecated.<T> T
Deprecated.collidable(boolean collidable)
Deprecated.static FabricBlockSettings
copy(net.minecraft.block.Block base)
Deprecated.static FabricBlockSettings
copyOf(net.minecraft.block.AbstractBlock.Settings settings)
Deprecated.drops(net.minecraft.util.Identifier dropTableId)
Deprecated.dropsLike(net.minecraft.block.Block block)
Deprecated.Deprecated.Deprecated.friction(float friction)
Deprecated.hardness(float hardness)
Deprecated.lightLevel(int lightLevel)
Deprecated.materialColor(net.minecraft.block.MaterialColor color)
Deprecated.materialColor(net.minecraft.util.DyeColor color)
Deprecated.Deprecated.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.resistance(float resistance)
Deprecated.slipperiness(float value)
Deprecated.sounds(net.minecraft.sound.BlockSoundGroup group)
Deprecated.strength(float hardness, float resistance)
Deprecated.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