Class BlockSettingsExtensions

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

@Deprecated public final class BlockSettingsExtensions extends Object
Deprecated.
Please migrate to v1. Please use methods in FabricBlockSettings instead.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    breakByHand​(net.minecraft.block.AbstractBlock.Settings settings, boolean breakByHand)
    Deprecated.
     
    static void
    breakByTool​(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.tag.Tag<net.minecraft.item.Item> tag, int miningLevel)
    Deprecated.
     
    static void
    breakInstantly​(net.minecraft.block.AbstractBlock.Settings settings)
    Deprecated.
     
    static void
    collidable​(net.minecraft.block.AbstractBlock.Settings settings, boolean collidable)
    Deprecated.
     
    static void
    drops​(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.util.Identifier dropTableId)
    Deprecated.
     
    static void
    dropsNothing​(net.minecraft.block.AbstractBlock.Settings settings)
    Deprecated.
     
    static void
    dynamicBounds​(net.minecraft.block.AbstractBlock.Settings settings)
    Deprecated.
     
    static void
    hardness​(net.minecraft.block.AbstractBlock.Settings settings, float hardness)
    Deprecated.
     
    static void
    lightLevel​(net.minecraft.block.AbstractBlock.Settings settings, int lightLevel)
    Deprecated.
     
    static void
    materialColor​(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.block.MapColor color)
    Deprecated.
     
    static void
    resistance​(net.minecraft.block.AbstractBlock.Settings settings, float resistance)
    Deprecated.
     
    static void
    sounds​(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.sound.BlockSoundGroup soundGroup)
    Deprecated.
     
    static void
    strength​(net.minecraft.block.AbstractBlock.Settings settings, float strength)
    Deprecated.
     
    static void
    ticksRandomly​(net.minecraft.block.AbstractBlock.Settings settings)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • breakByHand

      public static void breakByHand(net.minecraft.block.AbstractBlock.Settings settings, boolean breakByHand)
      Deprecated.
    • breakByTool

      public static void breakByTool(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.tag.Tag<net.minecraft.item.Item> tag, int miningLevel)
      Deprecated.
    • hardness

      public static void hardness(net.minecraft.block.AbstractBlock.Settings settings, float hardness)
      Deprecated.
    • resistance

      public static void resistance(net.minecraft.block.AbstractBlock.Settings settings, float resistance)
      Deprecated.
    • collidable

      public static void collidable(net.minecraft.block.AbstractBlock.Settings settings, boolean collidable)
      Deprecated.
    • materialColor

      public static void materialColor(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.block.MapColor color)
      Deprecated.
    • drops

      public static void drops(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.util.Identifier dropTableId)
      Deprecated.
    • sounds

      public static void sounds(net.minecraft.block.AbstractBlock.Settings settings, net.minecraft.sound.BlockSoundGroup soundGroup)
      Deprecated.
    • lightLevel

      public static void lightLevel(net.minecraft.block.AbstractBlock.Settings settings, int lightLevel)
      Deprecated.
    • breakInstantly

      public static void breakInstantly(net.minecraft.block.AbstractBlock.Settings settings)
      Deprecated.
    • strength

      public static void strength(net.minecraft.block.AbstractBlock.Settings settings, float strength)
      Deprecated.
    • ticksRandomly

      public static void ticksRandomly(net.minecraft.block.AbstractBlock.Settings settings)
      Deprecated.
    • dynamicBounds

      public static void dynamicBounds(net.minecraft.block.AbstractBlock.Settings settings)
      Deprecated.
    • dropsNothing

      public static void dropsNothing(net.minecraft.block.AbstractBlock.Settings settings)
      Deprecated.