Class CarpetBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.CarpetBlock

public class CarpetBlock extends Block
Mappings:
Namespace Name
official ana
intermediary net/minecraft/class_1596
named net/minecraft/block/CarpetBlock
  • Constructor Details

    • CarpetBlock

      protected CarpetBlock()
  • Method Details

    • getTexture

      @Environment(CLIENT) public Texture getTexture(int side, int blockData)
      Overrides:
      getTexture in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(II)Lpr;
      intermediary method_395 Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;
      named getTexture Lnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
    • method_454

      public Box method_454(World world, int int2, int int3, int int4)
      Overrides:
      method_454 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;III)Laye;
      intermediary method_454 Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;
      named method_454 Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
    • hasTransperancy

      public boolean hasTransperancy()
      Overrides:
      hasTransperancy in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c()Z
      intermediary method_449 Lnet/minecraft/class_197;method_449()Z
      named hasTransperancy Lnet/minecraft/block/Block;hasTransperancy()Z
    • renderAsNormalBlock

      public boolean renderAsNormalBlock()
      Returns whether the block can be rendered as a normal block
      Overrides:
      renderAsNormalBlock in class Block
      Returns:
      Whether the block can be rendered as a normal block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d()Z
      intermediary method_441 Lnet/minecraft/class_197;method_441()Z
      named renderAsNormalBlock Lnet/minecraft/block/Block;renderAsNormalBlock()Z
    • setBlockItemBounds

      public void setBlockItemBounds()
      Sets the bounds for the BlockItem
      Overrides:
      setBlockItemBounds in class Block
      Mappings:
      Namespace Name Mixin selector
      official g Laht;g()V
      intermediary method_456 Lnet/minecraft/class_197;method_456()V
      named setBlockItemBounds Lnet/minecraft/block/Block;setBlockItemBounds()V
    • method_425

      public void method_425(BlockView blockView, int int2, int int3, int int4)
      Overrides:
      method_425 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafw;III)V
      intermediary method_425 Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)V
      named method_425 Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
    • method_5547

      protected void method_5547(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lana;b(I)V
      intermediary method_5547 Lnet/minecraft/class_1596;method_5547(I)V
      named method_5547 Lnet/minecraft/block/CarpetBlock;method_5547(I)V
    • canPlaceBlockAt

      public boolean canPlaceBlockAt(World world, int x, int y, int z)
      Overrides:
      canPlaceBlockAt in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c(Lafm;III)Z
      intermediary method_434 Lnet/minecraft/class_197;method_434(Lnet/minecraft/class_1150;III)Z
      named canPlaceBlockAt Lnet/minecraft/block/Block;canPlaceBlockAt(Lnet/minecraft/world/World;III)Z
    • onNeighborUpdate

      public void onNeighborUpdate(World world, int x, int y, int z, Block block)
      Overrides:
      onNeighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;)V
      intermediary method_408 Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)V
      named onNeighborUpdate Lnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
    • method_5548

      private boolean method_5548(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Lana;e(Lafm;III)Z
      intermediary method_5548 Lnet/minecraft/class_1596;method_5548(Lnet/minecraft/class_1150;III)Z
      named method_5548 Lnet/minecraft/block/CarpetBlock;method_5548(Lnet/minecraft/world/World;III)Z
    • canStayPlaced

      public boolean canStayPlaced(World world, int x, int y, int z)
      Overrides:
      canStayPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      official j Laht;j(Lafm;III)Z
      intermediary method_450 Lnet/minecraft/class_197;method_450(Lnet/minecraft/class_1150;III)Z
      named canStayPlaced Lnet/minecraft/block/Block;canStayPlaced(Lnet/minecraft/world/World;III)Z
    • shouldRenderSide

      @Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData)
      Overrides:
      shouldRenderSide in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafw;IIII)Z
      intermediary method_447 Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Z
      named shouldRenderSide Lnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
    • method_431

      public int method_431(int int2)
      Overrides:
      method_431 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(I)I
      intermediary method_431 Lnet/minecraft/class_197;method_431(I)I
      named method_431 Lnet/minecraft/block/Block;method_431(I)I
    • appendItemStacks

      @Environment(CLIENT) public void appendItemStacks(Item item, ItemGroup group, List stacks)
      Appends ItemStacks to an itemgroup. Only called on the client.
      Overrides:
      appendItemStacks in class Block
      Parameters:
      item - The Item that must be added
      group - The ItemGroup that the item must be added to
      stacks - The list of currently added ItemStacks to the ItemGroup
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Labm;Laae;Ljava/util/List;)V
      intermediary method_399 Lnet/minecraft/class_197;method_399(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Ljava/util/List;)V
      named appendItemStacks Lnet/minecraft/block/Block;appendItemStacks(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Ljava/util/List;)V
    • registerTextures

      @Environment(CLIENT) public void registerTextures(TextureRegistry registry)
      Overrides:
      registerTextures in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lps;)V
      intermediary method_4791 Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)V
      named registerTextures Lnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V