Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

G

G - Enum constant in enum class net.neoforged.neoforge.event.level.NoteBlockEvent.Note
 
G_SHARP - Enum constant in enum class net.neoforged.neoforge.event.level.NoteBlockEvent.Note
 
GAME - Enum constant in enum class net.neoforged.neoforge.common.ModConfigSpec.RestartType
Require a game restart.
GAME_RESTART_MESSAGE - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
 
GAME_RESTART_TITLE - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
 
GAME_RESTART_YES - Static variable in class net.neoforged.neoforge.client.gui.ConfigurationScreen
 
GameData - Class in net.neoforged.neoforge.registries
 
GameData() - Constructor for class net.neoforged.neoforge.registries.GameData
 
gameRestart() - Method in class net.neoforged.neoforge.common.ModConfigSpec.Builder
Config values marked as needing a game restart will never reset their cached value.
gameRestart() - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
 
gameRule - Variable in record class net.neoforged.neoforge.network.payload.ClientboundCustomSetTimePayload
The field for the gameRule record component.
gameRule() - Method in record class net.neoforged.neoforge.network.payload.ClientboundCustomSetTimePayload
Returns the value of the gameRule record component.
GameShuttingDownEvent - Class in net.neoforged.neoforge.event
A simple marker event that notifies when the game is about to close.
GameShuttingDownEvent() - Constructor for class net.neoforged.neoforge.event.GameShuttingDownEvent
 
GameTest - Annotation Interface in net.neoforged.testframework.gametest
 
GAMETEST - Enum constant in enum class net.neoforged.testframework.conf.Feature
This feature enables the GameTest integration.
gameTestData - Variable in class net.neoforged.testframework.impl.test.AbstractTest
 
GameTestData - Record Class in net.neoforged.testframework.gametest
 
GameTestData(String, String, boolean, int, int, Consumer<GameTestHelper>, int, int, Rotation, boolean, boolean) - Constructor for record class net.neoforged.testframework.gametest.GameTestData
Creates an instance of a GameTestData record class.
gameTestHelper - Variable in class net.neoforged.testframework.gametest.ExtendedSequence
 
GameTestHelperFactory<T> - Interface in net.neoforged.testframework.impl
 
GameTestHooks - Class in net.neoforged.neoforge.gametest
 
GameTestHooks() - Constructor for class net.neoforged.neoforge.gametest.GameTestHooks
 
GameTestPlayer - Class in net.neoforged.testframework.gametest
 
GameTestPlayer(MinecraftServer, ServerLevel, GameProfile, ClientInformation, GameTestHelper) - Constructor for class net.neoforged.testframework.gametest.GameTestPlayer
 
GameTestRegistration - Class in net.neoforged.testframework.impl
 
GameTestRegistration() - Constructor for class net.neoforged.testframework.impl.GameTestRegistration
 
GameTestRegistration.Instance - Class in net.neoforged.testframework.impl
 
gameTestTemplate(GameTest) - Method in class net.neoforged.testframework.impl.test.AbstractTest.Dynamic
 
gameTestTemplate(GameTest) - Method in class net.neoforged.testframework.impl.test.AbstractTest
 
gameTime - Variable in record class net.neoforged.neoforge.network.payload.ClientboundCustomSetTimePayload
The field for the gameTime record component.
gameTime() - Method in record class net.neoforged.neoforge.network.payload.ClientboundCustomSetTimePayload
Returns the value of the gameTime record component.
GASEOUS - Static variable in class net.neoforged.neoforge.common.Tags.Fluids
Holds all fluids that are gaseous at room temperature.
gather() - Method in class net.neoforged.neoforge.client.data.internal.NeoForgeSpriteSourceProvider
 
gather() - Method in class net.neoforged.neoforge.common.data.JsonCodecProvider
 
gather(HolderLookup.Provider) - Method in class net.neoforged.neoforge.common.data.DataMapProvider
Generate data map entries.
gather(HolderLookup.Provider) - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeDataMapsProvider
 
gather(T, ListMultimap<Class<?>, Consumer<? extends DataProvider>>, List<Function<T, DataProvider>>) - Method in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl
 
gatherAdditionalRenderers(BlockPos, Level) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
gatherClient(GatherDataEvent.Client) - Method in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl
 
GatherComponents(ItemStack, int, int, List<Either<FormattedText, TooltipComponent>>, int) - Constructor for class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
 
gatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.block.ScaffoldingTest
 
gatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest
 
gatherData(GatherDataEvent.Client) - Static method in class net.neoforged.neoforge.oldtest.DataGeneratorTest
 
gatherData(GatherDataEvent.Client) - Method in class net.neoforged.neoforge.oldtest.DeferredRegistryTest
 
GatherDataEvent - Class in net.neoforged.neoforge.data.event
 
GatherDataEvent(ModContainer, DataGenerator, GatherDataEvent.DataGeneratorConfig) - Constructor for class net.neoforged.neoforge.data.event.GatherDataEvent
 
GatherDataEvent.Client - Class in net.neoforged.neoforge.data.event
 
GatherDataEvent.DataGeneratorConfig - Class in net.neoforged.neoforge.data.event
 
GatherDataEvent.DataProviderFromOutput<T> - Interface in net.neoforged.neoforge.data.event
 
GatherDataEvent.DataProviderFromOutputLookup<T> - Interface in net.neoforged.neoforge.data.event
 
GatherDataEvent.GatherDataEventGenerator - Interface in net.neoforged.neoforge.data.event
 
GatherDataEvent.ItemTagsProvider - Interface in net.neoforged.neoforge.data.event
 
GatherDataEvent.Server - Class in net.neoforged.neoforge.data.event
 
GatherEffectScreenTooltipsEvent - Class in net.neoforged.neoforge.client.event
This event is called when EffectsInInventory draws the tooltip lines for a hovered MobEffectInstance in an AbstractContainerScreen.
GatherEffectScreenTooltipsEvent(AbstractContainerScreen<?>, MobEffectInstance, List<Component>) - Constructor for class net.neoforged.neoforge.client.event.GatherEffectScreenTooltipsEvent
 
gatherMaterialAtlases(Map<ResourceLocation, ResourceLocation>) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
gatherServer(GatherDataEvent.Server) - Method in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl
 
GatherSkippedAttributeTooltipsEvent - Class in net.neoforged.neoforge.event
This event is used to collect the IDs of attribute modifiers that will not be displayed in item tooltips.
GatherSkippedAttributeTooltipsEvent(ItemStack, AttributeTooltipContext) - Constructor for class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
 
gatherTicketsById(Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>>, Function<TicketSet, LongSet>, Map<ResourceLocation, Map<T, TicketSet>>) - Static method in class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager
Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to its LoadingValidationCallback.
gatherTicketsById(ForcedChunkManager.TicketTracker<T>, boolean, boolean) - Static method in class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager
Gathers tickets into an ID filtered map for use in providing all tickets a controller has registered to its LoadingValidationCallback.
gatherTooltipComponents(ItemStack, List<? extends FormattedText>, int, int, int, Font) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
gatherTooltipComponents(ItemStack, List<? extends FormattedText>, Optional<TooltipComponent>, int, int, int, Font) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
gatherTooltipComponentsFromElements(ItemStack, List<Either<FormattedText, TooltipComponent>>, int, int, int, Font) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
gatherTooltips(RenderTooltipEvent.GatherComponents) - Static method in class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.ClientEventHandler
 
GEMS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GEMS_AMETHYST - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GEMS_DIAMOND - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GEMS_EMERALD - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GEMS_LAPIS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GEMS_PRISMARINE - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GEMS_QUARTZ - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
generate(Path, CachedOutput, DataMapProvider.Builder<T, R>, DynamicOps<JsonElement>) - Method in class net.neoforged.neoforge.common.data.DataMapProvider
 
generate(HolderLookup.Provider, Consumer<AdvancementHolder>) - Method in record class net.neoforged.neoforge.common.data.internal.NeoForgeAdvancementProvider.NeoForgeAdvancementGenerator
 
generate(HolderLookup.Provider, Consumer<AdvancementHolder>) - Method in class net.neoforged.neoforge.oldtest.DataGeneratorTest.Advancements
 
GENERATE_FORCED_TICKET - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
 
GenerateCommand - Class in net.neoforged.neoforge.server.command
Special thanks to Jasmine and Gegy for allowing us to use their pregenerator mod as a model to use in NeoForge!
GenerateCommand() - Constructor for class net.neoforged.neoforge.server.command.GenerateCommand
 
generateEnhancedStackTrace(StackTraceElement[]) - Static method in class net.neoforged.neoforge.logging.CrashReportExtender
 
generateEnhancedStackTrace(Throwable) - Static method in class net.neoforged.neoforge.logging.CrashReportExtender
 
generateEnhancedStackTrace(Throwable, boolean) - Static method in class net.neoforged.neoforge.logging.CrashReportExtender
 
generateEntries(LoginPacketSplitTest.InMemoryResourcePack) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest
 
generateEntry(LoginPacketSplitTest.InMemoryResourcePack, int) - Static method in class net.neoforged.neoforge.debug.resources.BulkKnownPackTest
 
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.CompoundFluidIngredient
 
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.CustomDisplayFluidIngredient
 
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
 
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.DifferenceFluidIngredient
 
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
Returns a stream of fluids accepted by this ingredient.
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.IntersectionFluidIngredient
 
generateFluids() - Method in class net.neoforged.neoforge.fluids.crafting.SimpleFluidIngredient
 
generateHeaderSeparator(Map<Integer, Integer>, List<Alignment>) - Static method in class net.neoforged.testframework.summary.md.Table
 
generateRegistryPackets(boolean) - Static method in class net.neoforged.neoforge.registries.RegistryManager
 
GeneratingOverlayMetadataSection - Record Class in net.neoforged.neoforge.common.data
Can be used in place of OverlayMetadataSection during datagen if you wish to generate conditions.
GeneratingOverlayMetadataSection(List<WithConditions<OverlayMetadataSection.OverlayEntry>>) - Constructor for record class net.neoforged.neoforge.common.data.GeneratingOverlayMetadataSection
Creates an instance of a GeneratingOverlayMetadataSection record class.
generationBar - Static variable in class net.neoforged.neoforge.server.command.GenerateCommand
 
GenerationBar - 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!
GenerationBar() - Constructor for class net.neoforged.neoforge.server.command.generation.GenerationBar
 
generationSettings - Variable in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo.Builder
 
generationSettings - Variable in record class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo
The field for the generationSettings record component.
generationSettings() - Method in record class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo
Returns the value of the generationSettings record component.
GenerationTask - 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!
GenerationTask(ServerLevel, int, int, int) - Constructor for class net.neoforged.neoforge.server.command.generation.GenerationTask
 
GenerationTask.Listener - Interface in net.neoforged.neoforge.server.command.generation
 
generators - Variable in class net.neoforged.neoforge.data.event.GatherDataEvent.DataGeneratorConfig
 
generic - Variable in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
genericAmount - Variable in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
GenericPacketSplitter - Class in net.neoforged.neoforge.network.filters
A generic packet splitter that can be used to split packets that are too large to be sent in one go.
GenericPacketSplitter() - Constructor for class net.neoforged.neoforge.network.filters.GenericPacketSplitter
 
GenericPacketSplitter.RemoteCompatibility - Enum Class in net.neoforged.neoforge.network.filters
 
GenericPacketSplitter.SizeLimits - Record Class in net.neoforged.neoforge.network.filters
 
geometry - Variable in class net.neoforged.neoforge.client.model.CompositeUnbakedModel
 
geometry - Variable in class net.neoforged.neoforge.client.model.obj.ObjModel
 
geometry() - Method in class net.neoforged.neoforge.client.model.CompositeUnbakedModel
 
geometry() - Method in class net.neoforged.neoforge.client.model.DelegateUnbakedModel
 
geometry() - Method in class net.neoforged.neoforge.client.model.EmptyModel
 
geometry() - Method in class net.neoforged.neoforge.client.model.obj.ObjModel
 
geometry() - Method in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest.TestModel
 
geometryCache - Variable in class net.neoforged.neoforge.client.model.obj.ObjLoader
 
GeometryKey(List<Object>, CompositeBlockModel) - Constructor for record class net.neoforged.neoforge.client.model.block.CompositeBlockModel.GeometryKey
Creates an instance of a GeometryKey record class.
GEQUAL - Enum constant in enum class net.neoforged.neoforge.client.stencil.StencilFunction
 
get() - Method in class net.neoforged.neoforge.client.entity.animation.json.AnimationHolder
Gets the currently loaded animation.
get() - Method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
get() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
Returns the configured value for the configuration setting, throwing if the config has not yet been loaded.
get() - Method in class net.neoforged.neoforge.common.util.Lazy
 
get() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo
Returns The modified biome info if modified biome info has been generated, otherwise gets original biome info.
get() - Method in class net.neoforged.neoforge.common.world.ModifiableStructureInfo
Returns The modified structure info if modified structure info has been generated, otherwise gets original structure info.
get() - Method in record class net.neoforged.neoforge.oldtest.ConfigUITest.Common.Wrap
 
get() - Method in class net.neoforged.neoforge.registries.DeferredHolder
Gets the object stored by this DeferredHolder, if this holder is bound.
get() - Method in class net.neoforged.neoforge.registries.DeferredRegister.RegistryHolder
 
get() - Method in class net.neoforged.testframework.client.CommitBasedList
 
get() - Method in interface net.neoforged.testframework.gametest.ExtendedGameTestHelper.ThrowingSupplier
 
get() - Method in class net.neoforged.testframework.impl.reg.RegistrationHelperImpl.DeferredRegistrar
 
get(int) - Method in class net.neoforged.neoforge.common.util.ConcatenatedListView
 
get(int) - Method in record class net.neoforged.neoforge.registries.holdersets.AnyHolderSet
 
get(int) - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
 
get(int) - Method in class net.neoforged.neoforge.registries.holdersets.NotHolderSet
 
get(I) - Method in interface net.neoforged.testframework.gametest.StructureTemplateBuilder.FieldHandle
 
get(Class<T>) - Method in interface net.neoforged.testframework.impl.test.AbstractTest.AnnotationHolder
 
get(String) - Static method in class net.neoforged.neoforge.common.ItemAbility
Gets or creates a new ItemAbility for the given name.
get(String) - Static method in class net.neoforged.neoforge.common.SoundAction
Gets or creates a new SoundAction for the given name.
get(K) - Method in class net.neoforged.neoforge.common.util.MutableHashedLinkedMap
 
get(ResourceKey<WorldPreset>) - Static method in class net.neoforged.neoforge.client.PresetEditorManager
Returns the PresetEditor for the given WorldPreset key, or null if no such PresetEditor exists.
get(ResourceLocation) - Static method in class net.neoforged.neoforge.client.model.UnbakedModelParser
 
