Package net.minecraft.block
Class TripwireBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TripwireBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official binintermediary net/minecraft/class_208named net/minecraft/block/TripwireBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertyprotected static final VoxelShapeprotected static final VoxelShapeprivate static final Map<Direction,BooleanProperty> private final TripwireHookBlockFields 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) getOutlineShape(BlockState state, BlockView world, BlockPos pos) Returns the appropriate RenderLayer for a block.booleanmethod_11562(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) method_16563(ItemPlacementContext itemPlacementContext) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) booleanmethod_16752(BlockState blockState, Direction direction) voidmethod_416(BlockState blockState, World world, BlockPos blockPos, Entity entity) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) voidmethod_8661(BlockState blockState, World world, BlockPos blockPos, Random random) voidmethod_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) voidonBreakByPlayer(World world, BlockPos pos, BlockState state, PlayerEntity player) Runs when the block is broken by a player.private voidupdate(World world, BlockPos pos, BlockState state) private voidupdatePowered(World world, BlockPos pos) withMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16565, method_16566, method_16568, method_16569, method_16570, method_16572, method_16573, 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_410, method_414, method_420, method_421, method_435, method_8640, method_8650, method_8651, method_8653, method_8664, method_8669, method_8674, onBlockBreak, onBreak, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18542
- Mappings:
Namespace Name Mixin selector official aLbin;a:Lbmb;intermediary field_18542Lnet/minecraft/class_208;field_18542:Lnet/minecraft/class_2243;named field_18542Lnet/minecraft/block/TripwireBlock;field_18542:Lnet/minecraft/state/property/BooleanProperty;
-
field_18543
- Mappings:
Namespace Name Mixin selector official bLbin;b:Lbmb;intermediary field_18543Lnet/minecraft/class_208;field_18543:Lnet/minecraft/class_2243;named field_18543Lnet/minecraft/block/TripwireBlock;field_18543:Lnet/minecraft/state/property/BooleanProperty;
-
field_18544
- Mappings:
Namespace Name Mixin selector official cLbin;c:Lbmb;intermediary field_18544Lnet/minecraft/class_208;field_18544:Lnet/minecraft/class_2243;named field_18544Lnet/minecraft/block/TripwireBlock;field_18544:Lnet/minecraft/state/property/BooleanProperty;
-
field_18545
- Mappings:
Namespace Name Mixin selector official oLbin;o:Lbmb;intermediary field_18545Lnet/minecraft/class_208;field_18545:Lnet/minecraft/class_2243;named field_18545Lnet/minecraft/block/TripwireBlock;field_18545:Lnet/minecraft/state/property/BooleanProperty;
-
field_18546
- Mappings:
Namespace Name Mixin selector official pLbin;p:Lbmb;intermediary field_18546Lnet/minecraft/class_208;field_18546:Lnet/minecraft/class_2243;named field_18546Lnet/minecraft/block/TripwireBlock;field_18546:Lnet/minecraft/state/property/BooleanProperty;
-
field_18547
- Mappings:
Namespace Name Mixin selector official qLbin;q:Lbmb;intermediary field_18547Lnet/minecraft/class_208;field_18547:Lnet/minecraft/class_2243;named field_18547Lnet/minecraft/block/TripwireBlock;field_18547:Lnet/minecraft/state/property/BooleanProperty;
-
field_18548
- Mappings:
Namespace Name Mixin selector official rLbin;r:Lbmb;intermediary field_18548Lnet/minecraft/class_208;field_18548:Lnet/minecraft/class_2243;named field_18548Lnet/minecraft/block/TripwireBlock;field_18548:Lnet/minecraft/state/property/BooleanProperty;
-
field_18551
- Mappings:
Namespace Name Mixin selector official uLbin;u:Ljava/util/Map;intermediary field_18551Lnet/minecraft/class_208;field_18551:Ljava/util/Map;named field_18551Lnet/minecraft/block/TripwireBlock;field_18551:Ljava/util/Map;
-
field_18549
- Mappings:
Namespace Name Mixin selector official sLbin;s:Lcew;intermediary field_18549Lnet/minecraft/class_208;field_18549:Lnet/minecraft/class_4100;named field_18549Lnet/minecraft/block/TripwireBlock;field_18549:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18550
- Mappings:
Namespace Name Mixin selector official tLbin;t:Lcew;intermediary field_18550Lnet/minecraft/class_208;field_18550:Lnet/minecraft/class_4100;named field_18550Lnet/minecraft/block/TripwireBlock;field_18550:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18552
- Mappings:
Namespace Name Mixin selector official vLbin;v:Lbio;intermediary field_18552Lnet/minecraft/class_208;field_18552:Lnet/minecraft/class_207;named field_18552Lnet/minecraft/block/TripwireBlock;field_18552:Lnet/minecraft/block/TripwireHookBlock;
-
-
Constructor Details
-
TripwireBlock
-
-
Method Details
-
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;
-
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;
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
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
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
method_8668
public void method_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) - Overrides:
method_8668in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8668Lnet/minecraft/block/Block;method_8668(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_8659
public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) - Overrides:
method_8659in classBlock- 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
-
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
-
update
- Mappings:
Namespace Name Mixin selector official aLbin;a(Laxy;Lel;Lblc;)Vintermediary method_8943Lnet/minecraft/class_208;method_8943(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed updateLnet/minecraft/block/TripwireBlock;update(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
method_416
- Overrides:
method_416in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laer;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)Vnamed method_416Lnet/minecraft/block/Block;method_416(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
-
method_8661
- Overrides:
method_8661in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8661Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
updatePowered
- Mappings:
Namespace Name Mixin selector official aLbin;a(Laxy;Lel;)Vintermediary method_8942Lnet/minecraft/class_208;method_8942(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed updatePoweredLnet/minecraft/block/TripwireBlock;updatePowered(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
method_16752
- Mappings:
Namespace Name Mixin selector official aLbin;a(Lblc;Leq;)Zintermediary method_16752Lnet/minecraft/class_208;method_16752(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;)Znamed method_16752Lnet/minecraft/block/TripwireBlock;method_16752(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
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;
-
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
-
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;
-