Class BlockEvent

java.lang.Object
net.minecraft.server.world.BlockEvent

public class BlockEvent extends Object
Mappings:
Namespace Name
official bvs
intermediary net/minecraft/class_1919
named net/minecraft/server/world/BlockEvent
  • Field Details

    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official a Lbvs;a:Lgg;
      intermediary field_9173 Lnet/minecraft/class_1919;field_9173:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/server/world/BlockEvent;pos:Lnet/minecraft/util/math/BlockPos;
    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official b Lbvs;b:Lbzo;
      intermediary field_9172 Lnet/minecraft/class_1919;field_9172:Lnet/minecraft/class_2248;
      named block Lnet/minecraft/server/world/BlockEvent;block:Lnet/minecraft/block/Block;
    • type

      private final int type
      Mappings:
      Namespace Name Mixin selector
      official c Lbvs;c:I
      intermediary field_9171 Lnet/minecraft/class_1919;field_9171:I
      named type Lnet/minecraft/server/world/BlockEvent;type:I
    • data

      private final int data
      Mappings:
      Namespace Name Mixin selector
      official d Lbvs;d:I
      intermediary field_9170 Lnet/minecraft/class_1919;field_9170:I
      named data Lnet/minecraft/server/world/BlockEvent;data:I
  • Constructor Details

    • BlockEvent

      public BlockEvent(BlockPos pos, Block block, int type, int data)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvs;<init>(Lgg;Lbzo;II)V
      intermediary <init> Lnet/minecraft/class_1919;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
      named <init> Lnet/minecraft/server/world/BlockEvent;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
  • Method Details

    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official a Lbvs;a()Lgg;
      intermediary method_8306 Lnet/minecraft/class_1919;method_8306()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/server/world/BlockEvent;getPos()Lnet/minecraft/util/math/BlockPos;
    • getBlock

      public Block getBlock()
      Mappings:
      Namespace Name Mixin selector
      official b Lbvs;b()Lbzo;
      intermediary method_8309 Lnet/minecraft/class_1919;method_8309()Lnet/minecraft/class_2248;
      named getBlock Lnet/minecraft/server/world/BlockEvent;getBlock()Lnet/minecraft/block/Block;
    • getType

      public int getType()
      Mappings:
      Namespace Name Mixin selector
      official c Lbvs;c()I
      intermediary method_8307 Lnet/minecraft/class_1919;method_8307()I
      named getType Lnet/minecraft/server/world/BlockEvent;getType()I
    • getData

      public int getData()
      Mappings:
      Namespace Name Mixin selector
      official d Lbvs;d()I
      intermediary method_8308 Lnet/minecraft/class_1919;method_8308()I
      named getData Lnet/minecraft/server/world/BlockEvent;getData()I
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lbvs;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1919;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/server/world/BlockEvent;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object