类 BlockEvent
- java.lang.Object
-
- net.minecraft.server.world.BlockEvent
-
public class BlockEvent extends Object
- Mappings:
Namespace Name official buuintermediary net/minecraft/class_1919named net/minecraft/server/world/BlockEvent
-
-
构造器概要
构造器 构造器 说明 BlockEvent(BlockPos pos, Block block, int type, int data)
-
-
-
字段详细资料
-
pos
private final BlockPos pos
- Mappings:
Namespace Name Mixin selector official aLbuu;a:Lgb;intermediary field_9173Lnet/minecraft/class_1919;field_9173:Lnet/minecraft/class_2338;named posLnet/minecraft/server/world/BlockEvent;pos:Lnet/minecraft/util/math/BlockPos;
-
block
private final Block block
- Mappings:
Namespace Name Mixin selector official bLbuu;b:Lbyq;intermediary field_9172Lnet/minecraft/class_1919;field_9172:Lnet/minecraft/class_2248;named blockLnet/minecraft/server/world/BlockEvent;block:Lnet/minecraft/block/Block;
-
type
private final int type
- Mappings:
Namespace Name Mixin selector official cLbuu;c:Iintermediary field_9171Lnet/minecraft/class_1919;field_9171:Inamed typeLnet/minecraft/server/world/BlockEvent;type:I
-
data
private final int data
- Mappings:
Namespace Name Mixin selector official dLbuu;d:Iintermediary field_9170Lnet/minecraft/class_1919;field_9170:Inamed dataLnet/minecraft/server/world/BlockEvent;data:I
-
-
构造器详细资料
-
BlockEvent
public BlockEvent(BlockPos pos, Block block, int type, int data)
- Mappings:
Namespace Name Mixin selector official <init>Lbuu;<init>(Lgb;Lbyq;II)Vintermediary <init>Lnet/minecraft/class_1919;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)Vnamed <init>Lnet/minecraft/server/world/BlockEvent;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
-
-
方法详细资料
-
getPos
public BlockPos getPos()
- Mappings:
Namespace Name Mixin selector official aLbuu;a()Lgb;intermediary method_8306Lnet/minecraft/class_1919;method_8306()Lnet/minecraft/class_2338;named getPosLnet/minecraft/server/world/BlockEvent;getPos()Lnet/minecraft/util/math/BlockPos;
-
getBlock
public Block getBlock()
- Mappings:
Namespace Name Mixin selector official bLbuu;b()Lbyq;intermediary method_8309Lnet/minecraft/class_1919;method_8309()Lnet/minecraft/class_2248;named getBlockLnet/minecraft/server/world/BlockEvent;getBlock()Lnet/minecraft/block/Block;
-
getType
public int getType()
- Mappings:
Namespace Name Mixin selector official cLbuu;c()Iintermediary method_8307Lnet/minecraft/class_1919;method_8307()Inamed getTypeLnet/minecraft/server/world/BlockEvent;getType()I
-
getData
public int getData()
- Mappings:
Namespace Name Mixin selector official dLbuu;d()Iintermediary method_8308Lnet/minecraft/class_1919;method_8308()Inamed getDataLnet/minecraft/server/world/BlockEvent;getData()I
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toString
public String toString()
-
-