MCPcopy Create free account

hub / github.com/CraftTweaker/CraftTweaker / functions

Functions8,150 in github.com/CraftTweaker/CraftTweaker

MethodnormalizedPositiveY
(Vector3f dir)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandMatrix3f.java:820
MethodnormalizedPositiveZ
(Vector3f dir)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandMatrix3f.java:800
Methodnorth
(Vec3i internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandVec3i.java:91
Methodnorth
(BlockPos internal)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandBlockPos.java:95
Methodnot
()
common/src/main/java/com/blamejared/crafttweaker/api/data/BoolData.java:68
MethodnotAllOf
(final LootItemCondition.Builder... builders)
common/src/main/java/com/blamejared/crafttweaker/api/loot/condition/LootConditions.java:81
MethodnotComparable
(final T a, final T b)
common/src/main/java/com/blamejared/crafttweaker/api/recipe/component/RecipeComponentEqualityCheckers.java:46
MethodnotEmptyStack
(IIngredient iIngredient)
common/src/main/java/com/blamejared/crafttweaker/api/ingredient/IngredientConverter.java:91
FunctionnotNeoTask
buildSrc/src/main/kotlin/crafttweaker.modloader-conventions.gradle.kts:63
MethodnotSupportedCast
(String toType)
common/src/main/java/com/blamejared/crafttweaker/api/data/IData.java:725
MethodnotSupportedOperator
(OperatorType operator)
common/src/main/java/com/blamejared/crafttweaker/api/data/IData.java:720
MethodnotifyTrade
Notifies the merchant that a trade has occurred. @param offer The {@link MerchantOffer} that occurred.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/villager/ExpandMerchant.java:62
MethodnotifyTradeUpdated
Notifies the merchant that the trade has been updated. @param stack The {@link ItemStack} that was traded.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/villager/ExpandMerchant.java:73
MethodnullElementReturnsNull
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/data/converter/JsonConverterTest.java:29
MethodnullObjectReturnsNull
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/data/converter/JsonConverterTest.java:37
MethodnullReturnsNull
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/data/converter/TagToDataConverterTest.java:42
MethodnullToEmpty
(@ZenCodeType.Nullable String content)
common/src/main/java/com/blamejared/crafttweaker/natives/text/ExpandComponent.java:23
MethodnumberTypeCreatesNumberData
(GameTestHelper helper)
common/src/gametest/java/com/blamejared/crafttweaker/gametest/test/api/data/converter/JsonConverterTest.java:57
Methodnutrition
Sets the nutrition value of the food properties. @param nutrition The new nutrition value. @return this builder for chaining.
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:313
MethodobliqueZ
(float a, float b)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandMatrix3f.java:920
Methodof
(T ingredient)
neoforge/src/main/java/com/blamejared/crafttweaker/api/ingredient/vanilla/CraftTweakerIngredients.java:51
Methodof
(KnownTag<Item> tag, int count)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/ingredient/ExpandSizedIngredient.java:24
Methodof
()
neoforge/src/main/java/com/blamejared/crafttweaker/natives/ingredient/ExpandFluidIngredient.java:26
Methodof
(Fluid fluid, int amount)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/ingredient/ExpandSizedFluidIngredient.java:34
Methodof
(DamageSource source, float originalDamage)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageContainer.java:18
Methodof
(BiFunction<DamageContainer, Float, Float> func)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandIReductionFunction.java:18
Methodof
(T ingredient)
fabric/src/main/java/com/blamejared/crafttweaker/api/ingredient/vanilla/CraftTweakerIngredients.java:52
Methodof
(CraftTweakerVanillaIngredientSerializer<T> ingredient)
fabric/src/main/java/com/blamejared/crafttweaker/api/ingredient/vanilla/CraftTweakerIngredients.java:70
Methodof
Builds a new {@link IEventCancellationCarrier} for Fabric events. <p>Given that Fabric events are represented by functional interfaces, the cancellat
fabric/src/main/java/com/blamejared/crafttweaker/api/event/FabricEventCancellationCarrier.java:44
Methodof
()
fabric/src/main/java/com/blamejared/crafttweaker/api/event/bus/DefaultToAllPhaseMapper.java:19
Methodof
(final Map.Entry<ResourceLocation, Phase>... phases)
fabric/src/main/java/com/blamejared/crafttweaker/api/event/bus/OneToOnePhaseMapper.java:23
Methodof
Constructs a new {@link FabricEventBusWire} for the given event bus, functional interface, and wrapper. <p>The {@linkplain IFabricPhaseMapper mapping
fabric/src/main/java/com/blamejared/crafttweaker/api/event/bus/FabricEventBusWire.java:113
Methodof
()
common/src/main/java/com/blamejared/crafttweaker/impl/plugin/core/PluginManager.java:71
Methodof
(final IScriptRunInfo info, final List<SourceFile> sources, final ScriptingEngineLogger logger)
common/src/main/java/com/blamejared/crafttweaker/impl/script/scriptrun/runner/ScriptRunner.java:58
Methodof
Creates a new rule that filters recipes that have the given {@link IRecipeComponent}. <p>The value of the component is not checked, merely its presen
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/type/ComponentFilteringRule.java:67
Methodof
Creates a new rule filtering recipes based on the given managers. @param managers The managers that should be filtered. @return A new rule carrying
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/type/TypeFilteringRule.java:43
Methodof
Creates a new rule filtering recipes based on the given mod ids. @param modIds The mod ids to check for. @return A rule carrying out what has been s
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/type/ModsFilteringRule.java:43
Methodof
Inverts the specified rule. @param rule The rule to invert. @return The inverted rule. @since 10.0.0
common/src/main/java/com/blamejared/crafttweaker/api/recipe/replacement/type/NotFilteringRule.java:43
Methodof
()
common/src/main/java/com/blamejared/crafttweaker/api/recipe/component/DecomposedRecipeBuilder.java:73
Methodof
(final TypeToken<T> eventType, final IEventBusWire wire)
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/DirectEventBus.java:23
Methodof
(final TypeToken<T> token, final IEventBusWire wire, final IEventCancellationCarrier<T> carrier)
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/CancelingEventBus.java:29
Methodof
Obtains an instance of a {@link CommonWirelessEventBusWire}. @return An event wire instance. @since 11.0.0
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/CommonWirelessEventBusWire.java:27
Methodof
Constructs a new {@link CommonAdaptingEventBusWire} with the given parameters. <p>The newly built wire will first delegate to the given {@code delega
common/src/main/java/com/blamejared/crafttweaker/api/event/bus/CommonAdaptingEventBusWire.java:116
Methodof
(@ZenCodeType.Nullable Item back, @ZenCodeType.Nullable Item left, @ZenCodeType.Nullable Item right, @ZenCodeT
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandPotDecorations.java:17
Methodof
(List<Component> lines)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemLore.java:17
Methodof
(List<SuspiciousStewEffects.Entry> entries)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandSuspiciousStewEffects.java:20
Methodof
(MobEffect effect, int duration)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandSuspiciousStewEffects.java:43
Methodof
The item hover name that will allow unlocking this code. @param name The hover name to compare against. @return A new LockCode instance.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandLockCode.java:21
Methodof
Creates a new BundleContents with the given items. @param items The items to add to the bundle. @return The new BundleContents.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandBundleContents.java:29
Methodof
Creates a new MutableBundleContents with the given contents. @param contents The contents to add to the MutableBundleContents. @return The new Mutab
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandBundleContents.java:86
Methodof
The map id to assign to the new object. @param value A map id. These are assigned by vanilla on the server side. @return A new MapId instance.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandMapId.java:19
Methodof
Creates a new AdventureModePredicate with the given predicates and showInTooltip flag. @param predicates The list of block predicates. @param show
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandAdventureModePredicate.java:29
Methodof
(ResourceKey<LootTable> lootTable, long seed)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandSeededContainerLoot.java:16
Methodof
(List<Filterable<String>> pages)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandWritableBookContent.java:17
Methodof
(@ZenCodeType.Optional ItemEnchantments enchantments)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemEnchantments.java:73
Methodof
Creates a new DyedItemColor with the given RGB color and whether it should show in the tooltip. @param rgb The RGB color of the DyedItemCol
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandDyedItemColor.java:22
Methodof
(int rgb)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandMapItemColor.java:14
Methodof
Creates a new CustomData with the given data. @param tag The data to create the CustomData from. @return The new CustomData.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandCustomData.java:25
Methodof
(Map<String, MapDecorations.Entry> decorations)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandMapDecorations.java:17
Methodof
(@ZenCodeType.Nullable GlobalPos target, boolean tracked)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandLodestoneTracker.java:18
Methodof
Creates a new ChargedProjectiles with the given item. @param stack The item to create the ChargedProjectiles from. @return The new ChargedProjectile
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandChargedProjectiles.java:26
Methodof
(Potion potion, int customColour, List<MobEffectInstance> customEffects)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandPotionContents.java:21
Methodof
Creates a new Tool instance with the specified rules, default mining speed, and damage per block. @param rules The list of rules that de
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandTool.java:34
Methodof
Creates a new CustomModelData with the given value. @param value The value to create the CustomModelData with. @return The new CustomModelData.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandCustomModelData.java:21
Methodof
(List<IItemStack> items)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemContainerContents.java:22
Methodof
Creates a new FireworkExplosion with the given shape, colors, fade colors, whether it has a trail, and whether it has twinkle. @param shape The
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandFireworkExplosion.java:30
Methodof
Creates a new BlockItemStateProperties with the given properties. @param properties The properties. @return The new BlockItemStateProperties.
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandBlockItemStateProperties.java:26
Methodof
Creates a new Fireworks with the given flight duration and explosions. @param flightDuration The flight duration of the Fireworks. @param explosions
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandFireworks.java:25
Methodof
(List<ItemAttributeModifiers.Entry> modifiers, boolean showInTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:23
Methodof
(Attribute attribute, AttributeModifier modifier, EquipmentSlotGroup slot)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandItemAttributeModifiers.java:76
Methodof
(boolean showInTooltip)
common/src/main/java/com/blamejared/crafttweaker/natives/item/component/ExpandUnbreakable.java:14
Methodof
Creates a new ArmorTrim. @param material The material of the armor trim. @param pattern The pattern of the armor trim. @param showInToolti
common/src/main/java/com/blamejared/crafttweaker/natives/item/armortrim/ExpandArmorTrim.java:29
Methodof
(Enchantment enchantment, IntProvider level)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/provider/type/ExpandSingleEnchantment.java:18
Methodof
(Enchantment[] enchantments, int minCost, int maxCostSpan)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/provider/type/ExpandEnchantmentByCostWithDifficulty.java:19
Methodof
(Enchantment[] enchantments, IntProvider cost)
common/src/main/java/com/blamejared/crafttweaker/natives/item/enchantment/provider/type/ExpandEnchantmentByCost.java:20
Methodof
(@ZenCodeType.Nullable Level level)
common/src/main/java/com/blamejared/crafttweaker/natives/tooltip/ExpandTooltipContext.java:17
Methodof
(boolean advanced, boolean creative)
common/src/main/java/com/blamejared/crafttweaker/natives/tooltip/ExpandTooltipFlag.java:14
Methodof
Creates a new food properties builder. @return The new food properties builder.
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:300
Methodof
Creates a new food properties possible effect. @param effect The effect. @param probability The probability. @return The new food properties po
common/src/main/java/com/blamejared/crafttweaker/natives/food/ExpandFoodProperties.java:398
Methodof
Creates a new {@link TypedDataComponent}. @param type The {@link DataComponentType} of the component. @param value The value of the component. @ret
common/src/main/java/com/blamejared/crafttweaker/natives/component/ExpandTypedDataComponent.java:31
Methodof
(ItemCost baseCostA, IItemStack result, int maxUses, int xp, float priceMultiplier)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandMerchantOffer.java:21
Methodof
(IItemStack stack)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/ExpandItemCost.java:19
Methodof
(ItemCost fromItem, int emeraldCost, ItemStack toItem, int maxUses, int villagerXp, float priceMultiplier, @Ze
common/src/main/java/com/blamejared/crafttweaker/natives/villager/trade/type/ExpandItemsAndEmeraldsToItems.java:20
Methodof
(MobEffect effect, int duration, int xp)
common/src/main/java/com/blamejared/crafttweaker/natives/villager/trade/type/ExpandSuspiciousStewForEmerald.java:18
Methodof
(IItemStack template, IItemStack base, IItemStack addition)
common/src/main/java/com/blamejared/crafttweaker/natives/recipe/input/type/ExpandSmithingRecipeInput.java:16
Methodof
(IItemStack item)
common/src/main/java/com/blamejared/crafttweaker/natives/recipe/input/type/ExpandSingleRecipeInput.java:15
Methodof
(int width, int height, List<IItemStack> items)
common/src/main/java/com/blamejared/crafttweaker/natives/recipe/input/type/ExpandCraftingInput.java:20
Methodof
(T raw, @ZenCodeType.Optional @ZenCodeType.Nullable T filtered)
common/src/main/java/com/blamejared/crafttweaker/natives/server/ExpandFilterable.java:17
Methodof
Creates a new {@link BannerPatternLayers} with the provided layers. @param layers The layers to create the {@link BannerPatternLayers} with. @return
common/src/main/java/com/blamejared/crafttweaker/natives/block/entity/ExpandBannerPatternLayers.java:28
Methodof
Creates a new {@link BannerPatternLayers.Builder}. @return The new {@link BannerPatternLayers.Builder}.
common/src/main/java/com/blamejared/crafttweaker/natives/block/entity/ExpandBannerPatternLayers.java:66
Methodof
Creates a new {@link BannerPatternLayers.Layer}. @param pattern The {@link BannerPattern} to create the {@link BannerPatternLayers.Layer} with. @para
common/src/main/java/com/blamejared/crafttweaker/natives/block/entity/ExpandBannerPatternLayers.java:138
Methodof
Creates a new occupant for a beehive. @param entity The entity to create the occupant for. @return The new occupant.
common/src/main/java/com/blamejared/crafttweaker/natives/block/entity/type/ExpandBeehiveBlockEntity.java:30
Methodof
(ResourceKey<Level> $$0, BlockPos $$1)
common/src/main/java/com/blamejared/crafttweaker/natives/util/ExpandGlobalPos.java:17
Methodof
(Class<F> fClass, Class<S> sClass, F first, S second)
common/src/main/java/com/blamejared/crafttweaker/natives/util/ExpandPair.java:18
Methodof
(IntProvider delegate, int minInclusive, int maxInclusive)
common/src/main/java/com/blamejared/crafttweaker/natives/util/valueprovider/ExpandClampedInt.java:15
Methodof
(float mean, float deviation, float min, float max)
common/src/main/java/com/blamejared/crafttweaker/natives/util/valueprovider/ExpandClampedNormalFloat.java:14
Methodof
(float minInclusive, float maxExclusive)
common/src/main/java/com/blamejared/crafttweaker/natives/util/valueprovider/ExpandUniformFloat.java:13
Methodof
(int minInclusive, int maxInclusive)
common/src/main/java/com/blamejared/crafttweaker/natives/util/valueprovider/ExpandBiasedToBottomInt.java:14
Methodof
(float min, float max, float plateau)
common/src/main/java/com/blamejared/crafttweaker/natives/util/valueprovider/ExpandTrapezoidFloat.java:13
Methodof
(int minInclusive, int maxInclusive)
common/src/main/java/com/blamejared/crafttweaker/natives/util/valueprovider/ExpandUniformInt.java:14
← previousnext →6,201–6,300 of 8,150, ranked by callers