Package net.minecraft.block
Class TripwireBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.TripwireBlock
- Mappings:
Namespace Name official amqintermediary net/minecraft/class_208named net/minecraft/block/TripwireBlock
-
Field Summary
Fields inherited from class net.minecraft.block.Block
blastResistance, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_469, field_483, field_484, field_486, field_487, field_6259, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, side, slipperiness, soundGroup, stats, transluscent, useNeighbourLight -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbreakNaturally(World world, int x, int y, int z) intintgetTickRate(World world) Returns the block's tick rate.booleanmethod_398(int int2, Random random, int int3) method_407(World world, int int2, int int3, int int4) voidmethod_411(World world, int int2, int int3, int int4, Block block, int int5) voidmethod_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) voidmethod_425(BlockView blockView, int int2, int int3, int int4) method_454(World world, int int2, int int3, int int4) intstatic booleanmethod_500(BlockView blockView, int int2, int int3, int int4, int int5, int int6) private voidmethod_501(World world, int int2, int int3, int int4, int int5) private voidmethod_502(World world, int int2, int int3, int int4) voidonEntityCollision(World world, int x, int y, int z, Entity entity) voidonNeighborUpdate(World world, int x, int y, int z, Block block) voidbooleanReturns whether the block can be rendered as a normal blockMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBonusDrops, getById, getColor, getDropCount, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTexture, getTextureName, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_410, method_413, method_414, method_415, method_417, method_418, method_4185, method_4186, method_420, method_422, method_424, method_427, method_428, method_431, method_435, method_437, method_438, method_446, method_448, method_452, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_471, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onActivated, onBreak, onDestroyed, registerTextures, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Constructor Details
-
TripwireBlock
public TripwireBlock()
-
-
Method Details
-
getTickRate
Returns the block's tick rate. Default is 10.- Overrides:
getTickRatein classBlock- Parameters:
world- The world that the block is placed in- Returns:
- Tick rate
- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;)Iintermediary method_4789Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)Inamed getTickRateLnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
-
method_454
- Overrides:
method_454in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;III)Laye;intermediary method_454Lnet/minecraft/class_197;method_454(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_231;named method_454Lnet/minecraft/block/Block;method_454(Lnet/minecraft/world/World;III)Lnet/minecraft/util/math/Box;
-
hasTransperancy
public boolean hasTransperancy()- Overrides:
hasTransperancyin classBlock- Mappings:
Namespace Name Mixin selector official cLaht;c()Zintermediary method_449Lnet/minecraft/class_197;method_449()Znamed hasTransperancyLnet/minecraft/block/Block;hasTransperancy()Z
-
renderAsNormalBlock
public boolean renderAsNormalBlock()Returns whether the block can be rendered as a normal block- Overrides:
renderAsNormalBlockin classBlock- Returns:
- Whether the block can be rendered as a normal block
- Mappings:
Namespace Name Mixin selector official dLaht;d()Zintermediary method_441Lnet/minecraft/class_197;method_441()Znamed renderAsNormalBlockLnet/minecraft/block/Block;renderAsNormalBlock()Z
-
method_479
- Overrides:
method_479in classBlock- Mappings:
Namespace Name Mixin selector official wLaht;w()Iintermediary method_479Lnet/minecraft/class_197;method_479()Inamed method_479Lnet/minecraft/block/Block;method_479()I
-
getBlockType
public int getBlockType()- Overrides:
getBlockTypein classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b()Iintermediary method_429Lnet/minecraft/class_197;method_429()Inamed getBlockTypeLnet/minecraft/block/Block;getBlockType()I
-
method_398
- Overrides:
method_398in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;I)Labm;intermediary method_398Lnet/minecraft/class_197;method_398(ILjava/util/Random;I)Lnet/minecraft/class_1069;named method_398Lnet/minecraft/block/Block;method_398(ILjava/util/Random;I)Lnet/minecraft/item/Item;
-
method_407
- Overrides:
method_407in classBlock- Mappings:
Namespace Name Mixin selector official dLaht;d(Lafm;III)Labm;intermediary method_407Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;named method_407Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;
-
onNeighborUpdate
- Overrides:
onNeighborUpdatein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;)Vintermediary method_408Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)Vnamed onNeighborUpdateLnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
-
method_425
- Overrides:
method_425in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;III)Vintermediary method_425Lnet/minecraft/class_197;method_425(Lnet/minecraft/class_1158;III)Vnamed method_425Lnet/minecraft/block/Block;method_425(Lnet/minecraft/world/BlockView;III)V
-
breakNaturally
- Overrides:
breakNaturallyin classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;III)Vintermediary method_460Lnet/minecraft/class_197;method_460(Lnet/minecraft/class_1150;III)Vnamed breakNaturallyLnet/minecraft/block/Block;breakNaturally(Lnet/minecraft/world/World;III)V
-
method_411
- Overrides:
method_411in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILaht;I)Vintermediary method_411Lnet/minecraft/class_197;method_411(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;I)Vnamed method_411Lnet/minecraft/block/Block;method_411(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;I)V
-
method_412
public void method_412(World world, int int2, int int3, int int4, int int5, PlayerEntity playerEntity) - Overrides:
method_412in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIILxk;)Vintermediary method_412Lnet/minecraft/class_197;method_412(Lnet/minecraft/class_1150;IIIILnet/minecraft/class_988;)Vnamed method_412Lnet/minecraft/block/Block;method_412(Lnet/minecraft/world/World;IIIILnet/minecraft/entity/player/PlayerEntity;)V
-
method_501
- Mappings:
Namespace Name Mixin selector official aLamq;a(Lafm;IIII)Vintermediary method_501Lnet/minecraft/class_208;method_501(Lnet/minecraft/class_1150;IIII)Vnamed method_501Lnet/minecraft/block/TripwireBlock;method_501(Lnet/minecraft/world/World;IIII)V
-
onEntityCollision
- Overrides:
onEntityCollisionin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILqm;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)Vnamed onEntityCollisionLnet/minecraft/block/Block;onEntityCollision(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-
onTick
- Overrides:
onTickin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILjava/util/Random;)Vintermediary method_436Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed onTickLnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_502
- Mappings:
Namespace Name Mixin selector official eLamq;e(Lafm;III)Vintermediary method_502Lnet/minecraft/class_208;method_502(Lnet/minecraft/class_1150;III)Vnamed method_502Lnet/minecraft/block/TripwireBlock;method_502(Lnet/minecraft/world/World;III)V
-
method_500
@Environment(CLIENT) public static boolean method_500(BlockView blockView, int int2, int int3, int int4, int int5, int int6) - Mappings:
Namespace Name Mixin selector official aLamq;a(Lafw;IIIII)Zintermediary method_500Lnet/minecraft/class_208;method_500(Lnet/minecraft/class_1158;IIIII)Znamed method_500Lnet/minecraft/block/TripwireBlock;method_500(Lnet/minecraft/world/BlockView;IIIII)Z
-