Class BlockEvent

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

public class BlockEvent
extends Object
Mappings:
Namespace Name
official bsy
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 Lbsy;a:Lfx;
      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 Lbsy;b:Lbwu;
      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 Lbsy;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 Lbsy;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> Lbsy;<init>(Lfx;Lbwu;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 Lbsy;a()Lfx;
      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 Lbsy;b()Lbwu;
      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 Lbsy;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 Lbsy;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 Lbsy;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
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lbsy;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1919;hashCode()I
      named hashCode Lnet/minecraft/server/world/BlockEvent;hashCode()I
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lbsy;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1919;toString()Ljava/lang/String;
      named toString Lnet/minecraft/server/world/BlockEvent;toString()Ljava/lang/String;