Class VineBlock

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

public class VineBlock extends Block
Mappings:
Namespace Name
official arp
intermediary net/minecraft/class_209
named net/minecraft/block/VineBlock
  • Field Details

    • UP

      public static final BooleanProperty UP
      Mappings:
      Namespace Name Mixin selector
      official a Larp;a:Latx;
      intermediary field_9775 Lnet/minecraft/class_209;field_9775:Lnet/minecraft/class_2243;
      named UP Lnet/minecraft/block/VineBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
    • NORTH

      public static final BooleanProperty NORTH
      Mappings:
      Namespace Name Mixin selector
      official b Larp;b:Latx;
      intermediary field_9776 Lnet/minecraft/class_209;field_9776:Lnet/minecraft/class_2243;
      named NORTH Lnet/minecraft/block/VineBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
    • EAST

      public static final BooleanProperty EAST
      Mappings:
      Namespace Name Mixin selector
      official c Larp;c:Latx;
      intermediary field_9771 Lnet/minecraft/class_209;field_9771:Lnet/minecraft/class_2243;
      named EAST Lnet/minecraft/block/VineBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
    • SOUTH

      public static final BooleanProperty SOUTH
      Mappings:
      Namespace Name Mixin selector
      official d Larp;d:Latx;
      intermediary field_9772 Lnet/minecraft/class_209;field_9772:Lnet/minecraft/class_2243;
      named SOUTH Lnet/minecraft/block/VineBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
    • WEST

      public static final BooleanProperty WEST
      Mappings:
      Namespace Name Mixin selector
      official e Larp;e:Latx;
      intermediary field_9773 Lnet/minecraft/class_209;field_9773:Lnet/minecraft/class_2243;
      named WEST Lnet/minecraft/block/VineBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
    • PROPERTIES

      public static final BooleanProperty[] PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official f Larp;f:[Latx;
      intermediary field_9774 Lnet/minecraft/class_209;field_9774:[Lnet/minecraft/class_2243;
      named PROPERTIES Lnet/minecraft/block/VineBlock;PROPERTIES:[Lnet/minecraft/state/property/BooleanProperty;
    • field_12827

      protected static final Box field_12827
      Mappings:
      Namespace Name Mixin selector
      official g Larp;g:Lbdt;
      intermediary field_12827 Lnet/minecraft/class_209;field_12827:Lnet/minecraft/class_231;
      named field_12827 Lnet/minecraft/block/VineBlock;field_12827:Lnet/minecraft/util/math/Box;
    • field_12823

      protected static final Box field_12823
      Mappings:
      Namespace Name Mixin selector
      official B Larp;B:Lbdt;
      intermediary field_12823 Lnet/minecraft/class_209;field_12823:Lnet/minecraft/class_231;
      named field_12823 Lnet/minecraft/block/VineBlock;field_12823:Lnet/minecraft/util/math/Box;
    • field_12824

      protected static final Box field_12824
      Mappings:
      Namespace Name Mixin selector
      official C Larp;C:Lbdt;
      intermediary field_12824 Lnet/minecraft/class_209;field_12824:Lnet/minecraft/class_231;
      named field_12824 Lnet/minecraft/block/VineBlock;field_12824:Lnet/minecraft/util/math/Box;
    • field_12825

      protected static final Box field_12825
      Mappings:
      Namespace Name Mixin selector
      official D Larp;D:Lbdt;
      intermediary field_12825 Lnet/minecraft/class_209;field_12825:Lnet/minecraft/class_231;
      named field_12825 Lnet/minecraft/block/VineBlock;field_12825:Lnet/minecraft/util/math/Box;
    • field_12826

      protected static final Box field_12826
      Mappings:
      Namespace Name Mixin selector
      official E Larp;E:Lbdt;
      intermediary field_12826 Lnet/minecraft/class_209;field_12826:Lnet/minecraft/class_231;
      named field_12826 Lnet/minecraft/block/VineBlock;field_12826:Lnet/minecraft/util/math/Box;
  • Constructor Details

    • VineBlock

      public VineBlock()
  • Method Details

    • 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 Lalu;a(Latl;Lajw;Lco;)Lbdt;
      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;
    • getCollisionBox

      public Box getCollisionBox(BlockState state, BlockView view, BlockPos pos)
      Overrides:
      getCollisionBox in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Latl;Lajw;Lco;)Lbdt;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_231;
      named getCollisionBox Lnet/minecraft/block/Block;getCollisionBox(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Box;
    • getBlockState

      public BlockState getBlockState(BlockState state, BlockView view, BlockPos pos)
      Returns the current block's blockstate at a certain position
      Overrides:
      getBlockState in class Block
      Parameters:
      state - The original blockstate
      view - BlockView instance
      pos - The block's position
      Returns:
      state
      Mappings:
      Namespace Name Mixin selector
      official c Lalu;c(Latl;Lajw;Lco;)Latl;
      intermediary method_8656 Lnet/minecraft/class_197;method_8656(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/block/Block;getBlockState(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • isFullBoundsCubeForCulling

      public boolean isFullBoundsCubeForCulling(BlockState blockState)
      Overrides:
      isFullBoundsCubeForCulling in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Latl;)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_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lalu;c(Latl;)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
    • method_8638

      public boolean method_8638(BlockView blockView, BlockPos blockPos)
      Overrides:
      method_8638 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Lajw;Lco;)Z
      intermediary method_8638 Lnet/minecraft/class_197;method_8638(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Z
      named method_8638 Lnet/minecraft/block/Block;method_8638(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • canBePlacedAdjacent

      public boolean canBePlacedAdjacent(World world, BlockPos pos, Direction direction)
      Returns whether blocks can be placed adjacent to it.
      Overrides:
      canBePlacedAdjacent in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      direction - The block's direction
      Returns:
      Whether blocks can be placed adjacent to it
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Lajs;Lco;Lcv;)Z
      intermediary method_8662 Lnet/minecraft/class_197;method_8662(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Z
      named canBePlacedAdjacent Lnet/minecraft/block/Block;canBePlacedAdjacent(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
    • method_11642

      private boolean method_11642(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official z Larp;z(Latl;)Z
      intermediary method_11642 Lnet/minecraft/class_209;method_11642(Lnet/minecraft/class_2232;)Z
      named method_11642 Lnet/minecraft/block/VineBlock;method_11642(Lnet/minecraft/block/BlockState;)Z
    • method_8950

      private boolean method_8950(World world, BlockPos blockPos, BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official e Larp;e(Lajs;Lco;Latl;)Z
      intermediary method_8950 Lnet/minecraft/class_209;method_8950(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Z
      named method_8950 Lnet/minecraft/block/VineBlock;method_8950(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • onBreak

      public void onBreak(BlockState state, World world, BlockPos arg3, Block block, BlockPos pos)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Latl;Lajs;Lco;Lalu;Lco;)V
      intermediary method_8641 Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
    • scheduledTick

      public void scheduledTick(World world, BlockPos pos, BlockState state, Random rand)
      Runs when the block is updated as per a schedule
      Overrides:
      scheduledTick in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      state - The block's BlockState
      rand - Random object
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b(Lajs;Lco;Latl;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Ljava/util/Random;)V
      named scheduledTick Lnet/minecraft/block/Block;scheduledTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Ljava/util/Random;)V
    • getStateFromData

      public BlockState getStateFromData(World world, BlockPos pos, Direction dir, float float2, float float3, float float4, int id, LivingEntity entity)
      Returns a BlockState from an id
      Overrides:
      getStateFromData in class Block
      Parameters:
      world - The world that the block is placed in
      pos - The block's position
      dir - The block's direction
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Lajs;Lco;Lcv;FFFILsw;)Latl;
      intermediary method_8645 Lnet/minecraft/class_197;method_8645(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;FFFILnet/minecraft/class_1699;)Lnet/minecraft/class_2232;
      named getStateFromData Lnet/minecraft/block/Block;getStateFromData(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;FFFILnet/minecraft/entity/LivingEntity;)Lnet/minecraft/block/BlockState;
    • 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 Lalu;a(Latl;Ljava/util/Random;I)Lafh;
      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;
    • getDropCount

      public int getDropCount(Random rand)
      Returns the amount of items the block should drop on breaking without bonus rolls.
      Overrides:
      getDropCount in class Block
      Parameters:
      rand - Random object
      Returns:
      Amount of items to be dropped
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Ljava/util/Random;)I
      intermediary method_403 Lnet/minecraft/class_197;method_403(Ljava/util/Random;)I
      named getDropCount Lnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
    • 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 Lalu;a(Lajs;Laay;Lco;Latl;Lasc;Lafj;)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
    • 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 Lalu;f()Lajk;
      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;
    • stateFromData

      public BlockState stateFromData(int data)
      Returns a blockstate of the current block from it's id
      Overrides:
      stateFromData in class Block
      Parameters:
      data - The Blockstate's associated data value
      Returns:
      The Default state
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(I)Latl;
      intermediary method_8635 Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;
      named stateFromData Lnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
    • getData

      public int getData(BlockState state)
      Returns the data value for a blockstate Throws an IllegalArmumentException as this method does not work
      Overrides:
      getData in class Block
      Parameters:
      state - The Blockstate
      Returns:
      Zero
      Mappings:
      Namespace Name Mixin selector
      official e Lalu;e(Latl;)I
      intermediary method_8671 Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)I
      named getData Lnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
    • appendProperties

      protected StateManager appendProperties()
      Returns a new state manager with a property array.
      Overrides:
      appendProperties in class Block
      Returns:
      New state manager
      Mappings:
      Namespace Name Mixin selector
      official b Lalu;b()Latm;
      intermediary method_8676 Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;
      named appendProperties Lnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
    • withRotation

      public BlockState withRotation(BlockState state, BlockRotation rotation)
      Overrides:
      withRotation in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Latl;Laqi;)Latl;
      intermediary method_11556 Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;
      named withRotation Lnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
    • withMirror

      public BlockState withMirror(BlockState state, BlockMirror mirror)
      Overrides:
      withMirror in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lalu;a(Latl;Laou;)Latl;
      intermediary method_11555 Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;
      named withMirror Lnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
    • getByDirection

      public static BooleanProperty getByDirection(Direction dir)
      Mappings:
      Namespace Name Mixin selector
      official a Larp;a(Lcv;)Latx;
      intermediary method_8948 Lnet/minecraft/class_209;method_8948(Lnet/minecraft/class_1354;)Lnet/minecraft/class_2243;
      named getByDirection Lnet/minecraft/block/VineBlock;getByDirection(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/state/property/BooleanProperty;
    • getBlockStateId

      public static int getBlockStateId(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official i Larp;i(Latl;)I
      intermediary method_8949 Lnet/minecraft/class_209;method_8949(Lnet/minecraft/class_2232;)I
      named getBlockStateId Lnet/minecraft/block/VineBlock;getBlockStateId(Lnet/minecraft/block/BlockState;)I