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
Method
setInvulnerabilityTicks
(LivingIncomingDamageEvent internal, int ticks)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLivingIncomingDamageEvent.java:30
Method
setInvulnerable
Sets the invulnerable state of the entity. @param invulnerable true if the entity should be invulnerable.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1300
Method
setIsInPowderSnow
Sets whether the entity is in powder snow. @param inPowderSnow Whether the entity is in powder snow.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1862
Method
setItalic
(Style internal)
common/src/main/java/com/blamejared/crafttweaker/natives/text/ExpandStyle.java:124
Method
setItem
(PotionBrewEvent internal, int index, IItemStack stack)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/brewing/ExpandPotionBrewEvent.java:25
Method
setItem
(Container internal, int index, ItemStack stack)
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandContainer.java:69
Method
setItem
Sets the {@link IItemStack} inside this ItemEntity. @param stack The new {@link IItemStack}. @docParam stack <item:minecraft:diamond>
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/item/ExpandItemEntity.java:95
Method
setItem
Sets the item of the projectile. @param stack The item to set.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/projectile/ExpandThrowableItemProjectile.java:20
Method
setItem
Sets the render itemstack of this fireball. @param stack The render itemstack of this fireball. @docParam stack <item:minecraft:diamond>
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/projectile/fireball/ExpandFireball.java:21
Method
setItem
(PotionBrewEvent internal, int index, IItemStack stack)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/brewing/ExpandPotionBrewEvent.java:25
Method
setItemInHand
Sets the item in the entity's hand. @param hand The hand to set the item in. @param stack The item to set.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:835
Method
setItemName
(Item internal, Component component)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:140
Method
setItemSlot
Sets the item in a specific equipment slot. @param slot The equipment slot to set the item in. @param stack The item stack to set in the slot.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:82
Method
setJsonComponent
(Item internal, DataComponentType type, @ZenCodeType.Nullable IData value)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:92
Method
setJumpFactor
Sets the jump factor of this Block. @param jumpFactor The new jump factor of this Block. @docParam jumpFactor 2
common/src/main/java/com/blamejared/crafttweaker/natives/block/ExpandBlock.java:220
Method
setJumping
Sets whether this entity is jumping. @param jumping True if the entity should jump, false otherwise.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:988
Method
setLastHurtByMob
Sets the last entity that hurt this entity. @param entity The entity that hurt this entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:190
Method
setLastHurtByPlayer
Sets the last entity that hurt this entity. @param player The player that hurt this entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:179
Method
setLastHurtMob
Sets the last entity that this entity hurt. @param entity The entity that this entity hurt.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:226
Method
setLeashedTo
Sets the entity that the mob is leashed to. @param leashHolder The entity that the mob is leashed to. @param broadcastPacket Whether to broadcast
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/misc/ExpandMob.java:424
Method
setLeftHanded
Sets whether the mob should be left-handed. @param value Whether the mob should be left-handed.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/misc/ExpandMob.java:446
Method
setLevels
(PlayerXpEvent.LevelChange internal, int levels)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/xp/ExpandPlayerXpLevelChangeEvent.java:32
Method
setLevels
(PlayerXpEvent.LevelChange internal, int levels)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/xp/ExpandPlayerXpLevelChangeEvent.java:32
Method
setLifecycle
(final Lifecycle lifecycle)
common/src/main/java/com/blamejared/crafttweaker/api/data/op/IDataMapBuilder.java:62
Method
setLocation
Sets the location of the display info. @param x The x coordinate of the display info. @param y The y coordinate of the display info.
common/src/main/java/com/blamejared/crafttweaker/natives/advancement/ExpandDisplayInfo.java:24
Method
setLockCode
(Item internal, LockCode code)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:470
Method
setLodestoneTracker
(Item internal, LodestoneTracker tracker)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:404
Method
setLookAlong
(Vector3fc dir, Vector3fc up)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandMatrix3f.java:710
Method
setLootTable
Sets the loot table used by the container. @param lootTable The new loot table for the container to use.
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandRandomizableContainer.java:36
Method
setLootTableSeed
Sets the seed used by the loot table. @param seed The seed for the loot table to use.
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandRandomizableContainer.java:95
Method
setLootingLevel
(LootingLevelEvent internal, int lootingLevel)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLootingLevelEvent.java:38
Method
setLore
(Item internal, ItemLore lore)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:146
Method
setMainArm
Sets the main arm of the player. @param arm The arm to set.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:532
Method
setMapColor
(Item internal, MapItemColor mapColor)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:296
Method
setMapDecorations
(Item internal, MapDecorations mapDecorations)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:308
Method
setMapId
(Item internal, MapId id)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:302
Method
setMapPostProcessing
(Item internal, MapPostProcessing mapPostProcessing)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:314
Method
setMaterialCost
(AnvilUpdateEvent internal, int materialCost)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/anvil/ExpandAnvilUpdateEvent.java:77
Method
setMaterialCost
(AnvilUpdateEvent internal, int materialCost)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/anvil/ExpandAnvilUpdateEvent.java:77
Method
setMaxDamage
(Item internal, int maxDamage)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:122
Method
setMaxStackSize
(Item internal, int maxStackSize)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:116
Method
setMaxX
(AABB internal, double maxX)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:37
Method
setMaxY
(AABB internal, double maxY)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:43
Method
setMaxZ
(AABB internal, double maxZ)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:49
Method
setMinX
(AABB internal, double minX)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:19
Method
setMinY
(AABB internal, double minY)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:25
Method
setMinZ
(AABB internal, double minZ)
common/src/main/java/com/blamejared/crafttweaker/natives/util/math/ExpandAABB.java:31
Method
setMotd
Sets the message of the day. @param motd The message of the day.
common/src/main/java/com/blamejared/crafttweaker/natives/game/ExpandServer.java:408
Method
setMultiplier
(PlayerFlyableFallEvent internal, float multiplier)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerFlyableFallEvent.java:42
Method
setMultiplier
(PlayerFlyableFallEvent internal, float multiplier)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerFlyableFallEvent.java:42
Method
setNameTag
Sets the name tag handler for this EntityType. @param function The function that controls how this EntityType's name tag is rendered. @docParam func
neoforge/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntityTypeNeoForge.java:25
Method
setNameTag
Sets the name tag handler for this EntityType. @param function The function that controls how this EntityType's name tag is rendered. @docParam func
forge/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntityTypeForge.java:25
Method
setNeverPickUp
Set this item entity to never be picked up.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/item/ExpandItemEntity.java:47
Method
setNewBottomItem
(GrindstoneEvent.OnTakeItem internal, IItemStack newBottom)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:101
Method
setNewBottomItem
(GrindstoneEvent.OnTakeItem internal, IItemStack newBottom)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:102
Method
setNewDamage
(DamageContainer internal, float damage)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageContainer.java:48
Method
setNewGameMode
(PlayerEvent.PlayerChangeGameModeEvent internal, GameType newGameMode)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerChangeGameModeEvent.java:39
Method
setNewGameMode
(PlayerEvent.PlayerChangeGameModeEvent internal, GameType newGameMode)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerChangeGameModeEvent.java:39
Method
setNewSpeed
(PlayerEvent.BreakSpeed internal, float newSpeed)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerBreakSpeedEvent.java:46
Method
setNewSpeed
(PlayerEvent.BreakSpeed internal, float newSpeed)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerBreakSpeedEvent.java:46
Method
setNewState
(BlockEvent.FluidPlaceBlockEvent internal, BlockState state)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/block/fluid/ExpandFluidPlaceBlockEvent.java:40
Method
setNewState
(BlockEvent.FluidPlaceBlockEvent internal, BlockState state)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/block/fluid/ExpandFluidPlaceBlockEvent.java:40
Method
setNewTopItem
(GrindstoneEvent.OnTakeItem internal, IItemStack newTop)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:95
Method
setNewTopItem
(GrindstoneEvent.OnTakeItem internal, IItemStack newTop)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:96
Method
setNoActionTime
Sets the time since this entity last performed an action. @param idleTime The time since this entity last performed an action.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandLivingEntity.java:249
Method
setNoAi
Sets whether the mob should have AI disabled. @param value Whether the mob should have AI disabled.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/misc/ExpandMob.java:435
Method
setNoGravity
Sets if the entity has no gravity. @param noGravity The no gravity state to set the entity to.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:387
Method
setNoPhysics
Sets if this arrow has physics or not. @param noPhysics If this arrow has physics or not. @docParam noPhysics true
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/projectile/arrow/ExpandAbstractArrow.java:112
Method
setNoteBlockSound
(Item internal, ResourceLocation sound)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:428
Method
setObfuscated
(Style internal)
common/src/main/java/com/blamejared/crafttweaker/natives/text/ExpandStyle.java:160
Method
setOldPosAndRot
Sets the old position and rotation of the entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:556
Method
setOminousBottleAmplifier
(Item internal, int amplifier)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:392
Method
setOnGround
Sets if the entity is on the ground. @param onGround The on ground state to set the entity to.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:305
Method
setOutput
(AnvilUpdateEvent internal, IItemStack output)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/anvil/ExpandAnvilUpdateEvent.java:53
Method
setOutput
(GrindstoneEvent.OnPlaceItem internal, IItemStack output)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:62
Method
setOutput
(AnvilUpdateEvent internal, IItemStack output)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/anvil/ExpandAnvilUpdateEvent.java:53
Method
setOutput
(GrindstoneEvent.OnPlaceItem internal, IItemStack output)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/grindstone/ExpandGrindStoneEvent.java:63
Method
setOwner
Sets the owner of the projectile. @param entity The entity to set as the owner.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/projectile/ExpandProjectile.java:20
Method
setParents
(final Marker... markers)
common/src/main/java/com/blamejared/crafttweaker/impl/logging/SystemMarker.java:64
Method
setPersistenceRequired
Sets that this mob should persist in the world.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/misc/ExpandMob.java:243
Method
setPickUpDelay
Sets the pickup delay in ticks for this item entity. @param ticks The number of ticks to delay the pickup for.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/item/ExpandItemEntity.java:58
Method
setPickedItem
Sets the selected item in the hotbar to the first matching stack in the inventory. @param stack The item to set as the selected item.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandInventory.java:48
Method
setPortalCooldown
Sets the portal cooldown of the entity.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:225
Method
setPos
Sets the position of the entity. @param position The position to set the entity to.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:191
Method
setPosRaw
Sets the position of the entity to the given coordinates. @param x The x coordinate to set the position to. @param y The y coordinate to set the posi
common/src/main/java/com/blamejared/crafttweaker/natives/entity/ExpandEntity.java:1851
Method
setPostAttackInvulnerabilityTicks
(DamageContainer internal, int ticks)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/world/damage/ExpandDamageContainer.java:60
Method
setPotDecorations
(Item internal, PotDecorations decorations)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:446
Method
setPotionContents
(Item internal, PotionContents potionContents)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:332
Method
setProblem
(CanPlayerSleepEvent internal, Player.@ZenCodeType.Nullable BedSleepingProblem problem)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/player/ExpandPlayerSleepInBedEvent.java:59
Method
setProfile
(Item internal, ResolvableProfile profile)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:422
Method
setPvpAllowed
Sets if PvP is allowed. @param pvpAllowed Whether to allow PvP.
common/src/main/java/com/blamejared/crafttweaker/natives/game/ExpandServer.java:350
Method
setRainTime
(ServerLevelData internal, int time)
common/src/main/java/com/blamejared/crafttweaker/natives/world/data/ExpandServerLevelData.java:35
Method
setRainingLevel
Sets the current rain level. @param level The new rain level between 0 and 1 @docParam level 0.5
common/src/main/java/com/blamejared/crafttweaker/natives/world/ExpandLevel.java:130
Method
setRarity
(Item internal, Rarity rarity)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:152
Method
setRatioX
(LivingKnockBackEvent internal, double ratioX)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLivingKnockBackEvent.java:68
Method
setRatioX
(LivingKnockBackEvent internal, double ratioX)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLivingKnockBackEvent.java:68
Method
setRatioZ
(LivingKnockBackEvent internal, double ratioZ)
neoforge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLivingKnockBackEvent.java:74
Method
setRatioZ
(LivingKnockBackEvent internal, double ratioZ)
forge/src/main/java/com/blamejared/crafttweaker/natives/event/entity/living/ExpandLivingKnockBackEvent.java:74
Method
setRecipes
(Item internal, List<ResourceLocation> recipes)
common/src/main/java/com/blamejared/crafttweaker/natives/item/ExpandItem.java:398
Method
setReducedDebugInfo
Sets if the player has reduced debug info. @param reducedDebugInfo Whether the player has reduced debug info.
common/src/main/java/com/blamejared/crafttweaker/natives/entity/type/player/ExpandPlayer.java:509
← previous
next →
7,001–7,100 of 8,150, ranked by callers