Package net.minecraft.block
Class AnvilBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.FallingBlock
net.minecraft.block.AnvilBlock
- Mappings:
Namespace Name official ahmintermediary net/minecraft/class_1299named net/minecraft/block/AnvilBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]intprivate static final String[]private Texture[]Fields inherited from class net.minecraft.block.FallingBlock
field_7453Fields 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 TypeMethodDescriptionvoidappendItemStacks(Item item, ItemGroup group, List stacks) Appends ItemStacks to an itemgroup.intgetTexture(int side, int blockData) booleanvoidmethod_425(BlockView blockView, int int2, int int3, int int4) intmethod_431(int int2) voidmethod_6480(World world, int int2, int int3, int int4, int int5) protected voidmethod_6481(FallingBlockEntity fallingBlockEntity) booleanonActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4) voidonBreak(World world, int x, int y, int z, LivingEntity entity, ItemStack item) voidregisterTextures(TextureRegistry registry) booleanReturns whether the block can be rendered as a normal blockbooleanshouldRenderSide(BlockView world, int x, int y, int z, int blockData) Methods inherited from class net.minecraft.block.FallingBlock
breakNaturally, getTickRate, method_6482, onNeighborUpdate, onTickMethods inherited from class net.minecraft.block.Block
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, getTextureName, getTranslatedName, getTranslationKey, getWeakRedstonePower, hasBlockEntity, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isNormalBlock, isTransluscent, method_398, method_400, method_405, method_407, method_410, method_411, method_412, 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_435, method_437, method_438, method_446, method_448, 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, onDestroyed, onEntityCollision, requiresSilkTouch, setBlockItemBounds, setBlockSoundGroup, setBoundingBox, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Field Details
-
field_4997
- Mappings:
Namespace Name Mixin selector official aLahm;a:[Ljava/lang/String;intermediary field_4997Lnet/minecraft/class_1299;field_4997:[Ljava/lang/String;named field_4997Lnet/minecraft/block/AnvilBlock;field_4997:[Ljava/lang/String;
-
field_5513
- Mappings:
Namespace Name Mixin selector official NLahm;N:[Ljava/lang/String;intermediary field_5513Lnet/minecraft/class_1299;field_5513:[Ljava/lang/String;named field_5513Lnet/minecraft/block/AnvilBlock;field_5513:[Ljava/lang/String;
-
field_4998
- Mappings:
Namespace Name Mixin selector official bLahm;b:Iintermediary field_4998Lnet/minecraft/class_1299;field_4998:Inamed field_4998Lnet/minecraft/block/AnvilBlock;field_4998:I
-
field_5514
- Mappings:
Namespace Name Mixin selector official OLahm;O:[Lpr;intermediary field_5514Lnet/minecraft/class_1299;field_5514:[Lnet/minecraft/class_1557;named field_5514Lnet/minecraft/block/AnvilBlock;field_5514:[Lnet/minecraft/client/Texture;
-
-
Constructor Details
-
AnvilBlock
protected AnvilBlock()
-
-
Method Details
-
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
-
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
-
getTexture
- Overrides:
getTexturein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(II)Lpr;intermediary method_395Lnet/minecraft/class_197;method_395(II)Lnet/minecraft/class_1557;named getTextureLnet/minecraft/block/Block;getTexture(II)Lnet/minecraft/client/Texture;
-
registerTextures
- Overrides:
registerTexturesin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lps;)Vintermediary method_4791Lnet/minecraft/class_197;method_4791(Lnet/minecraft/class_1558;)Vnamed registerTexturesLnet/minecraft/block/Block;registerTextures(Lnet/minecraft/client/TextureRegistry;)V
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafm;IIILrg;Labo;)Vintermediary method_419Lnet/minecraft/class_197;method_419(Lnet/minecraft/class_1150;IIILnet/minecraft/class_1699;Lnet/minecraft/class_1071;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;IIILnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)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
-
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_431
public int method_431(int int2) - Overrides:
method_431in classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(I)Iintermediary method_431Lnet/minecraft/class_197;method_431(I)Inamed method_431Lnet/minecraft/block/Block;method_431(I)I
-
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
-
appendItemStacks
Appends ItemStacks to an itemgroup. Only called on the client.- Overrides:
appendItemStacksin classBlock- Parameters:
item- The Item that must be addedgroup- The ItemGroup that the item must be added tostacks- The list of currently added ItemStacks to the ItemGroup- Mappings:
Namespace Name Mixin selector official aLaht;a(Labm;Laae;Ljava/util/List;)Vintermediary method_399Lnet/minecraft/class_197;method_399(Lnet/minecraft/class_1069;Lnet/minecraft/class_1041;Ljava/util/List;)Vnamed appendItemStacksLnet/minecraft/block/Block;appendItemStacks(Lnet/minecraft/item/Item;Lnet/minecraft/item/itemgroup/ItemGroup;Ljava/util/List;)V
-
method_6481
- Overrides:
method_6481in classFallingBlock- Mappings:
Namespace Name Mixin selector official aLaji;a(Lvu;)Vintermediary method_6481Lnet/minecraft/class_1756;method_6481(Lnet/minecraft/class_963;)Vnamed method_6481Lnet/minecraft/block/FallingBlock;method_6481(Lnet/minecraft/entity/FallingBlockEntity;)V
-
method_6480
- Overrides:
method_6480in classFallingBlock- Mappings:
Namespace Name Mixin selector official aLaji;a(Lafm;IIII)Vintermediary method_6480Lnet/minecraft/class_1756;method_6480(Lnet/minecraft/class_1150;IIII)Vnamed method_6480Lnet/minecraft/block/FallingBlock;method_6480(Lnet/minecraft/world/World;IIII)V
-
shouldRenderSide
@Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData) - Overrides:
shouldRenderSidein classBlock- Mappings:
Namespace Name Mixin selector official aLaht;a(Lafw;IIII)Zintermediary method_447Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Znamed shouldRenderSideLnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
-