Class FabricBlockSettings

java.lang.Object
net.fabricmc.fabric.api.block.FabricBlockSettings

@Deprecated public class FabricBlockSettings extends Object
Deprecated.
Please migrate to v1. Please use FabricBlockSettings instead
  • Field Details

  • 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

      public static FabricBlockSettings of(net.minecraft.block.Material material)
      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

      public static FabricBlockSettings copy(net.minecraft.block.Block base)
      Deprecated.
    • copyOf

      public static FabricBlockSettings copyOf(net.minecraft.block.AbstractBlock.Settings settings)
      Deprecated.
    • breakByHand

      public FabricBlockSettings breakByHand(boolean breakByHand)
      Deprecated.
      Makes the block breakable by any tool if breakByHand 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 using FabricBlockSettings.requiresTool().
    • breakByTool

      public 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().
    • materialColor

      public FabricBlockSettings materialColor(net.minecraft.block.MaterialColor color)
      Deprecated.
    • materialColor

      public FabricBlockSettings materialColor(net.minecraft.util.DyeColor color)
      Deprecated.
    • collidable

      public FabricBlockSettings collidable(boolean collidable)
      Deprecated.
    • noCollision

      public FabricBlockSettings noCollision()
      Deprecated.
    • nonOpaque

      public FabricBlockSettings nonOpaque()
      Deprecated.
    • sounds

      public FabricBlockSettings sounds(net.minecraft.sound.BlockSoundGroup group)
      Deprecated.
    • ticksRandomly

      public FabricBlockSettings ticksRandomly()
      Deprecated.
    • lightLevel

      public FabricBlockSettings lightLevel(int lightLevel)
      Deprecated.
    • hardness

      public FabricBlockSettings hardness(float hardness)
      Deprecated.
    • resistance

      public FabricBlockSettings resistance(float resistance)
      Deprecated.
    • strength

      public FabricBlockSettings strength(float hardness, float resistance)
      Deprecated.
    • breakInstantly

      public FabricBlockSettings breakInstantly()
      Deprecated.
    • dropsNothing

      public FabricBlockSettings dropsNothing()
      Deprecated.
    • dropsLike

      public FabricBlockSettings dropsLike(net.minecraft.block.Block block)
      Deprecated.
    • drops

      public FabricBlockSettings drops(net.minecraft.util.Identifier dropTableId)
      Deprecated.
    • friction

      @Deprecated public FabricBlockSettings friction(float friction)
      Deprecated.
    • slipperiness

      public FabricBlockSettings slipperiness(float value)
      Deprecated.
    • dynamicBounds

      public FabricBlockSettings dynamicBounds()
      Deprecated.
    • build

      public net.minecraft.block.AbstractBlock.Settings build()
      Deprecated.
    • build

      public <T> T build(Function<net.minecraft.block.AbstractBlock.Settings,​T> function)
      Deprecated.