get(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NamedRenderTypeManager
Finds the RenderTypeGroup for a given name, or the empty group if not found.
get(ServerLevel, GameProfile) - Static method in class net.neoforged.neoforge.common.util.FakePlayerFactory
Get a fake player with a given username, Mods should either hold weak references to the return value, or listen for a WorldEvent.Unload and kill all references to prevent worlds staying in memory, or call this function every time and let Forge take care of the cleanup.
get(EntityType<?>) - Static method in class net.neoforged.neoforge.client.EntitySpectatorShaderManager
Finds the path to the spectator mode shader used for the specified entity type, or null if none is registered.
get(FireworkExplosion.Shape) - Static method in class net.neoforged.neoforge.client.FireworkShapeFactoryRegistry
 
get(StandaloneModelKey<T>) - Method in record class net.neoforged.neoforge.client.model.standalone.StandaloneModelLoader.BakedModels
 
get(ModelProperty<T>) - Method in class net.neoforged.neoforge.model.data.ModelData
 
getAbstractVillager() - Method in class net.neoforged.neoforge.event.entity.player.TradeWithVillagerEvent
Returns the villager the player traded with.
getAction() - Method in class net.neoforged.neoforge.client.event.InputEvent.Key
Returns the mouse button's action.
getAction() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseButton
Returns the mouse button's action.
getAction() - Method in class net.neoforged.neoforge.event.entity.player.ArrowNockEvent
 
getAction() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock
 
getActions() - Static method in class net.neoforged.neoforge.common.ItemAbility
Returns all registered actions.
getActiveModifiers() - Static method in enum class net.neoforged.neoforge.client.settings.KeyModifier
 
getActivePermissionHandler() - Static method in class net.neoforged.neoforge.server.permission.PermissionAPI
 
getAddEntityPacket(ServerEntity) - Method in class net.neoforged.neoforge.entity.PartEntity
 
getAddEntityPacket(ServerEntity) - Method in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntityPart
 
getAdditionalRenderers() - Method in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent
 
getAddressString(SocketAddress) - Static method in class net.neoforged.neoforge.network.DualStackUtils
Object.toString() but with IPv6 address compression support
getAdjacentBlockPathType(BlockState, BlockGetter, BlockPos, Mob, PathType) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Gets the path type of the adjacent block to a pathfinding entity.
getAdjacentBlockPathType(BlockGetter, BlockPos, Mob, PathType) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Gets the path type of the adjacent block to a pathfinding entity.
getAdjacentBlockPathType(BlockGetter, BlockPos, Mob, PathType) - Method in interface net.neoforged.neoforge.common.extensions.IFluidStateExtension
Gets the path type of the adjacent fluid to a pathfinding entity.
getAdjacentBlockPathType(FluidState, BlockGetter, BlockPos, Mob, PathType) - Method in interface net.neoforged.neoforge.common.extensions.IFluidExtension
Gets the path type of the adjacent fluid to a pathfinding entity.
getAdjacentBlockPathType(FluidState, BlockGetter, BlockPos, Mob, PathType) - Method in class net.neoforged.neoforge.fluids.FluidType
Gets the path type of the adjacent fluid to a pathfinding entity.
getAdvancement() - Method in class net.neoforged.neoforge.event.entity.player.AdvancementEvent
 
getAdvancement(ResourceLocation) - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
Returns the advancement from the id from the client side where the advancement needs to be visible to the player.
getAdvancement(ResourceLocation) - Method in interface net.neoforged.neoforge.common.extensions.ICommandSourceStackExtension
 
getAdvancementProgress() - Method in class net.neoforged.neoforge.event.entity.player.AdvancementEvent.AdvancementProgressEvent
Returns the progress of the advancement.
getAffectedBlocks() - Method in class net.neoforged.neoforge.event.level.ExplosionEvent.Detonate
return the list of blocks affected by the explosion.
getAffectedBlocks() - Method in class net.neoforged.neoforge.event.level.ExplosionKnockbackEvent
return the list of blocks affected by the explosion.
getAffectedEntities() - Method in class net.neoforged.neoforge.event.level.ExplosionEvent.Detonate
return the list of entities affected by the explosion.
getAffectedEntity() - Method in class net.neoforged.neoforge.event.level.ExplosionKnockbackEvent
return the entity affected by the explosion knockback.
getAliases() - Method in class net.neoforged.neoforge.registries.RegistrySnapshot
 
getAlignment(List<Alignment>, int) - Static method in class net.neoforged.testframework.summary.md.Table
 
getAll() - Static method in class net.neoforged.neoforge.capabilities.BlockCapability
Returns a new immutable copy of all the currently known block capabilities.
getAll() - Method in class net.neoforged.neoforge.capabilities.CapabilityRegistry
Returns an immutable copy of all the currently known capabilities.
getAll() - Static method in class net.neoforged.neoforge.capabilities.EntityCapability
Returns a new immutable copy of all the currently known entity capabilities.
getAll() - Static method in class net.neoforged.neoforge.capabilities.ItemCapability
Returns a new immutable copy of all the currently known item capabilities.
getAll(InputConstants.Key) - Method in class net.neoforged.neoforge.client.settings.KeyMappingLookup
Returns all active keys associated with the given key code and the active modifiers and conflict context.
getAll(InputConstants.Key, boolean) - Method in class net.neoforged.neoforge.client.settings.KeyMappingLookup
Returns all active keys associated with the given key code and the active modifiers and conflict context.
getAllEnchantmentLevels(ItemEnchantments, ItemStack, HolderLookup.RegistryLookup<Enchantment>) - Static method in class net.neoforged.neoforge.event.EventHooks
Fires GetEnchantmentLevelEvent and for all enchantments, returning the (possibly event-modified) enchantment map.
getAllEnchantments(HolderLookup.RegistryLookup<Enchantment>) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Gets the gameplay level of all enchantments on this stack.
getAllEnchantments(ItemStack, HolderLookup.RegistryLookup<Enchantment>) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Gets a map of all enchantments present on the stack.
getAllItems() - Method in class net.neoforged.neoforge.event.ModifyDefaultComponentsEvent
Returns all registered items.
getAllLootMods() - Method in class net.neoforged.neoforge.common.loot.LootModifierManager
An immutable collection of the registered loot modifiers in layered order.
getAllProxyable() - Static method in class net.neoforged.neoforge.capabilities.BlockCapability
Returns a new immutable copy of all the currently known proxyable block capabilities.
getAllTeams() - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
Returns the list of teams from the client side.
getAmbientAdditionsSound() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getAmbientLoopSound() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getAmbientMoodSound() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getAmbientParticle() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getAmount() - Method in class net.neoforged.neoforge.event.entity.living.LivingHealEvent
 
getAmount() - Method in class net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent
Returns the current damage to be applied to the entity.
getAmount() - Method in class net.neoforged.neoforge.event.entity.player.PlayerXpEvent.XpChange
 
getAmount() - Method in class net.neoforged.neoforge.fluids.FluidStack
Returns the amount of this stack.
getAmount() - Method in class net.neoforged.neoforge.fluids.SimpleFluidContent
 
getAmount(FluidState) - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid.Flowing
 
getAmount(FluidState) - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid.Source
 
getAmountRemoved() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.ItemSmeltedEvent
 
getAnimal() - Method in class net.neoforged.neoforge.event.entity.living.AnimalTameEvent
 
getAnimation(ResourceLocation) - Method in class net.neoforged.neoforge.client.entity.animation.json.AnimationLoader
Gets a loaded AnimationDefinition with the specified key.
getAnimationHolder(ResourceLocation) - Method in class net.neoforged.neoforge.client.entity.animation.json.AnimationLoader
Returns an AnimationHolder for an animation.
getAppearance(BlockState, BlockAndTintGetter, BlockPos, Direction, BlockState, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns the BlockState that this block reports to look like on the given side, for querying by other mods.
getAppearance(BlockAndTintGetter, BlockPos, Direction, BlockState, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Returns the BlockState that this state reports to look like on the given side for querying by other mods.
getApplicationResult() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Applicable
Returns If the mob effect should be applied or not, based on the current event result.
getArm() - Method in class net.neoforged.neoforge.client.event.RenderArmEvent
Returns the arm being rendered.
getArmorItemStack(EquipmentSlot) - Method in class net.neoforged.neoforge.event.entity.living.ArmorHurtEvent
Provides the Itemstack for the given slot.
getArmorLayerTintColor(ItemStack, EquipmentClientInfo.Layer, int, int) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
Called when armor layers are rendered by EquipmentLayerRenderer.
getArmorMap() - Method in class net.neoforged.neoforge.event.entity.living.ArmorHurtEvent
Used internally to get the full map of ItemStacks to be hurt
getArmorTexture(ItemStack, EquipmentClientInfo.LayerType, EquipmentClientInfo.Layer, ResourceLocation) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getArmorTexture(ItemStack, EquipmentClientInfo.LayerType, EquipmentClientInfo.Layer, ResourceLocation) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
Called by RenderBiped and RenderPlayer to determine the armor texture that should be used for the currently equipped item.
getArmPose(LivingEntity, InteractionHand, ItemStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
This method returns an ArmPose that can be defined using the
invalid reference
net.minecraft.client.model.HumanoidModel.ArmPose#create(String, boolean, IArmPoseTransformer)
method.
getAsBoolean() - Method in class net.neoforged.neoforge.common.ModConfigSpec.BooleanValue
 
getAsDouble() - Method in class net.neoforged.neoforge.common.ModConfigSpec.DoubleValue
 
getAsInt() - Method in class net.neoforged.neoforge.common.ModConfigSpec.IntValue
 
getAsLong() - Method in class net.neoforged.neoforge.common.ModConfigSpec.LongValue
 
getAt(BlockPos) - Method in class net.neoforged.neoforge.model.data.ModelDataManager
Retrieves model data for a block at the given position.
getAt(SectionPos) - Method in class net.neoforged.neoforge.model.data.ModelDataManager
Provides all the model data for a given chunk section.
getAtlas() - Method in class net.neoforged.neoforge.client.event.TextureAtlasStitchedEvent
Returns the texture atlas.
getAttachmentMap() - Method in class net.neoforged.neoforge.attachment.AttachmentHolder
Create the attachment map if it does not yet exist, or return the current map.
getAttackDamage() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.EnderPearl
 
getAttackingPlayer() - Method in class net.neoforged.neoforge.event.entity.living.LivingExperienceDropEvent
 
getAttemptedSpawnPos() - Method in class net.neoforged.neoforge.event.village.VillageSiegeEvent
 
getAttributeModifiers() - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Computes the gameplay attribute modifiers for this item stack.
getAttributesView() - Static method in class net.neoforged.neoforge.common.CommonHooks
Deprecated.
getAuxLightManager(BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
Get the AuxiliaryLightManager of the chunk containing the given BlockPos.
getAuxLightManager(ChunkPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
Get the AuxiliaryLightManager of the chunk at the given ChunkPos.
getAvailablePermissionHandlerFactories() - Method in class net.neoforged.neoforge.server.permission.events.PermissionGatherEvent.Handler
 
getAvailableSpace() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.RenderInventoryMobEffects
The available space to the right of the inventory.
getAverageTimings() - Method in class net.neoforged.neoforge.server.timings.ObjectTimings
Averages the raw timings data collected
getBackgroundMusic() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getBakingResult() - Method in class net.neoforged.neoforge.client.event.ModelEvent.BakingCompleted
 
getBakingResult() - Method in class net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult
 
getBarHeight() - Method in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
 
getBaseId() - Method in interface net.neoforged.neoforge.common.extensions.IAttributeExtension
Gets the specific ID that represents a "base" (green) modifier for this attribute.
getBeaconColorMultiplier(BlockState, LevelReader, BlockPos, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
 
getBeaconColorMultiplier(LevelReader, BlockPos, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
 
getBeardifierBox() - Method in interface net.neoforged.neoforge.common.world.PieceBeardifierModifier
 
getBedDirection(BlockState, LevelReader, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns the direction of the block.
getBedDirection(LevelReader, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Returns the direction of the block.
getBiomes() - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
 
getBlockColors() - Method in class net.neoforged.neoforge.client.event.RegisterColorHandlersEvent.Block
Returns the block colors registry.
getBlocked() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
Used in Entity.hurt(DamageSource, float) to signify that a blocking action has occurred.
getBlockedDamage() - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
Returns the damage blocked during the LivingShieldBlockEvent.
getBlockedDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
Returns the amount of damage reduced by a blocking action.
getBlockedDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
 
getBlockEntity() - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
Returns the block entity from the current position, if available.
getBlockEntity(int, int, int, Class<T>) - Method in class net.neoforged.testframework.gametest.ExtendedGameTestHelper
 
getBlockEntityTag(LevelAccessor, BlockPos) - Static method in class net.neoforged.neoforge.common.util.BlockSnapshot
Checks for a block entity at a given position, and saves it to NBT with full metadata if it exists.
getBlockForFluidState(BlockAndTintGetter, BlockPos, FluidState) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the associated BlockState for a FluidState.
getBlockItemMap() - Static method in class net.neoforged.neoforge.registries.GameData
 
getBlockMaterial(ResourceLocation) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getBlockPathType(BlockState, BlockGetter, BlockPos, Mob) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Gets the path type of this block when an entity is pathfinding.
getBlockPathType(BlockGetter, BlockPos, Mob) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Gets the path type of this block when an entity is pathfinding.
getBlockPathType(BlockGetter, BlockPos, Mob, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IFluidStateExtension
Gets the path type of this fluid when an entity is pathfinding.
getBlockPathType(FluidState, BlockGetter, BlockPos, Mob, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IFluidExtension
Gets the path type of this fluid when an entity is pathfinding.
getBlockPathType(FluidState, BlockGetter, BlockPos, Mob, boolean) - Method in class net.neoforged.neoforge.fluids.FluidType
Gets the path type of this fluid when an entity is pathfinding.
getBlockPos() - Method in class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent
Returns the position of the block which the overlay is gotten from.
getBlockSnapshot() - Method in class net.neoforged.neoforge.event.level.BlockEvent.EntityPlaceEvent
 
getBlockState() - Method in class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent
Returns the block which the overlay is gotten from.
getBlockStateIDMap() - Static method in class net.neoforged.neoforge.registries.GameData
 
getBlockStatePointOfInterestTypeMap() - Static method in class net.neoforged.neoforge.registries.GameData
 
getBlockTickets() - Method in class net.neoforged.neoforge.common.world.chunk.TicketHelper
Returns all "BLOCK" tickets this controller had registered and which block positions are forcing which chunks.
getBlockUnwaxed(Block) - Static method in class net.neoforged.neoforge.common.DataMapHooks
 
getBlockWaxed(Block) - Static method in class net.neoforged.neoforge.common.DataMapHooks
 
getBlue() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
Returns the blue color value of the fog.
getBool(CommandContext<CommandSourceStack>, String) - Static method in class net.neoforged.neoforge.server.command.GenerateCommand
 
getBossEvent() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.BossEventProgress
 
getBottomItem() - Method in class net.neoforged.neoforge.event.GrindstoneEvent
 
getBoundChatType() - Method in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent
Returns the bound chat type of the chat message.
getBoundingBox() - Method in interface net.neoforged.neoforge.client.IRenderableSection
Returns the bounding box of the section.
getBoundingBox() - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder.StructureSpawnOverrideBuilder
Gets the type of bounding box for this structures spawn overrides.
getBoundingBox(AbstractMinecart) - Method in interface net.neoforged.neoforge.common.IMinecartCollisionHandler
This function replaces the function of the same name in EntityMinecart.
getBow() - Method in class net.neoforged.neoforge.event.entity.player.ArrowLooseEvent
 
getBow() - Method in class net.neoforged.neoforge.event.entity.player.ArrowNockEvent
 
getBrandings(boolean, boolean) - Static method in class net.neoforged.neoforge.internal.BrandingControl
 
getBreakChance() - Method in class net.neoforged.neoforge.event.entity.player.AnvilRepairEvent
 
getBreaker() - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
Returns the entity that broke the block, or null if unknown.
getBreakSound() - Method in class net.neoforged.neoforge.common.util.DeferredSoundType
 
getBreakSpeed(Player, BlockState, float, BlockPos) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getBubbleColumnDirection() - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Determines if this block can spawn Bubble Columns and if so, what direction the column flows.
getBubbleColumnDirection(BlockState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Determines if this block can spawn Bubble Columns and if so, what direction the column flows.
getBubbleColumnDirection(BlockState) - Method in class net.neoforged.neoforge.debug.block.BlockTests.CustomBubbleColumnSustainingBlock
 
getBubbleCount() - Method in class net.neoforged.neoforge.event.entity.living.LivingDrownEvent
Gets the number of ParticleTypes.BUBBLE particles that would be spawned.
Bubbles are only spawned if the entity is actively drowning.
For vanilla entities, the default value is 8 particles.
getBucket() - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getBucket(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the bucket containing the fluid.
getBuildContext() - Method in class net.neoforged.neoforge.client.event.RegisterClientCommandsEvent
Returns the context to build the commands for.
getBuildContext() - Method in class net.neoforged.neoforge.event.RegisterCommandsEvent
Returns the context to build the commands for.
getBuilder() - Method in class net.neoforged.neoforge.event.brewing.RegisterBrewingRecipesEvent
 
getBuilder() - Method in class net.neoforged.neoforge.event.ItemAttributeModifierEvent
Returns the builder used for adjusting the attribute modifiers, creating it if it does not already exist.
getBurnTime() - Method in class net.neoforged.neoforge.event.furnace.FurnaceFuelBurnTimeEvent
The resulting value of this event, the burn time for the ItemStack.
getBurnTime(RecipeType<?>, FuelValues) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Returns the fuel burn time for this item stack.
getBurnTime(ItemStack, RecipeType<?>, FuelValues) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
 
getButton() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseButton
Returns the mouse button's input code.
getButton() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonPressed
Returns the mouse button's input code.
getButton() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased
Returns the mouse button's input code.
getButtonText() - Method in enum class net.neoforged.neoforge.client.gui.ModListScreen.SortType
 
getBuyingAmount() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getBuyingTrades() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getCamera() - Method in class net.neoforged.neoforge.client.event.CalculateDetachedCameraDistanceEvent
Returns the camera instance.
getCamera() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the active Camera.
getCamera() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent
Returns the camera information.
getCamera() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the camera.
getCamera() - Method in class net.neoforged.neoforge.client.event.ViewportEvent
Returns the camera information.
getCancellationResult() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteract
 
getCancellationResult() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteractSpecific
 
getCancellationResult() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
 
getCancellationResult() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickItem
 
getCancellationResult() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getCancelMessage() - Method in class net.neoforged.neoforge.client.event.ScreenshotEvent
Returns the cancellation message to be used in informing the player.
getCapability() - Method in class net.neoforged.neoforge.capabilities.BlockCapabilityCache
Gets the capability instance, or null if the capability is not present.
getCapability(Entity, C) - Method in class net.neoforged.neoforge.capabilities.EntityCapability
 
getCapability(ItemStack, C) - Method in class net.neoforged.neoforge.capabilities.ItemCapability
 
getCapability(Level, BlockPos, BlockState, BlockEntity, C) - Method in class net.neoforged.neoforge.capabilities.BlockCapability
 
getCapability(Level, BlockPos, BlockState, BlockEntity, C) - Method in interface net.neoforged.neoforge.capabilities.IBlockCapabilityProvider
Returns the capability, or null if not available.
getCapability(BlockCapability<T, C>, BlockPos, C) - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Retrieve a block capability.
getCapability(BlockCapability<T, C>, BlockPos, C) - Method in class net.neoforged.testframework.gametest.ExtendedGameTestHelper
 
getCapability(BlockCapability<T, C>, BlockPos, BlockState, BlockEntity, C) - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Retrieve a block capability.
getCapability(BlockCapability<T, Void>, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Retrieve a block capability with no context.
getCapability(BlockCapability<T, Void>, BlockPos, BlockState, BlockEntity) - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Retrieve a block capability with no context.
getCapability(ItemCapability<T, C>, C) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
 
getCapability(ItemCapability<T, Void>) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
 
getCapability(O, C) - Method in interface net.neoforged.neoforge.capabilities.ICapabilityProvider
Returns the capability, or null if not available.
getCapacity() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getCapacity() - Method in interface net.neoforged.neoforge.fluids.IFluidTank
 
getCarriedItem() - Method in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
Returns the stack being carried by the mouse.
getCarriedSlotAccess() - Method in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
Returns a fake slot allowing the listener to see and change what item is being carried.
getCarvers() - Method in class net.neoforged.neoforge.common.world.BiomeGenerationSettingsBuilder
 
getCause() - Method in class net.neoforged.neoforge.event.VanillaGameEvent
 
getCause() - Method in class net.neoforged.neoforge.registries.datamaps.DataMapsUpdatedEvent
Returns the reason for the update.
getCausedByPlayer() - Method in class net.neoforged.neoforge.event.entity.living.BabyEntitySpawnEvent
 
getChannel() - Method in class net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
Returns the audio channel on which the sound is playing on.
getChannel(ConnectionProtocol, ResourceLocation) - Method in record class net.neoforged.neoforge.network.registration.NetworkPayloadSetup
 
getChannels(ConnectionProtocol) - Method in record class net.neoforged.neoforge.network.registration.NetworkPayloadSetup
 
getCharge() - Method in class net.neoforged.neoforge.event.entity.player.ArrowLooseEvent
 
getChild() - Method in class net.neoforged.neoforge.event.entity.living.BabyEntitySpawnEvent
 
getChildren() - Method in class net.neoforged.neoforge.event.entity.living.MobSplitEvent
Returns the mutable list of all children.
getChunk() - Method in class net.neoforged.neoforge.event.level.ChunkEvent
 
getChunk() - Method in class net.neoforged.neoforge.event.level.ChunkWatchEvent.Sent
 
getChunk() - Method in class net.neoforged.neoforge.event.level.ChunkWatchEvent.Watch
 
getChunkHolder() - Method in class net.neoforged.neoforge.event.level.ChunkTicketLevelUpdatedEvent
Returns chunk that had its ticket level updated.
getChunkPos() - Method in class net.neoforged.neoforge.event.level.ChunkTicketLevelUpdatedEvent
Returns the long representation of the chunk position the ticket level changed for.
getChunks(boolean) - Method in record class net.neoforged.neoforge.common.world.chunk.TicketSet
 
getCinematicCameraEnabled() - Method in class net.neoforged.neoforge.client.event.CalculatePlayerTurnEvent
Returns the raw cinematic camera value
getClassification(boolean) - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns The classification of this entity
getClazz() - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
 
getClazz() - Method in class net.neoforged.neoforge.common.ModConfigSpec.Range
 
getClazz() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ValueSpec
 
getClickAction() - Method in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
Returns the click action being used.
getClickResult() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonPressed.Post
Returns The (possibly event-modified) state of the click.
getClient() - Method in class net.neoforged.neoforge.client.event.lifecycle.ClientLifecycleEvent
 
getClientBranding() - Static method in class net.neoforged.neoforge.internal.BrandingControl
 
getClientExecutor() - Method in class net.neoforged.neoforge.client.internal.NeoForgeClientProxy
 
getClientExecutor() - Method in class net.neoforged.neoforge.internal.NeoForgeProxy
 
getClimateSettings() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo.Builder
 
getCloneItemStack(BlockPos, LevelReader, boolean, Player) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Called when A user uses the creative pick block button on this block
getCloneItemStack(LevelReader, BlockPos, BlockState, boolean, Player) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Called when A user uses the creative pick block button on this block
getCodec(ResourceLocation, ConnectionProtocol, PacketFlow) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
Attempts to retrieve the StreamCodec for a non-vanilla payload.
getCodePoint() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.CharacterTyped
Returns the character code point.
getCollisionBox(AbstractMinecart, Entity) - Method in interface net.neoforged.neoforge.common.IMinecartCollisionHandler
This function replaced the function of the same name in EntityMinecart.
getColor() - Method in enum class net.neoforged.testframework.Test.Result
 
getColorFromFormattingCharacter(char, boolean) - Method in interface net.neoforged.neoforge.client.extensions.IGuiGraphicsExtension
 
getColumn(CreativeModeTab) - Method in class net.neoforged.neoforge.client.gui.CreativeTabsScreenPage
 
getColumns() - Method in class net.neoforged.neoforge.common.util.TextTable
 
getColumns() - Method in class net.neoforged.testframework.summary.md.TableRow
 
getColumnWidths(List<TableRow<?>>, int) - Static method in class net.neoforged.testframework.summary.md.Table
 
getCombinedName(InputConstants.Key, Supplier<Component>) - Method in enum class net.neoforged.neoforge.client.settings.KeyModifier
 
getCommandSelection() - Method in class net.neoforged.neoforge.event.RegisterCommandsEvent
Returns the environment the command is being registered for.
getComment() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ValueSpec
 
getComment(String) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
 
getCommonPlayChannels(PacketFlow) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
 
getCommonSuperClassForExistingValidBlocks(Set<Block>) - Method in class net.neoforged.neoforge.event.BlockEntityTypeAddBlocksEvent
 
getComponents() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent
Returns the unmodifiable list of tooltip components.
getComponents() - Method in class net.neoforged.neoforge.fluids.FluidStack
 
getComponents() - Method in class net.neoforged.neoforge.fluids.SimpleFluidContent
 
getComponents() - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
 
getComponentsPatch() - Method in class net.neoforged.neoforge.fluids.FluidStack
 
getComponentStyleAt(double, double) - Method in class net.neoforged.neoforge.client.gui.ModMismatchDisconnectedScreen.MismatchInfoPanel
 
getConditionally(Codec<T>, DynamicOps<V>, V) - Static method in interface net.neoforged.neoforge.common.conditions.ICondition
 
getConditionContext() - Method in class net.neoforged.neoforge.event.AddServerReloadListenersEvent
This context object holds data relevant to the current reload, such as staged tags.
getConfigurationTasks() - Method in class net.neoforged.neoforge.network.event.RegisterConfigurationTasksEvent
Get the configuration tasks that have been registered.
getConnection() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent
Returns the network connection for the player.
getConnection() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.LoggingOut
Returns the network connection for the player, may be null.
getConnection() - Method in interface net.neoforged.neoforge.common.extensions.ICommonPacketListener
Returns the connection this listener is attached to.
getConnection() - Method in class net.neoforged.neoforge.event.entity.player.PlayerNegotiationEvent
 
getConnection(ChannelHandlerContext) - Static method in class net.neoforged.neoforge.network.connection.ConnectionUtils
Gets the Connection object from the ChannelHandlerContext object.
getConnectionType() - Method in interface net.neoforged.neoforge.common.extensions.ICommonPacketListener
Returns the connection type of this packet listener.
getConnectionType(Connection) - Static method in class net.neoforged.neoforge.network.registration.ChannelAttributes
 
getConnectionType(Connection) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
 
getConsumeAirAmount() - Method in class net.neoforged.neoforge.event.entity.living.LivingBreatheEvent
 
getConsumedItem() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.ItemConsumption
 
getContainer() - Method in class net.neoforged.neoforge.client.gui.widget.ModListWidget.ModEntry
 
getContainer() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Pre
Returns the DamageContainer instance for this damage sequence.
getContainer() - Method in class net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent
Returns the container for this damage sequence.
getContainer() - Method in class net.neoforged.neoforge.event.entity.player.PlayerContainerEvent
 
getContainer() - Method in interface net.neoforged.neoforge.fluids.capability.IFluidHandlerItem
Get the container currently acted on by this fluid handler.
getContainer() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
 
getContainer() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
 
getContainer() - Method in class net.neoforged.neoforge.fluids.capability.wrappers.FluidBucketWrapper
 
getContainerScreen() - Method in class net.neoforged.neoforge.client.event.ContainerScreenEvent
Returns the container screen.
getContent() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.CanRender
Returns the text on the nameplate that will be rendered.
getContent() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.DoRender
Returns the text on the nameplate.
getContent(BlockState) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.CauldronWrapper
 
getContentDump(ByteBuf) - Static method in class net.neoforged.neoforge.logging.PacketDump
 
getContentHeight() - Method in class net.neoforged.neoforge.client.gui.ModListScreen.InfoPanel
 
getContentHeight() - Method in class net.neoforged.neoforge.client.gui.ModMismatchDisconnectedScreen.MismatchInfoPanel
 
getContentHeight() - Method in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
 
getContents() - Method in class net.neoforged.neoforge.items.ComponentItemHandler
Retrieves the ItemContainerContents from the parent object's data component map.
getContext() - Method in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
Returns the context for the entity renderer provider.
getContext() - Method in class net.neoforged.neoforge.event.AddAttributeTooltipsEvent
The current tooltip context.
getContext() - Method in class net.neoforged.neoforge.event.entity.player.ItemTooltipEvent
The tooltip context.
getContext() - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
The current tooltip context.
getContext() - Method in class net.neoforged.neoforge.event.level.AlterGroundEvent
Gets the tree decoration context for the current alteration.
getContext() - Method in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
Returns the nonnull use on context that this event was performed in.
getContext() - Method in class net.neoforged.neoforge.event.VanillaGameEvent
 
getContext() - Method in class net.neoforged.neoforge.resource.ContextAwareReloadListener
Returns the condition context held by this listener, or ICondition.IContext.EMPTY if it is unavailable.
getCost() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
This is the level cost of this anvil operation.
getCost(EntityType<?>) - Method in class net.neoforged.neoforge.common.world.MobSpawnSettingsBuilder
 
getCrafting() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.ItemCraftedEvent
 
getCraftingPlayer() - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getCraftingRemainder() - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
ItemStack sensitive version of Item.getCraftingRemainder().
getCraftingRemainder(ItemStack) - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getCraftingRemainder(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
ItemStack sensitive version of Item.getCraftingRemainder() ()}.
getCraftMatrix() - Method in interface net.neoforged.neoforge.common.crafting.IRecipeContainer
The crafting matrix of your container, where ingredients go for crafting.
getCraftResult() - Method in interface net.neoforged.neoforge.common.crafting.IRecipeContainer
The crafting result slot of your container, where you take out the crafted item.
getCreatorModId(HolderLookup.Provider, ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Called to get the Mod ID of the mod that *created* the ItemStack, instead of the real Mod ID that *registered* it.
getCriterionName() - Method in class net.neoforged.neoforge.event.entity.player.AdvancementEvent.AdvancementProgressEvent
Returns name of the criterion that was progressed.
getCurrentGameMode() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerChangeGameModeEvent
 
getCurrentGameType() - Method in class net.neoforged.neoforge.client.event.ClientPlayerChangeGameTypeEvent
Returns the current game type of the player.
getCurrentScreen() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Opening
Gets the currently open screen at the time of the event being fired.
getCurrentServer() - Static method in class net.neoforged.neoforge.server.ServerLifecycleHooks
 
getCurrentStack() - Method in class net.neoforged.neoforge.event.entity.player.ItemEntityPickupEvent.Post
Returns a live reference to the remaining stack held by the ItemEntity.
getCurrentState() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
Returns the current (live) block state at the recorded position, not the snapshot's recorded state.
getCurrentVersion(String) - Method in class net.neoforged.neoforge.event.ModMismatchEvent
 
getCustomSpawners() - Method in class net.neoforged.neoforge.event.level.ModifyCustomSpawnersEvent
 
getCustomSpawners(ServerLevel, List<CustomSpawner>) - Static method in class net.neoforged.neoforge.event.EventHooks
getDamage(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Return the itemDamage represented by this ItemStack.
getDamageAmount() - Method in class net.neoforged.neoforge.event.entity.living.LivingDrownEvent
Gets the amount of drowning damage the entity would take.
Drowning damage is only inflicted if the entity is actively drowning.
For vanilla entities, the default amount of damage is 2 (1 heart).
getDamageContainer() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
 
getDamageMultiplier() - Method in class net.neoforged.neoforge.event.entity.living.LivingFallEvent
 
getDamageMultiplier() - Method in class net.neoforged.neoforge.event.entity.player.CriticalHitEvent
The damage multiplier is applied to the base attack's damage if the attack critically hits.
getDamageSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
 
getData() - Method in class net.neoforged.neoforge.event.level.ChunkDataEvent
Returns the serialized data of the chunk to be loaded or saved.
getData(Supplier<AttachmentType<T>>) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
Returns the data attachment of the given type.
getData(AttachmentType<T>) - Method in class net.neoforged.neoforge.attachment.AttachmentHolder
 
getData(AttachmentType<T>) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
Returns the data attachment of the given type.
getData(DataMapType<R, T>) - Method in interface net.neoforged.neoforge.registries.datamaps.IWithData
Returns the data of the given type that is attached to this object, or null if one isn't.
getData(DataMapType<R, Z>) - Method in class net.neoforged.neoforge.registries.DeferredHolder
Returns the data of the given type that is attached to this object, or null if one isn't.
getData(DataMapType<T, A>, ResourceKey<T>) - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
 
getDataMap(ResourceKey<? extends Registry<R>>, ResourceLocation) - Static method in class net.neoforged.neoforge.registries.RegistryManager
 
getDataMap(DataMapType<T, A>) - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
 
getDataMap(DataMapType<T, A>) - Method in interface net.neoforged.neoforge.registries.IRegistryExtension
Returns the data map of the given type.
getDataMaps() - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
 
getDataMaps() - Static method in class net.neoforged.neoforge.registries.RegistryManager
Returns a view of all registered data maps.
getDataPackRegistries() - Static method in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
Returns An unmodifiable view of the list of datapack registries.
getDataPackRegistriesWithDimensions() - Static method in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
 
getDeathMessage(LivingEntity, CombatEntry, CombatEntry) - Method in interface net.neoforged.neoforge.common.damagesource.IDeathMessageProvider
Computes the death message from the available context.
This method is not invoked if there are no available combat entries, since the damage source would not be available.
getDebugInfo(AttributeModifier, TooltipFlag) - Method in interface net.neoforged.neoforge.common.extensions.IAttributeExtension
Computes the additional debug information for a given attribute modifier, if the flag is advanced.
getDecorationStep() - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
Gets the world generation decoration step the structure spawns during.
getDefault() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
Returns the default value for the configuration setting.
getDefault() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ValueSpec
 
getDefaultAttributeModifiers(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
ItemStack sensitive version of getDefaultAttributeModifiers.
getDefaultAttributeModifiers(ItemStack) - Method in class net.neoforged.neoforge.oldtest.item.MayFlyAttributeTest.InvertedTelescope
 
getDefaultCreatorModId(HolderLookup.Provider, ItemStack) - Static method in class net.neoforged.neoforge.common.CommonHooks
getDefaultDyeColor(ItemStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
Called once per render pass of equipped armor items, regardless of the number of layers; the return value of this method is passed to IClientItemExtensions.getArmorLayerTintColor(ItemStack, EquipmentClientInfo.Layer, int, int) as the fallbackColor parameter.
getDefaultKeyModifier() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
 
getDefaultModifiers() - Method in class net.neoforged.neoforge.event.ItemAttributeModifierEvent
Returns the default attribute modifiers before changes made by the event.
getDefaultResolver() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
 
getDefaultResult() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
The default vanilla result is useful if an additional check wants to force
invalid reference
Result#ALLOW
only if the vanilla check would succeed.
getDefaultTab() - Method in class net.neoforged.neoforge.client.gui.CreativeTabsScreenPage
 
getDefaultTabs() - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
 
getDefaultTitle() - Method in class net.neoforged.testframework.group.Group
 
getDelegate() - Method in interface net.neoforged.neoforge.common.extensions.IHolderExtension
Returns the holder that this holder wraps.
getDelegate() - Method in class net.neoforged.neoforge.registries.DeferredHolder
 
getDeltaTracker() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the DeltaTracker.
getDeltaTracker() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent
Returns the delta tracker.
getDensity() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the density of the fluid.
getDensity(FluidState, BlockAndTintGetter, BlockPos) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the density of the fluid.
getDensity(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the density of the fluid.
getDescription() - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Returns Component which looks up the matching value for ILevelExtension.getDescriptionKey(), falling back to the registry name if no translation exists.
getDescription() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the component representing the name of the fluid type.
getDescription() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
 
getDescription(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the component representing the name of the fluid type.
getDescription(TestSummary.TestInfo) - Static method in class net.neoforged.testframework.summary.GitHubActionsStepSummaryDumper
 
getDescriptionId() - Method in class net.neoforged.neoforge.fluids.FluidStack
Returns the description id of this stack.
getDescriptionId() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the identifier representing the name of the fluid type.
getDescriptionId(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the identifier representing the name of the fluid.
getDescriptionKey() - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Returns the translation key for this dimension.
getDetachedCameraDistance(Camera, boolean, float, float) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getDifficulty() - Method in class net.neoforged.neoforge.event.DifficultyChangeEvent
 
getDifficulty() - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
Retrieves the DifficultyInstance for the chunk where the mob is about to be spawned.
getDimension() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
Returns the recorded dimension key.
getDimension() - Method in class net.neoforged.neoforge.event.entity.EntityTravelToDimensionEvent
 
getDimensionName(Level) - Static method in class net.neoforged.neoforge.oldtest.world.ChunkWatchEventTest
 
getDimensions(Pose) - Method in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntityPart
 
getDirection() - Method in class net.neoforged.neoforge.event.level.PistonEvent
 
getDispatcher() - Static method in class net.neoforged.neoforge.client.ClientCommandHandler
 
getDispatcher() - Method in class net.neoforged.neoforge.client.event.RegisterClientCommandsEvent
Returns the command dispatcher for registering commands to be executed on the client.
getDispatcher() - Method in class net.neoforged.neoforge.event.RegisterCommandsEvent
Returns the command dispatcher for registering commands to be executed on the client.
getDisplayname() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.NameFormat
 
getDisplayName() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
Returns the display name of this key mapping.
getDisplayName() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.TabListNameFormat
 
getDistance() - Method in class net.neoforged.neoforge.client.event.CalculateDetachedCameraDistanceEvent
Returns the pre-scaling factor distance from the camera to the camera entity.
getDistance() - Method in class net.neoforged.neoforge.event.entity.living.LivingFallEvent
 
getDistance() - Method in class net.neoforged.neoforge.event.entity.player.PlayerFlyableFallEvent
 
getDistanceSq(ChunkPos, Vec3) - Static method in class net.neoforged.neoforge.common.FarmlandWaterManager
 
getDownfall() - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
Returns Synced to clients, affects foliage color..
getDragX() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseDragged
Returns amount of mouse drag along the X axis.
getDragY() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseDragged
Returns amount of mouse drag along the Y axis.
getDripInfo() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the pointed dripstone drip information of the fluid.
getDropOff(LevelReader) - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getDroppedExperience() - Method in class net.neoforged.neoforge.event.entity.living.LivingExperienceDropEvent
 
getDroppedExperience() - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
Returns the amount of experience points that will be dropped by the block.
getDrops() - Method in class net.neoforged.neoforge.event.entity.living.LivingDropsEvent
 
getDrops() - Method in class net.neoforged.neoforge.event.entity.player.ItemFishedEvent
Use this to get the items the player will receive.
getDrops() - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
Returns a mutable list of item entities that will be dropped by this block.
getDryFoliageColorOverride() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getDummyManagers() - Method in class net.neoforged.neoforge.common.ticket.SimpleTicket
 
getDuration() - Method in class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
 
getDynamic() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionDynamicContext
 
getDynamics() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
 
getEffect() - Method in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
 
getEffect() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Remove
 
getEffectInstance() - Method in class net.neoforged.neoforge.client.event.GatherEffectScreenTooltipsEvent
 
getEffectInstance() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Added
 
getEffectInstance() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Applicable
 
getEffectInstance() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent
 
getEffectInstance() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Remove
 
getEffectSource() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Added
 
getEffectTooltip(AbstractContainerScreen<?>, MobEffectInstance, List<Component>) - Static method in class net.neoforged.neoforge.client.ClientHooks
Fires the GatherEffectScreenTooltipsEvent and returns the resulting tooltip lines.
getElementCount() - Method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplateBuilder
Returns the number of elements in this model builder.
getEnchantedItem() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEnchantItemEvent
 
getEnchantLevel() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the level of the enchantment for this row (0-30)
getEnchantmentLevel(Holder<Enchantment>) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Gets the gameplay level of the target enchantment on this stack.
getEnchantmentLevel(ItemStack, Holder<Enchantment>) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Gets the level of the enchantment currently present on the stack.
GetEnchantmentLevelEvent - Class in net.neoforged.neoforge.event.enchanting
This event is fired whenever the enchantment level of a particular item is requested for gameplay purposes.
It is called from
invalid reference
IItemStackExtension#getEnchantmentLevel(Enchantment)
and
invalid reference
IItemStackExtension#getAllEnchantments()
.
GetEnchantmentLevelEvent(ItemStack, ItemEnchantments.Mutable, Holder<Enchantment>, HolderLookup.RegistryLookup<Enchantment>) - Constructor for class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
 
getEnchantmentLevelSpecific(int, ItemStack, Holder<Enchantment>) - Static method in class net.neoforged.neoforge.event.EventHooks
Fires GetEnchantmentLevelEvent and for a single enchantment, returning the (possibly event-modified) level.
getEnchantments() - Method in class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
Returns the mutable enchantment->level map.
getEnchantments() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEnchantItemEvent
 
getEnchantPowerBonus(BlockState, LevelReader, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Determines the amount of enchanting power this block can provide to an enchanting table.
getEnchantPowerBonus(LevelReader, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Determines the amount of enchanting power this block can provide to an enchanting table.
getEnchantRow() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the row for which the enchantment level is being set
getEnchLevelEvent(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.enchantment.EnchantmentLevelTests
 
getEnergyStored() - Method in class net.neoforged.neoforge.energy.ComponentEnergyStorage
 
getEnergyStored() - Method in class net.neoforged.neoforge.energy.EmptyEnergyStorage
 
getEnergyStored() - Method in class net.neoforged.neoforge.energy.EnergyStorage
 
getEnergyStored() - Method in interface net.neoforged.neoforge.energy.IEnergyStorage
Returns the amount of energy currently stored.
getEngine() - Method in class net.neoforged.neoforge.client.event.sound.SoundEvent
Returns the sound engine.
getEntireStacktrace(ThreadInfo) - Static method in class net.neoforged.neoforge.logging.ThreadInfoUtil
 
getEntity() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.CanRender
Returns the entity whose nameplate is being rendered.
getEntity() - Method in class net.neoforged.neoforge.event.entity.EntityEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.item.ItemEvent
The relevant ItemEntity for this event.
getEntity() - Method in class net.neoforged.neoforge.event.entity.living.EnderManAngerEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.living.LivingEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.living.SpawnClusterSizeEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.player.ClientInformationUpdatedEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.entity.player.ItemTooltipEvent
This event is fired with a null player during startup when populating search trees for tooltips.
getEntity() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.level.BlockEvent.EntityPlaceEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.level.BlockEvent.FarmlandTrampleEvent
 
getEntity() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent.AtEntity
Returns the entity the sound is being played on.
getEntityBeingMounted() - Method in class net.neoforged.neoforge.event.entity.EntityMountEvent
 
getEntityContainerOrHandler(Level, double, double, double, Direction) - Static method in class net.neoforged.neoforge.items.VanillaInventoryCodeHooks
 
getEntityCutoutMipped(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getEntityLifespan(ItemStack, Level) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.
getEntityLifespan(Level) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Retrieves the normal 'lifespan' of this item when it is dropped on the ground as a EntityItem.
getEntityLiving() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.EnderEntity
 
getEntityLiving() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.ItemConsumption
 
getEntityModels() - Method in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
Returns the set of entity models.
getEntityMounting() - Method in class net.neoforged.neoforge.event.entity.EntityMountEvent
 
getEntityRenderer() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent
Returns the entity renderer rendering the nameplate.
getEntityRenderState() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent
Returns the render state of the entity whose nameplate is being rendered.
getEntityRenderType(RenderType) - Static method in class net.neoforged.neoforge.client.RenderTypeHelper
Provides a RenderType using DefaultVertexFormat.NEW_ENTITY for the given DefaultVertexFormat.BLOCK format.
getEntityScalingFactor() - Method in class net.neoforged.neoforge.client.event.CalculateDetachedCameraDistanceEvent
Returns the scaling factor that will be applied to the final distance, based on the size of the camera entity.
getEntitySizeForge(Entity, Pose, EntityDimensions) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getEntitySizeForge(Entity, Pose, EntityDimensions, EntityDimensions) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getEntityTickets() - Method in class net.neoforged.neoforge.common.world.chunk.TicketHelper
Returns all "ENTITY" tickets this controller had registered and which entity (UUID) is forcing which chunks.
getEntityType() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
 
getEntityTypes() - Method in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
Returns the set of entity types which have a renderer.
getEntityTypes() - Method in class net.neoforged.neoforge.common.world.MobSpawnSettingsBuilder
 
getEntityVisibilityMultiplier(LivingEntity, Entity, double) - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getEntries() - Method in class net.neoforged.neoforge.registries.DeferredRegister
 
getEntryView() - Method in class net.neoforged.neoforge.event.ItemAttributeModifierEvent.ItemAttributeModifiersBuilder
Returns an unmodifiable view of the underlying entry list.
getEnumEntries() - Static method in record class net.neoforged.neoforge.network.configuration.CheckExtensibleEnums
 
getEnumExtensionInfo(Class<? extends Enum<?>>) - Static method in record class net.neoforged.neoforge.network.configuration.CheckExtensibleEnums
 
getEquipmentSlot() - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Override this to set a non-default armor slot for an ItemStack, but do not use this to get the armor slot of said stack; for that, use LivingEntity.getEquipmentSlotForItem(ItemStack).
getEquipmentSlot(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Override this to set a non-default armor slot for an ItemStack, but do not use this to get the armor slot of said stack; for that, use LivingEntity.getEquipmentSlotForItem(ItemStack)..
getEquipProgress() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the progress of the equip animation, from 0.0 to 1.0.
getErrorCount() - Method in class net.neoforged.neoforge.server.command.generation.GenerationTask
 
getEventPosition() - Method in class net.neoforged.neoforge.event.VanillaGameEvent
 
getExamples() - Method in class net.neoforged.neoforge.server.command.EnumArgument
 
getExamples() - Method in class net.neoforged.neoforge.server.command.ModIdArgument
 
getException() - Method in class net.neoforged.neoforge.event.CommandEvent
Returns an exception to be thrown when performing the command, starts null.
getExistingData(Supplier<AttachmentType<T>>) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
Returns an optional possibly containing a data attachment value of the given type.
getExistingData(AttachmentType<T>) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
Returns an optional possibly containing a data attachment value of the given type.
getExistingDataOrNull(Supplier<AttachmentType<T>>) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
 
getExistingDataOrNull(AttachmentType<T>) - Method in class net.neoforged.neoforge.attachment.AttachmentHolder
 
getExistingDataOrNull(AttachmentType<T>) - Method in interface net.neoforged.neoforge.attachment.IAttachmentHolder
 
getExpDrop(BlockState, LevelAccessor, BlockPos, BlockEntity, Entity, ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns how many experience points this block drops when broken, before application of enchantments.
getExpDrop(LevelAccessor, BlockPos, BlockEntity, Entity, ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Returns how many experience points this block drops when broken, before application of enchantments.
getExperienceDrop(LivingEntity, Player, int) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getExplosion() - Method in class net.neoforged.neoforge.event.level.ExplosionEvent
 
getExplosionKnockback(Level, ServerExplosion, Entity, Vec3, List<BlockPos>) - Static method in class net.neoforged.neoforge.event.EventHooks
To be called when an explosion has calculated the knockback velocity but has not yet added the knockback to the entity caught in blast.
getExplosionResistance() - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getExplosionResistance(BlockState, BlockGetter, BlockPos, Explosion) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Location sensitive version of getExplosionResistance
getExplosionResistance(BlockGetter, BlockPos, Explosion) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Location sensitive version of getExplosionResistance
getExplosionResistance(BlockGetter, BlockPos, Explosion) - Method in interface net.neoforged.neoforge.common.extensions.IFluidStateExtension
Returns the explosion resistance of the fluid.
getExplosionResistance(FluidState, BlockGetter, BlockPos, Explosion) - Method in interface net.neoforged.neoforge.common.extensions.IFluidExtension
Returns the explosion resistance of the fluid.
getExposedHolder() - Method in class net.neoforged.neoforge.attachment.AttachmentHolder.AsField
 
getExposedHolder() - Method in class net.neoforged.neoforge.attachment.AttachmentHolder
Returns the attachment holder that is exposed to the user.
getExtraLife() - Method in class net.neoforged.neoforge.event.entity.item.ItemExpireEvent
Query the amount of extra time that will be added.
getEyeInFluidType() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns the fluid that is on the entity's eyes.
getFace() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent
 
getFace() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getFaceOffsetPos() - Method in class net.neoforged.neoforge.event.level.PistonEvent
Helper method that gets the piston position offset by its facing
getFallDistance() - Method in class net.neoforged.neoforge.event.level.BlockEvent.FarmlandTrampleEvent
 
getFallDistanceModifier(Entity) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns how much the fluid should scale the damage done to a falling entity when hitting the ground per tick.
getFallSound() - Method in class net.neoforged.neoforge.common.util.DeferredSoundType
 
getFarPlaneDistance() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
Returns the distance to the far plane where the fog ends.
getFeature() - Method in class net.neoforged.neoforge.event.level.BlockGrowFeatureEvent
Returns the holder of the feature which will be placed, possibly null.
getFeatures(GenerationStep.Decoration) - Method in class net.neoforged.neoforge.common.world.BiomeGenerationSettingsBuilder
 
getField(Class<?>, String) - Static method in class net.neoforged.testframework.impl.ReflectionUtils
 
getFieldByName(ClassNode, String) - Static method in class net.neoforged.neoforge.coremods.CoremodUtils
 
getFieldOfView(GameRenderer, Camera, float, float, boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getFieldOfViewModifier(Player, float, float) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getFilledBucket(FluidStack) - Static method in class net.neoforged.neoforge.fluids.FluidUtil
 
getFilteredRecipeBookTypeValues() - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getFilteredRecipeBookTypeValues() - Method in class net.neoforged.neoforge.client.internal.NeoForgeClientProxy
 
getFilteredRecipeBookTypeValues() - Method in class net.neoforged.neoforge.internal.NeoForgeProxy
 
getFinalState() - Method in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
Returns the state to transform the block into after item ability use.
getFireSpreadSpeed(BlockState, BlockGetter, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Called when fire is updating on a neighbor block.
getFireSpreadSpeed(BlockGetter, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Called when fire is updating on a neighbor block.
getFlags() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
 
getFlags() - Method in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
 
getFlags() - Method in class net.neoforged.neoforge.event.entity.player.ItemTooltipEvent
Use to determine if the advanced information on item tooltips is being shown, toggled by F3+H.
getFlammability(BlockState, BlockGetter, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.
getFlammability(BlockGetter, BlockPos, Direction) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Chance that fire will spread and consume this block. 300 being a 100% chance, 0, being a 0% chance.
getFlowing() - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getFlowingTexture() - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a flowing fluid.
getFlowingTexture(FluidState, BlockAndTintGetter, BlockPos) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a flowing fluid.
getFlowingTexture(FluidStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a flowing fluid.
getFluid() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
 
getFluid() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
 
getFluid() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getFluid() - Method in class net.neoforged.neoforge.fluids.capability.wrappers.FluidBucketWrapper
 
getFluid() - Method in class net.neoforged.neoforge.fluids.FluidStack
Returns the fluid in this stack, or Fluids.EMPTY if this stack is empty.
getFluid() - Method in interface net.neoforged.neoforge.fluids.IFluidTank
 
getFluid() - Method in class net.neoforged.neoforge.fluids.SimpleFluidContent
 
getFluidAmount() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getFluidAmount() - Method in interface net.neoforged.neoforge.fluids.IFluidTank
 
getFluidBlockHandler(Fluid, Level, BlockPos) - Static method in class net.neoforged.neoforge.fluids.FluidUtil
Internal method for getting a fluid block handler for placing a fluid.
getFluidContained(ItemStack) - Static method in class net.neoforged.neoforge.fluids.FluidUtil
Helper method to get the fluid contained in an itemStack
getFluidFallDistanceModifier(FluidType) - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns how much the fluid should scale the damage done to a falling entity when hitting the ground per tick.
getFluidHandler(ItemStack) - Static method in class net.neoforged.neoforge.fluids.FluidUtil
Helper method to get an IFluidHandlerItem for an itemStack.
getFluidHandler(Level, BlockPos, Direction) - Static method in class net.neoforged.neoforge.fluids.FluidUtil
Helper method to get an IFluidHandler for at a block position.
getFluidHolder() - Method in class net.neoforged.neoforge.fluids.FluidStack
 
getFluidHolder() - Method in class net.neoforged.neoforge.fluids.SimpleFluidContent
 
getFluidInTank(int) - Method in interface net.neoforged.neoforge.fluids.capability.IFluidHandler
Returns the FluidStack in a given tank.
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.EmptyFluidHandler
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.VoidFluidHandler
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.BucketPickupHandlerWrapper
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.CauldronWrapper
 
getFluidInTank(int) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.FluidBucketWrapper
 
getFluidMotionScale(FluidType) - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns how much the velocity of the fluid should be scaled by when applied to an entity.
getFluidSprites(BlockAndTintGetter, BlockPos, FluidState) - Static method in class net.neoforged.neoforge.client.textures.FluidSpriteCache
Returns an array holding the still sprite, the flowing sprite and the overlay sprite (if specified, otherwise null) of the given fluid at the given position.
getFluidState() - Method in class net.neoforged.neoforge.event.level.block.CreateFluidSourceEvent
 
getFluidState(BlockState) - Method in class net.neoforged.neoforge.oldtest.fluid.NewFluidTest.FluidloggableBlock
 
getFluidType() - Method in interface net.neoforged.neoforge.common.extensions.IFluidExtension
Returns the type of this fluid.
getFluidType() - Method in interface net.neoforged.neoforge.common.extensions.IFluidStateExtension
Returns the type of this fluid.
getFluidType() - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getFluidType() - Method in class net.neoforged.neoforge.fluids.FluidStack
Returns the fluid type of this stack.
getFluidType() - Method in class net.neoforged.neoforge.fluids.SimpleFluidContent
 
getFluidTypeHeight(FluidType) - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns the height of the fluid type in relation to the bounding box of the entity.
getFmlVersion() - Static method in class net.neoforged.neoforge.internal.versions.neoforge.NeoForgeVersion
 
getFogColor() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getFogColor(Camera, float, ClientLevel, int, float, float, float, float) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getFogColor(BlockState, LevelReader, BlockPos, Entity, Vector3d, float) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientBlockExtensions
NOT CURRENTLY IMPLEMENTED
getFogShape() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
Returns the shape of the fog being rendered.
getFolderLocation(ResourceLocation) - Static method in class net.neoforged.neoforge.registries.DataMapLoader
 
getFoliageColorOverride() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getFollowingPlayer() - Method in class net.neoforged.neoforge.entity.XpOrbTargetingEvent
The result of the event.
getFont() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent
Returns The font used to render the text.
getFont(ItemStack, IClientItemExtensions.FontContext) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
Returns the font used to render data related to this item as specified in the context.
getFontRenderer() - Method in class net.neoforged.neoforge.client.gui.ModListScreen
 
getFor(Class<I>, String) - Static method in interface net.neoforged.testframework.gametest.StructureTemplateBuilder.FieldHandle
 
getFor(EventBusSubscriber.Bus) - Method in class net.neoforged.testframework.impl.EventListenerGroupImpl
 
getFor(EventBusSubscriber.Bus) - Method in interface net.neoforged.testframework.Test.EventListenerGroup
Gets the collector for a bus.
getForBlock(Block) - Static method in class net.neoforged.neoforge.fluids.CauldronFluidContent
Get the cauldron fluid content for a cauldron block, or null if none was registered (yet).
getForceRedstoneUpdate() - Method in class net.neoforged.neoforge.event.level.BlockEvent.NeighborNotifyEvent
Get if redstone update was forced during setBlock call (0x16 to flags)
getForFluid(Fluid) - Static method in class net.neoforged.neoforge.fluids.CauldronFluidContent
Get the cauldron fluid content for a fluid, or null if no cauldron was registered for that fluid (yet).
getForgeBlockTag(String) - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeItemTagsProvider
 
getForgeItemTag(String) - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeItemTagsProvider
 
getForgeTag(String) - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeBlockTagsProvider
 
getFormat() - Method in record class net.neoforged.neoforge.common.util.LogMessageAdapter
 
getFormat() - Method in class net.neoforged.neoforge.debug.client.ClientTests.SineStream
 
getFormattedMessage() - Method in record class net.neoforged.neoforge.common.util.LogMessageAdapter
 
getForMod(IModInfo) - Static method in interface net.neoforged.neoforge.client.gui.IConfigScreenFactory
 
getForType(ResourceLocation) - Static method in class net.neoforged.neoforge.client.DimensionSpecialEffectsManager
Finds the DimensionSpecialEffects for a given dimension type, or the default if none is registered.
getFOV() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFov
Returns the raw field of view value.
getFovModifier() - Method in class net.neoforged.neoforge.client.event.ComputeFovModifierEvent
Returns the original field of vision (FOV) of the player, before any modifications or interpolation.
getFovScale() - Method in class net.neoforged.neoforge.client.event.ComputeFovModifierEvent
Returns the FOV scale to use for interpolating the final FOV modifier.
getFrameGrapBuilder() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the FrameGraphBuilder used to set up the frame graph.
getFriction(BlockState, LevelReader, BlockPos, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Gets the slipperiness at the given location at the given state.
getFriction(LevelReader, BlockPos, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Gets the slipperiness at the given location at the given state.
getFrom() - Method in class net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent
 
getFrom() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerChangedDimensionEvent
 
getFrustum() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the culling frustum.
getFrustum() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the frustum.
getFuelValues() - Method in class net.neoforged.neoforge.event.furnace.FurnaceFuelBurnTimeEvent
Get the FuelValues populated from the data map
getFullBackup() - Method in class net.neoforged.neoforge.registries.RegistrySnapshot
 
getFunctionCompilationLevel() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
 
getGameBus() - Method in class net.neoforged.neoforge.internal.NeoForgeBindings
 
getGenerationHelp(CommandSourceStack) - Static method in class net.neoforged.neoforge.server.command.GenerateCommand
 
getGenerationSettings() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo.Builder
 
getGenerationStatus(CommandSourceStack) - Static method in class net.neoforged.neoforge.server.command.GenerateCommand
 
getGenerator() - Method in class net.neoforged.neoforge.data.event.GatherDataEvent
 
getGenericAmount() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getGenericArmorModel(ItemStack, EquipmentClientInfo.LayerType, Model) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
Queries the armor model for this item when it's equipped.
getGenericTrades() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getGraph() - Method in class net.neoforged.neoforge.event.SortedReloadListenerEvent
Returns an immutable view of the dependency graph.
getGraphics() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent
Returns the graphics helper for the gui.
getGrassColorModifier() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getGrassColorOverride() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getGreen() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
Returns the green color value of the fog.
getGridSlots() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestMenu
 
getGroundLevelDelta() - Method in interface net.neoforged.neoforge.common.world.PieceBeardifierModifier
 
getGuiFarPlane() - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getGuiGraphics() - Method in class net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
Returns the gui graphics used for rendering.
getGuiGraphics() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
 
getGuiGraphics() - Method in class net.neoforged.neoforge.client.event.RenderGuiEvent
 
getGuiGraphics() - Method in class net.neoforged.neoforge.client.event.RenderGuiLayerEvent
 
getGuiGraphics() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Render
Returns the gui graphics used for rendering.
getHand() - Method in class net.neoforged.neoforge.client.event.InputEvent.InteractionKeyMappingTriggered
Returns the hand that caused the input.
getHand() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the hand being rendered.
getHand() - Method in class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
Returns the hand the entity is using the item in.
getHand() - Method in class net.neoforged.neoforge.event.entity.player.ArrowNockEvent
 
getHand() - Method in class net.neoforged.neoforge.event.entity.player.PlayerDestroyItemEvent
 
getHand() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent
 
getHand() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getHandHolding() - Method in class net.neoforged.neoforge.event.entity.living.LivingUseTotemEvent
Returns the hand holding the totem.
getHandler(T) - Method in class net.neoforged.neoforge.client.model.generators.blockstate.UnbakedMutator
 
getHandlerFromIndex(int) - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
 
getHeight(Font) - Method in record class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.CustomClientTooltip
 
getHeightmapType() - Method in class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.MergedSpawnPredicate
 
getHeldItemStack() - Method in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
 
getHighlightTip(Component) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.
getHighlightTip(ItemStack, Component) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Allow the item one last chance to modify its name used for the tool highlight useful for adding something extra that can't be removed by a user in the displayed name, such as a mode of operation.
getHitResult() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.EnderPearl
 
getHitSound() - Method in class net.neoforged.neoforge.common.util.DeferredSoundType
 
getHitVec() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
 
getHolder(ResourceKey<Enchantment>) - Method in class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
Attempts to resolve a Holder.Reference for a target enchantment.
getHolder(ResourceKey<T>) - Method in class net.neoforged.testframework.gametest.ExtendedGameTestHelper
 
getHookEntity() - Method in class net.neoforged.neoforge.event.entity.player.ItemFishedEvent
Use this to stuff related to the hook itself, like the position of the bobber.
getHorizontalOffset() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.RenderInventoryMobEffects
The distance from the left side of the screen that the effect stack is rendered.
getHoverName() - Method in class net.neoforged.neoforge.fluids.FluidStack
Returns the hover name of this stack.
getHumanoidArmorModel(ItemStack, EquipmentClientInfo.LayerType, Model) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientItemExtensions
Queries the humanoid armor model for this item when it's equipped.
getIconItem() - Method in class net.neoforged.neoforge.oldtest.CreativeModeTabTest.CreativeModeColorTab
 
getId() - Method in class net.neoforged.neoforge.registries.DeferredHolder
 
getId(String) - Static method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookExtensionTest
 
getId(ResourceKey<T>) - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
 
getId(ResourceKey<T>) - Method in interface net.neoforged.neoforge.registries.IRegistryExtension
Gets the integer id linked to the given key.
getId(ResourceLocation) - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
 
getId(ResourceLocation) - Method in interface net.neoforged.neoforge.registries.IRegistryExtension
Gets the integer id linked to the given name.
getIdentifier() - Method in class net.neoforged.neoforge.server.permission.handler.DefaultPermissionHandler
 
getIdentifier() - Method in interface net.neoforged.neoforge.server.permission.handler.IPermissionHandler
Returns an identifier for the PermissionHandler.
getIds() - Method in class net.neoforged.neoforge.registries.RegistrySnapshot
 
getImage() - Method in class net.neoforged.neoforge.client.event.ScreenshotEvent
Returns the in-memory image of the screenshot.
getIncrement() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.BossEventProgress
Returns the Y position increment before rendering the next boss health bar.
getIndexForSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
 
getInfo() - Method in class net.neoforged.neoforge.client.event.ClientPlayerChangeGameTypeEvent
Returns the client player information.
getInfo() - Method in class net.neoforged.neoforge.client.gui.widget.ModListWidget.ModEntry
 
getIngredient() - Method in class net.neoforged.neoforge.common.brewing.BrewingRecipe
 
getInitialListeningChannels(PacketFlow) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
Returns the initial channels for the configuration phase..
getInitialServerUnregisterChannels() - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
 
getInput() - Method in class net.neoforged.neoforge.client.event.MovementInputUpdateEvent
Returns the player's movement inputs.
getInput() - Method in class net.neoforged.neoforge.common.brewing.BrewingRecipe
 
getInputs() - Method in class net.neoforged.neoforge.data.event.GatherDataEvent.DataGeneratorConfig
 
getInputs() - Method in class net.neoforged.neoforge.data.event.GatherDataEvent
 
getInstance() - Static method in class net.neoforged.neoforge.fluids.DispenseFluidContainer
 
getInstanceField(Object, String) - Static method in class net.neoforged.testframework.impl.ReflectionUtils
 
getInstrument() - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent.Play
 
getInt(CommandContext<CommandSourceStack>, String) - Static method in class net.neoforged.neoforge.server.command.GenerateCommand
 
getInterpolatedPitch() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the interpolated pitch of the player entity.
getInterpolation(ResourceLocation) - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Gets the interpolation function associated with the given name.
getInterpolationList() - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Retrieves a comma-separated list of all available interpolation functions, for use in error messages.
getInterpolationName(AnimationChannel.Interpolation) - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Gets the ResourceLocation associated with the given interpolation.
getInv() - Method in class net.neoforged.neoforge.items.wrapper.InvWrapper
 
getInventory() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.ItemCraftedEvent
 
getInventoryPlayer() - Method in class net.neoforged.neoforge.items.wrapper.PlayerArmorInvWrapper
 
getInventoryPlayer() - Method in class net.neoforged.neoforge.items.wrapper.PlayerMainInvWrapper
 
getItem() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the item being enchanted
getItem() - Method in class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent
 
getItem() - Method in class net.neoforged.neoforge.items.SlotItemHandler
 
getItem() - Method in class net.neoforged.neoforge.items.StackCopySlot
 
getItem(int) - Method in class net.neoforged.neoforge.event.brewing.PotionBrewEvent
 
getItem(int) - Method in class net.neoforged.neoforge.items.wrapper.RecipeWrapper
Returns the stack in this slot.
getItemAbility() - Method in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
 
getItemBurnTime(ItemStack, int, RecipeType<?>, FuelValues) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getItemBySlot(EquipmentSlot) - Method in class net.neoforged.neoforge.oldtest.client.rendering.EntityRendererEventsTest.MyEntity
 
getItemEntity() - Method in class net.neoforged.neoforge.event.entity.player.ItemEntityPickupEvent
Returns the ItemEntity that was collided with.
getItemFrameRenderState() - Method in class net.neoforged.neoforge.client.event.RenderItemInFrameEvent
Returns the item frame entity.
getItemHandler() - Method in class net.neoforged.neoforge.items.ItemHandlerCopySlot
 
getItemHandler() - Method in class net.neoforged.neoforge.items.SlotItemHandler
 
getItemLayeredCutout(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getItemLayeredCutoutMipped(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getItemLayeredSolid(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getItemLayeredTranslucent(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getItemStack() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the item stack to be rendered.
getItemStack() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
Returns the item stack which the tooltip is being rendered for, or an empty item stack if there is no associated item stack.
getItemStack() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent
Returns the item stack which the tooltip is being rendered for, or an empty item stack if there is no associated item stack.
getItemStack() - Method in class net.neoforged.neoforge.event.entity.player.ItemTooltipEvent
The ItemStack with the tooltip.
getItemStack() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent
 
getItemStack() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getItemStack() - Method in class net.neoforged.neoforge.event.furnace.FurnaceFuelBurnTimeEvent
Get the ItemStack "fuel" in question.
getItemStack() - Method in class net.neoforged.neoforge.event.ItemAttributeModifierEvent
Returns the item stack whose attribute modifiers are being computed.
getItemStackRenderState() - Method in class net.neoforged.neoforge.client.event.RenderItemInFrameEvent
Returns the item stack being rendered.
getItemSwappedToMainHand() - Method in class net.neoforged.neoforge.event.entity.living.LivingSwapItemsEvent.Hands
Gets the item that will be swapped to the main hand of the entity.
getItemSwappedToOffHand() - Method in class net.neoforged.neoforge.event.entity.living.LivingSwapItemsEvent.Hands
Gets the item that will be swapped to the offhand of the entity.
getKey() - Method in class net.neoforged.neoforge.client.event.InputEvent.Key
Returns the GLFW (platform-agnostic) key code.
getKey() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
 
getKey() - Method in interface net.neoforged.neoforge.common.extensions.IHolderExtension
Get the resource key held by this Holder, or null if none is present.
getKey() - Method in class net.neoforged.neoforge.common.util.MutableHashedLinkedMap.Entry
 
getKey() - Method in class net.neoforged.neoforge.event.LootTableLoadEvent
 
getKey() - Method in class net.neoforged.neoforge.registries.DeferredHolder
 
getKey(T) - Method in interface net.neoforged.neoforge.common.extensions.IIntrinsicHolderTagAppenderExtension
 
getKeyCode() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.KeyInput
Returns the GLFW (platform-agnostic) key code.
getKeyConflictContext() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
 
getKeyframeCodec(AnimationTarget) - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Gets the Codec used to decode a Keyframe with the specified AnimationTarget.
getKeyMapping() - Method in class net.neoforged.neoforge.client.event.InputEvent.InteractionKeyMappingTriggered
Returns the key mapping which triggered this event.
getKeyModifier() - Method in interface net.neoforged.neoforge.client.extensions.IKeyMappingExtension
 
getKeyModifier(InputConstants.Key) - Static method in enum class net.neoforged.neoforge.client.settings.KeyModifier
 
getKeyOrNull(T) - Method in interface net.neoforged.neoforge.registries.IRegistryExtension
Returns the key of the element, or null if it is not present in this registry.
getKnockbackVelocity() - Method in class net.neoforged.neoforge.event.level.ExplosionKnockbackEvent
return the explosion knockback velocity to apply to entity.
getKnownBlocks() - Method in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest.ModelGen
 
getKnownItems() - Method in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest.ModelGen
 
getLast(UUID) - Method in class net.neoforged.testframework.impl.PlayerTestStore
 
getLastKnownUsername(UUID) - Static method in class net.neoforged.neoforge.common.UsernameCache
Get the player's last known username
getLastVanillaListener() - Method in class net.neoforged.neoforge.event.SortedReloadListenerEvent
Returns a reference to the last vanilla listener, used during the final sort.
getLayer() - Method in class net.neoforged.neoforge.client.event.RenderGuiLayerEvent
 
getLayerCount() - Method in class net.neoforged.neoforge.client.gui.GuiLayerManager
 
getLayerRenderTypes(boolean) - Static method in class net.neoforged.neoforge.client.model.item.DynamicFluidContainerModel
 
getLeft() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.DebugText
 
getLeft() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
 
getLeft() - Method in class net.neoforged.neoforge.event.entity.player.AnvilRepairEvent
Get the first item input into the anvil
getLength() - Method in class net.neoforged.neoforge.event.brewing.PotionBrewEvent
 
getLevel() - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
 
getLevel() - Method in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent
 
getLevel() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the current level that is being rendered..
getLevel() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
Returns the stored level, attempting to resolve it from the current server if it has gone out of scope.
getLevel() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the world object
getLevel() - Method in class net.neoforged.neoforge.event.entity.EntityJoinLevelEvent
Returns the level that the entity is set to join.
getLevel() - Method in class net.neoforged.neoforge.event.entity.EntityLeaveLevelEvent
Returns the level the entity is set to leave.
getLevel() - Method in class net.neoforged.neoforge.event.entity.EntityMountEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.ArrowLooseEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.ArrowNockEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
Returns the level.
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.HarvestCheck
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.level.block.CreateFluidSourceEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.level.BlockEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.level.ChunkTicketLevelUpdatedEvent
Returns the server level containing the chunk.
getLevel() - Method in class net.neoforged.neoforge.event.level.ChunkWatchEvent
Returns the server level containing the chunk.
getLevel() - Method in class net.neoforged.neoforge.event.level.ExplosionEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.level.LevelEvent
Returns the level this event is affecting.
getLevel() - Method in class net.neoforged.neoforge.event.level.ModifyCustomSpawnersEvent
Returns the server level this event is affecting.
getLevel() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the level the sound is being played in.
getLevel() - Method in class net.neoforged.neoforge.event.tick.LevelTickEvent
Returns the level being ticked.
getLevel() - Method in class net.neoforged.neoforge.event.VanillaGameEvent
 
getLevel() - Method in class net.neoforged.neoforge.event.village.VillageSiegeEvent
 
getLevelComment(List<String>) - Method in class net.neoforged.neoforge.common.ModConfigSpec
 
getLevelDirectory() - Method in class net.neoforged.neoforge.event.ModMismatchEvent
Gets the current level directory for the world being loaded.
getLevelRenderer() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent
Returns the level renderer.
getLevelRenderer() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the level renderer.
getLevels() - Method in class net.neoforged.neoforge.event.entity.player.PlayerXpEvent.LevelChange
 
getLevelTranslationKey(List<String>) - Method in class net.neoforged.neoforge.common.ModConfigSpec
 
getLightAt(BlockPos) - Method in interface net.neoforged.neoforge.common.world.AuxiliaryLightManager
Returns the light value at the given position or 0 if none is present.
getLightAt(BlockPos) - Method in class net.neoforged.neoforge.common.world.LevelChunkAuxiliaryLightManager
 
getLightEmission(BlockState, BlockGetter, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15
getLightEmission(BlockState, BlockGetter, BlockPos) - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlock
 
getLightEmission(BlockGetter, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15
getLightLevel() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the light level emitted by the fluid.
getLightLevel(FluidState, BlockAndTintGetter, BlockPos) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the light level emitted by the fluid.
getLightLevel(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the light level emitted by the fluid.
getLightning() - Method in class net.neoforged.neoforge.event.entity.EntityStruckByLightningEvent
 
getLiquidPos() - Method in class net.neoforged.neoforge.event.level.BlockEvent.FluidPlaceBlockEvent
 
getList() - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
 
getList() - Method in class net.neoforged.neoforge.registries.holdersets.NotHolderSet
 
getListener() - Method in class net.neoforged.neoforge.network.event.RegisterConfigurationTasksEvent
Get the server configuration packet listener.
getListenersList() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Init
Returns unmodifiable view of list of event listeners on the screen.
getLocalAddress() - Static method in class net.neoforged.neoforge.network.DualStackUtils
Get the device's local IP address, taking into account scenarios where the client's network adapter supports IPv6 and has it enabled but the router's LAN does not.
getLocale() - Method in interface net.neoforged.neoforge.client.extensions.IMinecraftExtension
Retrieves the Locale set by the player.
getLocalPos() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteractSpecific
Returns the local interaction position.
getLoggerConfiguration(Configuration, String) - Static method in record class net.neoforged.testframework.impl.LoggerSetup
 
getLookingEntity() - Method in class net.neoforged.neoforge.event.entity.living.LivingEvent.LivingVisibilityEvent
 
getLookup() - Method in class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
Returns the underlying registry lookup, which can be used to access enchantment Holders.
getLookupProvider() - Method in class net.neoforged.neoforge.data.event.GatherDataEvent
 
getLookupProvider() - Method in class net.neoforged.neoforge.event.TagsUpdatedEvent
 
getLootModifierManager() - Static method in class net.neoforged.neoforge.common.NeoForgeEventHandler
 
getMainArm() - Method in class net.neoforged.neoforge.oldtest.client.rendering.EntityRendererEventsTest.MyEntity
 
getMainThreadEventLoop() - Method in interface net.neoforged.neoforge.common.extensions.ICommonPacketListener
Returns the main thread event loop.
getMap() - Static method in class net.neoforged.neoforge.common.UsernameCache
Get an immutable copy of the cache's underlying map
getMapColor(BlockState, BlockGetter, BlockPos, MapColor) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns the MapColor shown on the map.
getMasterManager() - Method in class net.neoforged.neoforge.common.ticket.SimpleTicket
 
getMaterial(String) - Method in class net.neoforged.neoforge.client.model.obj.ObjMaterialLibrary
 
getMaterialCost() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
The material cost is how many units of the right input stack are consumed.
getMax() - Method in class net.neoforged.neoforge.common.ModConfigSpec.Range
 
getMaxDamage(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Return the maxDamage for this ItemStack.
getMaxEnergyStored() - Method in class net.neoforged.neoforge.energy.ComponentEnergyStorage
 
getMaxEnergyStored() - Method in class net.neoforged.neoforge.energy.EmptyEnergyStorage
 
getMaxEnergyStored() - Method in class net.neoforged.neoforge.energy.EnergyStorage
 
getMaxEnergyStored() - Method in interface net.neoforged.neoforge.energy.IEnergyStorage
Returns the maximum amount of energy that can be stored.
getMaxEntityRadius() - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
The maximum radius to scan for entities when trying to check bounding boxes.
getMaxHeightFluidType() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns the fluid type which is the highest on the bounding box of the entity.
getMaxId() - Method in class net.neoforged.neoforge.registries.BaseMappedRegistry
 
getMaxId() - Method in interface net.neoforged.neoforge.registries.IRegistryExtension
Returns the highest id that an entry in this registry is allowed to use.
getMaximumItemLength(List<TableRow<?>>, int, int) - Static method in class net.neoforged.testframework.summary.md.Table
 
getMaxMipmapLevel(int, int) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getMaxScroll() - Method in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
 
getMaxSpawnClusterSize(Mob) - Static method in class net.neoforged.neoforge.event.EventHooks
Fires SpawnClusterSizeEvent and returns the size as a result of the event.
getMaxStackSize() - Method in class net.neoforged.neoforge.items.ItemHandlerCopySlot
 
getMaxStackSize() - Method in class net.neoforged.neoforge.items.SlotItemHandler
 
getMaxStackSize(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Gets the maximum number of items that this stack should be able to hold.
getMaxStackSize(ItemStack) - Method in class net.neoforged.neoforge.items.ItemHandlerCopySlot
 
getMaxStackSize(ItemStack) - Method in class net.neoforged.neoforge.items.SlotItemHandler
 
getMaxWidth() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
Returns the maximum width of the tooltip when being rendered.
getMerchantOffer() - Method in class net.neoforged.neoforge.event.entity.player.TradeWithVillagerEvent
Returns the MerchantOffer selected by the player to trade with.
getMergedStyle(boolean) - Method in interface net.neoforged.neoforge.common.extensions.IAttributeExtension
Returns the color used by merged attribute modifiers.
getMessage() - Method in class net.neoforged.neoforge.client.event.ClientChatEvent
Returns the message that will be sent to the server, if the event is not cancelled. This can be changed by mods.
getMessage() - Method in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent
Returns the message that will be displayed in the chat message window, if the event is not cancelled.
getMessage() - Method in class net.neoforged.neoforge.event.ServerChatEvent
Returns the message that will be sent to the relevant clients, if the event is not cancelled.
getMetadataSection(MetadataSectionType<T>) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest.InMemoryResourcePack
 
getMetadataSection(MetadataSectionType<T>) - Method in class net.neoforged.neoforge.resource.EmptyPackResources
 
getMethodByDescriptor(ClassNode, String, String) - Static method in class net.neoforged.neoforge.coremods.CoremodUtils
 
getMin() - Method in class net.neoforged.neoforge.common.ModConfigSpec.Range
 
getMinecartCollisionBox(AbstractMinecart) - Method in interface net.neoforged.neoforge.common.IMinecartCollisionHandler
This function is used to define the box used for detecting minecart collisions.
getMinecraft(ServerLevel) - Static method in class net.neoforged.neoforge.common.util.FakePlayerFactory
 
getMinecraftInstance() - Method in class net.neoforged.neoforge.client.gui.ModListScreen
 
getMobCategory() - Method in class net.neoforged.neoforge.event.level.LevelEvent.PotentialSpawns
Returns the category of the mobs in the spawn list..
getMobSpawnSettings() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo.Builder
 
getModContainer() - Method in class net.neoforged.neoforge.data.event.GatherDataEvent
 
getModDataPacks() - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getModDataPacksWithVanilla() - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getModdedFeatureFlags() - Static method in record class net.neoforged.neoforge.network.configuration.CheckFeatureFlags
 
getModdedSkullModel(EntityModelSet, SkullBlock.Type) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getMode() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
Returns the mode of fog being rendered.
getModelBakery() - Method in class net.neoforged.neoforge.client.event.ModelEvent.BakingCompleted
 
getModelBakery() - Method in class net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult
 
getModelData() - Method in interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
Allows you to return additional model data.
getModelData() - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
 
getModelData() - Method in class net.neoforged.neoforge.oldtest.client.model.MegaModelTest.TestBlock.Entity
 
getModelData(BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
Retrieves model data for a block at the given position.
getModelDataManager() - Method in interface net.neoforged.neoforge.common.extensions.ILevelExtension
Retrieves the model data manager for the given level.
getModelId() - Method in class net.neoforged.neoforge.client.model.standalone.StandaloneModelKey
 
getModelManager() - Method in class net.neoforged.neoforge.client.event.ModelEvent.BakingCompleted
 
getModelViewMatrix() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the model view matrix.
getModelViewMatrix() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the model view matrix used for rendering.
getModifiedBiomeInfo() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo
Returns Modified biome info; null if it hasn't been set yet.
getModifiedStructureInfo() - Method in class net.neoforged.neoforge.common.world.ModifiableStructureInfo
Returns Modified structure info; null if it hasn't been set yet.
getModifiers() - Method in class net.neoforged.neoforge.client.event.InputEvent.Key
Returns a bit field representing the active modifier keys.
getModifiers() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseButton
Returns a bit field representing the active modifier keys.
getModifiers() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.CharacterTyped
Returns a bit field representing the active modifier keys.
getModifiers() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.KeyInput
Returns a bit field representing the active modifier keys.
getModifiers() - Method in class net.neoforged.neoforge.event.ItemAttributeModifierEvent
Returns an unmodifiable view of the attribute modifier entries.
getMods() - Method in class net.neoforged.neoforge.data.event.GatherDataEvent.DataGeneratorConfig
 
getMouseButton() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseDragged
Returns the mouse button's input code.
getMouseSensitivity() - Method in class net.neoforged.neoforge.client.event.CalculatePlayerTurnEvent
Returns the raw mouse sensitivity value
getMouseX() - Method in class net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
Returns the X coordinate of the mouse pointer.
getMouseX() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseScrollingEvent
Returns the X position of the mouse cursor.
getMouseX() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
Returns the X position of the mouse cursor, relative to the screen.
getMouseX() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Render
Returns the X coordinate of the mouse pointer.
getMouseY() - Method in class net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
Returns the Y coordinate of the mouse pointer.
getMouseY() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseScrollingEvent
Returns the Y position of the mouse cursor.
getMouseY() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
Returns the Y position of the mouse cursor, relative to the screen.
getMouseY() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Render
Returns the Y coordinate of the mouse pointer.
getMovingBlockRenderType(RenderType) - Static method in class net.neoforged.neoforge.client.RenderTypeHelper
Provides a RenderType fit for rendering moving blocks given the specified chunk render type.
getMultiBufferSource() - Method in class net.neoforged.neoforge.client.event.RenderArmEvent
Returns the source of rendering buffers.
getMultiBufferSource() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the source of rendering buffers.
getMultiBufferSource() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent
Returns the source of rendering buffers.
getMultiBufferSource() - Method in class net.neoforged.neoforge.client.event.RenderItemInFrameEvent
Returns the source of rendering buffers.
getMultiBufferSource() - Method in class net.neoforged.neoforge.client.event.RenderLivingEvent
Returns the source of rendering buffers.
getMultiBufferSource() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.DoRender
Returns the source of rendering buffers.
getMulticastGroup() - Static method in class net.neoforged.neoforge.network.DualStackUtils
Used for the "Open to LAN" feature.
getMultiPlayerGameMode() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent
Returns the multiplayer game mode controller for the player.
getMultiPlayerGameMode() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.LoggingOut
Returns the multiplayer game mode controller for the player, may be null.
getMultiplier() - Method in class net.neoforged.neoforge.event.entity.player.PlayerFlyableFallEvent
 
getMusic() - Method in class net.neoforged.neoforge.client.event.SelectMusicEvent
Returns the Music to be played, or null if any playing music should be cancelled.
getName() - Method in class net.neoforged.neoforge.client.data.ParticleDescriptionProvider
 
getName() - Method in class net.neoforged.neoforge.client.event.RenderGuiLayerEvent
 
getName() - Method in class net.neoforged.neoforge.client.event.sound.PlaySoundEvent
Returns the name of the original sound.
getName() - Method in class net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
Returns the name of the sound being played.
getName() - Method in class net.neoforged.neoforge.common.data.DataMapProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.GlobalLootModifierProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeBiomeTagsProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeDamageTypeTagsProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeItemTagsProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeLanguageProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeRecipeProvider.Runner
 
getName() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeRegistryOrderReportProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.JsonCodecProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.LanguageProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.RecipePrioritiesProvider
 
getName() - Method in class net.neoforged.neoforge.common.data.SoundDefinitionsProvider
 
getName() - Method in class net.neoforged.neoforge.debug.crafting.RecipePrioritiesTest.Recipes.Runner
 
getName() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
This is the name as sent by the client.
getName() - Method in class net.neoforged.neoforge.event.LootTableLoadEvent
 
getName() - Method in class net.neoforged.neoforge.oldtest.DataGeneratorTest.Recipes.Runner
 
getName() - Method in class net.neoforged.neoforge.oldtest.world.BiomeModifierTest.BiomeModifiers
 
getName() - Method in interface net.neoforged.testframework.impl.test.AbstractTest.AnnotationHolder
 
getName(CreativeModeTab) - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
Returns the name of the given CreativeModeTab, or null.
getName(ItemStack) - Method in class net.neoforged.neoforge.oldtest.item.CustomFluidContainerTest.CustomFluidContainer
 
getNameForClass(Class<? extends PreparableReloadListener>) - Static method in class net.neoforged.neoforge.client.resources.VanillaClientListeners
 
getNameForClass(Class<? extends PreparableReloadListener>) - Static method in class net.neoforged.neoforge.resource.VanillaServerListeners
 
getNameLookup() - Method in class net.neoforged.neoforge.event.SortedReloadListenerEvent
Returns a SortedReloadListenerEvent.NameLookup for all reload listeners known by this event.
getNameSearchKey(CreativeModeTab) - Static method in class net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
 
getNameSearchKeys() - Static method in class net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
 
getNameSearchTree(SessionSearchTrees.Key) - Static method in class net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
 
getNamespace() - Method in class net.neoforged.neoforge.registries.DeferredRegister
Returns the modid/namespace associated with this deferred register.
getNamespaces(PackType) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest.InMemoryResourcePack
 
getNamespaces(PackType) - Method in class net.neoforged.neoforge.resource.EmptyPackResources
 
getNarration() - Method in class net.neoforged.neoforge.client.gui.LoadingErrorScreen.LoadingEntryList.LoadingMessageEntry
 
getNarration() - Method in class net.neoforged.neoforge.client.gui.widget.ModListWidget.ModEntry
 
getNarration() - Method in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
 
getNearPlaneDistance() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
Returns the distance to the near plane where the fog starts.
getNewAboutToBeSetTarget() - Method in class net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent
Returns the new target that this entity will begin to track..
getNewBottomItem() - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnTakeItem
 
getNewDamage() - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
Returns the current amount expected to be applied to the entity or used in subsequent damage calculations.
getNewDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
Returns the amount of health this entity lost during this sequence.
getNewDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Pre
Returns the current value to be applied to the entity's health after this event.
getNewDamage(EquipmentSlot) - Method in class net.neoforged.neoforge.event.entity.living.ArmorHurtEvent
Returns the amount to hurt the armor if the event is not cancelled.
getNewElementSupplier() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ListValueSpec
Creates a new empty element that can be added to the end of the list or null if the list doesn't support adding elements.
getNewFovModifier() - Method in class net.neoforged.neoforge.client.event.ComputeFovModifierEvent
Returns the current field of vision (FOV) of the player.
getNewGameMode() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerChangeGameModeEvent
 
getNewGameType() - Method in class net.neoforged.neoforge.client.event.ClientPlayerChangeGameTypeEvent
Returns the new game type of the player.
getNewLevel() - Method in class net.neoforged.neoforge.event.entity.player.PermissionsChangedEvent
 
getNewPitch() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the pitch the sound will be played at.
getNewPlayer() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.Clone
Returns the newly created player instance.
getNewPos() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection
 
getNewScreen() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Opening
 
getNewSize() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.Size
 
getNewSpawn() - Method in class net.neoforged.neoforge.event.entity.player.PlayerSetSpawnEvent
The new spawn position, or null if the spawn position is being reset.
getNewSpeed() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
 
getNewState() - Method in class net.neoforged.neoforge.event.level.BlockEvent.FluidPlaceBlockEvent
 
getNewTicketLevel() - Method in class net.neoforged.neoforge.event.level.ChunkTicketLevelUpdatedEvent
Returns the new ticket level for the chunk.
getNewTime() - Method in class net.neoforged.neoforge.event.level.SleepFinishedTimeEvent
 
getNewTopItem() - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnTakeItem
 
getNewVolume() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the volume the sound will be played at.
getNext() - Static method in class net.neoforged.neoforge.common.WorldWorkerManager
 
getNextOxidizedStage(Block) - Static method in class net.neoforged.neoforge.common.DataMapHooks
 
getNode() - Method in exception class net.neoforged.neoforge.server.permission.exceptions.UnregisteredPermissionException
 
getNodeName() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
 
getNodes() - Method in class net.neoforged.neoforge.server.permission.events.PermissionGatherEvent.Nodes
 
getNote() - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent
Get the Note the Noteblock is tuned to
getNotifiedSides() - Method in class net.neoforged.neoforge.event.level.BlockEvent.NeighborNotifyEvent
Gets a list of directions from the base block that updates will occur upon.
getNumber(String) - Method in interface net.neoforged.neoforge.debug.MixinTests.InterfaceTarget
 
getObject() - Method in class net.neoforged.neoforge.server.timings.ObjectTimings
Retrieves the object that the timings are for
getOctave() - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent
Get the Octave of the note this Noteblock is tuned to
getOffer(Entity, RandomSource) - Method in class net.neoforged.neoforge.common.BasicItemListing
 
getOfflinePermission(UUID, PermissionNode<T>, PermissionDynamicContext<?>...) - Method in class net.neoforged.neoforge.server.permission.handler.DefaultPermissionHandler
 
getOfflinePermission(UUID, PermissionNode<T>, PermissionDynamicContext<?>...) - Method in interface net.neoforged.neoforge.server.permission.handler.IPermissionHandler
getOfflinePermission(UUID, PermissionNode<T>, PermissionDynamicContext<?>...) - Static method in class net.neoforged.neoforge.server.permission.PermissionAPI
getOkCount() - Method in class net.neoforged.neoforge.server.command.generation.GenerationTask
 
getOldDifficulty() - Method in class net.neoforged.neoforge.event.DifficultyChangeEvent
 
getOldEffectInstance() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Added
 
getOldInformation() - Method in class net.neoforged.neoforge.event.entity.player.ClientInformationUpdatedEvent
Returns the existing client info from to the player.
getOldLevel() - Method in class net.neoforged.neoforge.event.entity.player.PermissionsChangedEvent
 
getOldNote() - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent.Change
 
getOldOctave() - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent.Change
 
getOldPlayer() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.Clone
Returns the previous player instance.
getOldPos() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection
 
getOldSize() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.Size
 
getOldTicketLevel() - Method in class net.neoforged.neoforge.event.level.ChunkTicketLevelUpdatedEvent
Returns the previous ticket level the chunk had.
getOnlinePlayerNames() - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
Returns the list of online player names from the client side.
getOperatorUserPermissionLevel() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
 
getOrAddSpawnOverrides(MobCategory) - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
Gets or creates a mutable builder for the spawn overrides of a given mob category.
getOrb() - Method in class net.neoforged.neoforge.event.entity.player.PlayerXpEvent.PickupXp
 
getOrCreate(String) - Method in class net.neoforged.testframework.summary.JUnitSummaryDumper.TestSuite
 
getOrCreateAdHocChannels(Connection) - Static method in class net.neoforged.neoforge.network.registration.ChannelAttributes
Returns a mutable set of the currently known ad-hoc channels.
getOrCreateChunkBuffer(RenderType) - Method in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent.SectionRenderingContext
Returns the builder for the given render type/layer in the chunk section.
getOrCreateCommonChannels(Connection, ConnectionProtocol) - Static method in class net.neoforged.neoforge.network.registration.ChannelAttributes
Returns a mutable set of the currently known common channels for the given protocol.
getOrCreateGroup(String) - Method in class net.neoforged.testframework.impl.TestFrameworkImpl.TestsImpl
 
getOrCreateGroup(String) - Method in interface net.neoforged.testframework.TestFramework.Tests
Gets or creates a test group.
getOrCreateLayer - Variable in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent.SectionRenderingContext
 
getOriginal() - Method in class net.neoforged.neoforge.event.entity.player.PlayerDestroyItemEvent
 
getOriginal() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.Clone
The old EntityPlayer that this new entity is a clone of.
getOriginalAboutToBeSetTarget() - Method in class net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent
Returns the original entity MC intended to use as a target before firing this event..
getOriginalAmount() - Method in class net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent
Returns the damage value passed into the damage sequence before modifications.
getOriginalBiomeInfo() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo
Returns The original biome info that the associated biome was created with.
getOriginalBlock() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
 
getOriginalBlockedDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingShieldBlockEvent
 
getOriginalContent() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.CanRender
Returns the original text on the nameplate.
getOriginalDamage() - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
Returns the value passed into Entity.hurt(DamageSource, float) before any modifications are made.
getOriginalDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
Returns the original damage when Entity.hurt(net.minecraft.world.damagesource.DamageSource, float) was invoked.
getOriginalDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Pre
Returns the original damage amount from the damage source.
getOriginalDamage(EquipmentSlot) - Method in class net.neoforged.neoforge.event.entity.living.ArmorHurtEvent
Returns the original damage before any event modifications.
getOriginalExperience() - Method in class net.neoforged.neoforge.event.entity.living.LivingExperienceDropEvent
 
getOriginalInvulnerability() - Method in class net.neoforged.neoforge.event.entity.EntityInvulnerabilityCheckEvent
 
getOriginalLevel() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the original level of the enchantment for this row (0-30)
getOriginalMessage() - Method in class net.neoforged.neoforge.client.event.ClientChatEvent
Returns the original message that was to be sent to the server. This cannot be changed by mods.
getOriginalMusic() - Method in class net.neoforged.neoforge.client.event.SelectMusicEvent
Returns the original situational music that was selected.
getOriginalParticleOptions() - Method in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
 
getOriginalPitch() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the original pitch for the sound to be played at.
getOriginalRatioX() - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
 
getOriginalRatioZ() - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
 
getOriginalSound() - Method in class net.neoforged.neoforge.client.event.sound.PlaySoundEvent
Returns the original sound that was to be played.
getOriginalSpeed() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
 
getOriginalStack() - Method in class net.neoforged.neoforge.event.entity.player.ItemEntityPickupEvent.Post
Returns a copy of the original stack, before it was added to the player's inventory.
getOriginalState() - Method in class net.neoforged.neoforge.event.level.block.CropGrowEvent.Post
Returns the original state of the crop before growing.
getOriginalState() - Method in class net.neoforged.neoforge.event.level.BlockEvent.FluidPlaceBlockEvent
 
getOriginalStrength() - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
 
getOriginalStructureInfo() - Method in class net.neoforged.neoforge.common.world.ModifiableStructureInfo
Returns The original structure info that the associated structure was created with.
getOriginalTeleportTransition() - Method in class net.neoforged.neoforge.event.entity.player.PlayerRespawnPositionEvent
 
getOriginalTexture() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Texture
Returns the original texture location given to the tooltip render method (may originate from DataComponents.TOOLTIP_STYLE).
getOriginalType() - Method in class net.neoforged.neoforge.client.event.PlayerHeartTypeEvent
 
getOriginalVolume() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the original volume for the sound to be played at.
getOrNull() - Method in class net.neoforged.neoforge.client.entity.animation.json.AnimationHolder
Gets the currently loaded animation or null if it has not been loaded.
getOrThrow(ResourceLocation) - Method in class net.neoforged.neoforge.event.SortedReloadListenerEvent
 
getOrThrow(PreparableReloadListener) - Method in class net.neoforged.neoforge.event.SortedReloadListenerEvent
 
getOutboundPackets(Class<T>) - Method in class net.neoforged.testframework.gametest.GameTestPlayer
 
getOutboundPayloads(Class<T>) - Method in class net.neoforged.testframework.gametest.GameTestPlayer
 
getOutcome() - Method in class net.neoforged.neoforge.event.entity.living.LivingConversionEvent.Post
Gets the finalized new entity (with all data like potion effect and equipments set)
getOutcome() - Method in class net.neoforged.neoforge.event.entity.living.LivingConversionEvent.Pre
Gets the entity type of the new entity this living entity is converting to
getOutput() - Method in class net.neoforged.neoforge.common.brewing.BrewingRecipe
 
getOutput() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
This is the output as determined by the event, not by the vanilla behavior between these two items.
getOutput() - Method in class net.neoforged.neoforge.event.entity.player.AnvilRepairEvent
Get the output result from the anvil
getOutput() - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnPlaceItem
This is the output as determined by the event, not by the vanilla behavior between these two items.
getOutput(ItemStack, ItemStack) - Method in class net.neoforged.neoforge.common.brewing.BrewingRecipe
 
getOutput(ItemStack, ItemStack) - Method in record class net.neoforged.neoforge.common.brewing.BrewingRecipeRegistry
Returns the output ItemStack obtained by brewing the passed input and ingredient.
getOutput(ItemStack, ItemStack) - Method in interface net.neoforged.neoforge.common.brewing.IBrewingRecipe
Returns the output when the passed input is brewed with the passed ingredient.
getOverlayTexture() - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.
getOverlayTexture(FluidState, BlockAndTintGetter, BlockPos) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.
getOverlayTexture(FluidStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a fluid directly touching a non-opaque block other than air.
getOverlayType() - Method in class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent
Returns the type of the overlay.
getOwner() - Method in interface net.neoforged.neoforge.common.extensions.IOwnedSpawner
Returns the block entity or entity which owns this spawner object.
getPackedLight() - Method in class net.neoforged.neoforge.client.event.RenderArmEvent
Returns the amount of packed (sky and block) light for rendering.
getPackedLight() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the amount of packed (sky and block) light for rendering.
getPackedLight() - Method in class net.neoforged.neoforge.client.event.RenderItemInFrameEvent
Returns the amount of packed (sky and block) light for rendering.
getPackedLight() - Method in class net.neoforged.neoforge.client.event.RenderLivingEvent
Returns the amount of packed (sky and block) light for rendering.
getPackedLight() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.DoRender
Returns the amount of packed (sky and block) light for rendering.
getPackedNewPos() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection
A packed version of the new section's position.
getPackedOldPos() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection
A packed version of the old section's position.
getPackFor(String) - Static method in class net.neoforged.neoforge.resource.ResourcePackLoader
 
getPackNames(PackType) - Static method in class net.neoforged.neoforge.resource.ResourcePackLoader
 
getPackType() - Method in class net.neoforged.neoforge.event.AddPackFindersEvent
 
getParameters() - Method in record class net.neoforged.neoforge.common.util.LogMessageAdapter
 
getParameters() - Method in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
 
getParent() - Method in class net.neoforged.neoforge.entity.PartEntity
 
getParent() - Method in class net.neoforged.neoforge.event.entity.living.MobSplitEvent
Returns the parent mob, which is in the process of being removed.
getParentA() - Method in class net.neoforged.neoforge.event.entity.living.BabyEntitySpawnEvent
 
getParentB() - Method in class net.neoforged.neoforge.event.entity.living.BabyEntitySpawnEvent
 
getParentEntries() - Method in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
The current immutable ordered set of the parent tab entries in the order to be added to the Creative Menu.
getParseResults() - Method in class net.neoforged.neoforge.event.CommandEvent
Returns the parsed command results.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
 
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderFrameEvent
Returns the current partial tick, which is either the true partial tick or the pause partial tick, depending on if the game is paused.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderGuiEvent
 
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderGuiLayerEvent
 
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the partial tick.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the current partialTick value used for rendering.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderLivingEvent
Returns the partial tick.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent
Returns the partial tick.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.Render
Returns the partial tick.
getPartialTick() - Method in class net.neoforged.neoforge.client.event.ViewportEvent
Returns the partial tick.
getParticleOptions() - Method in class net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent
 
getParts() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Gets the individual sub parts that make up this entity.
getParts() - Method in class net.neoforged.neoforge.oldtest.entity.PartEntityTest.TestEntity
 
getPath() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
 
getPayloadSetup(Connection) - Static method in class net.neoforged.neoforge.network.registration.ChannelAttributes
 
getPearlEntity() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.EnderPearl
 
getPermission(ServerPlayer, PermissionNode<T>, PermissionDynamicContext<?>...) - Method in class net.neoforged.neoforge.server.permission.handler.DefaultPermissionHandler
 
getPermission(ServerPlayer, PermissionNode<T>, PermissionDynamicContext<?>...) - Method in interface net.neoforged.neoforge.server.permission.handler.IPermissionHandler
getPermission(ServerPlayer, PermissionNode<T>, PermissionDynamicContext<?>...) - Static method in class net.neoforged.neoforge.server.permission.PermissionAPI
Queries a player's permission for a given node and contexts
getPersistentData() - Method in interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
Gets a CompoundTag that can be used to store custom data for this block entity.
getPersistentData() - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns a NBTTagCompound that can be used to store custom data for this entity.
getPhantomsToSpawn() - Method in class net.neoforged.neoforge.event.entity.player.PlayerSpawnPhantomsEvent
 
getPickupSound() - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getPickupSound(BlockState) - Method in interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension
State sensitive variant of BucketPickup.getPickupSound().
getPistonMoveType() - Method in class net.neoforged.neoforge.event.level.PistonEvent
 
getPistonPushReaction(BlockState) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns the reaction of the block when pushed or pulled by a piston.
getPitch() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeCameraAngles
Returns the pitch of the player's camera.
getPlacedAgainst() - Method in class net.neoforged.neoforge.event.level.BlockEvent.EntityPlaceEvent
 
getPlacedBlock() - Method in class net.neoforged.neoforge.event.level.BlockEvent.EntityPlaceEvent
 
getPlacementCheckResult() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
Returns If the placement check will succeed or not, based on the current event result.
getPlaceSound() - Method in class net.neoforged.neoforge.common.util.DeferredSoundType
 
getPlant() - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
 
getPlayer() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.Clone
Returns the newly created player instance.
getPlayer() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent
Returns the player instance.
getPlayer() - Method in class net.neoforged.neoforge.client.event.ClientPlayerNetworkEvent.LoggingOut
Returns the player instance, may be null.
getPlayer() - Method in class net.neoforged.neoforge.client.event.ComputeFovModifierEvent
Returns the player affected by this event.
getPlayer() - Method in class net.neoforged.neoforge.client.event.RenderArmEvent
Returns the client player that is having their arm rendered.
getPlayer() - Method in class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent
Returns the player which the overlay will apply to.
getPlayer() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
 
getPlayer() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent.EnderPearl
 
getPlayer() - Method in class net.neoforged.neoforge.event.entity.item.ItemTossEvent
The player tossing the item.
getPlayer() - Method in class net.neoforged.neoforge.event.entity.living.EnderManAngerEvent
The player that is being checked.
getPlayer() - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
Returns the player who used the bone meal, if any.
getPlayer() - Method in class net.neoforged.neoforge.event.entity.player.ItemEntityPickupEvent
Returns the player who collided with the item.
getPlayer() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getPlayer() - Method in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
Returns the player doing the item swap attempt.
getPlayer() - Method in class net.neoforged.neoforge.event.level.BlockEvent.BlockToolModificationEvent
 
getPlayer() - Method in class net.neoforged.neoforge.event.level.BlockEvent.BreakEvent
Returns the player who is attempting to break the block.
getPlayer() - Method in class net.neoforged.neoforge.event.level.ChunkWatchEvent
Returns the server player involved with the watch action.
getPlayer() - Method in class net.neoforged.neoforge.event.OnDatapackSyncEvent
Gets the player that is joining the server, or null when syncing for all players, such as when the reload command runs.
getPlayer() - Method in class net.neoforged.neoforge.event.ServerChatEvent
Returns the player who initiated the chat action.
getPlayer() - Method in class net.neoforged.neoforge.event.village.VillageSiegeEvent
 
getPlayerChatMessage() - Method in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent.Player
Returns the full player chat message.
getPlayerDirectory() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.LoadFromFile
The directory where player data is being stored.
getPlayerDirectory() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.SaveToFile
The directory where player data is being stored.
getPlayerDisplayName(Player, Component) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getPlayerFile(String) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.LoadFromFile
Construct and return a recommended file for the supplied suffix
getPlayerFile(String) - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.SaveToFile
Construct and return a recommended file for the supplied suffix
getPlayerList() - Method in class net.neoforged.neoforge.event.OnDatapackSyncEvent
Gets the server's player list, containing all players, when the event fires.
getPlayerTabListDisplayName(Player) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getPlayerUUID() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.LoadFromFile
The UUID is the standard for player related file storage.
getPlayerUUID() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.SaveToFile
The UUID is the standard for player related file storage.
getPlayingMusic() - Method in class net.neoforged.neoforge.client.event.SelectMusicEvent
Returns the current track that the MusicManager is playing, or null if there is none.
getPortalSize() - Method in class net.neoforged.neoforge.event.level.BlockEvent.PortalSpawnEvent
 
getPos() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
Returns the recorded position.
getPos() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the pos of the enchantment table
getPos() - Method in class net.neoforged.neoforge.event.entity.living.LivingDestroyBlockEvent
 
getPos() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
 
getPos() - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
Returns the position of the bone mealed block.
getPos() - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
 
getPos() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.HarvestCheck
 
getPos() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent
If the interaction was on an entity, will be a BlockPos centered on the entity.
getPos() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
If the interaction was on an entity, will be a BlockPos centered on the entity.
getPos() - Method in class net.neoforged.neoforge.event.level.BlockEvent
 
getPos() - Method in class net.neoforged.neoforge.event.level.BlockGrowFeatureEvent
Returns the coordinates of the sapling attempting to grow.
getPos() - Method in class net.neoforged.neoforge.event.level.ChunkWatchEvent
Returns the chunk position this watch event is affecting.
getPos() - Method in class net.neoforged.neoforge.event.level.LevelEvent.PotentialSpawns
Returns the block position where the chosen mob will be spawned..
getPos(T) - Method in class net.neoforged.neoforge.common.util.InsertableLinkedOpenCustomHashSet
Requires that existingElement exists in the set already.
getPose() - Method in class net.neoforged.neoforge.event.entity.EntityEvent.Size
 
getPoseStack() - Method in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent.SectionRenderingContext
 
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderArmEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderBlockScreenEffectEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderItemInFrameEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderLivingEvent
Returns the pose stack used for rendering.
getPoseStack() - Method in class net.neoforged.neoforge.client.event.RenderNameTagEvent.DoRender
Returns the pose stack used for rendering.
getPosition() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
 
getPosition() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent.AtPosition
Returns the position the sound is being played at.
getPositions() - Method in class net.neoforged.neoforge.event.level.AlterGroundEvent
The list of positions that are considered roots is different depending on if the context has roots, logs, or both.
getPostAttackInvulnerabilityTicks() - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
Returns the number of ticks this entity will be invulnerable after damage is applied.
getPostAttackInvulnerabilityTicks() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
Returns the number of ticks this entity will be invulnerable after this sequence.
getPosX() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.Chat
 
getPosY() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.Chat
 
getPotentialSpawns(LevelAccessor, MobCategory, BlockPos, WeightedList<MobSpawnSettings.SpawnerData>) - Static method in class net.neoforged.neoforge.event.EventHooks
 
getPower() - Method in class net.neoforged.neoforge.event.enchanting.EnchantmentLevelSetEvent
Get the power (# of bookshelves) for the enchanting table
getPrev() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getPreviousOxidizedStage(Block) - Static method in class net.neoforged.neoforge.common.DataMapHooks
 
getPreviousVersion(String) - Method in class net.neoforged.neoforge.event.ModMismatchEvent
Fetch a previous version of a given mod, if it has been mismatched.
getPrevX() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getPrevY() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getPrevZ() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getPrivateValue(Class<C>, C, String) - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeLootTableProvider
 
getPrivateValue(Class<C>, C, String) - Static method in class net.neoforged.neoforge.common.data.internal.NeoForgeAdvancementProvider
 
getProbability() - Method in class net.neoforged.neoforge.common.world.MobSpawnSettingsBuilder
 
getProblem() - Method in class net.neoforged.neoforge.event.entity.player.CanContinueSleepingEvent
Returns the current sleeping problem, if any.
getProblem() - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
Returns the current sleeping problem.
getProfile() - Method in class net.neoforged.neoforge.event.entity.player.PlayerNegotiationEvent
 
getProfiler() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the active profiler.
getProgressType() - Method in class net.neoforged.neoforge.event.entity.player.AdvancementEvent.AdvancementProgressEvent
Returns The type of progress for the criterion in this event.
getProjectile() - Method in class net.neoforged.neoforge.event.entity.ProjectileImpactEvent
 
getProjectile(LivingEntity, ItemStack, ItemStack) - Static method in class net.neoforged.neoforge.common.CommonHooks
getProjectileEvent(DynamicTest, RegistrationHelper) - Static method in class net.neoforged.neoforge.debug.entity.living.LivingEntityEventTests
 
getProjectileItemStack() - Method in class net.neoforged.neoforge.event.entity.living.LivingGetProjectileEvent
 
getProjectileWeaponItemStack() - Method in class net.neoforged.neoforge.event.entity.living.LivingGetProjectileEvent
 
getProjectionMatrix() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the projection matrix.
getProjectionMatrix() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the projection matrix.
getProperFilenameValidation() - Static method in class net.neoforged.neoforge.common.NeoForgeMod
 
getProperties() - Method in class net.neoforged.neoforge.model.data.ModelData
 
getRailDirection(BlockState, BlockGetter, BlockPos, AbstractMinecart) - Method in interface net.neoforged.neoforge.common.extensions.IBaseRailBlockExtension
Return the rail's direction.
getRailMaxSpeed(BlockState, Level, BlockPos, AbstractMinecart) - Method in interface net.neoforged.neoforge.common.extensions.IBaseRailBlockExtension
Returns the max speed of the rail at the specified position.
getRandom() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
In all vanilla cases, this is equal to LevelAccessor.getRandom().
getRandom() - Method in class net.neoforged.neoforge.event.level.BlockGrowFeatureEvent
Returns the random source which initiated the sapling growth.
getRandomElement(RandomSource) - Method in record class net.neoforged.neoforge.registries.holdersets.AnyHolderSet
 
getRandomElement(RandomSource) - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
 
getRandomElement(RandomSource) - Method in class net.neoforged.neoforge.registries.holdersets.NotHolderSet
 
getRandomMonsterRoomMob(RandomSource) - Static method in class net.neoforged.neoforge.common.MonsterRoomHooks
Gets a random entity type from the weighted list.
getRange() - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
 
getRange() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ValueSpec
 
getRareAmount() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getRareTrades() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getRarity() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the rarity of the fluid.
getRarity(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the rarity of the fluid.
getRarityEnumParameter(int, Class<?>) - Static method in class net.neoforged.neoforge.debug.item.ItemTests
 
getRateLimitPacketsPerSecond() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
 
getRatioX() - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
 
getRatioZ() - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
 
getRaw() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
Returns the uncached value for the configuration setting, throwing if the config has not yet been loaded.
getRaw(Config, List<String>, Supplier<Double>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.DoubleValue
 
getRaw(Config, List<String>, Supplier<Integer>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.IntValue
 
getRaw(Config, List<String>, Supplier<Long>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.LongValue
 
getRaw(Config, List<String>, Supplier<T>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
 
getRaw(Config, List<String>, Supplier<T>) - Method in class net.neoforged.neoforge.common.ModConfigSpec.EnumValue
 
getRawText() - Method in class net.neoforged.neoforge.event.ServerChatEvent
Returns the original raw text of the player chat message.
getRawText(Component) - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getRayTraceResult() - Method in class net.neoforged.neoforge.event.entity.ProjectileImpactEvent
 
getReadableName() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
 
getReceptionSide() - Method in interface net.neoforged.neoforge.common.extensions.IPacketFlowExtension
Returns the LogicalSide that is receiving packets in this PacketFlow.
getRecipeBookButtonPosition() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestScreen
 
getRecipeBookType() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestMenu
 
getRecipeFilterName() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestComponent
 
getRecipeMap() - Method in class net.neoforged.neoforge.client.event.RecipesReceivedEvent
 
getRecipePriorities() - Method in class net.neoforged.neoforge.common.crafting.RecipePriorityManager
An immutable map of the registered recipe priorities in layered order.
getRecipeType() - Method in class net.neoforged.neoforge.event.furnace.FurnaceFuelBurnTimeEvent
Get the recipe type for which to obtain the burn time, if known.
getRecipeTypes() - Method in class net.neoforged.neoforge.client.event.RecipesReceivedEvent
 
getRecipeTypesToSend() - Method in class net.neoforged.neoforge.event.OnDatapackSyncEvent
 
getRed() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
Returns the red color value of the fog.
getReduction(DamageContainer.Reduction) - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
This provides a post-reduction value for the reduction and modifiers.
getReduction(DamageContainer.Reduction) - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
 
getReferencedContextParams() - Method in class net.neoforged.neoforge.common.loot.CanItemPerformAbility
 
getRefillAirAmount() - Method in class net.neoforged.neoforge.event.entity.living.LivingBreatheEvent
 
getRegion() - Method in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent.SectionRenderingContext
 
getRegisteredNodes() - Method in class net.neoforged.neoforge.server.permission.handler.DefaultPermissionHandler
 
getRegisteredNodes() - Method in interface net.neoforged.neoforge.server.permission.handler.IPermissionHandler
Returns an unmodifiable view of the collection of registered permission nodes.
getRegisteredNodes() - Static method in class net.neoforged.neoforge.server.permission.PermissionAPI
 
getRegisteredResolvers() - Static method in class net.neoforged.neoforge.client.ColorResolverManager
Get all registered custom ColorResolvers.
getRegistrationOrder() - Static method in class net.neoforged.neoforge.registries.GameData
Creates a LinkedHashSet containing the ordered list of registry names in the registration order.
getRegistries() - Method in class net.neoforged.neoforge.event.LootTableLoadEvent
Returns a lookup provider that can be used to access registries.
getRegistries() - Method in class net.neoforged.neoforge.event.village.VillagerTradesEvent
 
getRegistries() - Method in class net.neoforged.neoforge.event.village.WandererTradesEvent
 
getRegistries() - Method in class net.neoforged.neoforge.registries.datamaps.DataMapsUpdatedEvent
Returns a registry access.
getRegistries() - Method in class net.neoforged.neoforge.registries.ModifyRegistriesEvent
Returns all builtin registries.
getRegistry() - Method in class net.neoforged.neoforge.event.SortedReloadListenerEvent
Returns an immutable view of the reload listener registry.
getRegistry() - Method in class net.neoforged.neoforge.registries.datamaps.DataMapsUpdatedEvent
Returns the registry that had its data maps updated.
getRegistry() - Method in class net.neoforged.neoforge.registries.DeferredHolder
Returns the registry that this DeferredHolder is pointing at, or null if it doesn't exist.
getRegistry() - Method in class net.neoforged.neoforge.registries.DeferredRegister
Returns a supplier for the Registry linked to this deferred register.
getRegistry() - Method in class net.neoforged.neoforge.registries.RegisterEvent
 
getRegistry(ResourceKey<? extends Registry<T>>) - Method in class net.neoforged.neoforge.registries.ModifyRegistriesEvent
Retrieve a builtin registry by its key.
getRegistry(ResourceKey<? extends Registry<T>>) - Method in class net.neoforged.neoforge.registries.RegisterEvent
 
getRegistryAccess() - Method in class net.neoforged.neoforge.event.AddServerReloadListenersEvent
Provides access to the loaded registries associated with these server resources.
getRegistryAccess() - Method in class net.neoforged.neoforge.event.brewing.RegisterBrewingRecipesEvent
 
getRegistryKey() - Method in class net.neoforged.neoforge.registries.datamaps.DataMapsUpdatedEvent
Returns the key of the registry that had its data maps updated.
getRegistryKey() - Method in class net.neoforged.neoforge.registries.DeferredRegister
 
getRegistryKey() - Method in class net.neoforged.neoforge.registries.RegisterEvent
 
getRegistryLookup() - Method in class net.neoforged.neoforge.resource.ContextAwareReloadListener
Returns the registry access held by this listener, or RegistryAccess.EMPTY if it is unavailable.
getRegistryName() - Method in class net.neoforged.neoforge.registries.DeferredRegister
 
getRegistryNamesForSyncToClient() - Static method in class net.neoforged.neoforge.registries.RegistryManager
 
getRegistryProvider() - Method in class net.neoforged.neoforge.common.data.DatapackBuiltinEntriesProvider
Get the registry holder lookup provider that includes elements added from the RegistrySetBuilder
getReleaseResult() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased.Post
Returns The (possibly event-modified) state of the release.
getRelevantPlayers() - Method in class net.neoforged.neoforge.event.OnDatapackSyncEvent
Creates a stream of players that need to receive data during this event, which is the specified player (if present) or all players.
getReloadListener() - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
 
getRemoteCompatibility(Connection) - Static method in class net.neoforged.neoforge.network.filters.GenericPacketSplitter
 
getRenderableSections() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns an iterable of all visible sections.
getRenderBoundingBox(T) - Method in interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtension
Return an AABB that controls the visible scope of this BlockEntityRenderer.
getRenderData(ContextKey<T>) - Method in interface net.neoforged.neoforge.client.extensions.IRenderStateExtension
Gets the object associated with the given key.
getRenderData(ContextKey<T>) - Method in class net.neoforged.neoforge.client.renderstate.BaseRenderState
 
getRenderDataOrDefault(ContextKey<T>, T) - Method in interface net.neoforged.neoforge.client.extensions.IRenderStateExtension
Gets the value or returns the default object if an object is not present
getRenderDataOrThrow(ContextKey<T>) - Method in interface net.neoforged.neoforge.client.extensions.IRenderStateExtension
Gets the value or throws an exception.
getRenderer() - Method in class net.neoforged.neoforge.client.event.RenderItemInFrameEvent
Returns the renderer for the item frame entity.
getRenderer() - Method in class net.neoforged.neoforge.client.event.RenderLivingEvent
 
getRenderer() - Method in class net.neoforged.neoforge.client.event.RenderPlayerEvent
 
getRenderer() - Method in class net.neoforged.neoforge.client.event.ViewportEvent
Returns the game renderer.
getRenderer(EntityType<? extends T>) - Method in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
Returns an entity renderer for the given entity type.
getRenderOrigin() - Method in interface net.neoforged.neoforge.client.IRenderableSection
Returns the block position at the origin of the section.
getRenderOverlayTexture(Minecraft) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the location of the texture to apply to the camera when it is within the fluid.
getRenderShape(BlockState) - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest.ItemHangerBlock
Deprecated.
getRenderState() - Method in class net.neoforged.neoforge.client.event.RenderLivingEvent
 
getRenderTargetDescriptor() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the render target descriptor to use for creating full-screen render targets.
getRenderTick() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the current "ticks" value in the level renderer.
getRenderType() - Method in class net.neoforged.neoforge.oldtest.client.rendering.CustomParticleTypeTest.ClientEvents.AnotherCustomParticle
 
getRenderType() - Method in class net.neoforged.neoforge.oldtest.client.rendering.CustomParticleTypeTest.ClientEvents.CustomParticle
 
getRenderType(BlockState) - Method in interface net.neoforged.neoforge.client.extensions.BlockModelPartExtension
Gets the set of render types to use when drawing this block in the level.
getReplacedBlockSnapshots() - Method in class net.neoforged.neoforge.event.level.BlockEvent.EntityMultiPlaceEvent
Gets a list of BlockSnapshots for all blocks which were replaced by the placement of the new blocks.
getResolved() - Method in class net.neoforged.neoforge.event.ModMismatchEvent
 
getResolver(String) - Method in class net.neoforged.neoforge.event.ModMismatchEvent
 
getResource(PackType, ResourceLocation) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest.InMemoryResourcePack
 
getResource(PackType, ResourceLocation) - Method in class net.neoforged.neoforge.resource.EmptyPackResources
 
getResourceKey(CommandContext<CommandSourceStack>, String, ResourceKey<Registry<T>>) - Static method in class net.neoforged.neoforge.server.command.CommandUtils
 
getResourceManager(PackType) - Method in class net.neoforged.neoforge.data.event.GatherDataEvent
 
getRespawnPosition(EntityType<?>, LevelReader, BlockPos, float) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Returns the position that the entity is moved to upon respawning at this block.
getRespawnPosition(BlockState, EntityType<?>, LevelReader, BlockPos, float) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns the position that the entity is moved to upon respawning at this block.
getResult() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonPressed.Post
Returns the result of this event, which controls if the click will be treated as handled.
getResult() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased.Post
Returns the result of this event, which controls if the release will be treated as handled.
getResult() - Method in class net.neoforged.neoforge.debug.crafting.IngredientTests.CompressedShapelessRecipeBuilder
 
getResult() - Method in class net.neoforged.neoforge.event.entity.living.MobDespawnEvent
Returns the result of this event, which controls if the despawn will occur.
getResult() - Method in class net.neoforged.neoforge.event.entity.living.MobEffectEvent.Applicable
Returns the result of this event, which controls if the mob effect will be applied.
getResult() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck
Returns the result of this event, which controls if the position check will succeed.
getResult() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
Returns the result of this event, which controls if the placement check will succeed.
getResult() - Method in class net.neoforged.neoforge.event.entity.player.PlayerSpawnPhantomsEvent
Returns the result of this event, which controls if a spawn attempt will be made.
getResult() - Method in class net.neoforged.neoforge.event.level.block.CropGrowEvent.Pre
Returns the result of this event, which controls if the click will be treated as handled.
getResult() - Method in class net.neoforged.neoforge.fluids.FluidActionResult
 
getResultMessage() - Method in class net.neoforged.neoforge.client.event.ScreenshotEvent
Returns the custom cancellation message, or null if no custom message is set.
getResultStack() - Method in class net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish
 
getRight() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.DebugText
 
getRight() - Method in class net.neoforged.neoforge.event.AnvilUpdateEvent
 
getRight() - Method in class net.neoforged.neoforge.event.entity.player.AnvilRepairEvent
Get the second item input into the anvil
getRodDamage() - Method in class net.neoforged.neoforge.event.entity.player.ItemFishedEvent
Get the damage the rod will take.
getRoll() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeCameraAngles
Returns the roll of the player's camera.
getRootResource(String...) - Method in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest.InMemoryResourcePack
 
getRootResource(String...) - Method in class net.neoforged.neoforge.resource.EmptyPackResources
 
getRows() - Method in class net.neoforged.testframework.summary.md.Table
 
getRowWidth() - Method in class net.neoforged.neoforge.client.gui.LoadingErrorScreen.LoadingEntryList
 
getRowWidth() - Method in class net.neoforged.neoforge.client.gui.widget.ModListWidget
 
getRowWidth() - Method in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList
 
getScanCode() - Method in class net.neoforged.neoforge.client.event.InputEvent.Key
Returns the platform-specific scan code.
getScanCode() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.KeyInput
Returns the platform-specific scan code.
getScanDistance() - Method in class net.neoforged.neoforge.entity.XpOrbTargetingEvent
The maximum distance to scan for players.
getScoreboard() - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
Returns the scoreboard from the client side.
getScoreboard() - Method in interface net.neoforged.neoforge.common.extensions.ICommandSourceStackExtension
 
getScreen() - Method in class net.neoforged.neoforge.client.event.GatherEffectScreenTooltipsEvent
 
getScreen() - Method in class net.neoforged.neoforge.client.event.ScreenEvent
Returns the screen that caused this event.
getScreen(ResourceKey<Level>, ResourceKey<Level>) - Static method in class net.neoforged.neoforge.client.DimensionTransitionScreenManager
 
getScreenFromLevel(Level, Level) - Static method in class net.neoforged.neoforge.client.DimensionTransitionScreenManager
 
getScreenHeight() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
Returns the height of the screen.
getScreenHeight() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
Returns the height of the screen.
getScreenshotFile() - Method in class net.neoforged.neoforge.client.event.ScreenshotEvent
 
getScreenWidth() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
Returns the width of the screen.
getScreenWidth() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
Returns the width of the screen.
getScrollAmount() - Method in class net.neoforged.neoforge.client.gui.ModListScreen.InfoPanel
 
getScrollAmount() - Method in class net.neoforged.neoforge.client.gui.widget.ScrollPanel
 
getScrollDeltaX() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseScrollingEvent
Returns the amount of change / delta of the mouse scroll on the X axis.
getScrollDeltaX() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
Returns the amount of change / delta of the mouse scroll on the X axis.
getScrollDeltaY() - Method in class net.neoforged.neoforge.client.event.InputEvent.MouseScrollingEvent
Returns the amount of change / delta of the mouse scroll on the Y axis.
getScrollDeltaY() - Method in class net.neoforged.neoforge.client.event.ScreenEvent.MouseScrolled
Returns the amount of change / delta of the mouse scroll on the Y axis.
getSearchCategories() - Static method in class net.neoforged.neoforge.client.RecipeBookManager
 
getSearchEntries() - Method in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
The current immutable ordered set of the search tab entries in the order to be added to the Creative Menu.
getSectionOrigin() - Method in class net.neoforged.neoforge.client.event.AddSectionGeometryEvent
 
getSender() - Method in class net.neoforged.neoforge.client.event.ClientChatReceivedEvent
Returns the message sender.
getSeparator(char) - Method in class net.neoforged.neoforge.common.util.TextTable.Column
 
getSerializedName() - Method in enum class net.neoforged.neoforge.common.util.TransformationHelper.TransformOrigin
 
getSerializedName() - Method in enum class net.neoforged.neoforge.oldtest.block.CustomHeadTest.SkullType
 
getSerializedValue() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionDynamicContext
 
getSerializer() - Method in class net.neoforged.neoforge.debug.crafting.IngredientTests.CompressedShapelessRecipe
 
getSerializer() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe
 
getSerializer(int, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>) - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getSerializerId(EntityDataSerializer<?>, CrudeIncrementalIntIdentityHashBiMap<EntityDataSerializer<?>>) - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getServer() - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
 
getServer() - Method in class net.neoforged.neoforge.common.util.FakePlayer
 
getServer() - Method in class net.neoforged.neoforge.event.server.ServerLifecycleEvent
 
getServer() - Method in class net.neoforged.neoforge.event.tick.ServerTickEvent
Returns the server instance.
getServerBranding() - Static method in class net.neoforged.neoforge.internal.BrandingControl
 
getServerChatSubmittedDecorator() - Static method in class net.neoforged.neoforge.common.CommonHooks
 
getServerConfigPath(MinecraftServer) - Static method in class net.neoforged.neoforge.server.ServerLifecycleHooks
 
getServerResources() - Method in class net.neoforged.neoforge.event.AddServerReloadListenersEvent
 
getSet() - Method in class net.neoforged.neoforge.registries.holdersets.CompositeHolderSet
 
getSettings() - Method in class net.neoforged.neoforge.event.level.LevelEvent.CreateSpawnPosition
 
getShade(float, float, float, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
Computes the shade for a given normal.
getShape(BlockState, BlockGetter, BlockPos, CollisionContext) - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlock
 
getShape(BlockState, BlockGetter, BlockPos, CollisionContext) - Method in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest.TestBlock
 
getShapeProperty() - Method in class net.neoforged.neoforge.oldtest.block.ValidRailShapeTest.RailSlopeBlock
 
getShieldDamage() - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
Returns the durability applied to the applicable shield after LivingShieldBlockEvent returned a successful block.
getShieldDamage() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
Returns the amount of shield durability this entity lost if a blocking action was captured and the entity was holding a shield.
getSide() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent
 
getSide() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getSiege() - Method in class net.neoforged.neoforge.event.village.VillageSiegeEvent
 
getSize() - Method in class net.neoforged.neoforge.event.entity.living.SpawnClusterSizeEvent
Gets the possibly event-modified max spawn cluster size for the entity.
getSizeRange() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ListValueSpec
The allowable range of the size of the list.
getSkin(PlayerSkin.Model) - Method in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
Returns a player skin renderer for the given skin name.
getSkins() - Method in class net.neoforged.neoforge.client.event.EntityRenderersEvent.AddLayers
Returns the set of player skin names which have a renderer.
getSkippedCount() - Method in class net.neoforged.neoforge.server.command.generation.GenerationTask
 
getSkippedGroups() - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
Initializes GatherSkippedAttributeTooltipsEvent.skippedGroups if necessary, and returns it.
getSkippedIds() - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
Initializes GatherSkippedAttributeTooltipsEvent.skippedIds if necessary, and returns it.
getSkyColor() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getSleepingPos() - Method in class net.neoforged.neoforge.event.entity.player.CanContinueSleepingEvent
Returns the sleeping position of the sleeping entity.
getSlopeFindDistance(LevelReader) - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getSlot() - Method in class net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent
 
getSlot() - Method in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
Returns the slot being clicked on.
getSlot(WorldlyContainer, int, Direction) - Static method in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
 
getSlotFromIndex(int, int) - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.ComponentItemHandler
 
getSlotLimit(int) - Method in interface net.neoforged.neoforge.items.IItemHandler
Retrieves the maximum stack size allowed to exist in the given slot.
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.ItemStackHandler
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.EmptyItemHandler
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.ForwardingItemHandler
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.InvWrapper
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.RangedWrapper
 
getSlotLimit(int) - Method in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
 
getSlots() - Method in class net.neoforged.neoforge.items.ComponentItemHandler
 
getSlots() - Method in interface net.neoforged.neoforge.items.IItemHandler
Returns the number of slots available
getSlots() - Method in class net.neoforged.neoforge.items.ItemStackHandler
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.EmptyItemHandler
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.ForwardingItemHandler
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.InvWrapper
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.RangedWrapper
 
getSlots() - Method in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
 
getSmelting() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.ItemSmeltedEvent
 
getSortedCreativeModeTabs() - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
Returns an unmodifiable view of the sorted list of creative mode tabs in ascending order.
getSortedModifiers(ItemStack, EquipmentSlotGroup) - Static method in class net.neoforged.neoforge.common.util.AttributeUtil
Returns a sorted, mutable Multimap containing all the attribute modifiers on an item stack for the given group.
getSortedRegistryKeys(boolean, boolean, Registry<?>) - Static method in class net.neoforged.neoforge.server.command.DumpCommand
 
getSortedTimings(TimeTracker<T>) - Static method in class net.neoforged.neoforge.server.command.TrackCommand.TrackResults
Returns the time objects recorded by the time tracker sorted by average time
getSortOrder(MobEffectInstance) - Method in interface net.neoforged.neoforge.common.extensions.IMobEffectExtension
Used for determining MobEffect sort order in GUIs.
getSound() - Method in class net.neoforged.neoforge.client.event.sound.PlaySoundEvent
Returns the sound to be played, or null if no sound will be played.
getSound() - Method in class net.neoforged.neoforge.client.event.sound.SoundEvent.SoundSourceEvent
Returns the sound being played.
getSound() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the sound event to be played.
getSound(LivingEntity, BlockGetter, BlockPos, SoundAction) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns a sound to play when a certain action is performed at a position.
getSound(Entity, SoundAction) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns a sound to play when a certain action is performed by the entity in the fluid.
getSound(SoundAction) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns a sound to play when a certain action is performed.
getSound(FluidStack, SoundAction) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns a sound to play when a certain action is performed.
getSoundFromFluidType(FluidType, SoundAction) - Method in interface net.neoforged.neoforge.common.extensions.IEntityExtension
Returns a sound to play when a certain action is performed by the entity in the fluid.
getSoundType(BlockState, LevelReader, BlockPos, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Sensitive version of getSoundType
getSoundType(LevelReader, BlockPos, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Sensitive version of getSoundType
getSource() - Static method in class net.neoforged.neoforge.client.ClientCommandHandler
 
getSource() - Method in class net.neoforged.neoforge.common.damagesource.DamageContainer
Returns the damage source for this damage sequence.
getSource() - Method in class net.neoforged.neoforge.event.entity.EntityInvulnerabilityCheckEvent
 
getSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Post
Returns the DamageSource for this damage sequence.
getSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingDamageEvent.Pre
Returns the damage source for this damage sequence.
getSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingDeathEvent
 
getSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingDropsEvent
 
getSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingIncomingDamageEvent
Returns the DamageSource for this damage sequence.
getSource() - Method in class net.neoforged.neoforge.event.entity.living.LivingUseTotemEvent
Returns the damage source that caused the entity to die.
getSource() - Method in class net.neoforged.neoforge.event.PlayLevelSoundEvent
Returns the sound source.
getSource() - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getSourcesLoading(boolean, boolean) - Method in class net.neoforged.neoforge.common.world.chunk.ForcedChunkManager.TicketTracker
 
getSpace() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getSpawnData() - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
Retrieves the SpawnGroupData for this entity.
getSpawner() - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
Retrieves the underlying BlockEntity or Entity that performed the spawn.
getSpawner() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck
Retrieves the underlying BaseSpawner instance if this mob was created by a Mob Spawner of some form.
getSpawner(MobCategory) - Method in class net.neoforged.neoforge.common.world.MobSpawnSettingsBuilder
 
getSpawnerDataList() - Method in class net.neoforged.neoforge.event.level.LevelEvent.PotentialSpawns
Returns the list of mobs that can potentially be spawned..
getSpawnerTypes() - Method in class net.neoforged.neoforge.common.world.MobSpawnSettingsBuilder
 
getSpawnLevel() - Method in class net.neoforged.neoforge.event.entity.player.PlayerSetSpawnEvent
 
getSpawnOverrides(MobCategory) - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
Gets a mutable builder for the spawn overrides of a given mob category or null if no overrides are defined for that category.
getSpawns() - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder.StructureSpawnOverrideBuilder
Unmodifiable view of the possible spawns.
getSpawnType() - Method in class net.neoforged.neoforge.event.entity.living.FinalizeSpawnEvent
Retrieves the type of mob spawn that happened (the event that caused the spawn).
getSpawnType() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.PositionCheck
Retrieves the type of mob spawn that is happening.
getSpawnType() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent.SpawnPlacementCheck
Retrieves the type of mob spawn that is happening.
getSpawnType() - Method in class net.neoforged.neoforge.event.entity.RegisterSpawnPlacementsEvent.MergedSpawnPredicate
 
getSpec() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ConfigValue
 
getSpec() - Method in class net.neoforged.neoforge.common.ModConfigSpec
 
getSpecialEffects() - Method in class net.neoforged.neoforge.common.world.ModifiableBiomeInfo.BiomeInfo.Builder
 
getSprite(ResourceLocation) - Static method in class net.neoforged.neoforge.client.textures.FluidSpriteCache
Returns a specified sprite or a missing sprite texture if sprite is not found.
getStack() - Method in class net.neoforged.neoforge.event.AddAttributeTooltipsEvent
The ItemStack with the tooltip.
getStack() - Method in class net.neoforged.neoforge.event.brewing.PlayerBrewedPotionEvent
The ItemStack of the potion.
getStack() - Method in class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
Returns the item stack that is being queried against.
getStack() - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
Returns the bone meal item stack.
getStack() - Method in class net.neoforged.neoforge.event.GatherSkippedAttributeTooltipsEvent
The ItemStack with the tooltip.
getStackCopy() - Method in class net.neoforged.neoforge.items.ItemHandlerCopySlot
 
getStackCopy() - Method in class net.neoforged.neoforge.items.StackCopySlot
Gets the itemstack from the storage.
getStackedOnItem() - Method in class net.neoforged.neoforge.event.ItemStackedOnOtherEvent
Returns the stack currently in the slot being clicked on.
getStackFromContents(ItemContainerContents, int) - Method in class net.neoforged.neoforge.items.ComponentItemHandler
Retrieves a copy of a single stack from the underlying data component, returning ItemStack.EMPTY if the component does not have a slot present.
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.ComponentItemHandler
 
getStackInSlot(int) - Method in interface net.neoforged.neoforge.items.IItemHandler
Returns the ItemStack in a given slot.
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.ItemStackHandler
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.CombinedInvWrapper
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.EmptyItemHandler
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.ForwardingItemHandler
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.InvWrapper
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.RangedWrapper
 
getStackInSlot(int) - Method in class net.neoforged.neoforge.items.wrapper.SidedInvWrapper
 
getStackLimit(int, ItemStack) - Method in class net.neoforged.neoforge.items.ItemStackHandler
 
getStackLimit(int, ItemStack) - Method in class net.neoforged.neoforge.items.wrapper.EntityEquipmentInvWrapper
 
getStage() - Method in class net.neoforged.neoforge.client.event.RenderLevelStageEvent
Returns the current stage that is being rendered. Check this before doing rendering to ensure that rendering happens at the appropriate time..
getStat() - Method in class net.neoforged.neoforge.event.StatAwardEvent
Returns the Stat being awarded.
getState() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
Returns the snapshot's recorded block state.
getState() - Method in class net.neoforged.neoforge.event.entity.living.LivingDestroyBlockEvent
 
getState() - Method in class net.neoforged.neoforge.event.entity.player.BonemealEvent
Returns the state of the bone mealed block.
getState() - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
 
getState() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.BreakSpeed
 
getState() - Method in class net.neoforged.neoforge.event.level.block.CropGrowEvent.Post
Returns the new state of the crop after growing.
getState() - Method in class net.neoforged.neoforge.event.level.BlockEvent
 
getState(RandomSource, BlockPos) - Method in interface net.neoforged.neoforge.event.level.AlterGroundEvent.StateProvider
Gets the BlockState that will be placed at the passed position.
getStateAtViewpoint(BlockState, BlockGetter, BlockPos, Vec3) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Used to determine the state 'viewed' by an entity (see
invalid reference
Camera#getBlockAtCamera()
).
getStateAtViewpoint(BlockGetter, BlockPos, Vec3) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Used to determine the state 'viewed' by an entity (see
invalid reference
Camera#getBlockAtCamera()
).
getStateForPlacement(BlockPlaceContext) - Method in class net.neoforged.neoforge.oldtest.block.ValidRailShapeTest.RailSlopeBlock
 
getStateForPlacement(BlockPlaceContext) - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest.ItemHangerBlock
 
getStateForPlacement(BlockPlaceContext) - Method in class net.neoforged.neoforge.oldtest.client.model.NewModelLoaderTest.TestBlock
 
getStateForPlacement(BlockAndTintGetter, BlockPos, FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the FluidState when a FluidStack is trying to place it.
getStateProvider() - Method in class net.neoforged.neoforge.event.level.AlterGroundEvent
Gets the current BlockStateProvider that will be used by the AlterGroundDecorator.
getStatus() - Static method in class net.neoforged.neoforge.internal.versions.neoforge.NeoForgeVersion
 
getStatus(String) - Method in class net.neoforged.testframework.impl.TestFrameworkImpl.TestsImpl
 
getStatus(String) - Method in interface net.neoforged.testframework.TestFramework.Tests
 
getStencilFormat() - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getStepSound() - Method in class net.neoforged.neoforge.common.util.DeferredSoundType
 
getStillTexture() - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a source fluid.
getStillTexture(FluidState, BlockAndTintGetter, BlockPos) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a source fluid.
getStillTexture(FluidStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the reference of the texture to apply to a source fluid.
getStream(SoundBufferLibrary, Sound, boolean) - Method in class net.neoforged.neoforge.debug.client.ClientTests.SineSound
 
getStrength() - Method in class net.neoforged.neoforge.event.entity.living.LivingKnockBackEvent
 
getStructureHelper() - Method in class net.neoforged.neoforge.event.level.PistonEvent
 
getStructureSettings() - Method in class net.neoforged.neoforge.common.world.ModifiableStructureInfo.StructureInfo.Builder
 
getSuggestionTooltip() - Method in interface net.neoforged.neoforge.common.command.IEntitySelectorType
Returns an Component containing a short description for this selector type.
getSuggestionTooltip() - Method in class net.neoforged.neoforge.oldtest.chat.EntitySelectorTest.ExampleCustomSelector
 
getSweepHitBox(Player, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Get a bounding box (AABB) of a sweep attack.
getSweepHitBox(ItemStack, Player, Entity) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Get a bounding box (AABB) of a sweep attack.
getSwingProgress() - Method in class net.neoforged.neoforge.client.event.RenderHandEvent
Returns the swing progress of the hand being rendered.
getSyncedCustomRegistries() - Static method in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
Returns An unmodifiable view of the set of synced non-vanilla datapack registry IDs.
getSyncedRegistry(ResourceKey<? extends Registry<T>>) - Static method in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
 
getTab() - Method in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
Returns the creative mode tab currently populating its contents.
getTab(ResourceLocation) - Static method in class net.neoforged.neoforge.common.CreativeModeTabRegistry
Returns the CreativeModeTab with the given name, or null.
getTabKey() - Method in class net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent
Returns the key of the creative mode tab currently populating its contents.
getTable() - Method in class net.neoforged.neoforge.event.LootTableLoadEvent
 
getTables() - Method in class net.neoforged.neoforge.common.data.internal.NeoForgeLootTableProvider
 
getTag() - Method in class net.neoforged.neoforge.common.crafting.BlockTagIngredient
 
getTag() - Method in class net.neoforged.neoforge.common.util.BlockSnapshot
Returns the recorded block entity NBT data, if one was present.
getTags() - Method in class net.neoforged.neoforge.fluids.FluidStack
 
getTagSearchKey(CreativeModeTab) - Static method in class net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
 
getTagSearchKeys() - Static method in class net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
 
getTagSearchTree(SessionSearchTrees.Key) - Static method in class net.neoforged.neoforge.client.CreativeModeTabSearchRegistry
 
getTagTranslationKey(TagKey<?>) - Static method in class net.neoforged.neoforge.common.Tags
Use this to get a TagKey's translation key safely on any side.
getTamer() - Method in class net.neoforged.neoforge.event.entity.living.AnimalTameEvent
 
getTankCapacity(int) - Method in interface net.neoforged.neoforge.fluids.capability.IFluidHandler
Retrieves the maximum fluid amount for a given tank.
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.EmptyFluidHandler
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.templates.VoidFluidHandler
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.BucketPickupHandlerWrapper
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.CauldronWrapper
 
getTankCapacity(int) - Method in class net.neoforged.neoforge.fluids.capability.wrappers.FluidBucketWrapper
 
getTanks() - Method in interface net.neoforged.neoforge.fluids.capability.IFluidHandler
Returns the number of fluid storage units ("tanks") available
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.templates.EmptyFluidHandler
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStack
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidHandlerItemStackSimple
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.templates.FluidTank
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.templates.VoidFluidHandler
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.wrappers.BucketPickupHandlerWrapper
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.wrappers.CauldronWrapper
 
getTanks() - Method in class net.neoforged.neoforge.fluids.capability.wrappers.FluidBucketWrapper
 
getTarget() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent.Block
Returns the block hit result.
getTarget() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent.Entity
Returns the entity hit result.
getTarget() - Method in class net.neoforged.neoforge.client.event.RenderHighlightEvent
Returns the hit result which triggered the selection highlight.
getTarget() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.AttackEntityEvent
 
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.CriticalHitEvent
Returns the entity that was attacked by the player.
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.StartTracking
The Entity now being tracked.
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.StopTracking
The Entity no longer being tracked.
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteract
 
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.EntityInteractSpecific
 
getTarget() - Method in class net.neoforged.neoforge.event.entity.player.SweepAttackEvent
Returns the target of the attack, which is guaranteed to be a valid attack target.
getTarget() - Static method in class net.neoforged.neoforge.internal.versions.neoforge.NeoForgeVersion
 
getTarget(ResourceLocation) - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Gets the AnimationTarget associated with the given name.
getTargetBlock() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.HarvestCheck
 
getTargetBundle() - Method in class net.neoforged.neoforge.client.event.FrameGraphSetupEvent
Returns the render targets used during level rendering.
getTargetEnchant() - Method in class net.neoforged.neoforge.event.enchanting.GetEnchantmentLevelEvent
This method returns the specific enchantment being queried from
invalid reference
IItemStackExtension#getEnchantmentLevel(Enchantment)
.
getTargetFromChannelTarget(AnimationChannel.Target) - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Gets the full AnimationTarget from its channelTarget.
getTargetList() - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Retrieves a comma-separated list of all available AnimationTargets, for use in error messages.
getTargetName(AnimationTarget) - Static method in class net.neoforged.neoforge.client.entity.animation.json.AnimationTypeManager
Gets the ResourceLocation associated with the given target.
getTargetType() - Method in class net.neoforged.neoforge.coremods.MethodRedirector
 
getTargetType() - Method in class net.neoforged.neoforge.coremods.ReplaceFieldComparisonWithInstanceOf
 
getTargetType() - Method in class net.neoforged.neoforge.coremods.ReplaceFieldWithGetterAccess
 
getTargetType() - Method in class net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent
Returns the living target type..
getTargetX() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getTargetY() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getTargetZ() - Method in class net.neoforged.neoforge.event.entity.EntityTeleportEvent
 
getTeleportTransition() - Method in class net.neoforged.neoforge.event.entity.player.PlayerRespawnPositionEvent
 
getTemperature() - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
Returns Synced to clients, affects foliage color, freezing, and weather effects.
getTemperature() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the temperature of the fluid.
getTemperature(FluidState, BlockAndTintGetter, BlockPos) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the temperature of the fluid.
getTemperature(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the temperature of the fluid.
getTemperatureModifier() - Method in class net.neoforged.neoforge.common.world.ClimateSettingsBuilder
Returns temperatureModifier Synced to clients, applies a positional modifier to temperature..
getTerrainAdaptation() - Method in class net.neoforged.neoforge.common.world.StructureSettingsBuilder
Gets the way the structure adapts to the terrain during generation.
getTerrainAdjustment() - Method in interface net.neoforged.neoforge.common.world.PieceBeardifierModifier
 
getTestComponent(boolean) - Method in class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.TooltipTestScreen
 
getTextFiltered(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTextFiltered(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTextIntensityFiltered(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTextIntensityFiltered(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTextIntensityPolygonOffsetFiltered(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTextIntensityPolygonOffsetFiltered(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTextIntensitySeeThroughFiltered(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTextIntensitySeeThroughFiltered(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTextPolygonOffsetFiltered(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTextPolygonOffsetFiltered(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTextSeeThroughFiltered(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTextSeeThroughFiltered(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTexture() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Texture
Returns the texture location that will be used to render the tooltip.
getTextureGetter() - Method in class net.neoforged.neoforge.client.event.ModelEvent.ModifyBakingResult
Returns a lookup function to retrieve TextureAtlasSprites by name from any of the atlases handled by the ModelManager.
getTextureLocation(LivingEntityRenderState) - Method in class net.neoforged.neoforge.oldtest.client.rendering.EntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityRenderer
 
getThrowable() - Method in record class net.neoforged.neoforge.common.util.LogMessageAdapter
 
getTickDelay(LevelReader) - Method in class net.neoforged.neoforge.fluids.BaseFlowingFluid
 
getTicketManager(ChunkPos, LevelReader) - Static method in class net.neoforged.neoforge.common.FarmlandWaterManager
 
getTickets() - Method in class net.neoforged.neoforge.common.ticket.ChunkTicketManager
 
getTickets() - Method in interface net.neoforged.neoforge.common.ticket.ITicketGetter
 
getTickTimeLogger() - Method in class net.neoforged.testframework.junit.EphemeralTestServerProvider.JUnitServer
 
getTimingData() - Method in class net.neoforged.neoforge.server.timings.TimeTracker
Returns the timings data recorded by the tracker
getTintColor() - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the tint applied to the fluid's textures.
getTintColor(FluidState, BlockAndTintGetter, BlockPos) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the tint applied to the fluid's textures.
getTintColor(FluidStack) - Method in interface net.neoforged.neoforge.client.extensions.common.IClientFluidTypeExtensions
Returns the tint applied to the fluid's textures.
getTitle() - Method in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.GroupEntry
 
getTo() - Method in class net.neoforged.neoforge.event.entity.living.LivingEquipmentChangeEvent
 
getTo() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.PlayerChangedDimensionEvent
 
getToast() - Method in class net.neoforged.neoforge.client.event.ToastAddEvent
 
getTool() - Method in class net.neoforged.neoforge.event.level.BlockDropsEvent
Returns the tool used when breaking this block; may be empty.
getToolModifiedState(UseOnContext, ItemAbility, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
Returns the state that this block should transform into when right-clicked by a tool.
getToolModifiedState(BlockState, UseOnContext, ItemAbility, boolean) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
Returns the state that this block should transform into when right-clicked by a tool.
getTooltip() - Method in class net.neoforged.neoforge.client.event.GatherEffectScreenTooltipsEvent
 
getTooltip(String, ModConfigSpec.Range<?>) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
 
getToolTip() - Method in class net.neoforged.neoforge.event.entity.player.ItemTooltipEvent
The ItemStack tooltip.
getTooltipComponent(String, ModConfigSpec.Range<?>) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
 
getTooltipElements() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.GatherComponents
Returns the modifiable list of elements to be rendered on the tooltip.
getTooltipFlag() - Method in class net.neoforged.neoforge.client.internal.NeoForgeClientProxy
 
getTooltipFlag() - Method in class net.neoforged.neoforge.internal.NeoForgeProxy
 
getTooltipFont(ItemStack, Font) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getTooltipImage(ItemStack) - Method in class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.CustomItemWithTooltip
 
getTooltipPositioner() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent.Pre
 
getTopAdditionalProperties() - Method in interface net.neoforged.neoforge.client.extensions.ResolvedModelExtension
 
getTopItem() - Method in class net.neoforged.neoforge.event.GrindstoneEvent
 
getTotalCount() - Method in class net.neoforged.neoforge.server.command.generation.GenerationTask
 
getTotem() - Method in class net.neoforged.neoforge.event.entity.living.LivingUseTotemEvent
Returns the totem of undying being used from the entity's inventory.
getTrades() - Method in class net.neoforged.neoforge.event.village.VillagerTradesEvent
 
getTransformers() - Method in class net.neoforged.neoforge.coremods.NeoForgeCoreMod
 
getTranslatedName() - Method in interface net.neoforged.neoforge.common.TranslatableEnum
Returns the translated name of this value.
getTranslationComponent(String) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
 
getTranslationKey() - Method in class net.neoforged.neoforge.common.ModConfigSpec.BuilderContext
 
getTranslationKey() - Method in class net.neoforged.neoforge.common.ModConfigSpec.ValueSpec
 
getTranslationKey(String) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
 
getTranslucentParticlesTarget(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getTranslucentParticlesTarget(ResourceLocation) - Static method in class net.neoforged.neoforge.client.NeoForgeRenderTypes.Internal
 
getTurnPlayerValues(double, boolean) - Static method in class net.neoforged.neoforge.client.ClientHooks
 
getType() - Method in class net.neoforged.neoforge.client.event.PlayerHeartTypeEvent
 
getType() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.RenderFog
Returns the type of fog being rendered.
getType() - Method in class net.neoforged.neoforge.common.crafting.BlockTagIngredient
 
getType() - Method in record class net.neoforged.neoforge.common.crafting.CompoundIngredient
 
getType() - Method in record class net.neoforged.neoforge.common.crafting.CustomDisplayIngredient
 
getType() - Method in class net.neoforged.neoforge.common.crafting.DataComponentIngredient
 
getType() - Method in record class net.neoforged.neoforge.common.crafting.DifferenceIngredient
 
getType() - Method in interface net.neoforged.neoforge.common.crafting.ICustomIngredient
Returns the type of this ingredient.
getType() - Method in record class net.neoforged.neoforge.common.crafting.IntersectionIngredient
 
getType() - Method in class net.neoforged.neoforge.common.loot.CanItemPerformAbility
 
getType() - Method in class net.neoforged.neoforge.common.loot.LootTableIdCondition
 
getType() - Method in class net.neoforged.neoforge.event.level.ChunkDataEvent.Load
 
getType() - Method in class net.neoforged.neoforge.event.village.VillagerTradesEvent
 
getType() - Method in class net.neoforged.neoforge.fluids.crafting.CompoundFluidIngredient
 
getType() - Method in class net.neoforged.neoforge.fluids.crafting.CustomDisplayFluidIngredient
 
getType() - Method in class net.neoforged.neoforge.fluids.crafting.DataComponentFluidIngredient
 
getType() - Method in class net.neoforged.neoforge.fluids.crafting.DifferenceFluidIngredient
 
getType() - Method in class net.neoforged.neoforge.fluids.crafting.FluidIngredient
Returns The type of this fluid ingredient..
getType() - Method in class net.neoforged.neoforge.fluids.crafting.IntersectionFluidIngredient
 
getType() - Method in class net.neoforged.neoforge.fluids.crafting.SimpleFluidIngredient
 
getType() - Method in class net.neoforged.neoforge.oldtest.block.CustomHeadTest.CustomSkullBlockEntity
 
getType() - Method in class net.neoforged.neoforge.oldtest.block.CustomSignsTest.CustomHangingSignBlockEntity
 
getType() - Method in class net.neoforged.neoforge.oldtest.block.CustomSignsTest.CustomSignBlockEntity
 
getType() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe
 
getType() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionNode
 
getType() - Method in record class net.neoforged.testframework.condition.TestEnabledIngredient
 
getType() - Method in record class net.neoforged.testframework.condition.TestEnabledLootCondition
 
getTypeByName(String) - Static method in class net.neoforged.neoforge.server.permission.nodes.PermissionTypes
 
getTypeId(DataComponentType<?>) - Static method in class net.neoforged.neoforge.server.command.DataComponentCommand
 
getTypes() - Method in class net.neoforged.neoforge.event.entity.EntityAttributeModificationEvent
 
getU(float) - Method in class net.neoforged.neoforge.client.textures.UnitTextureAtlasSprite
 
getUnlitTranslucent(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getUnlitTranslucent(ResourceLocation, boolean) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getUnresolved() - Method in class net.neoforged.neoforge.event.ModMismatchEvent
 
getUnsidedLevel() - Method in class net.neoforged.neoforge.client.ClientCommandSourceStack
Returns the level from the client side.
getUnsidedLevel() - Method in interface net.neoforged.neoforge.common.extensions.ICommandSourceStackExtension
 
getUnsortedTranslucent(ResourceLocation) - Static method in enum class net.neoforged.neoforge.client.NeoForgeRenderTypes
 
getUpdateCause() - Method in class net.neoforged.neoforge.event.TagsUpdatedEvent
 
getUpdatedInformation() - Method in class net.neoforged.neoforge.event.entity.player.ClientInformationUpdatedEvent
Returns the new client info to be applied to the player.
getUpdatePacket() - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlockEntity
 
getUpdatePacket() - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
 
getUpdatePacket() - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest.ItemHangerBlockEntity
 
getUpdateTag(HolderLookup.Provider) - Method in class net.neoforged.neoforge.debug.block.BlockPropertyTests.LightBlockEntity
 
getUpdateTag(HolderLookup.Provider) - Method in class net.neoforged.neoforge.oldtest.block.FullPotsAccessorDemo.DioriteFlowerPotBlockEntity
 
getUpdateTag(HolderLookup.Provider) - Method in class net.neoforged.neoforge.oldtest.client.model.CustomItemDisplayContextTest.ItemHangerBlockEntity
 
getUseAnimation(ItemStack) - Method in class net.neoforged.neoforge.oldtest.entity.player.ItemUseAnimationTest.ThingItem
 
getUseAnimation(ItemStack) - Method in class net.neoforged.neoforge.oldtest.item.CustomShieldTest.CustomShieldItem
 
getUseAnimation(ItemStack) - Method in class net.neoforged.neoforge.oldtest.item.StopUsingItemTest.InvertedTelescope
 
getUseBlock() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock
 
getUseBlock() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
 
getUseDuration(ItemStack, LivingEntity) - Method in class net.neoforged.neoforge.oldtest.item.CustomShieldTest.CustomShieldItem
 
getUseDuration(ItemStack, LivingEntity) - Method in class net.neoforged.neoforge.oldtest.item.StopUsingItemTest.InvertedTelescope
 
getUseItem() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.LeftClickBlock
 
getUseItem() - Method in class net.neoforged.neoforge.event.entity.player.PlayerInteractEvent.RightClickBlock
 
getUseOnContext() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
 
getUsePhase() - Method in class net.neoforged.neoforge.event.entity.player.UseItemOnBlockEvent
Returns The Use Phase of the interaction.
getUsername() - Method in class net.neoforged.neoforge.event.entity.player.PlayerEvent.NameFormat
 
getUsername() - Method in class net.neoforged.neoforge.event.ServerChatEvent
Returns the username of the player who initiated the chat action.
getV(float) - Method in class net.neoforged.neoforge.client.textures.UnitTextureAtlasSprite
 
getValue() - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
 
getValue() - Method in class net.neoforged.neoforge.common.util.MutableHashedLinkedMap.Entry
 
getValue() - Method in class net.neoforged.neoforge.event.StatAwardEvent
Returns the current value to be awarded to the Stat.
getValue() - Method in class net.neoforged.neoforge.server.permission.nodes.PermissionDynamicContext
 
getValueInt() - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
 
getValueLong() - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
 
getValues() - Method in class net.neoforged.neoforge.common.ModConfigSpec
 
getValueSpec(String) - Method in class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen
 
getValueString() - Method in class net.neoforged.neoforge.client.gui.widget.ExtendedSlider
 
getVanillaAdvancementProviders(PackOutput, CompletableFuture<HolderLookup.Provider>) - Static method in class net.neoforged.neoforge.common.data.internal.NeoForgeAdvancementProvider
 
getVanillaEvent() - Method in class net.neoforged.neoforge.event.VanillaGameEvent
 
getVanillaFluidType(Fluid) - Static method in class net.neoforged.neoforge.common.CommonHooks
Returns a vanilla fluid type for the given fluid.
getVanillaMultiplier() - Method in class net.neoforged.neoforge.event.entity.player.CriticalHitEvent
Gets the original damage multiplier set by vanilla.
getVanillaNoteId() - Method in class net.neoforged.neoforge.event.level.NoteBlockEvent
get the vanilla note-id, which contains information about both Note and Octave.
getVanillaProblem() - Method in class net.neoforged.neoforge.event.entity.player.CanPlayerSleepEvent
Returns the default sleeping problem based on the vanilla checks.
getVanillaRegistryKeys() - Static method in class net.neoforged.neoforge.registries.RegistryManager
 
getVanillaResult() - Method in class net.neoforged.neoforge.event.level.block.CreateFluidSourceEvent
Returns if the fluid would normally be converted to a source block.
getVector() - Method in enum class net.neoforged.neoforge.common.util.TransformationHelper.TransformOrigin
 
getVersion() - Static method in class net.neoforged.neoforge.internal.versions.neoforge.NeoForgeVersion
 
getVersionDifference(String) - Method in class net.neoforged.neoforge.event.ModMismatchEvent
 
getViscosity() - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the viscosity, or thickness, of the fluid.
getViscosity(FluidState, BlockAndTintGetter, BlockPos) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the viscosity, or thickness, of the fluid.
getViscosity(FluidStack) - Method in class net.neoforged.neoforge.fluids.FluidType
Returns the viscosity, or thickness, of the fluid.
getVisibilityModifier() - Method in class net.neoforged.neoforge.event.entity.living.LivingEvent.LivingVisibilityEvent
 
getVisibleTabs() - Method in class net.neoforged.neoforge.client.gui.CreativeTabsScreenPage
 
getWaterFogColor() - Method in class net.neoforged.neoforge.common.world.BiomeSpecialEffectsBuilder
 
getWeakChanges(BlockState, LevelReader, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockExtension
If this block should be notified of weak changes.
getWeakChanges(LevelReader, BlockPos) - Method in interface net.neoforged.neoforge.common.extensions.IBlockStateExtension
If this block should be notified of weak changes.
getWidget(Options) - Method in record class net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Element
 
getWidth() - Method in class net.neoforged.neoforge.common.util.TextTable.Column
 
getWidth(Font) - Method in record class net.neoforged.neoforge.oldtest.client.CustomTooltipTest.CustomClientTooltip
 
getWindow() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
 
getWithConditionalCodec(Codec<Optional<T>>, DynamicOps<V>, V) - Static method in interface net.neoforged.neoforge.common.conditions.ICondition
 
getWithWithConditionsCodec(Codec<Optional<WithConditions<T>>>, DynamicOps<V>, V) - Static method in interface net.neoforged.neoforge.common.conditions.ICondition
 
getX() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.BossEventProgress
Returns the X position of the boss health bar.
getX() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent
Returns the X position of the tooltip box.
getX() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent
 
getXp() - Method in class net.neoforged.neoforge.event.GrindstoneEvent
This is the experience amount determined by the event.
getXp() - Method in class net.neoforged.neoforge.event.GrindstoneEvent.OnTakeItem
This is the experience amount that will be returned by the event.
getXpOrb() - Method in class net.neoforged.neoforge.entity.XpOrbTargetingEvent
The ExperienceOrb that's looking for a player to follow.
getXpRepairRatio() - Method in interface net.neoforged.neoforge.common.extensions.IItemStackExtension
Determines the amount of durability the mending enchantment will repair, on average, per point of experience.
getXpRepairRatio(ItemStack) - Method in interface net.neoforged.neoforge.common.extensions.IItemExtension
Determines the amount of durability the mending enchantment will repair, on average, per 0.5 points of experience.
getY() - Method in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent.BossEventProgress
Returns the Y position of the boss health bar.
getY() - Method in class net.neoforged.neoforge.client.event.RenderTooltipEvent
Returns the Y position of the tooltip box.
getY() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent
 
getYaw() - Method in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeCameraAngles
Returns the yaw of the player's camera.
getZ() - Method in class net.neoforged.neoforge.event.entity.living.MobSpawnEvent
 
GitHubActionsStepSummaryDumper - Class in net.neoforged.testframework.summary
 
GitHubActionsStepSummaryDumper() - Constructor for class net.neoforged.testframework.summary.GitHubActionsStepSummaryDumper
 
GitHubActionsStepSummaryDumper(String) - Constructor for class net.neoforged.testframework.summary.GitHubActionsStepSummaryDumper
 
GitHubActionsStepSummaryDumper(Function<TestSummary, String>) - Constructor for class net.neoforged.testframework.summary.GitHubActionsStepSummaryDumper
 
giveItemToPlayer(Player, ItemStack) - Static method in class net.neoforged.neoforge.items.ItemHandlerHelper
giveItemToPlayer without preferred slot
giveItemToPlayer(Player, ItemStack, int) - Static method in class net.neoforged.neoforge.items.ItemHandlerHelper
Inserts the given itemstack into the players inventory.
GLASS_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GLASS_BLOCKS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GLASS_BLOCKS_CHEAP - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
Glass which is made from cheap resources like sand and only minor additional ingredients like dyes
GLASS_BLOCKS_CHEAP - Static variable in class net.neoforged.neoforge.common.Tags.Items
Glass which is made from cheap resources like sand and only minor additional ingredients like dyes
GLASS_BLOCKS_COLORLESS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GLASS_BLOCKS_COLORLESS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GLASS_BLOCKS_TINTED - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GLASS_BLOCKS_TINTED - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GLASS_PANES - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GLASS_PANES - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GLASS_PANES_COLORLESS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GLASS_PANES_COLORLESS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GLASS_SLAB - Static variable in class net.neoforged.neoforge.oldtest.block.HideNeighborFaceTest
 
GLASS_SLAB_ITEM - Static variable in class net.neoforged.neoforge.oldtest.block.HideNeighborFaceTest
 
GlassSlab(BlockBehaviour.Properties) - Constructor for class net.neoforged.neoforge.oldtest.block.HideNeighborFaceTest.GlassSlab
 
GLAZED_TERRACOTTAS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GLAZED_TERRACOTTAS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GLM - Static variable in class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
 
GLOBAL_LOOT_MODIFIER_SERIALIZERS - Static variable in class net.neoforged.neoforge.common.NeoForgeMod
 
GLOBAL_LOOT_MODIFIER_SERIALIZERS - Static variable in class net.neoforged.neoforge.registries.NeoForgeRegistries
 
GLOBAL_LOOT_MODIFIER_SERIALIZERS - Static variable in class net.neoforged.neoforge.registries.NeoForgeRegistries.Keys
 
globalListeners - Variable in class net.neoforged.testframework.impl.TestFrameworkImpl.TestsImpl
 
GlobalLootModifierProvider - Class in net.neoforged.neoforge.common.data
Provider for forge's GlobalLootModifier system.
GlobalLootModifierProvider(PackOutput, CompletableFuture<HolderLookup.Provider>, String) - Constructor for class net.neoforged.neoforge.common.data.GlobalLootModifierProvider
 
GlobalLootModifiersTest - Class in net.neoforged.neoforge.debug.loot
 
GlobalLootModifiersTest() - Constructor for class net.neoforged.neoforge.debug.loot.GlobalLootModifiersTest
 
GlobalLootModifiersTest.DungeonLootEnhancerModifier - Class in net.neoforged.neoforge.debug.loot
 
GlobalLootModifiersTest.SilkTouchTestModifier - Class in net.neoforged.neoforge.debug.loot
When harvesting blocks with bamboo, this modifier is invoked, via the silk_touch_bamboo loot_modifier json
GlobalLootModifiersTest.SmeltingEnchantmentModifier - Class in net.neoforged.neoforge.debug.loot
The smelting enchantment causes this modifier to be invoked, via the smelting loot_modifier json
GlobalLootModifiersTest.WheatSeedsConverterModifier - Class in net.neoforged.neoforge.debug.loot
When harvesting wheat with shears, this modifier is invoked via the wheat_harvest loot_modifier json
This modifier checks how many seeds were harvested and turns X seeds into Y wheat (3:1)
glyph - Variable in class net.neoforged.neoforge.client.gui.widget.UnicodeGlyphButton
 
glyphScale - Variable in class net.neoforged.neoforge.client.gui.widget.UnicodeGlyphButton
 
GOOD - Static variable in class net.neoforged.neoforge.oldtest.item.MayFlyAttributeTest
Successful "scope item" using the Forge method, all cases of stopping using the item will remove the flight ability
GOOD - Static variable in class net.neoforged.neoforge.oldtest.item.StopUsingItemTest
Successful "scope item" using the Forge method, all cases of stopping using the item will stop the FOV change
gotInvalidate - Static variable in class net.neoforged.neoforge.oldtest.world.item.IngredientInvalidationTest
 
GPU_WARNLIST - Static variable in class net.neoforged.neoforge.client.resources.VanillaClientListeners
 
grabNetworkableRegistries(List<RegistryDataLoader.RegistryData<?>>) - Static method in class net.neoforged.neoforge.registries.DataPackRegistriesHooks
 
grabServer() - Static method in class net.neoforged.testframework.junit.EphemeralTestServerProvider
 
GRANT - Enum constant in enum class net.neoforged.neoforge.event.entity.player.AdvancementEvent.AdvancementProgressEvent.ProgressType
 
graph - Variable in class net.neoforged.neoforge.event.SortedReloadListenerEvent
 
graphics - Variable in class net.neoforged.neoforge.client.event.RenderTooltipEvent
 
GRASS_COLOR - Static variable in class net.neoforged.neoforge.client.resources.VanillaClientListeners
 
GRAVELS - Static variable in class net.neoforged.neoforge.common.Tags.Blocks
 
GRAVELS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
GREATER - Enum constant in enum class net.neoforged.neoforge.client.stencil.StencilFunction
 
green - Variable in class net.neoforged.neoforge.client.event.ViewportEvent.ComputeFogColor
 
GrindstoneEvent - Class in net.neoforged.neoforge.event
 
GrindstoneEvent(ItemStack, ItemStack, int) - Constructor for class net.neoforged.neoforge.event.GrindstoneEvent
 
GrindstoneEvent.OnPlaceItem - Class in net.neoforged.neoforge.event
This event is ICancellableEvent
GrindstoneEvent.OnPlaceItem is fired when the inputs to a grindstone are changed.
GrindstoneEvent.OnTakeItem - Class in net.neoforged.neoforge.event
This event is ICancellableEvent
GrindstoneEvent.OnTakeItem is fired when the output in a grindstone are is taken.
GrindstoneEventTest - Class in net.neoforged.neoforge.oldtest.misc
 
GrindstoneEventTest() - Constructor for class net.neoforged.neoforge.oldtest.misc.GrindstoneEventTest
 
group - Variable in class net.neoforged.neoforge.debug.crafting.IngredientTests.CompressedShapelessRecipeBuilder
 
group - Variable in record class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe.Ingredients
The field for the group record component.
group - Variable in class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.GroupEntry
 
group() - Method in class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe
 
group() - Method in record class net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestRecipe.Ingredients
Returns the value of the group record component.
group(String) - Method in class net.neoforged.neoforge.debug.crafting.IngredientTests.CompressedShapelessRecipeBuilder
 
Group - Class in net.neoforged.testframework.group
 
Group(String, List<Groupable>) - Constructor for class net.neoforged.testframework.group.Group
 
GROUP - Static variable in class net.neoforged.neoforge.debug.block.BlockTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.client.DimensionTransitionScreenTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.client.MapDecorationRenderTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.CustomHelperTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.damagesource.DamageTypeTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.data.registries.DatapackEntryTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.enchantment.EnchantmentLevelTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.entity.EntityDataSerializerTest
 
GROUP - Static variable in class net.neoforged.neoforge.debug.entity.EntityTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.entity.living.LivingEntityTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.entity.player.PlayerTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.entity.TradeTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.entity.vehicle.CustomBoatTest
 
GROUP - Static variable in class net.neoforged.neoforge.debug.EventTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.fluid.ClientFluidTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.fluid.FluidTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.item.ItemTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.level.LevelTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.registries.HolderSetTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.registry.BiomeModifierSyncTest
 
GROUP - Static variable in class net.neoforged.neoforge.debug.resources.BulkKnownPackTest
 
GROUP - Static variable in class net.neoforged.neoforge.debug.resources.ModDatapackTest
 
GROUP - Static variable in class net.neoforged.neoforge.debug.resources.OverlayTests
 
GROUP - Static variable in class net.neoforged.neoforge.debug.resources.RichTranslationsTest
 
GROUP - Static variable in class net.neoforged.neoforge.debug.structure.StructureTests
 
Groupable - Interface in net.neoforged.testframework.group
 
groupableList - Variable in class net.neoforged.testframework.client.TestScreen
 
GroupableList(BooleanSupplier, List<Group>, Supplier<Stream<Test>>, Minecraft, int, int, int, int) - Constructor for class net.neoforged.testframework.client.AbstractTestScreen.GroupableList
 
GroupableList(Function<String, List<? extends AbstractTestScreen.GroupableList.Entry>>, Minecraft, int, int, int, int) - Constructor for class net.neoforged.testframework.client.AbstractTestScreen.GroupableList
 
GroupData(String, Component, boolean, String[]) - Constructor for record class net.neoforged.testframework.impl.FrameworkCollectors.GroupData
Creates an instance of a GroupData record class.
GroupEntry(Group) - Constructor for class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.GroupEntry
 
GroupEntry(Group, boolean) - Constructor for class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.GroupEntry
 
groups - Variable in class net.neoforged.testframework.client.TestScreen
 
groups - Variable in class net.neoforged.testframework.impl.test.AbstractTest
 
groups - Variable in class net.neoforged.testframework.impl.TestFrameworkImpl.TestsImpl
 
groups - Variable in record class net.neoforged.testframework.summary.TestSummary.TestInfo
The field for the groups record component.
groups() - Element in annotation interface net.neoforged.testframework.annotation.ForEachTest
Returns the groups in which child tests will be, by default.
groups() - Element in annotation interface net.neoforged.testframework.annotation.TestHolder
Returns the groups the test is in.
groups() - Method in class net.neoforged.testframework.impl.test.AbstractTest
 
groups() - Method in record class net.neoforged.testframework.summary.TestSummary.TestInfo
Returns the value of the groups record component.
groups() - Method in interface net.neoforged.testframework.Test
A list of the groups of this test.
groupsWithAnnotation(ModContainer, Consumer<FrameworkCollectors.GroupData>) - Static method in class net.neoforged.testframework.impl.FrameworkCollectors
Collects group information from string fields annotated with TestGroup.
grow(int) - Method in class net.neoforged.neoforge.fluids.FluidStack
Adds the given amount to this stack.
GROW - Enum constant in enum class net.neoforged.neoforge.event.level.block.CropGrowEvent.Pre.Result
Forces the event to make the crop grow.
gson - Static variable in class net.neoforged.neoforge.common.UsernameCache
 
GSON - Static variable in class net.neoforged.neoforge.common.crafting.RecipePriorityManager
 
GSON - Static variable in class net.neoforged.neoforge.common.data.GlobalLootModifierProvider
 
GSON - Static variable in class net.neoforged.neoforge.common.loot.LootModifierManager
 
GSON - Static variable in class net.neoforged.neoforge.common.util.flag.FeatureFlagLoader
 
GSON - Static variable in class net.neoforged.neoforge.coremods.CoremodUtils
 
GSON - Static variable in record class net.neoforged.neoforge.network.payload.RegistryDataMapSyncPayload
 
GSON - Static variable in class net.neoforged.neoforge.oldtest.conditions.ConditionalCodecTest
 
GSON - Static variable in class net.neoforged.neoforge.oldtest.DataGeneratorTest
 
GSON - Static variable in class net.neoforged.neoforge.oldtest.world.LoginPacketSplitTest
 
guard(CompletableFuture<T>, ResourceLocation) - Static method in class net.neoforged.neoforge.network.registration.NetworkRegistry
Helper to guard futures generated by IPayloadContext against exceptions.
GUI - Enum constant in enum class net.neoforged.neoforge.client.settings.KeyConflictContext
Gui key bindings are only used when a Screen is open.
GUI_SPRITES - Static variable in class net.neoforged.neoforge.client.resources.VanillaClientListeners
 
guiGraphics - Variable in class net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
 
guiGraphics - Variable in class net.neoforged.neoforge.client.event.CustomizeGuiOverlayEvent
 
guiGraphics - Variable in class net.neoforged.neoforge.client.event.RenderGuiEvent
 
guiGraphics - Variable in class net.neoforged.neoforge.client.event.RenderGuiLayerEvent
 
guiGraphics - Variable in class net.neoforged.neoforge.client.event.ScreenEvent.Render
 
GuiLayerManager - Class in net.neoforged.neoforge.client.gui
Adaptation of LayeredDraw that is used for Gui rendering specifically, to give layers a name and fire appropriate events.
GuiLayerManager() - Constructor for class net.neoforged.neoforge.client.gui.GuiLayerManager
 
GuiLayerManager.NamedLayer - Record Class in net.neoforged.neoforge.client.gui
 
guiLayers - Static variable in class net.neoforged.neoforge.client.ClientHooks
Contains the *extra* GUI layers.
guiLight - Variable in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplate
 
guiLight - Variable in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplateBuilder
 
guiLight - Variable in record class net.neoforged.neoforge.client.model.StandardModelParameters
The field for the guiLight record component.
guiLight() - Method in class net.neoforged.neoforge.client.model.AbstractUnbakedModel
 
guiLight() - Method in class net.neoforged.neoforge.client.model.DelegateUnbakedModel
 
guiLight() - Method in record class net.neoforged.neoforge.client.model.StandardModelParameters
Returns the value of the guiLight record component.
guiLight(UnbakedModel.GuiLight) - Method in class net.neoforged.neoforge.client.model.generators.template.ExtendedModelTemplateBuilder
Sets the gui light style for this model.
GuiTests - Class in net.neoforged.neoforge.debug.client
 
GuiTests() - Constructor for class net.neoforged.neoforge.debug.client.GuiTests
 
GuiTests.TestLayer - Class in net.neoforged.neoforge.debug.client
 
GUNPOWDERS - Static variable in class net.neoforged.neoforge.common.Tags.Items
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form