net.minecraft.world.event

public record GameEvent

net.minecraft.world.level.gameevent.GameEvent
net.minecraft.class_5712
net.minecraft.world.event.GameEvent

Field summary

Modifier and TypeField
private final int
notificationRadius
comp_2193
notificationRadius
public static final RegistryEntry$Reference<GameEvent>
BLOCK_ACTIVATE
field_28174
BLOCK_ACTIVATE
public static final RegistryEntry$Reference<GameEvent>
BLOCK_ATTACH
field_28172
BLOCK_ATTACH
public static final RegistryEntry$Reference<GameEvent>
BLOCK_CHANGE
field_28733
BLOCK_CHANGE
public static final RegistryEntry$Reference<GameEvent>
BLOCK_CLOSE
field_28169
BLOCK_CLOSE
public static final RegistryEntry$Reference<GameEvent>
BLOCK_DEACTIVATE
field_28175
BLOCK_DEACTIVATE
public static final RegistryEntry$Reference<GameEvent>
BLOCK_DESTROY
field_28165
BLOCK_DESTROY
public static final RegistryEntry$Reference<GameEvent>
BLOCK_DETACH
field_28173
BLOCK_DETACH
public static final RegistryEntry$Reference<GameEvent>
BLOCK_OPEN
field_28168
BLOCK_OPEN
public static final RegistryEntry$Reference<GameEvent>
BLOCK_PLACE
field_28164
BLOCK_PLACE
public static final RegistryEntry$Reference<GameEvent>
BOUNCE
field_1_3655
BOUNCE
public static final RegistryEntry$Reference<GameEvent>
CONTAINER_CLOSE
field_28177
CONTAINER_CLOSE
public static final RegistryEntry$Reference<GameEvent>
CONTAINER_OPEN
field_28176
CONTAINER_OPEN
public static final RegistryEntry$Reference<GameEvent>
DRINK
field_28734
DRINK
public static final RegistryEntry$Reference<GameEvent>
EAT
field_28735
EAT
public static final RegistryEntry$Reference<GameEvent>
ELYTRA_GLIDE
field_28158
ELYTRA_GLIDE
public static final RegistryEntry$Reference<GameEvent>
ENTITY_DAMAGE
field_28736
ENTITY_DAMAGE
public static final RegistryEntry$Reference<GameEvent>
ENTITY_DIE
field_37676
ENTITY_DIE
public static final RegistryEntry$Reference<GameEvent>
ENTITY_DISMOUNT
field_42479
ENTITY_DISMOUNT
public static final RegistryEntry$Reference<GameEvent>
ENTITY_INTERACT
field_28725
ENTITY_INTERACT
public static final RegistryEntry$Reference<GameEvent>
ENTITY_MOUNT
field_42480
ENTITY_MOUNT
public static final RegistryEntry$Reference<GameEvent>
ENTITY_PLACE
field_28738
ENTITY_PLACE
public static final RegistryEntry$Reference<GameEvent>
ENTITY_ACTION
field_45148
ENTITY_ACTION
public static final RegistryEntry$Reference<GameEvent>
EQUIP
field_28739
EQUIP
public static final RegistryEntry$Reference<GameEvent>
EXPLODE
field_28178
EXPLODE
public static final RegistryEntry$Reference<GameEvent>
FLAP
field_28157
FLAP
public static final RegistryEntry$Reference<GameEvent>
FLUID_PICKUP
field_28167
FLUID_PICKUP
public static final RegistryEntry$Reference<GameEvent>
FLUID_PLACE
field_28166
FLUID_PLACE
public static final RegistryEntry$Reference<GameEvent>
HIT_GROUND
field_28159
HIT_GROUND
public static final RegistryEntry$Reference<GameEvent>
INSTRUMENT_PLAY
field_39415
INSTRUMENT_PLAY
public static final RegistryEntry$Reference<GameEvent>
ITEM_INTERACT_FINISH
field_28146
ITEM_INTERACT_FINISH
public static final RegistryEntry$Reference<GameEvent>
ITEM_INTERACT_START
field_28145
ITEM_INTERACT_START
public static final RegistryEntry$Reference<GameEvent>
JUKEBOX_PLAY
field_39485
JUKEBOX_PLAY
public static final RegistryEntry$Reference<GameEvent>
JUKEBOX_STOP_PLAY
field_39486
JUKEBOX_STOP_PLAY
public static final RegistryEntry$Reference<GameEvent>
LIGHTNING_STRIKE
field_28152
LIGHTNING_STRIKE
public static final RegistryEntry$Reference<GameEvent>
NOTE_BLOCK_PLAY
field_38425
NOTE_BLOCK_PLAY
public static final RegistryEntry$Reference<GameEvent>
PRIME_FUSE
field_28727
PRIME_FUSE
public static final RegistryEntry$Reference<GameEvent>
PROJECTILE_LAND
field_28162
PROJECTILE_LAND
public static final RegistryEntry$Reference<GameEvent>
PROJECTILE_SHOOT
field_28161
PROJECTILE_SHOOT
public static final RegistryEntry$Reference<GameEvent>
SCULK_SENSOR_TENDRILS_CLICKING
field_38243
SCULK_SENSOR_TENDRILS_CLICKING
public static final RegistryEntry$Reference<GameEvent>
SHEAR
field_28730
SHEAR
public static final RegistryEntry$Reference<GameEvent>
SHRIEK
field_38244
SHRIEK
public static final RegistryEntry$Reference<GameEvent>
SPLASH
field_28160
SPLASH
public static final RegistryEntry$Reference<GameEvent>
STEP
field_28155
STEP
public static final RegistryEntry$Reference<GameEvent>
SWIM
field_28156
SWIM
public static final RegistryEntry$Reference<GameEvent>
TELEPORT
field_39446
TELEPORT
public static final RegistryEntry$Reference<GameEvent>
UNEQUIP
field_45787
UNEQUIP
public static final RegistryEntry$Reference<GameEvent>
RESONATE_1
field_43308
RESONATE_1
public static final RegistryEntry$Reference<GameEvent>
RESONATE_2
field_43309
RESONATE_2
public static final RegistryEntry$Reference<GameEvent>
RESONATE_3
field_43310
RESONATE_3
public static final RegistryEntry$Reference<GameEvent>
RESONATE_4
field_43311
RESONATE_4
public static final RegistryEntry$Reference<GameEvent>
RESONATE_5
field_43312
RESONATE_5
public static final RegistryEntry$Reference<GameEvent>
RESONATE_6
field_43313
RESONATE_6
public static final RegistryEntry$Reference<GameEvent>
RESONATE_7
field_43314
RESONATE_7
public static final RegistryEntry$Reference<GameEvent>
RESONATE_8
field_43315
RESONATE_8
public static final RegistryEntry$Reference<GameEvent>
RESONATE_9
field_43316
RESONATE_9
public static final RegistryEntry$Reference<GameEvent>
RESONATE_10
field_43317
RESONATE_10
public static final RegistryEntry$Reference<GameEvent>
RESONATE_11
field_43318
RESONATE_11
public static final RegistryEntry$Reference<GameEvent>
RESONATE_12
field_43319
RESONATE_12
public static final RegistryEntry$Reference<GameEvent>
RESONATE_13
field_43320
RESONATE_13
public static final RegistryEntry$Reference<GameEvent>
RESONATE_14
field_43321
RESONATE_14
public static final RegistryEntry$Reference<GameEvent>
RESONATE_15
field_43322
RESONATE_15
public static final int
DEFAULT_NOTIFICATION_RADIUS
field_31449
DEFAULT_RANGE
public static final com.mojang.serialization.Codec<RegistryEntry<GameEvent>>
CODEC
field_51910
CODEC

Constructor summary

ModifierConstructor
public (int range)

Method summary

Modifier and TypeMethod
public static RegistryEntry<GameEvent>
bootstrap(Registry<GameEvent> registry)
method_55782(class_2378<class_5712> arg0)
registerAndGetDefault(Registry<GameEvent> registry)
public int
notificationRadius()
comp_2193()
notificationRadius()
private static RegistryEntry$Reference<GameEvent>
register(String name)
method_32939(String arg0)
register(String id)
private static RegistryEntry$Reference<GameEvent>
register(String name, int notificationRadius)
method_32940(String arg0, int arg1)
register(String id, int range)