Package net.minecraft.world.event
Class GameEvent
java.lang.Object
net.minecraft.world.event.GameEvent
- Mappings:
Namespace Name official ddcintermediary 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 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 aLddc;a:Lddc;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 bLddc;b:Lddc;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 cLddc;c:Lddc;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 dLddc;d:Lddc;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 eLddc;e:Lddc;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 fLddc;f:Lddc;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 gLddc;g:Lddc;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 hLddc;h:Lddc;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 iLddc;i:Lddc;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 jLddc;j:Lddc;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 kLddc;k:Lddc;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 lLddc;l:Lddc;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 mLddc;m:Lddc;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 nLddc;n:Lddc;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 oLddc;o:Lddc;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 pLddc;p:Lddc;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 qLddc;q:Lddc;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_INTERACT
- Mappings:
Namespace Name Mixin selector official rLddc;r:Lddc;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_PLACE
- Mappings:
Namespace Name Mixin selector official sLddc;s:Lddc;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 tLddc;t:Lddc;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 uLddc;u:Lddc;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 vLddc;v:Lddc;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 wLddc;w:Lddc;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 xLddc;x:Lddc;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 yLddc;y:Lddc;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 zLddc;z:Lddc;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 ALddc;A:Lddc;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 BLddc;B:Lddc;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 CLddc;C:Lddc;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 DLddc;D:Lddc;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 ELddc;E:Lddc;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 FLddc;F:Lddc;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 GLddc;G:Lddc;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 HLddc;H:Lddc;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 ILddc;I:Lddc;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 JLddc;J:Lddc;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 KLddc;K:Lddc;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 LLddc;L:Lddc;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 MLddc;M:Lddc;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 NLddc;N:Lddc;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 OLddc;O:Lddc;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 PLddc;P:Lddc;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 QLddc;Q:Lddc;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 RLddc;R:Lddc;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 SLddc;S:Lddc;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 TLddc;T:Lddc;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 ULddc;U: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 VLddc;V: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 WLddc;W:Iintermediary field_28154Lnet/minecraft/class_5712;field_28154:Inamed rangeLnet/minecraft/world/event/GameEvent;range:I
-
registryEntry
- Mappings:
Namespace Name Mixin selector official XLddc;X:Lgz$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>Lddc;<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 aLddc;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 bLddc;b()Iintermediary method_32941Lnet/minecraft/class_5712;method_32941()Inamed getRangeLnet/minecraft/world/event/GameEvent;getRange()I
-
register
- Mappings:
Namespace Name Mixin selector official aLddc;a(Ljava/lang/String;)Lddc;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 aLddc;a(Ljava/lang/String;I)Lddc;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 cLddc;c()Lgz$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 aLddc;a(Lamr;)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
-