Class World
- All Implemented Interfaces:
AutoCloseable
,BiomeAccess.Storage
,BlockRenderView
,BlockView
,CollisionView
,EntityView
,HeightLimitView
,LunarWorldView
,ModifiableTestableWorld
,ModifiableWorld
,RegistryWorldView
,TestableWorld
,WorldAccess
,WorldView
- Direct Known Subclasses:
ClientWorld
,ServerWorld
- Mappings:
Namespace Name official bwp
intermediary net/minecraft/class_1937
named net/minecraft/world/World
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final BiomeAccess
protected final List<BlockEntityTickInvoker>
private final WorldBorder
static final com.mojang.serialization.Codec<RegistryKey<World>>
private final boolean
private final DimensionType
private static final Direction[]
static final RegistryKey<World>
static final int
static final int
static final int
static final int
final boolean
private boolean
protected int
protected final int
protected static final Logger
static final int
static final int
static final int
static final RegistryKey<World>
static final RegistryKey<World>
private final List<BlockEntityTickInvoker>
protected final MutableWorldProperties
protected float
protected float
final Random
private final RegistryKey<World>
private final Thread
protected float
protected float
-
Constructor Summary
ModifierConstructorDescriptionprotected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, DimensionType dimensionType, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBlockBreakParticles
(BlockPos pos, BlockState state) void
addBlockEntity
(BlockEntity blockEntity) void
addDetailsToCrashReport
(CrashReport report) void
addFireworkParticle
(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable NbtCompound nbt) void
addImportantParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
addImportantParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
addParticle
(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
addParticle
(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) void
addSyncedBlockEvent
(BlockPos pos, Block block, int type, int data) abstract String
asString()
boolean
breakBlock
(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) void
boolean
canPlayerModifyAt
(PlayerEntity player, BlockPos pos) boolean
canSetBlock
(BlockPos pos) void
close()
createExplosion
(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) createExplosion
(@Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType) createExplosion
(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) void
protected void
emitGameEvent
(@Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range) int
getBlockEntity
(BlockPos pos) getBlockState
(BlockPos pos) getChunk
(int int2, int int3) getChunk
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) getChunkAsView
(int chunkX, int chunkZ) int
getEmittedRedstonePower
(BlockPos pos, Direction direction) getEntitiesByType
(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) getEntityById
(int id) protected abstract EntityLookup<Entity>
getFluidState
(BlockPos pos) getMapState
(String id) abstract int
Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.float
getRainGradient
(float delta) getRandomPosInChunk
(int x, int y, int z, int int2) int
int
abstract RecipeManager
abstract Scoreboard
int
float
getSkyAngleRadians
(float tickDelta) abstract TagManager
float
getThunderGradient
(float delta) long
getTime()
long
int
getTopY
(Heightmap.Type heightmap, int x, int z) getWorldChunk
(BlockPos pos) boolean
hasHighHumidity
(BlockPos pos) boolean
protected void
boolean
isClient()
Checks if this world view is on the logical client.boolean
isDay()
final boolean
Checks if this world is a debug world.boolean
isDirectionSolid
(BlockPos pos, Entity entity, Direction direction) boolean
isEmittingRedstonePower
(BlockPos pos, Direction direction) boolean
isInBuildLimit
(BlockPos pos) private static boolean
isInvalidVertically
(int y) boolean
isNight()
boolean
boolean
boolean
boolean
boolean
isTopSolid
(BlockPos pos, Entity entity) static boolean
private static boolean
void
void
onBlockChanged
(BlockPos pos, BlockState oldBlock, BlockState newBlock) void
playSound
(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) abstract void
playSound
(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) void
playSound
(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract void
playSoundFromEntity
(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract void
putMapState
(String id, MapState state) boolean
removeBlock
(BlockPos pos, boolean move) void
void
scheduleBlockRerenderIfNeeded
(BlockPos pos, BlockState old, BlockState updated) void
sendEntityStatus
(Entity entity, byte status) void
sendPacket
(Packet<?> packet) abstract void
setBlockBreakingInfo
(int entityId, BlockPos pos, int progress) boolean
setBlockState
(BlockPos pos, BlockState state) boolean
setBlockState
(BlockPos pos, BlockState state, int flags) Updates the block state at a position, calling appropriate callbacks.boolean
setBlockState
(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.void
setLightningTicksLeft
(int lightningTicksLeft) void
setMobSpawnOptions
(boolean spawnMonsters, boolean spawnAnimals) void
setRainGradient
(float rainGradient) void
setThunderGradient
(float thunderGradient) void
syncGlobalEvent
(int eventId, BlockPos pos, int data) boolean
testBlockState
(BlockPos pos, Predicate<BlockState> state) boolean
testFluidState
(BlockPos pos, Predicate<FluidState> state) protected void
<T extends Entity>
voidtickEntity
(Consumer<T> tickConsumer, T entity) void
updateComparators
(BlockPos pos, Block block) abstract void
updateListeners
(BlockPos pos, BlockState oldState, BlockState newState, int flags) void
updateNeighbor
(BlockPos pos, Block sourceBlock, BlockPos neighborPos) void
updateNeighborsAlways
(BlockPos pos, Block block) void
updateNeighborsExcept
(BlockPos pos, Block sourceBlock, Direction direction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, findClosestCollision, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, hasBlockCollision, intersectsEntities, intersectsEntities, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty
Methods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getNonSpectatingEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
Methods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
Methods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, spawnEntity
Methods inherited from interface net.minecraft.world.RegistryWorldView
getBiomeKey, getBlockEntity, getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities
Methods inherited from interface net.minecraft.world.WorldAccess
emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getBlockTickScheduler, getChunkManager, getDifficulty, getFluidTickScheduler, getLogicalHeight, getLunarTime, isChunkLoaded, syncWorldEvent, syncWorldEvent, updateNeighbors
Methods inherited from interface net.minecraft.world.WorldView
containsFluid, getBiome, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getColor, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, isAir, isChunkLoaded, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lbwp;d:Lorg/apache/logging/log4j/Logger;
intermediary field_9224
Lnet/minecraft/class_1937;field_9224:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/World;LOGGER:Lorg/apache/logging/log4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector official e
Lbwp;e:Lcom/mojang/serialization/Codec;
intermediary field_25178
Lnet/minecraft/class_1937;field_25178:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/World;CODEC:Lcom/mojang/serialization/Codec;
-
OVERWORLD
- Mappings:
Namespace Name Mixin selector official f
Lbwp;f:Lwv;
intermediary field_25179
Lnet/minecraft/class_1937;field_25179:Lnet/minecraft/class_5321;
named OVERWORLD
Lnet/minecraft/world/World;OVERWORLD:Lnet/minecraft/util/registry/RegistryKey;
-
NETHER
- Mappings:
Namespace Name Mixin selector official g
Lbwp;g:Lwv;
intermediary field_25180
Lnet/minecraft/class_1937;field_25180:Lnet/minecraft/class_5321;
named NETHER
Lnet/minecraft/world/World;NETHER:Lnet/minecraft/util/registry/RegistryKey;
-
END
- Mappings:
Namespace Name Mixin selector official h
Lbwp;h:Lwv;
intermediary field_25181
Lnet/minecraft/class_1937;field_25181:Lnet/minecraft/class_5321;
named END
Lnet/minecraft/world/World;END:Lnet/minecraft/util/registry/RegistryKey;
-
HORIZONTAL_LIMIT
public static final int HORIZONTAL_LIMIT- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lbwp;i:I
intermediary field_30965
Lnet/minecraft/class_1937;field_30965:I
named HORIZONTAL_LIMIT
Lnet/minecraft/world/World;HORIZONTAL_LIMIT:I
-
MAX_UPDATE_DEPTH
public static final int MAX_UPDATE_DEPTH- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lbwp;j:I
intermediary field_30966
Lnet/minecraft/class_1937;field_30966:I
named MAX_UPDATE_DEPTH
Lnet/minecraft/world/World;MAX_UPDATE_DEPTH:I
-
field_30967
public static final int field_30967- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lbwp;k:I
intermediary field_30967
Lnet/minecraft/class_1937;field_30967:I
named field_30967
Lnet/minecraft/world/World;field_30967:I
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a:[Lgl;
intermediary field_9233
Lnet/minecraft/class_1937;field_9233:[Lnet/minecraft/class_2350;
named DIRECTIONS
Lnet/minecraft/world/World;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
field_30968
public static final int field_30968- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lbwp;l:I
intermediary field_30968
Lnet/minecraft/class_1937;field_30968:I
named field_30968
Lnet/minecraft/world/World;field_30968:I
-
field_30969
public static final int field_30969- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lbwp;m:I
intermediary field_30969
Lnet/minecraft/class_1937;field_30969:I
named field_30969
Lnet/minecraft/world/World;field_30969:I
-
MAX_Y
public static final int MAX_Y- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lbwp;n:I
intermediary field_30970
Lnet/minecraft/class_1937;field_30970:I
named MAX_Y
Lnet/minecraft/world/World;MAX_Y:I
-
MIN_Y
public static final int MIN_Y- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lbwp;o:I
intermediary field_30971
Lnet/minecraft/class_1937;field_30971:I
named MIN_Y
Lnet/minecraft/world/World;MIN_Y:I
-
blockEntityTickers
- Mappings:
Namespace Name Mixin selector official p
Lbwp;p:Ljava/util/List;
intermediary field_27082
Lnet/minecraft/class_1937;field_27082:Ljava/util/List;
named blockEntityTickers
Lnet/minecraft/world/World;blockEntityTickers:Ljava/util/List;
-
pendingBlockEntityTickers
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b:Ljava/util/List;
intermediary field_27081
Lnet/minecraft/class_1937;field_27081:Ljava/util/List;
named pendingBlockEntityTickers
Lnet/minecraft/world/World;pendingBlockEntityTickers:Ljava/util/List;
-
iteratingTickingBlockEntities
private boolean iteratingTickingBlockEntities- Mappings:
Namespace Name Mixin selector official c
Lbwp;c:Z
intermediary field_9249
Lnet/minecraft/class_1937;field_9249:Z
named iteratingTickingBlockEntities
Lnet/minecraft/world/World;iteratingTickingBlockEntities:Z
-
thread
- Mappings:
Namespace Name Mixin selector official z
Lbwp;z:Ljava/lang/Thread;
intermediary field_17086
Lnet/minecraft/class_1937;field_17086:Ljava/lang/Thread;
named thread
Lnet/minecraft/world/World;thread:Ljava/lang/Thread;
-
debugWorld
private final boolean debugWorld- Mappings:
Namespace Name Mixin selector official A
Lbwp;A:Z
intermediary field_24496
Lnet/minecraft/class_1937;field_24496:Z
named debugWorld
Lnet/minecraft/world/World;debugWorld:Z
-
ambientDarkness
private int ambientDarkness- Mappings:
Namespace Name Mixin selector official B
Lbwp;B:I
intermediary field_9226
Lnet/minecraft/class_1937;field_9226:I
named ambientDarkness
Lnet/minecraft/world/World;ambientDarkness:I
-
lcgBlockSeed
protected int lcgBlockSeed- Mappings:
Namespace Name Mixin selector official q
Lbwp;q:I
intermediary field_9256
Lnet/minecraft/class_1937;field_9256:I
named lcgBlockSeed
Lnet/minecraft/world/World;lcgBlockSeed:I
-
lcgBlockSeedIncrement
protected final int lcgBlockSeedIncrement- See Also:
- Mappings:
Namespace Name Mixin selector official r
Lbwp;r:I
intermediary field_9238
Lnet/minecraft/class_1937;field_9238:I
named lcgBlockSeedIncrement
Lnet/minecraft/world/World;lcgBlockSeedIncrement:I
-
rainGradientPrev
protected float rainGradientPrev- Mappings:
Namespace Name Mixin selector official s
Lbwp;s:F
intermediary field_9253
Lnet/minecraft/class_1937;field_9253:F
named rainGradientPrev
Lnet/minecraft/world/World;rainGradientPrev:F
-
rainGradient
protected float rainGradient- Mappings:
Namespace Name Mixin selector official t
Lbwp;t:F
intermediary field_9235
Lnet/minecraft/class_1937;field_9235:F
named rainGradient
Lnet/minecraft/world/World;rainGradient:F
-
thunderGradientPrev
protected float thunderGradientPrev- Mappings:
Namespace Name Mixin selector official u
Lbwp;u:F
intermediary field_9251
Lnet/minecraft/class_1937;field_9251:F
named thunderGradientPrev
Lnet/minecraft/world/World;thunderGradientPrev:F
-
thunderGradient
protected float thunderGradient- Mappings:
Namespace Name Mixin selector official v
Lbwp;v:F
intermediary field_9234
Lnet/minecraft/class_1937;field_9234:F
named thunderGradient
Lnet/minecraft/world/World;thunderGradient:F
-
random
- Mappings:
Namespace Name Mixin selector official w
Lbwp;w:Ljava/util/Random;
intermediary field_9229
Lnet/minecraft/class_1937;field_9229:Ljava/util/Random;
named random
Lnet/minecraft/world/World;random:Ljava/util/Random;
-
dimension
- Mappings:
Namespace Name Mixin selector official C
Lbwp;C:Lcnu;
intermediary field_9247
Lnet/minecraft/class_1937;field_9247:Lnet/minecraft/class_2874;
named dimension
Lnet/minecraft/world/World;dimension:Lnet/minecraft/world/dimension/DimensionType;
-
properties
- Mappings:
Namespace Name Mixin selector official x
Lbwp;x:Ldij;
intermediary field_9232
Lnet/minecraft/class_1937;field_9232:Lnet/minecraft/class_5269;
named properties
Lnet/minecraft/world/World;properties:Lnet/minecraft/world/MutableWorldProperties;
-
profiler
- Mappings:
Namespace Name Mixin selector official D
Lbwp;D:Ljava/util/function/Supplier;
intermediary field_16316
Lnet/minecraft/class_1937;field_16316:Ljava/util/function/Supplier;
named profiler
Lnet/minecraft/world/World;profiler:Ljava/util/function/Supplier;
-
isClient
public final boolean isClient- Mappings:
Namespace Name Mixin selector official y
Lbwp;y:Z
intermediary field_9236
Lnet/minecraft/class_1937;field_9236:Z
named isClient
Lnet/minecraft/world/World;isClient:Z
-
border
- Mappings:
Namespace Name Mixin selector official E
Lbwp;E:Lcmi;
intermediary field_9223
Lnet/minecraft/class_1937;field_9223:Lnet/minecraft/class_2784;
named border
Lnet/minecraft/world/World;border:Lnet/minecraft/world/border/WorldBorder;
-
biomeAccess
- Mappings:
Namespace Name Mixin selector official F
Lbwp;F:Lbxq;
intermediary field_20639
Lnet/minecraft/class_1937;field_20639:Lnet/minecraft/class_4543;
named biomeAccess
Lnet/minecraft/world/World;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
-
registryKey
- Mappings:
Namespace Name Mixin selector official G
Lbwp;G:Lwv;
intermediary field_25176
Lnet/minecraft/class_1937;field_25176:Lnet/minecraft/class_5321;
named registryKey
Lnet/minecraft/world/World;registryKey:Lnet/minecraft/util/registry/RegistryKey;
-
-
Constructor Details
-
World
protected World(MutableWorldProperties properties, RegistryKey<World> registryRef, DimensionType dimensionType, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed) - Mappings:
Namespace Name Mixin selector official <init>
Lbwp;<init>(Ldij;Lwv;Lcnu;Ljava/util/function/Supplier;ZZJ)V
intermediary <init>
Lnet/minecraft/class_1937;<init>(Lnet/minecraft/class_5269;Lnet/minecraft/class_5321;Lnet/minecraft/class_2874;Ljava/util/function/Supplier;ZZJ)V
named <init>
Lnet/minecraft/world/World;<init>(Lnet/minecraft/world/MutableWorldProperties;Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/world/dimension/DimensionType;Ljava/util/function/Supplier;ZZJ)V
-
-
Method Details
-
isClient
public boolean isClient()Checks if this world view is on the logical client.If the value returned is false, it is expected that this world is present on a logical server.
-
getServer
- Specified by:
getServer
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official n
Lbwq;n()Lnet/minecraft/server/MinecraftServer;
intermediary method_8503
Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;
named getServer
Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
-
isInBuildLimit
- Mappings:
Namespace Name Mixin selector official k
Lbwp;k(Lgg;)Z
intermediary method_24794
Lnet/minecraft/class_1937;method_24794(Lnet/minecraft/class_2338;)Z
named isInBuildLimit
Lnet/minecraft/world/World;isInBuildLimit(Lnet/minecraft/util/math/BlockPos;)Z
-
isValid
- Mappings:
Namespace Name Mixin selector official l
Lbwp;l(Lgg;)Z
intermediary method_25953
Lnet/minecraft/class_1937;method_25953(Lnet/minecraft/class_2338;)Z
named isValid
Lnet/minecraft/world/World;isValid(Lnet/minecraft/util/math/BlockPos;)Z
-
isValidHorizontally
- Mappings:
Namespace Name Mixin selector official E
Lbwp;E(Lgg;)Z
intermediary method_8558
Lnet/minecraft/class_1937;method_8558(Lnet/minecraft/class_2338;)Z
named isValidHorizontally
Lnet/minecraft/world/World;isValidHorizontally(Lnet/minecraft/util/math/BlockPos;)Z
-
isInvalidVertically
private static boolean isInvalidVertically(int y) - Mappings:
Namespace Name Mixin selector official b
Lbwp;b(I)Z
intermediary method_25952
Lnet/minecraft/class_1937;method_25952(I)Z
named isInvalidVertically
Lnet/minecraft/world/World;isInvalidVertically(I)Z
-
getWorldChunk
- Mappings:
Namespace Name Mixin selector official m
Lbwp;m(Lgg;)Lcmw;
intermediary method_8500
Lnet/minecraft/class_1937;method_8500(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2818;
named getWorldChunk
Lnet/minecraft/world/World;getWorldChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/WorldChunk;
-
getChunk
-
getChunk
@Nullable public @Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Specified by:
getChunk
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official a
Lbws;a(IILcmp;Z)Lcml;
intermediary method_8402
Lnet/minecraft/class_4538;method_8402(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;
named getChunk
Lnet/minecraft/world/WorldView;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
-
setBlockState
Updates the block state at a position, calling appropriate callbacks.When called on the server, the new block state is stored and propagated to clients and listeners as dictated by the supplied flags. Note that calling this on the client will update the world locally, but may not see the change persisted across loads. It's recommended to check whether this world is client before interacting with the world in this way.
The accepted values of these flags are:
- Specified by:
setBlockState
in interfaceModifiableWorld
- Parameters:
pos
- the target positionstate
- the block state to setflags
- the bitwise flag combination, as described above- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbwx;a(Lgg;Lcks;I)Z
intermediary method_8652
Lnet/minecraft/class_1945;method_8652(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Z
named setBlockState
Lnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Z
-
setBlockState
Updates the block state at a position, calling appropriate callbacks.When called on the server, the new block state is stored and propagated to clients and listeners as dictated by the supplied flags. Note that calling this on the client will update the world locally, but may not see the change persisted across loads. It's recommended to check whether this world is client before interacting with the world in this way.
See
ModifiableWorld.setBlockState(BlockPos, BlockState, int)
for a list of accepted flags.- Specified by:
setBlockState
in interfaceModifiableWorld
- Parameters:
pos
- the target positionstate
- the block state to setflags
- the bitwise flag combination, as described abovemaxUpdateDepth
- the limit for the cascading block updates- Mappings:
Namespace Name Mixin selector official a
Lbwx;a(Lgg;Lcks;II)Z
intermediary method_30092
Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Z
named setBlockState
Lnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
-
onBlockChanged
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lcks;Lcks;)V
intermediary method_19282
Lnet/minecraft/class_1937;method_19282(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
named onBlockChanged
Lnet/minecraft/world/World;onBlockChanged(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
-
removeBlock
- Specified by:
removeBlock
in interfaceModifiableWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwx;a(Lgg;Z)Z
intermediary method_8650
Lnet/minecraft/class_1945;method_8650(Lnet/minecraft/class_2338;Z)Z
named removeBlock
Lnet/minecraft/world/ModifiableWorld;removeBlock(Lnet/minecraft/util/math/BlockPos;Z)Z
-
breakBlock
public boolean breakBlock(BlockPos pos, boolean drop, @Nullable @Nullable Entity breakingEntity, int maxUpdateDepth) - Specified by:
breakBlock
in interfaceModifiableWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwx;a(Lgg;ZLatf;I)Z
intermediary method_30093
Lnet/minecraft/class_1945;method_30093(Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Z
named breakBlock
Lnet/minecraft/world/ModifiableWorld;breakBlock(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/entity/Entity;I)Z
-
addBlockBreakParticles
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lcks;)V
intermediary method_31595
Lnet/minecraft/class_1937;method_31595(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named addBlockBreakParticles
Lnet/minecraft/world/World;addBlockBreakParticles(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
setBlockState
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b(Lgg;Lcks;)Z
intermediary method_8501
Lnet/minecraft/class_1937;method_8501(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
named setBlockState
Lnet/minecraft/world/World;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
updateListeners
public abstract void updateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lcks;Lcks;I)V
intermediary method_8413
Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
named updateListeners
Lnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)V
-
scheduleBlockRerenderIfNeeded
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b(Lgg;Lcks;Lcks;)V
intermediary method_16109
Lnet/minecraft/class_1937;method_16109(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
named scheduleBlockRerenderIfNeeded
Lnet/minecraft/world/World;scheduleBlockRerenderIfNeeded(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
-
updateNeighborsAlways
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b(Lgg;Lbzo;)V
intermediary method_8452
Lnet/minecraft/class_1937;method_8452(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
named updateNeighborsAlways
Lnet/minecraft/world/World;updateNeighborsAlways(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
updateNeighborsExcept
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lbzo;Lgl;)V
intermediary method_8508
Lnet/minecraft/class_1937;method_8508(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
named updateNeighborsExcept
Lnet/minecraft/world/World;updateNeighborsExcept(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
-
updateNeighbor
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lbzo;Lgg;)V
intermediary method_8492
Lnet/minecraft/class_1937;method_8492(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
named updateNeighbor
Lnet/minecraft/world/World;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
getTopY
- Specified by:
getTopY
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official a
Lbws;a(Lcps$a;II)I
intermediary method_8624
Lnet/minecraft/class_4538;method_8624(Lnet/minecraft/class_2902$class_2903;II)I
named getTopY
Lnet/minecraft/world/WorldView;getTopY(Lnet/minecraft/world/Heightmap$Type;II)I
-
getLightingProvider
- Specified by:
getLightingProvider
in interfaceBlockRenderView
- Mappings:
Namespace Name Mixin selector official k_
Lbvr;k_()Ldej;
intermediary method_22336
Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
named getLightingProvider
Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official a_
Lbvt;a_(Lgg;)Lcks;
intermediary method_8320
Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official b_
Lbvt;b_(Lgg;)Ldes;
intermediary method_8316
Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
isDay
public boolean isDay()- Mappings:
Namespace Name Mixin selector official P
Lbwp;P()Z
intermediary method_8530
Lnet/minecraft/class_1937;method_8530()Z
named isDay
Lnet/minecraft/world/World;isDay()Z
-
isNight
public boolean isNight()- Mappings:
Namespace Name Mixin selector official Q
Lbwp;Q()Z
intermediary method_23886
Lnet/minecraft/class_1937;method_23886()Z
named isNight
Lnet/minecraft/world/World;isNight()Z
-
playSound
public void playSound(@Nullable @Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) - Specified by:
playSound
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official a
Lbwq;a(Lbkd;Lgg;Lafd;Laff;FF)V
intermediary method_8396
Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSound
Lnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
playSound
public abstract void playSound(@Nullable @Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lbkd;DDDLafd;Laff;FF)V
intermediary method_8465
Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSound
Lnet/minecraft/world/World;playSound(Lnet/minecraft/entity/player/PlayerEntity;DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
playSoundFromEntity
public abstract void playSoundFromEntity(@Nullable @Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lbkd;Latf;Lafd;Laff;FF)V
intermediary method_8449
Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSoundFromEntity
Lnet/minecraft/world/World;playSoundFromEntity(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
playSound
public void playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(DDDLafd;Laff;FFZ)V
intermediary method_8486
Lnet/minecraft/class_1937;method_8486(DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
named playSound
Lnet/minecraft/world/World;playSound(DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFZ)V
-
addParticle
public void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Specified by:
addParticle
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official a
Lbwq;a(Lht;DDDDDD)V
intermediary method_8406
Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V
named addParticle
Lnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
-
addParticle
public void addParticle(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lht;ZDDDDDD)V
intermediary method_8466
Lnet/minecraft/class_1937;method_8466(Lnet/minecraft/class_2394;ZDDDDDD)V
named addParticle
Lnet/minecraft/world/World;addParticle(Lnet/minecraft/particle/ParticleEffect;ZDDDDDD)V
-
addImportantParticle
public void addImportantParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector official b
Lbwp;b(Lht;DDDDDD)V
intermediary method_8494
Lnet/minecraft/class_1937;method_8494(Lnet/minecraft/class_2394;DDDDDD)V
named addImportantParticle
Lnet/minecraft/world/World;addImportantParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
-
addImportantParticle
public void addImportantParticle(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector official b
Lbwp;b(Lht;ZDDDDDD)V
intermediary method_17452
Lnet/minecraft/class_1937;method_17452(Lnet/minecraft/class_2394;ZDDDDDD)V
named addImportantParticle
Lnet/minecraft/world/World;addImportantParticle(Lnet/minecraft/particle/ParticleEffect;ZDDDDDD)V
-
getSkyAngleRadians
public float getSkyAngleRadians(float tickDelta) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(F)F
intermediary method_8442
Lnet/minecraft/class_1937;method_8442(F)F
named getSkyAngleRadians
Lnet/minecraft/world/World;getSkyAngleRadians(F)F
-
addBlockEntityTicker
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lcjw;)V
intermediary method_31594
Lnet/minecraft/class_1937;method_31594(Lnet/minecraft/class_5562;)V
named addBlockEntityTicker
Lnet/minecraft/world/World;addBlockEntityTicker(Lnet/minecraft/world/chunk/BlockEntityTickInvoker;)V
-
tickBlockEntities
protected void tickBlockEntities()- Mappings:
Namespace Name Mixin selector official R
Lbwp;R()V
intermediary method_18471
Lnet/minecraft/class_1937;method_18471()V
named tickBlockEntities
Lnet/minecraft/world/World;tickBlockEntities()V
-
tickEntity
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Ljava/util/function/Consumer;Latf;)V
intermediary method_18472
Lnet/minecraft/class_1937;method_18472(Ljava/util/function/Consumer;Lnet/minecraft/class_1297;)V
named tickEntity
Lnet/minecraft/world/World;tickEntity(Ljava/util/function/Consumer;Lnet/minecraft/entity/Entity;)V
-
createExplosion
public Explosion createExplosion(@Nullable @Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;DDDFLbwh$a;)Lbwh;
intermediary method_8437
Lnet/minecraft/class_1937;method_8437(Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_1927$class_4179;)Lnet/minecraft/class_1927;
named createExplosion
Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFLnet/minecraft/world/explosion/Explosion$DestructionType;)Lnet/minecraft/world/explosion/Explosion;
-
createExplosion
public Explosion createExplosion(@Nullable @Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;DDDFZLbwh$a;)Lbwh;
intermediary method_8537
Lnet/minecraft/class_1937;method_8537(Lnet/minecraft/class_1297;DDDFZLnet/minecraft/class_1927$class_4179;)Lnet/minecraft/class_1927;
named createExplosion
Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;DDDFZLnet/minecraft/world/explosion/Explosion$DestructionType;)Lnet/minecraft/world/explosion/Explosion;
-
createExplosion
public Explosion createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;Lasp;Lbwi;DDDFZLbwh$a;)Lbwh;
intermediary method_8454
Lnet/minecraft/class_1937;method_8454(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1927$class_4179;)Lnet/minecraft/class_1927;
named createExplosion
Lnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;DDDFZLnet/minecraft/world/explosion/Explosion$DestructionType;)Lnet/minecraft/world/explosion/Explosion;
-
asString
- Mappings:
Namespace Name Mixin selector official J
Lbwp;J()Ljava/lang/String;
intermediary method_31419
Lnet/minecraft/class_1937;method_31419()Ljava/lang/String;
named asString
Lnet/minecraft/world/World;asString()Ljava/lang/String;
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockView
- Mappings:
Namespace Name Mixin selector official c_
Lbvt;c_(Lgg;)Lcip;
intermediary method_8321
Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
named getBlockEntity
Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lcip;)V
intermediary method_8438
Lnet/minecraft/class_1937;method_8438(Lnet/minecraft/class_2586;)V
named addBlockEntity
Lnet/minecraft/world/World;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntity
- Mappings:
Namespace Name Mixin selector official n
Lbwp;n(Lgg;)V
intermediary method_8544
Lnet/minecraft/class_1937;method_8544(Lnet/minecraft/class_2338;)V
named removeBlockEntity
Lnet/minecraft/world/World;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
-
canSetBlock
- Mappings:
Namespace Name Mixin selector official o
Lbwp;o(Lgg;)Z
intermediary method_8477
Lnet/minecraft/class_1937;method_8477(Lnet/minecraft/class_2338;)Z
named canSetBlock
Lnet/minecraft/world/World;canSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
-
isDirectionSolid
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Latf;Lgl;)Z
intermediary method_24368
Lnet/minecraft/class_1937;method_24368(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350;)Z
named isDirectionSolid
Lnet/minecraft/world/World;isDirectionSolid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Direction;)Z
-
isTopSolid
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Latf;)Z
intermediary method_8515
Lnet/minecraft/class_1937;method_8515(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Z
named isTopSolid
Lnet/minecraft/world/World;isTopSolid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
-
calculateAmbientDarkness
public void calculateAmbientDarkness()- Mappings:
Namespace Name Mixin selector official S
Lbwp;S()V
intermediary method_8533
Lnet/minecraft/class_1937;method_8533()V
named calculateAmbientDarkness
Lnet/minecraft/world/World;calculateAmbientDarkness()V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals) - Mappings:
Namespace Name Mixin selector official b
Lbwp;b(ZZ)V
intermediary method_8424
Lnet/minecraft/class_1937;method_8424(ZZ)V
named setMobSpawnOptions
Lnet/minecraft/world/World;setMobSpawnOptions(ZZ)V
-
initWeatherGradients
protected void initWeatherGradients()- Mappings:
Namespace Name Mixin selector official T
Lbwp;T()V
intermediary method_8543
Lnet/minecraft/class_1937;method_8543()V
named initWeatherGradients
Lnet/minecraft/world/World;initWeatherGradients()V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
getChunkAsView
- Specified by:
getChunkAsView
in interfaceCollisionView
- Specified by:
getChunkAsView
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official c
Lbvy;c(II)Lbvt;
intermediary method_22338
Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;
named getChunkAsView
Lnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
-
getOtherEntities
public List<Entity> getOtherEntities(@Nullable @Nullable Entity except, Box box, Predicate<? super Entity> predicate) Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.- Specified by:
getOtherEntities
in interfaceEntityView
- Parameters:
except
- the entity the box logically surrounds; this entity is ignored if it is inside the boxbox
- the box in which to search for entitiespredicate
- a predicate which entities must satisfy in order to be included in the returned list- Returns:
- a list of entities within a box, excluding the given entity, all satisfying the given predicate
- Mappings:
Namespace Name Mixin selector official a
Lbwg;a(Latf;Ldmv;Ljava/util/function/Predicate;)Ljava/util/List;
intermediary method_8333
Lnet/minecraft/class_1924;method_8333(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
named getOtherEntities
Lnet/minecraft/world/EntityView;getOtherEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
-
getEntitiesByType
public <T extends Entity> List<T> getEntitiesByType(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) - Specified by:
getEntitiesByType
in interfaceEntityView
- Mappings:
Namespace Name Mixin selector official a
Lbwg;a(Lcoj;Ldmv;Ljava/util/function/Predicate;)Ljava/util/List;
intermediary method_18023
Lnet/minecraft/class_1924;method_18023(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;
named getEntitiesByType
Lnet/minecraft/world/EntityView;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
-
getEntityById
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(I)Latf;
intermediary method_8469
Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;
named getEntityById
Lnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
-
markDirty
- Mappings:
Namespace Name Mixin selector official p
Lbwp;p(Lgg;)V
intermediary method_8524
Lnet/minecraft/class_1937;method_8524(Lnet/minecraft/class_2338;)V
named markDirty
Lnet/minecraft/world/World;markDirty(Lnet/minecraft/util/math/BlockPos;)V
-
getSeaLevel
public int getSeaLevel()- Specified by:
getSeaLevel
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official l_
Lbws;l_()I
intermediary method_8615
Lnet/minecraft/class_4538;method_8615()I
named getSeaLevel
Lnet/minecraft/world/WorldView;getSeaLevel()I
-
getReceivedStrongRedstonePower
- Mappings:
Namespace Name Mixin selector official q
Lbwp;q(Lgg;)I
intermediary method_8488
Lnet/minecraft/class_1937;method_8488(Lnet/minecraft/class_2338;)I
named getReceivedStrongRedstonePower
Lnet/minecraft/world/World;getReceivedStrongRedstonePower(Lnet/minecraft/util/math/BlockPos;)I
-
isEmittingRedstonePower
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lgl;)Z
intermediary method_8459
Lnet/minecraft/class_1937;method_8459(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
named isEmittingRedstonePower
Lnet/minecraft/world/World;isEmittingRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
getEmittedRedstonePower
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b(Lgg;Lgl;)I
intermediary method_8499
Lnet/minecraft/class_1937;method_8499(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
named getEmittedRedstonePower
Lnet/minecraft/world/World;getEmittedRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
isReceivingRedstonePower
- Mappings:
Namespace Name Mixin selector official r
Lbwp;r(Lgg;)Z
intermediary method_8479
Lnet/minecraft/class_1937;method_8479(Lnet/minecraft/class_2338;)Z
named isReceivingRedstonePower
Lnet/minecraft/world/World;isReceivingRedstonePower(Lnet/minecraft/util/math/BlockPos;)Z
-
getReceivedRedstonePower
- Mappings:
Namespace Name Mixin selector official s
Lbwp;s(Lgg;)I
intermediary method_8482
Lnet/minecraft/class_1937;method_8482(Lnet/minecraft/class_2338;)I
named getReceivedRedstonePower
Lnet/minecraft/world/World;getReceivedRedstonePower(Lnet/minecraft/util/math/BlockPos;)I
-
disconnect
public void disconnect()- Mappings:
Namespace Name Mixin selector official U
Lbwp;U()V
intermediary method_8525
Lnet/minecraft/class_1937;method_8525()V
named disconnect
Lnet/minecraft/world/World;disconnect()V
-
getTime
public long getTime()- Mappings:
Namespace Name Mixin selector official V
Lbwp;V()J
intermediary method_8510
Lnet/minecraft/class_1937;method_8510()J
named getTime
Lnet/minecraft/world/World;getTime()J
-
getTimeOfDay
public long getTimeOfDay()- Mappings:
Namespace Name Mixin selector official W
Lbwp;W()J
intermediary method_8532
Lnet/minecraft/class_1937;method_8532()J
named getTimeOfDay
Lnet/minecraft/world/World;getTimeOfDay()J
-
canPlayerModifyAt
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lbkd;Lgg;)Z
intermediary method_8505
Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Z
named canPlayerModifyAt
Lnet/minecraft/world/World;canPlayerModifyAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
sendEntityStatus
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;B)V
intermediary method_8421
Lnet/minecraft/class_1937;method_8421(Lnet/minecraft/class_1297;B)V
named sendEntityStatus
Lnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)V
-
addSyncedBlockEvent
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lgg;Lbzo;II)V
intermediary method_8427
Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
named addSyncedBlockEvent
Lnet/minecraft/world/World;addSyncedBlockEvent(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
-
getLevelProperties
- Specified by:
getLevelProperties
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official m_
Lbwq;m_()Ldhy;
intermediary method_8401
Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;
named getLevelProperties
Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getGameRules
- Mappings:
Namespace Name Mixin selector official X
Lbwp;X()Lbwl;
intermediary method_8450
Lnet/minecraft/class_1937;method_8450()Lnet/minecraft/class_1928;
named getGameRules
Lnet/minecraft/world/World;getGameRules()Lnet/minecraft/world/GameRules;
-
getThunderGradient
public float getThunderGradient(float delta) - Mappings:
Namespace Name Mixin selector official b
Lbwp;b(F)F
intermediary method_8478
Lnet/minecraft/class_1937;method_8478(F)F
named getThunderGradient
Lnet/minecraft/world/World;getThunderGradient(F)F
-
setThunderGradient
public void setThunderGradient(float thunderGradient) - Mappings:
Namespace Name Mixin selector official c
Lbwp;c(F)V
intermediary method_8496
Lnet/minecraft/class_1937;method_8496(F)V
named setThunderGradient
Lnet/minecraft/world/World;setThunderGradient(F)V
-
getRainGradient
public float getRainGradient(float delta) - Mappings:
Namespace Name Mixin selector official d
Lbwp;d(F)F
intermediary method_8430
Lnet/minecraft/class_1937;method_8430(F)F
named getRainGradient
Lnet/minecraft/world/World;getRainGradient(F)F
-
setRainGradient
public void setRainGradient(float rainGradient) - Mappings:
Namespace Name Mixin selector official e
Lbwp;e(F)V
intermediary method_8519
Lnet/minecraft/class_1937;method_8519(F)V
named setRainGradient
Lnet/minecraft/world/World;setRainGradient(F)V
-
isThundering
public boolean isThundering()- Mappings:
Namespace Name Mixin selector official Y
Lbwp;Y()Z
intermediary method_8546
Lnet/minecraft/class_1937;method_8546()Z
named isThundering
Lnet/minecraft/world/World;isThundering()Z
-
isRaining
public boolean isRaining()- Mappings:
Namespace Name Mixin selector official Z
Lbwp;Z()Z
intermediary method_8419
Lnet/minecraft/class_1937;method_8419()Z
named isRaining
Lnet/minecraft/world/World;isRaining()Z
-
hasRain
- Mappings:
Namespace Name Mixin selector official t
Lbwp;t(Lgg;)Z
intermediary method_8520
Lnet/minecraft/class_1937;method_8520(Lnet/minecraft/class_2338;)Z
named hasRain
Lnet/minecraft/world/World;hasRain(Lnet/minecraft/util/math/BlockPos;)Z
-
hasHighHumidity
- Mappings:
Namespace Name Mixin selector official u
Lbwp;u(Lgg;)Z
intermediary method_8480
Lnet/minecraft/class_1937;method_8480(Lnet/minecraft/class_2338;)Z
named hasHighHumidity
Lnet/minecraft/world/World;hasHighHumidity(Lnet/minecraft/util/math/BlockPos;)Z
-
getMapState
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Ljava/lang/String;)Ldhs;
intermediary method_17891
Lnet/minecraft/class_1937;method_17891(Ljava/lang/String;)Lnet/minecraft/class_22;
named getMapState
Lnet/minecraft/world/World;getMapState(Ljava/lang/String;)Lnet/minecraft/item/map/MapState;
-
putMapState
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Ljava/lang/String;Ldhs;)V
intermediary method_17890
Lnet/minecraft/class_1937;method_17890(Ljava/lang/String;Lnet/minecraft/class_22;)V
named putMapState
Lnet/minecraft/world/World;putMapState(Ljava/lang/String;Lnet/minecraft/item/map/MapState;)V
-
getNextMapId
public abstract int getNextMapId()- Mappings:
Namespace Name Mixin selector official v
Lbwp;v()I
intermediary method_17889
Lnet/minecraft/class_1937;method_17889()I
named getNextMapId
Lnet/minecraft/world/World;getNextMapId()I
-
syncGlobalEvent
- Mappings:
Namespace Name Mixin selector official b
Lbwp;b(ILgg;I)V
intermediary method_8474
Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)V
named syncGlobalEvent
Lnet/minecraft/world/World;syncGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)V
-
addDetailsToCrashReport
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lq;)Lr;
intermediary method_8538
Lnet/minecraft/class_1937;method_8538(Lnet/minecraft/class_128;)Lnet/minecraft/class_129;
named addDetailsToCrashReport
Lnet/minecraft/world/World;addDetailsToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;
-
setBlockBreakingInfo
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(ILgg;I)V
intermediary method_8517
Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)V
named setBlockBreakingInfo
Lnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)V
-
addFireworkParticle
public void addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable @Nullable NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(DDDDDDLna;)V
intermediary method_8547
Lnet/minecraft/class_1937;method_8547(DDDDDDLnet/minecraft/class_2487;)V
named addFireworkParticle
Lnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/NbtCompound;)V
-
getScoreboard
- Mappings:
Namespace Name Mixin selector official K
Lbwp;K()Ldny;
intermediary method_8428
Lnet/minecraft/class_1937;method_8428()Lnet/minecraft/class_269;
named getScoreboard
Lnet/minecraft/world/World;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
updateComparators
- Mappings:
Namespace Name Mixin selector official c
Lbwp;c(Lgg;Lbzo;)V
intermediary method_8455
Lnet/minecraft/class_1937;method_8455(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
named updateComparators
Lnet/minecraft/world/World;updateComparators(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getLocalDifficulty
- Specified by:
getLocalDifficulty
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official d_
Lbwq;d_(Lgg;)Lary;
intermediary method_8404
Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;
named getLocalDifficulty
Lnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
-
getAmbientDarkness
public int getAmbientDarkness()- Specified by:
getAmbientDarkness
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official n_
Lbws;n_()I
intermediary method_8594
Lnet/minecraft/class_4538;method_8594()I
named getAmbientDarkness
Lnet/minecraft/world/WorldView;getAmbientDarkness()I
-
setLightningTicksLeft
public void setLightningTicksLeft(int lightningTicksLeft) - Mappings:
Namespace Name Mixin selector official c
Lbwp;c(I)V
intermediary method_8509
Lnet/minecraft/class_1937;method_8509(I)V
named setLightningTicksLeft
Lnet/minecraft/world/World;setLightningTicksLeft(I)V
-
getWorldBorder
- Specified by:
getWorldBorder
in interfaceCollisionView
- Mappings:
Namespace Name Mixin selector official o_
Lbvy;o_()Lcmi;
intermediary method_8621
Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;
named getWorldBorder
Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
-
sendPacket
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Lpk;)V
intermediary method_8522
Lnet/minecraft/class_1937;method_8522(Lnet/minecraft/class_2596;)V
named sendPacket
Lnet/minecraft/world/World;sendPacket(Lnet/minecraft/network/Packet;)V
-
getDimension
- Specified by:
getDimension
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official p_
Lbws;p_()Lcnu;
intermediary method_8597
Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;
named getDimension
Lnet/minecraft/world/WorldView;getDimension()Lnet/minecraft/world/dimension/DimensionType;
-
getRegistryKey
- Mappings:
Namespace Name Mixin selector official aa
Lbwp;aa()Lwv;
intermediary method_27983
Lnet/minecraft/class_1937;method_27983()Lnet/minecraft/class_5321;
named getRegistryKey
Lnet/minecraft/world/World;getRegistryKey()Lnet/minecraft/util/registry/RegistryKey;
-
getRandom
- Specified by:
getRandom
in interfaceWorldAccess
- Mappings:
Namespace Name Mixin selector official q_
Lbwq;q_()Ljava/util/Random;
intermediary method_8409
Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;
named getRandom
Lnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
-
testBlockState
- Specified by:
testBlockState
in interfaceTestableWorld
- Mappings:
Namespace Name Mixin selector official a
Lbwv;a(Lgg;Ljava/util/function/Predicate;)Z
intermediary method_16358
Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
named testBlockState
Lnet/minecraft/world/TestableWorld;testBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
-
testFluidState
- Specified by:
testFluidState
in interfaceTestableWorld
- Mappings:
Namespace Name Mixin selector official b
Lbwv;b(Lgg;Ljava/util/function/Predicate;)Z
intermediary method_35237
Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z
named testFluidState
Lnet/minecraft/world/TestableWorld;testFluidState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
-
getRecipeManager
- Mappings:
Namespace Name Mixin selector official q
Lbwp;q()Lbti;
intermediary method_8433
Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;
named getRecipeManager
Lnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
-
getTagManager
- Mappings:
Namespace Name Mixin selector official r
Lbwp;r()Lagc;
intermediary method_8514
Lnet/minecraft/class_1937;method_8514()Lnet/minecraft/class_5415;
named getTagManager
Lnet/minecraft/world/World;getTagManager()Lnet/minecraft/tag/TagManager;
-
getRandomPosInChunk
- Mappings:
Namespace Name Mixin selector official a
Lbwp;a(IIII)Lgg;
intermediary method_8536
Lnet/minecraft/class_1937;method_8536(IIII)Lnet/minecraft/class_2338;
named getRandomPosInChunk
Lnet/minecraft/world/World;getRandomPosInChunk(IIII)Lnet/minecraft/util/math/BlockPos;
-
isSavingDisabled
public boolean isSavingDisabled()- Mappings:
Namespace Name Mixin selector official s
Lbwp;s()Z
intermediary method_8458
Lnet/minecraft/class_1937;method_8458()Z
named isSavingDisabled
Lnet/minecraft/world/World;isSavingDisabled()Z
-
getProfiler
- Mappings:
Namespace Name Mixin selector official ab
Lbwp;ab()Lapu;
intermediary method_16107
Lnet/minecraft/class_1937;method_16107()Lnet/minecraft/class_3695;
named getProfiler
Lnet/minecraft/world/World;getProfiler()Lnet/minecraft/util/profiler/Profiler;
-
getProfilerSupplier
- Mappings:
Namespace Name Mixin selector official ac
Lbwp;ac()Ljava/util/function/Supplier;
intermediary method_24367
Lnet/minecraft/class_1937;method_24367()Ljava/util/function/Supplier;
named getProfilerSupplier
Lnet/minecraft/world/World;getProfilerSupplier()Ljava/util/function/Supplier;
-
getBiomeAccess
- Specified by:
getBiomeAccess
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official r_
Lbws;r_()Lbxq;
intermediary method_22385
Lnet/minecraft/class_4538;method_22385()Lnet/minecraft/class_4543;
named getBiomeAccess
Lnet/minecraft/world/WorldView;getBiomeAccess()Lnet/minecraft/world/biome/source/BiomeAccess;
-
isDebugWorld
public final boolean isDebugWorld()Checks if this world is a debug world.Debug worlds are not modifiable and are typically meant for development and debug use only. See the minecraft wiki as well.
- Mappings:
Namespace Name Mixin selector official ad
Lbwp;ad()Z
intermediary method_27982
Lnet/minecraft/class_1937;method_27982()Z
named isDebugWorld
Lnet/minecraft/world/World;isDebugWorld()Z
-
getEntityLookup
- Mappings:
Namespace Name Mixin selector official I
Lbwp;I()Lcol;
intermediary method_31592
Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;
named getEntityLookup
Lnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;
-
emitGameEvent
protected void emitGameEvent(@Nullable @Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range) - Mappings:
Namespace Name Mixin selector official a
Lbwp;a(Latf;Lcov;Lgg;I)V
intermediary method_32886
Lnet/minecraft/class_1937;method_32886(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;I)V
named emitGameEvent
Lnet/minecraft/world/World;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;I)V
-