yarn/mappings/net/minecraft/world/World.mapping

532 lines
20 KiB
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_1937 net/minecraft/world/World
2020-02-05 12:27:03 -05:00
FIELD field_16316 profiler Ljava/util/function/Supplier;
2019-06-28 17:55:20 -04:00
FIELD field_17086 thread Ljava/lang/Thread;
FIELD field_20639 biomeAccess Lnet/minecraft/class_4543;
FIELD field_24496 debugWorld Z
FIELD field_25176 registryKey Lnet/minecraft/class_5321;
FIELD field_25178 CODEC Lcom/mojang/serialization/Codec;
FIELD field_25179 OVERWORLD Lnet/minecraft/class_5321;
FIELD field_25180 NETHER Lnet/minecraft/class_5321;
FIELD field_25181 END Lnet/minecraft/class_5321;
FIELD field_27081 pendingBlockEntityTickers Ljava/util/List;
FIELD field_27082 blockEntityTickers Ljava/util/List;
FIELD field_30965 HORIZONTAL_LIMIT I
FIELD field_30966 MAX_UPDATE_DEPTH I
FIELD field_30970 MAX_Y I
FIELD field_30971 MIN_Y I
FIELD field_35455 tickOrder J
FIELD field_36402 dimensionEntry Lnet/minecraft/class_6880;
FIELD field_38226 neighborUpdater Lnet/minecraft/class_7165;
FIELD field_38861 threadSafeRandom Lnet/minecraft/class_5819;
FIELD field_42475 registryManager Lnet/minecraft/class_5455;
FIELD field_42476 damageSources Lnet/minecraft/class_8109;
FIELD field_50736 isPotato Z
FIELD field_50737 POTATO Lnet/minecraft/class_5321;
2019-06-28 17:55:20 -04:00
FIELD field_9223 border Lnet/minecraft/class_2784;
FIELD field_9226 ambientDarkness I
2022-04-06 15:01:01 -04:00
FIELD field_9229 random Lnet/minecraft/class_5819;
2020-04-29 12:24:56 -04:00
FIELD field_9232 properties Lnet/minecraft/class_5269;
2019-06-28 17:55:20 -04:00
FIELD field_9234 thunderGradient F
FIELD field_9235 rainGradient F
FIELD field_9236 isClient Z
FIELD field_9238 lcgBlockSeedIncrement I
2019-06-28 17:55:20 -04:00
FIELD field_9249 iteratingTickingBlockEntities Z
FIELD field_9251 thunderGradientPrev F
FIELD field_9253 rainGradientPrev F
FIELD field_9256 lcgBlockSeed I
2023-02-08 11:10:32 -05:00
METHOD <init> (Lnet/minecraft/class_5269;Lnet/minecraft/class_5321;Lnet/minecraft/class_5455;Lnet/minecraft/class_6880;Ljava/util/function/Supplier;ZZJI)V
ARG 1 properties
ARG 2 registryRef
ARG 3 registryManager
ARG 4 dimensionEntry
ARG 5 profiler
ARG 6 isClient
ARG 7 debugWorld
ARG 8 biomeAccess
ARG 10 maxChainedNeighborUpdates
2019-06-28 17:55:20 -04:00
METHOD method_16107 getProfiler ()Lnet/minecraft/class_3695;
Misc. Issue Resolution (#1401) * PlayerAbilitiesS2CPacket.fovModifier -> walkSpeed (#1392) * GameJoinS2CPacket seed -> sha256Seed (#1360) * checkBlockRerender -> scheduleBlockRerenderIfNecessary (#1332) * StatusEffectType -> StatusEffectCategory (#1036) StatusEffect -> StatusEffectType StatusEfectInstance -> StatusEffect (and related names) * SettingsScreen -> OptionsScreen (#787) AccessibilityScreen -> AccessibilityOptionsScreen Moved OptionsScreen to options package with all the other options screens * Finishes making maximum/minimum -> max/min (#672) (the ones in TreeDecoratorConfig as they have no postfix) DefaultBiomeFeatures moved to world/gen/feature from world/biome (#667) * fix missing file * Revert "StatusEffectType -> StatusEffectCategory (#1036)" This reverts commit 07f887a3d2332539ce07b0d29bcb84c6f5e6bf5b. * fix capitalization Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/client/render/WorldRenderer.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/world/World.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
2020-05-30 14:31:17 -04:00
METHOD method_16109 scheduleBlockRerenderIfNeeded (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
ARG 1 pos
ARG 2 old
ARG 3 updated
2019-06-28 17:55:20 -04:00
METHOD method_17452 addImportantParticle (Lnet/minecraft/class_2394;ZDDDDDD)V
ARG 1 parameters
ARG 2 alwaysSpawn
ARG 3 x
ARG 5 y
ARG 7 z
ARG 9 velocityX
ARG 11 velocityY
ARG 13 velocityZ
2024-01-31 12:12:25 -05:00
METHOD method_17889 getNextMapId ()Lnet/minecraft/class_9209;
METHOD method_17890 putMapState (Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)V
ARG 1 id
ARG 2 state
2024-01-31 12:12:25 -05:00
METHOD method_17891 getMapState (Lnet/minecraft/class_9209;)Lnet/minecraft/class_22;
ARG 1 id
2019-06-28 17:55:20 -04:00
METHOD method_18471 tickBlockEntities ()V
METHOD method_18472 tickEntity (Ljava/util/function/Consumer;Lnet/minecraft/class_1297;)V
2020-06-07 11:01:40 -04:00
ARG 1 tickConsumer
ARG 2 entity
2019-06-28 17:55:20 -04:00
METHOD method_19282 onBlockChanged (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)V
COMMENT Called when a block state changed.
COMMENT
COMMENT @apiNote To implement logic for specific type of blocks, override
COMMENT {@link net.minecraft.block.AbstractBlock#onStateReplaced} instead.
2019-06-28 17:55:20 -04:00
ARG 1 pos
ARG 2 oldBlock
ARG 3 newBlock
2019-11-23 20:18:13 -05:00
METHOD method_23886 isNight ()Z
METHOD method_24367 getProfilerSupplier ()Ljava/util/function/Supplier;
METHOD method_24368 isDirectionSolid (Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;Lnet/minecraft/class_2350;)Z
ARG 1 pos
ARG 2 entity
ARG 3 direction
METHOD method_24794 isInBuildLimit (Lnet/minecraft/class_2338;)Z
COMMENT {@return whether the position is inside the build limit}
COMMENT
COMMENT @implNote In addition to the height limit, the position's X and Z
COMMENT coordinates must be greater than or equal to {@code -30_000_000}
COMMENT and less than {@code 30_000_000}.
COMMENT
COMMENT @apiNote This method should be used for block placement. If the
COMMENT action involves a player interaction, additionally check for
COMMENT {@link #canPlayerModifyAt} (which checks the spawn protection and world border).
COMMENT
COMMENT @see #isValid
COMMENT @see #canPlayerModifyAt
ARG 1 pos
METHOD method_25952 isInvalidVertically (I)Z
ARG 0 y
METHOD method_25953 isValid (Lnet/minecraft/class_2338;)Z
COMMENT {@return whether the position is valid}
COMMENT
COMMENT @implNote The position is considered valid if the X and Z
COMMENT coordinates are greater than or equal to {@code -30_000_000} and less than
COMMENT {@code 30_000_000}, and the Y coordinate is greater or equal to
COMMENT {@code -20_000_000} and less than {@code 20_000_000}.
COMMENT
COMMENT @apiNote This method should be used for teleportation. To test for
COMMENT block positions, use {@link #isInBuildLimit} (which checks the height
COMMENT limit), and if the action involves a player interaction, additionally
COMMENT check for {@link #canPlayerModifyAt} (which checks the spawn protection and world border).
COMMENT
COMMENT @see #isInBuildLimit
COMMENT @see #canPlayerModifyAt
ARG 0 pos
METHOD method_27982 isDebugWorld ()Z
COMMENT Checks if this world is a debug world.
COMMENT
COMMENT <p>Debug worlds are not modifiable. They have a barrier layer at y=60,
COMMENT and lists all possible block states in game at y=70, helpful for finding
COMMENT block rendering and model errors.
COMMENT
COMMENT @see net.minecraft.world.gen.chunk.DebugChunkGenerator
METHOD method_27983 getRegistryKey ()Lnet/minecraft/class_5321;
2021-03-31 14:47:17 -04:00
METHOD method_31419 asString ()Ljava/lang/String;
Entity stuff, see #1905 (#1967) * Squash the review stuff Co-authored-by: Henry <obw@generalprogramming.org> Co-authored-by: Thalia Nero <chrisvn00@gmail.com> commit b9e91de684428f0b0350755527052e418dfa84f1 Author: Henry <obw@generalprogramming.org> Date: Fri Jan 1 18:06:37 2021 +0000 Apply some cleanup from code review Also removes some bits not present in 20w51a Co-authored-by: YanisBft <doublecraft.official@gmail.com> commit e9f0cea6e77e28bcdbb49e80ec95d0392107c54d Author: Henry Le Grys <henry@legrys.info> Date: Wed Dec 9 19:40:28 2020 +0000 Add javadocs for MessageListener commit a6fe16a9cd0d18c17938ba56b35cda253ad9c008 Author: Henry Le Grys <henry@legrys.info> Date: Wed Dec 9 18:31:29 2020 +0000 Apply some suggestions to clean up - Restored missing Entity methods - Fixed comment reference - Unmapped generic `flagSet`-named methods commit cbacd58a0ad73f9ebb3e2766f9e7a583003c61f3 Author: Henry Le Grys <henry@legrys.info> Date: Thu Dec 3 18:56:45 2020 +0000 Apply some suggestions & map extra names commit 411b92b91fd863afafd0d2cec2292ad53a275e20 Merge: c5287fed0 c0a046c66 Author: Henry Le Grys <henry@legrys.info> Date: Thu Dec 3 17:55:40 2020 +0000 Merge 20w49a into world-entity commit c5287fed068a748c91c6cd7744b74537c10e6ab6 Author: Thalia Nero <chrisvn00@gmail.com> Date: Wed Nov 11 23:18:02 2020 -0500 listener -> handler commit 490818513eaad0f53adc0e11258dcf57d49f3b5c Merge: d74d922b0 3465a1132 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sun Nov 8 14:53:43 2020 -0500 Merge branch '20w45a' into world-entity commit d74d922b0b01cff8291fe6f1fa4199bad1b51c87 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 15:28:32 2020 -0500 Update mappings from review. commit fbb44ecbb94300be1a1efe1108a12a3591cbea54 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:51:17 2020 -0500 Some docs and mapping of methods called by the entity stuff. commit 095711c00abeb269ca66ee2449bc21e981aaac10 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:28:23 2020 -0500 Some parameters and mappings. commit caea9fed001f8c6c1e965c67120a3d7171ad08e7 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:14:33 2020 -0500 Filter -> TypeFilter commit 9d82f4bcc4b8d0982fc676d51b777077dc5d104d Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 20:19:18 2020 -0500 Map ChunkStatusChangeListener. commit 4699e0991e4a4ad3f12e9db6ce9d39f0d9743cb3 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 20:11:11 2020 -0500 Map more entity loading stuff. commit 8a30358ef29a692045f86ba26dbb75536a5f4783 Merge: 6d0aa8cff ee05e2b40 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 18:10:03 2020 -0500 Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity commit 6d0aa8cff719465ffa3e3049627a4575d6ea4069 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 03:43:11 2020 -0500 Map a lot of entity world interaction shenanigans. Feeling tired might remap later. * Extra classes * tweaks * Revert some refactors * meh, enigma bad * move entitylike to world as it's more s/l related than actual entity * Eliminate the "group" Signed-off-by: liach <liach@users.noreply.github.com> * Bunch renames, should make sense now Signed-off-by: liach <liach@users.noreply.github.com> * Fix javadoc types Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Human-friendly name for synthetic fields in case they appear * rename Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 14:35:29 -05:00
METHOD method_31592 getEntityLookup ()Lnet/minecraft/class_5577;
METHOD method_31593 (Lnet/minecraft/class_1297;Ljava/util/function/Predicate;Ljava/util/List;Lnet/minecraft/class_1297;)V
ARG 3 entity
2020-11-08 09:35:59 -05:00
METHOD method_31594 addBlockEntityTicker (Lnet/minecraft/class_5562;)V
ARG 1 ticker
METHOD method_31595 addBlockBreakParticles (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 1 pos
ARG 2 state
METHOD method_38989 shouldUpdatePostDeath (Lnet/minecraft/class_1297;)Z
ARG 1 entity
METHOD method_39425 shouldTickBlocksInChunk (J)Z
COMMENT {@return whether the blocks in the specified chunk should get ticked}
ARG 1 chunkPos
METHOD method_40134 getDimensionEntry ()Lnet/minecraft/class_6880;
2022-03-19 11:57:01 -04:00
METHOD method_41410 updateNeighbor (Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)V
ARG 1 state
ARG 2 pos
ARG 3 sourceBlock
ARG 4 sourcePos
ARG 5 notify
2022-03-16 16:37:32 -04:00
METHOD method_41411 shouldTickBlockPos (Lnet/minecraft/class_2338;)Z
ARG 1 pos
METHOD method_43126 getSpawnPos ()Lnet/minecraft/class_2338;
METHOD method_43127 getSpawnAngle ()F
METHOD method_43128 playSound (Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 source
COMMENT the player that caused the sound and therefore plays the sound directly in
COMMENT the client, or {@code null}
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 sound
ARG 9 category
ARG 10 volume
ARG 11 pitch
METHOD method_43129 playSoundFromEntity (Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 source
COMMENT the player that caused the sound and therefore plays the sound directly in
COMMENT the client, or {@code null}
ARG 2 entity
ARG 3 sound
ARG 4 category
ARG 5 volume
ARG 6 pitch
METHOD method_45445 playSound (Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 source
ARG 2 pos
ARG 3 sound
ARG 4 category
ARG 5 volume
ARG 6 pitch
METHOD method_45446 playSoundAtBlockCenter (Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
ARG 1 pos
ARG 2 sound
ARG 3 category
ARG 4 volume
ARG 5 pitch
ARG 6 useDistance
2022-11-02 10:58:41 -04:00
METHOD method_46407 createExplosion (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;Lnet/minecraft/class_243;FZLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
COMMENT Creates an explosion.
COMMENT
COMMENT @see #createExplosion(Entity, DamageSource, ExplosionBehavior, double, double, double, float, boolean, World.ExplosionSourceType)
ARG 1 entity
ARG 2 damageSource
ARG 3 behavior
ARG 4 pos
ARG 5 power
ARG 6 createFire
ARG 7 explosionSourceType
2024-01-17 11:52:02 -05:00
METHOD method_46668 createExplosion (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;ZLnet/minecraft/class_2394;Lnet/minecraft/class_2394;Lnet/minecraft/class_6880;)Lnet/minecraft/class_1927;
ARG 1 entity
ARG 2 damageSource
ARG 3 behavior
ARG 4 x
ARG 6 y
ARG 8 z
ARG 10 power
ARG 11 createFire
ARG 12 explosionSourceType
ARG 13 particles
ARG 14 particle
ARG 15 emitterParticle
ARG 16 soundEvent
METHOD method_46669 getDestructionType (Lnet/minecraft/class_1928$class_4313;)Lnet/minecraft/class_1927$class_4179;
ARG 1 gameRuleKey
METHOD method_47574 collectEntitiesByType (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;Ljava/util/List;)V
ARG 1 filter
ARG 2 box
ARG 3 predicate
ARG 4 result
METHOD method_47575 collectEntitiesByType (Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;Ljava/util/List;I)V
COMMENT Collects entities of the given type in {@code box}, up to {@code limit}. Using this can
COMMENT improve performance, especially if {@code limit} is small.
COMMENT
COMMENT @see #getEntitiesByType
ARG 1 filter
ARG 2 box
ARG 3 predicate
ARG 4 result
ARG 5 limit
METHOD method_47576 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/class_5575;Lnet/minecraft/class_1297;)Lnet/minecraft/class_7927$class_7928;
ARG 4 entity
METHOD method_47967 playSound (Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFJ)V
ARG 1 source
COMMENT the player that caused the sound and therefore plays the sound directly in
COMMENT the client, or {@code null}
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 sound
ARG 9 category
ARG 10 volume
ARG 11 pitch
ARG 12 seed
METHOD method_48760 sendEntityDamage (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)V
ARG 1 entity
ARG 2 damageSource
METHOD method_48963 getDamageSources ()Lnet/minecraft/class_8109;
METHOD method_54719 getTickManager ()Lnet/minecraft/class_8921;
METHOD method_54762 playSound (Lnet/minecraft/class_1657;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;)V
ARG 1 source
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 sound
ARG 9 category
METHOD method_55116 playSoundFromEntity (Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 entity
ARG 2 sound
ARG 3 category
ARG 4 volume
ARG 5 pitch
METHOD method_55117 createExplosion (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
ARG 1 entity
ARG 2 damageSource
ARG 3 behavior
ARG 4 x
ARG 6 y
ARG 8 z
ARG 10 power
ARG 11 createFire
ARG 12 explosionSourceType
METHOD method_58786 getGridCarrierViews ()Ljava/lang/Iterable;
METHOD method_58787 playSoundSequence (DDDLjava/util/function/Consumer;)V
ARG 1 x
ARG 3 y
ARG 5 z
ARG 7 sequencerConsumer
METHOD method_58788 playSoundWithDelay (IDDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 delay
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 sound
ARG 9 category
ARG 10 volume
ARG 11 pitch
METHOD method_58791 getGridVarrierView (Ljava/util/UUID;)Lnet/minecraft/class_9513;
ARG 1 uuid
METHOD method_59089 createGridCarrierView (Lnet/minecraft/class_9511;)Lnet/minecraft/class_9513;
ARG 1 gridCarrier
2019-06-28 17:55:20 -04:00
METHOD method_8413 updateListeners (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)V
ARG 1 pos
ARG 2 oldState
ARG 3 newState
ARG 4 flags
2019-06-28 17:55:20 -04:00
METHOD method_8419 isRaining ()Z
COMMENT {@return whether it is raining}
COMMENT
COMMENT @see #hasRain
2019-06-28 17:55:20 -04:00
METHOD method_8421 sendEntityStatus (Lnet/minecraft/class_1297;B)V
COMMENT Sends the entity status to nearby players.
COMMENT
COMMENT @see net.minecraft.entity.EntityStatuses
2019-04-04 16:04:27 -04:00
ARG 1 entity
ARG 2 status
2019-06-28 17:55:20 -04:00
METHOD method_8424 setMobSpawnOptions (ZZ)V
COMMENT Sets whether monsters or animals can spawn.
2019-06-28 17:55:20 -04:00
ARG 1 spawnMonsters
ARG 2 spawnAnimals
METHOD method_8427 addSyncedBlockEvent (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;II)V
2019-06-28 17:55:20 -04:00
ARG 1 pos
ARG 2 block
ARG 3 type
ARG 4 data
METHOD method_8428 getScoreboard ()Lnet/minecraft/class_269;
METHOD method_8430 getRainGradient (F)F
2020-06-07 11:01:40 -04:00
ARG 1 delta
2019-06-28 17:55:20 -04:00
METHOD method_8433 getRecipeManager ()Lnet/minecraft/class_1863;
2022-11-02 10:58:41 -04:00
METHOD method_8437 createExplosion (Lnet/minecraft/class_1297;DDDFLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
COMMENT Creates an explosion without creating fire.
COMMENT
COMMENT @see #createExplosion(Entity, DamageSource, ExplosionBehavior, double, double, double, float, boolean, World.ExplosionSourceType)
2019-02-20 16:01:25 -05:00
ARG 1 entity
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 power
ARG 9 explosionSourceType
2020-11-04 15:44:22 -05:00
METHOD method_8438 addBlockEntity (Lnet/minecraft/class_2586;)V
ARG 1 blockEntity
2019-06-28 17:55:20 -04:00
METHOD method_8442 getSkyAngleRadians (F)F
2020-06-07 11:01:40 -04:00
ARG 1 tickDelta
2022-12-01 10:19:49 -05:00
METHOD method_8449 playSoundFromEntity (Lnet/minecraft/class_1657;Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)V
ARG 1 source
COMMENT the player that caused the sound and therefore plays the sound directly in
COMMENT the client, or {@code null}
ARG 2 entity
2022-12-01 18:39:10 -05:00
ARG 3 sound
ARG 4 category
2019-06-28 17:55:20 -04:00
ARG 5 volume
ARG 6 pitch
ARG 7 seed
2019-06-28 17:55:20 -04:00
METHOD method_8450 getGameRules ()Lnet/minecraft/class_1928;
METHOD method_8452 updateNeighborsAlways (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
COMMENT Emits a neighbor update to all 6 neighboring blocks of {@code pos}.
COMMENT
COMMENT @see #updateNeighborsExcept(BlockPos, Block, Direction)
2019-06-28 17:55:20 -04:00
ARG 1 pos
2022-03-19 11:57:01 -04:00
ARG 2 sourceBlock
2024-01-17 11:52:02 -05:00
METHOD method_8454 createExplosion (Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;Lnet/minecraft/class_2394;Lnet/minecraft/class_2394;Lnet/minecraft/class_6880;)Lnet/minecraft/class_1927;
COMMENT Creates an explosion.
2019-02-20 16:01:25 -05:00
ARG 1 entity
COMMENT the entity that exploded (like TNT) or {@code null} to indicate no entity exploded
ARG 2 damageSource
COMMENT the custom damage source, or {@code null} to use the default
COMMENT ({@link net.minecraft.entity.damage.DamageSources#explosion(Explosion)})
2020-11-08 09:35:59 -05:00
ARG 3 behavior
COMMENT the explosion behavior, or {@code null} to use the default
2020-11-08 09:35:59 -05:00
ARG 4 x
ARG 6 y
ARG 8 z
ARG 10 power
ARG 11 createFire
COMMENT whether the explosion should create fire
ARG 12 explosionSourceType
ARG 13 particle
ARG 14 emitterParticle
ARG 15 soundEvent
2020-03-08 18:14:25 -04:00
METHOD method_8455 updateComparators (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;)V
2019-06-28 17:55:20 -04:00
ARG 1 pos
ARG 2 block
2019-06-28 17:55:20 -04:00
METHOD method_8458 isSavingDisabled ()Z
2022-11-29 10:35:55 -05:00
METHOD method_8465 playSound (Lnet/minecraft/class_1657;DDDLnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)V
ARG 1 source
COMMENT the player that caused the sound and therefore plays the sound directly in
COMMENT the client, or {@code null}
2019-02-20 16:01:25 -05:00
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 sound
ARG 9 category
ARG 10 volume
ARG 11 pitch
ARG 12 seed
2019-06-28 17:55:20 -04:00
METHOD method_8466 addParticle (Lnet/minecraft/class_2394;ZDDDDDD)V
2019-02-20 16:01:25 -05:00
ARG 1 parameters
ARG 2 alwaysSpawn
ARG 3 x
ARG 5 y
ARG 7 z
ARG 9 velocityX
ARG 11 velocityY
ARG 13 velocityZ
2019-06-28 17:55:20 -04:00
METHOD method_8469 getEntityById (I)Lnet/minecraft/class_1297;
COMMENT {@return the entity using the entity ID, or {@code null} if none was found}
COMMENT
COMMENT <p>Entity ID is ephemeral and changes after server restart. Use the UUID
COMMENT for persistent storage instead.
COMMENT
COMMENT @see net.minecraft.server.world.ServerWorld#getEntity
2019-02-20 16:01:25 -05:00
ARG 1 id
METHOD method_8474 syncGlobalEvent (ILnet/minecraft/class_2338;I)V
ARG 1 eventId
2019-06-28 17:55:20 -04:00
ARG 2 pos
ARG 3 data
METHOD method_8477 canSetBlock (Lnet/minecraft/class_2338;)Z
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_8478 getThunderGradient (F)F
2020-06-07 11:01:40 -04:00
ARG 1 delta
2019-06-28 17:55:20 -04:00
METHOD method_8486 playSound (DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
ARG 1 x
ARG 3 y
ARG 5 z
ARG 7 sound
ARG 8 category
2020-06-07 11:01:40 -04:00
ARG 9 volume
ARG 10 pitch
ARG 11 useDistance
2019-06-28 17:55:20 -04:00
METHOD method_8492 updateNeighbor (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;)V
2022-03-19 11:57:01 -04:00
COMMENT Triggers a neighbor update originating from {@code sourcePos} at
COMMENT {@code pos}.
COMMENT
COMMENT @see #updateNeighborsAlways(BlockPos, Block)
ARG 1 pos
2019-06-28 17:55:20 -04:00
ARG 2 sourceBlock
2022-03-19 11:57:01 -04:00
ARG 3 sourcePos
2019-06-28 17:55:20 -04:00
METHOD method_8494 addImportantParticle (Lnet/minecraft/class_2394;DDDDDD)V
2019-02-20 16:01:25 -05:00
ARG 1 parameters
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 velocityX
ARG 10 velocityY
ARG 12 velocityZ
2019-06-28 17:55:20 -04:00
METHOD method_8496 setThunderGradient (F)V
ARG 1 thunderGradient
2019-06-28 17:55:20 -04:00
METHOD method_8500 getWorldChunk (Lnet/minecraft/class_2338;)Lnet/minecraft/class_2818;
COMMENT {@return the chunk that contains {@code pos}}
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_8501 setBlockState (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
ARG 1 pos
ARG 2 state
2019-06-28 17:55:20 -04:00
METHOD method_8505 canPlayerModifyAt (Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;)Z
COMMENT {@return whether {@code player} can modify blocks at {@code pos}}
COMMENT
COMMENT @implNote This checks the spawn protection and the world border.
COMMENT
COMMENT @see #isInBuildLimit
COMMENT @see #isValid
2019-06-28 17:55:20 -04:00
ARG 1 player
ARG 2 pos
METHOD method_8508 updateNeighborsExcept (Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2350;)V
COMMENT Emits a neighbor update to neighboring blocks of {@code pos}, except
COMMENT for the one in {@code direction} direction.
COMMENT
COMMENT @see #updateNeighborsAlways(BlockPos, Block)
2022-03-19 11:57:01 -04:00
ARG 1 pos
2019-06-28 17:55:20 -04:00
ARG 2 sourceBlock
2022-03-19 11:57:01 -04:00
ARG 3 direction
METHOD method_8509 setLightningTicksLeft (I)V
ARG 1 lightningTicksLeft
2019-06-28 17:55:20 -04:00
METHOD method_8510 getTime ()J
COMMENT {@return the time}
COMMENT
COMMENT <p>Time is used to track scheduled ticks and cannot be modified or frozen.
COMMENT
COMMENT @see WorldProperties#getTime
METHOD method_8515 isTopSolid (Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Z
2020-02-09 07:17:32 -05:00
ARG 1 pos
ARG 2 entity
METHOD method_8517 setBlockBreakingInfo (ILnet/minecraft/class_2338;I)V
2019-06-28 17:55:20 -04:00
ARG 1 entityId
ARG 2 pos
ARG 3 progress
METHOD method_8519 setRainGradient (F)V
ARG 1 rainGradient
2019-06-28 17:55:20 -04:00
METHOD method_8520 hasRain (Lnet/minecraft/class_2338;)Z
COMMENT {@return whether it can rain at {@code pos}}
COMMENT
COMMENT @implNote This returns {@code true} if a rain is ongoing, the biome
COMMENT and the position allows it to rain, and there are no blocks above the position.
COMMENT
COMMENT @see #isRaining
2019-06-28 17:55:20 -04:00
ARG 1 pos
METHOD method_8522 sendPacket (Lnet/minecraft/class_2596;)V
ARG 1 packet
2020-11-04 15:44:22 -05:00
METHOD method_8524 markDirty (Lnet/minecraft/class_2338;)V
2019-02-20 16:01:25 -05:00
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_8525 disconnect ()V
2019-11-23 20:18:13 -05:00
METHOD method_8530 isDay ()Z
2019-06-28 17:55:20 -04:00
METHOD method_8532 getTimeOfDay ()J
COMMENT {@return the time of day}
COMMENT
COMMENT <p>Time of day is different to "time", which is incremented on every tick and
COMMENT cannot be modified; Time of day affects the day-night cycle, can be changed using
COMMENT {@link net.minecraft.server.command.TimeCommand /time command}, and can be frozen
COMMENT if {@link GameRules#DO_DAYLIGHT_CYCLE doDaylightCycle} gamerule is turned off.
COMMENT Time is used to track scheduled ticks and cannot be modified or frozen.
COMMENT
COMMENT @see WorldProperties#getTimeOfDay
COMMENT @see net.minecraft.server.world.ServerWorld#setTimeOfDay
2019-06-28 17:55:20 -04:00
METHOD method_8533 calculateAmbientDarkness ()V
METHOD method_8536 getRandomPosInChunk (IIII)Lnet/minecraft/class_2338;
ARG 1 x
ARG 2 y
ARG 3 z
2022-11-02 10:58:41 -04:00
METHOD method_8537 createExplosion (Lnet/minecraft/class_1297;DDDFZLnet/minecraft/class_1937$class_7867;)Lnet/minecraft/class_1927;
COMMENT Creates an explosion.
COMMENT
COMMENT @see #createExplosion(Entity, DamageSource, ExplosionBehavior, double, double, double, float, boolean, World.ExplosionSourceType)
ARG 1 entity
2019-06-28 17:55:20 -04:00
ARG 2 x
ARG 4 y
ARG 6 z
ARG 8 power
ARG 9 createFire
ARG 10 explosionSourceType
2019-06-28 17:55:20 -04:00
METHOD method_8538 addDetailsToCrashReport (Lnet/minecraft/class_128;)Lnet/minecraft/class_129;
ARG 1 report
METHOD method_8543 initWeatherGradients ()V
METHOD method_8544 removeBlockEntity (Lnet/minecraft/class_2338;)V
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_8546 isThundering ()Z
2024-02-28 14:15:21 -05:00
METHOD method_8547 addFireworkParticle (DDDDDDLjava/util/List;)V
2019-06-28 17:55:20 -04:00
ARG 1 x
ARG 3 y
ARG 5 z
ARG 7 velocityX
ARG 9 velocityY
ARG 11 velocityZ
ARG 13 explosions
METHOD method_8558 isValidHorizontally (Lnet/minecraft/class_2338;)Z
2019-06-28 17:55:20 -04:00
ARG 0 pos
CLASS class_7867 ExplosionSourceType