Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
W
- waitUntilNextTick() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- wakeImmediately - Variable in class net.neoforged.neoforge.event.entity.player.PlayerWakeUpEvent
- wakeImmediately() - Method in class net.neoforged.neoforge.event.entity.player.PlayerWakeUpEvent
-
Used for the 'wake up animation'.
- WANDERER_TRADES - Static variable in class net.neoforged.neoforge.common.VillagerTradingManager
- WandererTradesEvent - Class in net.neoforged.neoforge.event.village
-
WandererTradesEvent is fired during reload by
TagsUpdatedEvent
. - WandererTradesEvent(List<VillagerTrades.ItemListing>, int, List<VillagerTrades.ItemListing>, int, List<VillagerTrades.ItemListing>, int, List<Pair<List<VillagerTrades.ItemListing>, Integer>>, HolderLookup.Provider) - Constructor for class net.neoforged.neoforge.event.village.WandererTradesEvent
- WARNING - Enum constant in enum class net.neoforged.testframework.conf.MissingDescriptionAction
- warningHeader - Variable in class net.neoforged.neoforge.client.gui.LoadingErrorScreen
- wasClickHandled() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonPressed.Post
-
Returns true if the mouse click was already handled by its screen.
- wasDeath - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.Clone
- wasReleaseHandled() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased.Post
- wasResolved(String) - Method in class net.neoforged.neoforge.event.ModMismatchEvent
-
Fetches the status of a mod mismatch handling state.
- wasSelfResolved() - Method in record class net.neoforged.neoforge.event.ModMismatchEvent.MismatchResolutionResult
- wasUpgrade() - Method in record class net.neoforged.neoforge.event.ModMismatchEvent.MismatchedVersionInfo
- Watch(ServerPlayer, LevelChunk, ServerLevel) - Constructor for class net.neoforged.neoforge.event.level.ChunkWatchEvent.Watch
- WATCHED_BY_PLAYER - Static variable in class net.neoforged.neoforge.oldtest.world.ChunkWatchEventTest
- WATER - Enum constant in enum class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent.OverlayType
-
The type of overlay when the player is underwater.
- WATER - Static variable in class net.neoforged.neoforge.common.Tags.Fluids
-
Holds all fluids related to water.
- WATER_TYPE - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- waterColor - Variable in record class net.neoforged.neoforge.debug.registry.BiomeModifierSyncTest.TestModifier
-
The field for the
waterColor
record component. - waterColor - Variable in record class net.neoforged.neoforge.oldtest.world.BiomeModifierTest.TestModifier
-
The field for the
waterColor
record component. - waterColor() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
- waterColor() - Method in record class net.neoforged.neoforge.debug.registry.BiomeModifierSyncTest.TestModifier
-
Returns the value of the
waterColor
record component. - waterColor() - Method in record class net.neoforged.neoforge.oldtest.world.BiomeModifierTest.TestModifier
-
Returns the value of the
waterColor
record component. - WaterGlassBlock(BlockBehaviour.Properties) - Constructor for class net.neoforged.neoforge.debug.fluid.ClientFluidTests.WaterGlassBlock
- Waxable - Record Class in net.neoforged.neoforge.registries.datamaps.builtin
-
Data map value for waxable blocks allowing mods to easily register basic waxing interactions for their blocks.
- Waxable(Block) - Constructor for record class net.neoforged.neoforge.registries.datamaps.builtin.Waxable
-
Creates an instance of a
Waxable
record class. - WAXABLE_CODEC - Static variable in record class net.neoforged.neoforge.registries.datamaps.builtin.Waxable
- WAXABLES - Static variable in class net.neoforged.neoforge.registries.datamaps.builtin.NeoForgeDataMaps
-
The Block data map that replaces
HoneycombItem.WAXABLES
. - waxed - Variable in record class net.neoforged.neoforge.registries.datamaps.builtin.Waxable
-
The field for the
waxed
record component. - waxed() - Method in record class net.neoforged.neoforge.registries.datamaps.builtin.Waxable
-
Returns the value of the
waxed
record component. - WEAPON_DAMAGE_ENHANCEMENTS - Static variable in class net.neoforged.neoforge.common.Tags.Enchantments
-
For enchantments that increase the damage dealt by an item.
- weight - Variable in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
- weight - Variable in record class net.neoforged.neoforge.registries.datamaps.builtin.MonsterRoomMob
-
The field for the
weight
record component. - weight() - Method in record class net.neoforged.neoforge.registries.datamaps.builtin.MonsterRoomMob
-
Returns the value of the
weight
record component. - weight(int) - Method in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
-
Sets the weight of this specific sound.
- WEIGHT_CODEC - Static variable in record class net.neoforged.neoforge.registries.datamaps.builtin.MonsterRoomMob
- weights - Variable in record class net.neoforged.neoforge.client.model.ao.EnhancedAoRenderStorage.AoObjectCache
-
The field for the
weights
record component. - weights - Variable in class net.neoforged.neoforge.client.model.ao.EnhancedAoRenderStorage
- weights() - Method in record class net.neoforged.neoforge.client.model.ao.EnhancedAoRenderStorage.AoObjectCache
-
Returns the value of the
weights
record component. - WEST - Enum constant in enum class net.neoforged.neoforge.client.model.ao.AoFace
- WEST - Static variable in class net.neoforged.neoforge.server.command.generation.OnionIterator
- what - Variable in record class net.neoforged.neoforge.debug.client.CustomGlyphProviderTypeTest.Reference2
-
The field for the
what
record component. - what() - Method in record class net.neoforged.neoforge.debug.client.CustomGlyphProviderTypeTest.Reference2
-
Returns the value of the
what
record component. - wheatSeedReplacerTest(DynamicTest) - Static method in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
- WHEATSEEDS - Static variable in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
- WheatSeedsConverterModifier(LootItemCondition[], int, Item, Item) - Constructor for class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest.WheatSeedsConverterModifier
- whenDisabled(Runnable) - Method in interface net.neoforged.testframework.DynamicTest
-
Registers a listener to run when this test is disabled.
- whenDisabled(Runnable) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- whenEnabled(DynamicTest.EnabledListener) - Method in interface net.neoforged.testframework.DynamicTest
-
Registers a listener to run when this test is enabled.
- whenEnabled(DynamicTest.EnabledListener) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- WHITESPACE - Static variable in class net.neoforged.testframework.summary.md.Table
- widget - Variable in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Element
-
The field for the
widget
record component. - widget() - Method in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Element
-
Returns the value of the
widget
record component. - width - Variable in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
- width - Variable in class net.neoforged.neoforge.common.util.Size2i
- width - Variable in class net.neoforged.neoforge.common.util.TextTable.Column
- width - Variable in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe
- width - Variable in record class net.neoforged.testframework.gametest.EmptyTemplate.Size
-
The field for the
width
record component. - width() - Method in record class net.neoforged.testframework.gametest.EmptyTemplate.Size
-
Returns the value of the
width
record component. - window - Variable in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
- windowId - Variable in record class net.neoforged.neoforge.network.payload.AdvancedOpenScreenPayload
-
The field for the
windowId
record component. - windowId() - Method in record class net.neoforged.neoforge.network.payload.AdvancedOpenScreenPayload
-
Returns the value of the
windowId
record component. - wing1 - Variable in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntity
- wing2 - Variable in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntity
- with(VariantMutator) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.CompositeBlockStateModelBuilder
- with(VariantMutator) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder.Simple
- with(VariantMutator) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder
-
Apply the provided
VariantMutator
to this builder. - with(UnbakedMutator) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.CompositeBlockStateModelBuilder
- with(UnbakedMutator) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder.Simple
- with(UnbakedMutator) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder
-
Apply the provided
UnbakedMutator
to the model being built by this builder and return a new builder with the mutated state. - with(SoundDefinition.Sound) - Method in class net.neoforged.neoforge.common.data.SoundDefinition
-
Adds the given sound to this sound definition.
- with(SoundDefinition.Sound...) - Method in class net.neoforged.neoforge.common.data.SoundDefinition
-
Adds the given sounds to this sound definition.
- with(ModConfigSpec.RestartType) - Method in enum class net.neoforged.neoforge.common.ModConfigSpec.RestartType
- with(ModelProperty<T>, T) - Method in class net.neoforged.neoforge.model.data.ModelData.Builder
- withAlignment(Alignment) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withAlignments(List<Alignment>) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withAlignments(Alignment...) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withAlternative(Codec<T>, Codec<T>) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
-
Codec with two alternatives.
- withAlternative(MapCodec<T>, MapCodec<T>) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
-
MapCodec with two alternatives.
- withAnvil(DynamicTest, Consumer<AnvilUpdateEventTests.Context>) - Static method in class net.neoforged.neoforge.debug.crafting.AnvilUpdateEventTests
-
Common anvil, player and menu setup.
- withAttributes(Supplier<AttributeSupplier.Builder>) - Method in class net.neoforged.testframework.registration.DeferredEntityTypeBuilder
- withBlockItem() - Method in class net.neoforged.testframework.registration.DeferredBlockBuilder
- withBlockItem(Consumer<DeferredItemBuilder<BlockItem>>) - Method in class net.neoforged.testframework.registration.DeferredBlockBuilder
- withBlockItem(Item.Properties, Consumer<DeferredItemBuilder<BlockItem>>) - Method in class net.neoforged.testframework.registration.DeferredBlockBuilder
- withCarrier(T) - Method in class net.neoforged.neoforge.common.conditions.WithConditions.Builder
- withColor(int) - Method in class net.neoforged.testframework.registration.DeferredBlockBuilder
- withConditions(ICondition...) - Method in interface net.neoforged.neoforge.common.extensions.IRecipeOutputExtension
-
Builds a wrapper around this recipe output that adds conditions to all received recipes.
- WithConditions<A> - Record Class in net.neoforged.neoforge.common.conditions
- WithConditions(A) - Constructor for record class net.neoforged.neoforge.common.conditions.WithConditions
- WithConditions(A, ICondition...) - Constructor for record class net.neoforged.neoforge.common.conditions.WithConditions
- WithConditions(List<ICondition>, A) - Constructor for record class net.neoforged.neoforge.common.conditions.WithConditions
-
Creates an instance of a
WithConditions
record class. - WithConditions.Builder<T> - Class in net.neoforged.neoforge.common.conditions
- withDefaultWhiteModel() - Method in class net.neoforged.testframework.registration.DeferredBlockBuilder
- withGroups(Stream<Test>, List<Group>) - Method in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList
- withIntrusiveHolders() - Method in class net.neoforged.neoforge.registries.RegistryBuilder
-
Deprecated.Vanilla has deprecated intrusive holders and is in the process of moving away from them, you should not use this unless you have no better option.
- withLang(String) - Method in class net.neoforged.testframework.registration.DeferredBlockBuilder
- withLang(String) - Method in class net.neoforged.testframework.registration.DeferredEntityTypeBuilder
- withLang(String) - Method in class net.neoforged.testframework.registration.DeferredItemBuilder
- WithListener - Annotation Interface in net.neoforged.testframework.annotation
-
Annotate the class of an
AbstractTest
or a method-based test with this annotation in order to add test listeners to the test. - withMinimumColumnWidth(int) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withRenderer(Supplier<Function<EntityRendererProvider.Context, EntityRenderer<E, ?>>>) - Method in class net.neoforged.testframework.registration.DeferredEntityTypeBuilder
- withRowLimit(int) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withRows(List<TableRow<?>>) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withSize(int, int, int) - Static method in class net.neoforged.testframework.gametest.StructureTemplateBuilder
- withTrimmingIndicator(String) - Method in class net.neoforged.testframework.summary.md.Table.Builder
- withXY(int, int, TestsOverlay.IntBiConsumer) - Method in class net.neoforged.testframework.client.TestsOverlay
- woodlessFenceGate(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.BlockTests
- workers - Static variable in class net.neoforged.neoforge.common.WorldWorkerManager
- world - Variable in class net.neoforged.neoforge.fluids.capability.wrappers.BlockWrapper.LiquidContainerBlockWrapper
- world - Variable in class net.neoforged.neoforge.fluids.capability.wrappers.BlockWrapper
- world - Variable in class net.neoforged.neoforge.fluids.capability.wrappers.BucketPickupHandlerWrapper
- WORLD - Enum constant in enum class net.neoforged.neoforge.common.ModConfigSpec.RestartType
-
Require a world restart.
- WORLD_OPTIONS - Static variable in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- WORLD_PRESET_KEY - Static variable in class net.neoforged.neoforge.oldtest.client.CustomPresetEditorTest
- WorldgenRegistryDesyncTest - Class in net.neoforged.neoforge.oldtest.world
- WorldgenRegistryDesyncTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.world.WorldgenRegistryDesyncTest
- worldLoad(LevelEvent.Load) - Static method in class net.neoforged.neoforge.oldtest.world.item.IngredientInvalidationTest
- WORLDPERSISTENCE - Static variable in class net.neoforged.neoforge.common.CommonHooks
- worldRestart() - Method in class net.neoforged.neoforge.common.ModConfigSpec.Builder
-
Config values marked as needing a world restart will not reset their cached value until they are unloaded (i.e. when a world is closed).
- worldRestart() - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
- WorldWorkerManager - Class in net.neoforged.neoforge.common
- WorldWorkerManager() - Constructor for class net.neoforged.neoforge.common.WorldWorkerManager
- WorldWorkerManager.IWorker - Interface in net.neoforged.neoforge.common
- wrap(ModConfigSpec.ConfigValue<T>) - Static method in class net.neoforged.neoforge.oldtest.ConfigUITest.Common
- Wrap(ModConfigSpec.ConfigValue<T>) - Constructor for record class net.neoforged.neoforge.oldtest.ConfigUITest.Common.Wrap
-
Creates an instance of a
Wrap
record class. - wrapEncodingExceptions(T, Codec<T>, HolderLookup.Provider) - Static method in class net.neoforged.neoforge.common.util.DataComponentUtil
-
Wraps encoding exceptions and adds additional logging for a DataComponentHolder that failed to save.
- wrapEncodingExceptions(T, Codec<T>, HolderLookup.Provider, Tag) - Static method in class net.neoforged.neoforge.common.util.DataComponentUtil
-
Wraps encoding exceptions and adds additional logging for a DataComponentHolder that failed to save.
- wrapped - Variable in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.ClientHandler.DioritePotUnbakedBlockStateModel
- wrapRegistryLookup(HolderLookup.RegistryLookup<T>) - Static method in class net.neoforged.neoforge.common.CommonHooks
- write(Codec<T>, T) - Static method in class net.neoforged.neoforge.oldtest.conditions.ConditionalCodecTest
- write(OutputStream) - Method in interface net.neoforged.neoforge.common.IOUtilities.WriteCallback
- write(FriendlyByteBuf) - Method in record class net.neoforged.testframework.impl.packet.ChangeEnabledPayload
- write(FriendlyByteBuf) - Method in record class net.neoforged.testframework.impl.packet.ChangeStatusPayload
- write(RegistryFriendlyByteBuf) - Method in record class net.neoforged.neoforge.network.payload.RegistryDataMapSyncPayload
- write(TestSummary, Logger, PrintWriter) - Method in class net.neoforged.testframework.impl.DefaultMarkdownFileSummaryDumper
- write(TestSummary, Logger, PrintWriter) - Method in interface net.neoforged.testframework.summary.FileSummaryDumper
- write(TestSummary, Logger, PrintWriter) - Method in class net.neoforged.testframework.summary.GitHubActionsStepSummaryDumper
- write(TestSummary, Logger, PrintWriter) - Method in class net.neoforged.testframework.summary.JUnitSummaryDumper
- write(T, HolderLookup.Provider) - Method in interface net.neoforged.neoforge.attachment.IAttachmentSerializer
-
Writes the attachment to NBT, or returns null if it is should not be serialized.
- writeAdditionalLevelSaveData(WorldData, CompoundTag) - Static method in class net.neoforged.neoforge.common.CommonHooks
- writeArray(T[], StreamEncoder<? super FriendlyByteBuf, T>) - Method in interface net.neoforged.neoforge.common.extensions.IFriendlyByteBufExtension
-
Writes an array of objects to the buffer.
- writeByte(byte) - Method in interface net.neoforged.neoforge.common.extensions.IFriendlyByteBufExtension
-
Writes a byte to the buffer
- writeChannels(FriendlyByteBuf, Set<ResourceLocation>) - Static method in class net.neoforged.neoforge.network.payload.DinnerboneProtocolUtils
-
Writes a set of channels to the buffer.
- writeClientSideData(AbstractContainerMenu, RegistryFriendlyByteBuf) - Method in interface net.neoforged.neoforge.common.extensions.IMenuProviderExtension
-
Allows the menu provider to write additional data to be read by
IContainerFactory.create(int, Inventory, RegistryFriendlyByteBuf)
when the menu is created on the client-side. - writeConditions(DynamicOps<JsonElement>, JsonObject, List<ICondition>) - Static method in interface net.neoforged.neoforge.common.conditions.ICondition
-
Writes a list of conditions to a JSON object.
- writeConditions(HolderLookup.Provider, JsonObject, List<ICondition>) - Static method in interface net.neoforged.neoforge.common.conditions.ICondition
-
Writes a list of conditions to a JSON object.
- writeConditions(HolderLookup.Provider, JsonObject, ICondition...) - Static method in interface net.neoforged.neoforge.common.conditions.ICondition
-
Writes an array of conditions to a JSON object.
- writeCustomData(Consumer<RegistryFriendlyByteBuf>, RegistryAccess) - Static method in class net.neoforged.neoforge.common.util.FriendlyByteBufUtil
-
Writes custom data to a
RegistryFriendlyByteBuf
, then returns the written data as a byte array. - writeCustomData(Entity) - Static method in record class net.neoforged.neoforge.network.payload.AdvancedAddEntityPayload
- writeJsonWithCodec(FriendlyByteBuf, Codec<T>, T) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest
- writeJsonWithRegistryCodec(RegistryFriendlyByteBuf, Codec<T>, T) - Static method in record class net.neoforged.neoforge.network.payload.RegistryDataMapSyncPayload
- writeMap(Map<K, V>, StreamEncoder<? super FriendlyByteBuf, K>, TriConsumer<FriendlyByteBuf, K, V>) - Method in interface net.neoforged.neoforge.common.extensions.IFriendlyByteBufExtension
-
Variant of
FriendlyByteBuf.writeMap(Map, StreamEncoder, StreamEncoder)
that allows writing values that depend on the key. - writeMask - Variable in record class net.neoforged.neoforge.client.stencil.StencilTest
-
The field for the
writeMask
record component. - writeMask() - Method in record class net.neoforged.neoforge.client.stencil.StencilTest
-
Returns the value of the
writeMask
record component. - writeNbt(CompoundTag, Path) - Static method in class net.neoforged.neoforge.common.IOUtilities
-
Behaves much the same as
NbtIo.write(CompoundTag, Path)
, but usesIOUtilities.atomicWrite(Path, WriteCallback)
behind the scenes to ensure the data is stored resiliently. - writeNbtCompressed(CompoundTag, Path) - Static method in class net.neoforged.neoforge.common.IOUtilities
-
Behaves much the same as
NbtIo.writeCompressed(CompoundTag, Path)
, but usesIOUtilities.atomicWrite(Path, WriteCallback)
behind the scenes to ensure the data is stored resiliently. - writeObjectCollection(Collection<T>, BiConsumer<T, FriendlyByteBuf>) - Method in interface net.neoforged.neoforge.common.extensions.IFriendlyByteBufExtension
-
Writes the entries in the given set to the buffer, by first writing the count and then writing each entry.
- writeQuaternion(Quaternionf) - Static method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
- writeSelfTestReport(String) - Static method in class net.neoforged.neoforge.common.util.SelfTest
-
This is used by our GitHub Actions pipeline to run an E2E test for PRs.
- writeSpawnData(RegistryFriendlyByteBuf) - Method in class net.neoforged.neoforge.debug.entity.EntityTests.CustomComplexSpawnEntity
- writeSpawnData(RegistryFriendlyByteBuf) - Method in interface net.neoforged.neoforge.entity.IEntityWithComplexSpawn
-
Called by the server when constructing the spawn packet.
- writeToNBT(HolderLookup.Provider, CompoundTag) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
- writeVec3(Vector3f) - Static method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form