Package net.minecraft.world.event
Class GameEvent
java.lang.Object
net.minecraft.world.event.GameEvent
- Mappings:
Namespace Name official dfyintermediary net/minecraft/class_5712named net/minecraft/world/event/GameEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final intstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventprivate final Stringstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventprivate final intprivate final RegistryEntry.Reference<GameEvent>static final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEventstatic final GameEvent -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BLOCK_ACTIVATE
- Mappings:
Namespace Name Mixin selector official aLdfy;a:Ldfy;intermediary field_28174Lnet/minecraft/class_5712;field_28174:Lnet/minecraft/class_5712;named BLOCK_ACTIVATELnet/minecraft/world/event/GameEvent;BLOCK_ACTIVATE:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_ATTACH
- Mappings:
Namespace Name Mixin selector official bLdfy;b:Ldfy;intermediary field_28172Lnet/minecraft/class_5712;field_28172:Lnet/minecraft/class_5712;named BLOCK_ATTACHLnet/minecraft/world/event/GameEvent;BLOCK_ATTACH:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_CHANGE
- Mappings:
Namespace Name Mixin selector official cLdfy;c:Ldfy;intermediary field_28733Lnet/minecraft/class_5712;field_28733:Lnet/minecraft/class_5712;named BLOCK_CHANGELnet/minecraft/world/event/GameEvent;BLOCK_CHANGE:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_CLOSE
- Mappings:
Namespace Name Mixin selector official dLdfy;d:Ldfy;intermediary field_28169Lnet/minecraft/class_5712;field_28169:Lnet/minecraft/class_5712;named BLOCK_CLOSELnet/minecraft/world/event/GameEvent;BLOCK_CLOSE:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_DEACTIVATE
- Mappings:
Namespace Name Mixin selector official eLdfy;e:Ldfy;intermediary field_28175Lnet/minecraft/class_5712;field_28175:Lnet/minecraft/class_5712;named BLOCK_DEACTIVATELnet/minecraft/world/event/GameEvent;BLOCK_DEACTIVATE:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_DESTROY
- Mappings:
Namespace Name Mixin selector official fLdfy;f:Ldfy;intermediary field_28165Lnet/minecraft/class_5712;field_28165:Lnet/minecraft/class_5712;named BLOCK_DESTROYLnet/minecraft/world/event/GameEvent;BLOCK_DESTROY:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_DETACH
- Mappings:
Namespace Name Mixin selector official gLdfy;g:Ldfy;intermediary field_28173Lnet/minecraft/class_5712;field_28173:Lnet/minecraft/class_5712;named BLOCK_DETACHLnet/minecraft/world/event/GameEvent;BLOCK_DETACH:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_OPEN
- Mappings:
Namespace Name Mixin selector official hLdfy;h:Ldfy;intermediary field_28168Lnet/minecraft/class_5712;field_28168:Lnet/minecraft/class_5712;named BLOCK_OPENLnet/minecraft/world/event/GameEvent;BLOCK_OPEN:Lnet/minecraft/world/event/GameEvent;
-
BLOCK_PLACE
- Mappings:
Namespace Name Mixin selector official iLdfy;i:Ldfy;intermediary field_28164Lnet/minecraft/class_5712;field_28164:Lnet/minecraft/class_5712;named BLOCK_PLACELnet/minecraft/world/event/GameEvent;BLOCK_PLACE:Lnet/minecraft/world/event/GameEvent;
-
CONTAINER_CLOSE
- Mappings:
Namespace Name Mixin selector official jLdfy;j:Ldfy;intermediary field_28177Lnet/minecraft/class_5712;field_28177:Lnet/minecraft/class_5712;named CONTAINER_CLOSELnet/minecraft/world/event/GameEvent;CONTAINER_CLOSE:Lnet/minecraft/world/event/GameEvent;
-
CONTAINER_OPEN
- Mappings:
Namespace Name Mixin selector official kLdfy;k:Ldfy;intermediary field_28176Lnet/minecraft/class_5712;field_28176:Lnet/minecraft/class_5712;named CONTAINER_OPENLnet/minecraft/world/event/GameEvent;CONTAINER_OPEN:Lnet/minecraft/world/event/GameEvent;
-
DISPENSE_FAIL
- Mappings:
Namespace Name Mixin selector official lLdfy;l:Ldfy;intermediary field_28144Lnet/minecraft/class_5712;field_28144:Lnet/minecraft/class_5712;named DISPENSE_FAILLnet/minecraft/world/event/GameEvent;DISPENSE_FAIL:Lnet/minecraft/world/event/GameEvent;
-
DRINK
- Mappings:
Namespace Name Mixin selector official mLdfy;m:Ldfy;intermediary field_28734Lnet/minecraft/class_5712;field_28734:Lnet/minecraft/class_5712;named DRINKLnet/minecraft/world/event/GameEvent;DRINK:Lnet/minecraft/world/event/GameEvent;
-
EAT
- Mappings:
Namespace Name Mixin selector official nLdfy;n:Ldfy;intermediary field_28735Lnet/minecraft/class_5712;field_28735:Lnet/minecraft/class_5712;named EATLnet/minecraft/world/event/GameEvent;EAT:Lnet/minecraft/world/event/GameEvent;
-
ELYTRA_GLIDE
- Mappings:
Namespace Name Mixin selector official oLdfy;o:Ldfy;intermediary field_28158Lnet/minecraft/class_5712;field_28158:Lnet/minecraft/class_5712;named ELYTRA_GLIDELnet/minecraft/world/event/GameEvent;ELYTRA_GLIDE:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_DAMAGE
- Mappings:
Namespace Name Mixin selector official pLdfy;p:Ldfy;intermediary field_28736Lnet/minecraft/class_5712;field_28736:Lnet/minecraft/class_5712;named ENTITY_DAMAGELnet/minecraft/world/event/GameEvent;ENTITY_DAMAGE:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_DIE
- Mappings:
Namespace Name Mixin selector official qLdfy;q:Ldfy;intermediary field_37676Lnet/minecraft/class_5712;field_37676:Lnet/minecraft/class_5712;named ENTITY_DIELnet/minecraft/world/event/GameEvent;ENTITY_DIE:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_DISMOUNT
- Mappings:
Namespace Name Mixin selector official rLdfy;r:Ldfy;intermediary field_42479Lnet/minecraft/class_5712;field_42479:Lnet/minecraft/class_5712;named ENTITY_DISMOUNTLnet/minecraft/world/event/GameEvent;ENTITY_DISMOUNT:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_INTERACT
- Mappings:
Namespace Name Mixin selector official sLdfy;s:Ldfy;intermediary field_28725Lnet/minecraft/class_5712;field_28725:Lnet/minecraft/class_5712;named ENTITY_INTERACTLnet/minecraft/world/event/GameEvent;ENTITY_INTERACT:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_MOUNT
- Mappings:
Namespace Name Mixin selector official tLdfy;t:Ldfy;intermediary field_42480Lnet/minecraft/class_5712;field_42480:Lnet/minecraft/class_5712;named ENTITY_MOUNTLnet/minecraft/world/event/GameEvent;ENTITY_MOUNT:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_PLACE
- Mappings:
Namespace Name Mixin selector official uLdfy;u:Ldfy;intermediary field_28738Lnet/minecraft/class_5712;field_28738:Lnet/minecraft/class_5712;named ENTITY_PLACELnet/minecraft/world/event/GameEvent;ENTITY_PLACE:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_ROAR
- Mappings:
Namespace Name Mixin selector official vLdfy;v:Ldfy;intermediary field_28728Lnet/minecraft/class_5712;field_28728:Lnet/minecraft/class_5712;named ENTITY_ROARLnet/minecraft/world/event/GameEvent;ENTITY_ROAR:Lnet/minecraft/world/event/GameEvent;
-
ENTITY_SHAKE
- Mappings:
Namespace Name Mixin selector official wLdfy;w:Ldfy;intermediary field_28180Lnet/minecraft/class_5712;field_28180:Lnet/minecraft/class_5712;named ENTITY_SHAKELnet/minecraft/world/event/GameEvent;ENTITY_SHAKE:Lnet/minecraft/world/event/GameEvent;
-
EQUIP
- Mappings:
Namespace Name Mixin selector official xLdfy;x:Ldfy;intermediary field_28739Lnet/minecraft/class_5712;field_28739:Lnet/minecraft/class_5712;named EQUIPLnet/minecraft/world/event/GameEvent;EQUIP:Lnet/minecraft/world/event/GameEvent;
-
EXPLODE
- Mappings:
Namespace Name Mixin selector official yLdfy;y:Ldfy;intermediary field_28178Lnet/minecraft/class_5712;field_28178:Lnet/minecraft/class_5712;named EXPLODELnet/minecraft/world/event/GameEvent;EXPLODE:Lnet/minecraft/world/event/GameEvent;
-
FLAP
- Mappings:
Namespace Name Mixin selector official zLdfy;z:Ldfy;intermediary field_28157Lnet/minecraft/class_5712;field_28157:Lnet/minecraft/class_5712;named FLAPLnet/minecraft/world/event/GameEvent;FLAP:Lnet/minecraft/world/event/GameEvent;
-
FLUID_PICKUP
- Mappings:
Namespace Name Mixin selector official ALdfy;A:Ldfy;intermediary field_28167Lnet/minecraft/class_5712;field_28167:Lnet/minecraft/class_5712;named FLUID_PICKUPLnet/minecraft/world/event/GameEvent;FLUID_PICKUP:Lnet/minecraft/world/event/GameEvent;
-
FLUID_PLACE
- Mappings:
Namespace Name Mixin selector official BLdfy;B:Ldfy;intermediary field_28166Lnet/minecraft/class_5712;field_28166:Lnet/minecraft/class_5712;named FLUID_PLACELnet/minecraft/world/event/GameEvent;FLUID_PLACE:Lnet/minecraft/world/event/GameEvent;
-
HIT_GROUND
- Mappings:
Namespace Name Mixin selector official CLdfy;C:Ldfy;intermediary field_28159Lnet/minecraft/class_5712;field_28159:Lnet/minecraft/class_5712;named HIT_GROUNDLnet/minecraft/world/event/GameEvent;HIT_GROUND:Lnet/minecraft/world/event/GameEvent;
-
INSTRUMENT_PLAY
- Mappings:
Namespace Name Mixin selector official DLdfy;D:Ldfy;intermediary field_39415Lnet/minecraft/class_5712;field_39415:Lnet/minecraft/class_5712;named INSTRUMENT_PLAYLnet/minecraft/world/event/GameEvent;INSTRUMENT_PLAY:Lnet/minecraft/world/event/GameEvent;
-
ITEM_INTERACT_FINISH
- Mappings:
Namespace Name Mixin selector official ELdfy;E:Ldfy;intermediary field_28146Lnet/minecraft/class_5712;field_28146:Lnet/minecraft/class_5712;named ITEM_INTERACT_FINISHLnet/minecraft/world/event/GameEvent;ITEM_INTERACT_FINISH:Lnet/minecraft/world/event/GameEvent;
-
ITEM_INTERACT_START
- Mappings:
Namespace Name Mixin selector official FLdfy;F:Ldfy;intermediary field_28145Lnet/minecraft/class_5712;field_28145:Lnet/minecraft/class_5712;named ITEM_INTERACT_STARTLnet/minecraft/world/event/GameEvent;ITEM_INTERACT_START:Lnet/minecraft/world/event/GameEvent;
-
JUKEBOX_PLAY
- Mappings:
Namespace Name Mixin selector official GLdfy;G:Ldfy;intermediary field_39485Lnet/minecraft/class_5712;field_39485:Lnet/minecraft/class_5712;named JUKEBOX_PLAYLnet/minecraft/world/event/GameEvent;JUKEBOX_PLAY:Lnet/minecraft/world/event/GameEvent;
-
JUKEBOX_STOP_PLAY
- Mappings:
Namespace Name Mixin selector official HLdfy;H:Ldfy;intermediary field_39486Lnet/minecraft/class_5712;field_39486:Lnet/minecraft/class_5712;named JUKEBOX_STOP_PLAYLnet/minecraft/world/event/GameEvent;JUKEBOX_STOP_PLAY:Lnet/minecraft/world/event/GameEvent;
-
LIGHTNING_STRIKE
- Mappings:
Namespace Name Mixin selector official ILdfy;I:Ldfy;intermediary field_28152Lnet/minecraft/class_5712;field_28152:Lnet/minecraft/class_5712;named LIGHTNING_STRIKELnet/minecraft/world/event/GameEvent;LIGHTNING_STRIKE:Lnet/minecraft/world/event/GameEvent;
-
NOTE_BLOCK_PLAY
- Mappings:
Namespace Name Mixin selector official JLdfy;J:Ldfy;intermediary field_38425Lnet/minecraft/class_5712;field_38425:Lnet/minecraft/class_5712;named NOTE_BLOCK_PLAYLnet/minecraft/world/event/GameEvent;NOTE_BLOCK_PLAY:Lnet/minecraft/world/event/GameEvent;
-
PISTON_CONTRACT
- Mappings:
Namespace Name Mixin selector official KLdfy;K:Ldfy;intermediary field_28148Lnet/minecraft/class_5712;field_28148:Lnet/minecraft/class_5712;named PISTON_CONTRACTLnet/minecraft/world/event/GameEvent;PISTON_CONTRACT:Lnet/minecraft/world/event/GameEvent;
-
PISTON_EXTEND
- Mappings:
Namespace Name Mixin selector official LLdfy;L:Ldfy;intermediary field_28147Lnet/minecraft/class_5712;field_28147:Lnet/minecraft/class_5712;named PISTON_EXTENDLnet/minecraft/world/event/GameEvent;PISTON_EXTEND:Lnet/minecraft/world/event/GameEvent;
-
PRIME_FUSE
- Mappings:
Namespace Name Mixin selector official MLdfy;M:Ldfy;intermediary field_28727Lnet/minecraft/class_5712;field_28727:Lnet/minecraft/class_5712;named PRIME_FUSELnet/minecraft/world/event/GameEvent;PRIME_FUSE:Lnet/minecraft/world/event/GameEvent;
-
PROJECTILE_LAND
- Mappings:
Namespace Name Mixin selector official NLdfy;N:Ldfy;intermediary field_28162Lnet/minecraft/class_5712;field_28162:Lnet/minecraft/class_5712;named PROJECTILE_LANDLnet/minecraft/world/event/GameEvent;PROJECTILE_LAND:Lnet/minecraft/world/event/GameEvent;
-
PROJECTILE_SHOOT
- Mappings:
Namespace Name Mixin selector official OLdfy;O:Ldfy;intermediary field_28161Lnet/minecraft/class_5712;field_28161:Lnet/minecraft/class_5712;named PROJECTILE_SHOOTLnet/minecraft/world/event/GameEvent;PROJECTILE_SHOOT:Lnet/minecraft/world/event/GameEvent;
-
SCULK_SENSOR_TENDRILS_CLICKING
- Mappings:
Namespace Name Mixin selector official PLdfy;P:Ldfy;intermediary field_38243Lnet/minecraft/class_5712;field_38243:Lnet/minecraft/class_5712;named SCULK_SENSOR_TENDRILS_CLICKINGLnet/minecraft/world/event/GameEvent;SCULK_SENSOR_TENDRILS_CLICKING:Lnet/minecraft/world/event/GameEvent;
-
SHEAR
- Mappings:
Namespace Name Mixin selector official QLdfy;Q:Ldfy;intermediary field_28730Lnet/minecraft/class_5712;field_28730:Lnet/minecraft/class_5712;named SHEARLnet/minecraft/world/event/GameEvent;SHEAR:Lnet/minecraft/world/event/GameEvent;
-
SHRIEK
- Mappings:
Namespace Name Mixin selector official RLdfy;R:Ldfy;intermediary field_38244Lnet/minecraft/class_5712;field_38244:Lnet/minecraft/class_5712;named SHRIEKLnet/minecraft/world/event/GameEvent;SHRIEK:Lnet/minecraft/world/event/GameEvent;
-
SPLASH
- Mappings:
Namespace Name Mixin selector official SLdfy;S:Ldfy;intermediary field_28160Lnet/minecraft/class_5712;field_28160:Lnet/minecraft/class_5712;named SPLASHLnet/minecraft/world/event/GameEvent;SPLASH:Lnet/minecraft/world/event/GameEvent;
-
STEP
- Mappings:
Namespace Name Mixin selector official TLdfy;T:Ldfy;intermediary field_28155Lnet/minecraft/class_5712;field_28155:Lnet/minecraft/class_5712;named STEPLnet/minecraft/world/event/GameEvent;STEP:Lnet/minecraft/world/event/GameEvent;
-
SWIM
- Mappings:
Namespace Name Mixin selector official ULdfy;U:Ldfy;intermediary field_28156Lnet/minecraft/class_5712;field_28156:Lnet/minecraft/class_5712;named SWIMLnet/minecraft/world/event/GameEvent;SWIM:Lnet/minecraft/world/event/GameEvent;
-
TELEPORT
- Mappings:
Namespace Name Mixin selector official VLdfy;V:Ldfy;intermediary field_39446Lnet/minecraft/class_5712;field_39446:Lnet/minecraft/class_5712;named TELEPORTLnet/minecraft/world/event/GameEvent;TELEPORT:Lnet/minecraft/world/event/GameEvent;
-
DEFAULT_RANGE
public static final int DEFAULT_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official WLdfy;W:Iintermediary field_31449Lnet/minecraft/class_5712;field_31449:Inamed DEFAULT_RANGELnet/minecraft/world/event/GameEvent;DEFAULT_RANGE:I
-
id
- Mappings:
Namespace Name Mixin selector official XLdfy;X:Ljava/lang/String;intermediary field_28153Lnet/minecraft/class_5712;field_28153:Ljava/lang/String;named idLnet/minecraft/world/event/GameEvent;id:Ljava/lang/String;
-
range
private final int range- Mappings:
Namespace Name Mixin selector official YLdfy;Y:Iintermediary field_28154Lnet/minecraft/class_5712;field_28154:Inamed rangeLnet/minecraft/world/event/GameEvent;range:I
-
registryEntry
- Mappings:
Namespace Name Mixin selector official ZLdfy;Z:Lhc$c;intermediary field_36412Lnet/minecraft/class_5712;field_36412:Lnet/minecraft/class_6880$class_6883;named registryEntryLnet/minecraft/world/event/GameEvent;registryEntry:Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
-
Constructor Details
-
GameEvent
- Mappings:
Namespace Name Mixin selector official <init>Ldfy;<init>(Ljava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_5712;<init>(Ljava/lang/String;I)Vnamed <init>Lnet/minecraft/world/event/GameEvent;<init>(Ljava/lang/String;I)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official aLdfy;a()Ljava/lang/String;intermediary method_32938Lnet/minecraft/class_5712;method_32938()Ljava/lang/String;named getIdLnet/minecraft/world/event/GameEvent;getId()Ljava/lang/String;
-
getRange
public int getRange()- Mappings:
Namespace Name Mixin selector official bLdfy;b()Iintermediary method_32941Lnet/minecraft/class_5712;method_32941()Inamed getRangeLnet/minecraft/world/event/GameEvent;getRange()I
-
register
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Ljava/lang/String;)Ldfy;intermediary method_32939Lnet/minecraft/class_5712;method_32939(Ljava/lang/String;)Lnet/minecraft/class_5712;named registerLnet/minecraft/world/event/GameEvent;register(Ljava/lang/String;)Lnet/minecraft/world/event/GameEvent;
-
register
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Ljava/lang/String;I)Ldfy;intermediary method_32940Lnet/minecraft/class_5712;method_32940(Ljava/lang/String;I)Lnet/minecraft/class_5712;named registerLnet/minecraft/world/event/GameEvent;register(Ljava/lang/String;I)Lnet/minecraft/world/event/GameEvent;
-
toString
-
getRegistryEntry
Deprecated.- Mappings:
Namespace Name Mixin selector official cLdfy;c()Lhc$c;intermediary method_40157Lnet/minecraft/class_5712;method_40157()Lnet/minecraft/class_6880$class_6883;named getRegistryEntryLnet/minecraft/world/event/GameEvent;getRegistryEntry()Lnet/minecraft/registry/entry/RegistryEntry$Reference;
-
isIn
- Mappings:
Namespace Name Mixin selector official aLdfy;a(Lanu;)Zintermediary method_40156Lnet/minecraft/class_5712;method_40156(Lnet/minecraft/class_6862;)Znamed isInLnet/minecraft/world/event/GameEvent;isIn(Lnet/minecraft/registry/tag/TagKey;)Z
-