Uses of Class
net.minecraft.core.Vec3i
Package
Description
-
Uses of Vec3i in net.minecraft.core
Modifier and TypeClassDescriptionclass
static class
class
Modifier and TypeFieldDescriptionprivate final Vec3i
Direction.normal
private final Vec3i
Direction8.step
static final Vec3i
Vec3i.ZERO
Modifier and TypeMethodDescriptionVec3i.above()
Vec3i.above
(int p_123336_) Vec3i.below()
Vec3i.below
(int p_123335_) Vec3i.east()
Vec3i.east
(int p_175598_) Direction.getNormal()
Vec3i.multiply
(int p_175602_) Vec3i.north()
Vec3i.north
(int p_175601_) Vec3i.offset
(int p_175593_, int p_175594_, int p_175595_) Vec3i.relative
(Direction.Axis p_175590_, int p_175591_) protected Vec3i
Vec3i.setX
(int p_175605_) protected Vec3i
Vec3i.setY
(int p_175604_) protected Vec3i
Vec3i.setZ
(int p_175603_) Vec3i.south()
Vec3i.south
(int p_175600_) Vec3i.west()
Vec3i.west
(int p_175599_) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec
<Vec3i> Vec3i.offsetCodec
(int p_194651_) Modifier and TypeMethodDescriptionboolean
Vec3i.closerThan
(Vec3i p_123315_, double p_123316_) int
int
Vec3i.distManhattan
(Vec3i p_123334_) double
BlockPos.MutableBlockPos.setWithOffset
(Vec3i p_122155_, int p_122156_, int p_122157_, int p_122158_) BlockPos.MutableBlockPos.setWithOffset
(Vec3i p_122160_, Direction p_122161_) BlockPos.MutableBlockPos.setWithOffset
(Vec3i p_175307_, Vec3i p_175308_) ModifierConstructorDescriptionprivate
Direction
(int p_122356_, int p_122357_, int p_122358_, String p_122359_, Direction.AxisDirection p_122360_, Direction.Axis p_122361_, Vec3i p_122362_) -
Uses of Vec3i in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionstatic void
StructureUtils.createNewEmptyStructureBlock
(String p_177765_, BlockPos p_177766_, Vec3i p_177767_, Rotation p_177768_, ServerLevel p_177769_) static BoundingBox
StructureUtils.getStructureBoundingBox
(BlockPos p_177761_, Vec3i p_177762_, Rotation p_177763_) static BlockPos
StructureUtils.getTransformedFarCorner
(BlockPos p_308915_, Vec3i p_309132_, Rotation p_308895_) -
Uses of Vec3i in net.minecraft.network.protocol.game
ModifierConstructorDescriptionServerboundSetStructureBlockPacket
(BlockPos p_179771_, StructureBlockEntity.UpdateType p_179772_, StructureMode p_179773_, String p_179774_, BlockPos p_179775_, Vec3i p_179776_, Mirror p_179777_, Rotation p_179778_, String p_179779_, boolean p_179780_, boolean p_179781_, boolean p_179782_, float p_179783_, long p_179784_) -
Uses of Vec3i in net.minecraft.util
-
Uses of Vec3i in net.minecraft.world.entity
-
Uses of Vec3i in net.minecraft.world.entity.animal.allay
-
Uses of Vec3i in net.minecraft.world.entity.vehicle
-
Uses of Vec3i in net.minecraft.world.item.enchantment.effects
Modifier and TypeFieldDescriptionprivate final Vec3i
ReplaceBlock.offset
The field for theoffset
record component.private final Vec3i
ReplaceDisk.offset
The field for theoffset
record component.private final Vec3i
SetBlockProperties.offset
The field for theoffset
record component.Modifier and TypeMethodDescriptionReplaceBlock.offset()
Returns the value of theoffset
record component.ReplaceDisk.offset()
Returns the value of theoffset
record component.SetBlockProperties.offset()
Returns the value of theoffset
record component.ModifierConstructorDescriptionReplaceBlock
(Vec3i offset, Optional<BlockPredicate> predicate, BlockStateProvider blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceBlock
record class.ReplaceDisk
(LevelBasedValue radius, LevelBasedValue height, Vec3i offset, Optional<BlockPredicate> predicate, BlockStateProvider blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceDisk
record class.SetBlockProperties
(BlockItemStateProperties properties, Vec3i offset, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aSetBlockProperties
record class. -
Uses of Vec3i in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.objects.ObjectArrayList
<Vec3i> SculkSpreader.ChargeCursor.NON_CORNER_NEIGHBOURS
private static final com.google.common.collect.ImmutableList
<Vec3i> RespawnAnchorBlock.RESPAWN_HORIZONTAL_OFFSETS
private static final com.google.common.collect.ImmutableList
<Vec3i> RespawnAnchorBlock.RESPAWN_OFFSETS
Modifier and TypeMethodDescriptionSculkSpreader.ChargeCursor.getRandomizedNonCornerNeighbourOffsets
(RandomSource p_222306_) -
Uses of Vec3i in net.minecraft.world.level.block.entity
-
Uses of Vec3i in net.minecraft.world.level.levelgen.blockpredicates
Modifier and TypeFieldDescriptionprivate final Vec3i
HasSturdyFacePredicate.offset
private final Vec3i
InsideWorldBoundsPredicate.offset
protected final Vec3i
StateTestingPredicate.offset
private final Vec3i
UnobstructedPredicate.offset
The field for theoffset
record component.private final Vec3i
WouldSurvivePredicate.offset
Modifier and TypeMethodDescriptionUnobstructedPredicate.offset()
Returns the value of theoffset
record component.Modifier and TypeMethodDescriptionprotected static <P extends StateTestingPredicate>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, Vec3i> StateTestingPredicate.stateTestingCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_190547_) Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.hasSturdyFace
(Vec3i p_198309_, Direction p_198310_) static BlockPredicate
BlockPredicate.insideWorld
(Vec3i p_190434_) static BlockPredicate
BlockPredicate.matchesBlocks
(Vec3i p_224772_, List<Block> p_224773_) static BlockPredicate
BlockPredicate.matchesBlocks
(Vec3i p_224775_, Block... p_224776_) static BlockPredicate
BlockPredicate.matchesFluids
(Vec3i p_224785_, List<Fluid> p_224786_) static BlockPredicate
BlockPredicate.matchesFluids
(Vec3i p_224778_, Fluid... p_224779_) static BlockPredicate
BlockPredicate.matchesTag
(Vec3i p_224769_, TagKey<Block> p_224770_) static BlockPredicate
static BlockPredicate
BlockPredicate.replaceable
(Vec3i p_190411_) static BlockPredicate
static BlockPredicate
BlockPredicate.unobstructed
(Vec3i p_345358_) static BlockPredicate
BlockPredicate.wouldSurvive
(BlockState p_190400_, Vec3i p_190401_) ModifierConstructorDescriptionHasSturdyFacePredicate
(Vec3i p_198320_, Direction p_198321_) InsideWorldBoundsPredicate
(Vec3i p_190467_) MatchingBlocksPredicate
(Vec3i p_204690_, HolderSet<Block> p_204691_) protected
MatchingBlockTagPredicate
(Vec3i p_204683_, TagKey<Block> p_204684_) MatchingFluidsPredicate
(Vec3i p_204695_, HolderSet<Fluid> p_204696_) ReplaceablePredicate
(Vec3i p_190524_) SolidPredicate
(Vec3i p_190533_) Deprecated.protected
StateTestingPredicate
(Vec3i p_190541_) (package private)
UnobstructedPredicate
(Vec3i offset) Creates an instance of aUnobstructedPredicate
record class.protected
WouldSurvivePredicate
(Vec3i p_190570_, BlockState p_190571_) -
Uses of Vec3i in net.minecraft.world.level.levelgen.structure
Modifier and TypeMethodDescriptionstatic BoundingBox
BoundingBox.fromCorners
(Vec3i p_162376_, Vec3i p_162377_) boolean
Deprecated. -
Uses of Vec3i in net.minecraft.world.level.levelgen.structure.placement
Modifier and TypeMethodDescriptionprivate static com.mojang.datafixers.Products.P9
<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<ConcentricRingsStructurePlacement>, Vec3i, StructurePlacement.FrequencyReductionMethod, Float, Integer, Optional<StructurePlacement.ExclusionZone>, Integer, Integer, Integer, HolderSet<Biome>> ConcentricRingsStructurePlacement.codec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<ConcentricRingsStructurePlacement> p_226997_) protected static <S extends StructurePlacement>
com.mojang.datafixers.Products.P5<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<S>, Vec3i, StructurePlacement.FrequencyReductionMethod, Float, Integer, Optional<StructurePlacement.ExclusionZone>> StructurePlacement.placementCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<S> p_227042_) ModifierConstructorDescriptionConcentricRingsStructurePlacement
(Vec3i p_226981_, StructurePlacement.FrequencyReductionMethod p_226982_, float p_226983_, int p_226984_, Optional<StructurePlacement.ExclusionZone> p_226985_, int p_226986_, int p_226987_, int p_226988_, HolderSet<Biome> p_226989_) RandomSpreadStructurePlacement
(Vec3i p_227000_, StructurePlacement.FrequencyReductionMethod p_227001_, float p_227002_, int p_227003_, Optional<StructurePlacement.ExclusionZone> p_227004_, int p_227005_, int p_227006_, RandomSpreadType p_227007_) protected
StructurePlacement
(Vec3i p_227028_, StructurePlacement.FrequencyReductionMethod p_227029_, float p_227030_, int p_227031_, Optional<StructurePlacement.ExclusionZone> p_227032_) -
Uses of Vec3i in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeMethodDescriptionEmptyPoolElement.getSize
(StructureTemplateManager p_227169_, Rotation p_227170_) FeaturePoolElement.getSize
(StructureTemplateManager p_227192_, Rotation p_227193_) ListPoolElement.getSize
(StructureTemplateManager p_227283_, Rotation p_227284_) SinglePoolElement.getSize
(StructureTemplateManager p_227313_, Rotation p_227314_) abstract Vec3i
StructurePoolElement.getSize
(StructureTemplateManager p_227346_, Rotation p_227347_) -
Uses of Vec3i in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeMethodDescriptionvoid
StructureTemplate.fillFromWorld
(Level p_163803_, BlockPos p_163804_, Vec3i p_163805_, boolean p_163806_, Block p_163807_) protected static BoundingBox
StructureTemplate.getBoundingBox
(BlockPos p_163811_, Rotation p_163812_, BlockPos p_163813_, Mirror p_163814_, Vec3i p_163815_) -
Uses of Vec3i in net.minecraft.world.phys
Modifier and TypeMethodDescriptionstatic Vec3
Vec3.atBottomCenterOf
(Vec3i p_82540_) static Vec3
Vec3.atCenterOf
(Vec3i p_82513_) static Vec3
Vec3.atLowerCornerOf
(Vec3i p_82529_) static Vec3
Vec3.atLowerCornerWithOffset
(Vec3i p_272866_, double p_273680_, double p_273668_, double p_273687_) static Vec3
Vec3.upFromBottomCenterOf
(Vec3i p_82515_, double p_82516_) -
Uses of Vec3i in net.minecraft.world.ticks
Modifier and TypeMethodDescriptionvoid
LevelTicks.copyArea
(BoundingBox p_193243_, Vec3i p_193244_) void
LevelTicks.copyAreaFrom
(LevelTicks<T> p_265554_, BoundingBox p_265172_, Vec3i p_265318_) -
Uses of Vec3i in net.neoforged.testframework.gametest
Modifier and TypeFieldDescriptionprivate static final StructureTemplateBuilder.FieldHandle
<StructureTemplate, Vec3i> StructureTemplateBuilder.SIZE