类 World
- java.lang.Object
-
- net.minecraft.world.World
-
- 所有已实现的接口:
AutoCloseable,BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RegistryWorldView,TestableWorld,WorldAccess,WorldView
- 直接已知子类:
ClientWorld,ServerWorld
public abstract class World extends Object implements WorldAccess, AutoCloseable
- Mappings:
Namespace Name official bvrintermediary net/minecraft/class_1937named net/minecraft/world/World
-
-
字段概要
-
构造器概要
构造器 限定符 构造器 说明 protectedWorld(MutableWorldProperties properties, RegistryKey<World> registryRef, DimensionType dimensionType, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed)
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 voidaddBlockBreakParticles(BlockPos pos, BlockState state)voidaddBlockEntity(BlockEntity blockEntity)voidaddBlockEntityTicker(BlockEntityTickInvoker ticker)CrashReportSectionaddDetailsToCrashReport(CrashReport report)voidaddFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, @Nullable CompoundTag nbt)voidaddImportantParticle(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ)voidaddImportantParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)voidaddParticle(ParticleEffect parameters, boolean alwaysSpawn, double x, double y, double z, double velocityX, double velocityY, double velocityZ)voidaddParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ)voidaddSyncedBlockEvent(BlockPos pos, Block block, int type, int data)abstract StringasString()booleanbreakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth)voidcalculateAmbientDarkness()booleancanPlayerModifyAt(PlayerEntity player, BlockPos pos)booleancanSetBlock(BlockPos pos)voidclose()ExplosioncreateExplosion(@Nullable Entity entity, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)ExplosioncreateExplosion(@Nullable Entity entity, double x, double y, double z, float power, Explosion.DestructionType destructionType)ExplosioncreateExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, Explosion.DestructionType destructionType)voiddisconnect()protected voidemitGameEvent(@Nullable Entity entity, GameEvent gameEvent, BlockPos pos, int range)intgetAmbientDarkness()BiomeAccessgetBiomeAccess()@Nullable BlockEntitygetBlockEntity(BlockPos pos)BlockStategetBlockState(BlockPos pos)WorldChunkgetChunk(int int2, int int3)@Nullable ChunkgetChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)@Nullable BlockViewgetChunkAsView(int chunkX, int chunkZ)DimensionTypegetDimension()intgetEmittedRedstonePower(BlockPos pos, Direction direction)<T extends Entity>
List<T>getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)abstract @Nullable EntitygetEntityById(int id)protected abstract EntityLookup<Entity>getEntityLookup()FluidStategetFluidState(BlockPos pos)GameRulesgetGameRules()WorldPropertiesgetLevelProperties()LightingProvidergetLightingProvider()LocalDifficultygetLocalDifficulty(BlockPos pos)abstract @Nullable MapStategetMapState(String id)abstract intgetNextMapId()List<Entity>getOtherEntities(@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.ProfilergetProfiler()Supplier<Profiler>getProfilerSupplier()floatgetRainGradient(float delta)RandomgetRandom()BlockPosgetRandomPosInChunk(int x, int y, int z, int int2)intgetReceivedRedstonePower(BlockPos pos)intgetReceivedStrongRedstonePower(BlockPos pos)abstract RecipeManagergetRecipeManager()RegistryKey<World>getRegistryKey()abstract ScoreboardgetScoreboard()intgetSeaLevel()@Nullable MinecraftServergetServer()floatgetSkyAngleRadians(float tickDelta)abstract TagManagergetTagManager()floatgetThunderGradient(float delta)longgetTime()longgetTimeOfDay()intgetTopY(Heightmap.Type heightmap, int x, int z)WorldBordergetWorldBorder()WorldChunkgetWorldChunk(BlockPos pos)booleanhasHighHumidity(BlockPos pos)booleanhasRain(BlockPos pos)protected voidinitWeatherGradients()booleanisClient()Checks if this world view is on the logical client.booleanisDay()booleanisDebugWorld()Checks if this world is a debug world.booleanisDirectionSolid(BlockPos pos, Entity entity, Direction direction)booleanisEmittingRedstonePower(BlockPos pos, Direction direction)booleanisInBuildLimit(BlockPos pos)private static booleanisInvalidVertically(int y)booleanisNight()booleanisRaining()booleanisReceivingRedstonePower(BlockPos pos)booleanisSavingDisabled()booleanisThundering()booleanisTopSolid(BlockPos pos, Entity entity)static booleanisValid(BlockPos pos)private static booleanisValidHorizontally(BlockPos pos)voidmarkDirty(BlockPos pos)voidonBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)voidplaySound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)abstract voidplaySound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)voidplaySound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)abstract voidplaySoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)abstract voidputMapState(String id, MapState state)booleanremoveBlock(BlockPos pos, boolean move)voidremoveBlockEntity(BlockPos pos)voidscheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated)voidsendEntityStatus(Entity entity, byte status)voidsendPacket(Packet<?> packet)abstract voidsetBlockBreakingInfo(int entityId, BlockPos pos, int progress)booleansetBlockState(BlockPos pos, BlockState state)booleansetBlockState(BlockPos pos, BlockState state, int flags)Updates the block state at a position, calling appropriate callbacks.booleansetBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth)Updates the block state at a position, calling appropriate callbacks.voidsetLightningTicksLeft(int lightningTicksLeft)voidsetMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)voidsetRainGradient(float rainGradient)voidsetThunderGradient(float thunderGradient)voidsyncGlobalEvent(int eventId, BlockPos pos, int data)booleantestBlockState(BlockPos pos, Predicate<BlockState> state)booleantestFluidState(BlockPos pos, Predicate<FluidState> state)protected voidtickBlockEntities()<T extends Entity>
voidtickEntity(Consumer<T> tickConsumer, T entity)voidupdateComparators(BlockPos pos, Block block)abstract voidupdateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags)voidupdateNeighbor(BlockPos pos, Block sourceBlock, BlockPos neighborPos)voidupdateNeighborsAlways(BlockPos pos, Block block)voidupdateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
从接口继承的方法 net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightLevel, isSkyVisible
-
从接口继承的方法 net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
-
从接口继承的方法 net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getNonSpectatingEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
从接口继承的方法 net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngle
-
从接口继承的方法 net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, spawnEntity
-
从接口继承的方法 net.minecraft.world.RegistryWorldView
getBiomeKey, getBlockEntity, getEntityCollisions, getRegistryManager, getTopPosition, intersectsEntities
-
从接口继承的方法 net.minecraft.world.WorldAccess
emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getBlockTickScheduler, getChunkManager, getDifficulty, getFluidTickScheduler, getLogicalHeight, getLunarTime, isChunkLoaded, syncWorldEvent, syncWorldEvent, updateNeighbors
-
从接口继承的方法 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
-
-
-
-
字段详细资料
-
LOGGER
protected static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official dLbvr;d:Lorg/apache/logging/log4j/Logger;intermediary field_9224Lnet/minecraft/class_1937;field_9224:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/World;LOGGER:Lorg/apache/logging/log4j/Logger;
-
CODEC
public static final com.mojang.serialization.Codec<RegistryKey<World>> CODEC
- Mappings:
Namespace Name Mixin selector official eLbvr;e:Lcom/mojang/serialization/Codec;intermediary field_25178Lnet/minecraft/class_1937;field_25178:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/World;CODEC:Lcom/mojang/serialization/Codec;
-
OVERWORLD
public static final RegistryKey<World> OVERWORLD
- Mappings:
Namespace Name Mixin selector official fLbvr;f:Lwo;intermediary field_25179Lnet/minecraft/class_1937;field_25179:Lnet/minecraft/class_5321;named OVERWORLDLnet/minecraft/world/World;OVERWORLD:Lnet/minecraft/util/registry/RegistryKey;
-
NETHER
public static final RegistryKey<World> NETHER
- Mappings:
Namespace Name Mixin selector official gLbvr;g:Lwo;intermediary field_25180Lnet/minecraft/class_1937;field_25180:Lnet/minecraft/class_5321;named NETHERLnet/minecraft/world/World;NETHER:Lnet/minecraft/util/registry/RegistryKey;
-
END
public static final RegistryKey<World> END
- Mappings:
Namespace Name Mixin selector official hLbvr;h:Lwo;intermediary field_25181Lnet/minecraft/class_1937;field_25181:Lnet/minecraft/class_5321;named ENDLnet/minecraft/world/World;END:Lnet/minecraft/util/registry/RegistryKey;
-
HORIZONTAL_LIMIT
public static final int HORIZONTAL_LIMIT
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official iLbvr;i:Iintermediary field_30965Lnet/minecraft/class_1937;field_30965:Inamed HORIZONTAL_LIMITLnet/minecraft/world/World;HORIZONTAL_LIMIT:I
-
MAX_UPDATE_DEPTH
public static final int MAX_UPDATE_DEPTH
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official jLbvr;j:Iintermediary field_30966Lnet/minecraft/class_1937;field_30966:Inamed MAX_UPDATE_DEPTHLnet/minecraft/world/World;MAX_UPDATE_DEPTH:I
-
field_30967
public static final int field_30967
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official kLbvr;k:Iintermediary field_30967Lnet/minecraft/class_1937;field_30967:Inamed field_30967Lnet/minecraft/world/World;field_30967:I
-
DIRECTIONS
private static final Direction[] DIRECTIONS
- Mappings:
Namespace Name Mixin selector official aLbvr;a:[Lgg;intermediary field_9233Lnet/minecraft/class_1937;field_9233:[Lnet/minecraft/class_2350;named DIRECTIONSLnet/minecraft/world/World;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
field_30968
public static final int field_30968
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official lLbvr;l:Iintermediary field_30968Lnet/minecraft/class_1937;field_30968:Inamed field_30968Lnet/minecraft/world/World;field_30968:I
-
field_30969
public static final int field_30969
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLbvr;m:Iintermediary field_30969Lnet/minecraft/class_1937;field_30969:Inamed field_30969Lnet/minecraft/world/World;field_30969:I
-
MAX_Y
public static final int MAX_Y
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official nLbvr;n:Iintermediary field_30970Lnet/minecraft/class_1937;field_30970:Inamed MAX_YLnet/minecraft/world/World;MAX_Y:I
-
MIN_Y
public static final int MIN_Y
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official oLbvr;o:Iintermediary field_30971Lnet/minecraft/class_1937;field_30971:Inamed MIN_YLnet/minecraft/world/World;MIN_Y:I
-
blockEntityTickers
protected final List<BlockEntityTickInvoker> blockEntityTickers
- Mappings:
Namespace Name Mixin selector official pLbvr;p:Ljava/util/List;intermediary field_27082Lnet/minecraft/class_1937;field_27082:Ljava/util/List;named blockEntityTickersLnet/minecraft/world/World;blockEntityTickers:Ljava/util/List;
-
pendingBlockEntityTickers
private final List<BlockEntityTickInvoker> pendingBlockEntityTickers
- Mappings:
Namespace Name Mixin selector official bLbvr;b:Ljava/util/List;intermediary field_27081Lnet/minecraft/class_1937;field_27081:Ljava/util/List;named pendingBlockEntityTickersLnet/minecraft/world/World;pendingBlockEntityTickers:Ljava/util/List;
-
iteratingTickingBlockEntities
private boolean iteratingTickingBlockEntities
- Mappings:
Namespace Name Mixin selector official cLbvr;c:Zintermediary field_9249Lnet/minecraft/class_1937;field_9249:Znamed iteratingTickingBlockEntitiesLnet/minecraft/world/World;iteratingTickingBlockEntities:Z
-
thread
private final Thread thread
- Mappings:
Namespace Name Mixin selector official zLbvr;z:Ljava/lang/Thread;intermediary field_17086Lnet/minecraft/class_1937;field_17086:Ljava/lang/Thread;named threadLnet/minecraft/world/World;thread:Ljava/lang/Thread;
-
debugWorld
private final boolean debugWorld
- Mappings:
Namespace Name Mixin selector official ALbvr;A:Zintermediary field_24496Lnet/minecraft/class_1937;field_24496:Znamed debugWorldLnet/minecraft/world/World;debugWorld:Z
-
ambientDarkness
private int ambientDarkness
- Mappings:
Namespace Name Mixin selector official BLbvr;B:Iintermediary field_9226Lnet/minecraft/class_1937;field_9226:Inamed ambientDarknessLnet/minecraft/world/World;ambientDarkness:I
-
lcgBlockSeed
protected int lcgBlockSeed
- Mappings:
Namespace Name Mixin selector official qLbvr;q:Iintermediary field_9256Lnet/minecraft/class_1937;field_9256:Inamed lcgBlockSeedLnet/minecraft/world/World;lcgBlockSeed:I
-
lcgBlockSeedIncrement
protected final int lcgBlockSeedIncrement
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official rLbvr;r:Iintermediary field_9238Lnet/minecraft/class_1937;field_9238:Inamed lcgBlockSeedIncrementLnet/minecraft/world/World;lcgBlockSeedIncrement:I
-
rainGradientPrev
protected float rainGradientPrev
- Mappings:
Namespace Name Mixin selector official sLbvr;s:Fintermediary field_9253Lnet/minecraft/class_1937;field_9253:Fnamed rainGradientPrevLnet/minecraft/world/World;rainGradientPrev:F
-
rainGradient
protected float rainGradient
- Mappings:
Namespace Name Mixin selector official tLbvr;t:Fintermediary field_9235Lnet/minecraft/class_1937;field_9235:Fnamed rainGradientLnet/minecraft/world/World;rainGradient:F
-
thunderGradientPrev
protected float thunderGradientPrev
- Mappings:
Namespace Name Mixin selector official uLbvr;u:Fintermediary field_9251Lnet/minecraft/class_1937;field_9251:Fnamed thunderGradientPrevLnet/minecraft/world/World;thunderGradientPrev:F
-
thunderGradient
protected float thunderGradient
- Mappings:
Namespace Name Mixin selector official vLbvr;v:Fintermediary field_9234Lnet/minecraft/class_1937;field_9234:Fnamed thunderGradientLnet/minecraft/world/World;thunderGradient:F
-
random
public final Random random
- Mappings:
Namespace Name Mixin selector official wLbvr;w:Ljava/util/Random;intermediary field_9229Lnet/minecraft/class_1937;field_9229:Ljava/util/Random;named randomLnet/minecraft/world/World;random:Ljava/util/Random;
-
dimension
private final DimensionType dimension
- Mappings:
Namespace Name Mixin selector official CLbvr;C:Lcmt;intermediary field_9247Lnet/minecraft/class_1937;field_9247:Lnet/minecraft/class_2874;named dimensionLnet/minecraft/world/World;dimension:Lnet/minecraft/world/dimension/DimensionType;
-
properties
protected final MutableWorldProperties properties
- Mappings:
Namespace Name Mixin selector official xLbvr;x:Ldhj;intermediary field_9232Lnet/minecraft/class_1937;field_9232:Lnet/minecraft/class_5269;named propertiesLnet/minecraft/world/World;properties:Lnet/minecraft/world/MutableWorldProperties;
-
profiler
private final Supplier<Profiler> profiler
- Mappings:
Namespace Name Mixin selector official DLbvr;D:Ljava/util/function/Supplier;intermediary field_16316Lnet/minecraft/class_1937;field_16316:Ljava/util/function/Supplier;named profilerLnet/minecraft/world/World;profiler:Ljava/util/function/Supplier;
-
isClient
public final boolean isClient
- Mappings:
Namespace Name Mixin selector official yLbvr;y:Zintermediary field_9236Lnet/minecraft/class_1937;field_9236:Znamed isClientLnet/minecraft/world/World;isClient:Z
-
border
private final WorldBorder border
- Mappings:
Namespace Name Mixin selector official ELbvr;E:Lclh;intermediary field_9223Lnet/minecraft/class_1937;field_9223:Lnet/minecraft/class_2784;named borderLnet/minecraft/world/World;border:Lnet/minecraft/world/border/WorldBorder;
-
biomeAccess
private final BiomeAccess biomeAccess
- Mappings:
Namespace Name Mixin selector official FLbvr;F:Lbws;intermediary field_20639Lnet/minecraft/class_1937;field_20639:Lnet/minecraft/class_4543;named biomeAccessLnet/minecraft/world/World;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
-
registryKey
private final RegistryKey<World> registryKey
- Mappings:
Namespace Name Mixin selector official GLbvr;G:Lwo;intermediary field_25176Lnet/minecraft/class_1937;field_25176:Lnet/minecraft/class_5321;named registryKeyLnet/minecraft/world/World;registryKey:Lnet/minecraft/util/registry/RegistryKey;
-
-
构造器详细资料
-
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>Lbvr;<init>(Ldhj;Lwo;Lcmt;Ljava/util/function/Supplier;ZZJ)Vintermediary <init>Lnet/minecraft/class_1937;<init>(Lnet/minecraft/class_5269;Lnet/minecraft/class_5321;Lnet/minecraft/class_2874;Ljava/util/function/Supplier;ZZJ)Vnamed <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
-
-
方法详细资料
-
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
@Nullable public @Nullable MinecraftServer getServer()
- 指定者:
getServer在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official nLbvs;n()Lnet/minecraft/server/MinecraftServer;intermediary method_8503Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;named getServerLnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
-
isInBuildLimit
public boolean isInBuildLimit(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official iLbvr;i(Lgb;)Zintermediary method_24794Lnet/minecraft/class_1937;method_24794(Lnet/minecraft/class_2338;)Znamed isInBuildLimitLnet/minecraft/world/World;isInBuildLimit(Lnet/minecraft/util/math/BlockPos;)Z
-
isValid
public static boolean isValid(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official jLbvr;j(Lgb;)Zintermediary method_25953Lnet/minecraft/class_1937;method_25953(Lnet/minecraft/class_2338;)Znamed isValidLnet/minecraft/world/World;isValid(Lnet/minecraft/util/math/BlockPos;)Z
-
isValidHorizontally
private static boolean isValidHorizontally(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official CLbvr;C(Lgb;)Zintermediary method_8558Lnet/minecraft/class_1937;method_8558(Lnet/minecraft/class_2338;)Znamed isValidHorizontallyLnet/minecraft/world/World;isValidHorizontally(Lnet/minecraft/util/math/BlockPos;)Z
-
isInvalidVertically
private static boolean isInvalidVertically(int y)
- Mappings:
Namespace Name Mixin selector official bLbvr;b(I)Zintermediary method_25952Lnet/minecraft/class_1937;method_25952(I)Znamed isInvalidVerticallyLnet/minecraft/world/World;isInvalidVertically(I)Z
-
getWorldChunk
public WorldChunk getWorldChunk(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official kLbvr;k(Lgb;)Lclv;intermediary method_8500Lnet/minecraft/class_1937;method_8500(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2818;named getWorldChunkLnet/minecraft/world/World;getWorldChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/WorldChunk;
-
getChunk
public WorldChunk getChunk(int int2, int int3)
-
getChunk
@Nullable public @Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
- 指定者:
getChunk在接口中WorldView- Mappings:
Namespace Name Mixin selector official aLbvu;a(IILclo;Z)Lclk;intermediary method_8402Lnet/minecraft/class_4538;method_8402(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;named getChunkLnet/minecraft/world/WorldView;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
-
setBlockState
public boolean setBlockState(BlockPos pos, BlockState state, int flags)
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:
- 指定者:
setBlockState在接口中ModifiableWorld- 参数:
pos- the target positionstate- the block state to setflags- the bitwise flag combination, as described above- 另请参阅:
ModifiableWorld.setBlockState(BlockPos, BlockState, int, int)- Mappings:
Namespace Name Mixin selector official aLbvz;a(Lgb;Lcjr;I)Zintermediary method_8652Lnet/minecraft/class_1945;method_8652(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Znamed setBlockStateLnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Z
-
setBlockState
public boolean setBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth)
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.- 指定者:
setBlockState在接口中ModifiableWorld- 参数:
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 aLbvz;a(Lgb;Lcjr;II)Zintermediary method_30092Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Znamed setBlockStateLnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
-
onBlockChanged
public void onBlockChanged(BlockPos pos, BlockState oldBlock, BlockState newBlock)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lcjr;Lcjr;)Vintermediary method_19282Lnet/minecraft/class_1937;method_19282(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Vnamed onBlockChangedLnet/minecraft/world/World;onBlockChanged(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
-
removeBlock
public boolean removeBlock(BlockPos pos, boolean move)
- 指定者:
removeBlock在接口中ModifiableWorld- Mappings:
Namespace Name Mixin selector official aLbvz;a(Lgb;Z)Zintermediary method_8650Lnet/minecraft/class_1945;method_8650(Lnet/minecraft/class_2338;Z)Znamed removeBlockLnet/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)
- 指定者:
breakBlock在接口中ModifiableWorld- Mappings:
Namespace Name Mixin selector official aLbvz;a(Lgb;ZLasl;I)Zintermediary method_30093Lnet/minecraft/class_1945;method_30093(Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Znamed breakBlockLnet/minecraft/world/ModifiableWorld;breakBlock(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/entity/Entity;I)Z
-
addBlockBreakParticles
public void addBlockBreakParticles(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lcjr;)Vintermediary method_31595Lnet/minecraft/class_1937;method_31595(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed addBlockBreakParticlesLnet/minecraft/world/World;addBlockBreakParticles(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
setBlockState
public boolean setBlockState(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official bLbvr;b(Lgb;Lcjr;)Zintermediary method_8501Lnet/minecraft/class_1937;method_8501(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed setBlockStateLnet/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 aLbvr;a(Lgb;Lcjr;Lcjr;I)Vintermediary method_8413Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)Vnamed updateListenersLnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)V
-
scheduleBlockRerenderIfNeeded
public void scheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated)
- Mappings:
Namespace Name Mixin selector official bLbvr;b(Lgb;Lcjr;Lcjr;)Vintermediary method_16109Lnet/minecraft/class_1937;method_16109(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Vnamed scheduleBlockRerenderIfNeededLnet/minecraft/world/World;scheduleBlockRerenderIfNeeded(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)V
-
updateNeighborsAlways
public void updateNeighborsAlways(BlockPos pos, Block block)
- Mappings:
Namespace Name Mixin selector official bLbvr;b(Lgb;Lbyq;)Vintermediary method_8452Lnet/minecraft/class_1937;method_8452(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vnamed updateNeighborsAlwaysLnet/minecraft/world/World;updateNeighborsAlways(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
updateNeighborsExcept
public void updateNeighborsExcept(BlockPos pos, Block sourceBlock, Direction direction)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lbyq;Lgg;)Vintermediary method_8508Lnet/minecraft/class_1937;method_8508(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)Vnamed updateNeighborsExceptLnet/minecraft/world/World;updateNeighborsExcept(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/Direction;)V
-
updateNeighbor
public void updateNeighbor(BlockPos pos, Block sourceBlock, BlockPos neighborPos)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lbyq;Lgb;)Vintermediary method_8492Lnet/minecraft/class_1937;method_8492(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)Vnamed updateNeighborLnet/minecraft/world/World;updateNeighbor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
getTopY
public int getTopY(Heightmap.Type heightmap, int x, int z)
-
getLightingProvider
public LightingProvider getLightingProvider()
- 指定者:
getLightingProvider在接口中BlockRenderView- Mappings:
Namespace Name Mixin selector official t_Lbut;t_()Lddj;intermediary method_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;named getLightingProviderLnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
-
getBlockState
public BlockState getBlockState(BlockPos pos)
- 指定者:
getBlockState在接口中BlockView- Mappings:
Namespace Name Mixin selector official d_Lbuv;d_(Lgb;)Lcjr;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getFluidState
public FluidState getFluidState(BlockPos pos)
- 指定者:
getFluidState在接口中BlockView- Mappings:
Namespace Name Mixin selector official bLbuv;b(Lgb;)Ldds;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
isDay
public boolean isDay()
- Mappings:
Namespace Name Mixin selector official PLbvr;P()Zintermediary method_8530Lnet/minecraft/class_1937;method_8530()Znamed isDayLnet/minecraft/world/World;isDay()Z
-
isNight
public boolean isNight()
- Mappings:
Namespace Name Mixin selector official QLbvr;Q()Zintermediary method_23886Lnet/minecraft/class_1937;method_23886()Znamed isNightLnet/minecraft/world/World;isNight()Z
-
playSound
public void playSound(@Nullable @Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
- 指定者:
playSound在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lbjf;Lgb;Laev;Laex;FF)Vintermediary method_8396Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/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 aLbvr;a(Lbjf;DDDLaev;Laex;FF)Vintermediary method_8465Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/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 aLbvr;a(Lbjf;Lasl;Laev;Laex;FF)Vintermediary method_8449Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundFromEntityLnet/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 aLbvr;a(DDDLaev;Laex;FFZ)Vintermediary method_8486Lnet/minecraft/class_1937;method_8486(DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)Vnamed playSoundLnet/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)
- 指定者:
addParticle在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official aLbvs;a(Lho;DDDDDD)Vintermediary method_8406Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)Vnamed addParticleLnet/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 aLbvr;a(Lho;ZDDDDDD)Vintermediary method_8466Lnet/minecraft/class_1937;method_8466(Lnet/minecraft/class_2394;ZDDDDDD)Vnamed addParticleLnet/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 bLbvr;b(Lho;DDDDDD)Vintermediary method_8494Lnet/minecraft/class_1937;method_8494(Lnet/minecraft/class_2394;DDDDDD)Vnamed addImportantParticleLnet/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 bLbvr;b(Lho;ZDDDDDD)Vintermediary method_17452Lnet/minecraft/class_1937;method_17452(Lnet/minecraft/class_2394;ZDDDDDD)Vnamed addImportantParticleLnet/minecraft/world/World;addImportantParticle(Lnet/minecraft/particle/ParticleEffect;ZDDDDDD)V
-
getSkyAngleRadians
public float getSkyAngleRadians(float tickDelta)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(F)Fintermediary method_8442Lnet/minecraft/class_1937;method_8442(F)Fnamed getSkyAngleRadiansLnet/minecraft/world/World;getSkyAngleRadians(F)F
-
addBlockEntityTicker
public void addBlockEntityTicker(BlockEntityTickInvoker ticker)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lciw;)Vintermediary method_31594Lnet/minecraft/class_1937;method_31594(Lnet/minecraft/class_5562;)Vnamed addBlockEntityTickerLnet/minecraft/world/World;addBlockEntityTicker(Lnet/minecraft/world/chunk/BlockEntityTickInvoker;)V
-
tickBlockEntities
protected void tickBlockEntities()
- Mappings:
Namespace Name Mixin selector official RLbvr;R()Vintermediary method_18471Lnet/minecraft/class_1937;method_18471()Vnamed tickBlockEntitiesLnet/minecraft/world/World;tickBlockEntities()V
-
tickEntity
public <T extends Entity> void tickEntity(Consumer<T> tickConsumer, T entity)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Ljava/util/function/Consumer;Lasl;)Vintermediary method_18472Lnet/minecraft/class_1937;method_18472(Ljava/util/function/Consumer;Lnet/minecraft/class_1297;)Vnamed tickEntityLnet/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 aLbvr;a(Lasl;DDDFLbvj$a;)Lbvj;intermediary method_8437Lnet/minecraft/class_1937;method_8437(Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_1927$class_4179;)Lnet/minecraft/class_1927;named createExplosionLnet/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 aLbvr;a(Lasl;DDDFZLbvj$a;)Lbvj;intermediary method_8537Lnet/minecraft/class_1937;method_8537(Lnet/minecraft/class_1297;DDDFZLnet/minecraft/class_1927$class_4179;)Lnet/minecraft/class_1927;named createExplosionLnet/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 aLbvr;a(Lasl;Larv;Lbvk;DDDFZLbvj$a;)Lbvj;intermediary method_8454Lnet/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 createExplosionLnet/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
public abstract String asString()
- Mappings:
Namespace Name Mixin selector official JLbvr;J()Ljava/lang/String;intermediary method_31419Lnet/minecraft/class_1937;method_31419()Ljava/lang/String;named asStringLnet/minecraft/world/World;asString()Ljava/lang/String;
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
- 指定者:
getBlockEntity在接口中BlockView- Mappings:
Namespace Name Mixin selector official cLbuv;c(Lgb;)Lchp;intermediary method_8321Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
public void addBlockEntity(BlockEntity blockEntity)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lchp;)Vintermediary method_8438Lnet/minecraft/class_1937;method_8438(Lnet/minecraft/class_2586;)Vnamed addBlockEntityLnet/minecraft/world/World;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntity
public void removeBlockEntity(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official lLbvr;l(Lgb;)Vintermediary method_8544Lnet/minecraft/class_1937;method_8544(Lnet/minecraft/class_2338;)Vnamed removeBlockEntityLnet/minecraft/world/World;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
-
canSetBlock
public boolean canSetBlock(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official mLbvr;m(Lgb;)Zintermediary method_8477Lnet/minecraft/class_1937;method_8477(Lnet/minecraft/class_2338;)Znamed canSetBlockLnet/minecraft/world/World;canSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
-
isDirectionSolid
public boolean isDirectionSolid(BlockPos pos, Entity entity, Direction direction)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lasl;Lgg;)Zintermediary method_24368Lnet/minecraft/class_1937;method_24368(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350;)Znamed isDirectionSolidLnet/minecraft/world/World;isDirectionSolid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Direction;)Z
-
isTopSolid
public boolean isTopSolid(BlockPos pos, Entity entity)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lasl;)Zintermediary method_8515Lnet/minecraft/class_1937;method_8515(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Znamed isTopSolidLnet/minecraft/world/World;isTopSolid(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
-
calculateAmbientDarkness
public void calculateAmbientDarkness()
- Mappings:
Namespace Name Mixin selector official SLbvr;S()Vintermediary method_8533Lnet/minecraft/class_1937;method_8533()Vnamed calculateAmbientDarknessLnet/minecraft/world/World;calculateAmbientDarkness()V
-
setMobSpawnOptions
public void setMobSpawnOptions(boolean spawnMonsters, boolean spawnAnimals)- Mappings:
Namespace Name Mixin selector official bLbvr;b(ZZ)Vintermediary method_8424Lnet/minecraft/class_1937;method_8424(ZZ)Vnamed setMobSpawnOptionsLnet/minecraft/world/World;setMobSpawnOptions(ZZ)V
-
initWeatherGradients
protected void initWeatherGradients()
- Mappings:
Namespace Name Mixin selector official TLbvr;T()Vintermediary method_8543Lnet/minecraft/class_1937;method_8543()Vnamed initWeatherGradientsLnet/minecraft/world/World;initWeatherGradients()V
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official closeLbvr;close()Vintermediary closeLnet/minecraft/class_1937;close()Vnamed closeLnet/minecraft/world/World;close()V
-
getChunkAsView
@Nullable public @Nullable BlockView getChunkAsView(int chunkX, int chunkZ)
- 指定者:
getChunkAsView在接口中CollisionView- 指定者:
getChunkAsView在接口中WorldView- Mappings:
Namespace Name Mixin selector official cLbva;c(II)Lbuv;intermediary method_22338Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;named getChunkAsViewLnet/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.- 指定者:
getOtherEntities在接口中EntityView- 参数:
except- the entity the box logically surrounds. This entity is ignored if it is inside the box.box- the box in which to search for entitiespredicate- a predicate which entities must satisfy in order to be included in the returned list.- 返回:
- a list of entities within a box, excluding the given entity, all satisfying the given predicate
- Mappings:
Namespace Name Mixin selector official aLbvi;a(Lasl;Ldlv;Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_8333Lnet/minecraft/class_1924;method_8333(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;named getOtherEntitiesLnet/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)
- 指定者:
getEntitiesByType在接口中EntityView- Mappings:
Namespace Name Mixin selector official aLbvi;a(Lcni;Ldlv;Ljava/util/function/Predicate;)Ljava/util/List;intermediary method_18023Lnet/minecraft/class_1924;method_18023(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;named getEntitiesByTypeLnet/minecraft/world/EntityView;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
-
getEntityById
@Nullable public abstract @Nullable Entity getEntityById(int id)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(I)Lasl;intermediary method_8469Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;named getEntityByIdLnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;
-
markDirty
public void markDirty(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official nLbvr;n(Lgb;)Vintermediary method_8524Lnet/minecraft/class_1937;method_8524(Lnet/minecraft/class_2338;)Vnamed markDirtyLnet/minecraft/world/World;markDirty(Lnet/minecraft/util/math/BlockPos;)V
-
getSeaLevel
public int getSeaLevel()
- 指定者:
getSeaLevel在接口中WorldView- Mappings:
Namespace Name Mixin selector official u_Lbvu;u_()Iintermediary method_8615Lnet/minecraft/class_4538;method_8615()Inamed getSeaLevelLnet/minecraft/world/WorldView;getSeaLevel()I
-
getReceivedStrongRedstonePower
public int getReceivedStrongRedstonePower(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official oLbvr;o(Lgb;)Iintermediary method_8488Lnet/minecraft/class_1937;method_8488(Lnet/minecraft/class_2338;)Inamed getReceivedStrongRedstonePowerLnet/minecraft/world/World;getReceivedStrongRedstonePower(Lnet/minecraft/util/math/BlockPos;)I
-
isEmittingRedstonePower
public boolean isEmittingRedstonePower(BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lgg;)Zintermediary method_8459Lnet/minecraft/class_1937;method_8459(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed isEmittingRedstonePowerLnet/minecraft/world/World;isEmittingRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
getEmittedRedstonePower
public int getEmittedRedstonePower(BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official bLbvr;b(Lgb;Lgg;)Iintermediary method_8499Lnet/minecraft/class_1937;method_8499(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Inamed getEmittedRedstonePowerLnet/minecraft/world/World;getEmittedRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
isReceivingRedstonePower
public boolean isReceivingRedstonePower(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official pLbvr;p(Lgb;)Zintermediary method_8479Lnet/minecraft/class_1937;method_8479(Lnet/minecraft/class_2338;)Znamed isReceivingRedstonePowerLnet/minecraft/world/World;isReceivingRedstonePower(Lnet/minecraft/util/math/BlockPos;)Z
-
getReceivedRedstonePower
public int getReceivedRedstonePower(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official qLbvr;q(Lgb;)Iintermediary method_8482Lnet/minecraft/class_1937;method_8482(Lnet/minecraft/class_2338;)Inamed getReceivedRedstonePowerLnet/minecraft/world/World;getReceivedRedstonePower(Lnet/minecraft/util/math/BlockPos;)I
-
disconnect
public void disconnect()
- Mappings:
Namespace Name Mixin selector official ULbvr;U()Vintermediary method_8525Lnet/minecraft/class_1937;method_8525()Vnamed disconnectLnet/minecraft/world/World;disconnect()V
-
getTime
public long getTime()
- Mappings:
Namespace Name Mixin selector official VLbvr;V()Jintermediary method_8510Lnet/minecraft/class_1937;method_8510()Jnamed getTimeLnet/minecraft/world/World;getTime()J
-
getTimeOfDay
public long getTimeOfDay()
- Mappings:
Namespace Name Mixin selector official WLbvr;W()Jintermediary method_8532Lnet/minecraft/class_1937;method_8532()Jnamed getTimeOfDayLnet/minecraft/world/World;getTimeOfDay()J
-
canPlayerModifyAt
public boolean canPlayerModifyAt(PlayerEntity player, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lbjf;Lgb;)Zintermediary method_8505Lnet/minecraft/class_1937;method_8505(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Znamed canPlayerModifyAtLnet/minecraft/world/World;canPlayerModifyAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;)Z
-
sendEntityStatus
public void sendEntityStatus(Entity entity, byte status)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lasl;B)Vintermediary method_8421Lnet/minecraft/class_1937;method_8421(Lnet/minecraft/class_1297;B)Vnamed sendEntityStatusLnet/minecraft/world/World;sendEntityStatus(Lnet/minecraft/entity/Entity;B)V
-
addSyncedBlockEvent
public void addSyncedBlockEvent(BlockPos pos, Block block, int type, int data)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lgb;Lbyq;II)Vintermediary method_8427Lnet/minecraft/class_1937;method_8427(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)Vnamed addSyncedBlockEventLnet/minecraft/world/World;addSyncedBlockEvent(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;II)V
-
getLevelProperties
public WorldProperties getLevelProperties()
- 指定者:
getLevelProperties在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official gLbvs;g()Ldgy;intermediary method_8401Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;named getLevelPropertiesLnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
-
getGameRules
public GameRules getGameRules()
- Mappings:
Namespace Name Mixin selector official XLbvr;X()Lbvn;intermediary method_8450Lnet/minecraft/class_1937;method_8450()Lnet/minecraft/class_1928;named getGameRulesLnet/minecraft/world/World;getGameRules()Lnet/minecraft/world/GameRules;
-
getThunderGradient
public float getThunderGradient(float delta)
- Mappings:
Namespace Name Mixin selector official bLbvr;b(F)Fintermediary method_8478Lnet/minecraft/class_1937;method_8478(F)Fnamed getThunderGradientLnet/minecraft/world/World;getThunderGradient(F)F
-
setThunderGradient
public void setThunderGradient(float thunderGradient)
- Mappings:
Namespace Name Mixin selector official cLbvr;c(F)Vintermediary method_8496Lnet/minecraft/class_1937;method_8496(F)Vnamed setThunderGradientLnet/minecraft/world/World;setThunderGradient(F)V
-
getRainGradient
public float getRainGradient(float delta)
- Mappings:
Namespace Name Mixin selector official dLbvr;d(F)Fintermediary method_8430Lnet/minecraft/class_1937;method_8430(F)Fnamed getRainGradientLnet/minecraft/world/World;getRainGradient(F)F
-
setRainGradient
public void setRainGradient(float rainGradient)
- Mappings:
Namespace Name Mixin selector official eLbvr;e(F)Vintermediary method_8519Lnet/minecraft/class_1937;method_8519(F)Vnamed setRainGradientLnet/minecraft/world/World;setRainGradient(F)V
-
isThundering
public boolean isThundering()
- Mappings:
Namespace Name Mixin selector official YLbvr;Y()Zintermediary method_8546Lnet/minecraft/class_1937;method_8546()Znamed isThunderingLnet/minecraft/world/World;isThundering()Z
-
isRaining
public boolean isRaining()
- Mappings:
Namespace Name Mixin selector official ZLbvr;Z()Zintermediary method_8419Lnet/minecraft/class_1937;method_8419()Znamed isRainingLnet/minecraft/world/World;isRaining()Z
-
hasRain
public boolean hasRain(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official rLbvr;r(Lgb;)Zintermediary method_8520Lnet/minecraft/class_1937;method_8520(Lnet/minecraft/class_2338;)Znamed hasRainLnet/minecraft/world/World;hasRain(Lnet/minecraft/util/math/BlockPos;)Z
-
hasHighHumidity
public boolean hasHighHumidity(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official sLbvr;s(Lgb;)Zintermediary method_8480Lnet/minecraft/class_1937;method_8480(Lnet/minecraft/class_2338;)Znamed hasHighHumidityLnet/minecraft/world/World;hasHighHumidity(Lnet/minecraft/util/math/BlockPos;)Z
-
getMapState
@Nullable public abstract @Nullable MapState getMapState(String id)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Ljava/lang/String;)Ldgs;intermediary method_17891Lnet/minecraft/class_1937;method_17891(Ljava/lang/String;)Lnet/minecraft/class_22;named getMapStateLnet/minecraft/world/World;getMapState(Ljava/lang/String;)Lnet/minecraft/item/map/MapState;
-
putMapState
public abstract void putMapState(String id, MapState state)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Ljava/lang/String;Ldgs;)Vintermediary method_17890Lnet/minecraft/class_1937;method_17890(Ljava/lang/String;Lnet/minecraft/class_22;)Vnamed putMapStateLnet/minecraft/world/World;putMapState(Ljava/lang/String;Lnet/minecraft/item/map/MapState;)V
-
getNextMapId
public abstract int getNextMapId()
- Mappings:
Namespace Name Mixin selector official vLbvr;v()Iintermediary method_17889Lnet/minecraft/class_1937;method_17889()Inamed getNextMapIdLnet/minecraft/world/World;getNextMapId()I
-
syncGlobalEvent
public void syncGlobalEvent(int eventId, BlockPos pos, int data)- Mappings:
Namespace Name Mixin selector official bLbvr;b(ILgb;I)Vintermediary method_8474Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)Vnamed syncGlobalEventLnet/minecraft/world/World;syncGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)V
-
addDetailsToCrashReport
public CrashReportSection addDetailsToCrashReport(CrashReport report)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lq;)Lr;intermediary method_8538Lnet/minecraft/class_1937;method_8538(Lnet/minecraft/class_128;)Lnet/minecraft/class_129;named addDetailsToCrashReportLnet/minecraft/world/World;addDetailsToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;
-
setBlockBreakingInfo
public abstract void setBlockBreakingInfo(int entityId, BlockPos pos, int progress)- Mappings:
Namespace Name Mixin selector official aLbvr;a(ILgb;I)Vintermediary method_8517Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)Vnamed setBlockBreakingInfoLnet/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 CompoundTag nbt)- Mappings:
Namespace Name Mixin selector official aLbvr;a(DDDDDDLmv;)Vintermediary method_8547Lnet/minecraft/class_1937;method_8547(DDDDDDLnet/minecraft/class_2487;)Vnamed addFireworkParticleLnet/minecraft/world/World;addFireworkParticle(DDDDDDLnet/minecraft/nbt/CompoundTag;)V
-
getScoreboard
public abstract Scoreboard getScoreboard()
- Mappings:
Namespace Name Mixin selector official KLbvr;K()Ldmy;intermediary method_8428Lnet/minecraft/class_1937;method_8428()Lnet/minecraft/class_269;named getScoreboardLnet/minecraft/world/World;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
updateComparators
public void updateComparators(BlockPos pos, Block block)
- Mappings:
Namespace Name Mixin selector official cLbvr;c(Lgb;Lbyq;)Vintermediary method_8455Lnet/minecraft/class_1937;method_8455(Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)Vnamed updateComparatorsLnet/minecraft/world/World;updateComparators(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getLocalDifficulty
public LocalDifficulty getLocalDifficulty(BlockPos pos)
- 指定者:
getLocalDifficulty在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official dLbvs;d(Lgb;)Lare;intermediary method_8404Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;named getLocalDifficultyLnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
-
getAmbientDarkness
public int getAmbientDarkness()
- 指定者:
getAmbientDarkness在接口中WorldView- Mappings:
Namespace Name Mixin selector official bLbvu;b()Iintermediary method_8594Lnet/minecraft/class_4538;method_8594()Inamed getAmbientDarknessLnet/minecraft/world/WorldView;getAmbientDarkness()I
-
setLightningTicksLeft
public void setLightningTicksLeft(int lightningTicksLeft)
- Mappings:
Namespace Name Mixin selector official cLbvr;c(I)Vintermediary method_8509Lnet/minecraft/class_1937;method_8509(I)Vnamed setLightningTicksLeftLnet/minecraft/world/World;setLightningTicksLeft(I)V
-
getWorldBorder
public WorldBorder getWorldBorder()
- 指定者:
getWorldBorder在接口中CollisionView- Mappings:
Namespace Name Mixin selector official eLbva;e()Lclh;intermediary method_8621Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;named getWorldBorderLnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
-
sendPacket
public void sendPacket(Packet<?> packet)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(Lpf;)Vintermediary method_8522Lnet/minecraft/class_1937;method_8522(Lnet/minecraft/class_2596;)Vnamed sendPacketLnet/minecraft/world/World;sendPacket(Lnet/minecraft/network/Packet;)V
-
getDimension
public DimensionType getDimension()
- 指定者:
getDimension在接口中WorldView- Mappings:
Namespace Name Mixin selector official kLbvu;k()Lcmt;intermediary method_8597Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;named getDimensionLnet/minecraft/world/WorldView;getDimension()Lnet/minecraft/world/dimension/DimensionType;
-
getRegistryKey
public RegistryKey<World> getRegistryKey()
- Mappings:
Namespace Name Mixin selector official aaLbvr;aa()Lwo;intermediary method_27983Lnet/minecraft/class_1937;method_27983()Lnet/minecraft/class_5321;named getRegistryKeyLnet/minecraft/world/World;getRegistryKey()Lnet/minecraft/util/registry/RegistryKey;
-
getRandom
public Random getRandom()
- 指定者:
getRandom在接口中WorldAccess- Mappings:
Namespace Name Mixin selector official iLbvs;i()Ljava/util/Random;intermediary method_8409Lnet/minecraft/class_1936;method_8409()Ljava/util/Random;named getRandomLnet/minecraft/world/WorldAccess;getRandom()Ljava/util/Random;
-
testBlockState
public boolean testBlockState(BlockPos pos, Predicate<BlockState> state)
- 指定者:
testBlockState在接口中TestableWorld- Mappings:
Namespace Name Mixin selector official aLbvx;a(Lgb;Ljava/util/function/Predicate;)Zintermediary method_16358Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Znamed testBlockStateLnet/minecraft/world/TestableWorld;testBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
-
testFluidState
public boolean testFluidState(BlockPos pos, Predicate<FluidState> state)
- 指定者:
testFluidState在接口中TestableWorld- Mappings:
Namespace Name Mixin selector official bLbvx;b(Lgb;Ljava/util/function/Predicate;)Zintermediary method_35237Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Znamed testFluidStateLnet/minecraft/world/TestableWorld;testFluidState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
-
getRecipeManager
public abstract RecipeManager getRecipeManager()
- Mappings:
Namespace Name Mixin selector official qLbvr;q()Lbsk;intermediary method_8433Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_1863;named getRecipeManagerLnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;
-
getTagManager
public abstract TagManager getTagManager()
- Mappings:
Namespace Name Mixin selector official rLbvr;r()Lafu;intermediary method_8514Lnet/minecraft/class_1937;method_8514()Lnet/minecraft/class_5415;named getTagManagerLnet/minecraft/world/World;getTagManager()Lnet/minecraft/tag/TagManager;
-
getRandomPosInChunk
public BlockPos getRandomPosInChunk(int x, int y, int z, int int2)
- Mappings:
Namespace Name Mixin selector official aLbvr;a(IIII)Lgb;intermediary method_8536Lnet/minecraft/class_1937;method_8536(IIII)Lnet/minecraft/class_2338;named getRandomPosInChunkLnet/minecraft/world/World;getRandomPosInChunk(IIII)Lnet/minecraft/util/math/BlockPos;
-
isSavingDisabled
public boolean isSavingDisabled()
- Mappings:
Namespace Name Mixin selector official sLbvr;s()Zintermediary method_8458Lnet/minecraft/class_1937;method_8458()Znamed isSavingDisabledLnet/minecraft/world/World;isSavingDisabled()Z
-
getProfiler
public Profiler getProfiler()
- Mappings:
Namespace Name Mixin selector official abLbvr;ab()Lapl;intermediary method_16107Lnet/minecraft/class_1937;method_16107()Lnet/minecraft/class_3695;named getProfilerLnet/minecraft/world/World;getProfiler()Lnet/minecraft/util/profiler/Profiler;
-
getProfilerSupplier
public Supplier<Profiler> getProfilerSupplier()
- Mappings:
Namespace Name Mixin selector official acLbvr;ac()Ljava/util/function/Supplier;intermediary method_24367Lnet/minecraft/class_1937;method_24367()Ljava/util/function/Supplier;named getProfilerSupplierLnet/minecraft/world/World;getProfilerSupplier()Ljava/util/function/Supplier;
-
getBiomeAccess
public BiomeAccess getBiomeAccess()
- 指定者:
getBiomeAccess在接口中WorldView- Mappings:
Namespace Name Mixin selector official cLbvu;c()Lbws;intermediary method_22385Lnet/minecraft/class_4538;method_22385()Lnet/minecraft/class_4543;named getBiomeAccessLnet/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 adLbvr;ad()Zintermediary method_27982Lnet/minecraft/class_1937;method_27982()Znamed isDebugWorldLnet/minecraft/world/World;isDebugWorld()Z
-
getEntityLookup
protected abstract EntityLookup<Entity> getEntityLookup()
- Mappings:
Namespace Name Mixin selector official ILbvr;I()Lcnk;intermediary method_31592Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;named getEntityLookupLnet/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 aLbvr;a(Lasl;Lcnt;Lgb;I)Vintermediary method_32886Lnet/minecraft/class_1937;method_32886(Lnet/minecraft/class_1297;Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;I)Vnamed emitGameEventLnet/minecraft/world/World;emitGameEvent(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/BlockPos;I)V
-
-