Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- s - Variable in record class net.neoforged.neoforge.oldtest.conditions.ConditionalCodecTest.Record.SimpleRecord
-
The field for the
s
record component. - s() - Method in record class net.neoforged.neoforge.oldtest.conditions.ConditionalCodecTest.Record.SimpleRecord
-
Returns the value of the
s
record component. - sampleLogger - Variable in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- sampleStack() - Static method in class net.neoforged.neoforge.debug.crafting.AnvilUpdateEventTests
- SANDS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDS_COLORLESS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDS_COLORLESS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDS_RED - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDS_RED - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_RED_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_RED_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_RED_SLABS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_RED_SLABS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_RED_STAIRS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_RED_STAIRS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_SLABS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_SLABS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_STAIRS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_STAIRS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_UNCOLORED_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_UNCOLORED_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_UNCOLORED_SLABS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_UNCOLORED_SLABS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SANDSTONE_UNCOLORED_STAIRS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- SANDSTONE_UNCOLORED_STAIRS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- sanitizeValue(double) - Method in class net.neoforged.neoforge.common.BooleanAttribute
- saplingGrowTreeEvent(DynamicTest) - Static method in class net.neoforged.neoforge.debug.level.LevelEventTests
- save() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
- save() - Method in class net.neoforged.neoforge.common.ModConfigSpec
-
Saves the current config values to the config file, and fires the config reloading event.
- save() - Static method in class net.neoforged.neoforge.common.UsernameCache
-
Save the cache to file
- save() - Method in class net.neoforged.testframework.impl.PlayerTestStore
- save(Consumer<AdvancementHolder>, ResourceLocation) - Method in interface net.neoforged.neoforge.common.extensions.IAdvancementBuilderExtension
-
Saves this builder with the given id.
- save(HolderLookup.Provider) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Saves this stack to a new tag.
- save(HolderLookup.Provider, Tag) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Saves this stack to a tag, directly writing the keys into the passed tag.
- save(CachedOutput, Path) - Method in class net.neoforged.neoforge.common.data.LanguageProvider
- save(CachedOutput, Path) - Method in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
- save(RecipeOutput, ResourceKey<Recipe<?>>) - Method in class net.neoforged.neoforge.debug.crafting.IngredientTests.CompressedShapelessRecipeBuilder
- Save(ChunkAccess, LevelAccessor, SerializableChunkData) - Constructor for class net.neoforged.neoforge.event.level.ChunkDataEvent.Save
- Save(LevelAccessor) - Constructor for class net.neoforged.neoforge.event.level.LevelEvent.Save
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlockEntity
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
- saveAdditional(CompoundTag, HolderLookup.Provider) - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest.ItemHangerBlockEntity
- saveData - Variable in class net.neoforged.neoforge.common.world.chunk.TicketHelper
- saveEverything(boolean, boolean, boolean) - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- saveFile - Static variable in class net.neoforged.neoforge.common.UsernameCache
- saveMobEffect(CompoundTag, String, MobEffect) - Static method in class net.neoforged.neoforge.common.CommonHooks
- saveOptional(HolderLookup.Provider) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Saves this stack to a new tag.
- SaveThread(String) - Constructor for class net.neoforged.neoforge.common.UsernameCache.SaveThread
- SaveToFile(Player, File, String) - Constructor for class net.neoforged.neoforge.event.entity.player.PlayerEvent.SaveToFile
- SAVING_INDICATOR - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- SAVING_LEVEL - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
- SCAFFOLDING - Static variable in class net.neoforged.neoforge.oldtest.block.ScaffoldingTest
- SCAFFOLDING_METHOD_TEST - Static variable in class net.neoforged.neoforge.oldtest.block.ScaffoldingTest
- SCAFFOLDING_METHOD_TEST_ITEM - Static variable in class net.neoforged.neoforge.oldtest.block.ScaffoldingTest
- ScaffoldingMethodTestBlock(BlockBehaviour.Properties) - Constructor for class net.neoforged.neoforge.oldtest.block.ScaffoldingTest.ScaffoldingMethodTestBlock
- ScaffoldingModels(PackOutput) - Constructor for class net.neoforged.neoforge.oldtest.block.ScaffoldingTest.ScaffoldingModels
- ScaffoldingTest - Class in net.neoforged.neoforge.oldtest.block
-
This test mod allows a custom scaffolding to move down while sneaking through a method.
- ScaffoldingTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.block.ScaffoldingTest
- ScaffoldingTest.ScaffoldingMethodTestBlock - Class in net.neoforged.neoforge.oldtest.block
- ScaffoldingTest.ScaffoldingModels - Class in net.neoforged.neoforge.oldtest.block
- scale - Variable in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
- scale - Variable in class net.neoforged.neoforge.client.model.generators.template.TransformVecBuilder
- scale(float) - Method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
-
Sets the scale of the root transform.
- scale(float) - Method in class net.neoforged.neoforge.client.model.generators.template.TransformVecBuilder
-
Sets the scale for this transformation, scaling all axis by the same amount.
- scale(float, float, float) - Method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
-
Sets the scale of the root transform.
- scale(float, float, float) - Method in class net.neoforged.neoforge.client.model.generators.template.TransformVecBuilder
-
Sets the scale for this transformation.
- scale(Vector3f) - Method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
-
Sets the scale of the root transform.
- SCALE - Static variable in record class net.neoforged.neoforge.client.entity.animation.AnimationTarget
- SCALE_FUNC - Static variable in class net.neoforged.neoforge.debug.damagesource.DamageTypeTests
- scaleDamage(DamageSource, Player, float, Difficulty) - Method in interface net.neoforged.neoforge.common.damagesource.IScalingFunction
-
Scales the incoming damage amount based on the current difficulty.
Only damage dealt to players is scaled, other damage is not impacted. - scaleFactor - Variable in class net.neoforged.neoforge.common.PercentageAttribute
- scaleFarPlaneDistance(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
-
Scales the distance to the far plane of the fog by a given factor.
- scaleNearPlaneDistance(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
-
Scales the distance to the near plane of the fog by a given factor.
- SCALING_ENUM_PARAMS - Static variable in class net.neoforged.neoforge.debug.damagesource.DamageTypeTests
- scanCode - Variable in class net.neoforged.neoforge.client.event.InputEvent.Key
- scanCode - Variable in class net.neoforged.neoforge.client.event.ScreenEvent.KeyInput
- scanDistance - Variable in class net.neoforged.neoforge.entity.XpOrbTargetingEvent
- SCOREBOARD_SIDEBAR - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- scratchPos - Variable in class net.neoforged.neoforge.client.model.ao.FullFaceCalculator
- screen - Variable in class net.neoforged.neoforge.client.event.GatherEffectScreenTooltipsEvent
- screen - Variable in class net.neoforged.neoforge.client.event.ScreenEvent
- ScreenEvent - Class in net.neoforged.neoforge.client.event
-
Fired on different events/actions when a
Screen
is active and visible. - ScreenEvent(Screen) - Constructor for class net.neoforged.neoforge.client.event.ScreenEvent
- ScreenEvent.CharacterTyped - Class in net.neoforged.neoforge.client.event
-
Fired when a keyboard key corresponding to a character is typed.
- ScreenEvent.CharacterTyped.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the character input is handled, if not handled by the screen and the corresponding
ScreenEvent.CharacterTyped.Pre
is not cancelled. - ScreenEvent.CharacterTyped.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the character input is handled by the screen.
- ScreenEvent.Closing - Class in net.neoforged.neoforge.client.event
-
Fired before a
Screen
is closed. - ScreenEvent.Init - Class in net.neoforged.neoforge.client.event
-
Fired when a screen is being initialized.
- ScreenEvent.Init.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the screen's overridable initialization method is called.
- ScreenEvent.Init.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the screen's overridable initialization method is fired.
- ScreenEvent.KeyInput - Class in net.neoforged.neoforge.client.event
-
Fired whenever a keyboard key is pressed or released.
- ScreenEvent.KeyPressed - Class in net.neoforged.neoforge.client.event
-
Fired when a keyboard key is pressed.
- ScreenEvent.KeyPressed.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the key press is handled, if not handled by the screen and the corresponding
ScreenEvent.KeyPressed.Pre
is not cancelled. - ScreenEvent.KeyPressed.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the key press is handled by the screen.
- ScreenEvent.KeyReleased - Class in net.neoforged.neoforge.client.event
-
Fired when a keyboard key is released.
- ScreenEvent.KeyReleased.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the key release is handled, if not handled by the screen and the corresponding
ScreenEvent.KeyReleased.Pre
is not cancelled. - ScreenEvent.KeyReleased.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the key release is handled by the screen.
- ScreenEvent.MouseButtonPressed - Class in net.neoforged.neoforge.client.event
-
Fired when a mouse button is pressed.
- ScreenEvent.MouseButtonPressed.Post - Class in net.neoforged.neoforge.client.event
-
This event is fired after the mouse click is handled, if the corresponding
ScreenEvent.MouseButtonPressed.Pre
was not cancelled. - ScreenEvent.MouseButtonPressed.Post.Result - Enum Class in net.neoforged.neoforge.client.event
- ScreenEvent.MouseButtonPressed.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the mouse click is handled by the screen.
- ScreenEvent.MouseButtonReleased - Class in net.neoforged.neoforge.client.event
-
Fired when a mouse button is released.
- ScreenEvent.MouseButtonReleased.Post - Class in net.neoforged.neoforge.client.event
-
This event is fired after the mouse release is handled, if the corresponding
ScreenEvent.MouseButtonReleased.Pre
was not cancelled. - ScreenEvent.MouseButtonReleased.Post.Result - Enum Class in net.neoforged.neoforge.client.event
- ScreenEvent.MouseButtonReleased.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the mouse release is handled by the screen.
- ScreenEvent.MouseDragged - Class in net.neoforged.neoforge.client.event
-
Fired when the mouse was dragged while a button is being held down.
- ScreenEvent.MouseDragged.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the mouse drag is handled, if not handled by the screen and the corresponding
ScreenEvent.MouseDragged.Pre
is not cancelled. - ScreenEvent.MouseDragged.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the mouse drag is handled by the screen.
- ScreenEvent.MouseInput - Class in net.neoforged.neoforge.client.event
-
Fired whenever an action is performed by the mouse.
- ScreenEvent.MouseScrolled - Class in net.neoforged.neoforge.client.event
-
Fired when the mouse was dragged while a button is being held down.
- ScreenEvent.MouseScrolled.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the mouse scroll is handled, if not handled by the screen and the corresponding
ScreenEvent.MouseScrolled.Pre
is not cancelled. - ScreenEvent.MouseScrolled.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the mouse scroll is handled by the screen.
- ScreenEvent.Opening - Class in net.neoforged.neoforge.client.event
-
Fired before any
Screen
is opened, to allow changing it or preventing it from being opened. - ScreenEvent.Render - Class in net.neoforged.neoforge.client.event
-
Fired when a screen is being drawn.
- ScreenEvent.Render.Post - Class in net.neoforged.neoforge.client.event
-
Fired after the screen is drawn.
- ScreenEvent.Render.Pre - Class in net.neoforged.neoforge.client.event
-
Fired before the screen is drawn.
- ScreenEvent.RenderInventoryMobEffects - Class in net.neoforged.neoforge.client.event
-
Fired ahead of rendering any active mob effects in the
EffectsInInventory
held by aAbstractContainerScreen
. - screenHeight - Variable in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
- screenHeight - Variable in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
- ScreenshotEvent - Class in net.neoforged.neoforge.client.event
-
Fired when a screenshot is taken, but before it is written to disk.
- ScreenshotEvent(NativeImage, File) - Constructor for class net.neoforged.neoforge.client.event.ScreenshotEvent
- screenshotFile - Variable in class net.neoforged.neoforge.client.event.ScreenshotEvent
- screenWidth - Variable in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
- screenWidth - Variable in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
- scrollBarX() - Method in class net.neoforged.neoforge.client.gui.LoadingErrorScreen.LoadingEntryList
- scrollBarX() - Method in class net.neoforged.neoforge.client.gui.widget.ModListWidget
- scrollBarX() - Method in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList
- scrollDeltaX - Variable in class net.neoforged.neoforge.client.event.InputEvent.MouseScrollingEvent
- scrollDeltaX - Variable in class net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
- scrollDeltaY - Variable in class net.neoforged.neoforge.client.event.InputEvent.MouseScrollingEvent
- scrollDeltaY - Variable in class net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
- scrollDistance - Variable in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
- scrolling - Variable in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
- scrollList - Variable in class net.neoforged.neoforge.client.gui.ModMismatchDisconnectedScreen
- ScrollPanel - Class in net.neoforged.neoforge.client.gui.widget
-
Abstract scroll panel class.
- ScrollPanel(Minecraft, int, int, int, int) - Constructor for class net.neoforged.neoforge.client.gui.widget.ScrollPanel
- ScrollPanel(Minecraft, int, int, int, int, int) - Constructor for class net.neoforged.neoforge.client.gui.widget.ScrollPanel
- ScrollPanel(Minecraft, int, int, int, int, int, int) - Constructor for class net.neoforged.neoforge.client.gui.widget.ScrollPanel
- ScrollPanel(Minecraft, int, int, int, int, int, int, int, int, int) - Constructor for class net.neoforged.neoforge.client.gui.widget.ScrollPanel
-
Base constructor
- scrollRate() - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen.ListLabelWidget
- search - Variable in class net.neoforged.neoforge.client.gui.ModListScreen
- SEARCH_CATEGORY - Static variable in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookExtensionTest
- searchCategories - Static variable in class net.neoforged.neoforge.client.RecipeBookManager
- searchEntries - Variable in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
- searchTextField - Variable in class net.neoforged.testframework.client.TestScreen
- second - Variable in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs.XorMapCodec
- section(ConfigurationScreen.ConfigurationSectionScreen.Context, Screen, Set<? extends UnmodifiableConfig.Entry>, Map<String, Object>, String) - Static method in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Context
- SECTION - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
-
A wrapper for the labels of buttons that open a new screen.
- SECTION_TEXT - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
-
A default for the labels of buttons that open a new screen.
- sectionCache - Variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
- sectionOrigin - Variable in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent
- SectionRenderingContext(Function<RenderType, VertexConsumer>, BlockAndTintGetter, PoseStack) - Constructor for class net.neoforged.neoforge.client.event.AddSectionGeometryEvent.SectionRenderingContext
- sectionScreen - Variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
- SEED_KEY - Static variable in class net.neoforged.neoforge.common.CommonHooks
- SEEDS - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
For items that are explicitly seeds for use cases such as refilling a bird feeder block or certain seed-based recipes.
- SEEDS_BEETROOT - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SEEDS_MELON - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SEEDS_PITCHER_PLANT - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SEEDS_PUMPKIN - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SEEDS_TORCHFLOWER - Static variable in class net.neoforged.neoforge.common.Tags.Items
- SEEDS_WHEAT - Static variable in class net.neoforged.neoforge.common.Tags.Items
- seenNewRegistryEvent - Variable in class net.neoforged.neoforge.registries.DeferredRegister
- seenRegisterEvent - Variable in class net.neoforged.neoforge.registries.DeferredRegister
- seenYes - Variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen.TooltipConfirmScreen
- selected - Variable in class net.neoforged.neoforge.client.gui.ModListScreen
- SELECTED_ITEM_NAME - Enum constant in enum class net.neoforged.neoforge.client.extensions.common.IClientItemExtensions.FontContext
-
Used to display the item name above the hotbar when the player selects it.
- SELECTED_ITEM_NAME - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- selectMatchingRecipes(RecipeCollection, StackedItemContents) - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestComponent
- selectMusic(MusicInfo, SoundInstance) - Static method in class net.neoforged.neoforge.client.ClientHooks
- SelectMusicEvent - Class in net.neoforged.neoforge.client.event
-
Fired when the
MusicManager
checks what situational music should be used. - SelectMusicEvent(MusicInfo, SoundInstance) - Constructor for class net.neoforged.neoforge.client.event.SelectMusicEvent
- self() - Method in interface net.neoforged.neoforge.client.extensions.BlockModelPartExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.BlockStateModelExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IAbstractWidgetExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IDimensionSpecialEffectsExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IFontExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IGuiGraphicsExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IMinecraftExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IModelProviderExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IPoseStackExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.ITexturedModelExtension.Provider
- self() - Method in interface net.neoforged.neoforge.client.extensions.ITexturedModelExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.ModelBakerExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.QuadCollectionBuilderExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.ResolvedModelExtension
- self() - Method in interface net.neoforged.neoforge.client.extensions.UnbakedGeometryExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IAbstractBoatExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IAdvancementBuilderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IAttributeExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.ICommandSourceStackExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IDataComponentHolderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IDataComponentMapBuilderExtensions
- self() - Method in interface net.neoforged.neoforge.common.extensions.IDispensibleContainerItemExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IFluidExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IFluidStateExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IFriendlyByteBufExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IHolderLookupProviderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IIntrinsicHolderTagAppenderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IItemPropertiesExtensions
- self() - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.ILevelReaderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.ILivingEntityExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IMobEffectExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IPacketFlowExtension
-
Returns the
PacketFlow
this extension is applied to. - self() - Method in interface net.neoforged.neoforge.common.extensions.IPlayerExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IPlayerListExtension
-
Returns the PlayerList instance that this extension is attached to.
- self() - Method in interface net.neoforged.neoforge.common.extensions.IRecipeOutputExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IServerChunkCacheExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.IServerGamePacketListenerExtension
-
Returns the listener this extension is attached to.
- self() - Method in interface net.neoforged.neoforge.common.extensions.ITagAppenderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.ITagBuilderExtension
- self() - Method in interface net.neoforged.neoforge.common.extensions.ITransformationExtension
- self() - Method in interface net.neoforged.neoforge.registries.IRegistryExtension
- SelfTest - Class in net.neoforged.neoforge.common.util
-
We use a "self-test" to launch a client and dedicated server from within our CI and exit.
- SelfTest() - Constructor for class net.neoforged.neoforge.common.util.SelfTest
- SelfTestClient - Class in net.neoforged.neoforge.client.internal
- SelfTestClient() - Constructor for class net.neoforged.neoforge.client.internal.SelfTestClient
- send(CustomPacketPayload) - Method in interface net.neoforged.neoforge.common.extensions.IClientCommonPacketListenerExtension
-
Sends a payload to the target of this listener.
- send(CustomPacketPayload) - Method in interface net.neoforged.neoforge.common.extensions.ICommonPacketListener
-
Sends a payload to the target of this listener.
- send(CustomPacketPayload) - Method in interface net.neoforged.neoforge.common.extensions.IServerCommonPacketListenerExtension
-
Sends a payload to the target of this listener.
- send(CustomPacketPayload, PacketSendListener) - Method in interface net.neoforged.neoforge.common.extensions.IServerCommonPacketListenerExtension
-
Sends a payload to the client of this listener.
- send(Packet<?>) - Method in interface net.neoforged.neoforge.common.extensions.ICommonPacketListener
-
Sends a packet to the target of this listener.
- send(Packet<?>) - Method in class net.neoforged.neoforge.common.util.FakePlayer.FakePlayerNetHandler
- send(Packet<?>, PacketSendListener) - Method in interface net.neoforged.neoforge.common.extensions.IServerCommonPacketListenerExtension
-
Sends a packet to the client of this listener.
- send(Packet<?>, PacketSendListener) - Method in class net.neoforged.neoforge.common.util.FakePlayer.FakePlayerNetHandler
- sendBundled(Iterable<CustomPacketPayload>) - Method in interface net.neoforged.neoforge.common.extensions.IServerGamePacketListenerExtension
-
Sends all given payloads as a bundle to the client.
- sendBundled(CustomPacketPayload...) - Method in interface net.neoforged.neoforge.common.extensions.IServerGamePacketListenerExtension
-
Sends all given payloads as a bundle to the client.
- sendDisguisedChatMessage(Component, ChatType.Bound) - Method in class net.neoforged.neoforge.common.util.FakePlayer.FakePlayerNetHandler
- sender - Variable in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent
- sendFailure(Component) - Method in class net.neoforged.neoforge.debug.chat.CommandTests.ErrorCatchingStack
- sendLightDataTo(ClientboundLevelChunkWithLightPacket) - Method in class net.neoforged.neoforge.common.world.LevelChunkAuxiliaryLightManager
- sendPacketIfOn(Runnable, Runnable, Runnable) - Method in class net.neoforged.testframework.impl.TestFrameworkImpl
- sendPairingData(ServerPlayer, Consumer<CustomPacketPayload>) - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
-
Sends the pairing data to the client.
- sendPairingData(ServerPlayer, Consumer<CustomPacketPayload>) - Method in class net.neoforged.neoforge.debug.entity.EntityTests.AdaptedSpawnEntity
- sendPlayerChatMessage(PlayerChatMessage, ChatType.Bound) - Method in class net.neoforged.neoforge.common.util.FakePlayer.FakePlayerNetHandler
- sendRecipes(Iterable<RecipeType<?>>) - Method in class net.neoforged.neoforge.event.OnDatapackSyncEvent
-
Requests that all recipes of the given types should be sent to the players.
- sendRecipes(ServerPlayer, Set<RecipeType<?>>, RecipeMap) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Determines whether the given players should be sent full recipe content or not and handles the sending.
- sendRecipes(RecipeType<?>...) - Method in class net.neoforged.neoforge.event.OnDatapackSyncEvent
-
Requests that all recipes of the given types should be sent to the players.
- sendSuccess(Supplier<Component>, boolean) - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
-
Sends a success message without attempting to get the server side list of admins
- sendTime(CommandContext<CommandSourceStack>, ServerLevel) - Static method in class net.neoforged.neoforge.server.command.TPSCommand
- sendToAllPlayers(CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to all players on the server
- sendToPlayer(ServerPlayer, CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to the given player
- sendToPlayersInDimension(ServerLevel, CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to all players in the given dimension
- sendToPlayersNear(ServerLevel, ServerPlayer, double, double, double, double, CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to all players in the area covered by the given radius around the given coordinates in the given dimension, except the given excluded player if present
- sendToPlayersTrackingChunk(ServerLevel, ChunkPos, CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to all players tracking the chunk at the given position in the given level
- sendToPlayersTrackingEntity(Entity, CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to all players tracking the given entity
- sendToPlayersTrackingEntityAndSelf(Entity, CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to all players tracking the given entity and the entity itself if it is a player
- sendToServer(CustomPacketPayload, CustomPacketPayload...) - Method in class net.neoforged.neoforge.client.internal.NeoForgeClientProxy
- sendToServer(CustomPacketPayload, CustomPacketPayload...) - Method in class net.neoforged.neoforge.internal.NeoForgeProxy
- sendToServer(CustomPacketPayload, CustomPacketPayload...) - Static method in class net.neoforged.neoforge.network.PacketDistributor
-
Send the given payload(s) to the server
- Sent(ServerPlayer, LevelChunk, ServerLevel) - Constructor for class net.neoforged.neoforge.event.level.ChunkWatchEvent.Sent
- SEPARATOR - Static variable in class net.neoforged.testframework.summary.md.Table
- sequence - Variable in class net.neoforged.testframework.gametest.ParametrizedGameTestSequence
- serializable(Function<IAttachmentHolder, T>) - Static method in class net.neoforged.neoforge.attachment.AttachmentType
-
Create a builder for an attachment type that uses
INBTSerializable
for serialization. - serializable(Supplier<T>) - Static method in class net.neoforged.neoforge.attachment.AttachmentType
-
Create a builder for an attachment type that uses
INBTSerializable
for serialization. - serializationType() - Method in interface net.neoforged.neoforge.common.extensions.IHolderSetExtension
-
What format this holderset serializes to in json/nbt/etc
- serializationType() - Method in interface net.neoforged.neoforge.registries.holdersets.ICustomHolderSet
- SerializationType() - Constructor for enum class net.neoforged.neoforge.common.extensions.IHolderSetExtension.SerializationType
- serialize() - Method in class net.neoforged.neoforge.common.data.SoundDefinition
- serialize() - Method in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
- serialize() - Method in class net.neoforged.testframework.summary.md.Table
- serialize() - Method in class net.neoforged.testframework.summary.md.TableRow
- serialize(ImmutableList<?>, Type, JsonSerializationContext) - Method in enum class net.neoforged.neoforge.common.util.JsonUtils.ImmutableListTypeAdapter
- serialize(ImmutableMap<String, ?>, Type, JsonSerializationContext) - Method in enum class net.neoforged.neoforge.common.util.JsonUtils.ImmutableMapTypeAdapter
- serialize(Codec<T>) - Method in class net.neoforged.neoforge.attachment.AttachmentType.Builder
-
Requests that this attachment be persisted to disk (on the logical server side), using a
Codec
. - serialize(Codec<T>, Predicate<? super T>) - Method in class net.neoforged.neoforge.attachment.AttachmentType.Builder
-
Requests that this attachment be persisted to disk (on the logical server side), using a
Codec
. - serialize(IAttachmentSerializer<?, T>) - Method in class net.neoforged.neoforge.attachment.AttachmentType.Builder
-
Requests that this attachment be persisted to disk (on the logical server side).
- serializeAttachments(HolderLookup.Provider) - Method in class net.neoforged.neoforge.attachment.AttachmentHolder
-
Writes the serializable attachments to a tag.
- serializeFloat(float) - Static method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplate
- serializeLocOrKey(String) - Static method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplate
- serializeNBT(HolderLookup.Provider) - Method in interface net.neoforged.neoforge.common.util.INBTSerializable
- serializeNBT(HolderLookup.Provider) - Method in class net.neoforged.neoforge.common.world.LevelChunkAuxiliaryLightManager
- serializeNBT(HolderLookup.Provider) - Method in class net.neoforged.neoforge.energy.EnergyStorage
- serializeNBT(HolderLookup.Provider) - Method in class net.neoforged.neoforge.items.ItemStackHandler
- serializeNestedTemplate(ModelTemplate, TextureMapping, Consumer<JsonElement>) - Static method in class net.neoforged.neoforge.client.model.generators.template.CustomLoaderBuilder
-
Serializes the given
ModelTemplate
/TextureMapping
pair inline using the providedconsumer
- serializer - Variable in class net.neoforged.neoforge.attachment.AttachmentType.Builder
- serializer - Variable in class net.neoforged.neoforge.attachment.AttachmentType
- serializer - Variable in record class net.neoforged.neoforge.server.permission.nodes.PermissionDynamicContextKey
-
The field for the
serializer
record component. - serializer() - Method in record class net.neoforged.neoforge.server.permission.nodes.PermissionDynamicContextKey
-
Returns the value of the
serializer
record component. - SERIALIZER - Static variable in record class net.neoforged.neoforge.oldtest.world.StructureModifierTest.TestModifier
- serializeToJson(EnumArgument.Info.Template, JsonObject) - Method in class net.neoforged.neoforge.server.command.EnumArgument.Info
- serializeToNetwork(EnumArgument.Info.Template, FriendlyByteBuf) - Method in class net.neoforged.neoforge.server.command.EnumArgument.Info
- serializeVector3f(Vector3fc) - Static method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplate
- serialVersionUID - Static variable in class net.neoforged.neoforge.common.util.SortedProperties
- server - Variable in class net.neoforged.neoforge.event.server.ServerLifecycleEvent
- server - Variable in class net.neoforged.neoforge.event.tick.ServerTickEvent
- server - Variable in class net.neoforged.neoforge.server.command.generation.GenerationTask
- server - Variable in class net.neoforged.neoforge.server.console.ConsoleCommandCompleter
- server - Variable in class net.neoforged.testframework.impl.TestFrameworkImpl
- Server() - Constructor for class net.neoforged.neoforge.oldtest.ConfigUITest.Server
- Server(ModContainer, DataGenerator, GatherDataEvent.DataGeneratorConfig) - Constructor for class net.neoforged.neoforge.data.event.GatherDataEvent.Server
- SERVER - Enum constant in enum class net.neoforged.neoforge.server.command.ConfigCommand.ServerModConfigType
- SERVER - Static variable in class net.neoforged.testframework.junit.EphemeralTestServerProvider
- SERVER_COUNTER - Static variable in class net.neoforged.neoforge.debug.fml.MultipleEntrypointsTest
- SERVER_DATA_LOAD - Enum constant in enum class net.neoforged.neoforge.event.TagsUpdatedEvent.UpdateCause
-
The tag update is caused by the server loading datapack data.
- SERVER_RELOAD - Enum constant in enum class net.neoforged.neoforge.registries.datamaps.DataMapsUpdatedEvent.UpdateCause
-
The data maps have been reloaded on the server.
- SERVER_RESTART_MESSAGE - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
- SERVER_RESTART_TITLE - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
- ServerAboutToStartEvent - Class in net.neoforged.neoforge.event.server
-
Called before the server begins loading anything.
- ServerAboutToStartEvent(MinecraftServer) - Constructor for class net.neoforged.neoforge.event.server.ServerAboutToStartEvent
- ServerChatEvent - Class in net.neoforged.neoforge.event
-
This event is fired whenever a
ServerboundChatPacket
is received from a client who has submitted their chat message. - ServerChatEvent(ServerPlayer, String, Component) - Constructor for class net.neoforged.neoforge.event.ServerChatEvent
- SERVERCONFIG - Static variable in class net.neoforged.neoforge.server.ServerLifecycleHooks
- SERVERHOOKS - Static variable in class net.neoforged.neoforge.server.ServerLifecycleHooks
- serverLevel - Variable in class net.neoforged.neoforge.event.level.ModifyCustomSpawnersEvent
- serverLevel - Variable in class net.neoforged.neoforge.server.command.generation.GenerationTask
- ServerLifecycleEvent - Class in net.neoforged.neoforge.event.server
- ServerLifecycleEvent(MinecraftServer) - Constructor for class net.neoforged.neoforge.event.server.ServerLifecycleEvent
- ServerLifecycleHooks - Class in net.neoforged.neoforge.server
- ServerLifecycleHooks() - Constructor for class net.neoforged.neoforge.server.ServerLifecycleHooks
- ServerModConfigType() - Constructor for enum class net.neoforged.neoforge.server.command.ConfigCommand.ServerModConfigType
- ServerModLoader - Class in net.neoforged.neoforge.server.loading
- ServerModLoader() - Constructor for class net.neoforged.neoforge.server.loading.ServerModLoader
- ServerPayloadContext - Record Class in net.neoforged.neoforge.network.handling
- ServerPayloadContext(ServerCommonPacketListener, ResourceLocation) - Constructor for record class net.neoforged.neoforge.network.handling.ServerPayloadContext
-
Creates an instance of a
ServerPayloadContext
record class. - ServerPayloadHandler - Class in net.neoforged.neoforge.network.handlers
- ServerPayloadHandler() - Constructor for class net.neoforged.neoforge.network.handlers.ServerPayloadHandler
- serverProvider(Class<T>, Consumer<T>) - Method in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl
- serverProvider(Class<T>, Consumer<T>) - Method in interface net.neoforged.testframework.registration.RegistrationHelper
- serverProviders - Variable in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl
- serverResourceManager - Variable in class net.neoforged.neoforge.data.event.GatherDataEvent.DataGeneratorConfig
- serverResources - Variable in class net.neoforged.neoforge.event.AddServerReloadListenersEvent
- serverSide - Variable in record class net.neoforged.neoforge.network.handling.DirectionalPayloadHandler
-
The field for the
serverSide
record component. - serverSide() - Method in record class net.neoforged.neoforge.network.handling.DirectionalPayloadHandler
-
Returns the value of the
serverSide
record component. - serverStarted(ServerStartedEvent) - Method in class net.neoforged.neoforge.oldtest.DeferredRegistryTest
- ServerStartedEvent - Class in net.neoforged.neoforge.event.server
-
Called after
ServerStartingEvent
when the server is available and ready to play. - ServerStartedEvent(MinecraftServer) - Constructor for class net.neoforged.neoforge.event.server.ServerStartedEvent
- ServerStartingEvent - Class in net.neoforged.neoforge.event.server
-
Called after
ServerAboutToStartEvent
and beforeServerStartedEvent
. - ServerStartingEvent(MinecraftServer) - Constructor for class net.neoforged.neoforge.event.server.ServerStartingEvent
- ServerStoppedEvent - Class in net.neoforged.neoforge.event.server
-
Called after
ServerStoppingEvent
when the server has completely shut down. - ServerStoppedEvent(MinecraftServer) - Constructor for class net.neoforged.neoforge.event.server.ServerStoppedEvent
- serverStopping(ServerStoppingEvent) - Method in class net.neoforged.neoforge.common.NeoForgeMod
- ServerStoppingEvent - Class in net.neoforged.neoforge.event.server
-
Called when the server begins an orderly shutdown, before
ServerStoppedEvent
. - ServerStoppingEvent(MinecraftServer) - Constructor for class net.neoforged.neoforge.event.server.ServerStoppingEvent
- ServerTickEvent - Class in net.neoforged.neoforge.event.tick
-
Base class of the two server tick events.
- ServerTickEvent(BooleanSupplier, MinecraftServer) - Constructor for class net.neoforged.neoforge.event.tick.ServerTickEvent
- ServerTickEvent.Post - Class in net.neoforged.neoforge.event.tick
-
ServerTickEvent.Post
is fired once per server tick, after the server performs work for the current tick. - ServerTickEvent.Pre - Class in net.neoforged.neoforge.event.tick
-
ServerTickEvent.Pre
is fired once per server tick, before the server performs work for the current tick. - ServerWorldCreationTest - Class in net.neoforged.neoforge.oldtest.world
-
Used to test that modded dimension types and dimensions are loaded on a clean dedicated server launch.
- ServerWorldCreationTest() - Constructor for class net.neoforged.neoforge.oldtest.world.ServerWorldCreationTest
- set - Variable in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
- set(int, int, int, BlockState) - Method in class net.neoforged.testframework.gametest.StructureTemplateBuilder
- set(int, int, int, BlockState, CompoundTag) - Method in class net.neoforged.testframework.gametest.StructureTemplateBuilder
- set(int, int, int, BlockState, CompoundTag) - Method in interface net.neoforged.testframework.gametest.TemplateBuilderHelper
- set(int, T) - Method in class net.neoforged.neoforge.common.util.ConcatenatedListView
- set(I, T) - Method in interface net.neoforged.testframework.gametest.StructureTemplateBuilder.FieldHandle
- set(Supplier<? extends DataComponentType<T>>, T) - Method in interface net.neoforged.neoforge.common.extensions.IDataComponentMapBuilderExtensions
- set(Supplier<? extends DataComponentType<T>>, T) - Method in interface net.neoforged.neoforge.common.MutableDataComponentHolder
-
Sets a data component.
- set(DataComponentType<T>, T) - Method in interface net.neoforged.neoforge.common.MutableDataComponentHolder
-
Sets a data component.
- set(DataComponentType<T>, T) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Sets a data component.
- set(ItemStack) - Method in class net.neoforged.neoforge.items.SlotItemHandler
- set(ItemStack) - Method in class net.neoforged.neoforge.items.StackCopySlot
- set(T) - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
-
Directly sets the value, without firing events or writing the config to disk.
- setAction(InteractionResult) - Method in class net.neoforged.neoforge.event.entity.player.ArrowNockEvent
- setAmount(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingHealEvent
- setAmount(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent
- setAmount(int) - Method in class net.neoforged.neoforge.event.entity.player.PlayerXpEvent.XpChange
- setAmount(int) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Sets the amount of this stack.
- setAttackDamage(float) - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.EnderPearl
- setAttackTargetEvent(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.entity.living.LivingEntityEventTests
- setBedOccupied(BlockState, Level, BlockPos, LivingEntity, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called when a user either starts or stops sleeping in the bed.
- setBedOccupied(Level, BlockPos, LivingEntity, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called when a user either starts or stops sleeping in the bed.
- setBiomes(HolderSet<Biome>) - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
- setBlocked(boolean) - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
-
Sets the blocking state of the entity.
- setBlockedDamage(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
-
Set how much damage is blocked by this action.
Note that initially the blocked amount depends on theBlocksAttacks.damageReductions()
. - setBlockedDamage(LivingShieldBlockEvent) - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
- setBlue(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
-
Sets the new blue color value of the fog.
- setBoundingBox(StructureSpawnOverride.BoundingBoxType) - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder.StructureSpawnOverrideBuilder
-
Sets the way the structure checks for spawn overrides.
- setBreakChance(float) - Method in class net.neoforged.neoforge.event.entity.player.AnvilRepairEvent
- setBubbleCount(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingDrownEvent
-
Sets the amount of bubbles that may be spawned.
- setBurnTime(int) - Method in class net.neoforged.neoforge.event.furnace.FurnaceFuelBurnTimeEvent
-
Set the burn time for the given ItemStack.
- setBuyingAmount(int) - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
- setCanBreathe(boolean) - Method in class net.neoforged.neoforge.event.entity.living.LivingBreatheEvent
-
Sets if the entity can breathe or not.
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.entity.living.LivingDrownEvent
-
Cancels the drowning event.
Cancellation is mostly equivalent toLivingDrownEvent.setDrowning(boolean)
with a value of false.
However, this also incurs the usual side effects of cancellation. - setCanceled(boolean) - Method in class net.neoforged.neoforge.event.entity.living.MobSplitEvent
-
Canceling this event will prevent any children from being spawned.
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
-
Cancels the event, preventing vanilla handling from being applied.
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.entity.player.SweepAttackEvent
-
Cancels the event, preventing further event handlers from acting.
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
-
Cancels this event, preventing any drops from being spawned and preventing
BlockBehaviour.spawnAfterBreak(net.minecraft.world.level.block.state.BlockState, net.minecraft.server.level.ServerLevel, net.minecraft.core.BlockPos, net.minecraft.world.item.ItemStack, boolean)
from being called. - setCanceled(boolean) - Method in class net.neoforged.neoforge.event.level.BlockEvent.BreakEvent
-
Cancelling this event will prevent the block from being broken, and notifies the client of the refusal.
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.level.BlockGrowFeatureEvent
-
Canceling this event will prevent the feature from growing.
- setCanceled(boolean) - Method in class net.neoforged.neoforge.event.tick.EntityTickEvent.Pre
-
Cancels this event, preventing the current tick from being executed for the entity.
- setCancellationResult(InteractionResult) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteract
-
Set the InteractionResult that will be returned to vanilla if the event is cancelled, instead of calling the relevant method of the event.
- setCancellationResult(InteractionResult) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteractSpecific
-
Set the InteractionResult that will be returned to vanilla if the event is cancelled, instead of calling the relevant method of the event.
- setCancellationResult(InteractionResult) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
-
Set the InteractionResult that will be returned to vanilla if the event is cancelled, instead of calling the relevant method of the event.
- setCancellationResult(InteractionResult) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickItem
-
Set the InteractionResult that will be returned to vanilla if the event is cancelled, instead of calling the relevant method of the event.
- setCancellationResult(InteractionResult) - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
-
Set the
InteractionResult
that will be returned to vanilla if the event is cancelled, instead of calling the relevant method of the event. - setCanConvert(boolean) - Method in class net.neoforged.neoforge.event.level.block.CreateFluidSourceEvent
-
Sets if the fluid will be converted to a source block.
- setCanGrief(boolean) - Method in class net.neoforged.neoforge.event.entity.EntityMobGriefingEvent
-
Changes if the entity is allowed to perform the griefing action.
- setCanHarvest(boolean) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.HarvestCheck
- setCanPickup(TriState) - Method in class net.neoforged.neoforge.event.entity.player.ItemEntityPickupEvent.Pre
-
Changes if the player may pickup the item.
- setCanRender(TriState) - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.CanRender
-
Changes if the
content
of the nameplate will be rendered. - setCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
- setChanged() - Method in class net.neoforged.neoforge.items.StackCopySlot
- setCharge(int) - Method in class net.neoforged.neoforge.event.entity.player.ArrowLooseEvent
- setChild(AgeableMob) - Method in class net.neoforged.neoforge.event.entity.living.BabyEntitySpawnEvent
- setCinematicCameraEnabled(boolean) - Method in class net.neoforged.neoforge.client.event.CalculatePlayerTurnEvent
-
Sets the cinematic camera value.
- setClazz(Class<?>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
- setColor(int, int, int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setColor(int, int, int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.RemappingVertexPipeline
- setColor(int, int, int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
- setCompact(boolean) - Method in class net.neoforged.neoforge.client.event.ScreenEvent.RenderInventoryMobEffects
-
Sets whether the effects should be rendered in compact mode (only icons, no text), or the default full size.
- setConnection(ChannelHandlerContext, Connection) - Static method in class net.neoforged.neoforge.network.connection.ConnectionUtils
-
Sets the
Connection
object to theChannelHandlerContext
object. - setConnectionType(Connection, ConnectionType) - Static method in class net.neoforged.neoforge.network.registration.ChannelAttributes
- setConsumeAirAmount(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingBreatheEvent
-
Sets the new consumed air amount.
- setContainerToEmpty() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack.Consumable
- setContainerToEmpty() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
-
Override this method for special handling.
- setContainerToEmpty() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack.SwapEmpty
- setContainerToEmpty() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple.Consumable
- setContainerToEmpty() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
-
Override this method for special handling.
- setContainerToEmpty() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple.SwapEmpty
- setContent(Component) - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.CanRender
-
Sets the new text on the nameplate.
- setContinueSleeping(boolean) - Method in class net.neoforged.neoforge.event.entity.player.CanContinueSleepingEvent
-
Sets if the sleeping entity may continue sleeping.
- setConversionTimer(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingConversionEvent.Pre
-
Sets the conversion timer, by changing this it prevents the event being triggered every tick Do note the timer of some of the entities are increments, but some of them are decrements Not every conversion is applicable for this
- setCopyOriginalSpawnPosition(boolean) - Method in class net.neoforged.neoforge.event.entity.player.PlayerRespawnPositionEvent
-
Changes if the original player's respawn position will be copied to the fresh player via
ServerPlayer.copyRespawnPosition(ServerPlayer)
. - setCost(long) - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
-
Changes the level cost of this operation.
- setCraftingPlayer(Player) - Static method in class net.neoforged.neoforge.common.CommonHooks
- setCreativeModeTabOrder(List<CreativeModeTab>) - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
- setCriticalHit(boolean) - Method in class net.neoforged.neoforge.event.entity.player.CriticalHitEvent
-
Changes the critical hit state.
- setDamage(ItemStack, int) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Set the damage for this itemstack.
- setDamageAmount(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingDrownEvent
-
Sets the amount of drowning damage that may be inflicted.
- setDamageMultiplier(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingFallEvent
- setDamageMultiplier(float) - Method in class net.neoforged.neoforge.event.entity.player.CriticalHitEvent
-
Sets the damage multiplier for the critical hit.
- setData(Supplier<AttachmentType<T>>, T) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
-
Sets the data attachment of the given type.
- setData(AttachmentType<T>, T) - Method in class net.neoforged.neoforge.attachment.AttachmentHolder
- setData(AttachmentType<T>, T) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
-
Sets the data attachment of the given type.
- setDaylength(CommandSourceStack, int) - Static method in class net.neoforged.neoforge.server.command.TimeSpeedCommand
- setDecorationStep(GenerationStep.Decoration) - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
-
Sets the world generation decoration step the structure spawns during.
- setDefault(CommandSourceStack) - Static method in class net.neoforged.neoforge.server.command.TimeSpeedCommand
- setDifficulty(DifficultyInstance) - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
-
Sets the difficulty instance for this event, which will be propagated to
Mob.finalizeSpawn(net.minecraft.world.level.ServerLevelAccessor, net.minecraft.world.DifficultyInstance, net.minecraft.world.entity.EntitySpawnReason, net.minecraft.world.entity.SpawnGroupData)
unless cancelled. - setDirection(Direction) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setDisableSweep(boolean) - Method in class net.neoforged.neoforge.event.entity.player.CriticalHitEvent
-
Sets if this attack should prevent a sweep from occurring.
- setDisplayname(Component) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.NameFormat
- setDisplayName(Component) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.TabListNameFormat
- setDistance(double) - Method in class net.neoforged.neoforge.event.entity.living.LivingFallEvent
- setDistance(float) - Method in class net.neoforged.neoforge.client.event.CalculateDetachedCameraDistanceEvent
-
Sets the pre-scaling factor distance from the camera to the camera entity.
- setDistance(float) - Method in class net.neoforged.neoforge.event.entity.player.PlayerFlyableFallEvent
- setDownfall(float) - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
- setDroppedExperience(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingExperienceDropEvent
- setDroppedExperience(int) - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
-
Set the amount of experience points that will be dropped by the block.
- setDrowning(boolean) - Method in class net.neoforged.neoforge.event.entity.living.LivingDrownEvent
-
Sets if the entity is actively drowning.
- setDumpers(SummaryDumper...) - Method in class net.neoforged.testframework.conf.FrameworkConfiguration.Builder
- setDuration(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
- setEnabled(Test, boolean, Entity) - Method in class net.neoforged.testframework.impl.TestFrameworkImpl
- setEnabled(Test, boolean, Entity) - Method in interface net.neoforged.testframework.TestFramework
-
Enables or disables a test.
- setEnabledByDefault(boolean) - Method in class net.neoforged.testframework.group.Group
- setEnchantLevel(int) - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
-
Set the new level of the enchantment (0-30)
- setEnergy(int) - Method in class net.neoforged.neoforge.energy.ComponentEnergyStorage
-
Writes a new energy value to the data component.
- setException(Throwable) - Method in class net.neoforged.neoforge.event.CommandEvent
- setExtraLife(int) - Method in class net.neoforged.neoforge.event.entity.item.ItemExpireEvent
-
Sets the amount of extra life time (in ticks) to give this
ItemEntity
. - setFarPlaneDistance(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
-
Sets the distance to the far plane of the fog.
- setFeature(Holder<ConfiguredFeature<?, ?>>) - Method in class net.neoforged.neoforge.event.level.BlockGrowFeatureEvent
-
Changes the feature that will be grown.
- setFeature(ResourceKey<ConfiguredFeature<?, ?>>) - Method in class net.neoforged.neoforge.event.level.BlockGrowFeatureEvent
-
Changes the feature that will be grown.
- setFinalState(BlockState) - Method in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
-
Sets the state to transform the block into after tool use.
- setFluid(FluidStack) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
- setFluid(FluidStack) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
- setFluid(FluidStack) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
- setFluid(FluidStack) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.FluidBucketWrapper
- setFocused(boolean) - Method in class net.neoforged.neoforge.client.gui.widget.ModListWidget.ModEntry
- setFogShape(FogShape) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
-
Sets the new shape of the fog being rendered.
- setFollowingPlayer(Player) - Method in class net.neoforged.neoforge.entity.XpOrbTargetingEvent
-
Sets a new result.
- setFont(Font) - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
-
Sets the font to be used to render text.
- setForgeStatusLine(String) - Static method in class net.neoforged.neoforge.internal.BrandingControl
- setFOV(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFov
-
Sets the field of view value.
- setGenericAmount(int) - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
- setGreen(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
-
Sets the new green color value of the fog.
- setHasAmbientOcclusion(boolean) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setHasPrecipitation(boolean) - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
- setHeight(int) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen.ListLabelWidget
- setHorizontalOffset(int) - Method in class net.neoforged.neoforge.client.event.ScreenEvent.RenderInventoryMobEffects
-
Replaces the horizontal offset of the effect stack
- setIncrement(int) - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.BossEventProgress
-
Sets the Y position increment before rendering the next boss health bar.
- setInfo(List<String>, ResourceLocation, Size2i) - Method in class net.neoforged.neoforge.client.gui.ModListScreen.InfoPanel
- setInformation(Component, Component) - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
-
Allows you to set a human-readable name and description for your Permission.
- setInstrument(NoteBlockInstrument) - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent.Play
- setInventorySlotContents(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
- setInvulnerabilityTicks(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent
-
When an entity's invulnerable time is fully cooled down, 20 ticks of invulnerability is added on the next attack.
- setInvulnerable(boolean) - Method in class net.neoforged.neoforge.event.entity.EntityInvulnerabilityCheckEvent
-
Sets the invulnerable status of the entity.
- setItem(int, ItemStack) - Method in class net.neoforged.neoforge.event.brewing.PotionBrewEvent
- setItemMovement(ItemEntity) - Method in class net.neoforged.neoforge.fluids.FluidType
-
Performs what to do when an item is in a fluid.
- setItemSlot(EquipmentSlot, ItemStack) - Method in class net.neoforged.neoforge.oldtest.client.rendering.EntityRendererEventsTest.MyEntity
- setItemSwappedToMainHand(ItemStack) - Method in class net.neoforged.neoforge.event.entity.living.LivingSwapItemsEvent.Hands
-
Sets the item that will be swapped to the main hand of the entity.
- setItemSwappedToOffHand(ItemStack) - Method in class net.neoforged.neoforge.event.entity.living.LivingSwapItemsEvent.Hands
-
Sets the item that will be swapped to the offhand of the entity.
- setKeyConflictContext(IKeyConflictContext) - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
- setKeyModifierAndCode(KeyModifier, InputConstants.Key) - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
- setKnockbackVelocity(Vec3) - Method in class net.neoforged.neoforge.event.level.ExplosionKnockbackEvent
-
Sets the explosion knockback velocity to add to the entity's existing velocity.
- setLevels(int) - Method in class net.neoforged.neoforge.event.entity.player.PlayerXpEvent.LevelChange
- setLightAt(BlockPos, int) - Method in interface net.neoforged.neoforge.common.world.AuxiliaryLightManager
-
Set the light value at the given position to the given value
- setLightAt(BlockPos, int) - Method in class net.neoforged.neoforge.common.world.LevelChunkAuxiliaryLightManager
- setLightEmission(int) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setListenerForServerboundHandshake(PacketListener) - Method in class net.neoforged.neoforge.common.util.FakePlayer.FakeConnection
- setLit(boolean) - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlockEntity
- setManager(ITicketManager<T>, ITicketManager<T>...) - Method in class net.neoforged.neoforge.common.ticket.SimpleTicket
-
Internal method that sets the collection from the managing system.
- setMaterialCost(int) - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
-
Sets how many right inputs are consumed.
- setMaxId(int) - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
- setMaxWidth(int) - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
-
Sets the maximum width of the tooltip.
- setMerger() - Static method in interface net.neoforged.neoforge.registries.datamaps.DataMapValueMerger
-
Returns a default merger that merges set data.
- setMessage(String) - Method in class net.neoforged.neoforge.client.event.ClientChatEvent
-
Sets the new message to be sent to the server, if the event is not cancelled.
- setMessage(Component) - Method in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent
-
Sets the new message to be displayed in the chat message window, if the event is not cancelled.
- setMessage(Component) - Method in class net.neoforged.neoforge.event.ServerChatEvent
-
Set the message to be sent to the relevant clients.
- setMouseSensitivity(double) - Method in class net.neoforged.neoforge.client.event.CalculatePlayerTurnEvent
-
Sets the mouse sensitivity value.
- setMultiplier(float) - Method in class net.neoforged.neoforge.event.entity.player.PlayerFlyableFallEvent
- setMusic(MusicInfo) - Method in class net.neoforged.neoforge.client.event.SelectMusicEvent
-
Changes the situational music.
- setNearPlaneDistance(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
-
Sets the distance to the near plane of the fog.
- setNewAboutToBeSetTarget(LivingEntity) - Method in class net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent
-
Sets the new target this entity shall have.
- setNewBottomItem(ItemStack) - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnTakeItem
-
Sets the itemstack in the bottom slot.
- setNewDamage(float) - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
-
This sets the current damage value for the entity at the stage of the damage sequence in which it is set.
- setNewDamage(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Pre
-
Sets the amount to reduce the entity health by
- setNewDamage(EquipmentSlot, float) - Method in class net.neoforged.neoforge.event.entity.living.ArmorHurtEvent
-
Sets new damage for the armor.
- setNewFovModifier(float) - Method in class net.neoforged.neoforge.client.event.ComputeFovModifierEvent
-
Sets the new field of vision (FOV) of the player.
- setNewGameMode(GameType) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerChangeGameModeEvent
-
Sets the game mode the player will be changed to if this event is not cancelled.
- setNewPitch(float) - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
-
Sets the pitch the sound will be played at.
- setNewScreen(Screen) - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Opening
-
Sets the new screen to be opened if the event is not cancelled.
- setNewSize(EntityDimensions) - Method in class net.neoforged.neoforge.event.entity.EntityEvent.Size
- setNewSpeed(float) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
- setNewState(BlockState) - Method in class net.neoforged.neoforge.event.level.BlockEvent.FluidPlaceBlockEvent
- setNewTopItem(ItemStack) - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnTakeItem
-
Sets the itemstack in the top slot.
- setNewVolume(float) - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
-
Sets the volume the sound will be played at.
- setNonProxyable(BlockCapability<?, ?>) - Method in class net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent
-
Makes a block capability non-proxyable.
- setNormal(float, float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setNormal(float, float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.RemappingVertexPipeline
- setNormal(float, float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.TransformingVertexPipeline
- setNormal(float, float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
- setNote(NoteBlockEvent.Note, NoteBlockEvent.Octave) - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent
-
Set Note and Octave for this event.
If octave is Octave.HIGH, note may only be Note.F_SHARP - setOf(Codec<T>) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
- setOutput(ItemStack) - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
-
Sets the output slot to a specific itemstack.
- setOutput(ItemStack) - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnPlaceItem
-
Sets the output slot to a specific itemstack.
- setParseResults(ParseResults<CommandSourceStack>) - Method in class net.neoforged.neoforge.event.CommandEvent
- setParticleOptions(ParticleOptions) - Method in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
- setPayloadSetup(Connection, NetworkPayloadSetup) - Static method in class net.neoforged.neoforge.network.registration.ChannelAttributes
- setPhantomsToSpawn(int) - Method in class net.neoforged.neoforge.event.entity.player.PlayerSpawnPhantomsEvent
-
Sets the number of phantoms to be spawned.
- setPitch(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeCameraAngles
-
Sets the pitch of the player's camera.
- setPlant(Block) - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
- setPostAttackInvulnerabilityTicks(int) - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
-
Explicitly sets the invulnerability ticks after the damage has been applied.
- setPosX(int) - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.Chat
-
Sets the new X position for rendering the chat messages overlay
- setPosY(int) - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.Chat
-
Sets the new Y position for rendering the chat messages overlay
- setProblem(Player.BedSleepingProblem) - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
-
Sets a new sleeping problem.
- setProjectileItemStack(ItemStack) - Method in class net.neoforged.neoforge.event.entity.living.LivingGetProjectileEvent
-
Sets the projectile itemstack to be used.
- setProxyable(boolean) - Method in class net.neoforged.neoforge.capabilities.BlockCapability
- setProxyable(BlockCapability<?, ?>) - Method in class net.neoforged.neoforge.capabilities.RegisterCapabilitiesEvent
-
Makes a block capability proxyable, indicating that it is always safe to forward a request for this capability to another block.
- setRange(ModConfigSpec.Range<V>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
- setRareAmount(int) - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
- setRatioX(double) - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- setRatioZ(double) - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- setRed(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
-
Sets the new red color value of the fog.
- setReduction(DamageContainer.Reduction, float) - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
- setRefillAirAmount(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingBreatheEvent
-
Sets the new refilled air amount.
- setRenderData(ContextKey<T>, T) - Method in interface net.neoforged.neoforge.client.extensions.IRenderStateExtension
-
Sets the object associated with the given key.
- setRenderData(ContextKey<T>, T) - Method in class net.neoforged.neoforge.client.renderstate.BaseRenderState
- setResetButtonstate(boolean) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
- setRespawnLevel(ResourceKey<Level>) - Method in class net.neoforged.neoforge.event.entity.player.PlayerRespawnPositionEvent
-
Set the level the player will respawn into using a
ResourceKey
. - setResult(ScreenEvent.MouseButtonPressed.Post.Result) - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonPressed.Post
-
Changes the result of this event.
- setResult(ScreenEvent.MouseButtonReleased.Post.Result) - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased.Post
-
Changes the result of this event.
- setResult(MobDespawnEvent.Result) - Method in class net.neoforged.neoforge.event.entity.living.MobDespawnEvent
-
Changes the result of this event.
- setResult(MobEffectEvent.Applicable.Result) - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Applicable
-
Changes the result of this event.
- setResult(MobSpawnEvent.PositionCheck.Result) - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck
-
Changes the result of this event.
- setResult(MobSpawnEvent.SpawnPlacementCheck.Result) - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
-
Changes the result of this event.
- setResult(PlayerSpawnPhantomsEvent.Result) - Method in class net.neoforged.neoforge.event.entity.player.PlayerSpawnPhantomsEvent
-
Changes the result of this event, which controls if a spawn attempt will be made.
- setResult(CropGrowEvent.Pre.Result) - Method in class net.neoforged.neoforge.event.level.block.CropGrowEvent.Pre
-
Changes the result of this event.
- setResultMessage(Component) - Method in class net.neoforged.neoforge.client.event.ScreenshotEvent
-
Sets the new custom cancellation message used to inform the player.
- setResultStack(ItemStack) - Method in class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish
- setRoll(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeCameraAngles
-
Sets the roll of the player's camera.
- setScreenshotFile(File) - Method in class net.neoforged.neoforge.client.event.ScreenshotEvent
-
Sets the new file where the screenshot will be saved to.
- setSelected(ModListWidget.ModEntry) - Method in class net.neoforged.neoforge.client.gui.ModListScreen
- setShade(boolean) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setShieldDamage(int) - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
-
Set how much durability the shield will lose if
LivingShieldBlockEvent.getBlocked()
is true. - setSize(int) - Method in class net.neoforged.neoforge.event.entity.living.SpawnClusterSizeEvent
-
Changes the max cluster size for the entity.
- setSize(int) - Method in class net.neoforged.neoforge.items.ItemStackHandler
- setSize(int, int) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen.ListLabelWidget
- setSkipAll(boolean) - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
-
Sets if the event should skip displaying all attribute modifiers.
- setSliderValue(double) - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
- setSound(SoundInstance) - Method in class net.neoforged.neoforge.client.event.sound.PlaySoundEvent
-
Sets the sound to be played, which may be
null
to prevent any sound from being played. - setSound(Holder<SoundEvent>) - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
-
Sets the sound event to be played.
- setSource(SoundSource) - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
-
Sets the sound source.
- setSpawnCancelled(boolean) - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
-
This method can be used to cancel the spawn of this mob.
- setSpawnData(SpawnGroupData) - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
-
Sets the spawn data for this entity.
- setSpeed(CommandSourceStack, float) - Static method in class net.neoforged.neoforge.server.command.TimeSpeedCommand
- setSprite(TextureAtlasSprite) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setStackCopy(ItemStack) - Method in class net.neoforged.neoforge.items.ItemHandlerCopySlot
- setStackCopy(ItemStack) - Method in class net.neoforged.neoforge.items.StackCopySlot
-
Sets the itemstack from the storage.
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.ComponentItemHandler
- setStackInSlot(int, ItemStack) - Method in interface net.neoforged.neoforge.items.IItemHandlerModifiable
-
Overrides the stack in the given slot.
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.ItemStackHandler
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.EmptyItemHandler
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.InvWrapper
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.RangedWrapper
- setStackInSlot(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
- setStat(Stat<?>) - Method in class net.neoforged.neoforge.event.StatAwardEvent
-
Replaces the
Stat
to be awarded - setStateProvider(AlterGroundEvent.StateProvider) - Method in class net.neoforged.neoforge.event.level.AlterGroundEvent
-
Sets the
BlockStateProvider
that will be used by theAlterGroundDecorator
.
Because this may be modified by multiple mods, it is advisable to wrap the current provider. - setStatus(String, Test.Status) - Method in interface net.neoforged.testframework.impl.MutableTestFramework.MutableTests
- setStatus(String, Test.Status) - Method in class net.neoforged.testframework.impl.TestFrameworkImpl.TestsImpl
- setStatusCommand(String, Test.Result, String) - Method in interface net.neoforged.testframework.impl.MutableTestFramework
- setStrength(float) - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- setSuccessful(boolean) - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
-
Cancels the event and changes the successful state.
- setSweeping(boolean) - Method in class net.neoforged.neoforge.event.entity.player.SweepAttackEvent
- setSwingHand(boolean) - Method in class net.neoforged.neoforge.client.event.InputEvent.InteractionKeyMappingTriggered
-
Sets whether to swing the hand.
- setSync(boolean) - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
- setTable(LootTable) - Method in class net.neoforged.neoforge.event.LootTableLoadEvent
- setTargetX(double) - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
- setTargetY(double) - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
- setTargetZ(double) - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
- setTeleportTransition(TeleportTransition) - Method in class net.neoforged.neoforge.event.entity.player.PlayerRespawnPositionEvent
-
Set the teleport transition for where the player will respawn
- setTemperature(float) - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
- setTemperatureModifier(Biome.TemperatureModifier) - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
- setTerrainAdaptation(TerrainAdjustment) - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
-
Sets the way the structure adapts to the terrain during generation.
- setTexture(ResourceLocation) - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Texture
-
Set the texture to use for the tooltip background and frame or
null
to use the default textures. - setTimeAddition(long) - Method in class net.neoforged.neoforge.event.level.SleepFinishedTimeEvent
-
Sets the new time which should be set when all players wake up
- settingEmissivity(int) - Static method in class net.neoforged.neoforge.client.model.QuadTransformers
- settingMaxEmissivity() - Static method in class net.neoforged.neoforge.client.model.QuadTransformers
- settings - Variable in class net.neoforged.neoforge.event.level.LevelEvent.CreateSpawnPosition
- Settings(ResourceLocation, boolean, boolean, boolean, boolean, String) - Constructor for record class net.neoforged.neoforge.client.model.obj.ObjGeometry.Settings
-
Creates an instance of a
Settings
record class. - setTintIndex(int) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setTitle(Component) - Method in class net.neoforged.testframework.group.Group
- setToDefault() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
- setTranslationKey(String) - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
- setType(Gui.HeartType) - Method in class net.neoforged.neoforge.client.event.PlayerHeartTypeEvent
-
Set the heart sprite which will be displayed on the
Player
's health bar. - setUndoButtonstate(boolean) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
- setup - Variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkPayload
-
The field for the
setup
record component. - setup - Static variable in class net.neoforged.neoforge.network.registration.NetworkRegistry
- setup - Static variable in class net.neoforged.neoforge.registries.NeoForgeRegistriesSetup
- setup() - Method in record class net.neoforged.neoforge.network.payload.ModdedNetworkPayload
-
Returns the value of the
setup
record component. - setup() - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Sets up the network registry by firing
RegisterPayloadHandlersEvent
, storing the resulting payload registrations inNetworkRegistry.PAYLOAD_REGISTRATIONS
. - setup(StructureTemplateManager) - Method in class net.neoforged.testframework.gametest.DynamicStructureTemplates
- setup(IEventBus) - Static method in class net.neoforged.neoforge.registries.NeoForgeRegistriesSetup
- setup(FMLCommonSetupEvent) - Method in class net.neoforged.neoforge.oldtest.chat.EntitySelectorTest
- setupClient(TestFrameworkImpl, IEventBus, ModContainer) - Static method in class net.neoforged.testframework.impl.TestFrameworkImpl
- setupGlyphProviderTypeTest(DynamicTest) - Static method in class net.neoforged.neoforge.debug.client.CustomGlyphProviderTypeTest
- setupLegacyTagWarning(IEventBus) - Static method in class net.neoforged.neoforge.common.TagConventionLogWarning
- setupModelAnimations(LivingEntity, ItemStack, EquipmentSlot, Model, float, float, float, float, float, float) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
-
Called when an armor piece is about to be rendered, allowing parts of the model to be animated or changed.
- setupTicks - Variable in record class net.neoforged.testframework.gametest.GameTestData
-
The field for the
setupTicks
record component. - setupTicks() - Element in annotation interface net.neoforged.testframework.gametest.GameTest
- setupTicks() - Method in record class net.neoforged.testframework.gametest.GameTestData
-
Returns the value of the
setupTicks
record component. - setupUntranslatedItemTagWarning(IEventBus) - Static method in class net.neoforged.neoforge.client.TagConventionLogWarningClient
- setUseBlock(TriState) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock
- setUseBlock(TriState) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
-
FALSE:
invalid reference
Block#use(BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult)
- setUseItem(TriState) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock
- setUseItem(TriState) - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
-
FALSE: Neither
Item.useOn(UseOnContext)
orIItemExtension.onItemUseFirst(net.minecraft.world.item.ItemStack, net.minecraft.world.item.context.UseOnContext)
will be called. - setUsername(UUID, String) - Static method in class net.neoforged.neoforge.common.UsernameCache
-
Set a player's current usernamee
- setUv(float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setUv(float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.RemappingVertexPipeline
- setUv(float, float) - Method in class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
- setUv1(int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setUv1(int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.RemappingVertexPipeline
- setUv1(int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
- setUv2(int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- setUv2(int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.RemappingVertexPipeline
- setUv2(int, int) - Method in class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
- setValidator(Predicate<FluidStack>) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
- setValue(double) - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
- setValue(int) - Method in class net.neoforged.neoforge.event.StatAwardEvent
-
Replaces the value to be awarded.
- setValue(V) - Method in class net.neoforged.neoforge.common.util.MutableHashedLinkedMap.Entry
- setValueFromMouse(double) - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
- setVisible(boolean) - Method in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
- setWidth(int) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen.ListLabelWidget
- setX(int) - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
-
Sets the X origin of the tooltip.
- setX(int) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen.ListLabelWidget
- setXp(int) - Method in class net.neoforged.neoforge.event.GrindstoneEvent
-
Sets the experience amount.
- setY(int) - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
-
Sets the Y origin of the tooltip.
- setY(int) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen.ListLabelWidget
- setYaw(float) - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeCameraAngles
-
Sets the yaw of the player's camera.
- shade - Variable in class net.neoforged.neoforge.client.model.generators.template.ElementBuilder
- shade - Variable in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- shade(boolean) - Method in class net.neoforged.neoforge.client.model.generators.template.ElementBuilder
-
Sets whether or not this element should be shaded.
- shadeQuads - Variable in class net.neoforged.neoforge.client.model.generators.loaders.ObjModelBuilder
- shadeQuads - Variable in record class net.neoforged.neoforge.client.model.obj.ObjGeometry.Settings
-
The field for the
shadeQuads
record component. - shadeQuads - Variable in class net.neoforged.neoforge.client.model.obj.ObjGeometry
- shadeQuads() - Method in record class net.neoforged.neoforge.client.model.obj.ObjGeometry.Settings
-
Returns the value of the
shadeQuads
record component. - shadeQuads(boolean) - Method in class net.neoforged.neoforge.client.model.generators.loaders.ObjModelBuilder
- ShaderResourcesTest - Class in net.neoforged.neoforge.oldtest.client.rendering
- ShaderResourcesTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.client.rendering.ShaderResourcesTest
- ShaderResourcesTest.ClientInit - Class in net.neoforged.neoforge.oldtest.client.rendering
- shaders - Variable in class net.neoforged.neoforge.client.event.RegisterEntitySpectatorShadersEvent
- SHADERS - Static variable in class net.neoforged.neoforge.client.EntitySpectatorShaderManager
- SHADERS - Static variable in class net.neoforged.neoforge.client.resources.VanillaClientListeners
- SHAPE - Static variable in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlock
- shapelessRecipeIngredients(ShapelessRecipe) - Static method in class net.neoforged.neoforge.debug.crafting.IngredientTests
- SHEARS_CARVE - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
This action is exposed by shears and corresponds to a carve action that is triggered with a right click on a block that supports such behaviour.
- SHEARS_DIG - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
Exposed by shears to allow querying tool behaviours
- SHEARS_DISARM - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
This action is exposed by shears and corresponds to a disarm action that is triggered by breaking a block that supports such behaviour.
- SHEARS_HARVEST - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
This action is exposed by shears and corresponds to a harvest action that is triggered with a right click on a block that supports such behaviour.
- SHEARS_REMOVE_ARMOR - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
This action is exposed by shears and corresponds to a harvest action that is triggered with a right click on armored wolves.
- SHEARS_TRIM - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
This action is exposed by shears and corresponds to a trim action that is triggered with a right click on a block that supports such behavior.
- SHIELD_PATTERNS_ATLAS - Static variable in class net.neoforged.neoforge.client.data.SpriteSourceProvider
- shieldBlockEvent(DynamicTest) - Static method in class net.neoforged.neoforge.debug.entity.living.LivingEntityEventTests
- shieldDamage - Variable in class net.neoforged.neoforge.common.damagesource.DamageContainer
- shieldDamage - Variable in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
- shieldDamage - Variable in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
- shieldDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
-
If the event is
LivingShieldBlockEvent.getBlocked()
and the user is holding a shield, the returned amount will be taken from the item's durability. - SHIFT - Enum constant in enum class net.neoforged.neoforge.client.settings.KeyModifier
- shiftDown - Variable in record class net.neoforged.neoforge.client.ClientTooltipFlag
-
The field for the
shiftDown
record component. - shiftDown() - Method in record class net.neoforged.neoforge.client.ClientTooltipFlag
-
Returns the value of the
shiftDown
record component. - shouldBeSaved() - Method in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntityPart
- shouldBobAsEntity(ItemStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
-
Returns Whether the item should bob when rendered in the world as an entity.
- shouldCauseBlockBreakReset(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called when the player is mining a block and the item in his hand changes.
- shouldCauseBlockBreakReset(ItemStack, ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called when the player is mining a block and the item in his hand changes.
- shouldCauseReequipAnimation(ItemStack, ItemStack, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Determine if the player switching between these two item stacks
- shouldCauseReequipAnimation(ItemStack, ItemStack, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- shouldCheckWeakPower(BlockState, SignalGetter, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.
- shouldCheckWeakPower(SignalGetter, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called to determine whether to allow the block to handle its own indirect power rather than using the default rules.
- shouldDisplayFluidOverlay(BlockState, BlockAndTintGetter, BlockPos, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.
- shouldDisplayFluidOverlay(BlockAndTintGetter, BlockPos, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called to determine whether this block should use the fluid overlay texture or flowing texture when it is placed under the fluid.
- shouldHideAdjacentFluidFace(Direction, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Determines if a fluid adjacent to the block on the given side should not be rendered.
- shouldHideAdjacentFluidFace(BlockState, Direction, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Determines if a fluid adjacent to the block on the given side should not be rendered.
- shouldHideAdjacentFluidFace(BlockState, Direction, FluidState) - Method in class net.neoforged.neoforge.debug.fluid.ClientFluidTests.WaterGlassBlock
- shouldInformAdmins() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- shouldMergeAttributeTooltips() - Static method in class net.neoforged.neoforge.common.NeoForgeMod
- shouldRconBroadcast() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- shouldRenderEffect(MobEffectInstance) - Static method in class net.neoforged.neoforge.client.ClientHooks
- shouldRiderSit() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
-
Used in model rendering to determine if the entity riding this entity should be in the 'sitting' position.
- shouldShow() - Method in class net.neoforged.neoforge.event.AddAttributeTooltipsEvent
-
Checks if the attribute tooltips should be shown on the current item stack.
- shouldSpawnPhantoms(ServerLevel, BlockPos) - Method in class net.neoforged.neoforge.event.entity.player.PlayerSpawnPhantomsEvent
-
Checks if a spawn attempt should be made by checking the current result and evaluating the vanilla conditions if necessary.
- shouldSpreadAsEntity(ItemStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
-
Returns Whether the item should be spread out when rendered in the world as an entity.
- shouldSuppressEnderManAnger(EnderMan, Player) - Static method in class net.neoforged.neoforge.common.CommonHooks
- shouldSwingHand() - Method in class net.neoforged.neoforge.client.event.InputEvent.InteractionKeyMappingTriggered
-
Returns whether to swing the hand; always takes effect, regardless of cancellation.
- shouldTriggerClientSideContainerClosingOnOpen() - Method in interface net.neoforged.neoforge.common.extensions.IMenuProviderExtension
-
Returns
true
if the existing container should be closed on the client side when opening a new one,false
otherwise. - shouldUpdateStaticData() - Method in class net.neoforged.neoforge.event.TagsUpdatedEvent
-
Whether static data (which in single player is shared between server and client thread) should be updated as a result of this event.
- SHOVEL_DOUSE - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
Passed onto
IBlockExtension.getToolModifiedState(net.minecraft.world.level.block.state.BlockState, net.minecraft.world.item.context.UseOnContext, net.neoforged.neoforge.common.ItemAbility, boolean)
when a shovel wants to douse a campfire - SHOVEL_FLATTEN - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
Passed onto
IBlockExtension.getToolModifiedState(net.minecraft.world.level.block.state.BlockState, net.minecraft.world.item.context.UseOnContext, net.neoforged.neoforge.common.ItemAbility, boolean)
when a shovel wants to turn dirt into path - show() - Static method in class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.TooltipTestScreen
- showAsGroup - Variable in class net.neoforged.testframework.client.TestScreen
- showFile(CommandContext<CommandSourceStack>) - Static method in class net.neoforged.neoforge.client.command.ClientConfigCommand.ShowFile
- showFile(CommandContext<CommandSourceStack>) - Static method in class net.neoforged.neoforge.server.command.ConfigCommand.ShowFile
- ShowFile() - Constructor for class net.neoforged.neoforge.client.command.ClientConfigCommand.ShowFile
- ShowFile() - Constructor for class net.neoforged.neoforge.server.command.ConfigCommand.ShowFile
- showLoadWarnings - Variable in class net.neoforged.neoforge.client.config.NeoForgeClientConfig
- showNotification - Variable in class net.neoforged.neoforge.client.gui.widget.ModsButton
- shrink(int) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Removes the given amount from this stack.
- SHULKER_BOXES - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Block tag equivalent is
BlockTags.SHULKER_BOXES
- SHULKER_BOXES_ATLAS - Static variable in class net.neoforged.neoforge.client.data.SpriteSourceProvider
- side - Variable in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
- side() - Element in annotation interface net.neoforged.testframework.annotation.ForEachTest
-
Returns the sides the child tests are loaded on.
- side() - Element in annotation interface net.neoforged.testframework.annotation.TestHolder
-
Returns the sides this test should be registered on.
- SIDE_FILTER - Static variable in class net.neoforged.testframework.impl.FrameworkCollectors
- SidedInvWrapper - Class in net.neoforged.neoforge.items.wrapper
- SidedInvWrapper(WorldlyContainer, Direction) - Constructor for class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
- SidedInvWrapper.InsertLimit - Interface in net.neoforged.neoforge.items.wrapper
- siege - Variable in class net.neoforged.neoforge.event.village.VillageSiegeEvent
- SIGNS_ATLAS - Static variable in class net.neoforged.neoforge.client.data.SpriteSourceProvider
- SILENCED - Enum constant in enum class net.neoforged.neoforge.common.TagConventionLogWarning.LogWarningMode
- SILKTOUCH - Static variable in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
- SilkTouchTestModifier(LootItemCondition[]) - Constructor for class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest.SilkTouchTestModifier
- Simple(CustomUnbakedBlockStateModel) - Constructor for class net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder.Simple
- SIMPLE_FLUID_CONTENT - Static variable in class net.neoforged.neoforge.debug.capabilities.FluidTemplatesTests
- SIMPLE_FLUID_CONTENT - Static variable in class net.neoforged.neoforge.oldtest.item.CustomFluidContainerTest
- SIMPLE_FLUID_INGREDIENT_TYPE - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- SimpleEntity(EntityType<?>, Level) - Constructor for class net.neoforged.neoforge.debug.entity.EntityTests.SimpleEntity
- SimpleFluidContent - Class in net.neoforged.neoforge.fluids
-
Stock data component class to hold a
FluidStack
. - SimpleFluidContent(FluidStack) - Constructor for class net.neoforged.neoforge.fluids.SimpleFluidContent
- SimpleFluidIngredient - Class in net.neoforged.neoforge.fluids.crafting
-
Fluid ingredient that matches the fluids specified by the given
HolderSet
. - SimpleFluidIngredient(HolderSet<Fluid>) - Constructor for class net.neoforged.neoforge.fluids.crafting.SimpleFluidIngredient
- simpleModelWrapper() - Static method in interface net.neoforged.neoforge.client.model.standalone.StandaloneModelBaker
-
Returns a standalone baker for a
SimpleModelWrapper
, baked without additional transformations. - simpleModelWrapper(ModelState) - Static method in interface net.neoforged.neoforge.client.model.standalone.StandaloneModelBaker
-
Returns a standalone baker for a
SimpleModelWrapper
, baked with the providedModelState
transformations. - SimpleRecord(int, String) - Constructor for record class net.neoforged.neoforge.oldtest.conditions.ConditionalCodecTest.Record.SimpleRecord
-
Creates an instance of a
SimpleRecord
record class. - SimpleTicket<T> - Class in net.neoforged.neoforge.common.ticket
-
Common class for a simple ticket based system.
- SimpleTicket() - Constructor for class net.neoforged.neoforge.common.ticket.SimpleTicket
- SimpleTier - Class in net.neoforged.neoforge.common
-
Helper class to define a custom tier FIXME: is this still needed?
- SimpleTier(TagKey<Block>, int, float, float, int, Supplier<Ingredient>) - Constructor for class net.neoforged.neoforge.common.SimpleTier
- simpleType() - Static method in class net.neoforged.neoforge.fluids.crafting.FluidIngredientCodecs
- simulate - Variable in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
- simulate() - Method in enum class net.neoforged.neoforge.fluids.capability.IFluidHandler.FluidAction
- SIMULATE - Enum constant in enum class net.neoforged.neoforge.fluids.capability.IFluidHandler.FluidAction
- SineSound(Vec3) - Constructor for class net.neoforged.neoforge.debug.client.ClientTests.SineSound
- SineStream() - Constructor for class net.neoforged.neoforge.debug.client.ClientTests.SineStream
- singleBiomeDimension(ResourceKey<Biome>) - Method in class net.neoforged.neoforge.oldtest.client.CustomPresetEditorTest.SwampDesertScreen
- singleSpawn(HolderSet<Biome>, Weighted<MobSpawnSettings.SpawnerData>) - Static method in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddSpawnsBiomeModifier
-
Convenience method for using a single MobSpawnSettings.SpawnerDatas.
- singleSpawn(HolderSet<Structure>, Weighted<MobSpawnSettings.SpawnerData>) - Static method in record class net.neoforged.neoforge.common.world.StructureModifiers.AddSpawnsStructureModifier
-
Convenience method for using a single
MobSpawnSettings.SpawnerData
. - singularOrPluralCodec(Codec<T>, String) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
- singularOrPluralCodec(Codec<T>, String, String) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
- singularOrPluralCodecNotEmpty(Codec<T>, String) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
- singularOrPluralCodecNotEmpty(Codec<T>, String, String) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
- sinkInFluid(FluidType) - Method in interface net.neoforged.neoforge.common.extensions.ILivingEntityExtension
-
Performs what to do when an entity attempts to go down or "sink" in a fluid.
- size - Variable in class net.neoforged.neoforge.event.entity.living.SpawnClusterSizeEvent
- size - Variable in class net.neoforged.neoforge.event.level.BlockEvent.PortalSpawnEvent
- size - Variable in class net.neoforged.neoforge.items.ComponentItemHandler
- size - Variable in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntityPart
- size - Variable in class net.neoforged.testframework.gametest.StructureTemplateBuilder
- size() - Method in class net.neoforged.neoforge.common.util.ConcatenatedListView
- size() - Method in class net.neoforged.neoforge.items.wrapper.RecipeWrapper
-
Returns the size of this inventory.
- size() - Method in record class net.neoforged.neoforge.registries.holdersets.AnyHolderSet
- size() - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
- size() - Method in class net.neoforged.neoforge.registries.holdersets.NotHolderSet
- Size(int, int, int) - Constructor for record class net.neoforged.testframework.gametest.EmptyTemplate.Size
-
Creates an instance of a
Size
record class. - Size(Entity, Pose, EntityDimensions) - Constructor for class net.neoforged.neoforge.event.entity.EntityEvent.Size
- Size(Entity, Pose, EntityDimensions, EntityDimensions) - Constructor for class net.neoforged.neoforge.event.entity.EntityEvent.Size
- SIZE - Static variable in class net.neoforged.neoforge.fluids.FluidType
-
A lazy value which computes the number of fluid types within the registry.
- SIZE - Static variable in class net.neoforged.testframework.gametest.StructureTemplateBuilder
- Size2i - Class in net.neoforged.neoforge.common.util
- Size2i(int, int) - Constructor for class net.neoforged.neoforge.common.util.Size2i
- SizedFluidIngredient - Class in net.neoforged.neoforge.fluids.crafting
-
Standard implementation for a FluidIngredient with an amount.
- SizedFluidIngredient(FluidIngredient, int) - Constructor for class net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient
- sizedFluidIngredientMatching(ExtendedGameTestHelper) - Static method in class net.neoforged.neoforge.debug.fluid.crafting.FluidIngredientTests
- sizedFluidIngredientSerialization(ExtendedGameTestHelper) - Static method in class net.neoforged.neoforge.debug.fluid.crafting.FluidIngredientTests
- SizedIngredient - Class in net.neoforged.neoforge.common.crafting
-
Standard implementation for an ingredient and a count.
- SizedIngredient(Ingredient, int) - Constructor for class net.neoforged.neoforge.common.crafting.SizedIngredient
- SizeLimits(int) - Constructor for record class net.neoforged.neoforge.network.filters.GenericPacketSplitter.SizeLimits
- SizeLimits(int, int) - Constructor for record class net.neoforged.neoforge.network.filters.GenericPacketSplitter.SizeLimits
-
Creates an instance of a
SizeLimits
record class. - sizeRange - Variable in class net.neoforged.neoforge.common.ModConfigSpec.ListValueSpec
- SKELETON_USABLE_BOWS - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Controls what items Skeletons can use as default as a valid bow This tag defaults to
Items.BOW
when not present in any datapacks, including forge client on vanilla server - skinMap - Variable in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
- skipAll - Variable in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
- skipGroup(EquipmentSlotGroup) - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
-
Marks an entire
EquipmentSlotGroup
as skipped, preventing all modifiers for that group from showing. - skipId(ResourceLocation) - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
-
Marks the id of a specific attribute modifier as skipped, causing it to not be displayed in the tooltip.
- skipped - Variable in class net.neoforged.testframework.summary.JUnitSummaryDumper.TestSuite
- SKIPPED - Enum constant in enum class net.neoforged.testframework.summary.JUnitSummaryDumper.TestCase.Type
- skippedCount - Variable in class net.neoforged.neoforge.server.command.generation.GenerationTask
- skippedGroups - Variable in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
- skippedIds - Variable in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
- skipRendering(BlockState, BlockState, Direction) - Method in class net.neoforged.neoforge.oldtest.block.HideNeighborFaceTest.GlassSlab
- skullModels - Variable in class net.neoforged.neoforge.client.event.EntityRenderersEvent.CreateSkullModels
- skullModelsByType - Static variable in class net.neoforged.neoforge.client.ClientHooks
- SKULLS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Tag that holds all head based blocks such as Skeleton Skull or Player Head.
- SkullType() - Constructor for enum class net.neoforged.neoforge.oldtest.block.CustomHeadTest.SkullType
- skyAccess - Variable in record class net.neoforged.testframework.gametest.GameTestData
-
The field for the
skyAccess
record component. - skyAccess() - Element in annotation interface net.neoforged.testframework.gametest.GameTest
- skyAccess() - Method in record class net.neoforged.testframework.gametest.GameTestData
-
Returns the value of the
skyAccess
record component. - skyLight - Variable in record class net.neoforged.neoforge.client.model.ExtraFaceData
-
The field for the
skyLight
record component. - skyLight - Variable in class net.neoforged.neoforge.client.model.generators.template.ElementBuilder
- skyLight - Variable in class net.neoforged.neoforge.client.model.generators.template.FaceBuilder
- skyLight() - Method in record class net.neoforged.neoforge.client.model.ExtraFaceData
-
Returns the value of the
skyLight
record component. - SLEEP_OVERLAY - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- SleepFinishedTimeEvent - Class in net.neoforged.neoforge.event.level
-
This event is fired when all players are asleep and the time should be set to day.
setWakeUpTime(wakeUpTime) sets a new time that will be added to the dayTime. - SleepFinishedTimeEvent(ServerLevel, long, long) - Constructor for class net.neoforged.neoforge.event.level.SleepFinishedTimeEvent
- slerp(Transformation, Transformation, float) - Static method in class net.neoforged.neoforge.common.util.TransformationHelper
- slerp(Quaternionfc, Quaternionfc, float) - Static method in class net.neoforged.neoforge.common.util.TransformationHelper
- SLIME_BALLS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- slimeSplitEvent(DynamicTest) - Static method in class net.neoforged.neoforge.debug.entity.living.LivingEntityEventTests
- SlipperinessTest - Class in net.neoforged.neoforge.oldtest.block
- SlipperinessTest() - Constructor for class net.neoforged.neoforge.oldtest.block.SlipperinessTest
- slopeFindDistance - Variable in class net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties
- slopeFindDistance - Variable in class net.neoforged.neoforge.fluids.BaseFlowingFluid
- slopeFindDistance(int) - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties
- slot - Variable in class net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent
- slot - Variable in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
- SLOT_DISPLAY_TYPES - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- slotChangedCraftingGrid(AbstractContainerMenu, ServerLevel, Player, RecipeBookExtensionTest.RecipeBookTestContainer, ResultContainer, RecipeHolder<RecipeBookTestRecipe>) - Static method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestMenu
- slotCount - Variable in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
- slotItemHandler - Variable in class net.neoforged.neoforge.items.ItemHandlerCopySlot
- SlotItemHandler - Class in net.neoforged.neoforge.items
- SlotItemHandler(IItemHandler, int, int, int) - Constructor for class net.neoforged.neoforge.items.SlotItemHandler
- slotLimit - Variable in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
- slotMainHand - Static variable in class net.neoforged.neoforge.client.ClientHooks
- slots - Variable in class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
-
The slots exposed by this wrapper, with
EquipmentSlot.getIndex()
as the index. - SLOTS - Static variable in class net.neoforged.neoforge.debug.capabilities.ItemInventoryTests
- slotsChanged(Container) - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestMenu
- slotSpecificEventFiringTest(DynamicTest) - Static method in class net.neoforged.neoforge.debug.crafting.AnvilUpdateEventTests
- SLOW - Enum constant in enum class net.neoforged.neoforge.oldtest.ConfigUITest.Startup.StartupSpeed
- smelt(ItemStack, LootContext) - Static method in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest.SmeltingEnchantmentModifier
- SMELT - Static variable in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
- smelting - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.ItemSmeltedEvent
- SMELTING - Static variable in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
- SmeltingEnchantmentModifier(LootItemCondition[]) - Constructor for class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest.SmeltingEnchantmentModifier
- smeltingModifierTest(DynamicTest) - Static method in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
- smoothingGroup - Variable in class net.neoforged.neoforge.client.model.obj.ObjGeometry.ModelMesh
- snapshot - Variable in record class net.neoforged.neoforge.network.payload.FrozenRegistryPayload
-
The field for the
snapshot
record component. - snapshot() - Method in record class net.neoforged.neoforge.network.payload.FrozenRegistryPayload
-
Returns the value of the
snapshot
record component. - snapshotSectionRegion(int, int, int, int, int, int) - Method in class net.neoforged.neoforge.model.data.ModelDataManager
-
Snapshot the state of this manager for all sections in the volume specified by the given section coordinates.
- SnapshotType() - Constructor for enum class net.neoforged.neoforge.registries.RegistryManager.SnapshotType
- snapTo(double, double, double) - Method in class net.neoforged.testframework.gametest.GameTestPlayer
- snapToNearest(double) - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
-
Snaps the value, so that the displayed value is the nearest multiple of
stepSize
. - sneakyThrow(Throwable) - Static method in class net.neoforged.testframework.gametest.ParametrizedGameTestSequence
- SNOW_BOOTS_PREDICATE - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- snowBoots(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.item.ItemTests
- SnowBootsEntityPredicate - Class in net.neoforged.neoforge.common.advancements.critereon
- SnowBootsEntityPredicate() - Constructor for class net.neoforged.neoforge.common.advancements.critereon.SnowBootsEntityPredicate
- SomeObject(int, String) - Constructor for record class net.neoforged.neoforge.debug.data.DataMapTests.SomeObject
-
Creates an instance of a
SomeObject
record class. - sort(SortedReloadListenerEvent) - Static method in class net.neoforged.neoforge.resource.ReloadListenerSort
-
Sorts the listeners and emits the returned list.
- sortAndMergeChannelData(Map<ResourceLocation, Component>) - Method in class net.neoforged.neoforge.client.gui.ModMismatchDisconnectedScreen.MismatchInfoPanel
-
Iterates over the raw channel mismatch data and merges entries with the same reason component into one channel mismatch entry each.
- sorted - Variable in class net.neoforged.neoforge.client.gui.ModListScreen
- SORTED_TABS - Static variable in class net.neoforged.neoforge.common.CreativeModeTabRegistry
- SORTED_TABS_VIEW - Static variable in class net.neoforged.neoforge.common.CreativeModeTabRegistry
- sortedMap() - Static method in class net.neoforged.neoforge.common.util.AttributeUtil
-
Creates a sorted
TreeMultimap
used to ensure a stable iteration order of item attribute modifiers. - SortedProperties - Class in net.neoforged.neoforge.common.util
-
An Implementation of Properties that is sorted when iterating.
- SortedProperties() - Constructor for class net.neoforged.neoforge.common.util.SortedProperties
- SortedReloadListenerEvent - Class in net.neoforged.neoforge.event
-
Base class for
AddServerReloadListenersEvent
andAddClientReloadListenersEvent
. - SortedReloadListenerEvent(List<PreparableReloadListener>, SortedReloadListenerEvent.NameLookup) - Constructor for class net.neoforged.neoforge.event.SortedReloadListenerEvent
- SortedReloadListenerEvent.NameLookup - Interface in net.neoforged.neoforge.event
- SORTER - Static variable in class net.neoforged.neoforge.registries.RegistrySnapshot
- sortListeners(SortedReloadListenerEvent.NameLookup, MutableGraph<PreparableReloadListener>, Map<ResourceLocation, PreparableReloadListener>, PreparableReloadListener) - Static method in class net.neoforged.neoforge.resource.ReloadListenerSort
-
Implementation for
ReloadListenerSort.sort(SortedReloadListenerEvent)
. - sortTabs() - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
- sortType - Variable in class net.neoforged.neoforge.client.gui.ModListScreen
- SortType() - Constructor for enum class net.neoforged.neoforge.client.gui.ModListScreen.SortType
- sound - Variable in class net.neoforged.neoforge.client.event.sound.PlaySoundEvent
- sound - Variable in class net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
- sound - Variable in class net.neoforged.neoforge.event.PlayLevelSoundEvent
- sound - Variable in record class net.neoforged.neoforge.registries.datamaps.builtin.ParrotImitation
-
The field for the
sound
record component. - sound() - Method in record class net.neoforged.neoforge.registries.datamaps.builtin.ParrotImitation
-
Returns the value of the
sound
record component. - sound(String) - Static method in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
-
Creates a new sound with the given name and
SoundDefinition.SoundType.SOUND
as sound type. - sound(String, SoundDefinition.SoundType) - Static method in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
-
Creates a new sound with the given name and type.
- sound(ResourceLocation) - Static method in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
-
Creates a new sound with the given name and
SoundDefinition.SoundType.SOUND
as sound type. - sound(ResourceLocation, SoundDefinition.SoundType) - Static method in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
-
Creates a new sound with the given name and type.
- sound(ResourceLocation, SoundDefinition.SoundType) - Static method in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
-
Creates a new sound with the given name and type.
- sound(SoundAction, SoundEvent) - Method in class net.neoforged.neoforge.fluids.FluidType.Properties
-
Sets a sound to play when a certain action is performed.
- Sound(ResourceLocation, SoundDefinition.SoundType) - Constructor for class net.neoforged.neoforge.common.data.SoundDefinition.Sound
- SOUND - Enum constant in enum class net.neoforged.neoforge.common.data.SoundDefinition.SoundType
-
Identifies a "normal" sound.
- SOUND_CODEC - Static variable in record class net.neoforged.neoforge.registries.datamaps.builtin.ParrotImitation
- SOUND_EVENTS - Static variable in class net.neoforged.neoforge.oldtest.CustomSoundTypeTest
- SOUND_EVENTS - Static variable in class net.neoforged.neoforge.oldtest.item.MusicDiscTest
- SoundAction - Class in net.neoforged.neoforge.common
-
Defines an action which produces a sound.
- SoundAction(String) - Constructor for class net.neoforged.neoforge.common.SoundAction
- SoundActions - Class in net.neoforged.neoforge.common
-
A utility holding common sound actions.
- SoundActions() - Constructor for class net.neoforged.neoforge.common.SoundActions
- SoundDefinition - Class in net.neoforged.neoforge.common.data
-
Contains all the data to completely define a sound event.
- SoundDefinition() - Constructor for class net.neoforged.neoforge.common.data.SoundDefinition
- SoundDefinition.Sound - Class in net.neoforged.neoforge.common.data
-
Identifies a specific sound that has to be played in a sound event, along with all the necessary parameters.
- SoundDefinition.SoundType - Enum Class in net.neoforged.neoforge.common.data
-
Represents the type of sound that the
SoundDefinition.Sound
object represents. - SoundDefinitions(PackOutput, ResourceManager) - Constructor for class net.neoforged.neoforge.oldtest.DataGeneratorTest.SoundDefinitions
- SoundDefinitionsProvider - Class in net.neoforged.neoforge.common.data
-
Data provider for the
sounds.json
file, which identifies sound definitions for the various sound events in Minecraft. - SoundDefinitionsProvider(PackOutput, String) - Constructor for class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
-
Creates a new instance of this data provider.
- SoundEngineLoadEvent - Class in net.neoforged.neoforge.client.event.sound
-
Fired when the
SoundEngine
is constructed or (re)loaded, such as during game initialization or when the sound output device is changed. - SoundEngineLoadEvent(SoundEngine) - Constructor for class net.neoforged.neoforge.client.event.sound.SoundEngineLoadEvent
- SoundEvent - Class in net.neoforged.neoforge.client.event.sound
-
Superclass for sound related events.
- SoundEvent(SoundEngine) - Constructor for class net.neoforged.neoforge.client.event.sound.SoundEvent
- SoundEvent.SoundSourceEvent - Class in net.neoforged.neoforge.client.event.sound
-
Superclass for when a sound has started to play on an audio channel.
- soundList() - Method in class net.neoforged.neoforge.common.data.SoundDefinition
- sounds - Variable in class net.neoforged.neoforge.common.data.SoundDefinition
- sounds - Variable in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
- sounds - Variable in class net.neoforged.neoforge.fluids.FluidType.Properties
- sounds - Variable in class net.neoforged.neoforge.fluids.FluidType
-
A map of actions performed to sound that should be played.
- SOUNDS - Static variable in class net.neoforged.neoforge.client.resources.VanillaClientListeners
- SoundSourceEvent(SoundEngine, SoundInstance, Channel) - Constructor for class net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
- SoundType(String) - Constructor for enum class net.neoforged.neoforge.common.data.SoundDefinition.SoundType
- source - Variable in class net.neoforged.neoforge.common.damagesource.DamageContainer
- source - Variable in class net.neoforged.neoforge.common.data.internal.NeoForgeAdvancementProvider.EntityPredicateReplacementHelper
- source - Variable in class net.neoforged.neoforge.event.entity.EntityInvulnerabilityCheckEvent
- source - Variable in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
- source - Variable in class net.neoforged.neoforge.event.entity.living.LivingDeathEvent
- source - Variable in class net.neoforged.neoforge.event.entity.living.LivingDropsEvent
- source - Variable in class net.neoforged.neoforge.event.entity.living.LivingUseTotemEvent
- source - Variable in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Added
- source - Variable in class net.neoforged.neoforge.event.PlayLevelSoundEvent
- Source(BaseFlowingFluid.Properties) - Constructor for class net.neoforged.neoforge.fluids.BaseFlowingFluid.Source
- SourceList(List<SpriteSource>) - Constructor for record class net.neoforged.neoforge.client.data.SpriteSourceProvider.SourceList
-
Creates an instance of a
SourceList
record class. - sourcePath - Variable in record class net.neoforged.neoforge.client.textures.NamespacedDirectoryLister
-
The field for the
sourcePath
record component. - sourcePath() - Method in record class net.neoforged.neoforge.client.textures.NamespacedDirectoryLister
-
Returns the value of the
sourcePath
record component. - sources - Variable in record class net.neoforged.neoforge.client.data.SpriteSourceProvider.SourceList
-
The field for the
sources
record component. - sources - Variable in class net.neoforged.neoforge.event.AddPackFindersEvent
- sources() - Method in record class net.neoforged.neoforge.client.data.SpriteSourceProvider.SourceList
-
Returns the value of the
sources
record component. - SOURCES_FIELD - Static variable in class net.neoforged.testframework.gametest.DynamicStructureTemplates
- sourcesLoading - Variable in class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.TicketTracker
- sourcesLoadingNaturalSpawning - Variable in class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.TicketTracker
- SOUTH - Enum constant in enum class net.neoforged.neoforge.client.model.ao.AoFace
- SOUTH - Static variable in class net.neoforged.neoforge.server.command.generation.OnionIterator
- spawn - Variable in record class net.neoforged.neoforge.oldtest.world.StructureModifierTest.TestModifier
-
The field for the
spawn
record component. - spawn() - Method in record class net.neoforged.neoforge.oldtest.world.StructureModifierTest.TestModifier
-
Returns the value of the
spawn
record component. - SpawnClusterSizeEvent - Class in net.neoforged.neoforge.event.entity.living
-
This event is fired from
NaturalSpawner.spawnCategoryForPosition(net.minecraft.world.entity.MobCategory, net.minecraft.server.level.ServerLevel, net.minecraft.core.BlockPos)
when the spawning system determines the maximum amount of the selected entity that can spawn at the same time. - SpawnClusterSizeEvent(Mob) - Constructor for class net.neoforged.neoforge.event.entity.living.SpawnClusterSizeEvent
- spawnCost - Variable in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddSpawnCostsBiomeModifier
-
The field for the
spawnCost
record component. - spawnCost() - Method in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddSpawnCostsBiomeModifier
-
Returns the value of the
spawnCost
record component. - spawnData - Variable in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
- spawner - Variable in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
- spawner - Variable in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck
- spawners - Variable in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddSpawnsBiomeModifier
-
The field for the
spawners
record component. - spawners - Variable in record class net.neoforged.neoforge.common.world.StructureModifiers.AddSpawnsStructureModifier
-
The field for the
spawners
record component. - spawners() - Method in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddSpawnsBiomeModifier
-
Returns the value of the
spawners
record component. - spawners() - Method in record class net.neoforged.neoforge.common.world.StructureModifiers.AddSpawnsStructureModifier
-
Returns the value of the
spawners
record component. - spawnLevel - Variable in class net.neoforged.neoforge.event.entity.player.PlayerSetSpawnEvent
- spawnOverrides - Variable in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
- SpawnPlacementCheck(EntityType<?>, ServerLevelAccessor, EntitySpawnReason, BlockPos, RandomSource, boolean) - Constructor for class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
-
Internal.
- SpawnPlacementTest - Class in net.neoforged.neoforge.oldtest.entity
- SpawnPlacementTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.entity.SpawnPlacementTest
- spawnPlantAtPosition(ItemStack, LevelAccessor, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.SpecialPlantable
-
Spawns the plant with the given direction attachment point at location.
- spawns - Variable in class net.neoforged.neoforge.common.world.StructureSettingsBuilder.StructureSpawnOverrideBuilder
- spawnShearedDrop(ServerLevel, BlockPos, ItemStack) - Method in interface net.neoforged.neoforge.common.IShearable
-
Performs the logic used to drop a shear result into the world at the correct position and with the proper movement.
- spawnsView - Variable in class net.neoforged.neoforge.common.world.StructureSettingsBuilder.StructureSpawnOverrideBuilder
- spawnType - Variable in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
- spawnType - Variable in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck
- spawnType - Variable in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
- spawnType - Variable in class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.MergedSpawnPredicate
- spec - Variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen
- spec - Variable in class net.neoforged.neoforge.common.ModConfigSpec.Builder
- spec - Variable in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
- spec - Variable in class net.neoforged.neoforge.common.ModConfigSpec
-
Stores the
ModConfigSpec.ValueSpec
s, (ab)using the hierarchical structure ofConfig
. - SPEC - Static variable in class net.neoforged.neoforge.client.config.NeoForgeClientConfig
- SPEC - Static variable in class net.neoforged.neoforge.common.config.NeoForgeCommonConfig
- SPEC - Static variable in class net.neoforged.neoforge.common.config.NeoForgeServerConfig
- SPEC - Static variable in class net.neoforged.neoforge.oldtest.ConfigUITest.Client
- SPEC - Static variable in class net.neoforged.neoforge.oldtest.ConfigUITest.Common
- SPEC - Static variable in class net.neoforged.neoforge.oldtest.ConfigUITest.MDKConfig
- SPEC - Static variable in class net.neoforged.neoforge.oldtest.ConfigUITest.Server
- SPEC - Static variable in class net.neoforged.neoforge.oldtest.ConfigUITest.Startup
- SpecialPlantable - Interface in net.neoforged.neoforge.common
-
Intended for mods to help mark if a modded item allows for placing modded plants of any kind or size.
- specialReplacements - Variable in class net.neoforged.neoforge.common.data.internal.NeoForgeRecipeProvider.InterceptingRecipeOutput
- SPECTATOR_TOOLTIP - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- specularColor - Variable in class net.neoforged.neoforge.client.model.obj.ObjMaterialLibrary.Material
- specularColorMap - Variable in class net.neoforged.neoforge.client.model.obj.ObjMaterialLibrary.Material
- specularHighlight - Variable in class net.neoforged.neoforge.client.model.obj.ObjMaterialLibrary.Material
- speed - Variable in class net.neoforged.neoforge.common.SimpleTier
- SPLASHES - Static variable in class net.neoforged.neoforge.client.resources.VanillaClientListeners
- split(int) - Method in class net.neoforged.neoforge.fluids.FluidStack
-
Splits off a stack of the given amount of this stack and reduces this stack by the amount.
- split(String) - Static method in class net.neoforged.neoforge.common.ModConfigSpec
- spliterator() - Method in class net.neoforged.neoforge.common.util.ConcatenatedListView
- splitLine(FormattedText, Font, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- splitLineToWidth(MutableComponent, MutableComponent) - Method in class net.neoforged.neoforge.client.gui.ModMismatchDisconnectedScreen.MismatchInfoPanel
-
Splits the raw channel namespace and mismatch reason strings, making them use multiple lines if needed, to fit within the table dimensions.
- SplitPacketPayload - Record Class in net.neoforged.neoforge.network.payload
-
A payload that is used to split a packet into multiple payloads.
- SplitPacketPayload(byte[]) - Constructor for record class net.neoforged.neoforge.network.payload.SplitPacketPayload
-
Creates an instance of a
SplitPacketPayload
record class. - SpreadPlayersCommand(Entity, double, double, double) - Constructor for class net.neoforged.neoforge.event.entity.EntityTeleportEvent.SpreadPlayersCommand
- sprite - Variable in class net.neoforged.neoforge.client.model.pipeline.QuadBakingVertexConsumer
- sprite(ParticleType<?>, ResourceLocation) - Method in class net.neoforged.neoforge.client.data.ParticleDescriptionProvider
-
Creates a new particle description that contains a single texture for the associated
ParticleType
. - SpriteContentsConstructor - Interface in net.neoforged.neoforge.client.textures
-
Functional interface representing the signature of the SpriteContents constructor but nullable to support skipping based on metadata.
- spriteSet(ParticleType<?>, Iterable<ResourceLocation>) - Method in class net.neoforged.neoforge.client.data.ParticleDescriptionProvider
-
Creates a new particle description that contains multiple textures for the associated
ParticleType
. - spriteSet(ParticleType<?>, ResourceLocation, int, boolean) - Method in class net.neoforged.neoforge.client.data.ParticleDescriptionProvider
-
Creates a new particle description that contains multiple textures for the associated
ParticleType
. - spriteSet(ParticleType<?>, ResourceLocation, ResourceLocation...) - Method in class net.neoforged.neoforge.client.data.ParticleDescriptionProvider
-
Creates a new particle description that contains multiple textures for the associated
ParticleType
. - SpriteSourceProvider - Class in net.neoforged.neoforge.client.data
-
Data provider for atlas configuration files.
An atlas configuration is bound to a specific texture atlas such as theminecraft:blocks
atlas and allows adding additional textures to the atlas by addingSpriteSource
s to the configuration. - SpriteSourceProvider(PackOutput, CompletableFuture<HolderLookup.Provider>, String) - Constructor for class net.neoforged.neoforge.client.data.SpriteSourceProvider
- SpriteSourceProvider.SourceList - Record Class in net.neoforged.neoforge.client.data
- stack - Variable in class net.neoforged.neoforge.client.event.RenderHandEvent
- stack - Variable in class net.neoforged.neoforge.event.AddAttributeTooltipsEvent
- stack - Variable in class net.neoforged.neoforge.event.brewing.PlayerBrewedPotionEvent
- stack - Variable in class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
- stack - Variable in class net.neoforged.neoforge.event.entity.player.BonemealEvent
- stack - Variable in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
- stack - Variable in class net.neoforged.neoforge.event.ItemAttributeModifierEvent
- stack - Variable in record class net.neoforged.neoforge.fluids.crafting.display.FluidStackSlotDisplay
-
The field for the
stack
record component. - stack() - Method in record class net.neoforged.neoforge.fluids.crafting.display.FluidStackSlotDisplay
-
Returns the value of the
stack
record component. - StackCopySlot - Class in net.neoforged.neoforge.items
-
Slot to handle immutable itemstack storages (Ex:
ComponentItemHandler
). - StackCopySlot(int, int) - Constructor for class net.neoforged.neoforge.items.StackCopySlot
- stackedOnItem - Variable in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
- stacks - Variable in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
- stacks - Variable in class net.neoforged.neoforge.event.brewing.PotionBrewEvent
- stacks - Variable in class net.neoforged.neoforge.event.entity.player.ItemFishedEvent
- stacks - Variable in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
- stacks - Variable in class net.neoforged.neoforge.items.ItemStackHandler
- StackSizeDurabilityBar() - Constructor for class net.neoforged.neoforge.oldtest.client.rendering.CustomItemDecorationsTest.StackSizeDurabilityBar
- stage - Variable in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
- Stage() - Constructor for enum class net.neoforged.testframework.annotation.OnInit.Stage
- Stage(String) - Constructor for class net.neoforged.neoforge.client.event.RenderLevelStageEvent.Stage
- standaloneBaker - Variable in class net.neoforged.neoforge.client.model.standalone.StandaloneModelBakerWrapper
- StandaloneModelBaker<T> - Interface in net.neoforged.neoforge.client.model.standalone
-
Baker implementation for standalone models registered to
ModelEvent.RegisterStandalone
. - StandaloneModelBakerWrapper<T> - Class in net.neoforged.neoforge.client.model.standalone
-
Wraps a
StandaloneModelBaker
into aUnbakedStandaloneModel
. - StandaloneModelBakerWrapper(ResourceLocation, StandaloneModelBaker<T>) - Constructor for class net.neoforged.neoforge.client.model.standalone.StandaloneModelBakerWrapper
- StandaloneModelKey<T> - Class in net.neoforged.neoforge.client.model.standalone
-
A key referring to a model file to be loaded and baked as a standalone model (not bound to a block or item).
- StandaloneModelKey(ResourceLocation) - Constructor for class net.neoforged.neoforge.client.model.standalone.StandaloneModelKey
- StandaloneModelLoader - Class in net.neoforged.neoforge.client.model.standalone
- StandaloneModelLoader() - Constructor for class net.neoforged.neoforge.client.model.standalone.StandaloneModelLoader
- StandaloneModelLoader.BakedModels - Record Class in net.neoforged.neoforge.client.model.standalone
- StandaloneModelLoader.LoadedModels - Record Class in net.neoforged.neoforge.client.model.standalone
- StandardModelParameters - Record Class in net.neoforged.neoforge.client.model
-
Wrapper around all standard top-level model parameters added by vanilla and NeoForge except elements.
- StandardModelParameters(ResourceLocation, TextureSlots.Data, ItemTransforms, Boolean, UnbakedModel.GuiLight, Transformation, RenderTypeGroup, Map<String, Boolean>) - Constructor for record class net.neoforged.neoforge.client.model.StandardModelParameters
-
Creates an instance of a
StandardModelParameters
record class. - start() - Method in class net.neoforged.neoforge.common.data.GlobalLootModifierProvider
-
Call
GlobalLootModifierProvider.add(java.lang.String, T, java.util.List<net.neoforged.neoforge.common.conditions.ICondition>)
here, which will pass in the necessary information to write the jsons. - start() - Method in class net.neoforged.neoforge.common.data.RecipePrioritiesProvider
-
Call
RecipePrioritiesProvider.add(net.minecraft.resources.ResourceLocation, int)
here, which will pass in the necessary information to write the jsons. - start(Consumer<Packet<?>>) - Method in record class net.neoforged.neoforge.network.configuration.CheckExtensibleEnums
- start(Consumer<Packet<?>>) - Method in record class net.neoforged.neoforge.network.configuration.CheckFeatureFlags
- start(Consumer<Packet<?>>) - Method in interface net.neoforged.neoforge.network.configuration.ICustomConfigurationTask
-
Invoked when it is time for this configuration to run.
- Start(LivingEntity, ItemStack, int) - Constructor for class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Start
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Start(LivingEntity, ItemStack, InteractionHand, int) - Constructor for class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Start
- Start(Level, ServerExplosion) - Constructor for class net.neoforged.neoforge.event.level.ExplosionEvent.Start
- START - Enum constant in enum class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock.Action
-
When the player first left clicks a block
- startBlock(ModelBlockRenderer.Cache) - Method in class net.neoforged.neoforge.client.model.ao.FullFaceCalculator
- started(Builder<? extends A>) - Static method in record class net.neoforged.testframework.impl.LoggerSetup
- startModLoading(Executor, Executor) - Static method in class net.neoforged.neoforge.client.loading.ClientModLoader
- startRiding(Entity, boolean) - Method in class net.neoforged.neoforge.common.util.FakePlayer
- startSequence() - Method in class net.neoforged.testframework.gametest.ExtendedGameTestHelper
- startSequence(Supplier<T>) - Method in class net.neoforged.testframework.gametest.ExtendedGameTestHelper
- startTime - Static variable in class net.neoforged.neoforge.common.WorldWorkerManager
- StartTracking(Player, Entity) - Constructor for class net.neoforged.neoforge.event.entity.player.PlayerEvent.StartTracking
- StartTrackingCommand() - Constructor for class net.neoforged.neoforge.server.command.TrackCommand.StartTrackingCommand
- Startup() - Constructor for class net.neoforged.neoforge.oldtest.ConfigUITest.Startup
- StartupSpeed() - Constructor for enum class net.neoforged.neoforge.oldtest.ConfigUITest.Startup.StartupSpeed
- stat - Variable in class net.neoforged.neoforge.event.StatAwardEvent
- StatAwardEvent - Class in net.neoforged.neoforge.event
-
Fired when a
Player
is awarded aStat
. - StatAwardEvent(Player, Stat<?>, int) - Constructor for class net.neoforged.neoforge.event.StatAwardEvent
- state - Variable in class net.neoforged.neoforge.common.util.BlockSnapshot
- state - Variable in class net.neoforged.neoforge.event.entity.living.LivingDestroyBlockEvent
- state - Variable in class net.neoforged.neoforge.event.entity.player.BonemealEvent
- state - Variable in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
- state - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
- state - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.HarvestCheck
- state - Variable in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
- state - Variable in class net.neoforged.neoforge.event.level.BlockEvent
- state - Variable in class net.neoforged.neoforge.fluids.capability.wrappers.BlockWrapper
- state - Variable in class net.neoforged.neoforge.server.command.generation.OnionIterator
- State() - Constructor for enum class net.neoforged.neoforge.oldtest.client.rendering.StencilEnableTest.State
- STATE_FIRST - Static variable in class net.neoforged.neoforge.network.filters.GenericPacketSplitter
- STATE_LAST - Static variable in class net.neoforged.neoforge.network.filters.GenericPacketSplitter
- status - Variable in class net.neoforged.neoforge.event.level.ChunkDataEvent.Load
- status - Variable in record class net.neoforged.testframework.impl.packet.ChangeStatusPayload
-
The field for the
status
record component. - status - Variable in record class net.neoforged.testframework.summary.TestSummary.TestInfo
-
The field for the
status
record component. - status() - Method in interface net.neoforged.testframework.DynamicTest
-
Returns the status of this test.
- status() - Method in record class net.neoforged.testframework.impl.packet.ChangeStatusPayload
-
Returns the value of the
status
record component. - status() - Method in class net.neoforged.testframework.impl.test.AbstractTest
- status() - Method in record class net.neoforged.testframework.summary.TestSummary.TestInfo
-
Returns the value of the
status
record component. - Status(Test.Result, String) - Constructor for record class net.neoforged.testframework.Test.Status
-
Creates an instance of a
Status
record class. - statusColoured(Component, Test.Status) - Static method in class net.neoforged.testframework.client.TestsOverlay
- statuses - Variable in class net.neoforged.testframework.impl.TestFrameworkImpl.TestsImpl
- STENCIL_APPLY_KEY - Static variable in class net.neoforged.neoforge.oldtest.client.rendering.StencilEnableTest
- STENCIL_FILL_KEY - Static variable in class net.neoforged.neoforge.oldtest.client.rendering.StencilEnableTest
- StencilEnableTest - Class in net.neoforged.neoforge.oldtest.client.rendering
-
Basic test that uses the stencil buffer.
- StencilEnableTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.client.rendering.StencilEnableTest
- StencilEnableTest.State - Enum Class in net.neoforged.neoforge.oldtest.client.rendering
- StencilFunction - Enum Class in net.neoforged.neoforge.client.stencil
-
The available comparison functions that are used for comparing the stencil reference value to the current stencil buffer value when determining if a fragment passes the stencil test.
- StencilFunction() - Constructor for enum class net.neoforged.neoforge.client.stencil.StencilFunction
- StencilManager - Class in net.neoforged.neoforge.client
- StencilManager() - Constructor for class net.neoforged.neoforge.client.StencilManager
- StencilOperation - Enum Class in net.neoforged.neoforge.client.stencil
-
The operations to take for manipulating the stencil buffer value after computing the stencil test result.
- StencilOperation() - Constructor for enum class net.neoforged.neoforge.client.stencil.StencilOperation
- StencilPerFaceTest - Record Class in net.neoforged.neoforge.client.stencil
-
Describes the stencil test and writing state for the front or back face.
- StencilPerFaceTest(StencilOperation, StencilOperation, StencilOperation, StencilFunction) - Constructor for record class net.neoforged.neoforge.client.stencil.StencilPerFaceTest
-
Creates an instance of a
StencilPerFaceTest
record class. - StencilTest - Record Class in net.neoforged.neoforge.client.stencil
-
Describes the stencil test state for the render pipeline.
- StencilTest(StencilPerFaceTest, int, int, int) - Constructor for record class net.neoforged.neoforge.client.stencil.StencilTest
- StencilTest(StencilPerFaceTest, StencilPerFaceTest, int, int, int) - Constructor for record class net.neoforged.neoforge.client.stencil.StencilTest
-
Creates an instance of a
StencilTest
record class. - step - Variable in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddFeaturesBiomeModifier
-
The field for the
step
record component. - step - Variable in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
- step() - Method in record class net.neoforged.neoforge.common.world.BiomeModifiers.AddFeaturesBiomeModifier
-
Returns the value of the
step
record component. - step(Consumer<T>, T, Consumer<T>, T) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.UndoManager
- Step(Consumer<T>, T, Consumer<T>, T) - Constructor for record class net.neoforged.neoforge.client.gui.ConfigurationScreen.UndoManager.Step
-
Creates an instance of a
Step
record class. - steps - Variable in record class net.neoforged.neoforge.common.world.BiomeModifiers.RemoveFeaturesBiomeModifier
-
The field for the
steps
record component. - steps() - Method in record class net.neoforged.neoforge.common.world.BiomeModifiers.RemoveFeaturesBiomeModifier
-
Returns the value of the
steps
record component. - stepSize - Variable in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
-
Allows input of discontinuous values with a certain step
- stepSound - Variable in class net.neoforged.neoforge.common.util.DeferredSoundType
- STICK_SLOT - Static variable in class net.neoforged.neoforge.debug.capabilities.ItemInventoryTests
- stickyBlocks(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.PistonTests
- still - Variable in class net.neoforged.neoforge.fluids.BaseFlowingFluid.Properties
- still - Variable in class net.neoforged.neoforge.fluids.BaseFlowingFluid
- stillValid(Player) - Method in class net.neoforged.neoforge.oldtest.misc.ContainerTypeTest.TestContainer
- stillValid(Player) - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestMenu
- STONE - Static variable in class net.neoforged.neoforge.oldtest.CreativeModeTabTest
- STONES - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone.
- STONES - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone.
- stop() - Method in class net.neoforged.neoforge.server.command.generation.GenerationTask
- Stop(LivingEntity, ItemStack, int) - Constructor for class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Stop
- STOP - Enum constant in enum class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock.Action
-
When the player stops left clicking a block by completely breaking it
- STOP - Static variable in class net.neoforged.neoforge.server.command.generation.OnionIterator
- stopGeneration(CommandSourceStack) - Static method in class net.neoforged.neoforge.server.command.GenerateCommand
- stopped - Variable in class net.neoforged.neoforge.server.command.generation.GenerationTask
- stopServer() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
- StopTracking(Player, Entity) - Constructor for class net.neoforged.neoforge.event.entity.player.PlayerEvent.StopTracking
- StopUsingItemTest - Class in net.neoforged.neoforge.oldtest.item
-
This test mod provides two items for testing the Forge onStopUsing hook.
- StopUsingItemTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.item.StopUsingItemTest
- StopUsingItemTest.ClientEvents - Class in net.neoforged.neoforge.oldtest.item
- StopUsingItemTest.InvertedTelescope - Class in net.neoforged.neoforge.oldtest.item
- STORAGE_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.
- STORAGE_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.
- STORAGE_BLOCKS_BONE_MEAL - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_BONE_MEAL - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_COAL - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_COAL - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_COPPER - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_COPPER - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_DIAMOND - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_DIAMOND - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_DRIED_KELP - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_DRIED_KELP - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_EMERALD - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_EMERALD - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_GOLD - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_GOLD - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_IRON - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_IRON - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_LAPIS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_LAPIS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_NETHERITE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_NETHERITE - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_RAW_COPPER - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_RAW_COPPER - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_RAW_GOLD - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_RAW_GOLD - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_RAW_IRON - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_RAW_IRON - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_REDSTONE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_REDSTONE - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_RESIN - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_RESIN - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_SLIME - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_SLIME - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STORAGE_BLOCKS_WHEAT - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STORAGE_BLOCKS_WHEAT - Static variable in class net.neoforged.neoforge.common.Tags.Items
- store(Properties, Writer, String) - Static method in class net.neoforged.neoforge.common.util.SortedProperties
- StoredCap(C, Class<?>, Class<?>) - Constructor for record class net.neoforged.neoforge.capabilities.CapabilityRegistry.StoredCap
-
Creates an instance of a
StoredCap
record class. - strategy - Variable in class net.neoforged.neoforge.common.util.MutableHashedLinkedMap
- stream - Variable in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
- stream() - Method in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
-
Sets this sound to a streamed sound.
- stream() - Method in record class net.neoforged.neoforge.registries.holdersets.AnyHolderSet
- stream() - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
- stream() - Method in class net.neoforged.neoforge.registries.holdersets.NotHolderSet
- stream(boolean) - Method in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
-
Sets whether this sound should be streamed or not.
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.common.crafting.SizedIngredient
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.common.ItemAbility
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.debug.entity.EntityTests.CustomSyncPayload
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.crafting.CustomDisplayFluidIngredient
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.fluids.crafting.display.FluidSlotDisplay
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.fluids.crafting.display.FluidStackSlotDisplay
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.fluids.crafting.display.FluidTagSlotDisplay
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.FluidStack
-
A stream codec for fluid stacks that does not accept empty stacks.
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.SimpleFluidContent
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.configuration.CheckExtensibleEnums.EnumEntry
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.configuration.CheckExtensibleEnums.ExtensionData
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.AdvancedAddEntityPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.AdvancedContainerSetDataPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.AdvancedOpenScreenPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.AuxiliaryLightDataPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ClientboundCustomSetTimePayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.CommonRegisterPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.CommonVersionPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ConfigFilePayload
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.network.payload.ExtensibleEnumAcknowledgePayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ExtensibleEnumDataPayload
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.network.payload.FeatureFlagAcknowledgePayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.FeatureFlagDataPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.FrozenRegistryPayload
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.network.payload.FrozenRegistrySyncCompletedPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.FrozenRegistrySyncStartPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.KnownRegistryDataMapsPayload.KnownDataMap
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.KnownRegistryDataMapsPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.KnownRegistryDataMapsReplyPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.MinecraftRegisterPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.MinecraftUnregisterPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkComponent
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkQueryComponent
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkQueryPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkSetupFailedPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.RecipeContentPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.RegistryDataMapSyncPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.payload.SplitPacketPayload
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.registration.NetworkChannel
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.network.registration.NetworkPayloadSetup
- STREAM_CODEC - Static variable in record class net.neoforged.neoforge.oldtest.misc.ModMismatchTest.ModMismatchPayload
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipeSerializer
- STREAM_CODEC - Static variable in class net.neoforged.neoforge.registries.RegistrySnapshot
- streamCodec - Variable in record class net.neoforged.neoforge.common.crafting.IngredientType
-
The field for the
streamCodec
record component. - streamCodec - Variable in record class net.neoforged.neoforge.fluids.crafting.FluidIngredientType
-
The field for the
streamCodec
record component. - streamCodec() - Method in record class net.neoforged.neoforge.common.crafting.IngredientType
-
Returns the value of the
streamCodec
record component. - streamCodec() - Method in class net.neoforged.neoforge.debug.crafting.IngredientTests.CompressedShapelessRecipeSerializer
- streamCodec() - Static method in class net.neoforged.neoforge.fluids.crafting.FluidIngredientCodecs
- streamCodec() - Method in record class net.neoforged.neoforge.fluids.crafting.FluidIngredientType
-
Returns the value of the
streamCodec
record component. - streamCodec() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipeSerializer
- streamCodec(StreamCodec<RegistryFriendlyByteBuf, Ingredient>) - Static method in class net.neoforged.neoforge.common.crafting.IngredientCodecs
- strength - Variable in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- strict - Variable in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
- strict - Variable in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
- strictNBTIngredient(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.crafting.IngredientTests
- STRIDE - Static variable in interface net.neoforged.neoforge.client.model.IQuadTransformer
- STRIKE - Static variable in class net.neoforged.testframework.summary.FormattingUtil.Ansi
- STRING - Enum constant in enum class net.neoforged.neoforge.common.extensions.IHolderSetExtension.SerializationType
- STRING - Static variable in class net.neoforged.neoforge.server.permission.nodes.PermissionTypes
- stringPerm - Static variable in class net.neoforged.neoforge.oldtest.PermissionTest
- STRINGS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- stringsMatchNormalizingNewLines(String, String) - Method in class net.neoforged.neoforge.common.ModConfigSpec
- stringValue - Variable in record class net.neoforged.neoforge.debug.data.DataMapTests.SomeObject
-
The field for the
stringValue
record component. - stringValue() - Method in record class net.neoforged.neoforge.debug.data.DataMapTests.SomeObject
-
Returns the value of the
stringValue
record component. - stripControlCodes(String) - Static method in class net.neoforged.neoforge.client.gui.ModListScreen
- stripControlCodes(String) - Static method in class net.neoforged.neoforge.client.gui.widget.ModListWidget
- stripMcPrefix(ResourceLocation) - Method in class net.neoforged.neoforge.common.data.SoundDefinition.Sound
- STRIPPED_LOGS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STRIPPED_LOGS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- STRIPPED_WOODS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- STRIPPED_WOODS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- strongHolderReferences - Variable in class net.neoforged.neoforge.client.entity.animation.json.AnimationLoader
- STRUCTURE_LIST_CODEC - Static variable in class net.neoforged.neoforge.oldtest.world.StructureModifierTest
- STRUCTURE_MODIFIER_SERIALIZERS - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- STRUCTURE_MODIFIER_SERIALIZERS - Static variable in class net.neoforged.neoforge.registries.NeoForgeRegistries.Keys
- STRUCTURE_MODIFIER_SERIALIZERS - Static variable in class net.neoforged.neoforge.registries.NeoForgeRegistries
- STRUCTURE_MODIFIERS - Static variable in class net.neoforged.neoforge.registries.NeoForgeRegistries.Keys
- StructureInfo(Structure.StructureSettings) - Constructor for record class net.neoforged.neoforge.common.world.ModifiableStructureInfo.StructureInfo
-
Creates an instance of a
StructureInfo
record class. - StructureModifier - Interface in net.neoforged.neoforge.common.world
-
JSON-serializable structure modifier.
- StructureModifier.Phase - Enum Class in net.neoforged.neoforge.common.world
- StructureModifiers - Class in net.neoforged.neoforge.common.world
- StructureModifiers() - Constructor for class net.neoforged.neoforge.common.world.StructureModifiers
- StructureModifiers.AddSpawnsStructureModifier - Record Class in net.neoforged.neoforge.common.world
-
Stock structure modifier that adds a mob spawn override to a structure.
- StructureModifiers.ClearSpawnsStructureModifier - Record Class in net.neoforged.neoforge.common.world
-
Stock biome modifier that removes mob spawns from a structure modifier.
- StructureModifiers.RemoveSpawnsStructureModifier - Record Class in net.neoforged.neoforge.common.world
-
Stock structure modifier that removes mob spawns from a structure.
- StructureModifierTest - Class in net.neoforged.neoforge.oldtest.world
-
This tests the requirements of structure modifier jsons::
- StructureModifierTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.world.StructureModifierTest
- StructureModifierTest.TestModifier - Record Class in net.neoforged.neoforge.oldtest.world
- structureName - Variable in record class net.neoforged.testframework.gametest.GameTestData
-
The field for the
structureName
record component. - structureName() - Method in record class net.neoforged.testframework.gametest.GameTestData
-
Returns the value of the
structureName
record component. - structures - Variable in record class net.neoforged.neoforge.common.world.StructureModifiers.AddSpawnsStructureModifier
-
The field for the
structures
record component. - structures - Variable in record class net.neoforged.neoforge.common.world.StructureModifiers.ClearSpawnsStructureModifier
-
The field for the
structures
record component. - structures - Variable in record class net.neoforged.neoforge.common.world.StructureModifiers.RemoveSpawnsStructureModifier
-
The field for the
structures
record component. - structures - Variable in record class net.neoforged.neoforge.oldtest.world.StructureModifierTest.TestModifier
-
The field for the
structures
record component. - structures - Variable in class net.neoforged.testframework.impl.TestFrameworkImpl
- structures() - Method in record class net.neoforged.neoforge.common.world.StructureModifiers.AddSpawnsStructureModifier
-
Returns the value of the
structures
record component. - structures() - Method in record class net.neoforged.neoforge.common.world.StructureModifiers.ClearSpawnsStructureModifier
-
Returns the value of the
structures
record component. - structures() - Method in record class net.neoforged.neoforge.common.world.StructureModifiers.RemoveSpawnsStructureModifier
-
Returns the value of the
structures
record component. - structures() - Method in record class net.neoforged.neoforge.oldtest.world.StructureModifierTest.TestModifier
-
Returns the value of the
structures
record component. - Structures() - Constructor for class net.neoforged.neoforge.common.Tags.Structures
- structureSettings - Variable in class net.neoforged.neoforge.common.world.ModifiableStructureInfo.StructureInfo.Builder
- structureSettings - Variable in record class net.neoforged.neoforge.common.world.ModifiableStructureInfo.StructureInfo
-
The field for the
structureSettings
record component. - structureSettings() - Method in record class net.neoforged.neoforge.common.world.ModifiableStructureInfo.StructureInfo
-
Returns the value of the
structureSettings
record component. - StructureSettingsBuilder - Class in net.neoforged.neoforge.common.world
- StructureSettingsBuilder(HolderSet<Biome>, Map<MobCategory, StructureSpawnOverride>, GenerationStep.Decoration, TerrainAdjustment) - Constructor for class net.neoforged.neoforge.common.world.StructureSettingsBuilder
- StructureSettingsBuilder.StructureSpawnOverrideBuilder - Class in net.neoforged.neoforge.common.world
- StructureSpawnOverrideBuilder(StructureSpawnOverride.BoundingBoxType, WeightedList<MobSpawnSettings.SpawnerData>) - Constructor for class net.neoforged.neoforge.common.world.StructureSettingsBuilder.StructureSpawnOverrideBuilder
- StructureTemplateBuilder - Class in net.neoforged.testframework.gametest
- StructureTemplateBuilder(Vec3i) - Constructor for class net.neoforged.testframework.gametest.StructureTemplateBuilder
- StructureTemplateBuilder.FieldHandle<I,
T> - Interface in net.neoforged.testframework.gametest - StructureTests - Class in net.neoforged.neoforge.debug.structure
- StructureTests() - Constructor for class net.neoforged.neoforge.debug.structure.StructureTests
- subEntities - Variable in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntity
- subKeys - Variable in record class net.neoforged.neoforge.client.model.block.CompositeBlockModel.GeometryKey
-
The field for the
subKeys
record component. - subKeys() - Method in record class net.neoforged.neoforge.client.model.block.CompositeBlockModel.GeometryKey
-
Returns the value of the
subKeys
record component. - subList(int, int) - Method in class net.neoforged.neoforge.common.util.ConcatenatedListView
- subPredicate - Variable in class net.neoforged.neoforge.common.data.internal.NeoForgeAdvancementProvider.EntityPredicateReplacementHelper
- subscribe(Consumer<? extends Event>) - Method in class net.neoforged.testframework.gametest.GameTestPlayer
- subscribeActions - Variable in class net.neoforged.testframework.impl.EventListenerGroupImpl.EventListenerCollectorImpl
- subscribeClientEvents() - Static method in class net.neoforged.neoforge.oldtest.misc.DataPackRegistriesTest.ClientEvents
- subscribers - Variable in class net.neoforged.testframework.impl.EventListenerGroupImpl.EventListenerCollectorImpl
- subtitle - Variable in class net.neoforged.neoforge.common.data.SoundDefinition
- subtitle(String) - Method in class net.neoforged.neoforge.common.data.SoundDefinition
-
Sets the language key for the subtitle that will be displayed whenever this sound is being played.
- SUBTITLE_OVERLAY - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- subtracted - Variable in record class net.neoforged.neoforge.common.crafting.DifferenceIngredient
-
The field for the
subtracted
record component. - subtracted - Variable in class net.neoforged.neoforge.fluids.crafting.DifferenceFluidIngredient
- subtracted() - Method in record class net.neoforged.neoforge.common.crafting.DifferenceIngredient
-
Returns the value of the
subtracted
record component. - subtracted() - Method in class net.neoforged.neoforge.fluids.crafting.DifferenceFluidIngredient
- SUCCEED - Enum constant in enum class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck.Result
-
Forces the event to cause the position check to succeed.
- SUCCEED - Enum constant in enum class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck.Result
-
Forces the event to cause the placement check to succeed.
- success - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.HarvestCheck
- success - Variable in class net.neoforged.neoforge.fluids.FluidActionResult
- success - Variable in record class net.neoforged.neoforge.network.negotiation.NegotiationResult
-
The field for the
success
record component. - success - Variable in record class net.neoforged.neoforge.network.negotiation.NetworkComponentNegotiator.ComponentNegotiationResult
-
The field for the
success
record component. - success() - Method in record class net.neoforged.neoforge.network.negotiation.NegotiationResult
-
Returns the value of the
success
record component. - success() - Method in record class net.neoforged.neoforge.network.negotiation.NetworkComponentNegotiator.ComponentNegotiationResult
-
Returns the value of the
success
record component. - suffix - Variable in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
- suffix - Variable in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplateBuilder
- suffix(String) - Method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplateBuilder
-
Suffix appended onto the models file path.
- suggestFromRegistry(Function<Registry<?>, Iterable<ResourceLocation>>, String, ResourceKey<Registry<T>>) - Static method in class net.neoforged.neoforge.server.command.CommandUtils
- suggestGroupable(Predicate<Groupable>) - Method in record class net.neoforged.testframework.impl.Commands
- suggestionProvider - Variable in class net.neoforged.testframework.client.TestScreen
- suggestRegistries(CommandContext<CommandSourceStack>, SuggestionsBuilder) - Static method in class net.neoforged.neoforge.server.command.CommandUtils
- suggestRegistryElements(ResourceKey<? extends Registry<?>>, SharedSuggestionProvider.ElementSuggestionType, SuggestionsBuilder, CommandContext<?>) - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
- suggestTest(Predicate<Test>) - Method in record class net.neoforged.testframework.impl.Commands
- sum - Variable in class net.neoforged.neoforge.common.util.AttributeUtil.MergedModifierData
- SUMMARY_DUMP - Enum constant in enum class net.neoforged.testframework.conf.Feature
-
When enabled, test summaries will be dumped when a server stops.
- SummaryDumper - Interface in net.neoforged.testframework.summary
- supplier - Variable in class net.neoforged.neoforge.common.ModConfigSpec.ValueSpec
- supplier - Variable in class net.neoforged.neoforge.common.util.TablePrinter.Header
- SUPPORTED_COMMON_NETWORKING_VERSIONS - Static variable in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Declared common networking versions currently supported by NeoForge.
- supportedClass - Variable in record class net.neoforged.neoforge.client.model.generators.blockstate.UnbakedMutator.Handler
-
The field for the
supportedClass
record component. - supportedClass() - Method in record class net.neoforged.neoforge.client.model.generators.blockstate.UnbakedMutator.Handler
-
Returns the value of the
supportedClass
record component. - supportsBoating - Variable in class net.neoforged.neoforge.fluids.FluidType.Properties
- supportsBoating - Variable in class net.neoforged.neoforge.fluids.FluidType
- supportsBoating(boolean) - Method in class net.neoforged.neoforge.fluids.FluidType.Properties
-
Sets whether the fluid supports boating.
- supportsBoating(AbstractBoat) - Method in interface net.neoforged.neoforge.common.extensions.IFluidStateExtension
-
Returns whether the boat can be used on the fluid.
- supportsBoating(AbstractBoat) - Method in class net.neoforged.neoforge.fluids.FluidType
-
Returns whether the boat can be used on the fluid.
- supportsBoating(FluidState, AbstractBoat) - Method in interface net.neoforged.neoforge.common.extensions.IFluidExtension
-
Returns whether the boat can be used on the fluid.
- supportsBoating(FluidState, AbstractBoat) - Method in class net.neoforged.neoforge.fluids.FluidType
-
Returns whether the boat can be used on the fluid.
- supportsEnchantment(Holder<Enchantment>) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
- supportsEnchantment(ItemStack, Holder<Enchantment>) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Checks if the provided enchantment is applicable to the passed item stack.
- supportsExternalFaceHiding() - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Whether this block allows a neighboring block to hide the face of this block it touches.
- supportsExternalFaceHiding(BlockState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Whether this block allows a neighboring block to hide the face of this block it touches.
- supportsParameter(ParameterContext, ExtensionContext) - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider
- surroundWith(String, String) - Static method in class net.neoforged.testframework.summary.md.Table
- survivabilityBambooTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityBigDripleafTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityCactusTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityChorusFlowerTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityChorusPlantTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityCocoaTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityDeadBushTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityHangingMangrovePropaguleTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityLilyPadTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityOakSaplingTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityPitcherCropTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityRedMushroomTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilitySmallDripleafTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilitySugarCaneTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- survivabilityWheatTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.block.CanSustainPlantTests
- SUSPICIOUS_STEW - Static variable in class net.neoforged.neoforge.common.Tags.Fluids
-
Holds all fluids related to Suspicious Stew.
- SwampDesertScreen(CreateWorldScreen, WorldCreationContext) - Constructor for class net.neoforged.neoforge.oldtest.client.CustomPresetEditorTest.SwampDesertScreen
- swap(int, boolean) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen
-
Swap the given element with the next one.
- SwapEmpty(Supplier<DataComponentType<SimpleFluidContent>>, ItemStack, ItemStack, int) - Constructor for class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack.SwapEmpty
- SwapEmpty(Supplier<DataComponentType<SimpleFluidContent>>, ItemStack, ItemStack, int) - Constructor for class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple.SwapEmpty
- SweepAttackEvent - Class in net.neoforged.neoforge.event.entity.player
-
The SweepAttackEvent is fired when a
Player
attacks a target, after theCriticalHitEvent
has been fired. - SweepAttackEvent(Player, Entity, boolean) - Constructor for class net.neoforged.neoforge.event.entity.player.SweepAttackEvent
- SWIM_SPEED - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- SWING_ANIM - Static variable in class net.neoforged.neoforge.oldtest.entity.player.ItemUseAnimationTest.ThingItem
- swingProgress - Variable in class net.neoforged.neoforge.client.event.RenderHandEvent
- switchLight() - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlockEntity
- SWORD_SWEEP - Static variable in class net.neoforged.neoforge.common.ItemAbilities
-
Used during player attack to figure out if a sweep attack should be performed
- sync - Variable in class net.neoforged.neoforge.registries.BaseMappedRegistry
- sync - Variable in class net.neoforged.neoforge.registries.RegistryBuilder
- sync(boolean) - Method in class net.neoforged.neoforge.registries.RegistryBuilder
-
Sets whether this registry should have its numerical IDs synced to clients.
- SYNC_TO_CLIENT - Enum constant in enum class net.neoforged.neoforge.registries.RegistryManager.SnapshotType
-
The snapshot can be synced to clients.
- Syncable(String) - Constructor for class net.neoforged.neoforge.oldtest.misc.DataPackRegistriesTest.Syncable
- syncAllConfigs(ServerConfigurationPacketListener) - Static method in class net.neoforged.neoforge.network.ConfigSync
- SyncConfig - Record Class in net.neoforged.neoforge.network.configuration
-
Configuration task that syncs the config files to the client
- SyncConfig(ServerConfigurationPacketListener) - Constructor for record class net.neoforged.neoforge.network.configuration.SyncConfig
-
Creates an instance of a
SyncConfig
record class. - synced(Codec<T>, boolean) - Method in class net.neoforged.neoforge.registries.datamaps.AdvancedDataMapType.Builder
-
Marks the data map as synced.
- synced(Codec<T>, boolean) - Method in class net.neoforged.neoforge.registries.datamaps.DataMapType.Builder
-
Marks the data map as synced.
- SYNCED_CUSTOM_REGISTRIES - Static variable in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
- SYNCED_CUSTOM_REGISTRIES_VIEW - Static variable in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
- synchronizedRegistries - Static variable in class net.neoforged.neoforge.client.network.handlers.ClientPayloadHandler
- syncPendingConfigs(MinecraftServer) - Static method in class net.neoforged.neoforge.network.ConfigSync
- SyncRegistries - Record Class in net.neoforged.neoforge.network.configuration
-
Syncs registries to the client
- SyncRegistries() - Constructor for record class net.neoforged.neoforge.network.configuration.SyncRegistries
-
Creates an instance of a
SyncRegistries
record class. - System(Component, boolean) - Constructor for class net.neoforged.neoforge.client.event.ClientChatReceivedEvent.System
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
the hand sensitive version
as this version provides wrong hand information