Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CraftTweaker/CraftTweaker
/ functions
Functions
8,150 in github.com/CraftTweaker/CraftTweaker
⨍
Functions
8,150
◇
Types & classes
1,621
↓ 2 callers
Method
getLootData
()
common/src/main/java/com/blamejared/crafttweaker/api/loot/table/LootTableManager.java:63
↓ 2 callers
Method
getMaxWidth
(T[][] array)
common/src/main/java/com/blamejared/crafttweaker/api/util/ArrayUtil.java:54
↓ 2 callers
Method
getMirrorAxis
()
common/src/main/java/com/blamejared/crafttweaker/api/recipe/type/CTShapedRecipe.java:295
↓ 2 callers
Method
getMod
(String modid)
common/src/main/java/com/blamejared/crafttweaker/platform/services/IPlatformHelper.java:68
↓ 2 callers
Method
getNativeTypeRegistry
Obtains the {@link INativeTypeRegistry} for the given loader. @param loader The {@link IScriptLoader} for which the native type registry should be ob
common/src/main/java/com/blamejared/crafttweaker/api/zencode/IZenClassRegistry.java:179
↓ 2 callers
Method
getOrCreateFor
(final Class<?>[] parameterTypes, final Consumer<ExecutableReferenceInfo.AnnotationCreator> consumer)
common/src/main/java/com/blamejared/crafttweaker/impl/registry/natives/ExecutableReferenceGroupInfo.java:16
↓ 2 callers
Method
getOrThrow
Gets the values that are being pointed to by the given {@link IRecipeComponent}. <p>If the given component is not part of this decomposed recipe inst
common/src/main/java/com/blamejared/crafttweaker/api/recipe/component/IDecomposedRecipe.java:75
↓ 2 callers
Method
getOriginalContent
Gets the original content of the name tag. This can not be changed by mods. @return The original name tag content.
common/src/main/java/com/blamejared/crafttweaker/api/entity/NameTagResult.java:61
↓ 2 callers
Method
getPathMatcher
(final String syntaxAndPattern)
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipeFileSystem.java:137
↓ 2 callers
Method
getPlayer
(PlayerList internal, UUID uuid)
common/src/main/java/com/blamejared/crafttweaker/natives/server/ExpandPlayerList.java:66
↓ 2 callers
Method
getPosition
( final IScriptFile file, final List<String> contents, final int line,
common/src/main/java/com/blamejared/crafttweaker/impl/preprocessor/onlyif/OnlyIfPreprocessor.java:185
↓ 2 callers
Method
getProfession
Gets the villager profession based on registry name. Throws an exception if it can't find the profession. @param tokens The profession's resource loc
common/src/main/java/com/blamejared/crafttweaker/api/bracket/BracketHandlers.java:293
↓ 2 callers
Method
getRecipe
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/impl/script/ScriptSerializerTest.java:53
↓ 2 callers
Method
getRecipeHandlerFor
Obtains the {@link IRecipeHandler} responsible for the given recipe. @param recipe The recipe whose handler should be identified. @param <T> The t
common/src/main/java/com/blamejared/crafttweaker/api/ICraftTweakerRegistry.java:154
↓ 2 callers
Method
getRecipeHandlerFor
(final T recipe)
common/src/main/java/com/blamejared/crafttweaker/api/recipe/handler/IRecipeHandlerRegistry.java:19
↓ 2 callers
Method
getRecipeLists
()
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionWholeRegistryBase.java:31
↓ 2 callers
Method
getRecipeMap
Returns a map of all known recipes. @return A Map of recipe name to recipe of all known recipes.
common/src/main/java/com/blamejared/crafttweaker/api/recipe/manager/GenericRecipesManager.java:193
↓ 2 callers
Method
getRegistryName
Gets the registry name for the Item in this IItemStack @return registry name of the Item this IItemStack represents
common/src/main/java/com/blamejared/crafttweaker/api/item/IItemStack.java:147
↓ 2 callers
Method
getRegistryName
Gets the registry name of the data component type. @return The registry name of the data component type.
common/src/main/java/com/blamejared/crafttweaker/natives/component/ExpandDataComponentType.java:48
↓ 2 callers
Method
getRegistryName
Gets the registry name of this block. @return A ResourceLocation of the registry name of this block.
common/src/main/java/com/blamejared/crafttweaker/natives/block/ExpandBlock.java:37
↓ 2 callers
Method
getReplacerRegistry
Offers access to the {@link IReplacerRegistry}. @return The {@link IReplacerRegistry}. @since 10.0.0
common/src/main/java/com/blamejared/crafttweaker/api/ICraftTweakerRegistry.java:286
↓ 2 callers
Method
getResult
(MobDespawnEvent internal)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/spawn/ExpandMobDespawnEvent.java:31
↓ 2 callers
Method
getResult
(PlayerSleepInBedEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerSleepInBedEvent.java:26
↓ 2 callers
Method
getResultItem
(HolderLookup.Provider lookup)
common/src/main/java/com/blamejared/crafttweaker/api/recipe/type/CTShapedRecipe.java:190
↓ 2 callers
Method
getRoot
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipePath.java:108
↓ 2 callers
Method
getRootPackages
Gets the set of all the packages that act as root for the given loader. @param loader The {@link IScriptLoader} for which root packages should be gat
common/src/main/java/com/blamejared/crafttweaker/api/zencode/IZenClassRegistry.java:168
↓ 2 callers
Method
getSlotFor
(ItemStack stack)
common/src/main/java/com/blamejared/crafttweaker/platform/helper/inventory/IInventoryWrapper.java:15
↓ 2 callers
Method
getSlots
Gets the amount of slots in the handler. @return The amount of slots in the handler.
neoforge/src/main/java/com/blamejared/crafttweaker/natives/capability/ExpandIItemHandler.java:21
↓ 2 callers
Method
getStyle
(Component internal)
common/src/main/java/com/blamejared/crafttweaker/natives/text/ExpandComponent.java:71
↓ 2 callers
Method
getSubject
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/impl/loot/condition/LootTableIdRegexConditionTest.java:48
↓ 2 callers
Method
getSubject
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/impl/loot/condition/LootTableIdConditionTest.java:50
↓ 2 callers
Method
getSubject
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/recipe/serializer/CTShapelessRecipeSerializerTest.java:67
↓ 2 callers
Method
getSubject
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/recipe/serializer/CTShapedRecipeSerializerTest.java:68
↓ 2 callers
Method
getTaggableElement
(final ResourceKey<T> key)
common/src/main/java/com/blamejared/crafttweaker/impl/registry/zencode/TaggableElementRegistry.java:36
↓ 2 callers
Method
getTarget
(FillBucketEvent internal)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandFillBucketEvent.java:41
↓ 2 callers
Method
getTargetCommandString
()
common/src/main/java/com/blamejared/crafttweaker/api/action/block/ActionSetBlockProperty.java:95
↓ 2 callers
Method
getTests
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/framework/SpecialCaseTestReporter.java:106
↓ 2 callers
Method
getWidth
(ShapedRecipe internal)
common/src/main/java/com/blamejared/crafttweaker/natives/recipe/type/ExpandShapedRecipe.java:31
↓ 2 callers
Method
getX
Gets the x coordinate of the entity. @return The x coordinate of the entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1738
↓ 2 callers
Method
getZ
Gets the z coordinate of the entity. @return The z coordinate of the entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1824
↓ 2 callers
Method
handle
(final Method method)
fabric/src/main/java/com/blamejared/crafttweaker/api/event/bus/FabricEventBusWire.java:348
↓ 2 callers
Method
hasAll
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/RecipeManagerScriptLoader.java:144
↓ 2 callers
Method
hasCustomName
()
common/src/main/java/com/blamejared/crafttweaker/api/component/ComponentAccess.java:368
↓ 2 callers
Method
hasNext
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipeDirectoryStream.java:36
↓ 2 callers
Method
hashCode
()
fabric/src/main/java/com/blamejared/crafttweaker/api/item/MCItemStack.java:122
↓ 2 callers
Method
holderFromLocationOrThrow
(ResourceKey<?> registry, ResourceLocation location)
common/src/main/java/com/blamejared/crafttweaker/platform/services/IRegistryHelper.java:68
↓ 2 callers
Method
holderValues
()
common/src/main/java/com/blamejared/crafttweaker/api/action/tag/unknown/ActionUnknownTagModify.java:28
↓ 2 callers
Method
holderValues
()
common/src/main/java/com/blamejared/crafttweaker/api/action/tag/known/ActionKnownTagModify.java:26
↓ 2 callers
Method
id
()
common/src/main/java/com/blamejared/crafttweaker/api/recipe/component/SimpleRecipeComponent.java:23
↓ 2 callers
Method
inflate
(final List<IIngredient> flattened, final int width, final int height)
common/src/main/java/com/blamejared/crafttweaker/api/util/RecipeUtil.java:58
↓ 2 callers
Method
ingredient
(List<Ingredient> children)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/vanilla/type/IngredientList.java:21
↓ 2 callers
Method
inheritFrom
(final Collection<LoaderSpecificZenClassRegistry> registries)
common/src/main/java/com/blamejared/crafttweaker/impl/registry/zencode/LoaderSpecificZenClassRegistry.java:286
↓ 2 callers
Method
inheritedLoaders
Gets a {@link Collection} of the loaders from which this loader inherits directly. @return All direct parents of this loader. @since 9.1.0
common/src/main/java/com/blamejared/crafttweaker/api/zencode/IScriptLoader.java:62
↓ 2 callers
Method
isClientSide
(LevelReader internal)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandLevelReader.java:44
↓ 2 callers
Method
isComplete
Checks if this task is complete. @param actor The actor that is being sequenced. @param context The context for the sequence. @docParam actor leve
common/src/main/java/com/blamejared/crafttweaker/api/util/sequence/task/ISequenceTask.java:41
↓ 2 callers
Method
isKeyDown
(KeyMapping keyBinding)
neoforge/src/main/java/com/blamejared/crafttweaker/platform/client/NeoForgeClientHelper.java:13
↓ 2 callers
Method
isKeyDown
(KeyMapping keyBinding)
forge/src/main/java/com/blamejared/crafttweaker/platform/client/ForgeClientHelper.java:13
↓ 2 callers
Method
isLoaded
Checks if the block at a given position is in a loaded chunk. @param pos The position to look up. @return Whether the position is in a loaded chunk.
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandLevel.java:283
↓ 2 callers
Method
isModLoaded
(String modId)
common/src/main/java/com/blamejared/crafttweaker/platform/services/IPlatformHelper.java:60
↓ 2 callers
Method
isRegularFile
()
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipeFileAttributes.java:46
↓ 2 callers
Method
isServer
()
common/src/main/java/com/blamejared/crafttweaker/platform/services/IDistributionHelper.java:54
↓ 2 callers
Method
isSingleplayer
()
common/src/main/java/com/blamejared/crafttweaker/platform/services/IClientHelper.java:28
↓ 2 callers
Method
light
(final LocationPredicate.Builder internal, final LightPredicate.Builder predicate)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandLocationPredicateBuilder.java:88
↓ 2 callers
Method
lines
(final Logger logger, final Path file)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/ScriptFile.java:92
↓ 2 callers
Method
linkField
Obtains a new {@link VarHandle} to the specified field with the given {@link AccessType}. <p>If more than one name needs to be specified, refer to {@
common/src/main/java/com/blamejared/crafttweaker/api/util/HandleUtil.java:291
↓ 2 callers
Method
loadSource
Gets the {@link IScriptLoadSource} that is responsible for this script run. @return The load source responsible for this run. @implSpec This is equi
common/src/main/java/com/blamejared/crafttweaker/api/zencode/scriptrun/IScriptRunInfo.java:97
↓ 2 callers
Method
lookup
(ResourceKey<? extends Registry<? extends T>> key)
common/src/main/java/com/blamejared/crafttweaker/api/registry/TagAddingRegistryLookup.java:26
↓ 2 callers
Method
lookupOrThrow
(ResourceKey<? extends Registry<T>> key)
common/src/main/java/com/blamejared/crafttweaker/platform/helper/IAccessibleElementsProvider.java:29
↓ 2 callers
Method
makeForWeapon
(final IItemStack weapon, final boolean matchComponents)
common/src/main/java/com/blamejared/crafttweaker/natives/loot/modifier/ModifierSpecificExpandEntityType.java:156
↓ 2 callers
Method
makeRandomTestData
()
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/data/op/DataOpsRoundtripTest.java:132
↓ 2 callers
Method
makeRecipeList
(Map<String, Integer> recipeTypes)
common/src/main/java/com/blamejared/crafttweaker/api/action/recipe/generic/ActionWholeRegistryBase.java:39
↓ 2 callers
Method
makeRegistry
(ResourceKey<Registry<T>> resourceKey)
common/src/main/java/com/blamejared/crafttweaker/platform/services/IRegistryHelper.java:101
↓ 2 callers
Method
makeRelativeToGameDirectory
Changes the given path to be relative to the current game directory. <p>The given string is automatically converted into a path with the same {@link
common/src/main/java/com/blamejared/crafttweaker/api/util/PathUtil.java:69
↓ 2 callers
Method
managers
Gets all registered {@link ITagManager}'s @return All registered {@link ITagManager}'s
common/src/main/java/com/blamejared/crafttweaker/api/tag/CraftTweakerTagRegistry.java:95
↓ 2 callers
Method
matches
(SimpleFluidStack first, SimpleFluidStack second)
fabric/src/main/java/com/blamejared/crafttweaker/impl/fluid/SimpleFluidStack.java:121
↓ 2 callers
Method
mergeIngredients
(IIngredient... ingredients)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/IngredientConverter.java:79
↓ 2 callers
Method
method
(final Method dumper)
common/src/main/java/com/blamejared/crafttweaker/impl/plugin/crafttweaker/BracketParserRegistrationManager.java:69
↓ 2 callers
Method
modifyHandlers
(final Supplier<R> block)
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/PhasedEventBus.java:136
↓ 2 callers
Method
mul
Multiplies the given IData to this IData. @param other the other data to multiply by. @return A new IData after multiplying the other data. @docPar
common/src/main/java/com/blamejared/crafttweaker/api/data/IData.java:142
↓ 2 callers
Method
name
()
common/src/main/java/com/blamejared/crafttweaker/impl/command/CommandImpl.java:43
↓ 2 callers
Method
newByteChannel
(final Path path, final Set<? extends OpenOption> options, final FileAttribute<?>... attrs)
common/src/main/java/com/blamejared/crafttweaker/impl/script/recipefs/RecipeFileSystemProvider.java:100
↓ 2 callers
Method
objectType
Gets a {@link TypeToken} representing the type of objects pointed to by this component. @return The type. @since 10.0.0
common/src/main/java/com/blamejared/crafttweaker/api/recipe/component/IRecipeComponent.java:159
↓ 2 callers
Method
of
(final String name, final Stream<String> lines, final RunInfo info, final Collection<IPreprocessor> preprocess
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/ScriptFile.java:58
↓ 2 callers
Method
of
(final IScriptRunInfo info, final List<SourceFile> sources, final ScriptingEngineLogger logger)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/runner/ScriptRunner.java:34
↓ 2 callers
Method
of
(IItemStack crtIngredient)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/vanilla/type/IngredientIItemStack.java:16
↓ 2 callers
Method
of
(String value)
common/src/main/java/com/blamejared/crafttweaker/api/data/StringData.java:143
↓ 2 callers
Method
of
()
common/src/main/java/com/blamejared/crafttweaker/api/data/op/DecidingListDataAdapter.java:14
↓ 2 callers
Method
of
(final UnaryOperator<T> operator, final String description)
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/DescriptiveUnaryOperator.java:21
↓ 2 callers
Method
of
Creates a new rule filtering recipes based on the given {@link Predicate}. <p>The predicate gets access to the {@link Recipe} instance directly, allo
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/type/CustomFilteringRule.java:49
↓ 2 callers
Method
of
Obtains a new instance of this class wrapping the defined names. <p>Name duplicates are automatically removed.</p> @param names The names to wrap.
common/src/main/java/com/blamejared/crafttweaker/api/util/HandleUtil.java:167
↓ 2 callers
Method
onMainThread
(final CommandSourceStack source, final Runnable runnable)
common/src/main/java/com/blamejared/crafttweaker/impl/command/type/conflict/ConflictCommand.java:218
↓ 2 callers
Method
onlyIf
(String uid, @ZenCodeType.Optional Predicate<IItemStack> function)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/IIngredient.java:380
↓ 2 callers
Method
original
Obtains the original exception that caused the handling exception to be thrown initially. <p>This exception need not match the {@linkplain #getCause(
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/BusHandlingException.java:33
↓ 2 callers
Method
postCatching
(final T event, final Consumer<BusHandlingException> exceptionHandler)
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/PhasedEventBus.java:89
↓ 2 callers
Method
process
(IItemStack usualOut, IItemStack inputs)
common/src/main/java/com/blamejared/crafttweaker/api/recipe/fun/RecipeFunction0D.java:14
↓ 2 callers
Method
properties
(final FluidPredicate.Builder internal, final StatePropertiesPredicate predicate)
common/src/main/java/com/blamejared/crafttweaker/natives/predicate/builder/ExpandFluidPredicateBuilder.java:29
↓ 2 callers
Method
queryGameTestLogger
()
common/src/main/java/com/blamejared/crafttweaker/impl/logging/CraftTweakerLog4jEditor.java:138
↓ 2 callers
Method
queryHandlers
(final R event, final Consumer<BusHandlingException> exceptionHandler, final Consumer<R> block)
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/PhasedEventBus.java:140
↓ 2 callers
Method
receive
Acts on the received data. @param data The data that was received. @param context information related to the received data.
common/src/main/java/com/blamejared/crafttweaker/api/network/CTNetworkReceiver.java:30
↓ 2 callers
Method
redirect
(final IRecipeManager<?> manager, final T second, final Recipe<?> first)
common/src/main/java/com/blamejared/crafttweaker/impl/recipe/handler/helper/SmithingRecipeConflictChecker.java:29
← previous
next →
901–1,000 of 8,150, ranked by callers