Package net.minecraft.block
Class RedstoneOreBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.RedstoneOreBlock
- Mappings:
Namespace Name official alkintermediary net/minecraft/class_178named net/minecraft/block/RedstoneOreBlock
-
Field Summary
FieldsFields 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 TypeMethodDescriptionintgetBonusDrops(int id, Random rand) Returns the number bonus drops for a block when broken.intgetDropCount(Random rand) Returns the amount of items the block should drop on breaking without bonus rolls.intgetTickRate(World world) Returns the block's tick rate.private voidmethod_377(World world, int int2, int int3, int int4) private voidmethod_378(World world, int int2, int int3, int int4) method_398(int int2, Random random, int int3) voidmethod_410(World world, int int2, int int3, int int4, int int5, float float2, int int6) voidmethod_415(World world, int int2, int int3, int int4, Random random) voidmethod_420(World world, int int2, int int3, int int4, PlayerEntity playerEntity) voidmethod_437(World world, int int2, int int3, int int4, Entity entity) protected ItemStackmethod_448(int int2) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidMethods inherited from class net.minecraft.block.Block
appendItemStacks, areBlocksEqual, breakNaturally, canPlaceBlockAt, canStayPlaced, canStayPlaced, disableStats, emitsRedstonePower, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlockFromItem, getBlockType, getById, getColor, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getOpacity, getPistonInteractionType, getSideTexture, getStrongRedstonePower, getTexture, getTextureName, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, hasTransperancy, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_400, method_405, method_407, method_411, method_412, method_413, method_414, method_417, method_418, method_4185, method_4186, method_422, method_424, method_425, method_427, method_428, method_431, method_435, method_438, method_446, method_452, method_454, method_455, method_457, method_459, method_461, method_463, method_464, method_468, method_471, method_479, method_4790, method_4793, method_4794, method_4798, method_5546, method_6444, method_6449, onBreak, onDestroyed, onEntityCollision, onNeighborUpdate, registerTextures, renderAsNormalBlock, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, shouldRenderSide, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_315
private boolean field_315- Mappings:
Namespace Name Mixin selector official aLalk;a:Zintermediary field_315Lnet/minecraft/class_178;field_315:Znamed field_315Lnet/minecraft/block/RedstoneOreBlock;field_315:Z
-
-
Constructor Details
-
RedstoneOreBlock
public RedstoneOreBlock(boolean bool)
-
-
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_420
- Overrides:
method_420in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;)Vintermediary method_420Lnet/minecraft/class_197;method_420(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;)Vnamed method_420Lnet/minecraft/block/Block;method_420(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)V
-
method_437
- Overrides:
method_437in classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIILqm;)Vintermediary method_437Lnet/minecraft/class_197;method_437(Lnet/minecraft/class_1150;IIILnet/minecraft/class_864;)Vnamed method_437Lnet/minecraft/block/Block;method_437(Lnet/minecraft/world/World;IIILnet/minecraft/entity/Entity;)V
-
onActivated
public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) - Overrides:
onActivatedin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILxk;IFFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Znamed onActivatedLnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
-
method_377
- Mappings:
Namespace Name Mixin selector official eLalk;e(Lafm;III)Vintermediary method_377Lnet/minecraft/class_178;method_377(Lnet/minecraft/class_1150;III)Vnamed method_377Lnet/minecraft/block/RedstoneOreBlock;method_377(Lnet/minecraft/world/World;III)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_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;
-
getBonusDrops
Returns the number bonus drops for a block when broken.- Overrides:
getBonusDropsin classBlock- Parameters:
id- Idrand- Random object- Returns:
- Bonus drops for a block
- Mappings:
Namespace Name Mixin selector official aLaht;a(ILjava/util/Random;)Iintermediary method_397Lnet/minecraft/class_197;method_397(ILjava/util/Random;)Inamed getBonusDropsLnet/minecraft/block/Block;getBonusDrops(ILjava/util/Random;)I
-
getDropCount
Returns the amount of items the block should drop on breaking without bonus rolls.- Overrides:
getDropCountin classBlock- Parameters:
rand- Random object- Returns:
- Amount of items to be dropped
- Mappings:
Namespace Name Mixin selector official aLaht;a(Ljava/util/Random;)Iintermediary method_403Lnet/minecraft/class_197;method_403(Ljava/util/Random;)Inamed getDropCountLnet/minecraft/block/Block;getDropCount(Ljava/util/Random;)I
-
method_410
- Overrides:
method_410in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIIIFI)Vintermediary method_410Lnet/minecraft/class_197;method_410(Lnet/minecraft/class_1150;IIIIFI)Vnamed method_410Lnet/minecraft/block/Block;method_410(Lnet/minecraft/world/World;IIIIFI)V
-
method_415
@Environment(CLIENT) public void method_415(World world, int int2, int int3, int int4, Random random) - Overrides:
method_415in classBlock- Mappings:
Namespace Name Mixin selector official bLaht;b(Lafm;IIILjava/util/Random;)Vintermediary method_415Lnet/minecraft/class_197;method_415(Lnet/minecraft/class_1150;IIILjava/util/Random;)Vnamed method_415Lnet/minecraft/block/Block;method_415(Lnet/minecraft/world/World;IIILjava/util/Random;)V
-
method_378
- Mappings:
Namespace Name Mixin selector official mLalk;m(Lafm;III)Vintermediary method_378Lnet/minecraft/class_178;method_378(Lnet/minecraft/class_1150;III)Vnamed method_378Lnet/minecraft/block/RedstoneOreBlock;method_378(Lnet/minecraft/world/World;III)V
-
method_448
- Overrides:
method_448in classBlock- Mappings:
Namespace Name Mixin selector official jLaht;j(I)Labo;intermediary method_448Lnet/minecraft/class_197;method_448(I)Lnet/minecraft/class_1071;named method_448Lnet/minecraft/block/Block;method_448(I)Lnet/minecraft/item/ItemStack;
-