Package net.minecraft
Class class_3066
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.BlockWithEntity
net.minecraft.class_3066
- All Implemented Interfaces:
BlockEntityProvider,Itemable
- Mappings:
Namespace Name official bhiintermediary net/minecraft/class_3066named net/minecraft/class_3066
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) getBlockRenderType(BlockState state) intgetComparatorOutput(BlockState state, World world, BlockPos pos) getOutlineShape(BlockState state, BlockView world, BlockPos pos) getPistonBehavior(BlockState state) booleanisFullBoundsCubeForCulling(BlockState blockState) booleanmethod_11562(BlockState state) booleanmethod_11577(BlockState state) booleanmethod_13703(BlockState state) booleanmethod_13704(BlockState state) static Blockmethod_13714(DyeColor dyeColor) static ItemStackmethod_13715(DyeColor dyeColor) static DyeColormethod_13716(Item item) static DyeColormethod_13717(Block block) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) method_16563(ItemPlacementContext itemPlacementContext) voidmethod_16564(ItemStack itemStack, BlockView blockView, List<Text> list, TooltipContext tooltipContext) method_16671(BlockView blockView) voidmethod_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) method_8640(BlockView blockView, BlockPos blockPos, BlockState blockState) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) voidonBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player) Runs when the block is broken by a player.voidonPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entitywithMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.BlockWithEntity
method_435, method_8651Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getCollisionShape, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderLayerType, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_13315, method_14308, method_14309, method_16565, method_16566, method_16568, method_16569, method_16570, method_16572, method_16573, method_16575, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_414, method_416, method_420, method_8650, method_8653, method_8661, method_8664, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onDestroyedByExplosion, onLandedUpon, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18474
- Mappings:
Namespace Name Mixin selector official aLbhi;a:Lbmh;intermediary field_18474Lnet/minecraft/class_3066;field_18474:Lnet/minecraft/class_2245;named field_18474Lnet/minecraft/class_3066;field_18474:Lnet/minecraft/state/property/EnumProperty;
-
field_15144
- Mappings:
Namespace Name Mixin selector official bLbhi;b:Lasc;intermediary field_15144Lnet/minecraft/class_3066;field_15144:Lnet/minecraft/class_2674;named field_15144Lnet/minecraft/class_3066;field_15144:Lnet/minecraft/util/DyeColor;
-
-
Constructor Details
-
class_3066
-
-
Method Details
-
method_16671
- Mappings:
Namespace Name Mixin selector official aLben;a(Laxk;)Lbji;intermediary method_16671Lnet/minecraft/class_1451;method_16671(Lnet/minecraft/class_1158;)Lnet/minecraft/class_226;named method_16671Lnet/minecraft/block/BlockEntityProvider;method_16671(Lnet/minecraft/world/BlockView;)Lnet/minecraft/block/entity/BlockEntity;
-
method_13703
- Overrides:
method_13703in classBlock- Mappings:
Namespace Name Mixin selector official qLbcs;q(Lblc;)Zintermediary method_13703Lnet/minecraft/class_197;method_13703(Lnet/minecraft/class_2232;)Znamed method_13703Lnet/minecraft/block/Block;method_13703(Lnet/minecraft/block/BlockState;)Z
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
method_13704
- Overrides:
method_13704in classBlock- Mappings:
Namespace Name Mixin selector official bLbcs;b(Lblc;)Zintermediary method_13704Lnet/minecraft/class_197;method_13704(Lnet/minecraft/class_2232;)Znamed method_13704Lnet/minecraft/block/Block;method_13704(Lnet/minecraft/block/BlockState;)Z
-
getBlockRenderType
- Overrides:
getBlockRenderTypein classBlockWithEntity- Mappings:
Namespace Name Mixin selector official cLbcs;c(Lblc;)Lbgy;intermediary method_11552Lnet/minecraft/class_197;method_11552(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2733;named getBlockRenderTypeLnet/minecraft/block/Block;getBlockRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
-
method_421
public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_421in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Znamed method_421Lnet/minecraft/block/Block;method_421(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/math/Direction;FFF)Z
-
method_16563
- Overrides:
method_16563in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lark;)Lblc;intermediary method_16563Lnet/minecraft/class_197;method_16563(Lnet/minecraft/class_3544;)Lnet/minecraft/class_2232;named method_16563Lnet/minecraft/block/Block;method_16563(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
onBreakByPlayer
Runs when the block is broken by a player.- Overrides:
onBreakByPlayerin classBlock- Parameters:
world- The world that the block is placed inpos- The block's positionstate- The block's BlockStateplayer- The player who broke the block- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Laog;)Vintermediary method_8644Lnet/minecraft/class_197;method_8644(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_988;)Vnamed onBreakByPlayerLnet/minecraft/block/Block;onBreakByPlayer(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_410
public void method_410(BlockState blockState, World world, BlockPos blockPos, float float2, int int2) - Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;FI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;FI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FI)V
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, LivingEntity placer, ItemStack itemStack) Runs when the block is placed by an entity- Overrides:
onPlacedin classBlock- Parameters:
world- The world that the block is inpos- The block's positionstate- The block's BlockStateplacer- The entity who placed the blockitemStack- ItemStack instance- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxy;Lel;Lblc;Lafa;Late;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Lnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
method_8659
public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) - Overrides:
method_8659in classBlockWithEntity- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
method_16564
@Environment(CLIENT) public void method_16564(ItemStack itemStack, @Nullable BlockView blockView, List<Text> list, TooltipContext tooltipContext) - Overrides:
method_16564in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Late;Laxk;Ljava/util/List;Laum;)Vintermediary method_16564Lnet/minecraft/class_197;method_16564(Lnet/minecraft/class_1071;Lnet/minecraft/class_1158;Ljava/util/List;Lnet/minecraft/class_3191;)Vnamed method_16564Lnet/minecraft/block/Block;method_16564(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/BlockView;Ljava/util/List;Lnet/minecraft/client/TooltipContext;)V
-
getPistonBehavior
- Overrides:
getPistonBehaviorin classBlock- Mappings:
Namespace Name Mixin selector official jLbcs;j(Lblc;)Lbzc;intermediary method_11567Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;named getPistonBehaviorLnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
isFullBoundsCubeForCulling
- Overrides:
isFullBoundsCubeForCullingin classBlock- Mappings:
Namespace Name Mixin selector official fLbcs;f(Lblc;)Zintermediary method_11560Lnet/minecraft/class_197;method_11560(Lnet/minecraft/class_2232;)Znamed isFullBoundsCubeForCullingLnet/minecraft/block/Block;isFullBoundsCubeForCulling(Lnet/minecraft/block/BlockState;)Z
-
method_11577
- Overrides:
method_11577in classBlock- Mappings:
Namespace Name Mixin selector official uLbcs;u(Lblc;)Zintermediary method_11577Lnet/minecraft/class_197;method_11577(Lnet/minecraft/class_2232;)Znamed method_11577Lnet/minecraft/block/Block;method_11577(Lnet/minecraft/block/BlockState;)Z
-
getComparatorOutput
- Overrides:
getComparatorOutputin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;)Iintermediary method_8686Lnet/minecraft/class_197;method_8686(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Inamed getComparatorOutputLnet/minecraft/block/Block;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
method_8640
- Overrides:
method_8640in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lel;Lblc;)Late;intermediary method_8640Lnet/minecraft/class_197;method_8640(Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Lnet/minecraft/class_1071;named method_8640Lnet/minecraft/block/Block;method_8640(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
method_13716
- Mappings:
Namespace Name Mixin selector official bLbhi;b(Lata;)Lasc;intermediary method_13716Lnet/minecraft/class_3066;method_13716(Lnet/minecraft/class_1069;)Lnet/minecraft/class_2674;named method_13716Lnet/minecraft/class_3066;method_13716(Lnet/minecraft/item/Item;)Lnet/minecraft/util/DyeColor;
-
method_13717
- Mappings:
Namespace Name Mixin selector official fLbhi;f(Lbcs;)Lasc;intermediary method_13717Lnet/minecraft/class_3066;method_13717(Lnet/minecraft/class_197;)Lnet/minecraft/class_2674;named method_13717Lnet/minecraft/class_3066;method_13717(Lnet/minecraft/block/Block;)Lnet/minecraft/util/DyeColor;
-
method_13714
- Mappings:
Namespace Name Mixin selector official aLbhi;a(Lasc;)Lbcs;intermediary method_13714Lnet/minecraft/class_3066;method_13714(Lnet/minecraft/class_2674;)Lnet/minecraft/class_197;named method_13714Lnet/minecraft/class_3066;method_13714(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/block/Block;
-
method_13718
- Mappings:
Namespace Name Mixin selector official dLbhi;d()Lasc;intermediary method_13718Lnet/minecraft/class_3066;method_13718()Lnet/minecraft/class_2674;named method_13718Lnet/minecraft/class_3066;method_13718()Lnet/minecraft/util/DyeColor;
-
method_13715
- Mappings:
Namespace Name Mixin selector official bLbhi;b(Lasc;)Late;intermediary method_13715Lnet/minecraft/class_3066;method_13715(Lnet/minecraft/class_2674;)Lnet/minecraft/class_1071;named method_13715Lnet/minecraft/class_3066;method_13715(Lnet/minecraft/util/DyeColor;)Lnet/minecraft/item/ItemStack;
-
withRotation
- Overrides:
withRotationin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbhb;)Lblc;intermediary method_11556Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;named withRotationLnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
withMirror
- Overrides:
withMirrorin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbfz;)Lblc;intermediary method_11555Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;named withMirrorLnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/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_14307Lnet/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;
-