Class CobwebBlock

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

public class CobwebBlock extends Block
Mappings:
Namespace Name
official auz
intermediary net/minecraft/class_211
named net/minecraft/block/CobwebBlock
  • Constructor Details

    • CobwebBlock

      public CobwebBlock()
  • Method Details

    • onEntityCollision

      public void onEntityCollision(World world, BlockPos pos, BlockState state, Entity entity)
      Runs every time an entity collides with the block
      Overrides:
      onEntityCollision in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      entity - The entity that collided with the block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Let;Lawt;Lvg;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_864;)V
      named onEntityCollision Lnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/Entity;)V
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laow;b(Lawt;)Z
      intermediary method_11560 Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Z
      named isFullBoundsCubeForCulling Lnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
    • method_8640

      @Nullable public Box method_8640(BlockState blockState, BlockView blockView, BlockPos blockPos)
      Overrides:
      method_8640 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Lamy;Let;)Lbhb;
      intermediary method_8640 Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named method_8640 Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laow;c(Lawt;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • getDropItem

      public Item getDropItem(BlockState blockState, Random random, int state)
      Returns the item that must be dropped when the block is broken
      Overrides:
      getDropItem in class Block
      Parameters:
      blockState - The block's BlockState
      random - Random object
      state - State
      Returns:
      The Item that drops after the block breaks
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lawt;Ljava/util/Random;I)Lain;
      intermediary method_398 Lnet/minecraft/class_197;method_398(Lnet/minecraft/class_2232;Ljava/util/Random;I)Lnet/minecraft/class_1069;
      named getDropItem Lnet/minecraft/block/Block;getDropItem(Lnet/minecraft/block/BlockState;Ljava/util/Random;I)Lnet/minecraft/item/Item;
    • requiresSilkTouch

      protected boolean requiresSilkTouch()
      Overrides:
      requiresSilkTouch in class Block
      Mappings:
      Namespace Name Mixin selector
      official n Laow;n()Z
      intermediary method_475 Lnet/minecraft/class_197;method_475()Z
      named requiresSilkTouch Lnet/minecraft/block/Block;requiresSilkTouch()Z
    • getRenderLayerType

      @Environment(CLIENT) public BlockRenderLayer getRenderLayerType()
      Returns the appropriate RenderLayer for a block. Only called on the client.
      Overrides:
      getRenderLayerType in class Block
      Returns:
      The block's RenderLayer
      Mappings:
      Namespace Name Mixin selector
      official f Laow;f()Lamm;
      intermediary method_8687 Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;
      named getRenderLayerType Lnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
    • method_8651

      public void method_8651(World world, PlayerEntity player, BlockPos pos, BlockState state, @Nullable BlockEntity blockEntity, ItemStack stack)
      Overrides:
      method_8651 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamu;Laed;Let;Lawt;Lavj;Laip;)V
      intermediary method_8651 Lnet/minecraft/class_197;method_8651(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_226;Lnet/minecraft/class_1071;)V
      named method_8651 Lnet/minecraft/block/Block;method_8651(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/item/ItemStack;)V
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laow;a(Lamy;Lawt;Let;Lfa;)Lawr;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;