some more stuff

This commit is contained in:
Shnupbups 2024-03-29 00:29:34 +11:00
parent 1d3bcfd74f
commit 7b73751c4f
6 changed files with 37 additions and 1 deletions

View File

@ -16,6 +16,7 @@ CLASS net/minecraft/class_429 net/minecraft/client/gui/screen/option/OptionsScre
FIELD field_43145 CREDITS_AND_ATTRIBUTION_TEXT Lnet/minecraft/class_2561;
FIELD field_49501 TITLE_TEXT Lnet/minecraft/class_2561;
FIELD field_49502 layout Lnet/minecraft/class_8132;
FIELD field_50221 TELEMETRY_DISABLED_TOOLTIP Lnet/minecraft/class_7919;
METHOD <init> (Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
ARG 1 parent
ARG 2 gameOptions

View File

@ -46,3 +46,7 @@ CLASS net/minecraft/class_5945 net/minecraft/client/util/ParticleUtil
ARG 1 pos
ARG 2 count
ARG 3 effect
METHOD method_58595 spawnSmashAttackParticles (Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;I)V
ARG 0 world
ARG 1 pos
ARG 2 count

View File

@ -47,7 +47,7 @@ CLASS net/minecraft/class_1887 net/minecraft/enchantment/Enchantment
ARG 3 minCost
ARG 4 maxCost
ARG 5 anvilCost
ARG 6 features
ARG 6 requiredFeatures
ARG 7 slots
METHOD method_58675 onAttack (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
ARG 1 attacket

View File

@ -118,6 +118,7 @@ CLASS net/minecraft/class_2498 net/minecraft/sound/BlockSoundGroup
FIELD field_47346 TRIAL_SPAWNER Lnet/minecraft/class_2498;
FIELD field_48855 VAULT Lnet/minecraft/class_2498;
FIELD field_49834 HEAVY_CORE Lnet/minecraft/class_2498;
FIELD field_50169 COBWEB Lnet/minecraft/class_2498;
METHOD <init> (FFLnet/minecraft/class_3414;Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;Lnet/minecraft/class_3414;)V
ARG 1 volume
ARG 2 pitch

View File

@ -369,3 +369,28 @@ CLASS net/minecraft/class_6088 net/minecraft/world/WorldEvents
COMMENT A vault ejects loot.
COMMENT <br>Spawns ejection particles.
COMMENT <p>Called by {@link net.minecraft.block.enums.VaultState#ejectItem}.
FIELD field_50164 COBWEB_WEAVED I
COMMENT A cobweb is placed by the weaving effect.
COMMENT <br>Spawns poof particles and plays the cobweb place sound.
COMMENT <p>Called by {@link net.minecraft.entity.effect.WeavingStatusEffect#tryPlaceCobweb}.
FIELD field_50165 OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYER I
COMMENT An ominous trial spawner detects survival-mode players.
COMMENT <br>Plays the detection sound and spawns detection particles.
COMMENT <p>The extra data denotes the number of players.
COMMENT <p>Called by {@link net.minecraft.block.spawner.TrialSpawnerData#updatePlayers}.
FIELD field_50166 TRIAL_SPAWNER_TURNS_OMINOUS I
COMMENT A trial spawner becomes ominous.
COMMENT <br>Plays the activate sound and spawns both detection and omen particles.
COMMENT <p>If a {@code 0} is passed as extra data, the activate sound will be played at 0.3 volume.
COMMENT <br>Otherwise, it is played at full volume.
COMMENT <p>Called by {@link net.minecraft.block.spawner.TrialSpawnerLogic#setOminous},
COMMENT and {@link net.minecraft.block.spawner.TrialSpawnerData#updatePlayers}.
FIELD field_50167 OMINOUS_ITEM_SPAWNER_SPAWNS_ITEM I
COMMENT An ominous item spawner spawns an item.
COMMENT <br>Plays the item spawn sound and spawns mob spawn particles.
COMMENT <p>Called by {@link net.minecraft.entity.OminousItemSpawnerEntity#spawnItem}
FIELD field_50168 SMASH_ATTACK I
COMMENT A mace is used to execute a smash attack.
COMMENT <br>Spawns dust pillar particles.
COMMENT <p>The amount of particles to spawn must be supplied as extra data.
COMMENT <p>Called by {@link net.minecraft.item.MaceItem#knockbackNearbyEntities}

View File

@ -77,6 +77,11 @@ constant world_events net/minecraft/world/WorldEvents TURTLE_EGG_PLACED
constant world_events net/minecraft/world/WorldEvents VAULT_ACTIVATES
constant world_events net/minecraft/world/WorldEvents VAULT_DEACTIVATES
constant world_events net/minecraft/world/WorldEvents VAULT_EJECTS_ITEM
constant world_events net/minecraft/world/WorldEvents SMASH_ATTACK
constant world_events net/minecraft/world/WorldEvents COBWEB_WEAVED
constant world_events net/minecraft/world/WorldEvents OMINOUS_TRIAL_SPAWNER_DETECTS_PLAYER
constant world_events net/minecraft/world/WorldEvents TRIAL_SPAWNER_TURNS_OMINOUS
constant world_events net/minecraft/world/WorldEvents OMINOUS_ITEM_SPAWNER_SPAWNS_ITEM
target_method net/minecraft/world/WorldAccess syncWorldEvent (Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
param 1 world_events