Class DragonEggBlock

java.lang.Object
net.minecraft.block.Block
net.minecraft.block.DragonEggBlock

public class DragonEggBlock extends Block
Mappings:
Namespace Name
official aja
intermediary net/minecraft/class_130
named net/minecraft/block/DragonEggBlock
  • Constructor Details

    • DragonEggBlock

      public DragonEggBlock()
  • Method Details

    • breakNaturally

      public void breakNaturally(World world, int x, int y, int z)
      Overrides:
      breakNaturally in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b(Lafm;III)V
      intermediary method_460 Lnet/minecraft/class_197;method_460(Lnet/minecraft/class_1150;III)V
      named breakNaturally Lnet/minecraft/block/Block;breakNaturally(Lnet/minecraft/world/World;III)V
    • onNeighborUpdate

      public void onNeighborUpdate(World world, int x, int y, int z, Block block)
      Overrides:
      onNeighborUpdate in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILaht;)V
      intermediary method_408 Lnet/minecraft/class_197;method_408(Lnet/minecraft/class_1150;IIILnet/minecraft/class_197;)V
      named onNeighborUpdate Lnet/minecraft/block/Block;onNeighborUpdate(Lnet/minecraft/world/World;IIILnet/minecraft/block/Block;)V
    • onTick

      public void onTick(World world, int x, int y, int z, Random random)
      Overrides:
      onTick in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILjava/util/Random;)V
      intermediary method_436 Lnet/minecraft/class_197;method_436(Lnet/minecraft/class_1150;IIILjava/util/Random;)V
      named onTick Lnet/minecraft/block/Block;onTick(Lnet/minecraft/world/World;IIILjava/util/Random;)V
    • method_307

      private void method_307(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official e Laja;e(Lafm;III)V
      intermediary method_307 Lnet/minecraft/class_130;method_307(Lnet/minecraft/class_1150;III)V
      named method_307 Lnet/minecraft/block/DragonEggBlock;method_307(Lnet/minecraft/world/World;III)V
    • onActivated

      public boolean onActivated(World world, int x, int y, int z, PlayerEntity player, int int2, float float2, float float3, float float4)
      Overrides:
      onActivated in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILxk;IFFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;IFFF)Z
      named onActivated Lnet/minecraft/block/Block;onActivated(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;IFFF)Z
    • method_420

      public void method_420(World world, int int2, int int3, int int4, PlayerEntity playerEntity)
      Overrides:
      method_420 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;IIILxk;)V
      intermediary method_420 Lnet/minecraft/class_197;method_420(Lnet/minecraft/class_1150;IIILnet/minecraft/class_988;)V
      named method_420 Lnet/minecraft/block/Block;method_420(Lnet/minecraft/world/World;IIILnet/minecraft/entity/player/PlayerEntity;)V
    • method_308

      private void method_308(World world, int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official m Laja;m(Lafm;III)V
      intermediary method_308 Lnet/minecraft/class_130;method_308(Lnet/minecraft/class_1150;III)V
      named method_308 Lnet/minecraft/block/DragonEggBlock;method_308(Lnet/minecraft/world/World;III)V
    • getTickRate

      public int getTickRate(World world)
      Returns the block's tick rate. Default is 10.
      Overrides:
      getTickRate in class Block
      Parameters:
      world - The world that the block is placed in
      Returns:
      Tick rate
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafm;)I
      intermediary method_4789 Lnet/minecraft/class_197;method_4789(Lnet/minecraft/class_1150;)I
      named getTickRate Lnet/minecraft/block/Block;getTickRate(Lnet/minecraft/world/World;)I
    • hasTransperancy

      public boolean hasTransperancy()
      Overrides:
      hasTransperancy in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Laht;c()Z
      intermediary method_449 Lnet/minecraft/class_197;method_449()Z
      named hasTransperancy Lnet/minecraft/block/Block;hasTransperancy()Z
    • renderAsNormalBlock

      public boolean renderAsNormalBlock()
      Returns whether the block can be rendered as a normal block
      Overrides:
      renderAsNormalBlock in class Block
      Returns:
      Whether the block can be rendered as a normal block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d()Z
      intermediary method_441 Lnet/minecraft/class_197;method_441()Z
      named renderAsNormalBlock Lnet/minecraft/block/Block;renderAsNormalBlock()Z
    • shouldRenderSide

      @Environment(CLIENT) public boolean shouldRenderSide(BlockView world, int x, int y, int z, int blockData)
      Overrides:
      shouldRenderSide in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Laht;a(Lafw;IIII)Z
      intermediary method_447 Lnet/minecraft/class_197;method_447(Lnet/minecraft/class_1158;IIII)Z
      named shouldRenderSide Lnet/minecraft/block/Block;shouldRenderSide(Lnet/minecraft/world/BlockView;IIII)Z
    • getBlockType

      public int getBlockType()
      Overrides:
      getBlockType in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Laht;b()I
      intermediary method_429 Lnet/minecraft/class_197;method_429()I
      named getBlockType Lnet/minecraft/block/Block;getBlockType()I
    • method_407

      @Environment(CLIENT) public Item method_407(World world, int int2, int int3, int int4)
      Overrides:
      method_407 in class Block
      Mappings:
      Namespace Name Mixin selector
      official d Laht;d(Lafm;III)Labm;
      intermediary method_407 Lnet/minecraft/class_197;method_407(Lnet/minecraft/class_1150;III)Lnet/minecraft/class_1069;
      named method_407 Lnet/minecraft/block/Block;method_407(Lnet/minecraft/world/World;III)Lnet/minecraft/item/Item;