this repository is filled with code examples for variables in GameTest Framework module
The definitions and code examples are dependent with Minecraft version 1.18.20
If one of the variables does not have definitions, create an issue or read Microsoft Docs
- mojang-minecraft: https://docs.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-minecraft/mojang-minecraft
- mojang-gametest: https://docs.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-gametest/mojang-gametest
- mojang-minecraft-ui: https://docs.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-minecraft-ui/mojang-minecraft-ui
- BeforeChatEvent (v1.17.20.23)
- BeforeChatEventSignal (v1.17.20.23)
- BeforeDataDrivenEntityTriggerEvent (v1.18.20.21)
- BeforeDataDrivenEntityTriggerEventSignal (v1.18.20.21)
- BeforeExplosionEvent (v1.17.20.20)
- BeforeExplosionEventSignal (v1.17.20.20)
- BeforeItemDefinitionEventSignal (v1.17.10.21)
- BeforeItemDefinitionTriggeredEvent (v1.17.10.21)
- BeforeItemUseEvent (v1.18.10.20)
- BeforeItemUseEventSignal (v1.18.10.20)
- BeforeItemUseOnEvent (v1.18.10.20)
- BeforeItemUseOnEventSignal (v1.18.10.20)
- BeforePistonActivateEvent (v1.17.20.20)
- BeforePistonActivateEventSignal (v1.17.20.20)
- Block (v1.17.10.21)
- BlockAreaSize (v1.17.10.21)
- BlockBreakEvent (v1.18.10.21)
- BlockBreakEventSignal (v1.18.10.21)
- BlockComponent (v1.17.10.21)
- BlockEvent (v1.17.10.21)
- BlockExplodeEvent (v1.17.20.20)
- BlockExplodeEventSignal (v1.17.20.20)
- BlockHitInformation (v1.19.0.20/21)
- BlockInventoryComponent (v1.17.10.21)
- BlockInventoryComponentContainer (v1.17.10.21)
- BlockLavaContainerComponent (v1.17.10.21)
- BlockLocation (v1.16.220.50)
- BlockPermutation (v1.17.10.21)
- BlockPistonComponent (v1.17.10.21)
- BlockPlaceEvent (v1.18.10.21)
- BlockPlaceEventSignal (v1.18.10.21)
- BlockPotionContainerComponent (v1.17.10.21)
- BlockProperties (v1.17.10.21)
- BlockRaycastOptions (v1.18.10.20)
- BlockRecordPlayerComponent (v1.17.10.21)
- totalBlocksnowContainerComponent (v1.17.10.21)
- BlockType (v1.17.10.21)
- BlockWaterContainerComponent (v1.17.10.21)
- BoolBlockProperty (v1.17.10.21)
- ChatEvent (v1.17.10.21)
- ChatEventSignal (v1.17.10.21)
- Color (v1.17.10.21)
- Container (v1.17.10.21)
- DataDrivenEntityTriggerEvent (v1.17.10.21)
- DataDrivenEntityTriggerEventSignal (v1.17.10.21)
- DefinitionModifier (v1.17.10.21)
- Dimension (v1.16.230.50)
- DynamicPropertiesDefinition (v1.19.0.20/21)
- Effect (v1.17.10.21)
- EffectAddEvent (v1.17.10.22)
- EffectAddEventSignal (v1.17.10.22)
- EffectType (v1.17.10.21)
- Enchantment (v1.18.20.21)
- EnchantmentList (v1.18.20.21)
- EnchantmentSlot (v1.18.20.21)
- EnchantmentType (v1.18.20.21)
- Entity (v1.16.220.51)
- EntityAddRiderComponent (v1.17.10.21)
- EntityAgeableComponent (v1.17.10.21)
- EntityBreathableComponent (v1.17.10.21)
- EntityCanClimbComponent (v1.18.20.21)
- EntityCanFlyComponent (v1.18.20.21)
- EntityCanPowerJumpComponent (v1.18.20.21)
- EntityColorComponent (v1.16.230.50)
- EntityCreateEvent (v1.17.10.22)
- EntityCreateEventSignal (v1.17.10.22)
- EntityDataDrivenTriggerEventOptions (v1.18.20.21)
- EntityDefinitionFeedItem (v1.17.10.21)
- EntityEventOptions (v1.17.10.21)
- EntityFireImmuneComponent (v1.18.20.21)
- EntityFloatsInLiquidComponent (v1.18.20.21)
- EntityFlyingSpeedComponent (v1.17.10.21)
- EntityFrictionModifierComponent (v1.18.20.21)
- EntityGroundOffsetComponent (v1.18.20.21)
- EntityHealableComponent (v1.17.10.21)
- EntityHealthComponent (v1.16.230.50)
- EntityHitEvent (v1.18.20.21)
- EntityHitEventSignal (v1.18.20.21)
- EntityInventoryComponent (v1.17.10.21)
- EntityIsBabyComponent (v1.18.20.21)
- EntityIsChargedComponent (v1.18.20.21)
- EntityIsChestedComponent (v1.18.20.21)
- EntityIsDyableComponent (v1.18.20.21)
- EntityIsHiddenWhenInvisibleComponent (v1.18.20.21)
- EntityIsIgnitedComponent (v1.18.20.21)
- EntityIsIllagerCaptainComponent (v1.18.20.21)
- EntityIsSaddledComponent (v1.18.20.21)
- EntityIsShakingComponent (v1.18.20.21)
- EntityIsShearedComponent (v1.18.20.21)
- EntityIsStackableComponent (v1.18.20.21)
- EntityIsStunnedComponent (v1.18.20.21)
- EntityIsTamedComponent (v1.18.20.21)
- EntityItemComponent (v1.18.20.21)
- EntityIterator (v1.17.10.21)
- EntityLavaMovementComponent (v1.17.10.21)
- EntityLeashableComponent (v1.17.10.21)
- EntityMarkVariantComponent (v1.18.20.21)
- EntityMountTamingComponent (v1.17.10.21)
- EntityMovementAmphibiousComponent (v1.17.10.21)
- EntityMovementBasicComponent (v1.17.10.21)
- EntityMovementComponent (v1.17.10.21)
- EntityMovementFlyComponent (v1.17.10.21)
- EntityMovementGenericComponent (v1.17.10.21)
- EntityMovementGlideComponent (v1.17.10.21)
- EntityMovementHoverComponent (v1.17.10.21)
- EntityMovementJumpComponent (v1.17.10.21)
- EntityMovementSkipComponent (v1.17.10.21)
- EntityMovementSwayComponent (v1.17.10.21)
- EntityNavigationClimbComponent (v1.17.10.21)
- EntityNavigationFloatComponent (v1.17.10.21)
- EntityNavigationFlyComponent (v1.17.10.21)
- EntityNavigationGenericComponent (v1.17.10.21)
- EntityNavigationHoverComponent (v1.17.10.21)
- EntityNavigationWalkComponent (v1.17.10.21)
- EntityPushThroughComponent (v1.18.20.21)
- EntityQueryOptions (v1.17.10.21)
- EntityQueryScoreOptions (v1.17.10.21)
- EntityRaycastOptions (v1.17.10.21)
- EntityRideableComponent (v1.17.10.21)
- EntityScaleComponent (v1.18.20.21)
- EntitySkinIdComponent (v1.18.20.21)
- EntityVariantComponent (v1.18.20.21)
- EntityWantsJockeyComponent (v1.18.20.21)
- EntityStrengthComponent (v1.17.10.21)
- EntityTameableComponent (v1.17.10.21)
- EntityUnderwaterMovementComponent (v1.17.10.21)
- Events (v1.17.10.21)
- ExplosionEvent (v1.17.20.20)
- ExplosionEventSignal (v1.17.20.20)
- ExplosionOptions (v1.17.10.21)
- FeedItem (v1.17.10.21)
- FeedItemEffect (v1.17.10.21)
- FilterGroup (v1.17.10.21)
- FluidContainer (v1.17.10.21)
- IBlockProperty (v1.17.10.21)
- IEntityComponent (v1.17.10.21)
- IntBlockProperty (v1.17.10.21)
- InventoryComponentContainer (v1.17.10.21)
- ItemCooldownComponent (v1.18.10.21)
- ItemDefinitionEventSignal (v1.17.10.21)
- ItemDefinitionTriggeredEvent (v1.17.10.21)
- ItemDurabilityComponent (v1.17.10.21)
- ItemEnchantsComponent (v1.17.10.21)
- ItemFoodComponent (v1.17.10.21)
- Items (v1.17.10.21)
- ItemStack (v1.16.220.50)
- ItemType (v1.18.10.21)
- ItemUseEvent (v1.18.10.20)
- ItemUseEventSignal (v1.18.10.20)
- ItemUseOnEvent (v1.18.10.20)
- ItemUseOnEventSignal (v1.18.10.20)
- Location (v1.17.10.21)
- MinecraftBlockTypes (v1.17.10.22)
- MinecraftDimensionTypes (v1.18.20.21)
- MinecraftEffectTypes (v1.16.230.52)
- MinecraftEnchantmentTypes (v1.17.10.21)
- MinecraftItemTypes (v1.16.230.52)
- MolangVariableMap (v1.17.10.21)
- NavigationResult (v1.17.10.21)
- NumberRange (v1.17.10.21)
- PistonActivateEvent (v1.17.10.21)
- PistonActivateEventSignal (v1.17.10.21)
- PitchYawRotation (v1.17.10.21)
- Player (v1.17.10.21)
- PlayerInventoryComponentContainer (v1.17.10.21)
- PlayerIterator (v1.17.10.21)
- PlayerJoinEvent (v1.17.10.21)
- PlayerJoinEventSignal (v1.17.10.21)
- PlayerLeaveEvent (v1.17.10.21)
- PlayerLeaveEventSignal (v1.17.10.21)
- Seat (v1.17.10.21)
- SoundOptions (v1.18.20.21)
- StringBlockProperty (v1.17.10.21)
- TickEvent (v1.17.10.21)
- TickEventSignal (v1.17.10.21)
- Trigger (v1.17.10.21)
- Vector (v1.18.20.23)
- WeatherChangeEvent (v1.17.10.22)
- WeatherChangeEventSignal (v1.17.10.22)
- World (v1.17.10.21)
- FluidType (v1.17.10.21)
- FenceConnectivity (v1.17.20.23)
- GameTestSequence (v1.17.20.23)
- RegistrationBuilder (v1.17.10.21)
- SimulatedPlayer (v1.17.10.21)
- Tags (v1.17.10.21)
- Test (v1.17.10.21)
- ActionFormData (v1.18.20.21)
- ActionFormResponse (v1.18.20.21)
- FormResponse (v1.18.20.21)
- MessageFormData (v1.18.20.21)
- MessageFormResponse (v1.18.20.21)
- ModalFormData (v1.18.20.21)
- ModalFormResponse (v1.18.20.21)
This repository is not affiliated with Mojang Studios