Class BlockItemWithAlternatives

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.BlockItem
net.neoforged.neoforge.internal.BlockItemWithAlternatives
All Implemented Interfaces:
FeatureElement, ItemLike, BlockItemExtension, IItemExtension

public final class BlockItemWithAlternatives extends BlockItem
  • Field Details

    • alternatives

      private final Block[] alternatives
  • Constructor Details

    • BlockItemWithAlternatives

      public BlockItemWithAlternatives(Block block, Block[] alternatives, Item.Properties properties)
  • Method Details