Package net.minecraft

Class class_8425

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class class_8425 extends Block
Mappings:
Namespace Name
official cun
intermediary net/minecraft/class_8425
named net/minecraft/class_8425
  • Field Details

    • field_44222

      public static final int field_44222
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcun;a:I
      intermediary field_44222 Lnet/minecraft/class_8425;field_44222:I
      named field_44222 Lnet/minecraft/class_8425;field_44222:I
    • field_44227

      private static final int field_44227
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lcun;f:I
      intermediary field_44227 Lnet/minecraft/class_8425;field_44227:I
      named field_44227 Lnet/minecraft/class_8425;field_44227:I
    • field_44223

      public static final int field_44223
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcun;b:I
      intermediary field_44223 Lnet/minecraft/class_8425;field_44223:I
      named field_44223 Lnet/minecraft/class_8425;field_44223:I
    • field_44228

      private static final int field_44228
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lcun;g:I
      intermediary field_44228 Lnet/minecraft/class_8425;field_44228:I
      named field_44228 Lnet/minecraft/class_8425;field_44228:I
    • field_44224

      public static final IntProperty field_44224
      Mappings:
      Namespace Name Mixin selector
      official c Lcun;c:Ldhi;
      intermediary field_44224 Lnet/minecraft/class_8425;field_44224:Lnet/minecraft/class_2758;
      named field_44224 Lnet/minecraft/class_8425;field_44224:Lnet/minecraft/state/property/IntProperty;
    • field_44225

      public static final VoxelShape[] field_44225
      Mappings:
      Namespace Name Mixin selector
      official d Lcun;d:[Lejb;
      intermediary field_44225 Lnet/minecraft/class_8425;field_44225:[Lnet/minecraft/class_265;
      named field_44225 Lnet/minecraft/class_8425;field_44225:[Lnet/minecraft/util/shape/VoxelShape;
    • field_44226

      public static final VoxelShape[] field_44226
      Mappings:
      Namespace Name Mixin selector
      official e Lcun;e:[Lejb;
      intermediary field_44226 Lnet/minecraft/class_8425;field_44226:[Lnet/minecraft/class_265;
      named field_44226 Lnet/minecraft/class_8425;field_44226:[Lnet/minecraft/util/shape/VoxelShape;
    • field_44229

      private static final int field_44229
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lcun;h:I
      intermediary field_44229 Lnet/minecraft/class_8425;field_44229:I
      named field_44229 Lnet/minecraft/class_8425;field_44229:I
  • Constructor Details

    • class_8425

      protected class_8425(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgg;<init>(Ldgg$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • method_50856

      private static boolean method_50856(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lcun;a(II)Z
      intermediary method_50856 Lnet/minecraft/class_8425;method_50856(II)Z
      named method_50856 Lnet/minecraft/class_8425;method_50856(II)Z
    • method_50859

      private static int method_50859(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lcun;b(I)I
      intermediary method_50859 Lnet/minecraft/class_8425;method_50859(I)I
      named method_50859 Lnet/minecraft/class_8425;method_50859(I)I
    • method_50860

      private static int method_50860(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official b Lcun;b(II)I
      intermediary method_50860 Lnet/minecraft/class_8425;method_50860(II)I
      named method_50860 Lnet/minecraft/class_8425;method_50860(II)I
    • method_50862

      private static boolean method_50862(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official h Lcun;h(Ldgh;)Z
      intermediary method_50862 Lnet/minecraft/class_8425;method_50862(Lnet/minecraft/class_2680;)Z
      named method_50862 Lnet/minecraft/class_8425;method_50862(Lnet/minecraft/block/BlockState;)Z
    • onUse

      public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
      Called when this block is used by a player. This, by default, is bound to using the right mouse button.

      This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using world.isClient().

      If the action result is successful on a logical client, then the action will be sent to the logical server for processing.

      Overrides:
      onUse in class AbstractBlock
      Returns:
      an action result that specifies if using the block was successful.
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a(Ldgh;Lcql;Lgt;Lcby;Lbhh;Leie;)Lbhi;
      intermediary method_9534 Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named onUse Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
    • method_50857

      private static int method_50857(BlockState blockState, Vec3d vec3d)
      Mappings:
      Namespace Name Mixin selector
      official a Lcun;a(Ldgh;Leii;)I
      intermediary method_50857 Lnet/minecraft/class_8425;method_50857(Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)I
      named method_50857 Lnet/minecraft/class_8425;method_50857(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)I
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Ldgg;a(Ldgh;Lcpr;Lgt;Lein;)Lejb;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • hasSidedTransparency

      public boolean hasSidedTransparency(BlockState state)
      Returns whether the block's transparency depends on the side of the block, like slabs.
      Overrides:
      hasSidedTransparency in class AbstractBlock
      Returns:
      whether the block's transparency depends on the side of the block, like slabs
      Mappings:
      Namespace Name Mixin selector
      official f_ Ldgg;f_(Ldgh;)Z
      intermediary method_9526 Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Z
      named hasSidedTransparency Lnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
    • getAmbientOcclusionLightLevel

      public float getAmbientOcclusionLightLevel(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getAmbientOcclusionLightLevel in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Ldgg;b(Ldgh;Lcpr;Lgt;)F
      intermediary method_9575 Lnet/minecraft/class_4970;method_9575(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)F
      named getAmbientOcclusionLightLevel Lnet/minecraft/block/AbstractBlock;getAmbientOcclusionLightLevel(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)F
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Appends block state properties to this block. To use this, override and call StateManager.Builder.add(net.minecraft.state.property.Property<?>[]) inside the method. See Properties for the list of pre-defined properties.
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lctm;a(Ldgi$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V