Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
O
- OAK_FLOWER_POT - Static variable in class net.neoforged.neoforge.oldtest.block.FlowerPotTest
- obj_block - Static variable in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest
- obj_block_same_part_names - Static variable in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest
- obj_item - Static variable in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest
- obj_item_same_part_names - Static variable in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest
- OBJ_LOADER - Static variable in class net.neoforged.neoforge.resource.NeoForgeReloadListeners
- object - Variable in class net.neoforged.neoforge.server.timings.ObjectTimings
- OBJECT - Enum constant in enum class net.neoforged.neoforge.common.extensions.IHolderSetExtension.SerializationType
- ObjectTimings<T> - Class in net.neoforged.neoforge.server.timings
-
ObjectTimings aggregates timings data collected by
TimeTracker
for an Object and performs operations for interpretation of the data. - ObjectTimings(T, int[]) - Constructor for class net.neoforged.neoforge.server.timings.ObjectTimings
- ObjGeometry - Class in net.neoforged.neoforge.client.model.obj
- ObjGeometry(ObjGeometry.Settings) - Constructor for class net.neoforged.neoforge.client.model.obj.ObjGeometry
- ObjGeometry.ModelGroup - Class in net.neoforged.neoforge.client.model.obj
- ObjGeometry.ModelMesh - Class in net.neoforged.neoforge.client.model.obj
- ObjGeometry.ModelObject - Class in net.neoforged.neoforge.client.model.obj
- ObjGeometry.Settings - Record Class in net.neoforged.neoforge.client.model.obj
- ObjLoader - Class in net.neoforged.neoforge.client.model.obj
-
A loader for
OBJ models
. - ObjLoader() - Constructor for class net.neoforged.neoforge.client.model.obj.ObjLoader
- ObjMaterialLibrary - Class in net.neoforged.neoforge.client.model.obj
-
An OBJ material library (MTL), composed of named
materials
. - ObjMaterialLibrary() - Constructor for class net.neoforged.neoforge.client.model.obj.ObjMaterialLibrary
- ObjMaterialLibrary(ObjTokenizer) - Constructor for class net.neoforged.neoforge.client.model.obj.ObjMaterialLibrary
- ObjMaterialLibrary.Material - Class in net.neoforged.neoforge.client.model.obj
- ObjModel - Class in net.neoforged.neoforge.client.model.obj
-
A model loaded from an OBJ file.
- ObjModel(StandardModelParameters, ObjGeometry) - Constructor for class net.neoforged.neoforge.client.model.obj.ObjModel
- ObjModelBuilder - Class in net.neoforged.neoforge.client.model.generators.loaders
- ObjModelBuilder() - Constructor for class net.neoforged.neoforge.client.model.generators.loaders.ObjModelBuilder
- ObjTokenizer - Class in net.neoforged.neoforge.client.model.obj
-
A tokenizer for OBJ and MTL files.
- ObjTokenizer(InputStream) - Constructor for class net.neoforged.neoforge.client.model.obj.ObjTokenizer
- OBSIDIANS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- OBSIDIANS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- OBSIDIANS_CRYING - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- OBSIDIANS_CRYING - Static variable in class net.neoforged.neoforge.common.Tags.Items
- OBSIDIANS_NORMAL - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
For common obsidian that has no special quirks or behaviors.
- OBSIDIANS_NORMAL - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
For common obsidian that has no special quirks or behaviors.
- Octave() - Constructor for enum class net.neoforged.neoforge.event.level.NoteBlockEvent.Octave
- of(boolean, Supplier<? extends DataComponentType<? super T>>, T, ItemLike...) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, Supplier<? extends DataComponentType<? super T>>, T, Fluid...) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentExactPredicate, Holder<Item>...) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentExactPredicate, Holder<Fluid>...) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentExactPredicate, HolderSet<Item>) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentExactPredicate, HolderSet<Fluid>) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentExactPredicate, ItemLike...) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentExactPredicate, Fluid...) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentMap, Holder<Item>...) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentMap, Holder<Fluid>...) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentMap, HolderSet<Item>) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentMap, HolderSet<Fluid>) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentMap, ItemLike...) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentMap, Fluid...) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, DataComponentType<? super T>, T, ItemLike...) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching any item from the list, containing the given components
- of(boolean, DataComponentType<? super T>, T, Fluid...) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching any fluid from the list, containing the given components
- of(boolean, ItemStack) - Static method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
-
Creates a new ingredient matching the given item, containing the given components
- of(boolean, FluidStack) - Static method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
-
Creates a new ingredient matching the given fluid, containing the given components
- of(int, int) - Static method in class net.neoforged.neoforge.common.ModConfigSpec.Range
- of(TypeToken<Z>) - Static method in record class net.neoforged.neoforge.client.renderstate.RegisterRenderStateModifiersEvent.Container
- of(Supplier<T>) - Static method in class net.neoforged.neoforge.common.util.Lazy
-
Constructs a lazy-initialized object.
- of(List<? extends List<? extends T>>) - Static method in class net.neoforged.neoforge.common.util.ConcatenatedListView
- of(List<FluidIngredient>) - Static method in class net.neoforged.neoforge.fluids.crafting.CompoundFluidIngredient
-
Creates a compound ingredient from the given list of ingredients.
- of(List<T>...) - Static method in class net.neoforged.neoforge.common.util.ConcatenatedListView
- of(Stream<Fluid>) - Static method in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
- of(ModelTemplate) - Static method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplateBuilder
- of(HolderSet<Fluid>) - Static method in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
- of(MobEffect) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientMobEffectExtensions
- of(MobEffectInstance) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientMobEffectExtensions
- of(Player, Item.TooltipContext, TooltipDisplay, TooltipFlag) - Static method in interface net.neoforged.neoforge.common.util.AttributeTooltipContext
- of(Ingredient...) - Static method in record class net.neoforged.neoforge.common.crafting.CompoundIngredient
-
Creates a compound ingredient from the given list of ingredients
- of(Ingredient...) - Static method in record class net.neoforged.neoforge.common.crafting.IntersectionIngredient
-
Gets an intersection ingredient
- of(Ingredient, SlotDisplay) - Static method in record class net.neoforged.neoforge.common.crafting.CustomDisplayIngredient
- of(Ingredient, Ingredient) - Static method in record class net.neoforged.neoforge.common.crafting.DifferenceIngredient
-
Gets the difference from the two ingredients
- of(Item) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
- of(ItemStack) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
- of(ItemStack) - Static method in class net.neoforged.neoforge.client.ItemDecoratorHandler
- of(TooltipFlag) - Static method in record class net.neoforged.neoforge.client.ClientTooltipFlag
- of(Block) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientBlockExtensions
- of(BlockState) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientBlockExtensions
- of(ItemLike, int) - Static method in class net.neoforged.neoforge.common.crafting.SizedIngredient
-
Helper method to create a simple sized ingredient that matches a single item.
- of(Fluid) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
- of(Fluid...) - Static method in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
- of(Fluid, int) - Static method in class net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient
- of(FluidState) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
- of(ModLoadingIssue) - Static method in record class net.neoforged.neoforge.client.gui.LoadingErrorScreen.FormattedIssue
- of(ItemAbility...) - Static method in class net.neoforged.neoforge.common.ItemAbilities
- of(FluidIngredient...) - Static method in class net.neoforged.neoforge.fluids.crafting.CompoundFluidIngredient
-
Creates a compound ingredient from the given list of ingredients.
- of(FluidIngredient...) - Static method in class net.neoforged.neoforge.fluids.crafting.IntersectionFluidIngredient
-
Gets an intersection fluid ingredient
- of(FluidIngredient, SlotDisplay) - Static method in class net.neoforged.neoforge.fluids.crafting.CustomDisplayFluidIngredient
- of(FluidIngredient, FluidIngredient) - Static method in class net.neoforged.neoforge.fluids.crafting.DifferenceFluidIngredient
-
Gets the difference of the two fluid ingredients
- of(FluidStack...) - Static method in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
- of(FluidType) - Static method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
- of(ModelProperty<T>, T) - Static method in class net.neoforged.neoforge.model.data.ModelData
-
Helper to create a
ModelData
instance for a single property-value pair, without the verbosity and runtime overhead of creating a builder object. - offer - Variable in class net.neoforged.neoforge.event.entity.player.TradeWithVillagerEvent
- okCount - Variable in class net.neoforged.neoforge.server.command.generation.GenerationTask
- oldDifficulty - Variable in class net.neoforged.neoforge.event.DifficultyChangeEvent
- oldEffectInstance - Variable in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Added
- oldInformation - Variable in class net.neoforged.neoforge.event.entity.player.ClientInformationUpdatedEvent
- oldLevel - Variable in class net.neoforged.neoforge.event.entity.player.PermissionsChangedEvent
- oldNote - Variable in class net.neoforged.neoforge.event.level.NoteBlockEvent.Change
- oldOctave - Variable in class net.neoforged.neoforge.event.level.NoteBlockEvent.Change
- oldPlayer - Variable in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.Clone
- oldSize - Variable in class net.neoforged.neoforge.event.entity.EntityEvent.Size
- oldTicketLevel - Variable in class net.neoforged.neoforge.event.level.ChunkTicketLevelUpdatedEvent
- oldValue - Variable in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.UndoManager.Step
-
The field for the
oldValue
record component. - oldValue() - Method in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.UndoManager.Step
-
Returns the value of the
oldValue
record component. - oldVersion - Variable in record class net.neoforged.neoforge.event.ModMismatchEvent.MismatchedVersionInfo
-
The field for the
oldVersion
record component. - oldVersion() - Method in record class net.neoforged.neoforge.event.ModMismatchEvent.MismatchedVersionInfo
-
Returns the value of the
oldVersion
record component. - onAdd(Registry<PoiType>, int, ResourceKey<PoiType>, PoiType) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.PoiTypeCallbacks
- onAdd(Registry<Item>, int, ResourceKey<Item>, Item) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.ItemCallbacks
- onAdd(Registry<Block>, int, ResourceKey<Block>, Block) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.BlockCallbacks
- onAdd(Registry<T>, int, ResourceKey<T>, T) - Method in interface net.neoforged.neoforge.registries.callback.AddCallback
-
Called when an entry is added to the registry.
- onAdd(AddCallback<T>) - Method in class net.neoforged.neoforge.registries.RegistryBuilder
- onAdd(JUnitSummaryDumper.TestCase) - Method in class net.neoforged.testframework.summary.JUnitSummaryDumper.TestSuite
- onAddedToLevel() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
-
Called after the entity has been added to the world's ticking list.
- onAdvancementEarnedEvent(Player, AdvancementHolder) - Static method in class net.neoforged.neoforge.event.EventHooks
- onAdvancementProgressedEvent(Player, AdvancementHolder, AdvancementProgress, String, AdvancementEvent.AdvancementProgressEvent.ProgressType) - Static method in class net.neoforged.neoforge.event.EventHooks
- onAnimalArmorTick(ItemStack, Level, Mob) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called every tick when this item is equipped as an armor item by an animal.
- onAnimalArmorTick(Level, Mob) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called every tick when this item is
equipped
as an armor item
by aMob
that can wear armor. - onAnimalTame(Animal, Player) - Static method in class net.neoforged.neoforge.event.EventHooks
- onAnvilChange(AnvilMenu, ItemStack, ItemStack, Container, String, long, Player) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onAnvilRepair(Player, ItemStack, ItemStack, ItemStack) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onArmorHurt(DamageSource, EquipmentSlot[], float, LivingEntity) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
This is invoked in
LivingEntity.doHurtEquipment(DamageSource, float, EquipmentSlot...)
and replaces the existing item hurt and break logic with an event-sensitive version. - onArrowLoose(ItemStack, Level, Player, int, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onArrowNock(ItemStack, Level, Player, InteractionHand, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onBake(Registry<Attribute>) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.AttributeCallbacks
- onBake(Registry<Block>) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.BlockCallbacks
- onBake(Registry<T>) - Method in interface net.neoforged.neoforge.registries.callback.BakeCallback
-
Called when the registry is frozen, and all registration is finished.
- onBake(BakeCallback<T>) - Method in class net.neoforged.neoforge.registries.RegistryBuilder
- onBlockColorsInit(BlockColors) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onBlockExploded(ServerLevel, BlockPos, Explosion) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called when the block is destroyed by an explosion.
- onBlockExploded(BlockState, ServerLevel, BlockPos, Explosion) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called when the block is destroyed by an explosion.
- onBlockPlace(Entity, BlockSnapshot, Direction) - Static method in class net.neoforged.neoforge.event.EventHooks
- onBlockStateChange(LevelReader, BlockPos, BlockState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called after the
BlockState
at the givenBlockPos
was changed and neighbors were updated. - onBlockStateChange(LevelReader, BlockPos, BlockState, BlockState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called after the
BlockState
at the givenBlockPos
was changed and neighbors were updated. - onBrewingSetup(RegisterBrewingRecipesEvent) - Static method in class net.neoforged.neoforge.oldtest.PotionEventTest
- onCaughtFire(BlockState, Level, BlockPos, Direction, LivingEntity) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
If the block is flammable, this is called when it gets lit on fire.
- onCaughtFire(Level, BlockPos, Direction, LivingEntity) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
If the block is flammable, this is called when it gets lit on fire.
- onChanged(String) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen
- onChanged(String) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
-
This is called whenever a value is changed and the change is submitted to the appropriate
ConfigSpec
. - onChangeGameType(Player, GameType, GameType) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onCheckCreativeTabs(CreativeModeTab...) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onChunkLoad(ChunkEvent.Load) - Static method in class net.neoforged.neoforge.oldtest.world.ChunkEventLoadNewChunkTest
- onChunkSave(ChunkDataEvent.Save) - Static method in class net.neoforged.neoforge.oldtest.world.ChunkDataEventSaveNullWorldTest
- onChunkUnload(PoiManager, ChunkAccess) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
The goal here is to fix the POI memory leak that happens due to
SectionStorage.storage
field never actually removing POIs long after they become irrelevant. - onChunkUnload(ChunkEvent.Unload) - Method in class net.neoforged.neoforge.common.NeoForgeEventHandler
- onChunkUnload(ChunkEvent.Unload) - Static method in class net.neoforged.neoforge.model.data.ModelDataManager
- onChunkUnloaded() - Method in interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
- onClear(Registry<PoiType>, boolean) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.PoiTypeCallbacks
- onClear(Registry<Item>, boolean) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.ItemCallbacks
- onClear(Registry<Block>, boolean) - Method in class net.neoforged.neoforge.registries.NeoForgeRegistryCallbacks.BlockCallbacks
- onClear(Registry<T>, boolean) - Method in interface net.neoforged.neoforge.registries.callback.ClearCallback
-
Called when the registry is cleared before anything is done to the registry.
- onClear(ClearCallback<T>) - Method in class net.neoforged.neoforge.registries.RegistryBuilder
- onClick(double, double) - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
- onClick(double, double, int) - Method in interface net.neoforged.neoforge.client.extensions.IAbstractWidgetExtension
-
Handles the logic for when this widget is clicked.
- onClickInput(int, KeyMapping, InteractionHand) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientChangeGameType(PlayerInfo, GameType, GameType) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientChat(ChatType.Bound, Component, UUID) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientMineHold(Player, BlockPos, Direction) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onClientPauseChangePost(boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientPauseChangePre(boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientPlayerChat(ChatType.Bound, Component, PlayerChatMessage, UUID) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientSendMessage(String) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientSetup(FMLClientSetupEvent) - Static method in class net.neoforged.neoforge.oldtest.block.HideNeighborFaceTest.ClientEvents
- onClientSystemChat(Component, boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onClientTagsUpdated(TagsUpdatedEvent) - Static method in class net.neoforged.neoforge.oldtest.misc.DataPackRegistriesTest.ClientEvents
- onClientTick(ClientTickEvent.Pre) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.CustomParticleTypeTest.ClientEvents
- onClose() - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationListScreen
- onClose() - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
- onClose() - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen
- onClose() - Method in class net.neoforged.neoforge.client.gui.ModListScreen
- onCommandRegister(CommandDispatcher<CommandSourceStack>, Commands.CommandSelection, CommandBuildContext) - Static method in class net.neoforged.neoforge.event.EventHooks
- onCommandsRegister(RegisterCommandsEvent) - Method in class net.neoforged.neoforge.common.NeoForgeEventHandler
- onCommonRegister(ICommonPacketListener, CommonRegisterPayload) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Replaces any existing common channels with the incoming ones from a
CommonRegisterPayload
. - onCommonSetup(FMLCommonSetupEvent) - Static method in class net.neoforged.neoforge.oldtest.DeferredWorkQueueTest
- onConfigFileChange(ModConfigEvent.Reloading) - Static method in class net.neoforged.neoforge.common.NeoForgeMod
- onConfigLoad(ModConfigEvent.Loading) - Static method in class net.neoforged.neoforge.common.NeoForgeMod
- onConfigurationFinished(ICommonPacketListener) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Invoked when the configuration phase of a connection is completed.
- onConstruct(int) - Static method in class net.neoforged.neoforge.oldtest.OrderedModLoadingTest
- onContentsChanged() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
- onContentsChanged(int) - Method in class net.neoforged.neoforge.items.ItemStackHandler
- onContentsChanged(int, ItemStack, ItemStack) - Method in class net.neoforged.neoforge.items.ComponentItemHandler
-
Called from
ComponentItemHandler.updateContents(net.minecraft.world.item.component.ItemContainerContents, net.minecraft.world.item.ItemStack, int)
after the stack stored in a slot has been updated. - onCreateWorldSpawn(Level, ServerLevelData) - Static method in class net.neoforged.neoforge.event.EventHooks
- onCreativeModeTabBuildContents(CreativeModeTab, ResourceKey<CreativeModeTab>, CreativeModeTab.DisplayItemsGenerator, CreativeModeTab.ItemDisplayParameters, CreativeModeTab.Output) - Static method in class net.neoforged.neoforge.event.EventHooks
-
Fires the
BuildCreativeModeTabContentsEvent
. - onCreativeModeTabBuildContents(BuildCreativeModeTabContentsEvent) - Static method in class net.neoforged.neoforge.oldtest.CreativeModeTabTest
- onCreativeModeTabRegister(RegisterEvent) - Static method in class net.neoforged.neoforge.oldtest.CreativeModeTabTest
- onCustomizeBossEventProgress(GuiGraphics, Window, LerpingBossEvent, int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onDamageBlock(LivingEntity, DamageContainer, float, boolean) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Creates, posts, and returns a
LivingShieldBlockEvent
. - onDamageTaken(DamageContainer) - Method in interface net.neoforged.neoforge.common.extensions.ILivingEntityExtension
-
Executes in
Entity.hurt(DamageSource, float)
after all damage and effects have applied. - onDataMapsUpdated(DataMapsUpdatedEvent) - Static method in class net.neoforged.neoforge.common.DataMapHooks
- onDataMapsUpdated(DataMapsUpdatedEvent) - Static method in class net.neoforged.neoforge.common.MonsterRoomHooks
- onDataPacket(Connection, ClientboundBlockEntityDataPacket, HolderLookup.Provider) - Method in interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
-
Called when you receive a TileEntityData packet for the location this TileEntity is currently in.
- onDataPacket(Connection, ClientboundBlockEntityDataPacket, HolderLookup.Provider) - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlockEntity
- onDataPacket(Connection, ClientboundBlockEntityDataPacket, HolderLookup.Provider) - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
- onDataPacket(Connection, ClientboundBlockEntityDataPacket, HolderLookup.Provider) - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest.ItemHangerBlockEntity
- OnDatapackSyncEvent - Class in net.neoforged.neoforge.event
-
Fires when a player joins the server or when the reload command is ran, before tags and crafting recipes are sent to the client.
- OnDatapackSyncEvent(PlayerList, ServerPlayer) - Constructor for class net.neoforged.neoforge.event.OnDatapackSyncEvent
- onDestroyed(ItemEntity, DamageSource) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called when an item entity for this stack is destroyed.
- onDestroyed(ItemEntity, DamageSource) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called when an item entity for this stack is destroyed.
- onDestroyedByPlayer(BlockState, Level, BlockPos, Player, boolean, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called when a player removes a block.
- onDestroyedByPlayer(Level, BlockPos, Player, boolean, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called when a player removes a block.
- onDestroyedByPushReaction(BlockState, Level, BlockPos, Direction, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called when a block is removed by
PushReaction.DESTROY
. - onDestroyedByPushReaction(BlockState, Level, BlockPos, Direction, FluidState) - Method in class net.neoforged.neoforge.debug.block.OnDestroyedByPushReactionTests.DestroyedByPushReactionListeningBlock
- onDestroyedByPushReaction(Level, BlockPos, Direction, FluidState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called when a block is removed by
PushReaction.DESTROY
. - onDestroyedByPushReactionCallback - Variable in class net.neoforged.neoforge.debug.block.OnDestroyedByPushReactionTests.DestroyedByPushReactionListeningBlock
- OnDestroyedByPushReactionTests - Class in net.neoforged.neoforge.debug.block
- OnDestroyedByPushReactionTests() - Constructor for class net.neoforged.neoforge.debug.block.OnDestroyedByPushReactionTests
- OnDestroyedByPushReactionTests.DestroyedByPushReactionListeningBlock - Class in net.neoforged.neoforge.debug.block
- onDifficultyChange(Difficulty, Difficulty) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onDimensionUnload(LevelEvent.Unload) - Method in class net.neoforged.neoforge.common.NeoForgeEventHandler
- onDisabled() - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onDisabled() - Method in class net.neoforged.testframework.impl.test.AbstractTest
- onDisabled() - Method in interface net.neoforged.testframework.Test
-
This method is called when this test is disabled.
- onDisabled(TestFramework, Test, Entity) - Method in interface net.neoforged.testframework.TestListener
-
This method is called when a test is disabled.
- onDisconnect() - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen
- onDisconnect(DisconnectionDetails) - Method in class net.neoforged.neoforge.common.util.FakePlayer.FakePlayerNetHandler
- onDpSync(OnDatapackSyncEvent) - Method in class net.neoforged.neoforge.common.NeoForgeEventHandler
- onDrag(double, double, double, double) - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
- onDrawHighlight(LevelRenderer, Camera, BlockHitResult, DeltaTracker, PoseStack, MultiBufferSource, boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onDroppedByPlayer(Player) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called when a player drops the item into the world, returning false from this will prevent the item from being removed from the players inventory and spawning in the world
- onDroppedByPlayer(ItemStack, Player) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called when a player drops the item into the world, returning false from this will prevent the item from being removed from the players inventory and spawning in the world
- ONE - Static variable in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
- oneChannelPerEntry - Variable in class net.neoforged.neoforge.client.gui.ModMismatchDisconnectedScreen.MismatchInfoPanel
- onEffectRemoved(LivingEntity, Holder<MobEffect>) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEffectRemoved(LivingEntity, MobEffectInstance) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEmptyClick(Player, InteractionHand) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onEmptyLeftClick(Player) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onEnabled(Test.EventListenerGroup) - Method in interface net.neoforged.testframework.DynamicTest.EnabledListener
- onEnabled(Test.EventListenerGroup) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onEnabled(Test.EventListenerGroup) - Method in class net.neoforged.testframework.impl.test.AbstractTest
- onEnabled(Test.EventListenerGroup) - Method in class net.neoforged.testframework.impl.test.MethodBasedEventTest
- onEnabled(Test.EventListenerGroup) - Method in interface net.neoforged.testframework.Test
-
This method is called when this test is enabled.
- onEnabled(TestFramework, Test, Entity) - Method in class net.neoforged.neoforge.debug.registry.BiomeModifierSyncTest.Listener
- onEnabled(TestFramework, Test, Entity) - Method in class net.neoforged.neoforge.debug.resources.BulkKnownPackTest.Listener
- onEnabled(TestFramework, Test, Entity) - Method in interface net.neoforged.testframework.TestListener
-
This method is called when a test is enabled.
- onEnchantmentLevelSet(Level, BlockPos, int, int, ItemStack, int) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEnderPearlLand(ServerPlayer, double, double, double, ThrownEnderpearl, float, HitResult) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEnderTeleport(LivingEntity, double, double, double) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEntityCollision(AbstractMinecart, Entity) - Method in interface net.neoforged.neoforge.common.IMinecartCollisionHandler
-
This basically replaces the function of the same name in EntityMinecart.
- onEntityDestroyBlock(LivingEntity, BlockPos, BlockState) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEntityEnterSection(Entity, long, long) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onEntityIncomingDamage(LivingEntity, DamageContainer) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Called after invulnerability checks in
Entity.hurt(DamageSource, float)
, this method creates and posts the first event in the LivingEntity damage sequence,LivingIncomingDamageEvent
. - onEntityItemUpdate(ItemEntity) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called by the default implemetation of EntityItem's onUpdate method, allowing for cleaner control over the update of the item without having to write a subclass.
- onEntityItemUpdate(ItemStack, ItemEntity) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called by the default implemetation of EntityItem's onUpdate method, allowing for cleaner control over the update of the item without having to write a subclass.
- onEntityJoinWorld(EntityJoinLevelEvent) - Method in class net.neoforged.neoforge.common.NeoForgeEventHandler
- onEntityStruckByLightning(Entity, LightningBolt) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEntitySwing(LivingEntity, InteractionHand) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called when a entity tries to play the 'swing' animation.
- onEntitySwing(ItemStack, LivingEntity, InteractionHand) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called when a entity tries to play the 'swing' animation.
- onEntityTeleportCommand(Entity, double, double, double) - Static method in class net.neoforged.neoforge.event.EventHooks
- onEntityTeleportSpreadPlayersCommand(Entity, double, double, double) - Static method in class net.neoforged.neoforge.event.EventHooks
- onExplosionDetonate(Level, ServerExplosion, List<Entity>, List<BlockPos>) - Static method in class net.neoforged.neoforge.event.EventHooks
- onExplosionStart(Level, ServerExplosion) - Static method in class net.neoforged.neoforge.event.EventHooks
- onFarmlandTrample(ServerLevel, BlockPos, BlockState, double, Entity) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onFileChange(ModConfigEvent.Reloading) - Static method in class net.neoforged.neoforge.client.config.NeoForgeClientConfig
- onFinish - Variable in class net.neoforged.neoforge.client.loading.NeoForgeLoadingOverlay
- onFogRender(FogRenderer.FogMode, FogType, Camera, float, float, FogParameters) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onGameTest - Variable in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onGameTest(Class<T>, Consumer<T>) - Method in interface net.neoforged.testframework.DynamicTest
-
Registers a listener to run when the GameTest version of this test is run.
- onGameTest(Class<T>, Consumer<T>) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onGameTest(Consumer<ExtendedGameTestHelper>) - Method in interface net.neoforged.testframework.DynamicTest
-
Registers a listener to run when the GameTest version of this test is run.
- onGameTest(Consumer<ExtendedGameTestHelper>) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onGameTest(GameTestHelper) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onGameTest(GameTestHelper) - Method in class net.neoforged.testframework.impl.test.AbstractTest
- onGameTest(GameTestHelperFactory<T>, Consumer<T>) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
- onGatherData(GatherDataEvent.Client) - Static method in class net.neoforged.neoforge.client.ClientNeoForgeMod
- onGatherData(GatherDataEvent.Client) - Static method in class net.neoforged.neoforge.oldtest.client.CustomPresetEditorTest.CommonModEvents
- onGatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.misc.DataPackRegistriesTest
- onGatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.RemoveTagDatagenTest
- onGatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.world.BiomeModifierTest
- onGatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.world.StructureModifierTest
- onGrindstoneChange(ItemStack, ItemStack, Container, int) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onGrindstonePlace(GrindstoneEvent.OnPlaceItem) - Method in class net.neoforged.neoforge.oldtest.misc.GrindstoneEventTest
- onGrindstoneTake(Container, ContainerLevelAccess, Function<Level, Integer>) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onGrindstoneTake(GrindstoneEvent.OnTakeItem) - Method in class net.neoforged.neoforge.oldtest.misc.GrindstoneEventTest
- onGuiRenderPost(ScreenEvent.Render.Post) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.LinearTextTextureFilteringTest
- onGuiRenderPre(ScreenEvent.Render.Pre) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.LinearTextTextureFilteringTest
- OnInit - Annotation Interface in net.neoforged.testframework.annotation
-
Annotate a static method accepting exactly one parameter of MutableTestFramework (or parent interfaces) to register that method as an on-init listener, which will be called in
MutableTestFramework.init(IEventBus, ModContainer)
. - OnInit.Stage - Enum Class in net.neoforged.testframework.annotation
- onInitMethodsWithAnnotation(ModContainer) - Static method in class net.neoforged.testframework.impl.FrameworkCollectors
-
This method collects init listeners based on static methods accepting exactly one parameter of MutableTestFramework (or parent interfaces).
- onInteractEntity(Player, Entity, InteractionHand) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onInteractEntityAt(Player, Entity, HitResult, InteractionHand) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onInteractEntityAt(Player, Entity, Vec3, InteractionHand) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onInvalidate() - Method in interface net.neoforged.neoforge.capabilities.ICapabilityInvalidationListener
-
Called when capabilities are invalidated.
- OnionIterator - Class in net.neoforged.neoforge.server.command.generation
-
Special thanks to Jasmine and Gegy for allowing us to use their pregenerator mod as a model to use in NeoForge!
- OnionIterator(int) - Constructor for class net.neoforged.neoforge.server.command.generation.OnionIterator
- onItemConsumptionTeleport(LivingEntity, ItemStack, double, double, double) - Static method in class net.neoforged.neoforge.event.EventHooks
- onItemExpire(ItemEntity) - Static method in class net.neoforged.neoforge.event.EventHooks
- onItemRegister(RegisterEvent) - Static method in class net.neoforged.neoforge.oldtest.block.FlowerPotTest
- onItemRightClick(Player, InteractionHand) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onItemRightClick(PlayerInteractEvent.RightClickItem) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.RenderLocalPlayerTest
- onItemRightClickEntity(PlayerInteractEvent.EntityInteract) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.RenderLocalPlayerTest
- onItemStackedOn(ItemStack, ItemStack, Slot, ClickAction, Player, SlotAccess) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Fires the
ItemStackedOnOtherEvent
, allowing items to handle custom behavior relating to being stacked together (i.e. how the bundle operates). - onItemTooltip(ItemStack, Player, List<Component>, TooltipFlag, Item.TooltipContext) - Static method in class net.neoforged.neoforge.event.EventHooks
- onItemUseFinish(LivingEntity, ItemStack, int, ItemStack) - Static method in class net.neoforged.neoforge.event.EventHooks
- onItemUseFirst(UseOnContext) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
- onItemUseFirst(ItemStack, UseOnContext) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
This is called when the item is used, before the block is activated.
- onItemUseStart(LivingEntity, ItemStack, int) - Static method in class net.neoforged.neoforge.event.EventHooks
-
Deprecated, for removal: This API element is subject to removal in a future version.
- onItemUseStart(LivingEntity, ItemStack, InteractionHand, int) - Static method in class net.neoforged.neoforge.event.EventHooks
- onItemUseTick(LivingEntity, ItemStack, int) - Static method in class net.neoforged.neoforge.event.EventHooks
- onKeyInput(int, int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onLeftClickBlock(Player, BlockPos, Direction, ServerboundPlayerActionPacket.Action) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLeftClickEntity(ItemStack, Player, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called when the player Left Clicks (attacks) an entity.
- onLivingBreathe(LivingEntity, int, int) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Handles living entities being underwater.
- onLivingChangeTarget(LivingEntity, LivingEntity, LivingChangeTargetEvent.ILivingTargetType) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingConvert(LivingEntity, LivingEntity) - Static method in class net.neoforged.neoforge.event.EventHooks
- onLivingConvert(LivingConversionEvent.Post) - Static method in class net.neoforged.neoforge.attachment.AttachmentInternals
- onLivingDamagePost(LivingEntity, DamageContainer) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Creates and posts a
LivingDamageEvent.Post
. - onLivingDamagePre(LivingEntity, DamageContainer) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Creates and posts an
LivingDamageEvent.Pre
. - onLivingDeath(LivingEntity, DamageSource) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingDrops(LivingEntity, DamageSource, Collection<ItemEntity>, boolean) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingFall(LivingEntity, double, float) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingHeal(LivingEntity, float) - Static method in class net.neoforged.neoforge.event.EventHooks
- onLivingJump(LivingEntity) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingKnockBack(LivingEntity, float, double, double) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingSwapHandItems(LivingEntity) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLivingUseTotem(LivingEntity, DamageSource, ItemStack, InteractionHand) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onLoad() - Method in interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
-
Called when this is first added to the world (by
LevelChunk.addAndRegisterBlockEntity(BlockEntity)
) or right before the first tick when the chunk is generated or loaded from disk. - onLoad() - Method in class net.neoforged.neoforge.items.ItemStackHandler
- onLoad(ModConfigEvent.Loading) - Static method in class net.neoforged.neoforge.client.config.NeoForgeClientConfig
- onlySpawnHostileMobs(LevelEvent.PotentialSpawns) - Static method in class net.neoforged.neoforge.oldtest.world.PotentialSpawnsEventTest
- onMinecartPass(BlockState, Level, BlockPos, AbstractMinecart) - Method in interface net.neoforged.neoforge.common.extensions.IBaseRailBlockExtension
-
This function is called by any minecart that passes over this rail.
- onMinecraftRegister(Connection, Set<ResourceLocation>) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Invoked to add to the known ad-hoc channels on a connection.
- onMinecraftUnregister(Connection, Set<ResourceLocation>) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Invoked to remove from the known ad-hoc channels on a connection.
- onMissingDescription - Variable in class net.neoforged.testframework.conf.FrameworkConfiguration.Builder
- onMissingDescription - Variable in record class net.neoforged.testframework.conf.FrameworkConfiguration
-
The field for the
onMissingDescription
record component. - onMissingDescription() - Method in record class net.neoforged.testframework.conf.FrameworkConfiguration
-
Returns the value of the
onMissingDescription
record component. - onMissingDescription(MissingDescriptionAction) - Method in class net.neoforged.testframework.conf.FrameworkConfiguration.Builder
- onMobSplit(Mob, List<Mob>) - Static method in class net.neoforged.neoforge.event.EventHooks
-
Fires the mob split event.
- onModelBake(ModelManager, ModelBakery.BakingResult, ModelBakery) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onModelBake(ModelEvent.ModifyBakingResult) - Static method in class net.neoforged.neoforge.oldtest.client.model.TRSRTransformerTest
- onModelBakingCompleted(ModelEvent.ModifyBakingResult) - Static method in class net.neoforged.neoforge.oldtest.client.model.MegaModelTest.ClientEvents
- onModifyBakingResult(ModelBakery.BakingResult, Map<ResourceLocation, AtlasSet.StitchResult>, ModelBakery) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onMouseButtonPost(int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onMouseButtonPre(int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onMouseScroll(MouseHandler, double, double) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onMovementInputUpdate(Player, ClientInput) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onMultiBlockPlace(Entity, List<BlockSnapshot>, Direction) - Static method in class net.neoforged.neoforge.event.EventHooks
- onNameplateRender(RenderNameTagEvent.CanRender) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.NameplateRenderingEventTest
- onNeighborChange(BlockState, LevelReader, BlockPos, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called when a block entity on a side of this block changes, is created, or is destroyed.
- onNeighborChange(LevelReader, BlockPos, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called when a block entity on a side of this block changes, is created, or is destroyed.
- onNeighborNotify(Level, BlockPos, BlockState, EnumSet<Direction>, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onNetworkQuery(ClientConfigurationPacketListener) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
-
Invoked by the client when a modded server queries it for its available channels.
- onNetworkSetup(RegisterPayloadHandlersEvent) - Method in record class net.neoforged.testframework.impl.packet.TestFrameworkPayloadInitialization
- onNoteChange(Level, BlockPos, BlockState, int, int) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onPermissionChanged(GameProfile, int, PlayerList) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPhantomsSpawn(PlayerSpawnPhantomsEvent) - Static method in class net.neoforged.neoforge.oldtest.entity.player.PlayerSpawnPhantomsEventTest
- onPistonMovePost(Level, BlockPos, Direction, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPistonMovePre(Level, BlockPos, Direction, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlace(BlockState, Level, BlockPos, BlockState, boolean) - Method in class net.neoforged.neoforge.debug.block.BlockTests.CustomBubbleColumnSustainingBlock
- onPlace(BlockState, Level, BlockPos, BlockState, boolean) - Method in class net.neoforged.neoforge.oldtest.world.ForgeChunkManagerTest.ChunkLoaderBlock
- OnPlaceItem(ItemStack, ItemStack, int) - Constructor for class net.neoforged.neoforge.event.GrindstoneEvent.OnPlaceItem
- onPlaceItemIntoWorld(UseOnContext) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onPlayerAttackTarget(Player, Entity) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onPlayerBrewedPotion(Player, ItemStack) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlayerClone(Player, Player, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlayerClone(PlayerEvent.Clone) - Static method in class net.neoforged.neoforge.attachment.AttachmentInternals
- onPlayerDestroyItem(Player, ItemStack, InteractionHand) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlayerEnchantItem(Player, ItemStack, List<EnchantmentInstance>) - Static method in class net.neoforged.neoforge.common.CommonHooks
-
Fires
PlayerEnchantItemEvent
inEnchantmentMenu.clickMenuButton(Player, int)
after the enchants are applied to the item. - onPlayerFall(Player, float, float) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlayerNegotiation(PlayerNegotiationEvent) - Static method in class net.neoforged.neoforge.oldtest.entity.player.PlayerNegotiationEventTest
- onPlayerSpawnSet(Player, ServerPlayer.RespawnConfig) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlayerTossEvent(Player, ItemStack, boolean) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onPlayerVillagerTrade(TradeWithVillagerEvent) - Static method in class net.neoforged.neoforge.oldtest.entity.player.TradeWithVillagerEventTest
- onPlayerWakeup(Player, boolean, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlaySoundAtEntity(Entity, Holder<SoundEvent>, SoundSource, float, float) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPlaySoundAtPosition(Level, double, double, double, Holder<SoundEvent>, SoundSource, float, float) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPotionAdded(MobEffectEvent.Added) - Static method in class net.neoforged.neoforge.oldtest.PotionEventTest
- onPotionAttemptBrew(NonNullList<ItemStack>) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPotionBrewed(NonNullList<ItemStack>) - Static method in class net.neoforged.neoforge.event.EventHooks
- onPotionExpiry(MobEffectEvent.Expired) - Static method in class net.neoforged.neoforge.oldtest.PotionEventTest
- onPotionRemove(MobEffectEvent.Remove) - Static method in class net.neoforged.neoforge.oldtest.PotionEventTest
- onPressBiomeButton(ResourceKey<Biome>) - Method in class net.neoforged.neoforge.oldtest.client.CustomPresetEditorTest.SwampDesertScreen
- onProjectileImpact(Projectile, HitResult) - Static method in class net.neoforged.neoforge.event.EventHooks
- onQuickCraft(ItemStack, ItemStack) - Method in class net.neoforged.neoforge.items.ItemHandlerCopySlot
- onQuickCraft(ItemStack, ItemStack) - Method in class net.neoforged.neoforge.items.SlotItemHandler
- onRegisterAttributes(EntityAttributeCreationEvent) - Method in class net.neoforged.neoforge.oldtest.entity.PartEntityTest
- onRegisterClientCommands(RegisterClientCommandsEvent) - Static method in class net.neoforged.neoforge.client.BlockEntityRenderBoundsDebugRenderer
- onRegisterClientCommands(RegisterClientCommandsEvent) - Static method in class net.neoforged.neoforge.client.ParticleBoundsDebugRenderer
- onRegisterClientExtensions(RegisterClientExtensionsEvent) - Static method in class net.neoforged.neoforge.client.ClientNeoForgeMod
- onRegisterClientExtensions(RegisterClientExtensionsEvent) - Static method in class net.neoforged.neoforge.oldtest.block.CustomBreakSoundTest.ClientEvents
- onRegisterClientExtensions(RegisterClientExtensionsEvent) - Static method in class net.neoforged.neoforge.oldtest.client.CustomArmorModelTest.ClientEvents
- onRegisterClientExtensions(RegisterClientExtensionsEvent) - Static method in class net.neoforged.neoforge.oldtest.entity.player.ItemUseAnimationTest.ClientEvents
- onRegisterClientExtensions(RegisterClientExtensionsEvent) - Static method in class net.neoforged.neoforge.oldtest.fluid.NewFluidTest.ClientEvents
- onRegisterClientTooltipComponentFactories(RegisterClientTooltipComponentFactoriesEvent) - Static method in class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.ClientModBusEventHandler
- onRegisterItemDecorations(RegisterItemDecorationsEvent) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.CustomItemDecorationsTest.ClientEvents
- onRegisterKeyMappings(Options) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onRegisterModelLoaders(ModelEvent.RegisterLoaders) - Static method in class net.neoforged.neoforge.client.ClientNeoForgeMod
- onRegisterNamedRenderTypes(RegisterNamedRenderTypesEvent) - Static method in class net.neoforged.neoforge.client.ClientNeoForgeMod
- onRegisterPacketHandler(RegisterPayloadHandlersEvent) - Method in class net.neoforged.neoforge.oldtest.misc.ModMismatchTest
- onRegisterParticleProviders(ParticleEngine) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onRegisterPresetEditors(RegisterPresetEditorsEvent) - Static method in class net.neoforged.neoforge.oldtest.client.CustomPresetEditorTest.ClientModEvents
- onRegisterReloadListeners(AddClientReloadListenersEvent) - Static method in class net.neoforged.neoforge.client.ClientNeoForgeMod
- onRegisterRenderers(EntityRenderersEvent.RegisterRenderers) - Static method in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.ClientEvents
- onRegisterSpriteSourceTypes(RegisterSpriteSourcesEvent) - Static method in class net.neoforged.neoforge.client.ClientNeoForgeMod
- onRemovedFromLevel() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
-
Called after the entity has been removed to the world's ticking list.
- onRenderLevelStage(RenderLevelStageEvent) - Static method in class net.neoforged.neoforge.client.BlockEntityRenderBoundsDebugRenderer
- onRenderLevelStage(RenderLevelStageEvent) - Static method in class net.neoforged.neoforge.client.ParticleBoundsDebugRenderer
- onRenderLevelStage(RenderLevelStageEvent) - Static method in class net.neoforged.neoforge.oldtest.client.rendering.ShaderResourcesTest.ClientInit
- onRenderLevelStages(RenderLevelStageEvent) - Method in class net.neoforged.neoforge.oldtest.client.rendering.RenderLevelStagesTest
- onRenderTooltipPre(ItemStack, GuiGraphics, int, int, int, int, List<ClientTooltipComponent>, Font, ClientTooltipPositioner) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onRenderTooltipTexture(ItemStack, GuiGraphics, int, int, Font, List<ClientTooltipComponent>, ResourceLocation) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onResourceManagerReload(ResourceManager) - Method in class net.neoforged.neoforge.client.model.obj.ObjLoader
- onResourceManagerReload(ResourceManager) - Static method in class net.neoforged.neoforge.internal.BrandingControl
- onResourceReload(PreparableReloadListener.PreparationBarrier, ResourceManager, Executor, Executor) - Static method in class net.neoforged.neoforge.client.loading.ClientModLoader
-
This method can be bound as a method reference to
PreparableReloadListener
. - onResourceReload(ReloadableServerResources, RegistryAccess) - Static method in class net.neoforged.neoforge.event.EventHooks
-
Fires the
AddServerReloadListenersEvent
and returns the sorted list of reload listeners. - onResourceReload(AddServerReloadListenersEvent) - Method in class net.neoforged.neoforge.common.NeoForgeEventHandler
- onRightClick(PlayerInteractEvent.RightClickBlock) - Method in class net.neoforged.neoforge.oldtest.misc.ContainerTypeTest
- onRightClick(PlayerInteractEvent.RightClickBlock) - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookExtensionTest
- onRightClickBlock(Player, InteractionHand, BlockPos, BlockHitResult) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onScreenCharTypedPost(Screen, char, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenCharTypedPre(Screen, char, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenKeyPressedPost(Screen, int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenKeyPressedPre(Screen, int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenKeyReleasedPost(Screen, int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenKeyReleasedPre(Screen, int, int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseClickedPost(Screen, double, double, int, boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseClickedPre(Screen, double, double, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseDragPost(Screen, double, double, int, double, double) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseDragPre(Screen, double, double, int, double, double) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseReleasedPost(Screen, double, double, int, boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseReleasedPre(Screen, double, double, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseScrollPost(MouseHandler, Screen, double, double) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenMouseScrollPre(MouseHandler, Screen, double, double) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenPotionSize(Screen, int, boolean, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onScreenshot(NativeImage, File) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onSent(ChunkWatchEvent.Sent) - Static method in class net.neoforged.neoforge.oldtest.world.ChunkWatchEventTest
- onServerChatSubmittedEvent(ServerPlayer, String, Component) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onServerStarted(ServerStartedEvent) - Method in class net.neoforged.neoforge.oldtest.DuplicateOptionalTagTest
- onServerStarting(ServerStartingEvent) - Method in class net.neoforged.neoforge.oldtest.misc.DataPackRegistriesTest
- onSheared(Player, ItemStack, Level, BlockPos) - Method in interface net.neoforged.neoforge.common.IShearable
-
Shears this object.
- onSleepFinished(ServerLevel, long, long) - Static method in class net.neoforged.neoforge.event.EventHooks
- onSpawnPlacementRegister(RegisterSpawnPlacementsEvent) - Method in class net.neoforged.neoforge.oldtest.entity.SpawnPlacementTest
- onStackedOn(ItemStackedOnOtherEvent) - Method in class net.neoforged.neoforge.oldtest.item.ItemStackedOnOtherTest
-
When right clicking on a damageable item with a diamond sword
- onStartEntityTracking(Entity, Player) - Static method in class net.neoforged.neoforge.event.EventHooks
- onStatAward(Player, Stat<?>, int) - Static method in class net.neoforged.neoforge.event.EventHooks
- onStatusChange(TestFramework, Test, Test.Status, Test.Status, Entity) - Method in interface net.neoforged.testframework.TestListener
-
This method is called when a test changes its status.
- onStopEntityTracking(Entity, Player) - Static method in class net.neoforged.neoforge.event.EventHooks
- onStopUsing(LivingEntity, int) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
-
Called when an entity stops using an item item for any reason.
- onStopUsing(ItemStack, LivingEntity, int) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
-
Called when an entity stops using an item for any reason, notably when selecting another item without releasing or finishing.
- OnTakeItem(ItemStack, ItemStack, int) - Constructor for class net.neoforged.neoforge.event.GrindstoneEvent.OnTakeItem
- onTextureAtlasStitched(TextureAtlas) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onToastAdd(Toast) - Static method in class net.neoforged.neoforge.client.ClientHooks
- onToolUse(BlockState, UseOnContext, ItemAbility, boolean) - Static method in class net.neoforged.neoforge.event.EventHooks
- onTravelToDimension(Entity, ResourceKey<Level>) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onTreeGrow(BlockState, LevelReader, BiConsumer<BlockPos, BlockState>, RandomSource, BlockPos, TreeConfiguration) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
-
Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.
- onTreeGrow(LevelReader, BiConsumer<BlockPos, BlockState>, RandomSource, BlockPos, TreeConfiguration) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
-
Called when a tree grows on top of this block and tries to set it to dirt by the trunk placer.
- OnTreeGrowBlockTest - Class in net.neoforged.neoforge.oldtest.block
-
A test case used to ensure that
IBlockStateExtension.onTreeGrow(LevelReader, BiConsumer, RandomSource, BlockPos, TreeConfiguration)
works properly, using a custom grass block that should revert to its custom dirt form after a tree grows on top of it instead of turning to dirt. - OnTreeGrowBlockTest(IEventBus) - Constructor for class net.neoforged.neoforge.oldtest.block.OnTreeGrowBlockTest
- onTrySpawnPortal(LevelAccessor, BlockPos, Optional<PortalShape>) - Static method in class net.neoforged.neoforge.event.EventHooks
- onUnwatch(ChunkWatchEvent.UnWatch) - Static method in class net.neoforged.neoforge.oldtest.world.ChunkWatchEventTest
- onUpdateEntityRenderState(EntityRenderer<E, S>, E, S) - Static method in class net.neoforged.neoforge.client.renderstate.RenderStateExtensions
- onUpdateMapDecorationRenderState(Holder<MapDecorationType>, MapItemSavedData, MapRenderState, MapRenderState.MapDecorationRenderState) - Static method in class net.neoforged.neoforge.client.renderstate.RenderStateExtensions
- onUpdateMapRenderState(MapItemSavedData, MapRenderState) - Static method in class net.neoforged.neoforge.client.renderstate.RenderStateExtensions
- onUseItemStop(LivingEntity, ItemStack, int) - Static method in class net.neoforged.neoforge.event.EventHooks
- onVanillaEvent(VanillaGameEvent) - Method in class net.neoforged.neoforge.oldtest.item.StopUsingItemTest
- onVanillaGameEvent(Level, Holder<GameEvent>, Vec3, GameEvent.Context) - Static method in class net.neoforged.neoforge.common.CommonHooks
- onVaporize(LivingEntity, Level, BlockPos, FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
-
Performs an action when a fluid can be vaporized when placed into a level.
- onWatch(ChunkWatchEvent.Watch) - Static method in class net.neoforged.neoforge.oldtest.world.ChunkWatchEventTest
- open() - Static method in class net.neoforged.neoforge.oldtest.client.TestScreen
- Open(Player, AbstractContainerMenu) - Constructor for class net.neoforged.neoforge.event.entity.player.PlayerContainerEvent.Open
- OPEN_OPTIONS - Static variable in class net.neoforged.neoforge.common.IOUtilities
- openBrowseGUI() - Method in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.GroupEntry
- openFull(PackLocationInfo, Pack.Metadata) - Method in class net.neoforged.neoforge.resource.EmptyPackResources.EmptyResourcesSupplier
- openHorseInventory(AbstractHorse, Container) - Method in class net.neoforged.neoforge.common.util.FakePlayer
- Opening(Screen, Screen) - Constructor for class net.neoforged.neoforge.client.event.ScreenEvent.Opening
- openManagerKey - Variable in class net.neoforged.testframework.conf.ClientConfiguration.Builder
- openManagerKey - Variable in record class net.neoforged.testframework.conf.ClientConfiguration
-
The field for the
openManagerKey
record component. - openManagerKey() - Method in record class net.neoforged.testframework.conf.ClientConfiguration
-
Returns the value of the
openManagerKey
record component. - openManagerKey(int) - Method in class net.neoforged.testframework.conf.ClientConfiguration.Builder
- openMenu(MenuProvider, Consumer<RegistryFriendlyByteBuf>) - Method in class net.neoforged.neoforge.common.util.FakePlayer
- openMenu(MenuProvider, Consumer<RegistryFriendlyByteBuf>) - Method in interface net.neoforged.neoforge.common.extensions.IPlayerExtension
-
Request to open a GUI on the client, from the server
- openMenu(MenuProvider, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IPlayerExtension
-
Request to open a GUI on the client, from the server
- openModsFolderButton - Variable in class net.neoforged.neoforge.client.gui.ModListScreen
- openPrimary(PackLocationInfo) - Method in class net.neoforged.neoforge.resource.EmptyPackResources.EmptyResourcesSupplier
- openResource(Map<T, Supplier<byte[]>>, T) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest.InMemoryResourcePack
- Operation() - Constructor for enum class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.Operation
- operator - Variable in record class net.neoforged.neoforge.client.model.generators.blockstate.UnbakedMutator.Handler
-
The field for the
operator
record component. - operator() - Method in record class net.neoforged.neoforge.client.model.generators.blockstate.UnbakedMutator.Handler
-
Returns the value of the
operator
record component. - OPPOSING_CORNER - Enum constant in enum class net.neoforged.neoforge.common.util.TransformationHelper.TransformOrigin
- option - Variable in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Element
-
The field for the
option
record component. - option() - Method in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Element
-
Returns the value of the
option
record component. - optional - Variable in class net.neoforged.neoforge.client.model.generators.template.CustomLoaderBuilder
- optional - Variable in record class net.neoforged.neoforge.network.negotiation.NegotiableNetworkComponent
-
The field for the
optional
record component. - optional - Variable in record class net.neoforged.neoforge.network.payload.ModdedNetworkQueryComponent
-
The field for the
optional
record component. - optional - Variable in class net.neoforged.neoforge.network.registration.PayloadRegistrar
- optional - Variable in record class net.neoforged.neoforge.network.registration.PayloadRegistration
-
The field for the
optional
record component. - optional() - Method in class net.neoforged.neoforge.client.model.generators.template.CustomLoaderBuilder
-
Mark the custom loader as optional for this model to allow it to be loaded through vanilla paths if the loader is not present
- optional() - Method in record class net.neoforged.neoforge.network.negotiation.NegotiableNetworkComponent
-
Returns the value of the
optional
record component. - optional() - Method in record class net.neoforged.neoforge.network.payload.ModdedNetworkQueryComponent
-
Returns the value of the
optional
record component. - optional() - Method in class net.neoforged.neoforge.network.registration.PayloadRegistrar
-
Creates a copy of this registrar with optional mode enabled.
- optional() - Method in record class net.neoforged.neoforge.network.registration.PayloadRegistration
-
Returns the value of the
optional
record component. - optional(Component, String, ChatFormatting...) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.TranslationChecker
-
If the given translation key exists, returns it formatted with the given style(s) and as prefixed with the given component.
- OPTIONAL_CODEC - Static variable in class net.neoforged.neoforge.fluids.FluidStack
-
A standard codec for fluid stacks that accepts empty stacks, serializing them as
{}
. - OPTIONAL_FORMAT - Static variable in class net.neoforged.neoforge.resource.ResourcePackLoader
- OPTIONAL_STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
- OPTIONAL_STREAM_CODEC - Static variable in class net.neoforged.neoforge.fluids.FluidStack
-
A stream codec for fluid stacks that accepts empty stacks.
- optionalFieldAlwaysWrite(Codec<T>, String, T) - Static method in class net.neoforged.neoforge.common.util.NeoForgeExtraCodecs
-
Similar to
Codec.optionalFieldOf(String, Object)
, except that the default value is always written. - optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>>) - Static method in class net.neoforged.neoforge.common.crafting.IngredientCodecs
- options - Variable in class net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent
- options - Variable in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
- or(ICondition...) - Static method in class net.neoforged.neoforge.common.conditions.NeoForgeConditions
- or(TriPredicate<? super T, ? super U, ? super V>) - Method in interface net.neoforged.neoforge.common.util.TriPredicate
- OR - Enum constant in enum class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.Operation
-
Checked second, only one of these predicates must pass along with the original predicate
- OR_CONDITION - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
- OR_HOLDER_SET - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
-
Stock holder set type that represents a union of other holdersets.
- orangeConcreteLootTableReplaced(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.loot.LootPoolTest
- orb - Variable in class net.neoforged.neoforge.event.entity.player.PlayerXpEvent.PickupXp
- OrCondition - Record Class in net.neoforged.neoforge.common.conditions
- OrCondition(List<ICondition>) - Constructor for record class net.neoforged.neoforge.common.conditions.OrCondition
-
Creates an instance of a
OrCondition
record class. - OrderedModLoadingTest - Class in net.neoforged.neoforge.oldtest
- OrderedModLoadingTest() - Constructor for class net.neoforged.neoforge.oldtest.OrderedModLoadingTest
- OrderedModLoadingTest.Mod1 - Class in net.neoforged.neoforge.oldtest
- OrderedModLoadingTest.Mod2 - Class in net.neoforged.neoforge.oldtest
- OrderedModLoadingTest.Mod3 - Class in net.neoforged.neoforge.oldtest
- OrderedModLoadingTest.Mod4 - Class in net.neoforged.neoforge.oldtest
- OrderedModLoadingTest.Mod5 - Class in net.neoforged.neoforge.oldtest
- Ordering() - Constructor for enum class net.neoforged.neoforge.client.event.RegisterGuiLayersEvent.Ordering
- ORE_BEARING_GROUND_DEEPSLATE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Blocks which are often replaced by deepslate ores, i.e. the ores in the tag
Tags.Blocks.ORES_IN_GROUND_DEEPSLATE
, during world generation. - ORE_BEARING_GROUND_DEEPSLATE - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Blocks which are often replaced by deepslate ores, i.e. the ores in the tag
Tags.Items.ORES_IN_GROUND_DEEPSLATE
, during world generation. - ORE_BEARING_GROUND_NETHERRACK - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Blocks which are often replaced by netherrack ores, i.e. the ores in the tag
Tags.Blocks.ORES_IN_GROUND_NETHERRACK
, during world generation. - ORE_BEARING_GROUND_NETHERRACK - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Blocks which are often replaced by netherrack ores, i.e. the ores in the tag
Tags.Items.ORES_IN_GROUND_NETHERRACK
, during world generation. - ORE_BEARING_GROUND_STONE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Blocks which are often replaced by stone ores, i.e. the ores in the tag
Tags.Blocks.ORES_IN_GROUND_STONE
, during world generation. - ORE_BEARING_GROUND_STONE - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Blocks which are often replaced by stone ores, i.e. the ores in the tag
Tags.Items.ORES_IN_GROUND_STONE
, during world generation. - ORE_RATES_DENSE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Ores which on average result in more than one resource worth of materials ignoring fortune and other modifiers.
- ORE_RATES_DENSE - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Ores which on average result in more than one resource worth of materials ignoring fortune and other modifiers.
- ORE_RATES_SINGULAR - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Ores which on average result in one resource worth of materials ignoring fortune and other modifiers.
- ORE_RATES_SINGULAR - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Ores which on average result in one resource worth of materials ignoring fortune and other modifiers.
- ORE_RATES_SPARSE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Ores which on average result in less than one resource worth of materials ignoring fortune and other modifiers.
- ORE_RATES_SPARSE - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Ores which on average result in less than one resource worth of materials ignoring fortune and other modifiers.
- ORES - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_COAL - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_COAL - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_COPPER - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_COPPER - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_DIAMOND - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_DIAMOND - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_EMERALD - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_EMERALD - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_GOLD - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_GOLD - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_IN_GROUND_DEEPSLATE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Ores in deepslate (or in equivalent blocks in the tag
Tags.Blocks.ORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or output. - ORES_IN_GROUND_DEEPSLATE - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Ores in deepslate (or in equivalent blocks in the tag
Tags.Items.ORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or output. - ORES_IN_GROUND_NETHERRACK - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Ores in netherrack (or in equivalent blocks in the tag
Tags.Blocks.ORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or output. - ORES_IN_GROUND_NETHERRACK - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Ores in netherrack (or in equivalent blocks in the tag
Tags.Items.ORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or output. - ORES_IN_GROUND_STONE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
-
Ores in stone (or in equivalent blocks in the tag
Tags.Blocks.ORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or output. - ORES_IN_GROUND_STONE - Static variable in class net.neoforged.neoforge.common.Tags.Items
-
Ores in stone (or in equivalent blocks in the tag
Tags.Items.ORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or output. - ORES_IRON - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_IRON - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_LAPIS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_LAPIS - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_NETHERITE_SCRAP - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_NETHERITE_SCRAP - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_QUARTZ - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_QUARTZ - Static variable in class net.neoforged.neoforge.common.Tags.Items
- ORES_REDSTONE - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
- ORES_REDSTONE - Static variable in class net.neoforged.neoforge.common.Tags.Items
- OrHolderSet<T> - Class in net.neoforged.neoforge.registries.holdersets
-
Holderset that represents a union of other holdersets.
- OrHolderSet(List<HolderSet<T>>) - Constructor for class net.neoforged.neoforge.registries.holdersets.OrHolderSet
- OrHolderSet(HolderSet<T>...) - Constructor for class net.neoforged.neoforge.registries.holdersets.OrHolderSet
- OrHolderSet.Type - Class in net.neoforged.neoforge.registries.holdersets
- origin - Variable in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
- origin - Variable in class net.neoforged.neoforge.client.model.generators.template.RotationBuilder
- origin(float, float, float) - Method in class net.neoforged.neoforge.client.model.generators.template.RotationBuilder
-
Sets the origin point for this rotation.
- origin(TransformationHelper.TransformOrigin) - Method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
-
Sets the origin of the root transform.
- origin(Vector3f) - Method in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
-
Sets the origin of the root transform.
- original - Variable in class net.neoforged.neoforge.event.entity.player.PlayerDestroyItemEvent
- original - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.Clone
- originalAboutToBeSetTarget - Variable in class net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent
- originalBiomeInfo - Variable in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo
- originalBlocked - Variable in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
- originalContent - Variable in class net.neoforged.neoforge.client.event.RenderNameTagEvent.CanRender
- originalDamage - Variable in class net.neoforged.neoforge.common.damagesource.DamageContainer
- originalDamage - Variable in class net.neoforged.neoforge.event.entity.living.ArmorHurtEvent.ArmorEntry
- originalDamage - Variable in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
- originalDmgBlocked - Variable in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
- originalExperiencePoints - Variable in class net.neoforged.neoforge.event.entity.living.LivingExperienceDropEvent
- originalLevel - Variable in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
- originallyInvulnerable - Variable in class net.neoforged.neoforge.event.entity.EntityInvulnerabilityCheckEvent
- originalMessage - Variable in class net.neoforged.neoforge.client.event.ClientChatEvent
- originalMusic - Variable in class net.neoforged.neoforge.client.event.SelectMusicEvent
- originalOptions - Variable in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
- originalPitch - Variable in class net.neoforged.neoforge.event.PlayLevelSoundEvent
- originalPredicate - Variable in class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.MergedSpawnPredicate
- originalRatioX - Variable in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- originalRatioZ - Variable in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- originalSound - Variable in class net.neoforged.neoforge.client.event.sound.PlaySoundEvent
- originalSpeed - Variable in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
- originalStack - Variable in class net.neoforged.neoforge.event.entity.player.ItemEntityPickupEvent.Post
- originalState - Variable in class net.neoforged.neoforge.event.level.block.CropGrowEvent.Post
- originalStrength - Variable in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
- originalStructureInfo - Variable in class net.neoforged.neoforge.common.world.ModifiableStructureInfo
- originalTeleportTransition - Variable in class net.neoforged.neoforge.event.entity.player.PlayerRespawnPositionEvent
- originalTexture - Variable in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Texture
- originalType - Variable in class net.neoforged.neoforge.client.event.PlayerHeartTypeEvent
- originalVolume - Variable in class net.neoforged.neoforge.event.PlayLevelSoundEvent
- originVec - Variable in class net.neoforged.neoforge.client.model.generators.template.RootTransformsBuilder
- origState - Variable in class net.neoforged.neoforge.event.level.BlockEvent.FluidPlaceBlockEvent
- orPredicates - Variable in class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.MergedSpawnPredicate
- OTHER - Enum constant in enum class net.neoforged.neoforge.network.connection.ConnectionType
-
Indicates that the other end of the connection is not Neo.
- outboundPackets() - Method in class net.neoforged.testframework.gametest.GameTestPlayer
- outcome - Variable in class net.neoforged.neoforge.event.entity.living.LivingConversionEvent.Post
- outcome - Variable in class net.neoforged.neoforge.event.entity.living.LivingConversionEvent.Pre
- OUTER_LAYER - Static variable in class net.neoforged.neoforge.oldtest.client.rendering.EntityRendererEventsTest.EntityRenderEventsTestClientModStuff
- OUTLINE_PART_SCRATCH_LIST - Static variable in class net.neoforged.neoforge.client.ClientHooks
- OUTLINE_PASS_RANDOM - Static variable in class net.neoforged.neoforge.client.ClientHooks
- output - Variable in class net.neoforged.neoforge.common.brewing.BrewingRecipe
- output - Variable in class net.neoforged.neoforge.common.data.GlobalLootModifierProvider
- output - Variable in class net.neoforged.neoforge.common.data.internal.NeoForgeRecipeProvider.InterceptingRecipeOutput
- output - Variable in class net.neoforged.neoforge.common.data.internal.NeoForgeRecipeProvider
- output - Variable in class net.neoforged.neoforge.common.data.internal.NeoForgeRegistryOrderReportProvider
- output - Variable in class net.neoforged.neoforge.common.data.LanguageProvider
- output - Variable in class net.neoforged.neoforge.common.data.RecipePrioritiesProvider
- output - Variable in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
- output - Variable in class net.neoforged.neoforge.event.AnvilUpdateEvent
- output - Variable in class net.neoforged.neoforge.event.entity.player.AnvilRepairEvent
- output - Variable in class net.neoforged.neoforge.event.GrindstoneEvent.OnPlaceItem
- outputDir - Variable in class net.neoforged.testframework.summary.JUnitSummaryDumper
- outputPath(ResourceLocation) - Method in class net.neoforged.testframework.impl.DefaultMarkdownFileSummaryDumper
- outputPath(ResourceLocation) - Method in interface net.neoforged.testframework.summary.FileSummaryDumper
- outputPath(ResourceLocation) - Method in class net.neoforged.testframework.summary.GitHubActionsStepSummaryDumper
- outputPath(ResourceLocation) - Method in class net.neoforged.testframework.summary.JUnitSummaryDumper
- overCopyrightBrandings - Static variable in class net.neoforged.neoforge.internal.BrandingControl
- overlay - Variable in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent.System
- OVERLAY_MESSAGE - Static variable in class net.neoforged.neoforge.client.gui.VanillaGuiLayers
- overlays - Variable in record class net.neoforged.neoforge.common.data.GeneratingOverlayMetadataSection
-
The field for the
overlays
record component. - overlays() - Method in record class net.neoforged.neoforge.common.data.GeneratingOverlayMetadataSection
-
Returns the value of the
overlays
record component. - OverlayTests - Class in net.neoforged.neoforge.debug.resources
- OverlayTests() - Constructor for class net.neoforged.neoforge.debug.resources.OverlayTests
- overlayType - Variable in class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent
- OverlayType() - Constructor for enum class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent.OverlayType
- overrideMaterialLibrary(ResourceLocation) - Method in class net.neoforged.neoforge.client.model.generators.loaders.ObjModelBuilder
- overrideMusic(MusicInfo) - Method in class net.neoforged.neoforge.client.event.SelectMusicEvent
-
Sets the music and then cancels the event so that other listeners will not be invoked.
Note that listeners usingSubscribeEvent.receiveCanceled()
will still be able to override this, but by default they will not - overridesEqualsAndHashCode(Class<?>) - Static method in class net.neoforged.neoforge.common.CommonHooks
- OwnedChunks(ResourceLocation, Map<BlockPos, TicketSet>, Map<UUID, TicketSet>) - Constructor for record class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.OwnedChunks
-
Creates an instance of a
OwnedChunks
record class. - owner - Variable in class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.TicketOwner
- owner - Variable in class net.neoforged.neoforge.common.world.LevelChunkAuxiliaryLightManager
- owner - Variable in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl
- owners - Variable in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
- owners - Variable in class net.neoforged.neoforge.registries.holdersets.NotHolderSet
- owningThread - Variable in class net.neoforged.neoforge.model.data.ModelDataManager
- Oxidizable - Record Class in net.neoforged.neoforge.registries.datamaps.builtin
-
Data map value for oxidizable blocks allowing mods to easily register basic oxidizing interactions for their blocks.
- Oxidizable(Block) - Constructor for record class net.neoforged.neoforge.registries.datamaps.builtin.Oxidizable
-
Creates an instance of a
Oxidizable
record class. - OXIDIZABLE_CODEC - Static variable in record class net.neoforged.neoforge.registries.datamaps.builtin.Oxidizable
- OXIDIZABLES - Static variable in class net.neoforged.neoforge.registries.datamaps.builtin.NeoForgeDataMaps
-
The Block data map that replaces
WeatheringCopper.NEXT_BY_BLOCK
. - oxidizablesAndWaxablesMapTest(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.data.DataMapTests
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
the hand sensitive version
as this version provides wrong hand information