Package net.minecraft.world.event
Class GameEvent
java.lang.Object
net.minecraft.world.event.GameEvent
- Mappings:
Namespace Name official cwaintermediary net/minecraft/class_5712named net/minecraft/world/event/GameEvent
-
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 GameEventprivate final intprivate final RegistryEntry.Reference<GameEvent>static 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 aLcwa;a:Lcwa;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 bLcwa;b:Lcwa;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 cLcwa;c:Lcwa;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 dLcwa;d:Lcwa;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 eLcwa;e:Lcwa;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 fLcwa;f:Lcwa;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 gLcwa;g:Lcwa;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 hLcwa;h:Lcwa;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 iLcwa;i:Lcwa;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 jLcwa;j:Lcwa;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 kLcwa;k:Lcwa;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 lLcwa;l:Lcwa;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 mLcwa;m:Lcwa;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 nLcwa;n:Lcwa;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 oLcwa;o:Lcwa;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 pLcwa;p:Lcwa;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 qLcwa;q:Lcwa;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 rLcwa;r:Lcwa;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 sLcwa;s:Lcwa;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 tLcwa;t:Lcwa;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 uLcwa;u:Lcwa;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 vLcwa;v:Lcwa;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 wLcwa;w:Lcwa;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 xLcwa;x:Lcwa;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 yLcwa;y:Lcwa;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 zLcwa;z:Lcwa;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 ALcwa;A:Lcwa;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;
-
ITEM_INTERACT_FINISH
- Mappings:
Namespace Name Mixin selector official BLcwa;B:Lcwa;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 CLcwa;C:Lcwa;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;
-
LIGHTNING_STRIKE
- Mappings:
Namespace Name Mixin selector official DLcwa;D:Lcwa;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 ELcwa;E:Lcwa;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 FLcwa;F:Lcwa;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 GLcwa;G:Lcwa;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 HLcwa;H:Lcwa;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 ILcwa;I:Lcwa;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 JLcwa;J:Lcwa;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 KLcwa;K:Lcwa;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 LLcwa;L:Lcwa;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 MLcwa;M:Lcwa;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 NLcwa;N:Lcwa;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 OLcwa;O:Lcwa;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 PLcwa;P:Lcwa;intermediary field_28156Lnet/minecraft/class_5712;field_28156:Lnet/minecraft/class_5712;named SWIMLnet/minecraft/world/event/GameEvent;SWIM:Lnet/minecraft/world/event/GameEvent;
-
DEFAULT_RANGE
public static final int DEFAULT_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector official QLcwa;Q: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 RLcwa;R: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 SLcwa;S:Iintermediary field_28154Lnet/minecraft/class_5712;field_28154:Inamed rangeLnet/minecraft/world/event/GameEvent;range:I
-
registryEntry
- Mappings:
Namespace Name Mixin selector official TLcwa;T:Lgt$c;intermediary field_36412Lnet/minecraft/class_5712;field_36412:Lnet/minecraft/class_6880$class_6883;named registryEntryLnet/minecraft/world/event/GameEvent;registryEntry:Lnet/minecraft/util/registry/RegistryEntry$Reference;
-
-
Constructor Details
-
GameEvent
- Mappings:
Namespace Name Mixin selector official <init>Lcwa;<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 aLcwa;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 bLcwa;b()Iintermediary method_32941Lnet/minecraft/class_5712;method_32941()Inamed getRangeLnet/minecraft/world/event/GameEvent;getRange()I
-
register
- Mappings:
Namespace Name Mixin selector official aLcwa;a(Ljava/lang/String;)Lcwa;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 aLcwa;a(Ljava/lang/String;I)Lcwa;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 cLcwa;c()Lgt$c;intermediary method_40157Lnet/minecraft/class_5712;method_40157()Lnet/minecraft/class_6880$class_6883;named getRegistryEntryLnet/minecraft/world/event/GameEvent;getRegistryEntry()Lnet/minecraft/util/registry/RegistryEntry$Reference;
-
isIn
- Mappings:
Namespace Name Mixin selector official aLcwa;a(Lait;)Zintermediary method_40156Lnet/minecraft/class_5712;method_40156(Lnet/minecraft/class_6862;)Znamed isInLnet/minecraft/world/event/GameEvent;isIn(Lnet/minecraft/tag/TagKey;)Z
-