From 777d98ff67fae328e37754b06ffa06e09fcaefad Mon Sep 17 00:00:00 2001 From: PiTheGuy <55959311+PiTheGuy@users.noreply.github.com> Date: Sat, 7 Dec 2024 13:05:52 -0600 Subject: [PATCH] 1.21.4 update (#312) --- build.gradle | 2 +- .../blaze3d/platform/NativeImage.mapping | 29 + .../blaze3d/vertex/VertexBuffer.mapping | 12 + data/com/mojang/math/MatrixUtil.mapping | 2 + data/net/minecraft/client/KeyMapping.mapping | 4 + .../client/color/item/Constant.mapping | 5 + .../color/item/CustomModelDataSource.mapping | 3 + .../minecraft/client/color/item/Dye.mapping | 3 + .../client/color/item/Firework.mapping | 3 + .../color/item/GrassColorSource.mapping | 3 + .../client/color/item/ItemTintSource.mapping | 7 + .../client/color/item/MapColor.mapping | 3 + .../client/color/item/Potion.mapping | 3 + .../client/color/item/TeamColor.mapping | 3 + data/net/minecraft/client/data/Main.mapping | 6 + .../data/models/BlockModelGenerators.mapping | 773 ++++++++++++++++++ .../models/EquipmentAssetProvider.mapping | 12 + .../data/models/ItemModelGenerators.mapping | 145 ++++ .../data/models/ItemModelOutput.mapping | 7 + .../client/data/models/ModelProvider.mapping | 37 + .../data/models/blockstates/Condition.mapping | 46 ++ .../blockstates/MultiPartGenerator.mapping | 31 + .../blockstates/MultiVariantGenerator.mapping | 21 + .../blockstates/PropertyDispatch.mapping | 201 +++++ .../data/models/blockstates/Selector.mapping | 13 + .../data/models/blockstates/Variant.mapping | 13 + .../blockstates/VariantProperties.mapping | 10 + .../blockstates/VariantProperty.mapping | 11 + .../data/models/model/DelegatedModel.mapping | 3 + .../data/models/model/ItemModelUtils.mapping | 74 ++ .../models/model/ModelLocationUtils.mapping | 15 + .../data/models/model/ModelTemplate.mapping | 33 + .../data/models/model/ModelTemplates.mapping | 17 + .../data/models/model/TextureMapping.mapping | 169 ++++ .../data/models/model/TextureSlot.mapping | 9 + .../data/models/model/TexturedModel.mapping | 34 + data/net/minecraft/client/gui/Font.mapping | 8 + .../minecraft/client/gui/GuiGraphics.mapping | 62 ++ .../gui/components/AbstractScrollArea.mapping | 9 + .../components/AbstractSelectionList.mapping | 7 + .../components/AbstractTextAreaWidget.mapping | 19 + .../events/GuiEventListener.mapping | 2 + .../components/toasts/TutorialToast.mapping | 13 + .../client/gui/font/glyphs/BakedGlyph.mapping | 40 +- .../gui/navigation/ScreenRectangle.mapping | 2 + .../client/gui/screens/LoadingOverlay.mapping | 2 + .../client/gui/screens/TitleScreen.mapping | 16 + .../screens/achievement/StatsScreen.mapping | 8 + .../advancements/AdvancementWidget.mapping | 6 + .../debug/GameModeSwitcherScreen.mapping | 4 + .../inventory/HorseInventoryScreen.mapping | 4 + .../screens/recipebook/RecipeButton.mapping | 4 + .../worldselection/ExperimentsScreen.mapping | 21 + .../screens/worldselection/SwitchGrid.mapping | 7 + .../client/model/BannerFlagModel.mapping | 7 + .../client/model/BannerModel.mapping | 5 + .../client/model/DonkeyModel.mapping | 4 + data/net/minecraft/client/model/Model.mapping | 4 + .../client/model/VillagerLikeModel.mapping | 5 + .../client/model/geom/EntityModelSet.mapping | 2 + .../client/model/geom/ModelLayers.mapping | 3 + .../multiplayer/ClientChunkCache.mapping | 2 + .../multiplayer/MultiPlayerGameMode.mapping | 10 + .../client/multiplayer/PlayerInfo.mapping | 2 + .../particle/BreakingItemParticle.mapping | 19 + .../particle/FallingLeavesParticle.mapping | 19 + .../particle/ItemPickupParticle.mapping | 11 + .../client/particle/Particle.mapping | 7 +- .../client/particle/ParticleEngine.mapping | 22 + .../minecraft/client/renderer/CubeMap.mapping | 4 + .../renderer/ItemInHandRenderer.mapping | 14 + .../client/renderer/LevelRenderer.mapping | 77 ++ .../client/renderer/RenderStateShard.mapping | 2 + .../client/renderer/RenderType.mapping | 36 + .../renderer/ScreenEffectRenderer.mapping | 15 + .../renderer/SectionOcclusionGraph.mapping | 20 + .../client/renderer/ShaderManager.mapping | 6 + .../minecraft/client/renderer/Sheets.mapping | 26 + .../client/renderer/SkyRenderer.mapping | 33 + .../SpecialBlockModelRenderer.mapping | 12 + .../renderer/WeatherEffectRenderer.mapping | 20 + .../block/BlockRenderDispatcher.mapping | 4 + .../renderer/block/model/BlockModel.mapping | 9 + .../renderer/block/model/FaceBakery.mapping | 79 +- .../block/model/ItemModelGenerator.mapping | 7 + .../renderer/block/model/TextureSlots.mapping | 30 + .../model/UnbakedBlockStateModel.mapping | 2 + .../blockentity/AbstractSignRenderer.mapping | 49 ++ .../blockentity/BannerRenderer.mapping | 20 + .../renderer/blockentity/BedRenderer.mapping | 8 + .../BlockEntityRenderDispatcher.mapping | 7 + .../BlockEntityRendererProvider.mapping | 8 + .../blockentity/DecoratedPotRenderer.mapping | 14 + .../blockentity/HangingSignRenderer.mapping | 25 + .../blockentity/ShulkerBoxRenderer.mapping | 12 + .../renderer/blockentity/SignRenderer.mapping | 14 + .../blockentity/SkullBlockRenderer.mapping | 9 + .../entity/AbstractHorseRenderer.mapping | 13 + .../renderer/entity/DonkeyRenderer.mapping | 5 + .../entity/EntityRenderDispatcher.mapping | 19 + .../renderer/entity/EntityRenderer.mapping | 4 + .../entity/EntityRendererProvider.mapping | 17 + .../entity/FishingHookRenderer.mapping | 2 + .../entity/HumanoidMobRenderer.mapping | 11 + .../entity/ItemEntityRenderer.mapping | 16 + .../renderer/entity/ItemFrameRenderer.mapping | 10 + .../renderer/entity/ItemRenderer.mapping | 59 ++ .../renderer/entity/layers/CapeLayer.mapping | 10 + .../layers/CrossedArmsItemLayer.mapping | 17 + .../entity/layers/CustomHeadLayer.mapping | 31 + .../layers/EquipmentLayerRenderer.mapping | 46 ++ .../entity/layers/ItemInHandLayer.mapping | 18 + .../layers/LivingEntityEmissiveLayer.mapping | 7 + .../entity/layers/LlamaDecorLayer.mapping | 18 + .../layers/PlayerItemInHandLayer.mapping | 13 + .../entity/layers/SnowGolemHeadLayer.mapping | 3 + .../layers/VillagerProfessionLayer.mapping | 9 + .../entity/player/PlayerRenderer.mapping | 10 + .../state/ArmedEntityRenderState.mapping | 5 + .../state/HoldingEntityRenderState.mapping | 5 + .../state/ItemClusterRenderState.mapping | 9 + .../renderer/item/BlockModelWrapper.mapping | 9 + .../client/renderer/item/ClientItem.mapping | 6 + .../renderer/item/CompositeModel.mapping | 8 + .../item/ConditionalItemModel.mapping | 8 + .../client/renderer/item/ItemModel.mapping | 15 + .../renderer/item/ItemModelResolver.mapping | 35 + .../item/ItemStackRenderState.mapping | 29 + .../renderer/item/MissingItemModel.mapping | 3 + .../item/RangeSelectItemModel.mapping | 10 + .../renderer/item/SelectItemModel.mapping | 18 + .../renderer/item/SpecialModelWrapper.mapping | 7 + .../ConditionalItemModelProperty.mapping | 12 + .../CustomModelDataProperty.mapping | 3 + .../properties/numeric/CompassAngle.mapping | 6 + .../numeric/CompassAngleState.mapping | 28 + .../numeric/NeedleDirectionHelper.mapping | 23 + .../RangeSelectItemModelProperty.mapping | 6 + .../item/properties/numeric/Time.mapping | 17 + .../properties/numeric/UseDuration.mapping | 6 + .../item/properties/select/LocalTime.mapping | 25 + .../select/SelectItemModelProperty.mapping | 15 + .../special/BannerSpecialRenderer.mapping | 7 + .../special/BedSpecialRenderer.mapping | 9 + .../special/ChestSpecialRenderer.mapping | 10 + .../special/ConduitSpecialRenderer.mapping | 3 + .../DecoratedPotSpecialRenderer.mapping | 3 + .../HangingSignSpecialRenderer.mapping | 9 + .../NoDataSpecialModelRenderer.mapping | 8 + .../special/ShieldSpecialRenderer.mapping | 3 + .../special/ShulkerBoxSpecialRenderer.mapping | 11 + .../special/SkullSpecialRenderer.mapping | 22 + .../special/SpecialModelRenderer.mapping | 14 + .../special/SpecialModelRenderers.mapping | 6 + .../StandingSignSpecialRenderer.mapping | 9 + .../special/TridentSpecialRenderer.mapping | 3 + .../renderer/texture/AbstractTexture.mapping | 5 + .../texture/ReloadableTexture.mapping | 11 + .../texture/SkinTextureDownloader.mapping | 29 + .../renderer/texture/TextureContents.mapping | 4 + .../renderer/texture/TextureManager.mapping | 28 + .../client/resources/SkinManager.mapping | 7 + .../metadata/animation/AnimationFrame.mapping | 8 + .../animation/VillagerMetaDataSection.mapping | 8 +- .../model/BlockStateModelLoader.mapping | 41 + .../model/ClientItemInfoLoader.mapping | 4 + .../model/EquipmentAssetManager.mapping | 3 + .../model/EquipmentClientInfo.mapping | 38 + .../model/ItemStackModelLoader.mapping | 4 + .../resources/model/ModelBakery.mapping | 24 + .../resources/model/ModelDiscovery.mapping | 4 + .../model/ModelGroupCollector.mapping | 13 + .../resources/model/ModelManager.mapping | 43 + .../resources/model/ResolvableModel.mapping | 6 + .../resources/model/SimpleBakedModel.mapping | 36 +- .../resources/model/SpriteGetter.mapping | 5 + .../resources/model/UnbakedModel.mapping | 33 + .../minecraft/client/sounds/MusicInfo.mapping | 5 + .../client/sounds/MusicManager.mapping | 4 + .../client/sounds/SoundEngine.mapping | 25 + .../client/sounds/SoundManager.mapping | 3 + .../arguments/blocks/BlockInput.mapping | 6 + data/net/minecraft/core/BlockPos.mapping | 6 + .../component/PatchedDataComponentMap.mapping | 2 + data/net/minecraft/data/DataProvider.mapping | 10 + data/net/minecraft/data/HashCache.mapping | 4 + data/net/minecraft/data/Main.mapping | 6 + data/net/minecraft/data/PackOutput.mapping | 2 + .../data/loot/BlockLootSubProvider.mapping | 10 + .../data/models/BlockModelGenerators.mapping | 172 ++++ .../data/models/model/TextureMapping.mapping | 8 + .../minecraft/network/HiddenByteBuf.mapping | 13 + .../network/LocalFrameDecoder.mapping | 4 + .../network/LocalFrameEncoder.mapping | 5 + .../MonitoredLocalFrameDecoder.mapping | 6 + data/net/minecraft/network/chat/Style.mapping | 32 +- .../ClientboundLevelParticlesPacket.mapping | 12 + .../game/ClientboundMoveVehiclePacket.mapping | 2 + .../game/ServerGamePacketListener.mapping | 6 + .../game/ServerboundMoveVehiclePacket.mapping | 2 + .../recipebook/ServerPlaceRecipe.mapping | 10 + .../resources/FileToIdConverter.mapping | 2 + .../server/commands/AttributeCommand.mapping | 7 + .../server/level/ServerLevel.mapping | 43 + .../ServerGamePacketListenerImpl.mapping | 7 + .../packs/AbstractPackResources.mapping | 5 + .../server/packs/BuiltInMetadata.mapping | 10 + .../server/packs/PackResources.mapping | 2 + .../packs/resources/ResourceMetadata.mapping | 8 + .../SimpleJsonResourceReloadListener.mapping | 23 + data/net/minecraft/util/ARGB.mapping | 8 + data/net/minecraft/util/ExtraCodecs.mapping | 105 +++ data/net/minecraft/util/SpawnUtil.mapping | 19 + .../BlockEntityFurnaceBurnTimeFix.mapping | 6 + .../fixes/CustomModelDataExpandFix.mapping | 3 + .../fixes/DataComponentRemainderFix.mapping | 12 + .../fixes/EntityAttributeBaseValueFix.mapping | 9 + .../fixes/EntityFieldsRenameFix.mapping | 8 + .../fixes/EquippableAssetRenameFix.mapping | 3 + .../fixes/InvalidBlockEntityLockFix.mapping | 5 + .../fixes/InvalidLockComponentFix.mapping | 11 + .../util/datafix/fixes/NamedEntityFix.mapping | 2 + .../util/profiling/jfr/JfrProfiler.mapping | 6 + .../util/profiling/jfr/JvmProfiler.mapping | 4 + .../jfr/callback/ProfiledDuration.mapping | 3 + .../event/StructureGenerationEvent.mapping | 5 + .../serialize/JfrResultJsonSerializer.mapping | 2 + .../jfr/stats/StructureGenStat.mapping | 3 + .../net/minecraft/world/entity/Entity.mapping | 10 + .../minecraft/world/entity/Leashable.mapping | 4 + .../world/entity/LivingEntity.mapping | 82 ++ data/net/minecraft/world/entity/Mob.mapping | 11 + .../entity/ai/attributes/AttributeMap.mapping | 11 + .../entity/ai/behavior/AcquirePoi.mapping | 29 + .../ai/behavior/ValidateNearbyPoi.mapping | 3 + .../ai/behavior/VillagerGoalPackages.mapping | 14 + .../minecraft/world/entity/animal/Bee.mapping | 6 + .../minecraft/world/entity/animal/Fox.mapping | 3 + .../world/entity/animal/Salmon.mapping | 6 + .../world/entity/animal/allay/Allay.mapping | 6 + .../world/entity/monster/Shulker.mapping | 20 + .../entity/monster/creaking/Creaking.mapping | 14 + .../creaking/CreakingTransient.mapping | 2 + .../world/entity/player/Inventory.mapping | 5 + .../world/entity/player/Player.mapping | 2 + .../entity/player/StackedContents.mapping | 36 + .../entity/projectile/AbstractArrow.mapping | 4 + .../world/entity/raid/Raider.mapping | 5 + .../minecraft/world/item/BlockItem.mapping | 8 + .../minecraft/world/item/BundleItem.mapping | 2 + .../minecraft/world/item/CrossbowItem.mapping | 8 + .../net/minecraft/world/item/DyeColor.mapping | 7 + data/net/minecraft/world/item/Item.mapping | 10 + .../minecraft/world/item/ItemStack.mapping | 43 + .../minecraft/world/item/SpawnEggItem.mapping | 10 + .../world/item/alchemy/PotionContents.mapping | 2 + .../world/item/component/CustomData.mapping | 9 + .../item/component/CustomModelData.mapping | 14 + .../world/item/crafting/PlacementInfo.mapping | 6 + .../item/equipment/EquipmentAssets.mapping | 5 + .../world/item/equipment/Equippable.mapping | 2 + .../item/equipment/trim/TrimMaterial.mapping | 5 + .../item/equipment/trim/TrimMaterials.mapping | 11 + .../world/item/trading/Merchant.mapping | 2 + .../minecraft/world/level/GameRules.mapping | 11 + data/net/minecraft/world/level/Level.mapping | 18 +- .../world/level/LevelAccessor.mapping | 2 +- .../level/biome/BiomeSpecialEffects.mapping | 22 + .../level/block/CreakingHeartBlock.mapping | 11 + .../world/level/block/EyeblossomBlock.mapping | 30 + .../world/level/block/FlowerPotBlock.mapping | 9 + .../world/level/block/MultifaceBlock.mapping | 4 + .../level/block/ParticleLeavesBlock.mapping | 11 + .../block/entity/BeehiveBlockEntity.mapping | 6 + .../entity/CreakingHeartBlockEntity.mapping | 20 + .../entity/trialspawner/TrialSpawner.mapping | 3 + .../trialspawner/TrialSpawnerConfig.mapping | 2 + .../level/block/state/BlockBehaviour.mapping | 24 + .../world/level/chunk/ChunkGenerator.mapping | 18 + .../world/level/chunk/LevelChunk.mapping | 13 + .../MultifaceGrowthConfiguration.mapping | 10 + .../levelgen/structure/Structure.mapping | 15 + .../structure/pools/JigsawPlacement.mapping | 4 + .../storage/DimensionDataStorage.mapping | 3 + .../SetCustomModelDataFunction.mapping | 15 + 285 files changed, 5101 insertions(+), 40 deletions(-) create mode 100644 data/net/minecraft/client/color/item/Constant.mapping create mode 100644 data/net/minecraft/client/color/item/CustomModelDataSource.mapping create mode 100644 data/net/minecraft/client/color/item/Dye.mapping create mode 100644 data/net/minecraft/client/color/item/Firework.mapping create mode 100644 data/net/minecraft/client/color/item/GrassColorSource.mapping create mode 100644 data/net/minecraft/client/color/item/ItemTintSource.mapping create mode 100644 data/net/minecraft/client/color/item/MapColor.mapping create mode 100644 data/net/minecraft/client/color/item/Potion.mapping create mode 100644 data/net/minecraft/client/color/item/TeamColor.mapping create mode 100644 data/net/minecraft/client/data/Main.mapping create mode 100644 data/net/minecraft/client/data/models/BlockModelGenerators.mapping create mode 100644 data/net/minecraft/client/data/models/EquipmentAssetProvider.mapping create mode 100644 data/net/minecraft/client/data/models/ItemModelGenerators.mapping create mode 100644 data/net/minecraft/client/data/models/ItemModelOutput.mapping create mode 100644 data/net/minecraft/client/data/models/ModelProvider.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/Condition.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/MultiPartGenerator.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/MultiVariantGenerator.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/PropertyDispatch.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/Selector.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/Variant.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/VariantProperties.mapping create mode 100644 data/net/minecraft/client/data/models/blockstates/VariantProperty.mapping create mode 100644 data/net/minecraft/client/data/models/model/DelegatedModel.mapping create mode 100644 data/net/minecraft/client/data/models/model/ItemModelUtils.mapping create mode 100644 data/net/minecraft/client/data/models/model/ModelLocationUtils.mapping create mode 100644 data/net/minecraft/client/data/models/model/ModelTemplate.mapping create mode 100644 data/net/minecraft/client/data/models/model/ModelTemplates.mapping create mode 100644 data/net/minecraft/client/data/models/model/TextureMapping.mapping create mode 100644 data/net/minecraft/client/data/models/model/TextureSlot.mapping create mode 100644 data/net/minecraft/client/data/models/model/TexturedModel.mapping create mode 100644 data/net/minecraft/client/gui/components/AbstractScrollArea.mapping create mode 100644 data/net/minecraft/client/gui/components/AbstractTextAreaWidget.mapping create mode 100644 data/net/minecraft/client/model/BannerFlagModel.mapping create mode 100644 data/net/minecraft/client/model/BannerModel.mapping create mode 100644 data/net/minecraft/client/model/VillagerLikeModel.mapping create mode 100644 data/net/minecraft/client/particle/FallingLeavesParticle.mapping create mode 100644 data/net/minecraft/client/renderer/SpecialBlockModelRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/block/model/TextureSlots.mapping create mode 100644 data/net/minecraft/client/renderer/blockentity/AbstractSignRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/entity/AbstractHorseRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/entity/state/ArmedEntityRenderState.mapping create mode 100644 data/net/minecraft/client/renderer/entity/state/HoldingEntityRenderState.mapping create mode 100644 data/net/minecraft/client/renderer/entity/state/ItemClusterRenderState.mapping create mode 100644 data/net/minecraft/client/renderer/item/BlockModelWrapper.mapping create mode 100644 data/net/minecraft/client/renderer/item/ClientItem.mapping create mode 100644 data/net/minecraft/client/renderer/item/CompositeModel.mapping create mode 100644 data/net/minecraft/client/renderer/item/ConditionalItemModel.mapping create mode 100644 data/net/minecraft/client/renderer/item/ItemModel.mapping create mode 100644 data/net/minecraft/client/renderer/item/ItemModelResolver.mapping create mode 100644 data/net/minecraft/client/renderer/item/ItemStackRenderState.mapping create mode 100644 data/net/minecraft/client/renderer/item/MissingItemModel.mapping create mode 100644 data/net/minecraft/client/renderer/item/RangeSelectItemModel.mapping create mode 100644 data/net/minecraft/client/renderer/item/SelectItemModel.mapping create mode 100644 data/net/minecraft/client/renderer/item/SpecialModelWrapper.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/conditional/CustomModelDataProperty.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/numeric/CompassAngle.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/numeric/CompassAngleState.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/numeric/Time.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/numeric/UseDuration.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/select/LocalTime.mapping create mode 100644 data/net/minecraft/client/renderer/item/properties/select/SelectItemModelProperty.mapping create mode 100644 data/net/minecraft/client/renderer/special/BannerSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/BedSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/ChestSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/ConduitSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/DecoratedPotSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/HangingSignSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/NoDataSpecialModelRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/ShieldSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/ShulkerBoxSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/SkullSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/SpecialModelRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/SpecialModelRenderers.mapping create mode 100644 data/net/minecraft/client/renderer/special/StandingSignSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/special/TridentSpecialRenderer.mapping create mode 100644 data/net/minecraft/client/renderer/texture/ReloadableTexture.mapping create mode 100644 data/net/minecraft/client/renderer/texture/SkinTextureDownloader.mapping create mode 100644 data/net/minecraft/client/renderer/texture/TextureContents.mapping create mode 100644 data/net/minecraft/client/resources/model/ClientItemInfoLoader.mapping create mode 100644 data/net/minecraft/client/resources/model/EquipmentAssetManager.mapping create mode 100644 data/net/minecraft/client/resources/model/EquipmentClientInfo.mapping create mode 100644 data/net/minecraft/client/resources/model/ItemStackModelLoader.mapping create mode 100644 data/net/minecraft/client/resources/model/ResolvableModel.mapping create mode 100644 data/net/minecraft/client/resources/model/SpriteGetter.mapping create mode 100644 data/net/minecraft/client/sounds/MusicInfo.mapping create mode 100644 data/net/minecraft/network/HiddenByteBuf.mapping create mode 100644 data/net/minecraft/network/LocalFrameDecoder.mapping create mode 100644 data/net/minecraft/network/LocalFrameEncoder.mapping create mode 100644 data/net/minecraft/network/MonitoredLocalFrameDecoder.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/BlockEntityFurnaceBurnTimeFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/CustomModelDataExpandFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/DataComponentRemainderFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/EntityAttributeBaseValueFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/EntityFieldsRenameFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/EquippableAssetRenameFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/InvalidBlockEntityLockFix.mapping create mode 100644 data/net/minecraft/util/datafix/fixes/InvalidLockComponentFix.mapping create mode 100644 data/net/minecraft/util/profiling/jfr/callback/ProfiledDuration.mapping create mode 100644 data/net/minecraft/util/profiling/jfr/event/StructureGenerationEvent.mapping create mode 100644 data/net/minecraft/util/profiling/jfr/stats/StructureGenStat.mapping create mode 100644 data/net/minecraft/world/item/component/CustomModelData.mapping create mode 100644 data/net/minecraft/world/item/equipment/EquipmentAssets.mapping create mode 100644 data/net/minecraft/world/level/block/EyeblossomBlock.mapping create mode 100644 data/net/minecraft/world/level/block/ParticleLeavesBlock.mapping diff --git a/build.gradle b/build.gradle index b8e11d20e..44a6dc7b5 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ writtenbooks { } compass { - version = '1.21.3' + version = '1.21.4' } repositories { diff --git a/data/com/mojang/blaze3d/platform/NativeImage.mapping b/data/com/mojang/blaze3d/platform/NativeImage.mapping index 53635f064..5ecda22d4 100644 --- a/data/com/mojang/blaze3d/platform/NativeImage.mapping +++ b/data/com/mojang/blaze3d/platform/NativeImage.mapping @@ -14,6 +14,15 @@ CLASS com/mojang/blaze3d/platform/NativeImage ARG 3 height ARG 4 useStbFree ARG 5 pixels + METHOD _upload (IIIIIIIZ)V + ARG 1 level + ARG 2 xOffset + ARG 3 yOffset + ARG 4 unpackSkipPixels + ARG 5 unpackSkipRows + ARG 6 width + ARG 7 height + ARG 8 autoClose METHOD _upload (IIIIIIIZZZZ)V ARG 1 level ARG 2 xOffset @@ -77,6 +86,9 @@ CLASS com/mojang/blaze3d/platform/NativeImage ARG 2 y METHOD mappedCopy (Ljava/util/function/IntUnaryOperator;)Lcom/mojang/blaze3d/platform/NativeImage; ARG 1 function + METHOD putAndRead (Ljava/nio/ByteBuffer;[B)Lcom/mojang/blaze3d/platform/NativeImage; + ARG 0 buffer + ARG 1 bytes METHOD read (Lcom/mojang/blaze3d/platform/NativeImage$Format;Ljava/io/InputStream;)Lcom/mojang/blaze3d/platform/NativeImage; ARG 0 format ARG 1 textureStream @@ -106,6 +118,23 @@ CLASS com/mojang/blaze3d/platform/NativeImage ARG 1 x ARG 2 y ARG 3 color + METHOD setPixelLuminance (IIB)V + ARG 1 x + ARG 2 y + ARG 3 luminance + METHOD setPixelRGBA (III)V + ARG 1 x + ARG 2 y + ARG 3 abgrColor + METHOD upload (IIIIIIIZ)V + ARG 1 level + ARG 2 xOffset + ARG 3 yOffset + ARG 4 unpackSkipPixels + ARG 5 unpackSkipRows + ARG 6 width + ARG 7 height + ARG 8 autoClose METHOD upload (IIIIIIIZZ)V ARG 1 level ARG 2 xOffset diff --git a/data/com/mojang/blaze3d/vertex/VertexBuffer.mapping b/data/com/mojang/blaze3d/vertex/VertexBuffer.mapping index ae0645a5a..e543dad95 100644 --- a/data/com/mojang/blaze3d/vertex/VertexBuffer.mapping +++ b/data/com/mojang/blaze3d/vertex/VertexBuffer.mapping @@ -1,6 +1,14 @@ CLASS com/mojang/blaze3d/vertex/VertexBuffer METHOD (Lcom/mojang/blaze3d/buffers/BufferUsage;)V ARG 1 usage + METHOD (Lcom/mojang/blaze3d/vertex/VertexBuffer$Usage;)V + ARG 1 usage + METHOD _drawWithShader (Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;Lnet/minecraft/client/renderer/ShaderInstance;)V + ARG 1 modelViewMatrix + ARG 2 projectionMatrix + ARG 3 shader + METHOD drawWithRenderType (Lnet/minecraft/client/renderer/RenderType;)V + ARG 1 renderType METHOD drawWithShader (Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;Lnet/minecraft/client/renderer/CompiledShaderProgram;)V ARG 1 frustumMatrix ARG 2 projectionMatrix @@ -12,6 +20,10 @@ CLASS com/mojang/blaze3d/vertex/VertexBuffer METHOD uploadIndexBuffer (Lcom/mojang/blaze3d/vertex/MeshData$DrawState;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/systems/RenderSystem$AutoStorageIndexBuffer; ARG 1 drawState ARG 2 buffer + METHOD uploadStatic (Lcom/mojang/blaze3d/vertex/VertexFormat$Mode;Lcom/mojang/blaze3d/vertex/VertexFormat;Ljava/util/function/Consumer;)Lcom/mojang/blaze3d/vertex/VertexBuffer; + ARG 0 mode + ARG 1 format + ARG 2 builder METHOD uploadVertexBuffer (Lcom/mojang/blaze3d/vertex/MeshData$DrawState;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/vertex/VertexFormat; ARG 1 drawState ARG 2 buffer diff --git a/data/com/mojang/math/MatrixUtil.mapping b/data/com/mojang/math/MatrixUtil.mapping index 024f2b6be..4a4da4183 100644 --- a/data/com/mojang/math/MatrixUtil.mapping +++ b/data/com/mojang/math/MatrixUtil.mapping @@ -6,6 +6,8 @@ CLASS com/mojang/math/MatrixUtil METHOD eigenvalueJacobi (Lorg/joml/Matrix3f;I)Lorg/joml/Quaternionf; ARG 0 input ARG 1 iterations + METHOD isIdentity (Lorg/joml/Matrix4f;)Z + ARG 0 matrix METHOD isOrthonormal (Lorg/joml/Matrix4f;)Z ARG 0 matrix METHOD isPureTranslation (Lorg/joml/Matrix4f;)Z diff --git a/data/net/minecraft/client/KeyMapping.mapping b/data/net/minecraft/client/KeyMapping.mapping index 79789e092..74b077c08 100644 --- a/data/net/minecraft/client/KeyMapping.mapping +++ b/data/net/minecraft/client/KeyMapping.mapping @@ -10,11 +10,15 @@ CLASS net/minecraft/client/KeyMapping ARG 4 category METHOD click (Lcom/mojang/blaze3d/platform/InputConstants$Key;)V ARG 0 key + METHOD compareTo (Ljava/lang/Object;)I + ARG 1 other METHOD consumeClick ()Z COMMENT Returns {@code true} on the initial key press. For continuous querying use {@link isKeyDown()}. Should be used in key events. METHOD createNameSupplier (Ljava/lang/String;)Ljava/util/function/Supplier; COMMENT Returns a supplier which gets a keybind's current binding (eg, key.forward returns W by default), or the keybind's name if no such keybind exists (eg, key.invalid returns key.invalid) ARG 0 key + METHOD get (Ljava/lang/String;)Lnet/minecraft/client/KeyMapping; + ARG 0 name METHOD isDefault ()Z COMMENT Returns {@code true} if the {@code KeyMapping} is using the default key and key modifier METHOD isDown ()Z diff --git a/data/net/minecraft/client/color/item/Constant.mapping b/data/net/minecraft/client/color/item/Constant.mapping new file mode 100644 index 000000000..35ba0fba4 --- /dev/null +++ b/data/net/minecraft/client/color/item/Constant.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/color/item/Constant + METHOD (I)V + ARG 1 value + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/CustomModelDataSource.mapping b/data/net/minecraft/client/color/item/CustomModelDataSource.mapping new file mode 100644 index 000000000..da6e774da --- /dev/null +++ b/data/net/minecraft/client/color/item/CustomModelDataSource.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/CustomModelDataSource + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/Dye.mapping b/data/net/minecraft/client/color/item/Dye.mapping new file mode 100644 index 000000000..543a20443 --- /dev/null +++ b/data/net/minecraft/client/color/item/Dye.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/Dye + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/Firework.mapping b/data/net/minecraft/client/color/item/Firework.mapping new file mode 100644 index 000000000..b9ad807fc --- /dev/null +++ b/data/net/minecraft/client/color/item/Firework.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/Firework + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/GrassColorSource.mapping b/data/net/minecraft/client/color/item/GrassColorSource.mapping new file mode 100644 index 000000000..6481b5573 --- /dev/null +++ b/data/net/minecraft/client/color/item/GrassColorSource.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/GrassColorSource + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/ItemTintSource.mapping b/data/net/minecraft/client/color/item/ItemTintSource.mapping new file mode 100644 index 000000000..beeec067c --- /dev/null +++ b/data/net/minecraft/client/color/item/ItemTintSource.mapping @@ -0,0 +1,7 @@ +CLASS net/minecraft/client/color/item/ItemTintSource + METHOD calculate (Lnet/minecraft/world/item/ItemStack;)I + ARG 1 stack + METHOD calculate (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;)I + ARG 1 stack + ARG 2 level + ARG 3 entity diff --git a/data/net/minecraft/client/color/item/MapColor.mapping b/data/net/minecraft/client/color/item/MapColor.mapping new file mode 100644 index 000000000..aca39feb3 --- /dev/null +++ b/data/net/minecraft/client/color/item/MapColor.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/MapColor + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/Potion.mapping b/data/net/minecraft/client/color/item/Potion.mapping new file mode 100644 index 000000000..9e91eb37e --- /dev/null +++ b/data/net/minecraft/client/color/item/Potion.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/Potion + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/color/item/TeamColor.mapping b/data/net/minecraft/client/color/item/TeamColor.mapping new file mode 100644 index 000000000..4edc963ba --- /dev/null +++ b/data/net/minecraft/client/color/item/TeamColor.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/color/item/TeamColor + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/data/Main.mapping b/data/net/minecraft/client/data/Main.mapping new file mode 100644 index 000000000..29518f003 --- /dev/null +++ b/data/net/minecraft/client/data/Main.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/data/Main + METHOD addClientProviders (Lnet/minecraft/data/DataGenerator;Z)V + ARG 0 dataGenerator + ARG 1 toRun + METHOD main ([Ljava/lang/String;)V + ARG 0 args diff --git a/data/net/minecraft/client/data/models/BlockModelGenerators.mapping b/data/net/minecraft/client/data/models/BlockModelGenerators.mapping new file mode 100644 index 000000000..bbb348ef6 --- /dev/null +++ b/data/net/minecraft/client/data/models/BlockModelGenerators.mapping @@ -0,0 +1,773 @@ +CLASS net/minecraft/client/data/models/BlockModelGenerators + METHOD (Ljava/util/function/Consumer;Ljava/util/function/BiConsumer;Ljava/util/function/Consumer;)V + ARG 1 blockStateOutput + ARG 2 modelOutput + ARG 3 skippedAutoModelsOutput + METHOD (Ljava/util/function/Consumer;Lnet/minecraft/client/data/models/ItemModelOutput;Ljava/util/function/BiConsumer;)V + ARG 1 blockStateOutput + ARG 2 itemModelOutput + ARG 3 modelOutput + METHOD addBookSlotModel (Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator;Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/client/data/models/blockstates/VariantProperties$Rotation;Lnet/minecraft/world/level/block/state/properties/BooleanProperty;Lnet/minecraft/client/data/models/model/ModelTemplate;Z)V + ARG 1 generator + ARG 2 condition + ARG 3 rotation + ARG 4 property + ARG 5 template + ARG 6 occupied + METHOD addBookSlotModel (Lnet/minecraft/data/models/blockstates/MultiPartGenerator;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/client/data/models/blockstates/VariantProperties$Rotation;Lnet/minecraft/world/level/block/state/properties/BooleanProperty;Lnet/minecraft/client/data/models/model/ModelTemplate;Z)V + ARG 1 generator + ARG 2 condition + ARG 3 rotation + ARG 4 hasBookProperty + ARG 5 template + ARG 6 hasBook + METHOD addSlotStateAndRotationVariants (Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator;Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/client/data/models/blockstates/VariantProperties$Rotation;)V + ARG 1 generator + ARG 2 condition + ARG 3 rotation + METHOD addSlotStateAndRotationVariants (Lnet/minecraft/data/models/blockstates/MultiPartGenerator;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/client/data/models/blockstates/VariantProperties$Rotation;)V + ARG 1 generator + ARG 2 condition + ARG 3 rotation + METHOD applyRotation (Lnet/minecraft/core/FrontAndTop;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 frontAndTop + ARG 2 variant + METHOD blockEntityModels (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockEntityModelGenerator; + ARG 1 entityBlockModelLocation + ARG 2 particleBlock + METHOD blockEntityModels (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockEntityModelGenerator; + ARG 1 entityBlockBaseModel + ARG 2 particleBlock + METHOD configureDoorHalf (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C4;Lnet/minecraft/world/level/block/state/properties/DoubleBlockHalf;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C4; + ARG 0 properties + ARG 1 half + ARG 2 leftModelLocation + ARG 3 leftOpenModelLocation + ARG 4 rightModelLocation + ARG 5 rightOpenModelLocation + METHOD copyCopperBulbModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 bulbBlock + ARG 2 sourceBlock + METHOD copyDoorModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 doorBlock + ARG 2 sourceBlock + METHOD copyModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 sourceBlock + ARG 2 targetBlock + METHOD copyTrapdoorModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 trapdoorBlock + ARG 2 sourceBlock + METHOD createActiveRail (Lnet/minecraft/world/level/block/Block;)V + ARG 1 railBlock + METHOD createAirLikeBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 airLikeBlock + ARG 2 particleTexture + METHOD createAirLikeBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)V + ARG 1 airLikeBlock + ARG 2 particleItem + METHOD createAmethystCluster (Lnet/minecraft/world/level/block/Block;)V + ARG 1 amethystBlock + METHOD createAnvil (Lnet/minecraft/world/level/block/Block;)V + ARG 1 anvilBlock + METHOD createAxisAlignedPillarBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;)V + ARG 1 axisAlignedPillarBlock + ARG 2 provider + METHOD createAxisAlignedPillarBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 axisAlignedPillarBlock + ARG 1 modelLocation + METHOD createAxisAlignedPillarBlockCustomModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 axisAlignedPillarBlock + ARG 2 modelLocation + METHOD createAzalea (Lnet/minecraft/world/level/block/Block;)V + ARG 1 azaleaBlock + METHOD createBambooModels (I)Ljava/util/List; + ARG 1 age + METHOD createBanner (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/DyeColor;)V + ARG 1 block + ARG 2 wallBlock + ARG 3 color + METHOD createBed (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/DyeColor;)V + ARG 1 block + ARG 2 particleBlock + ARG 3 color + METHOD createBedItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 bedBlock + ARG 2 woolBlock + METHOD createBeeNest (Lnet/minecraft/world/level/block/Block;Ljava/util/function/Function;)V + ARG 1 beeNestBlock + ARG 2 textureMappingGetter + METHOD createBooleanModelDispatch (Lnet/minecraft/world/level/block/state/properties/BooleanProperty;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 0 property + ARG 1 trueModelLocation + ARG 2 falseModelLocation + METHOD createBrushableBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createButton (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 buttonBlock + ARG 1 unpoweredModelLocation + ARG 2 poweredModelLocation + METHOD createCampfires ([Lnet/minecraft/world/level/block/Block;)V + ARG 1 campfireBlocks + METHOD createCandleAndCandleCake (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 candleBlock + ARG 2 candleCakeBlock + METHOD createChest (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Z)V + ARG 1 chestBlock + ARG 2 particleBlock + ARG 3 texture + ARG 4 useGiftTexture + METHOD createColoredBlockWithRandomRotations (Lnet/minecraft/client/data/models/model/TexturedModel$Provider;[Lnet/minecraft/world/level/block/Block;)V + ARG 1 modelProvider + ARG 2 coloredBlocks + METHOD createColoredBlockWithStateRotations (Lnet/minecraft/client/data/models/model/TexturedModel$Provider;[Lnet/minecraft/world/level/block/Block;)V + ARG 1 modelProvider + ARG 2 coloredBlocks + METHOD createCommandBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 commandBlock + METHOD createCopperBulb (Lnet/minecraft/world/level/block/Block;)V + ARG 1 bulbBlock + METHOD createCopperBulb (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 1 bulbBlock + ARG 2 unlit + ARG 3 unlitPowered + ARG 4 lit + ARG 5 litPowered + METHOD createCoral (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 coralBlock + ARG 2 deadCoralBlock + ARG 3 coralFullBlock + ARG 4 deadCoralFullBlock + ARG 5 coralFanBlock + ARG 6 deadCoralFanBlock + ARG 7 coralWallFanBlock + ARG 8 deadCoralWallFanBlock + METHOD createCoralFans (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 coralFanBlock + ARG 2 coralWallFanBlock + METHOD createCraftingTableLike (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiFunction;)V + ARG 1 craftingTableBlock + ARG 2 craftingTableMaterialBlock + ARG 3 textureMappingGetter + METHOD createCreakingHeart (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createCropBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/state/properties/Property;[I)V + ARG 1 cropBlock + ARG 2 ageProperty + ARG 3 ageToVisualStageMapping + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 block + ARG 2 plantType + ARG 3 textureMapping + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;Lnet/minecraft/world/level/block/state/properties/Property;[I)V + ARG 1 block + ARG 2 plantType + ARG 3 ageProperty + ARG 4 possibleValues + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;)V + ARG 1 crossBlock + ARG 2 tintState + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 crossBlock + ARG 2 tintState + ARG 3 textureMapping + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;Lnet/minecraft/world/level/block/state/properties/Property;[I)V + ARG 1 crossBlock + ARG 2 tintState + ARG 3 property + ARG 4 propertyValues + METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType + METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 block + ARG 2 plantType + ARG 3 textureMapping + METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;)V + ARG 1 crossBlock + ARG 2 tintState + METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 crossBlock + ARG 2 tintState + ARG 3 textureMapping + METHOD createCustomFence (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 customFenceBlock + ARG 1 postModelId + ARG 2 northModelId + ARG 3 eastModelId + ARG 4 southModelId + ARG 5 westModelId + METHOD createDispenserBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 dispenserBlock + METHOD createDoor (Lnet/minecraft/world/level/block/Block;)V + ARG 1 doorBlock + METHOD createDoor (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 doorBlock + ARG 1 topLeftModelLocation + ARG 2 topLeftOpenModelLocation + ARG 3 topRightModelLocation + ARG 4 topRightOpenModelLocation + ARG 5 bottomLeftModelLocation + ARG 6 bottomLeftOpenModelLocation + ARG 7 bottomRightModelLocation + ARG 8 bottomRightOpenModelLocation + METHOD createDoubleBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 doubleBlock + ARG 2 topHalfModelLocation + ARG 3 bottomHalfModelLocation + METHOD createDoublePlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType + METHOD createDoublePlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;)V + ARG 1 doublePlantBlock + ARG 2 tintState + METHOD createDoublePlantWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType + METHOD createEmptyOrFullDispatch (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 0 property + ARG 1 minimumValueForFullVariant + ARG 2 fullVariantModelLocation + ARG 3 emptyVariantModelLocation + METHOD createFence (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 fenceBlock + ARG 1 fencePostModelLocation + ARG 2 fenceSideModelLocation + METHOD createFenceGate (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 fenceGateBlock + ARG 1 openModelLocation + ARG 2 closedModelLocation + ARG 3 wallOpenModelLocation + ARG 4 wallClosedModelLocation + ARG 5 uvLock + METHOD createFlatItemModel (Lnet/minecraft/world/item/Item;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + METHOD createFlatItemModelWithBlockTexture (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 block + METHOD createFlatItemModelWithBlockTexture (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 block + ARG 3 suffix + METHOD createFlatItemModelWithBlockTextureAndOverlay (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 block + ARG 3 suffix + METHOD createFloorFireModels (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; + ARG 1 fireBlock + METHOD createFlowerBed (Lnet/minecraft/world/level/block/Block;)V + ARG 1 flowerBedBlock + METHOD createFullAndCarpetBlocks (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 fullBlock + ARG 2 carpetBlock + METHOD createFurnace (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;)V + ARG 1 furnaceBlock + ARG 2 modelProvider + METHOD createGenericCube (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createGlassBlocks (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 glassBlock + ARG 2 paneBlock + METHOD createGrassLikeBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/blockstates/Variant;)V + ARG 1 grassLikeBlock + ARG 2 modelLocation + ARG 3 variant + METHOD createGrowingPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 plantBlock + ARG 2 tipBlock + ARG 3 plantType + METHOD createGrowingPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;)V + ARG 1 growingPlantBlock + ARG 2 plantBlock + ARG 3 tintState + METHOD createHangingMoss (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createHangingSign (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 particleBlock + ARG 2 hangingSignBlock + ARG 3 wallHangingSignBlock + METHOD createHead (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 headBlock + ARG 2 wallHeadBlock + ARG 3 type + ARG 4 modelLocation + METHOD createHorizontallyRotatedBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;)V + ARG 1 horizontallyRotatedBlock + ARG 2 provider + METHOD createItemWithGrassTint (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createLantern (Lnet/minecraft/world/level/block/Block;)V + ARG 1 lanternBlock + METHOD createMirroredColumnGenerator (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 columnBlock + ARG 1 location + ARG 2 textureMapping + ARG 3 modelOutput + METHOD createMirroredCubeGenerator (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 cubeBlock + ARG 1 location + ARG 2 textureMapping + ARG 3 modelOutput + METHOD createMossyCarpet (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createMultiface (Lnet/minecraft/world/level/block/Block;)V + ARG 1 multifaceBlock + METHOD createMultiface (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)V + ARG 1 block + ARG 2 item + METHOD createMultifaceBlockStates (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createMushroomBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 mushroomBlock + METHOD createNetherRoots (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 plantBlock + ARG 2 pottedPlantBlock + METHOD createNonTemplateHorizontalBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 horizontalBlock + METHOD createNonTemplateModelBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createNonTemplateModelBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + ARG 2 modelBlock + METHOD createNormalTorch (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 torchBlock + ARG 2 wallTorchBlock + METHOD createNorthWestMirroredCubeGenerator (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 cubeBlock + ARG 1 location + ARG 2 textureMapping + ARG 3 modelOutput + METHOD createNyliumBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 nyliumBlock + METHOD createOrientableTrapdoor (Lnet/minecraft/world/level/block/Block;)V + ARG 1 orientableTrapdoorBlock + METHOD createOrientableTrapdoor (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 orientableTrapdoorBlock + ARG 1 topModelLocation + ARG 2 bottomModelLocation + ARG 3 openModelLocation + METHOD createParticleOnlyBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createParticleOnlyBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + ARG 2 particleBlock + METHOD createParticleOnlyBlockModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 particleBlock + METHOD createPassiveRail (Lnet/minecraft/world/level/block/Block;)V + ARG 1 railBlock + METHOD createPillarBlockUVLocked (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 block + ARG 1 textureMapping + ARG 2 modelOutput + METHOD createPistonVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 pistonBlock + ARG 2 baseModelLocation + ARG 3 topTextureMapping + METHOD createPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 pottedBlock + ARG 3 plantType + METHOD createPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$TintState;)V + ARG 1 plantBlock + ARG 2 pottedPlantBlock + ARG 3 tintState + METHOD createPlantWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 pottedBlock + ARG 3 plantType + METHOD createPointedDripstoneVariant (Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/properties/DripstoneThickness;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 direction + ARG 2 dripstoneThickness + METHOD createPottedAzalea (Lnet/minecraft/world/level/block/Block;)V + ARG 1 pottedAzaleaBlock + METHOD createPressurePlate (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 pressurePlateBlock + ARG 1 unpoweredModelLocation + ARG 2 poweredModelLocation + METHOD createPumpkinVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 pumpkinBlock + ARG 2 columnTextureMapping + METHOD createRotatableColumn (Lnet/minecraft/world/level/block/Block;)V + ARG 1 rotatableColumnBlock + METHOD createRotatedMirroredVariantBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createRotatedPillarWithHorizontalVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;)V + ARG 1 rotatedPillarBlock + ARG 2 modelProvider + ARG 3 horizontalModelProvider + METHOD createRotatedPillarWithHorizontalVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 rotatedPillarBlock + ARG 1 modelLocation + ARG 2 horizontalModelLocation + METHOD createRotatedVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 model + METHOD createRotatedVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 modelLocation + METHOD createRotatedVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 model1 + ARG 2 model2 + METHOD createRotatedVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 normalModelLocation + ARG 2 mirroredModelLocation + METHOD createRotatedVariantBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createRotatedVariants (Lnet/minecraft/resources/ResourceLocation;)[Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 modelLocation + METHOD createShulkerBox (Lnet/minecraft/world/level/block/Block;)V + ARG 1 shulkerBoxBlock + METHOD createShulkerBox (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/DyeColor;)V + ARG 1 block + ARG 2 color + METHOD createSideFireModels (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; + ARG 1 fireBlock + METHOD createSimpleBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 model + METHOD createSimpleBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 modelLocation + METHOD createSimpleFlatItemModel (Lnet/minecraft/world/item/Item;)V + ARG 1 flatItem + METHOD createSimpleFlatItemModel (Lnet/minecraft/world/level/block/Block;)V + ARG 1 flatBlock + METHOD createSimpleFlatItemModel (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)V + ARG 1 flatBlock + ARG 2 layerZeroTextureSuffix + METHOD createSlab (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 slabBlock + ARG 1 bottomHalfModelLocation + ARG 2 topHalfModelLocation + ARG 3 doubleModelLocation + METHOD createStairs (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 stairsBlock + ARG 1 innerModelLocation + ARG 2 straightModelLocation + ARG 3 outerModelLocation + METHOD createStems (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 unattachedStemBlock + ARG 2 attachedStemBlock + METHOD createSuffixedVariant (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Lnet/minecraft/client/data/models/model/ModelTemplate;Ljava/util/function/Function;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 suffix + ARG 3 modelTemplate + ARG 4 textureMappingGetter + METHOD createTintedDoublePlant (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createTintedLeaves (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;I)V + ARG 1 block + ARG 2 provider + ARG 3 tint + METHOD createTopFireModels (Lnet/minecraft/world/level/block/Block;)Ljava/util/List; + ARG 1 fireBlock + METHOD createTrapdoor (Lnet/minecraft/world/level/block/Block;)V + ARG 1 trapdoorBlock + METHOD createTrapdoor (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 trapdoorBlock + ARG 1 topModelLocation + ARG 2 bottomModelLocation + ARG 3 openModelLocation + METHOD createTrivialBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;Lnet/minecraft/client/data/models/model/ModelTemplate;)V + ARG 1 block + ARG 2 textureMapping + ARG 3 modelTemplate + METHOD createTrivialBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;)V + ARG 1 block + ARG 2 provider + METHOD createTrivialCube (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD createTurtleEggModel (ILjava/lang/String;Lnet/minecraft/client/data/models/model/TextureMapping;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 hatchAmount + ARG 2 variantName + ARG 3 textureMapping + METHOD createTurtleEggModel (Ljava/lang/Integer;Ljava/lang/Integer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 eggAmount + ARG 2 variantId + METHOD createTwoLayerFlatItemModel (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)V + ARG 1 block + ARG 2 secondLayerTextureSuffix + METHOD createWall (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 0 wallBlock + ARG 1 postModelLocation + ARG 2 lowSideModelLocation + ARG 3 tallSideModelLocation + METHOD createWeightedPressurePlate (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V + ARG 1 pressurePlateBlock + ARG 2 plateMaterialBlock + METHOD delegateItemModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 item + ARG 2 delegateModelLocation + METHOD delegateItemModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 block + ARG 2 delegateModelLocation + METHOD family (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 block + METHOD generateSimpleSpecialItemModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/renderer/special/SpecialModelRenderer$Unbaked;)V + ARG 1 block + ARG 2 specialModel + METHOD lambda$addBookSlotModel$64 (Lnet/minecraft/client/data/models/model/ModelTemplate;Ljava/lang/String;Lnet/minecraft/client/data/models/model/TextureMapping;Lnet/minecraft/client/data/models/BlockModelGenerators$BookSlotModelCacheKey;)Lnet/minecraft/resources/ResourceLocation; + ARG 4 key + METHOD lambda$createActiveRail$12 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;Lnet/minecraft/world/level/block/state/properties/RailShape;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 6 powered + ARG 7 shape + METHOD lambda$createBambooModels$14 (Ljava/lang/String;I)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 value + METHOD lambda$createBarrel$15 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createBrushableBlock$5 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 2 dusted + METHOD lambda$createCalibratedSculkSensor$40 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/properties/SculkSensorPhase;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 2 sculkSensorPhase + METHOD lambda$createChorusFlower$20 (Lnet/minecraft/client/data/models/model/TextureMapping;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 location + METHOD lambda$createCommandBlock$13 (Lnet/minecraft/client/data/models/model/TextureMapping;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 location + METHOD lambda$createCopperBulb$22 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 4 isLit + ARG 5 powered + METHOD lambda$createCrafterBlock$21 (Lnet/minecraft/core/FrontAndTop;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 frontAndTop + METHOD lambda$createCreakingHeart$6 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createCreakingHeart$7 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createCreakingHeart$8 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TexturedModel$Provider;)Lnet/minecraft/resources/ResourceLocation; + ARG 2 provider + METHOD lambda$createCropBlock$18 ([ILit/unimi/dsi/fastutil/ints/Int2ObjectMap;Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 4 age + METHOD lambda$createCrossBlock$9 ([ILnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/BlockModelGenerators$PlantType;Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 4 value + METHOD lambda$createEmptyOrFullDispatch$16 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/Variant;Lnet/minecraft/client/data/models/blockstates/Variant;Ljava/lang/Comparable;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 3 value + METHOD lambda$createFire$24 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$25 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$26 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$27 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$28 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$29 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFurnace$19 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createGrassBlocks$35 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createGrassBlocks$36 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createHangingMoss$60 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 2 tip + METHOD lambda$createJigsaw$66 (Lnet/minecraft/core/FrontAndTop;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 orientation + METHOD lambda$createMossyCarpet$57 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createMossyCarpet$58 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createMossyCarpet$59 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/core/Direction;)V + ARG 2 direction + METHOD lambda$createMossyCarpet$59 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/core/Direction;)V + ARG 2 direction + METHOD lambda$createMultifaceBlockStates$55 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/world/level/block/state/properties/BooleanProperty;)V + ARG 2 property + METHOD lambda$createMultifaceBlockStates$55 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/world/level/block/state/properties/BooleanProperty;)V + ARG 2 onFace + METHOD lambda$createMultifaceBlockStates$56 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition;)V + ARG 1 condition + METHOD lambda$createMultifaceBlockStates$56 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;)V + ARG 1 condition + METHOD lambda$createPitcherCrop$11 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;Lnet/minecraft/world/level/block/state/properties/DoubleBlockHalf;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 age + ARG 2 half + METHOD lambda$createRepeater$41 (Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 delay + ARG 1 locked + ARG 2 powered + METHOD lambda$createSculkCatalyst$61 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 2 bloom + METHOD lambda$createSculkSensor$39 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/properties/SculkSensorPhase;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 2 sculkSensorPhase + METHOD lambda$createSnifferEgg$47 (Ljava/lang/Integer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 hatch + METHOD lambda$createSnifferEgg$48 (Ljava/util/function/Function;Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 hatch + METHOD lambda$createSnowBlocks$42 (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 layers + METHOD lambda$createSoulFire$30 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$31 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$32 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$33 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$34 (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createStems$10 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 3 age + METHOD lambda$createStructureBlock$43 (Lnet/minecraft/world/level/block/state/properties/StructureMode;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 structureMode + METHOD lambda$createSweetBerryBush$44 (Ljava/lang/Integer;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 age + METHOD lambda$createTrialSpawner$37 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/entity/trialspawner/TrialSpawnerState;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 6 trialSpawnerState + ARG 7 ominous + METHOD lambda$createTripwireHook$45 (Ljava/lang/Boolean;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 attached + ARG 1 powered + METHOD lambda$createTurtleEgg$46 (Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/List; + ARG 1 eggs + ARG 2 hatch + METHOD lambda$createVault$38 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/entity/vault/VaultState;Ljava/lang/Boolean;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 8 vaultState + ARG 9 ominous + METHOD lambda$new$0 (Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 0 map + METHOD lambda$new$1 (Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 0 map + METHOD lambda$new$2 (Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 0 map + METHOD lambda$new$3 (Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 0 map + METHOD lambda$new$4 (Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 0 map + METHOD lambda$run$67 (Lnet/minecraft/data/BlockFamily;)V + ARG 1 blockFamily + METHOD lambda$run$68 (Lnet/minecraft/world/item/SpawnEggItem;)V + ARG 1 item + METHOD lambda$static$49 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$50 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$51 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$52 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$53 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$54 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$wrapModels$23 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 location + METHOD registerSimpleFlatItemModel (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD registerSimpleFlatItemModel (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD registerSimpleFlatItemModel (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)V + ARG 1 block + ARG 2 suffix + METHOD registerSimpleItemModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 item + ARG 2 model + METHOD registerSimpleItemModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 block + ARG 2 model + METHOD registerSimpleTintedItemModel (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/color/item/ItemTintSource;)V + ARG 1 block + ARG 2 model + ARG 3 tintSource + METHOD registerTwoLayerFlatItemModel (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)V + ARG 1 block + ARG 2 suffix + METHOD skipAutoItemBlock (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD woodProvider (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$WoodProvider; + ARG 1 logBlock + METHOD wrapModels (Ljava/util/List;Ljava/util/function/UnaryOperator;)Ljava/util/List; + ARG 0 modelLocations + ARG 1 variantMapper + CLASS PlantType + METHOD (Ljava/lang/String;ILnet/minecraft/client/data/models/model/ModelTemplate;Lnet/minecraft/client/data/models/model/ModelTemplate;Z)V + ARG 3 blockTemplate + ARG 4 flowerPotTemplate + ARG 5 isEmissive + METHOD createItemModel (Lnet/minecraft/client/data/models/BlockModelGenerators;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 generator + ARG 2 block + METHOD createItemModel (Lnet/minecraft/client/data/models/BlockModelGenerators;Lnet/minecraft/world/level/block/Block;)V + ARG 1 blockModelGenerator + ARG 2 block + METHOD getPlantTextureMapping (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 block + METHOD getTextureMapping (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 block + CLASS WoodProvider + METHOD (Lnet/minecraft/client/data/models/BlockModelGenerators;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 2 logMapping + METHOD log (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$WoodProvider; + ARG 1 logBlock + METHOD logUVLocked (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$WoodProvider; + ARG 1 logBlock + METHOD logWithHorizontal (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$WoodProvider; + ARG 1 logBlock + METHOD wood (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$WoodProvider; + ARG 1 woodBlock + CLASS BlockFamilyProvider + METHOD (Lnet/minecraft/client/data/models/BlockModelGenerators;Lnet/minecraft/client/data/models/model/TextureMapping;)V + ARG 2 mapping + METHOD button (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 buttonBlock + METHOD customFence (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 fenceBlock + METHOD customFenceGate (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 customFenceGateBlock + METHOD donateModelTo (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 sourceBlock + ARG 2 block + METHOD door (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 doorBlock + METHOD fence (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 fenceBlock + METHOD fenceGate (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 fenceGateBlock + METHOD fullBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/ModelTemplate;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 block + ARG 2 modelTemplate + METHOD fullBlockVariant (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 block + METHOD generateFor (Lnet/minecraft/data/BlockFamily;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 family + METHOD getOrCreateModel (Lnet/minecraft/client/data/models/model/ModelTemplate;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 modelTemplate + ARG 2 block + METHOD lambda$generateFor$1 (Lnet/minecraft/data/BlockFamily$Variant;Lnet/minecraft/world/level/block/Block;)V + ARG 1 variant + ARG 2 block + METHOD lambda$getOrCreateModel$0 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/ModelTemplate;)Lnet/minecraft/resources/ResourceLocation; + ARG 2 template + METHOD pressurePlate (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 pressurePlateBlock + METHOD sign (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 signBlock + METHOD slab (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 slabBlock + METHOD stairs (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 stairsBlock + METHOD trapdoor (Lnet/minecraft/world/level/block/Block;)V + ARG 1 trapdoorBlock + METHOD wall (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockFamilyProvider; + ARG 1 wallBlock + CLASS BlockEntityModelGenerator + METHOD (Lnet/minecraft/client/data/models/BlockModelGenerators;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/Block;)V + ARG 2 baseModel + ARG 3 particleBlock + METHOD create ([Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockEntityModelGenerator; + ARG 1 blocks + METHOD createWithCustomBlockItemModel (Lnet/minecraft/client/data/models/model/ModelTemplate;[Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockEntityModelGenerator; + ARG 1 modelTemplate + ARG 2 blocks + METHOD createWithoutBlockItem ([Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/BlockModelGenerators$BlockEntityModelGenerator; + ARG 1 blocks + CLASS BlockStateGeneratorSupplier + METHOD create (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/client/data/models/blockstates/BlockStateGenerator; + ARG 1 block + ARG 2 modelLocation + ARG 3 textureMapping + ARG 4 modelOutput diff --git a/data/net/minecraft/client/data/models/EquipmentAssetProvider.mapping b/data/net/minecraft/client/data/models/EquipmentAssetProvider.mapping new file mode 100644 index 000000000..7a90dc99d --- /dev/null +++ b/data/net/minecraft/client/data/models/EquipmentAssetProvider.mapping @@ -0,0 +1,12 @@ +CLASS net/minecraft/client/data/models/EquipmentAssetProvider + METHOD (Lnet/minecraft/data/PackOutput;)V + ARG 1 output + METHOD bootstrap (Ljava/util/function/BiConsumer;)V + ARG 0 output + METHOD humanoidAndHorse (Ljava/lang/String;)Lnet/minecraft/client/resources/model/EquipmentClientInfo; + ARG 0 name + METHOD lambda$run$0 (Ljava/util/Map;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/client/resources/model/EquipmentClientInfo;)V + ARG 1 key + ARG 2 info + METHOD onlyHumanoid (Ljava/lang/String;)Lnet/minecraft/client/resources/model/EquipmentClientInfo; + ARG 0 name diff --git a/data/net/minecraft/client/data/models/ItemModelGenerators.mapping b/data/net/minecraft/client/data/models/ItemModelGenerators.mapping new file mode 100644 index 000000000..76cfc7ee8 --- /dev/null +++ b/data/net/minecraft/client/data/models/ItemModelGenerators.mapping @@ -0,0 +1,145 @@ +CLASS net/minecraft/client/data/models/ItemModelGenerators + METHOD (Ljava/util/function/BiConsumer;)V + ARG 1 output + METHOD (Lnet/minecraft/client/data/models/ItemModelOutput;Ljava/util/function/BiConsumer;)V + ARG 1 itemModelOutput + ARG 2 modelOutput + METHOD addPotionTint (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 potionItem + ARG 2 model + METHOD createCompassModels (Lnet/minecraft/world/item/Item;)Ljava/util/List; + ARG 1 item + METHOD createFlatItemModel (Lnet/minecraft/world/item/Item;Ljava/lang/String;Lnet/minecraft/client/data/models/model/ModelTemplate;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 suffix + ARG 3 modelTemplate + METHOD createFlatItemModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/data/models/model/ModelTemplate;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 modelTemplate + METHOD createFlatItemModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;Lnet/minecraft/client/data/models/model/ModelTemplate;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 layerZeroItem + ARG 3 modelTemplate + METHOD createFlatModelDispatch (Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 itemModel + ARG 1 holdingModel + METHOD declareCustomModelItem (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD generateArmorTrims (Lnet/minecraft/world/item/ArmorItem;)V + ARG 1 armorItem + METHOD generateArmorTrims (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/item/equipment/EquipmentModel;Lnet/minecraft/world/entity/EquipmentSlot;)V + ARG 1 item + ARG 2 modelId + ARG 3 model + ARG 4 slot + METHOD generateBaseArmorTrimTemplate (Lnet/minecraft/resources/ResourceLocation;Ljava/util/Map;Lnet/minecraft/core/Holder;)Lcom/google/gson/JsonObject; + ARG 1 modelLocation + ARG 2 modelGetter + ARG 3 armorMaterial + METHOD generateBaseArmorTrimTemplate (Lnet/minecraft/resources/ResourceLocation;Ljava/util/Map;Lnet/minecraft/resources/ResourceLocation;)Lcom/google/gson/JsonObject; + ARG 1 modelLocation + ARG 2 modelGetter + ARG 3 name + METHOD generateBooleanDispatch (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)V + ARG 1 item + ARG 2 property + ARG 3 trueModel + ARG 4 falseModel + METHOD generateBow (Lnet/minecraft/world/item/Item;)V + ARG 1 bowItem + METHOD generateBrush (Lnet/minecraft/world/item/Item;)V + ARG 1 brushItem + METHOD generateBundleCoverModel (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/data/models/model/ModelTemplate;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 bundleItem + ARG 2 modelTemplate + ARG 3 suffix + METHOD generateBundleModels (Lnet/minecraft/world/item/Item;)V + ARG 1 bundleItem + METHOD generateClockItem (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD generateCompassItem (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD generateCrossbow (Lnet/minecraft/world/item/Item;)V + ARG 1 crossbowItem + METHOD generateDyedItem (Lnet/minecraft/world/item/Item;I)V + ARG 1 item + ARG 2 color + METHOD generateElytra (Lnet/minecraft/world/item/Item;)V + ARG 1 elytraItem + METHOD generateFishingRod (Lnet/minecraft/world/item/Item;)V + ARG 1 fishingRodItem + METHOD generateFlatItem (Lnet/minecraft/world/item/Item;Ljava/lang/String;Lnet/minecraft/client/data/models/model/ModelTemplate;)V + ARG 1 item + ARG 2 modelLocationSuffix + ARG 3 modelTemplate + METHOD generateFlatItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/data/models/model/ModelTemplate;)V + ARG 1 item + ARG 2 modelTemplate + METHOD generateFlatItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;Lnet/minecraft/client/data/models/model/ModelTemplate;)V + ARG 1 item + ARG 2 layerZeroItem + ARG 3 modelTemplate + METHOD generateGoatHorn (Lnet/minecraft/world/item/Item;)V + ARG 1 goatHornItem + METHOD generateItemWithOverlay (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD generateItemWithTintedOverlay (Lnet/minecraft/world/item/Item;Ljava/lang/String;Lnet/minecraft/client/color/item/ItemTintSource;)V + ARG 1 item + ARG 2 suffix + ARG 3 tintSource + METHOD generateItemWithTintedOverlay (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/color/item/ItemTintSource;)V + ARG 1 item + ARG 2 tintSource + METHOD generateLayeredItem (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 modelLocation + ARG 2 layer0 + ARG 3 layer1 + METHOD generateLayeredItem (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 modelLocation + ARG 2 layer0 + ARG 3 layer1 + METHOD generateLayeredItem (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 modelLocation + ARG 2 layer0 + ARG 3 layer1 + ARG 4 layer2 + METHOD generateLayeredItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 layer0 + ARG 3 layer1 + METHOD generatePotion (Lnet/minecraft/world/item/Item;)V + ARG 1 potionItem + METHOD generateRecoveryCompassItem (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD generateShield (Lnet/minecraft/world/item/Item;)V + ARG 1 shieldItem + METHOD generateSpawnEgg (Lnet/minecraft/world/item/Item;II)V + ARG 1 spawnEggItem + ARG 2 primaryColor + ARG 3 secondaryColor + METHOD generateSpyglass (Lnet/minecraft/world/item/Item;)V + ARG 1 spyglassItem + METHOD generateStandardCompassItem (Lnet/minecraft/world/item/Item;)V + ARG 1 item + METHOD generateTippedArrow (Lnet/minecraft/world/item/Item;)V + ARG 1 arrowItem + METHOD generateTrident (Lnet/minecraft/world/item/Item;)V + ARG 1 tridentItem + METHOD generateTrimmableItem (Lnet/minecraft/world/item/Item;Lnet/minecraft/resources/ResourceKey;Ljava/lang/String;Z)V + ARG 1 item + ARG 2 key + ARG 3 name + ARG 4 dyeable + METHOD generateWolfArmor (Lnet/minecraft/world/item/Item;)V + ARG 1 armorItem + METHOD getItemModelForTrimMaterial (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 modelLocation + ARG 2 trimId + CLASS TrimModelData + METHOD name (Lnet/minecraft/core/Holder;)Ljava/lang/String; + ARG 1 armorMaterial + METHOD name (Lnet/minecraft/resources/ResourceLocation;)Ljava/lang/String; + ARG 1 name + CLASS TrimMaterialData + METHOD textureName (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/String; + ARG 1 key diff --git a/data/net/minecraft/client/data/models/ItemModelOutput.mapping b/data/net/minecraft/client/data/models/ItemModelOutput.mapping new file mode 100644 index 000000000..95e301d66 --- /dev/null +++ b/data/net/minecraft/client/data/models/ItemModelOutput.mapping @@ -0,0 +1,7 @@ +CLASS net/minecraft/client/data/models/ItemModelOutput + METHOD accept (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)V + ARG 1 item + ARG 2 model + METHOD copy (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/Item;)V + ARG 1 item1 + ARG 2 item2 diff --git a/data/net/minecraft/client/data/models/ModelProvider.mapping b/data/net/minecraft/client/data/models/ModelProvider.mapping new file mode 100644 index 000000000..b4a091272 --- /dev/null +++ b/data/net/minecraft/client/data/models/ModelProvider.mapping @@ -0,0 +1,37 @@ +CLASS net/minecraft/client/data/models/ModelProvider + METHOD (Lnet/minecraft/data/PackOutput;)V + ARG 1 output + METHOD saveAll (Lnet/minecraft/data/CachedOutput;Ljava/util/function/Function;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture; + ARG 0 output + ARG 1 pathGetter + ARG 2 entries + CLASS ItemInfoCollector + METHOD lambda$finalizeAndValidate$2 (Lnet/minecraft/core/Holder$Reference;)Z + ARG 1 item + METHOD lambda$finalizeAndValidate$3 (Lnet/minecraft/core/Holder$Reference;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 item + METHOD register (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/renderer/item/ClientItem;)V + ARG 1 item + ARG 2 clientItem + METHOD save (Lnet/minecraft/data/CachedOutput;Lnet/minecraft/data/PackOutput$PathProvider;)Ljava/util/concurrent/CompletableFuture; + ARG 1 output + ARG 2 pathProvider + CLASS SimpleModelCollector + METHOD accept (Ljava/lang/Object;Ljava/lang/Object;)V + ARG 1 location + ARG 2 model + METHOD save (Lnet/minecraft/data/CachedOutput;Lnet/minecraft/data/PackOutput$PathProvider;)Ljava/util/concurrent/CompletableFuture; + ARG 1 output + ARG 2 pathProvider + CLASS BlockStateGeneratorCollector + METHOD accept (Ljava/lang/Object;)V + ARG 1 generator + METHOD lambda$validate$0 (Lnet/minecraft/core/Holder$Reference;)Z + ARG 0 block + METHOD lambda$validate$1 (Lnet/minecraft/core/Holder$Reference;)Z + ARG 1 block + METHOD lambda$validate$2 (Lnet/minecraft/core/Holder$Reference;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 block + METHOD save (Lnet/minecraft/data/CachedOutput;Lnet/minecraft/data/PackOutput$PathProvider;)Ljava/util/concurrent/CompletableFuture; + ARG 1 output + ARG 2 pathProvider diff --git a/data/net/minecraft/client/data/models/blockstates/Condition.mapping b/data/net/minecraft/client/data/models/blockstates/Condition.mapping new file mode 100644 index 000000000..00a231687 --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/Condition.mapping @@ -0,0 +1,46 @@ +CLASS net/minecraft/client/data/models/blockstates/Condition + METHOD and ([Lnet/minecraft/client/data/models/blockstates/Condition;)Lnet/minecraft/client/data/models/blockstates/Condition; + ARG 0 conditions + METHOD or ([Lnet/minecraft/client/data/models/blockstates/Condition;)Lnet/minecraft/client/data/models/blockstates/Condition; + ARG 0 conditions + METHOD validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V + ARG 1 stateDefinition + CLASS Operation + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 id + CLASS TerminalCondition + METHOD getTerm (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Ljava/lang/String; + ARG 0 property + ARG 1 startValue + ARG 2 otherValues + METHOD joinValues (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/util/stream/Stream;)Ljava/lang/String; + ARG 0 property + ARG 1 values + METHOD lambda$get$0 (Lcom/google/gson/JsonObject;Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)V + ARG 1 property + ARG 2 value + METHOD lambda$validate$1 (Lnet/minecraft/world/level/block/state/StateDefinition;Lnet/minecraft/world/level/block/state/properties/Property;)Z + ARG 1 property + METHOD negatedTerm (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition; + ARG 1 property + ARG 2 value + METHOD negatedTerm (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition; + ARG 1 property + ARG 2 startValue + ARG 3 otherValues + METHOD putValue (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)V + ARG 1 property + ARG 2 value + METHOD term (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;)Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition; + ARG 1 property + ARG 2 value + METHOD term (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lnet/minecraft/client/data/models/blockstates/Condition$TerminalCondition; + ARG 1 property + ARG 2 startValue + ARG 3 otherValues + CLASS CompositeCondition + METHOD (Lnet/minecraft/client/data/models/blockstates/Condition$Operation;Ljava/util/List;)V + ARG 1 operation + ARG 2 subconditions + METHOD lambda$validate$0 (Lnet/minecraft/world/level/block/state/StateDefinition;Lnet/minecraft/client/data/models/blockstates/Condition;)V + ARG 1 condition diff --git a/data/net/minecraft/client/data/models/blockstates/MultiPartGenerator.mapping b/data/net/minecraft/client/data/models/blockstates/MultiPartGenerator.mapping new file mode 100644 index 000000000..b1ddb507b --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/MultiPartGenerator.mapping @@ -0,0 +1,31 @@ +CLASS net/minecraft/client/data/models/blockstates/MultiPartGenerator + METHOD (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block + METHOD lambda$get$0 (Lnet/minecraft/world/level/block/state/StateDefinition;Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator$Entry;)V + ARG 1 entry + METHOD multiPart (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator; + ARG 0 block + METHOD with (Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator; + ARG 1 variants + METHOD with (Lnet/minecraft/client/data/models/blockstates/Condition;Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator; + ARG 1 condition + ARG 2 variants + METHOD with (Lnet/minecraft/client/data/models/blockstates/Condition;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator; + ARG 1 condition + ARG 2 variant + METHOD with (Lnet/minecraft/client/data/models/blockstates/Condition;[Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator; + ARG 1 condition + ARG 2 variants + METHOD with (Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/MultiPartGenerator; + ARG 1 variant + CLASS Entry + METHOD (Ljava/util/List;)V + ARG 1 variants + METHOD decorate (Lcom/google/gson/JsonObject;)V + ARG 1 json + METHOD validate (Lnet/minecraft/world/level/block/state/StateDefinition;)V + ARG 1 stateDefinition + CLASS ConditionalEntry + METHOD (Lnet/minecraft/client/data/models/blockstates/Condition;Ljava/util/List;)V + ARG 1 condition + ARG 2 variants diff --git a/data/net/minecraft/client/data/models/blockstates/MultiVariantGenerator.mapping b/data/net/minecraft/client/data/models/blockstates/MultiVariantGenerator.mapping new file mode 100644 index 000000000..dbea53083 --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/MultiVariantGenerator.mapping @@ -0,0 +1,21 @@ +CLASS net/minecraft/client/data/models/blockstates/MultiVariantGenerator + METHOD (Lnet/minecraft/world/level/block/Block;Ljava/util/List;)V + ARG 1 block + ARG 2 baseVariants + METHOD lambda$get$1 (Lcom/mojang/datafixers/util/Pair;Ljava/util/Map$Entry;)Lcom/mojang/datafixers/util/Pair; + ARG 1 entry + METHOD lambda$with$0 (Lnet/minecraft/world/level/block/state/properties/Property;)V + ARG 1 property + METHOD mergeVariants (Ljava/util/List;Ljava/util/List;)Ljava/util/List; + ARG 0 first + ARG 1 second + METHOD multiVariant (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + METHOD multiVariant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 variant + METHOD multiVariant (Lnet/minecraft/world/level/block/Block;[Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 0 block + ARG 1 variants + METHOD with (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch;)Lnet/minecraft/client/data/models/blockstates/MultiVariantGenerator; + ARG 1 propertyDispatch diff --git a/data/net/minecraft/client/data/models/blockstates/PropertyDispatch.mapping b/data/net/minecraft/client/data/models/blockstates/PropertyDispatch.mapping new file mode 100644 index 000000000..321058d17 --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/PropertyDispatch.mapping @@ -0,0 +1,201 @@ +CLASS net/minecraft/client/data/models/blockstates/PropertyDispatch + METHOD lambda$verifyComplete$0 (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/client/data/models/blockstates/Selector;)Ljava/util/stream/Stream; + ARG 1 selector + METHOD lambda$verifyComplete$1 (Lnet/minecraft/client/data/models/blockstates/Selector;)Z + ARG 1 selector + METHOD properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C2; + ARG 0 property1 + ARG 1 property2 + METHOD properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C3; + ARG 0 property1 + ARG 1 property2 + ARG 2 property3 + METHOD properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C4; + ARG 0 property1 + ARG 1 property2 + ARG 2 property3 + ARG 3 property4 + METHOD properties (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C5; + ARG 0 property1 + ARG 1 property2 + ARG 2 property3 + ARG 3 property4 + ARG 4 property5 + METHOD property (Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C1; + ARG 0 property1 + METHOD putValue (Lnet/minecraft/client/data/models/blockstates/Selector;Ljava/util/List;)V + ARG 1 selector + ARG 2 variants + CLASS C1 + METHOD (Lnet/minecraft/world/level/block/state/properties/Property;)V + ARG 1 property1 + METHOD generate (Ljava/util/function/Function;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD generateList (Ljava/util/function/Function;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD lambda$generate$0 (Ljava/util/function/Function;Ljava/lang/Comparable;)V + ARG 2 value + METHOD lambda$generateList$1 (Ljava/util/function/Function;Ljava/lang/Comparable;)V + ARG 2 value + METHOD select (Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C1; + ARG 1 value1 + ARG 2 variants + METHOD select (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C1; + ARG 1 value1 + ARG 2 variant + CLASS C2 + METHOD (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V + ARG 1 property1 + ARG 2 property2 + METHOD generate (Ljava/util/function/BiFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD generateList (Ljava/util/function/BiFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD lambda$generate$0 (Ljava/lang/Comparable;Ljava/util/function/BiFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generate$1 (Ljava/util/function/BiFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD lambda$generateList$2 (Ljava/lang/Comparable;Ljava/util/function/BiFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generateList$3 (Ljava/util/function/BiFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C2; + ARG 1 value1 + ARG 2 value2 + ARG 3 variants + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C2; + ARG 1 value1 + ARG 2 value2 + ARG 3 variant + CLASS C3 + METHOD (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V + ARG 1 property1 + ARG 2 property2 + ARG 3 property3 + METHOD generate (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD generateList (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD lambda$generate$0 (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;Ljava/lang/Comparable;)V + ARG 4 value3 + METHOD lambda$generate$1 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generate$2 (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD lambda$generateList$3 (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;Ljava/lang/Comparable;)V + ARG 4 value3 + METHOD lambda$generateList$4 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generateList$5 (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$TriFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C3; + ARG 1 value1 + ARG 2 value2 + ARG 3 value3 + ARG 4 variants + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C3; + ARG 1 value1 + ARG 2 value2 + ARG 3 value3 + ARG 4 variant + CLASS C4 + METHOD (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V + ARG 1 property1 + ARG 2 property2 + ARG 3 property3 + ARG 4 property4 + METHOD generate (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD generateList (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD lambda$generate$0 (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 5 value4 + METHOD lambda$generate$1 (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 4 value3 + METHOD lambda$generate$2 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generate$3 (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD lambda$generateList$4 (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 5 value4 + METHOD lambda$generateList$5 (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 4 value3 + METHOD lambda$generateList$6 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generateList$7 (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$QuadFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C4; + ARG 1 value1 + ARG 2 value2 + ARG 3 value3 + ARG 4 value4 + ARG 5 variants + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C4; + ARG 1 value1 + ARG 2 value2 + ARG 3 value3 + ARG 4 value4 + ARG 5 variant + CLASS C5 + METHOD (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/world/level/block/state/properties/Property;)V + ARG 1 property1 + ARG 2 property2 + ARG 3 property3 + ARG 4 property4 + ARG 5 property5 + METHOD generate (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD generateList (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch; + ARG 1 generator + METHOD lambda$generate$0 (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 6 value5 + METHOD lambda$generate$1 (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 5 value4 + METHOD lambda$generate$2 (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 4 value3 + METHOD lambda$generate$3 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generate$4 (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD lambda$generateList$5 (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 6 value5 + METHOD lambda$generateList$6 (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 5 value4 + METHOD lambda$generateList$7 (Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 4 value3 + METHOD lambda$generateList$8 (Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 3 value2 + METHOD lambda$generateList$9 (Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$PentaFunction;Ljava/lang/Comparable;)V + ARG 2 value1 + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/util/List;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C5; + ARG 1 value1 + ARG 2 value2 + ARG 3 value3 + ARG 4 value4 + ARG 5 value5 + ARG 6 variants + METHOD select (Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/PropertyDispatch$C5; + ARG 1 value1 + ARG 2 value2 + ARG 3 value3 + ARG 4 value4 + ARG 5 value5 + ARG 6 variant + CLASS TriFunction + METHOD apply (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + ARG 1 p1 + ARG 2 p2 + ARG 3 p3 + CLASS QuadFunction + METHOD apply (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + ARG 1 p1 + ARG 2 p2 + ARG 3 p3 + ARG 4 p4 + CLASS PentaFunction + METHOD apply (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + ARG 1 p1 + ARG 2 p2 + ARG 3 p3 + ARG 4 p4 + ARG 5 p5 diff --git a/data/net/minecraft/client/data/models/blockstates/Selector.mapping b/data/net/minecraft/client/data/models/blockstates/Selector.mapping new file mode 100644 index 000000000..a2c7ef184 --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/Selector.mapping @@ -0,0 +1,13 @@ +CLASS net/minecraft/client/data/models/blockstates/Selector + METHOD (Ljava/util/List;)V + ARG 1 values + METHOD equals (Ljava/lang/Object;)Z + ARG 1 other + METHOD extend (Lnet/minecraft/client/data/models/blockstates/Selector;)Lnet/minecraft/client/data/models/blockstates/Selector; + ARG 1 selector + METHOD extend (Lnet/minecraft/world/level/block/state/properties/Property$Value;)Lnet/minecraft/client/data/models/blockstates/Selector; + ARG 1 value + METHOD lambda$static$0 (Lnet/minecraft/world/level/block/state/properties/Property$Value;)Ljava/lang/String; + ARG 0 value + METHOD of ([Lnet/minecraft/world/level/block/state/properties/Property$Value;)Lnet/minecraft/client/data/models/blockstates/Selector; + ARG 0 values diff --git a/data/net/minecraft/client/data/models/blockstates/Variant.mapping b/data/net/minecraft/client/data/models/blockstates/Variant.mapping new file mode 100644 index 000000000..71dd6963c --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/Variant.mapping @@ -0,0 +1,13 @@ +CLASS net/minecraft/client/data/models/blockstates/Variant + METHOD convertList (Ljava/util/List;)Lcom/google/gson/JsonElement; + ARG 0 list + METHOD lambda$convertList$1 (Lcom/google/gson/JsonArray;Lnet/minecraft/client/data/models/blockstates/Variant;)V + ARG 1 variant + METHOD lambda$get$0 (Lcom/google/gson/JsonObject;Lnet/minecraft/client/data/models/blockstates/VariantProperty$Value;)V + ARG 1 value + METHOD merge (Lnet/minecraft/client/data/models/blockstates/Variant;Lnet/minecraft/client/data/models/blockstates/Variant;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 0 first + ARG 1 second + METHOD with (Lnet/minecraft/client/data/models/blockstates/VariantProperty;Ljava/lang/Object;)Lnet/minecraft/client/data/models/blockstates/Variant; + ARG 1 property + ARG 2 value diff --git a/data/net/minecraft/client/data/models/blockstates/VariantProperties.mapping b/data/net/minecraft/client/data/models/blockstates/VariantProperties.mapping new file mode 100644 index 000000000..2aa0bbe40 --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/VariantProperties.mapping @@ -0,0 +1,10 @@ +CLASS net/minecraft/client/data/models/blockstates/VariantProperties + METHOD lambda$static$0 (Lnet/minecraft/client/data/models/blockstates/VariantProperties$Rotation;)Lcom/google/gson/JsonElement; + ARG 0 rotation + METHOD lambda$static$1 (Lnet/minecraft/client/data/models/blockstates/VariantProperties$Rotation;)Lcom/google/gson/JsonElement; + ARG 0 rotation + METHOD lambda$static$2 (Lnet/minecraft/resources/ResourceLocation;)Lcom/google/gson/JsonElement; + ARG 0 rotation + CLASS Rotation + METHOD (Ljava/lang/String;II)V + ARG 3 value diff --git a/data/net/minecraft/client/data/models/blockstates/VariantProperty.mapping b/data/net/minecraft/client/data/models/blockstates/VariantProperty.mapping new file mode 100644 index 000000000..859a91129 --- /dev/null +++ b/data/net/minecraft/client/data/models/blockstates/VariantProperty.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/client/data/models/blockstates/VariantProperty + METHOD (Ljava/lang/String;Ljava/util/function/Function;)V + ARG 1 key + ARG 2 serializer + METHOD withValue (Ljava/lang/Object;)Lnet/minecraft/client/data/models/blockstates/VariantProperty$Value; + ARG 1 value + CLASS Value + METHOD (Lnet/minecraft/client/data/models/blockstates/VariantProperty;Ljava/lang/Object;)V + ARG 2 value + METHOD addToVariant (Lcom/google/gson/JsonObject;)V + ARG 1 json diff --git a/data/net/minecraft/client/data/models/model/DelegatedModel.mapping b/data/net/minecraft/client/data/models/model/DelegatedModel.mapping new file mode 100644 index 000000000..b5a9d5769 --- /dev/null +++ b/data/net/minecraft/client/data/models/model/DelegatedModel.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/data/models/model/DelegatedModel + METHOD (Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 parent diff --git a/data/net/minecraft/client/data/models/model/ItemModelUtils.mapping b/data/net/minecraft/client/data/models/model/ItemModelUtils.mapping new file mode 100644 index 000000000..a5c11402a --- /dev/null +++ b/data/net/minecraft/client/data/models/model/ItemModelUtils.mapping @@ -0,0 +1,74 @@ +CLASS net/minecraft/client/data/models/model/ItemModelUtils + METHOD composite ([Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 models + METHOD conditional (Lnet/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 onTrue + ARG 2 onFalse + METHOD constantTint (I)Lnet/minecraft/client/color/item/ItemTintSource; + ARG 0 value + METHOD hasComponent (Lnet/minecraft/core/component/DataComponentType;)Lnet/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty; + ARG 0 componentType + METHOD inOverworld (Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 inOverworldModel + ARG 1 notInOverworldModel + METHOD isXmas (Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 xmasModel + ARG 1 normalModel + METHOD lambda$selectBlockItemProperty$0 (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/util/Map$Entry;)Lnet/minecraft/client/renderer/item/SelectItemModel$SwitchCase; + ARG 1 entry + METHOD override (Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;F)Lnet/minecraft/client/renderer/item/RangeSelectItemModel$Entry; + ARG 0 threshold + ARG 1 model + METHOD plainModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 model + METHOD rangeSelect (Lnet/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty;FLjava/util/List;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 scale + ARG 2 entries + METHOD rangeSelect (Lnet/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty;FLnet/minecraft/client/renderer/item/ItemModel$Unbaked;[Lnet/minecraft/client/renderer/item/RangeSelectItemModel$Entry;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 scale + ARG 2 fallback + ARG 3 entries + METHOD rangeSelect (Lnet/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty;Ljava/util/List;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 entries + METHOD rangeSelect (Lnet/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Ljava/util/List;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 fallback + ARG 2 entries + METHOD rangeSelect (Lnet/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;[Lnet/minecraft/client/renderer/item/RangeSelectItemModel$Entry;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 fallback + ARG 2 entries + METHOD select (Lnet/minecraft/client/renderer/item/properties/select/SelectItemModelProperty;Ljava/util/List;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 cases + METHOD select (Lnet/minecraft/client/renderer/item/properties/select/SelectItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Ljava/util/List;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 fallback + ARG 2 cases + METHOD select (Lnet/minecraft/client/renderer/item/properties/select/SelectItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;[Lnet/minecraft/client/renderer/item/SelectItemModel$SwitchCase;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 fallback + ARG 2 cases + METHOD select (Lnet/minecraft/client/renderer/item/properties/select/SelectItemModelProperty;[Lnet/minecraft/client/renderer/item/SelectItemModel$SwitchCase;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 cases + METHOD selectBlockItemProperty (Lnet/minecraft/world/level/block/state/properties/Property;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;Ljava/util/Map;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 property + ARG 1 fallback + ARG 2 modelMap + METHOD specialModel (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/special/SpecialModelRenderer$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 base + ARG 1 specialModel + METHOD tintedModel (Lnet/minecraft/resources/ResourceLocation;[Lnet/minecraft/client/color/item/ItemTintSource;)Lnet/minecraft/client/renderer/item/ItemModel$Unbaked; + ARG 0 model + ARG 1 tintSources + METHOD when (Ljava/lang/Object;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/SelectItemModel$SwitchCase; + ARG 0 value + ARG 1 model + METHOD when (Ljava/util/List;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/SelectItemModel$SwitchCase; + ARG 0 values + ARG 1 model diff --git a/data/net/minecraft/client/data/models/model/ModelLocationUtils.mapping b/data/net/minecraft/client/data/models/model/ModelLocationUtils.mapping new file mode 100644 index 000000000..94fb802d4 --- /dev/null +++ b/data/net/minecraft/client/data/models/model/ModelLocationUtils.mapping @@ -0,0 +1,15 @@ +CLASS net/minecraft/client/data/models/model/ModelLocationUtils + METHOD decorateBlockModelLocation (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 name + METHOD decorateItemModelLocation (Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 name + METHOD getModelLocation (Lnet/minecraft/world/item/Item;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 item + METHOD getModelLocation (Lnet/minecraft/world/item/Item;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 item + ARG 1 suffix + METHOD getModelLocation (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 block + METHOD getModelLocation (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 block + ARG 1 suffix diff --git a/data/net/minecraft/client/data/models/model/ModelTemplate.mapping b/data/net/minecraft/client/data/models/model/ModelTemplate.mapping new file mode 100644 index 000000000..53ab8ad2a --- /dev/null +++ b/data/net/minecraft/client/data/models/model/ModelTemplate.mapping @@ -0,0 +1,33 @@ +CLASS net/minecraft/client/data/models/model/ModelTemplate + METHOD (Ljava/util/Optional;Ljava/util/Optional;[Lnet/minecraft/client/data/models/model/TextureSlot;)V + ARG 1 model + ARG 2 suffix + ARG 3 requiredSlots + METHOD create (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 modelLocation + ARG 2 textureMapping + ARG 3 output + METHOD create (Lnet/minecraft/world/item/Item;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 item + ARG 2 textureMapping + ARG 3 output + METHOD create (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 textureMapping + ARG 3 output + METHOD createMap (Lnet/minecraft/client/data/models/model/TextureMapping;)Ljava/util/Map; + ARG 1 textureMapping + METHOD createWithOverride (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 suffix + ARG 3 textureMapping + ARG 4 output + METHOD createWithSuffix (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Lnet/minecraft/client/data/models/model/TextureMapping;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 suffix + ARG 3 textureMapping + ARG 4 output + METHOD getDefaultModelLocation (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + METHOD lambda$create$0 (Lcom/google/gson/JsonObject;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 model diff --git a/data/net/minecraft/client/data/models/model/ModelTemplates.mapping b/data/net/minecraft/client/data/models/model/ModelTemplates.mapping new file mode 100644 index 000000000..2a6f3f10d --- /dev/null +++ b/data/net/minecraft/client/data/models/model/ModelTemplates.mapping @@ -0,0 +1,17 @@ +CLASS net/minecraft/client/data/models/model/ModelTemplates + METHOD create (Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/ModelTemplate; + ARG 0 name + ARG 1 suffix + ARG 2 requiredSlots + METHOD create (Ljava/lang/String;[Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/ModelTemplate; + ARG 0 name + ARG 1 requiredSlots + METHOD create ([Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/ModelTemplate; + ARG 0 requiredSlots + METHOD createItem (Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/ModelTemplate; + ARG 0 name + ARG 1 suffix + ARG 2 requiredSlots + METHOD createItem (Ljava/lang/String;[Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/ModelTemplate; + ARG 0 name + ARG 1 requiredSlots diff --git a/data/net/minecraft/client/data/models/model/TextureMapping.mapping b/data/net/minecraft/client/data/models/model/TextureMapping.mapping new file mode 100644 index 000000000..33e7f9d53 --- /dev/null +++ b/data/net/minecraft/client/data/models/model/TextureMapping.mapping @@ -0,0 +1,169 @@ +CLASS net/minecraft/client/data/models/model/TextureMapping + METHOD attachedStem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 stemBlock + ARG 1 upperStemBlock + METHOD campfire (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD candleCake (Lnet/minecraft/world/level/block/Block;Z)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + ARG 1 lit + METHOD cauldron (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD column (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 side + ARG 1 end + METHOD column (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD columnWithWall (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD commandBlock (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD copyAndUpdate (Lnet/minecraft/client/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 slot + ARG 2 texture + METHOD copyForced (Lnet/minecraft/client/data/models/model/TextureSlot;Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 source + ARG 2 destination + METHOD copySlot (Lnet/minecraft/client/data/models/model/TextureSlot;Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 source + ARG 2 destination + METHOD craftingTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + ARG 1 bottom + METHOD crop (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD cross (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD cross (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD crossEmissive (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD cube (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD cube (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD cubeBottomTop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD cubeBottomTopWithWall (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD cubeTop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD customParticle (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD defaultTexture (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD defaultTexture (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD door (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 top + ARG 1 bottom + METHOD door (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD fan (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD fence (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD fire0 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD fire1 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD fletchingTable (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + ARG 1 bottom + METHOD flowerbed (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD get (Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 slot + METHOD getBlockTexture (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 block + METHOD getBlockTexture (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 block + ARG 1 suffix + METHOD getItemTexture (Lnet/minecraft/world/item/Item;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 item + METHOD getItemTexture (Lnet/minecraft/world/item/Item;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 item + ARG 1 suffix + METHOD lantern (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD layer0 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD layer0 (Lnet/minecraft/world/item/Item;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 item + METHOD layer0 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD layered (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 layer0 + ARG 1 layer1 + METHOD layered (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 layer0 + ARG 1 layer1 + ARG 2 layer2 + METHOD logColumn (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD orientableCube (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD orientableCubeOnlyTop (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD orientableCubeSameEnds (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD pane (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + ARG 1 edgeBlock + METHOD particle (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD particle (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD particleFromItem (Lnet/minecraft/world/item/Item;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 item + METHOD pattern (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD plant (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD plant (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD plantEmissive (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD pottedAzalea (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD put (Lnet/minecraft/client/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 slot + ARG 2 texture + METHOD putForced (Lnet/minecraft/client/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 1 slot + ARG 2 texture + METHOD rail (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD rail (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD sculkShrieker (Z)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 canSummon + METHOD side (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD singleSlot (Lnet/minecraft/client/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 slot + ARG 1 texture + METHOD snifferEgg (Ljava/lang/String;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 name + METHOD stem (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD top (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD torch (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD torch (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + METHOD trialSpawner (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + ARG 1 sideSuffix + ARG 2 topSuffix + METHOD vault (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block + ARG 1 frontSuffix + ARG 2 sideSuffix + ARG 3 topSuffix + ARG 4 bottomSuffix + METHOD wool (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 texture + METHOD wool (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TextureMapping; + ARG 0 block diff --git a/data/net/minecraft/client/data/models/model/TextureSlot.mapping b/data/net/minecraft/client/data/models/model/TextureSlot.mapping new file mode 100644 index 000000000..028158203 --- /dev/null +++ b/data/net/minecraft/client/data/models/model/TextureSlot.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/data/models/model/TextureSlot + METHOD (Ljava/lang/String;Lnet/minecraft/client/data/models/model/TextureSlot;)V + ARG 1 id + ARG 2 parent + METHOD create (Ljava/lang/String;)Lnet/minecraft/client/data/models/model/TextureSlot; + ARG 0 id + METHOD create (Ljava/lang/String;Lnet/minecraft/client/data/models/model/TextureSlot;)Lnet/minecraft/client/data/models/model/TextureSlot; + ARG 0 id + ARG 1 parent diff --git a/data/net/minecraft/client/data/models/model/TexturedModel.mapping b/data/net/minecraft/client/data/models/model/TexturedModel.mapping new file mode 100644 index 000000000..e7fd2b84d --- /dev/null +++ b/data/net/minecraft/client/data/models/model/TexturedModel.mapping @@ -0,0 +1,34 @@ +CLASS net/minecraft/client/data/models/model/TexturedModel + METHOD (Lnet/minecraft/client/data/models/model/TextureMapping;Lnet/minecraft/client/data/models/model/ModelTemplate;)V + ARG 1 mapping + ARG 2 template + METHOD create (Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 output + METHOD createAllSame (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/data/models/model/TexturedModel; + ARG 0 location + METHOD createDefault (Ljava/util/function/Function;Lnet/minecraft/client/data/models/model/ModelTemplate;)Lnet/minecraft/client/data/models/model/TexturedModel$Provider; + ARG 0 textureMappingGetter + ARG 1 template + METHOD createWithSuffix (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 suffix + ARG 3 output + METHOD lambda$createDefault$0 (Ljava/util/function/Function;Lnet/minecraft/client/data/models/model/ModelTemplate;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TexturedModel; + ARG 2 block + METHOD updateTextures (Ljava/util/function/Consumer;)Lnet/minecraft/client/data/models/model/TexturedModel; + ARG 1 updater + CLASS Provider + METHOD create (Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 output + METHOD createWithSuffix (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;Ljava/util/function/BiConsumer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 block + ARG 2 suffix + ARG 3 output + METHOD get (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TexturedModel; + ARG 1 block + METHOD lambda$updateTexture$0 (Ljava/util/function/Consumer;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/client/data/models/model/TexturedModel; + ARG 2 block + METHOD updateTexture (Ljava/util/function/Consumer;)Lnet/minecraft/client/data/models/model/TexturedModel$Provider; + ARG 1 updater diff --git a/data/net/minecraft/client/gui/Font.mapping b/data/net/minecraft/client/gui/Font.mapping index d496a86f8..17671858f 100644 --- a/data/net/minecraft/client/gui/Font.mapping +++ b/data/net/minecraft/client/gui/Font.mapping @@ -174,3 +174,11 @@ CLASS net/minecraft/client/gui/Font ARG 1 effect METHOD finish (F)F ARG 1 x + METHOD finish (IF)F + ARG 1 backgroundColor + ARG 2 x + METHOD getShadowColor (Lnet/minecraft/network/chat/Style;I)I + ARG 1 style + ARG 2 textColor + METHOD getTextColor (Lnet/minecraft/network/chat/TextColor;)I + ARG 1 textColor diff --git a/data/net/minecraft/client/gui/GuiGraphics.mapping b/data/net/minecraft/client/gui/GuiGraphics.mapping index 9b2324bf9..742b4a57c 100644 --- a/data/net/minecraft/client/gui/GuiGraphics.mapping +++ b/data/net/minecraft/client/gui/GuiGraphics.mapping @@ -305,6 +305,14 @@ CLASS net/minecraft/client/gui/GuiGraphics COMMENT the maximum width of each line before wrapping. ARG 6 color COMMENT the color of the text. + METHOD drawWordWrap (Lnet/minecraft/client/gui/Font;Lnet/minecraft/network/chat/FormattedText;IIIIZ)V + ARG 1 font + ARG 2 text + ARG 3 x + ARG 4 y + ARG 5 lineWidth + ARG 6 color + ARG 7 dropShadow METHOD enableScissor (IIII)V COMMENT Enables scissoring with the specified screen coordinates. ARG 1 minX @@ -486,6 +494,60 @@ CLASS net/minecraft/client/gui/GuiGraphics ARG 9 minV ARG 10 maxV ARG 11 color + METHOD innerBlit (Lnet/minecraft/resources/ResourceLocation;IIIIIFFFF)V + COMMENT Performs the inner blit operation for rendering a texture with the specified coordinates and texture coordinates without color tinting. + ARG 1 atlasLocation + COMMENT the location of the texture atlas. + ARG 2 x1 + COMMENT the x-coordinate of the first corner of the blit position. + ARG 3 x2 + COMMENT the x-coordinate of the second corner of the blit position. + ARG 4 y1 + COMMENT the y-coordinate of the first corner of the blit position. + ARG 5 y2 + COMMENT the y-coordinate of the second corner of the blit position. + ARG 6 blitOffset + COMMENT the z-level offset for rendering order. + ARG 7 minU + COMMENT the minimum horizontal texture coordinate. + ARG 8 maxU + COMMENT the maximum horizontal texture coordinate. + ARG 9 minV + COMMENT the minimum vertical texture coordinate. + ARG 10 maxV + COMMENT the maximum vertical texture coordinate. + METHOD innerBlit (Lnet/minecraft/resources/ResourceLocation;IIIIIFFFFFFFF)V + COMMENT Performs the inner blit operation for rendering a texture with the specified coordinates, texture coordinates, and color tint. + ARG 1 atlasLocation + COMMENT the location of the texture atlas. + ARG 2 x1 + COMMENT the x-coordinate of the first corner of the blit position. + ARG 3 x2 + COMMENT the x-coordinate of the second corner of the blit position. + ARG 4 y1 + COMMENT the y-coordinate of the first corner of the blit position. + ARG 5 y2 + COMMENT the y-coordinate of the second corner of the blit position. + ARG 6 blitOffset + COMMENT the z-level offset for rendering order. + ARG 7 minU + COMMENT the minimum horizontal texture coordinate. + ARG 8 maxU + COMMENT the maximum horizontal texture coordinate. + ARG 9 minV + COMMENT the minimum vertical texture coordinate. + ARG 10 maxV + COMMENT the maximum vertical texture coordinate. + ARG 11 red + COMMENT the red component of the color tint. + ARG 12 green + COMMENT the green component of the color tint. + ARG 13 blue + COMMENT the blue component of the color tint. + ARG 14 alpha + COMMENT the alpha component of the color tint. + METHOD lambda$renderTooltip$3 (Ljava/util/List;Lnet/minecraft/world/inventory/tooltip/TooltipComponent;)V + ARG 1 component METHOD pose ()Lcom/mojang/blaze3d/vertex/PoseStack; COMMENT {@return returns the PoseStack used for transformations and rendering.} METHOD renderComponentHoverEffect (Lnet/minecraft/client/gui/Font;Lnet/minecraft/network/chat/Style;II)V diff --git a/data/net/minecraft/client/gui/components/AbstractScrollArea.mapping b/data/net/minecraft/client/gui/components/AbstractScrollArea.mapping new file mode 100644 index 000000000..caf4ba02f --- /dev/null +++ b/data/net/minecraft/client/gui/components/AbstractScrollArea.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/gui/components/AbstractScrollArea + METHOD renderScrollbar (Lnet/minecraft/client/gui/GuiGraphics;)V + ARG 1 guiGraphics + METHOD setScrollAmount (D)V + ARG 1 scrollAmount + METHOD updateScrolling (DDI)Z + ARG 1 mouseX + ARG 3 mouseY + ARG 5 button diff --git a/data/net/minecraft/client/gui/components/AbstractSelectionList.mapping b/data/net/minecraft/client/gui/components/AbstractSelectionList.mapping index c0c6e9fc1..b408b6595 100644 --- a/data/net/minecraft/client/gui/components/AbstractSelectionList.mapping +++ b/data/net/minecraft/client/gui/components/AbstractSelectionList.mapping @@ -5,6 +5,13 @@ CLASS net/minecraft/client/gui/components/AbstractSelectionList ARG 3 height ARG 4 y ARG 5 itemHeight + METHOD (Lnet/minecraft/client/Minecraft;IIIII)V + ARG 1 minecraft + ARG 2 width + ARG 3 height + ARG 4 y + ARG 5 itemHeight + ARG 6 headerHeight METHOD addEntry (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)I ARG 1 entry METHOD addEntryToTop (Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;)V diff --git a/data/net/minecraft/client/gui/components/AbstractTextAreaWidget.mapping b/data/net/minecraft/client/gui/components/AbstractTextAreaWidget.mapping new file mode 100644 index 000000000..efc3098e3 --- /dev/null +++ b/data/net/minecraft/client/gui/components/AbstractTextAreaWidget.mapping @@ -0,0 +1,19 @@ +CLASS net/minecraft/client/gui/components/AbstractTextAreaWidget + METHOD renderBackground (Lnet/minecraft/client/gui/GuiGraphics;)V + ARG 1 guiGraphics + METHOD renderBorder (Lnet/minecraft/client/gui/GuiGraphics;IIII)V + ARG 1 guiGraphics + ARG 2 x + ARG 3 y + ARG 4 width + ARG 5 height + METHOD renderContents (Lnet/minecraft/client/gui/GuiGraphics;IIF)V + ARG 1 guiGraphics + ARG 2 mouseX + ARG 3 mouseY + ARG 4 partialTick + METHOD renderDecorations (Lnet/minecraft/client/gui/GuiGraphics;)V + ARG 1 guiGraphics + METHOD withinContentAreaTopBottom (II)Z + ARG 1 top + ARG 2 bottom diff --git a/data/net/minecraft/client/gui/components/events/GuiEventListener.mapping b/data/net/minecraft/client/gui/components/events/GuiEventListener.mapping index ff13cff0a..6f0c4102d 100644 --- a/data/net/minecraft/client/gui/components/events/GuiEventListener.mapping +++ b/data/net/minecraft/client/gui/components/events/GuiEventListener.mapping @@ -10,6 +10,8 @@ CLASS net/minecraft/client/gui/components/events/GuiEventListener COMMENT the code point of the typed character. ARG 2 modifiers COMMENT the keyboard modifiers. + METHOD getBorderForArrowNavigation (Lnet/minecraft/client/gui/navigation/ScreenDirection;)Lnet/minecraft/client/gui/navigation/ScreenRectangle; + ARG 1 direction METHOD getCurrentFocusPath ()Lnet/minecraft/client/gui/ComponentPath; COMMENT {@return the current focus path as a ComponentPath, or {@code null} if there is no current focus path.} METHOD getRectangle ()Lnet/minecraft/client/gui/navigation/ScreenRectangle; diff --git a/data/net/minecraft/client/gui/components/toasts/TutorialToast.mapping b/data/net/minecraft/client/gui/components/toasts/TutorialToast.mapping index 8e521f5a9..477ce2a9a 100644 --- a/data/net/minecraft/client/gui/components/toasts/TutorialToast.mapping +++ b/data/net/minecraft/client/gui/components/toasts/TutorialToast.mapping @@ -1,4 +1,17 @@ CLASS net/minecraft/client/gui/components/toasts/TutorialToast + METHOD (Lnet/minecraft/client/gui/Font;Lnet/minecraft/client/gui/components/toasts/TutorialToast$Icons;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;Z)V + ARG 1 font + ARG 2 icon + ARG 3 title + ARG 4 message + ARG 5 progressable + METHOD (Lnet/minecraft/client/gui/Font;Lnet/minecraft/client/gui/components/toasts/TutorialToast$Icons;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;ZI)V + ARG 1 font + ARG 2 icon + ARG 3 title + ARG 4 message + ARG 5 progressable + ARG 6 timeToDisplayMs METHOD (Lnet/minecraft/client/gui/components/toasts/TutorialToast$Icons;Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;Z)V ARG 1 icon ARG 2 title diff --git a/data/net/minecraft/client/gui/font/glyphs/BakedGlyph.mapping b/data/net/minecraft/client/gui/font/glyphs/BakedGlyph.mapping index 58f454f97..3eaec7c0f 100644 --- a/data/net/minecraft/client/gui/font/glyphs/BakedGlyph.mapping +++ b/data/net/minecraft/client/gui/font/glyphs/BakedGlyph.mapping @@ -9,6 +9,35 @@ CLASS net/minecraft/client/gui/font/glyphs/BakedGlyph ARG 7 right ARG 8 up ARG 9 down + METHOD buildEffect (Lnet/minecraft/client/gui/font/glyphs/BakedGlyph$Effect;FFILcom/mojang/blaze3d/vertex/VertexConsumer;ILorg/joml/Matrix4f;)V + ARG 1 effect + ARG 2 shadowOffset + ARG 3 depthOffset + ARG 4 shadowColor + ARG 5 buffer + ARG 6 packedLight + ARG 7 pose + METHOD render (ZFFFLorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;IZI)V + ARG 1 italic + ARG 2 x + ARG 3 y + ARG 4 z + ARG 5 pose + ARG 6 buffer + ARG 7 color + ARG 8 bold + ARG 9 packedLight + METHOD render (ZFFLorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;FFFFI)V + ARG 1 italic + ARG 2 x + ARG 3 y + ARG 4 matrix + ARG 5 buffer + ARG 6 red + ARG 7 green + ARG 8 blue + ARG 9 alpha + ARG 10 packedLight METHOD render (ZFFLorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;II)V ARG 1 italic ARG 2 x @@ -17,6 +46,15 @@ CLASS net/minecraft/client/gui/font/glyphs/BakedGlyph ARG 5 buffer ARG 6 color ARG 7 packedLight + METHOD render (ZFFLorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;IZI)V + ARG 1 italic + ARG 2 x + ARG 3 y + ARG 4 pose + ARG 5 buffer + ARG 6 color + ARG 7 bold + ARG 8 packedLight METHOD renderChar (Lnet/minecraft/client/gui/font/glyphs/BakedGlyph$GlyphInstance;Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;I)V ARG 1 glyph ARG 2 pose @@ -24,7 +62,7 @@ CLASS net/minecraft/client/gui/font/glyphs/BakedGlyph ARG 4 packedLight METHOD renderEffect (Lnet/minecraft/client/gui/font/glyphs/BakedGlyph$Effect;Lorg/joml/Matrix4f;Lcom/mojang/blaze3d/vertex/VertexConsumer;I)V ARG 1 effect - ARG 2 matrix + ARG 2 pose ARG 3 buffer ARG 4 packedLight METHOD renderType (Lnet/minecraft/client/gui/Font$DisplayMode;)Lnet/minecraft/client/renderer/RenderType; diff --git a/data/net/minecraft/client/gui/navigation/ScreenRectangle.mapping b/data/net/minecraft/client/gui/navigation/ScreenRectangle.mapping index c664ddb43..0cdfcb212 100644 --- a/data/net/minecraft/client/gui/navigation/ScreenRectangle.mapping +++ b/data/net/minecraft/client/gui/navigation/ScreenRectangle.mapping @@ -30,3 +30,5 @@ CLASS net/minecraft/client/gui/navigation/ScreenRectangle ARG 2 axis METHOD step (Lnet/minecraft/client/gui/navigation/ScreenDirection;)Lnet/minecraft/client/gui/navigation/ScreenRectangle; ARG 1 direction + METHOD transformAxisAligned (Lorg/joml/Matrix4f;)Lnet/minecraft/client/gui/navigation/ScreenRectangle; + ARG 1 pose diff --git a/data/net/minecraft/client/gui/screens/LoadingOverlay.mapping b/data/net/minecraft/client/gui/screens/LoadingOverlay.mapping index 65983bfd8..f0ec94f3c 100644 --- a/data/net/minecraft/client/gui/screens/LoadingOverlay.mapping +++ b/data/net/minecraft/client/gui/screens/LoadingOverlay.mapping @@ -13,6 +13,8 @@ CLASS net/minecraft/client/gui/screens/LoadingOverlay ARG 6 partialTick METHOD registerTextures (Lnet/minecraft/client/Minecraft;)V ARG 0 minecraft + METHOD registerTextures (Lnet/minecraft/client/renderer/texture/TextureManager;)V + ARG 0 textureManager METHOD replaceAlpha (II)I ARG 0 color ARG 1 alpha diff --git a/data/net/minecraft/client/gui/screens/TitleScreen.mapping b/data/net/minecraft/client/gui/screens/TitleScreen.mapping index d3956b396..726a2ba2a 100644 --- a/data/net/minecraft/client/gui/screens/TitleScreen.mapping +++ b/data/net/minecraft/client/gui/screens/TitleScreen.mapping @@ -19,16 +19,30 @@ CLASS net/minecraft/client/gui/screens/TitleScreen ARG 2 rowHeight METHOD fadeWidgets (F)V ARG 1 alpha + METHOD lambda$createDemoMenuOptions$11 (ZLnet/minecraft/client/gui/components/Button;)V + ARG 2 button + METHOD lambda$createDemoMenuOptions$12 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button + METHOD lambda$createNormalMenuOptions$6 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button METHOD lambda$createNormalMenuOptions$7 (Lnet/minecraft/client/gui/components/Button;)V ARG 1 button METHOD lambda$createNormalMenuOptions$8 (Lnet/minecraft/client/gui/components/Button;)V ARG 1 button + METHOD lambda$createNormalMenuOptions$9 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button + METHOD lambda$createTestWorldButton$6 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button METHOD lambda$init$1 (Lnet/minecraft/client/gui/components/Button;)V ARG 1 button METHOD lambda$init$2 (Lnet/minecraft/client/gui/components/Button;)V ARG 1 button METHOD lambda$init$3 (Lnet/minecraft/client/gui/components/Button;)V ARG 1 button + METHOD lambda$init$4 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button + METHOD lambda$init$5 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button METHOD mouseClicked (DDI)Z ARG 1 mouseX ARG 3 mouseY @@ -38,3 +52,5 @@ CLASS net/minecraft/client/gui/screens/TitleScreen ARG 1 backgroundExecutor METHOD realmsNotificationsEnabled ()Z COMMENT Is there currently a realms notification screen, and are realms notifications enabled? + METHOD registerTextures (Lnet/minecraft/client/renderer/texture/TextureManager;)V + ARG 0 textureManager diff --git a/data/net/minecraft/client/gui/screens/achievement/StatsScreen.mapping b/data/net/minecraft/client/gui/screens/achievement/StatsScreen.mapping index ecd9658f8..39c30cfae 100644 --- a/data/net/minecraft/client/gui/screens/achievement/StatsScreen.mapping +++ b/data/net/minecraft/client/gui/screens/achievement/StatsScreen.mapping @@ -14,11 +14,16 @@ CLASS net/minecraft/client/gui/screens/achievement/StatsScreen ARG 1 button METHOD lambda$initButtons$3 (Lnet/minecraft/client/gui/components/Button;)V ARG 1 button + METHOD lambda$initButtons$4 (Lnet/minecraft/client/gui/screens/achievement/StatsScreen;Lnet/minecraft/client/gui/components/events/GuiEventListener;)V + ARG 1 listener METHOD setActiveList (Lnet/minecraft/client/gui/components/ObjectSelectionList;)V ARG 1 activeList CLASS ItemStatisticsList METHOD (Lnet/minecraft/client/gui/screens/achievement/StatsScreen;Lnet/minecraft/client/Minecraft;)V ARG 2 minecraft + METHOD clickedHeader (II)Z + ARG 1 x + ARG 2 y METHOD getColumn (I)Lnet/minecraft/stats/StatType; ARG 1 index METHOD getColumnIndex (Lnet/minecraft/stats/StatType;)I @@ -37,6 +42,9 @@ CLASS net/minecraft/client/gui/screens/achievement/StatsScreen ARG 4 y ARG 5 evenRow CLASS ItemRowComparator + METHOD compare (Ljava/lang/Object;Ljava/lang/Object;)I + ARG 1 first + ARG 2 second METHOD compare (Lnet/minecraft/client/gui/screens/achievement/StatsScreen$ItemStatisticsList$ItemRow;Lnet/minecraft/client/gui/screens/achievement/StatsScreen$ItemStatisticsList$ItemRow;)I ARG 1 row1 ARG 2 row2 diff --git a/data/net/minecraft/client/gui/screens/advancements/AdvancementWidget.mapping b/data/net/minecraft/client/gui/screens/advancements/AdvancementWidget.mapping index 2d92b088e..daf1e5844 100644 --- a/data/net/minecraft/client/gui/screens/advancements/AdvancementWidget.mapping +++ b/data/net/minecraft/client/gui/screens/advancements/AdvancementWidget.mapping @@ -22,6 +22,12 @@ CLASS net/minecraft/client/gui/screens/advancements/AdvancementWidget ARG 4 fade ARG 5 width ARG 6 height + METHOD drawMultilineText (Lnet/minecraft/client/gui/GuiGraphics;Ljava/util/List;III)V + ARG 1 guiGraphics + ARG 2 text + ARG 3 x + ARG 4 y + ARG 5 color METHOD findOptimalLines (Lnet/minecraft/network/chat/Component;I)Ljava/util/List; ARG 1 component ARG 2 maxWidth diff --git a/data/net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen.mapping b/data/net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen.mapping index f8c492d2c..633830c12 100644 --- a/data/net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen.mapping +++ b/data/net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen.mapping @@ -18,6 +18,10 @@ CLASS net/minecraft/client/gui/screens/debug/GameModeSwitcherScreen METHOD getFromGameType (Lnet/minecraft/world/level/GameType;)Lnet/minecraft/client/gui/screens/debug/GameModeSwitcherScreen$GameModeIcon; ARG 0 gameType CLASS GameModeSlot + METHOD (Lnet/minecraft/client/gui/screens/debug/GameModeSwitcherScreen$GameModeIcon;II)V + ARG 1 icon + ARG 2 x + ARG 3 y METHOD (Lnet/minecraft/client/gui/screens/debug/GameModeSwitcherScreen;Lnet/minecraft/client/gui/screens/debug/GameModeSwitcherScreen$GameModeIcon;II)V ARG 2 icon ARG 3 x diff --git a/data/net/minecraft/client/gui/screens/inventory/HorseInventoryScreen.mapping b/data/net/minecraft/client/gui/screens/inventory/HorseInventoryScreen.mapping index 2b3f95af4..1c8f6f7b1 100644 --- a/data/net/minecraft/client/gui/screens/inventory/HorseInventoryScreen.mapping +++ b/data/net/minecraft/client/gui/screens/inventory/HorseInventoryScreen.mapping @@ -10,3 +10,7 @@ CLASS net/minecraft/client/gui/screens/inventory/HorseInventoryScreen ARG 2 inventory ARG 3 horse ARG 4 inventoryColumns + METHOD drawSlot (Lnet/minecraft/client/gui/GuiGraphics;II)V + ARG 1 guiGraphics + ARG 2 x + ARG 3 y diff --git a/data/net/minecraft/client/gui/screens/recipebook/RecipeButton.mapping b/data/net/minecraft/client/gui/screens/recipebook/RecipeButton.mapping index d8e5e23c1..87f99fa29 100644 --- a/data/net/minecraft/client/gui/screens/recipebook/RecipeButton.mapping +++ b/data/net/minecraft/client/gui/screens/recipebook/RecipeButton.mapping @@ -1,6 +1,8 @@ CLASS net/minecraft/client/gui/screens/recipebook/RecipeButton METHOD (Lnet/minecraft/client/gui/screens/recipebook/SlotSelectTime;)V ARG 1 slotSelectTime + METHOD allRecipesHaveSameResultDisplay (Ljava/util/List;)Z + ARG 0 entries METHOD getTooltipText (Lnet/minecraft/world/item/ItemStack;)Ljava/util/List; ARG 1 stack METHOD init (Lnet/minecraft/client/gui/screens/recipebook/RecipeCollection;ZLnet/minecraft/client/gui/screens/recipebook/RecipeBookPage;Lnet/minecraft/util/context/ContextMap;)V @@ -10,6 +12,8 @@ CLASS net/minecraft/client/gui/screens/recipebook/RecipeButton ARG 4 contextMap METHOD isValidClickButton (I)Z ARG 1 button + METHOD lambda$allRecipesHaveSameResultDisplay$1 (Lnet/minecraft/client/gui/screens/recipebook/RecipeButton$ResolvedEntry;)Ljava/util/stream/Stream; + ARG 0 entry METHOD lambda$init$0 (Lnet/minecraft/util/context/ContextMap;Lnet/minecraft/world/item/crafting/display/RecipeDisplayEntry;)Lnet/minecraft/client/gui/screens/recipebook/RecipeButton$ResolvedEntry; ARG 1 entry CLASS ResolvedEntry diff --git a/data/net/minecraft/client/gui/screens/worldselection/ExperimentsScreen.mapping b/data/net/minecraft/client/gui/screens/worldselection/ExperimentsScreen.mapping index c8cba88b0..6a986b6da 100644 --- a/data/net/minecraft/client/gui/screens/worldselection/ExperimentsScreen.mapping +++ b/data/net/minecraft/client/gui/screens/worldselection/ExperimentsScreen.mapping @@ -5,3 +5,24 @@ CLASS net/minecraft/client/gui/screens/worldselection/ExperimentsScreen ARG 3 output METHOD getHumanReadableTitle (Lnet/minecraft/server/packs/repository/Pack;)Lnet/minecraft/network/chat/Component; ARG 0 pack + METHOD lambda$init$0 (Lnet/minecraft/client/gui/layouts/LayoutSettings;)V + ARG 0 layoutSettings + METHOD lambda$init$3 (Lnet/minecraft/client/gui/screens/worldselection/SwitchGrid$Builder;Lnet/minecraft/server/packs/repository/Pack;Ljava/lang/Boolean;)V + ARG 2 pack + ARG 3 enabled + METHOD lambda$init$4 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button + METHOD lambda$init$5 (Lnet/minecraft/client/gui/components/Button;)V + ARG 1 button + METHOD lambda$init$6 (Lnet/minecraft/client/gui/screens/worldselection/ExperimentsScreen;Lnet/minecraft/client/gui/components/events/GuiEventListener;)V + ARG 1 listener + METHOD lambda$onDone$7 (Ljava/util/List;Ljava/util/List;Lnet/minecraft/server/packs/repository/Pack;Ljava/lang/Boolean;)V + ARG 2 pack + ARG 3 enabled + CLASS ScrollArea + METHOD (Lnet/minecraft/client/gui/screens/worldselection/ExperimentsScreen;Lnet/minecraft/client/gui/layouts/Layout;II)V + ARG 2 layout + ARG 3 width + ARG 4 height + METHOD addWidget (Lnet/minecraft/client/gui/components/AbstractWidget;)V + ARG 1 widget diff --git a/data/net/minecraft/client/gui/screens/worldselection/SwitchGrid.mapping b/data/net/minecraft/client/gui/screens/worldselection/SwitchGrid.mapping index 324d3a388..67a54a902 100644 --- a/data/net/minecraft/client/gui/screens/worldselection/SwitchGrid.mapping +++ b/data/net/minecraft/client/gui/screens/worldselection/SwitchGrid.mapping @@ -1,6 +1,9 @@ CLASS net/minecraft/client/gui/screens/worldselection/SwitchGrid METHOD (Ljava/util/List;)V ARG 1 switches + METHOD (Ljava/util/List;Lnet/minecraft/client/gui/layouts/Layout;)V + ARG 1 switches + ARG 2 layout METHOD builder (I)Lnet/minecraft/client/gui/screens/worldselection/SwitchGrid$Builder; ARG 0 width CLASS Builder @@ -29,6 +32,10 @@ CLASS net/minecraft/client/gui/screens/worldselection/SwitchGrid ARG 1 builder ARG 2 gridLayout ARG 3 column + METHOD lambda$build$1 (Lnet/minecraft/client/gui/components/CycleButton;)Lnet/minecraft/network/chat/MutableComponent; + ARG 1 button + METHOD lambda$build$2 (Lnet/minecraft/client/gui/components/CycleButton;)Lnet/minecraft/network/chat/MutableComponent; + ARG 1 button METHOD withInfo (Lnet/minecraft/network/chat/Component;)Lnet/minecraft/client/gui/screens/worldselection/SwitchGrid$SwitchBuilder; ARG 1 info METHOD withIsActiveCondition (Ljava/util/function/BooleanSupplier;)Lnet/minecraft/client/gui/screens/worldselection/SwitchGrid$SwitchBuilder; diff --git a/data/net/minecraft/client/model/BannerFlagModel.mapping b/data/net/minecraft/client/model/BannerFlagModel.mapping new file mode 100644 index 000000000..c80edb414 --- /dev/null +++ b/data/net/minecraft/client/model/BannerFlagModel.mapping @@ -0,0 +1,7 @@ +CLASS net/minecraft/client/model/BannerFlagModel + METHOD (Lnet/minecraft/client/model/geom/ModelPart;)V + ARG 1 root + METHOD createFlagLayer (Z)Lnet/minecraft/client/model/geom/builders/LayerDefinition; + ARG 0 isStanding + METHOD setupAnim (F)V + ARG 1 angle diff --git a/data/net/minecraft/client/model/BannerModel.mapping b/data/net/minecraft/client/model/BannerModel.mapping new file mode 100644 index 000000000..17070f878 --- /dev/null +++ b/data/net/minecraft/client/model/BannerModel.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/model/BannerModel + METHOD (Lnet/minecraft/client/model/geom/ModelPart;)V + ARG 1 root + METHOD createBodyLayer (Z)Lnet/minecraft/client/model/geom/builders/LayerDefinition; + ARG 0 isStanding diff --git a/data/net/minecraft/client/model/DonkeyModel.mapping b/data/net/minecraft/client/model/DonkeyModel.mapping index 4ae33545b..ddd29d57b 100644 --- a/data/net/minecraft/client/model/DonkeyModel.mapping +++ b/data/net/minecraft/client/model/DonkeyModel.mapping @@ -1,3 +1,7 @@ CLASS net/minecraft/client/model/DonkeyModel + METHOD createBabyLayer (F)Lnet/minecraft/client/model/geom/builders/LayerDefinition; + ARG 0 scale + METHOD createBodyLayer (F)Lnet/minecraft/client/model/geom/builders/LayerDefinition; + ARG 0 scale METHOD modifyMesh (Lnet/minecraft/client/model/geom/builders/PartDefinition;)V ARG 0 partDefinition diff --git a/data/net/minecraft/client/model/Model.mapping b/data/net/minecraft/client/model/Model.mapping index 56e1484ab..3ad61e396 100644 --- a/data/net/minecraft/client/model/Model.mapping +++ b/data/net/minecraft/client/model/Model.mapping @@ -21,6 +21,10 @@ CLASS net/minecraft/client/model/Model ARG 1 animationDefinition METHOD getAnyDescendantWithName (Ljava/lang/String;)Ljava/util/Optional; ARG 1 name + METHOD lambda$getAnyDescendantWithName$0 (Ljava/lang/String;Lnet/minecraft/client/model/geom/ModelPart;)Z + ARG 1 part + METHOD lambda$getAnyDescendantWithName$1 (Ljava/lang/String;Lnet/minecraft/client/model/geom/ModelPart;)Lnet/minecraft/client/model/geom/ModelPart; + ARG 1 part METHOD renderToBuffer (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;II)V ARG 1 poseStack ARG 2 buffer diff --git a/data/net/minecraft/client/model/VillagerLikeModel.mapping b/data/net/minecraft/client/model/VillagerLikeModel.mapping new file mode 100644 index 000000000..cc2d70a9c --- /dev/null +++ b/data/net/minecraft/client/model/VillagerLikeModel.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/model/VillagerLikeModel + METHOD hatVisible (Z)V + ARG 1 hatVisible + METHOD translateToArms (Lcom/mojang/blaze3d/vertex/PoseStack;)V + ARG 1 poseStack diff --git a/data/net/minecraft/client/model/geom/EntityModelSet.mapping b/data/net/minecraft/client/model/geom/EntityModelSet.mapping index 773f219e4..2be485cb9 100644 --- a/data/net/minecraft/client/model/geom/EntityModelSet.mapping +++ b/data/net/minecraft/client/model/geom/EntityModelSet.mapping @@ -1,3 +1,5 @@ CLASS net/minecraft/client/model/geom/EntityModelSet + METHOD (Ljava/util/Map;)V + ARG 1 roots METHOD bakeLayer (Lnet/minecraft/client/model/geom/ModelLayerLocation;)Lnet/minecraft/client/model/geom/ModelPart; ARG 1 modelLayerLocation diff --git a/data/net/minecraft/client/model/geom/ModelLayers.mapping b/data/net/minecraft/client/model/geom/ModelLayers.mapping index c7873afb0..7d19f5abc 100644 --- a/data/net/minecraft/client/model/geom/ModelLayers.mapping +++ b/data/net/minecraft/client/model/geom/ModelLayers.mapping @@ -1,6 +1,9 @@ CLASS net/minecraft/client/model/geom/ModelLayers METHOD createHangingSignModelName (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/model/geom/ModelLayerLocation; ARG 0 woodType + METHOD createHangingSignModelName (Lnet/minecraft/world/level/block/state/properties/WoodType;Lnet/minecraft/client/renderer/blockentity/HangingSignRenderer$AttachmentType;)Lnet/minecraft/client/model/geom/ModelLayerLocation; + ARG 0 woodType + ARG 1 attachmentType METHOD createLocation (Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/model/geom/ModelLayerLocation; ARG 0 path ARG 1 model diff --git a/data/net/minecraft/client/multiplayer/ClientChunkCache.mapping b/data/net/minecraft/client/multiplayer/ClientChunkCache.mapping index d79a8ff53..3ab68ea90 100644 --- a/data/net/minecraft/client/multiplayer/ClientChunkCache.mapping +++ b/data/net/minecraft/client/multiplayer/ClientChunkCache.mapping @@ -55,6 +55,8 @@ CLASS net/minecraft/client/multiplayer/ClientChunkCache ARG 2 y ARG 3 z ARG 4 isEmpty + METHOD refreshEmptySections (Lnet/minecraft/world/level/chunk/LevelChunk;)V + ARG 1 chunk METHOD replace (ILnet/minecraft/world/level/chunk/LevelChunk;)V ARG 1 chunkIndex ARG 2 chunk diff --git a/data/net/minecraft/client/multiplayer/MultiPlayerGameMode.mapping b/data/net/minecraft/client/multiplayer/MultiPlayerGameMode.mapping index 462cbdef3..7c12c1384 100644 --- a/data/net/minecraft/client/multiplayer/MultiPlayerGameMode.mapping +++ b/data/net/minecraft/client/multiplayer/MultiPlayerGameMode.mapping @@ -45,6 +45,16 @@ CLASS net/minecraft/client/multiplayer/MultiPlayerGameMode ARG 5 player METHOD handlePickItem (I)V ARG 1 index + METHOD handlePickItemFromBlock (Lnet/minecraft/core/BlockPos;Z)V + ARG 1 pos + ARG 2 includeData + METHOD handlePickItemFromEntity (Lnet/minecraft/world/entity/Entity;Z)V + ARG 1 entity + ARG 2 includeData + METHOD handlePlaceRecipe (ILnet/minecraft/world/item/crafting/RecipeHolder;Z)V + ARG 1 containerId + ARG 2 recipe + ARG 3 shiftDown METHOD handlePlaceRecipe (ILnet/minecraft/world/item/crafting/display/RecipeDisplayId;Z)V ARG 1 containerId ARG 2 recipe diff --git a/data/net/minecraft/client/multiplayer/PlayerInfo.mapping b/data/net/minecraft/client/multiplayer/PlayerInfo.mapping index c39ff16b3..280040884 100644 --- a/data/net/minecraft/client/multiplayer/PlayerInfo.mapping +++ b/data/net/minecraft/client/multiplayer/PlayerInfo.mapping @@ -20,6 +20,8 @@ CLASS net/minecraft/client/multiplayer/PlayerInfo ARG 1 gameMode METHOD setLatency (I)V ARG 1 latency + METHOD setShowHat (Z)V + ARG 1 showHat METHOD setTabListDisplayName (Lnet/minecraft/network/chat/Component;)V ARG 1 displayName METHOD setTabListOrder (I)V diff --git a/data/net/minecraft/client/particle/BreakingItemParticle.mapping b/data/net/minecraft/client/particle/BreakingItemParticle.mapping index a7c4c2171..078e33eb5 100644 --- a/data/net/minecraft/client/particle/BreakingItemParticle.mapping +++ b/data/net/minecraft/client/particle/BreakingItemParticle.mapping @@ -1,4 +1,13 @@ CLASS net/minecraft/client/particle/BreakingItemParticle + METHOD (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/client/renderer/item/ItemStackRenderState;)V + ARG 1 level + ARG 2 x + ARG 4 y + ARG 6 z + ARG 8 xSpeed + ARG 10 ySpeed + ARG 12 zSpeed + ARG 14 renderState METHOD (Lnet/minecraft/client/multiplayer/ClientLevel;DDDDDDLnet/minecraft/world/item/ItemStack;)V ARG 1 level ARG 2 x @@ -8,6 +17,12 @@ CLASS net/minecraft/client/particle/BreakingItemParticle ARG 10 ySpeed ARG 12 zSpeed ARG 14 stack + METHOD (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/client/renderer/item/ItemStackRenderState;)V + ARG 1 level + ARG 2 x + ARG 4 y + ARG 6 z + ARG 8 renderState METHOD (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/world/item/ItemStack;)V ARG 1 level ARG 2 x @@ -44,3 +59,7 @@ CLASS net/minecraft/client/particle/BreakingItemParticle ARG 9 xSpeed ARG 11 ySpeed ARG 13 zSpeed + CLASS ItemParticleProvider + METHOD calculateState (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;)Lnet/minecraft/client/renderer/item/ItemStackRenderState; + ARG 1 stack + ARG 2 level diff --git a/data/net/minecraft/client/particle/FallingLeavesParticle.mapping b/data/net/minecraft/client/particle/FallingLeavesParticle.mapping new file mode 100644 index 000000000..20a61d735 --- /dev/null +++ b/data/net/minecraft/client/particle/FallingLeavesParticle.mapping @@ -0,0 +1,19 @@ +CLASS net/minecraft/client/particle/FallingLeavesParticle + METHOD (Lnet/minecraft/client/multiplayer/ClientLevel;DDDLnet/minecraft/client/particle/SpriteSet;FFZZFF)V + ARG 1 level + ARG 2 x + ARG 4 y + ARG 6 z + ARG 8 sprites + ARG 9 gravityMultiplier + ARG 10 windBig + ARG 11 swirl + ARG 12 flowAway + ARG 13 size + ARG 14 ySpeed + CLASS CherryProvider + METHOD (Lnet/minecraft/client/particle/SpriteSet;)V + ARG 1 sprites + CLASS PaleOakProvider + METHOD (Lnet/minecraft/client/particle/SpriteSet;)V + ARG 1 sprites diff --git a/data/net/minecraft/client/particle/ItemPickupParticle.mapping b/data/net/minecraft/client/particle/ItemPickupParticle.mapping index 503b0de71..9ea3c3b82 100644 --- a/data/net/minecraft/client/particle/ItemPickupParticle.mapping +++ b/data/net/minecraft/client/particle/ItemPickupParticle.mapping @@ -1,4 +1,15 @@ CLASS net/minecraft/client/particle/ItemPickupParticle + METHOD (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V + ARG 1 entityRenderDispatcher + ARG 2 level + ARG 3 itemEntity + ARG 4 target + METHOD (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/Vec3;)V + ARG 1 entityRenderDispatcher + ARG 2 level + ARG 3 itemEntity + ARG 4 target + ARG 5 speed METHOD (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/renderer/RenderBuffers;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Entity;)V ARG 1 entityRenderDispatcher ARG 2 buffers diff --git a/data/net/minecraft/client/particle/Particle.mapping b/data/net/minecraft/client/particle/Particle.mapping index 07e23663e..91b9c67af 100644 --- a/data/net/minecraft/client/particle/Particle.mapping +++ b/data/net/minecraft/client/particle/Particle.mapping @@ -25,7 +25,12 @@ CLASS net/minecraft/client/particle/Particle METHOD render (Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/client/Camera;F)V ARG 1 buffer ARG 2 camera - ARG 3 partialTicks + ARG 3 partialTick + METHOD renderCustom (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/Camera;F)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 camera + ARG 4 partialTick METHOD scale (F)Lnet/minecraft/client/particle/Particle; ARG 1 scale METHOD setAlpha (F)V diff --git a/data/net/minecraft/client/particle/ParticleEngine.mapping b/data/net/minecraft/client/particle/ParticleEngine.mapping index 28f8e93f4..a3c7d5e16 100644 --- a/data/net/minecraft/client/particle/ParticleEngine.mapping +++ b/data/net/minecraft/client/particle/ParticleEngine.mapping @@ -91,10 +91,32 @@ CLASS net/minecraft/client/particle/ParticleEngine METHOD register (Lnet/minecraft/core/particles/ParticleType;Lnet/minecraft/client/particle/ParticleProvider;)V ARG 1 particleType ARG 2 particleFactory + METHOD reload (Lnet/minecraft/server/packs/resources/PreparableReloadListener$PreparationBarrier;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; + ARG 1 stage + ARG 2 resourceManager + ARG 3 preparationsProfiler + ARG 4 reloadProfiler + ARG 5 backgroundExecutor + ARG 6 gameExecutor + METHOD render (Lnet/minecraft/client/Camera;FLnet/minecraft/client/renderer/MultiBufferSource$BufferSource;)V + ARG 1 camera + ARG 2 partialTick + ARG 3 bufferSource METHOD render (Lnet/minecraft/client/renderer/LightTexture;Lnet/minecraft/client/Camera;F)V ARG 1 lightTexture ARG 2 camera ARG 3 partialTick + METHOD renderCustomParticles (Lnet/minecraft/client/Camera;FLnet/minecraft/client/renderer/MultiBufferSource$BufferSource;Ljava/util/Queue;)V + ARG 0 camera + ARG 1 partialTick + ARG 2 bufferSource + ARG 3 particles + METHOD renderParticleType (Lnet/minecraft/client/Camera;FLnet/minecraft/client/renderer/MultiBufferSource$BufferSource;Lnet/minecraft/client/particle/ParticleRenderType;Ljava/util/Queue;)V + ARG 0 camera + ARG 1 partialTick + ARG 2 bufferSource + ARG 3 particleType + ARG 4 particles METHOD setLevel (Lnet/minecraft/client/multiplayer/ClientLevel;)V ARG 1 level METHOD tickParticle (Lnet/minecraft/client/particle/Particle;)V diff --git a/data/net/minecraft/client/renderer/CubeMap.mapping b/data/net/minecraft/client/renderer/CubeMap.mapping index e1218971b..117a79957 100644 --- a/data/net/minecraft/client/renderer/CubeMap.mapping +++ b/data/net/minecraft/client/renderer/CubeMap.mapping @@ -1,9 +1,13 @@ CLASS net/minecraft/client/renderer/CubeMap METHOD (Lnet/minecraft/resources/ResourceLocation;)V ARG 1 baseImageLocation + METHOD lambda$new$0 (Lnet/minecraft/resources/ResourceLocation;I)Lnet/minecraft/resources/ResourceLocation; + ARG 1 side METHOD preload (Lnet/minecraft/client/renderer/texture/TextureManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; ARG 1 texMngr ARG 2 backgroundExecutor + METHOD registerTextures (Lnet/minecraft/client/renderer/texture/TextureManager;)V + ARG 1 textureManager METHOD render (Lnet/minecraft/client/Minecraft;FFF)V ARG 1 mc ARG 2 pitch diff --git a/data/net/minecraft/client/renderer/ItemInHandRenderer.mapping b/data/net/minecraft/client/renderer/ItemInHandRenderer.mapping index 32cb649d6..0c1c1194f 100644 --- a/data/net/minecraft/client/renderer/ItemInHandRenderer.mapping +++ b/data/net/minecraft/client/renderer/ItemInHandRenderer.mapping @@ -3,6 +3,11 @@ CLASS net/minecraft/client/renderer/ItemInHandRenderer ARG 1 minecraft ARG 2 entityRenderDispatcher ARG 3 itemRenderer + METHOD (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/client/renderer/item/ItemModelResolver;)V + ARG 1 minecraft + ARG 2 entityRenderDispatcher + ARG 3 itemRenderer + ARG 4 itemModelResolver METHOD applyBrushTransform (Lcom/mojang/blaze3d/vertex/PoseStack;FLnet/minecraft/world/entity/HumanoidArm;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;F)V ARG 1 poseStack ARG 2 partialTick @@ -92,6 +97,15 @@ CLASS net/minecraft/client/renderer/ItemInHandRenderer ARG 6 swingProgress METHOD selectionUsingItemWhileHoldingBowLike (Lnet/minecraft/client/player/LocalPlayer;)Lnet/minecraft/client/renderer/ItemInHandRenderer$HandRenderSelection; ARG 0 player + METHOD shouldInstantlyReplaceVisibleItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 oldItem + ARG 2 newItem + METHOD swingArm (FFLcom/mojang/blaze3d/vertex/PoseStack;ILnet/minecraft/world/entity/HumanoidArm;)V + ARG 1 swingProgress + ARG 2 equippedProgress + ARG 3 poseStack + ARG 4 direction + ARG 5 arm CLASS HandRenderSelection METHOD (Ljava/lang/String;IZZ)V ARG 3 renderMainHand diff --git a/data/net/minecraft/client/renderer/LevelRenderer.mapping b/data/net/minecraft/client/renderer/LevelRenderer.mapping index 09db04cdb..0a085efef 100644 --- a/data/net/minecraft/client/renderer/LevelRenderer.mapping +++ b/data/net/minecraft/client/renderer/LevelRenderer.mapping @@ -83,6 +83,11 @@ CLASS net/minecraft/client/renderer/LevelRenderer ARG 10 xSpeed ARG 12 ySpeed ARG 14 zSpeed + METHOD addParticlesPass (Lcom/mojang/blaze3d/framegraph/FrameGraphBuilder;Lnet/minecraft/client/Camera;FLnet/minecraft/client/renderer/FogParameters;)V + ARG 1 frameGraphBuilder + ARG 2 camera + ARG 3 partialTick + ARG 4 fog METHOD addParticlesPass (Lcom/mojang/blaze3d/framegraph/FrameGraphBuilder;Lnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/LightTexture;FLnet/minecraft/client/renderer/FogParameters;)V ARG 1 frameGraphBuilder ARG 2 camera @@ -102,6 +107,11 @@ CLASS net/minecraft/client/renderer/LevelRenderer ARG 3 cameraPosition ARG 4 partialTick ARG 5 fog + METHOD addWeatherPass (Lcom/mojang/blaze3d/framegraph/FrameGraphBuilder;Lnet/minecraft/world/phys/Vec3;FLnet/minecraft/client/renderer/FogParameters;)V + ARG 1 frameGraphBuilder + ARG 2 cameraPosition + ARG 3 partialTick + ARG 4 fog METHOD allChanged ()V COMMENT Loads all renderers and sets up the basic options usage. METHOD applyFrustum (Lnet/minecraft/client/renderer/culling/Frustum;)V @@ -150,6 +160,8 @@ CLASS net/minecraft/client/renderer/LevelRenderer ARG 0 frustum METHOD onChunkLoaded (Lnet/minecraft/world/level/ChunkPos;)V ARG 1 chunkPos + METHOD onChunkReadyToRender (Lnet/minecraft/world/level/ChunkPos;)V + ARG 1 chunkPos METHOD onResourceManagerReload (Lnet/minecraft/server/packs/resources/ResourceManager;)V ARG 1 resourceManager METHOD onSectionBecomingNonEmpty (J)V @@ -208,6 +220,71 @@ CLASS net/minecraft/client/renderer/LevelRenderer ARG 6 lightTexture ARG 7 frustumMatrix ARG 8 projectionMatrix + METHOD renderLevel (Lcom/mojang/blaze3d/resource/GraphicsResourceAllocator;Lnet/minecraft/client/DeltaTracker;ZLnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/GameRenderer;Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;)V + ARG 1 graphicsResourceAllocator + ARG 2 deltaTracker + ARG 3 renderBlockOutline + ARG 4 camera + ARG 5 gameRenderer + ARG 6 frustumMatrix + ARG 7 projectionMatrix + METHOD renderLevel (Lnet/minecraft/client/DeltaTracker;ZLnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/GameRenderer;Lnet/minecraft/client/renderer/LightTexture;Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;)V + ARG 1 deltaTracker + ARG 2 renderBlockOutline + ARG 3 camera + ARG 4 gameRenderer + ARG 5 lightTexture + ARG 6 frustumMatrix + ARG 7 projectionMatrix + METHOD renderLineBox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;DDDDDDFFFF)V + ARG 0 poseStack + ARG 1 consumer + ARG 2 minX + ARG 4 minY + ARG 6 minZ + ARG 8 maxX + ARG 10 maxY + ARG 12 maxZ + ARG 14 red + ARG 15 green + ARG 16 blue + ARG 17 alpha + METHOD renderLineBox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;DDDDDDFFFFFFF)V + ARG 0 poseStack + ARG 1 consumer + ARG 2 minX + ARG 4 minY + ARG 6 minZ + ARG 8 maxX + ARG 10 maxY + ARG 12 maxZ + ARG 14 red + ARG 15 green + ARG 16 blue + ARG 17 alpha + ARG 18 red2 + ARG 19 green2 + ARG 20 blue2 + METHOD renderLineBox (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Lnet/minecraft/world/phys/AABB;FFFF)V + ARG 0 poseStack + ARG 1 buffer + ARG 2 box + ARG 3 red + ARG 4 green + ARG 5 blue + ARG 6 alpha + METHOD renderLineBox (Lcom/mojang/blaze3d/vertex/VertexConsumer;DDDDDDFFFF)V + ARG 0 consumer + ARG 1 minX + ARG 3 minY + ARG 5 minZ + ARG 7 maxX + ARG 9 maxY + ARG 11 maxZ + ARG 13 red + ARG 14 green + ARG 15 blue + ARG 16 alpha METHOD renderSectionLayer (Lnet/minecraft/client/renderer/RenderType;DDDLorg/joml/Matrix4f;Lorg/joml/Matrix4f;)V ARG 1 renderType ARG 2 x diff --git a/data/net/minecraft/client/renderer/RenderStateShard.mapping b/data/net/minecraft/client/renderer/RenderStateShard.mapping index fb665e24e..ce8f5b8ca 100644 --- a/data/net/minecraft/client/renderer/RenderStateShard.mapping +++ b/data/net/minecraft/client/renderer/RenderStateShard.mapping @@ -46,6 +46,8 @@ CLASS net/minecraft/client/renderer/RenderStateShard CLASS MultiTextureStateShard METHOD (Lcom/google/common/collect/ImmutableList;)V ARG 1 textures + METHOD (Ljava/util/List;)V + ARG 1 entries CLASS Builder METHOD add (Lnet/minecraft/resources/ResourceLocation;ZZ)Lnet/minecraft/client/renderer/RenderStateShard$MultiTextureStateShard$Builder; ARG 1 texture diff --git a/data/net/minecraft/client/renderer/RenderType.mapping b/data/net/minecraft/client/renderer/RenderType.mapping index b88b30ea2..2078e45a8 100644 --- a/data/net/minecraft/client/renderer/RenderType.mapping +++ b/data/net/minecraft/client/renderer/RenderType.mapping @@ -15,12 +15,16 @@ CLASS net/minecraft/client/renderer/RenderType METHOD beaconBeam (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/renderer/RenderType; ARG 0 location ARG 1 colorFlag + METHOD blockScreenEffect (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture METHOD breezeEyes (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location METHOD breezeWind (Lnet/minecraft/resources/ResourceLocation;FF)Lnet/minecraft/client/renderer/RenderType; ARG 0 location ARG 1 u ARG 2 v + METHOD celestial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture METHOD create (Ljava/lang/String;Lcom/mojang/blaze3d/vertex/VertexFormat;Lcom/mojang/blaze3d/vertex/VertexFormat$Mode;ILnet/minecraft/client/renderer/RenderType$CompositeState;)Lnet/minecraft/client/renderer/RenderType$CompositeRenderType; ARG 0 name ARG 1 format @@ -44,6 +48,10 @@ CLASS net/minecraft/client/renderer/RenderType METHOD createClouds (ZZ)Lnet/minecraft/client/renderer/RenderType$CompositeRenderType; ARG 0 color ARG 1 cull + METHOD createWeather (Z)Ljava/util/function/Function; + ARG 0 depthWrite + METHOD createWorldBorder (Z)Lnet/minecraft/client/renderer/RenderType; + ARG 0 depthWrite METHOD crosshair (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location METHOD crumbling (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; @@ -94,6 +102,8 @@ CLASS net/minecraft/client/renderer/RenderType ARG 1 outline METHOD eyes (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location + METHOD fireScreenEffect (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture METHOD guiOpaqueTexturedBackground (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location METHOD guiTextured (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; @@ -102,6 +112,8 @@ CLASS net/minecraft/client/renderer/RenderType ARG 0 location METHOD itemEntityTranslucentCull (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location + METHOD lambda$createWeather$27 (ZLnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 1 texture METHOD lambda$static$0 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 id METHOD lambda$static$1 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; @@ -152,6 +164,21 @@ CLASS net/minecraft/client/renderer/RenderType ARG 0 texture METHOD lambda$static$3 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 id + METHOD lambda$static$3 (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 id + ARG 1 affectsOutline + METHOD lambda$static$30 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture + METHOD lambda$static$31 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture + METHOD lambda$static$32 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture + METHOD lambda$static$33 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture + METHOD lambda$static$34 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture + METHOD lambda$static$35 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture METHOD lambda$static$4 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 id METHOD lambda$static$5 (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;)Lnet/minecraft/client/renderer/RenderType; @@ -168,6 +195,8 @@ CLASS net/minecraft/client/renderer/RenderType METHOD lambda$static$9 (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;)Lnet/minecraft/client/renderer/RenderType; ARG 0 id ARG 1 affectsOutline + METHOD opaqueParticle (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture METHOD outline (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location METHOD text (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; @@ -182,10 +211,17 @@ CLASS net/minecraft/client/renderer/RenderType ARG 0 id METHOD textSeeThrough (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location + METHOD translucentParticle (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture METHOD translucentState (Lnet/minecraft/client/renderer/RenderStateShard$ShaderStateShard;)Lnet/minecraft/client/renderer/RenderType$CompositeState; ARG 0 state METHOD vignette (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; ARG 0 location + METHOD weather (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/renderer/RenderType; + ARG 0 texture + ARG 1 depthWrite + METHOD worldBorder (Z)Lnet/minecraft/client/renderer/RenderType; + ARG 0 depthWrite CLASS CompositeState METHOD (Lnet/minecraft/client/renderer/RenderStateShard$EmptyTextureStateShard;Lnet/minecraft/client/renderer/RenderStateShard$ShaderStateShard;Lnet/minecraft/client/renderer/RenderStateShard$TransparencyStateShard;Lnet/minecraft/client/renderer/RenderStateShard$DepthTestStateShard;Lnet/minecraft/client/renderer/RenderStateShard$CullStateShard;Lnet/minecraft/client/renderer/RenderStateShard$LightmapStateShard;Lnet/minecraft/client/renderer/RenderStateShard$OverlayStateShard;Lnet/minecraft/client/renderer/RenderStateShard$LayeringStateShard;Lnet/minecraft/client/renderer/RenderStateShard$OutputStateShard;Lnet/minecraft/client/renderer/RenderStateShard$TexturingStateShard;Lnet/minecraft/client/renderer/RenderStateShard$WriteMaskStateShard;Lnet/minecraft/client/renderer/RenderStateShard$LineStateShard;Lnet/minecraft/client/renderer/RenderStateShard$ColorLogicStateShard;Lnet/minecraft/client/renderer/RenderType$OutlineProperty;)V ARG 1 textureState diff --git a/data/net/minecraft/client/renderer/ScreenEffectRenderer.mapping b/data/net/minecraft/client/renderer/ScreenEffectRenderer.mapping index 2d95f1df5..1f0767d17 100644 --- a/data/net/minecraft/client/renderer/ScreenEffectRenderer.mapping +++ b/data/net/minecraft/client/renderer/ScreenEffectRenderer.mapping @@ -1,15 +1,30 @@ CLASS net/minecraft/client/renderer/ScreenEffectRenderer METHOD getViewBlockingState (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/level/block/state/BlockState; ARG 0 player + METHOD renderFire (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V + ARG 0 poseStack + ARG 1 bufferSource METHOD renderFire (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V ARG 0 minecraft ARG 1 poseStack METHOD renderScreenEffect (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V ARG 0 minecraft ARG 1 poseStack + METHOD renderScreenEffect (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V + ARG 0 minecraft + ARG 1 poseStack + ARG 2 bufferSource METHOD renderTex (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lcom/mojang/blaze3d/vertex/PoseStack;)V ARG 0 texture ARG 1 poseStack + METHOD renderTex (Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V + ARG 0 texture + ARG 1 poseStack + ARG 2 bufferSource METHOD renderWater (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V ARG 0 minecraft ARG 1 poseStack + METHOD renderWater (Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;)V + ARG 0 mnecraft + ARG 1 poseStack + ARG 2 bufferSource diff --git a/data/net/minecraft/client/renderer/SectionOcclusionGraph.mapping b/data/net/minecraft/client/renderer/SectionOcclusionGraph.mapping index 5bd5bff30..11a3509c5 100644 --- a/data/net/minecraft/client/renderer/SectionOcclusionGraph.mapping +++ b/data/net/minecraft/client/renderer/SectionOcclusionGraph.mapping @@ -23,8 +23,28 @@ CLASS net/minecraft/client/renderer/SectionOcclusionGraph ARG 3 isLeafNode ARG 4 recursionDepth ARG 5 isNearby + METHOD lambda$initializeQueueForFullUpdate$4 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/client/renderer/SectionOcclusionGraph$Node;)D + ARG 1 node + METHOD lambda$initializeQueueForFullUpdate$5 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/client/renderer/SectionOcclusionGraph$Node;)D + ARG 1 node + METHOD lambda$runPartialUpdate$3 (Lnet/minecraft/client/renderer/culling/Frustum;Ljava/util/List;Lnet/minecraft/client/renderer/chunk/SectionRenderDispatcher$RenderSection;)V + ARG 2 renderSection + METHOD lambda$runPartialUpdate$4 (Lnet/minecraft/client/renderer/culling/Frustum;Lnet/minecraft/client/renderer/chunk/SectionRenderDispatcher$RenderSection;)V + ARG 2 renderSection + METHOD lambda$scheduleFullUpdate$0 (Lnet/minecraft/client/renderer/SectionOcclusionGraph$GraphState;Lnet/minecraft/client/renderer/SectionOcclusionGraph$Node;)V + ARG 1 node + METHOD lambda$scheduleFullUpdate$1 (Lnet/minecraft/client/renderer/SectionOcclusionGraph$GraphState;Lnet/minecraft/client/renderer/SectionOcclusionGraph$Node;)V + ARG 1 node + METHOD lambda$scheduleFullUpdate$1 (Lnet/minecraft/client/renderer/chunk/SectionRenderDispatcher$RenderSection;)V + ARG 0 renderSection + METHOD lambda$scheduleFullUpdate$2 (Lnet/minecraft/client/renderer/chunk/SectionRenderDispatcher$RenderSection;)V + ARG 0 renderSection METHOD onChunkLoaded (Lnet/minecraft/world/level/ChunkPos;)V ARG 1 chunkPos + METHOD onChunkReadyToRender (Lnet/minecraft/world/level/ChunkPos;)V + ARG 1 chunkPos + METHOD onSectionCompiled (Lnet/minecraft/client/renderer/chunk/SectionRenderDispatcher$RenderSection;)V + ARG 1 section METHOD queueSectionsWithNewNeighbors (Lnet/minecraft/client/renderer/SectionOcclusionGraph$GraphState;)V ARG 1 graphState METHOD runPartialUpdate (ZLnet/minecraft/client/renderer/culling/Frustum;Ljava/util/List;Lnet/minecraft/world/phys/Vec3;Lit/unimi/dsi/fastutil/longs/LongOpenHashSet;)V diff --git a/data/net/minecraft/client/renderer/ShaderManager.mapping b/data/net/minecraft/client/renderer/ShaderManager.mapping index c30322142..96ca7d7be 100644 --- a/data/net/minecraft/client/renderer/ShaderManager.mapping +++ b/data/net/minecraft/client/renderer/ShaderManager.mapping @@ -16,6 +16,10 @@ CLASS net/minecraft/client/renderer/ShaderManager ARG 0 location METHOD isShader (Lnet/minecraft/resources/ResourceLocation;)Z ARG 0 location + METHOD lambda$apply$1 (Ljava/util/Map$Entry;)Ljava/lang/String; + ARG 0 entry + METHOD lambda$prepare$0 (Lnet/minecraft/resources/ResourceLocation;)Z + ARG 0 location METHOD linkProgram (Lnet/minecraft/client/renderer/ShaderProgram;Lnet/minecraft/client/renderer/ShaderProgramConfig;Lcom/mojang/blaze3d/shaders/CompiledShader;Lcom/mojang/blaze3d/shaders/CompiledShader;)Lnet/minecraft/client/renderer/CompiledShaderProgram; ARG 0 program ARG 1 config @@ -43,6 +47,8 @@ CLASS net/minecraft/client/renderer/ShaderManager ARG 2 shader ARG 3 type ARG 4 defines + METHOD tryTriggerRecovery (Ljava/lang/Exception;)V + ARG 1 exception CLASS CompilationCache METHOD (Lnet/minecraft/client/renderer/ShaderManager;Lnet/minecraft/client/renderer/ShaderManager$Configs;)V ARG 2 configs diff --git a/data/net/minecraft/client/renderer/Sheets.mapping b/data/net/minecraft/client/renderer/Sheets.mapping index 2a8838452..47dd6dd27 100644 --- a/data/net/minecraft/client/renderer/Sheets.mapping +++ b/data/net/minecraft/client/renderer/Sheets.mapping @@ -3,6 +3,8 @@ CLASS net/minecraft/client/renderer/Sheets ARG 0 decal METHOD chestMaterial (Ljava/lang/String;)Lnet/minecraft/client/resources/model/Material; ARG 0 chestName + METHOD chestMaterial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 assetId METHOD chooseMaterial (Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/level/block/state/properties/ChestType;Z)Lnet/minecraft/client/resources/model/Material; ARG 0 blockEntity ARG 1 chestType @@ -12,22 +14,46 @@ CLASS net/minecraft/client/renderer/Sheets ARG 1 doubleMaterial ARG 2 leftMaterial ARG 3 rightMaterial + METHOD colorToResourceMaterial (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 color + METHOD colorToShulkerMaterial (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 color + METHOD createBedMaterial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 assetId + METHOD createBedMaterial (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/client/resources/model/Material; + ARG 0 color METHOD createDecoratedPotMaterial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; ARG 0 assetId + METHOD createHangingSignMaterial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 assetId METHOD createHangingSignMaterial (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/resources/model/Material; ARG 0 woodType + METHOD createShulkerMaterial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 assetId + METHOD createShulkerMaterial (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/client/resources/model/Material; + ARG 0 color + METHOD createSignMaterial (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 assetId METHOD createSignMaterial (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/resources/model/Material; ARG 0 woodType METHOD getBannerMaterial (Lnet/minecraft/core/Holder;)Lnet/minecraft/client/resources/model/Material; ARG 0 pattern + METHOD getBedMaterial (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/client/resources/model/Material; + ARG 0 color METHOD getDecoratedPotMaterial (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/client/resources/model/Material; ARG 0 key METHOD getHangingSignMaterial (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/resources/model/Material; ARG 0 woodType METHOD getShieldMaterial (Lnet/minecraft/core/Holder;)Lnet/minecraft/client/resources/model/Material; ARG 0 pattern + METHOD getShulkerBoxMaterial (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/client/resources/model/Material; + ARG 0 color METHOD getSignMaterial (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/resources/model/Material; ARG 0 woodType + METHOD lambda$getBannerMaterial$2 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 location + METHOD lambda$getShieldMaterial$3 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/Material; + ARG 0 location METHOD lambda$static$0 (Ljava/lang/String;)Lnet/minecraft/client/resources/model/Material; ARG 0 color METHOD lambda$static$1 (Lnet/minecraft/core/Holder$Reference;)Lnet/minecraft/client/resources/model/Material; diff --git a/data/net/minecraft/client/renderer/SkyRenderer.mapping b/data/net/minecraft/client/renderer/SkyRenderer.mapping index 0b39f3a09..ef2d5f1ec 100644 --- a/data/net/minecraft/client/renderer/SkyRenderer.mapping +++ b/data/net/minecraft/client/renderer/SkyRenderer.mapping @@ -1,9 +1,20 @@ CLASS net/minecraft/client/renderer/SkyRenderer + METHOD buildEndSky (Lcom/mojang/blaze3d/vertex/VertexConsumer;)V + ARG 1 buffer METHOD buildSkyDisc (Lcom/mojang/blaze3d/vertex/Tesselator;F)Lcom/mojang/blaze3d/vertex/MeshData; ARG 1 tesselator ARG 2 y + METHOD buildSkyDisc (Lcom/mojang/blaze3d/vertex/VertexConsumer;F)V + ARG 1 buffer + ARG 2 y + METHOD buildStars (Lcom/mojang/blaze3d/vertex/VertexConsumer;)V + ARG 1 buffer METHOD drawStars (Lcom/mojang/blaze3d/vertex/Tesselator;)Lcom/mojang/blaze3d/vertex/MeshData; ARG 1 tesselator + METHOD lambda$new$0 (Lcom/mojang/blaze3d/vertex/VertexConsumer;)V + ARG 1 buffer + METHOD lambda$new$1 (Lcom/mojang/blaze3d/vertex/VertexConsumer;)V + ARG 1 buffer METHOD renderDarkDisc (Lcom/mojang/blaze3d/vertex/PoseStack;)V ARG 1 poseStack METHOD renderEndSky (Lcom/mojang/blaze3d/vertex/PoseStack;)V @@ -13,6 +24,11 @@ CLASS net/minecraft/client/renderer/SkyRenderer ARG 2 alpha ARG 3 tesselator ARG 4 poseStack + METHOD renderMoon (IFLnet/minecraft/client/renderer/MultiBufferSource;Lcom/mojang/blaze3d/vertex/PoseStack;)V + ARG 1 phase + ARG 2 alpha + ARG 3 bufferSource + ARG 4 poseStack METHOD renderSkyDisc (FFF)V ARG 1 red ARG 2 green @@ -25,6 +41,10 @@ CLASS net/minecraft/client/renderer/SkyRenderer ARG 1 alpha ARG 2 tesselator ARG 3 poseStack + METHOD renderSun (FLnet/minecraft/client/renderer/MultiBufferSource;Lcom/mojang/blaze3d/vertex/PoseStack;)V + ARG 1 alpha + ARG 2 bufferSource + ARG 3 poseStack METHOD renderSunMoonAndStars (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/Tesselator;FIFFLnet/minecraft/client/renderer/FogParameters;)V ARG 1 poseStack ARG 2 tesselator @@ -33,8 +53,21 @@ CLASS net/minecraft/client/renderer/SkyRenderer ARG 5 rainLevel ARG 6 starBrightness ARG 7 fog + METHOD renderSunMoonAndStars (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;FIFFLnet/minecraft/client/renderer/FogParameters;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 timeOfDay + ARG 4 moonPhase + ARG 5 rainLevel + ARG 6 starBrightness + ARG 7 fog METHOD renderSunriseAndSunset (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/Tesselator;FI)V ARG 1 poseStack ARG 2 tesselator ARG 3 sunAngle ARG 4 color + METHOD renderSunriseAndSunset (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource$BufferSource;FI)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 sunAngle + ARG 4 color diff --git a/data/net/minecraft/client/renderer/SpecialBlockModelRenderer.mapping b/data/net/minecraft/client/renderer/SpecialBlockModelRenderer.mapping new file mode 100644 index 000000000..2c7473e10 --- /dev/null +++ b/data/net/minecraft/client/renderer/SpecialBlockModelRenderer.mapping @@ -0,0 +1,12 @@ +CLASS net/minecraft/client/renderer/SpecialBlockModelRenderer + METHOD (Ljava/util/Map;)V + ARG 1 renderers + METHOD renderByBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/ItemDisplayContext;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V + ARG 1 block + ARG 2 displayContext + ARG 3 poseStack + ARG 4 bufferSource + ARG 5 packedLight + ARG 6 packedOverlay + METHOD vanilla (Lnet/minecraft/client/model/geom/EntityModelSet;)Lnet/minecraft/client/renderer/SpecialBlockModelRenderer; + ARG 0 modelSet diff --git a/data/net/minecraft/client/renderer/WeatherEffectRenderer.mapping b/data/net/minecraft/client/renderer/WeatherEffectRenderer.mapping index 2d6edc091..d16d05d5f 100644 --- a/data/net/minecraft/client/renderer/WeatherEffectRenderer.mapping +++ b/data/net/minecraft/client/renderer/WeatherEffectRenderer.mapping @@ -35,12 +35,25 @@ CLASS net/minecraft/client/renderer/WeatherEffectRenderer ARG 4 rainLevel ARG 5 rainColumnInstances ARG 6 snowCoiumnInstances + METHOD render (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/world/phys/Vec3;IFLjava/util/List;Ljava/util/List;)V + ARG 1 bufferSource + ARG 2 cameraPosition + ARG 3 radius + ARG 4 rainLevel + ARG 5 rainColumnInstances + ARG 6 snowColumnInstances METHOD render (Lnet/minecraft/world/level/Level;Lnet/minecraft/client/renderer/LightTexture;IFLnet/minecraft/world/phys/Vec3;)V ARG 1 level ARG 2 lightTexture ARG 3 ticks ARG 4 partialTick ARG 5 cameraPosition + METHOD render (Lnet/minecraft/world/level/Level;Lnet/minecraft/client/renderer/MultiBufferSource;IFLnet/minecraft/world/phys/Vec3;)V + ARG 1 level + ARG 2 bufferSource + ARG 3 ticks + ARG 4 partialTick + ARG 5 cameraPosition METHOD renderInstances (Lcom/mojang/blaze3d/vertex/Tesselator;Ljava/util/List;Lnet/minecraft/world/phys/Vec3;FIF)V ARG 1 tesselator ARG 2 instances @@ -48,6 +61,13 @@ CLASS net/minecraft/client/renderer/WeatherEffectRenderer ARG 4 amount ARG 5 radius ARG 6 rainLevel + METHOD renderInstances (Lcom/mojang/blaze3d/vertex/VertexConsumer;Ljava/util/List;Lnet/minecraft/world/phys/Vec3;FIF)V + ARG 1 buffer + ARG 2 columnInstances + ARG 3 cameraPosition + ARG 4 amount + ARG 5 radius + ARG 6 rainLevel METHOD tickRainParticles (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/client/Camera;ILnet/minecraft/server/level/ParticleStatus;)V ARG 1 level ARG 2 camera diff --git a/data/net/minecraft/client/renderer/block/BlockRenderDispatcher.mapping b/data/net/minecraft/client/renderer/block/BlockRenderDispatcher.mapping index 0d14ea658..6c93bfb05 100644 --- a/data/net/minecraft/client/renderer/block/BlockRenderDispatcher.mapping +++ b/data/net/minecraft/client/renderer/block/BlockRenderDispatcher.mapping @@ -1,4 +1,8 @@ CLASS net/minecraft/client/renderer/block/BlockRenderDispatcher + METHOD (Lnet/minecraft/client/renderer/block/BlockModelShaper;Ljava/util/function/Supplier;Lnet/minecraft/client/color/block/BlockColors;)V + ARG 1 blockModelShaper + ARG 2 specialBlockModelRenderer + ARG 3 blockColors METHOD (Lnet/minecraft/client/renderer/block/BlockModelShaper;Lnet/minecraft/client/renderer/BlockEntityWithoutLevelRenderer;Lnet/minecraft/client/color/block/BlockColors;)V ARG 1 blockModelShaper ARG 2 blockEntityRenderer diff --git a/data/net/minecraft/client/renderer/block/model/BlockModel.mapping b/data/net/minecraft/client/renderer/block/model/BlockModel.mapping index ff4d96169..800babcdb 100644 --- a/data/net/minecraft/client/renderer/block/model/BlockModel.mapping +++ b/data/net/minecraft/client/renderer/block/model/BlockModel.mapping @@ -7,6 +7,13 @@ CLASS net/minecraft/client/renderer/block/model/BlockModel ARG 5 guiLight ARG 6 transforms ARG 7 overrides + METHOD (Lnet/minecraft/resources/ResourceLocation;Ljava/util/List;Lnet/minecraft/client/renderer/block/model/TextureSlots$Data;Ljava/lang/Boolean;Lnet/minecraft/client/resources/model/UnbakedModel$GuiLight;Lnet/minecraft/client/renderer/block/model/ItemTransforms;)V + ARG 1 parentLocation + ARG 2 elements + ARG 3 textureSlots + ARG 4 hasAmbientOcclusion + ARG 5 guiLight + ARG 6 transforms METHOD bake (Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;Z)Lnet/minecraft/client/resources/model/BakedModel; ARG 1 spriteGetter ARG 2 state @@ -51,6 +58,8 @@ CLASS net/minecraft/client/renderer/block/model/BlockModel ARG 1 json METHOD getTextureMap (Lcom/google/gson/JsonObject;)Ljava/util/Map; ARG 1 json + METHOD getTextureMap (Lcom/google/gson/JsonObject;)Lnet/minecraft/client/renderer/block/model/TextureSlots$Data; + ARG 1 json METHOD parseTextureLocationOrReference (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Lcom/mojang/datafixers/util/Either; ARG 0 location ARG 1 name diff --git a/data/net/minecraft/client/renderer/block/model/FaceBakery.mapping b/data/net/minecraft/client/renderer/block/model/FaceBakery.mapping index 5f5870592..beeb6dda0 100644 --- a/data/net/minecraft/client/renderer/block/model/FaceBakery.mapping +++ b/data/net/minecraft/client/renderer/block/model/FaceBakery.mapping @@ -1,11 +1,11 @@ CLASS net/minecraft/client/renderer/block/model/FaceBakery METHOD applyElementRotation (Lorg/joml/Vector3f;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;)V - ARG 1 vec - ARG 2 partRotation + ARG 0 vec + ARG 1 partRotation METHOD applyModelRotation (Lorg/joml/Vector3f;Lcom/mojang/math/Transformation;)V - ARG 1 pos - ARG 2 transform - METHOD bakeQuad (Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lnet/minecraft/client/renderer/block/model/BlockElementFace;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;ZI)Lnet/minecraft/client/renderer/block/model/BakedQuad; + ARG 0 pos + ARG 1 transform + METHOD bakeQuad (Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lnet/minecraft/client/renderer/block/model/BlockElementFace;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;Z)Lnet/minecraft/client/renderer/block/model/BakedQuad; ARG 1 posFrom ARG 2 posTo ARG 3 face @@ -14,43 +14,70 @@ CLASS net/minecraft/client/renderer/block/model/FaceBakery ARG 6 transform ARG 7 rotation ARG 8 shade - ARG 9 lightEmission + METHOD bakeQuad (Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lnet/minecraft/client/renderer/block/model/BlockElementFace;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/ModelState;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;ZI)Lnet/minecraft/client/renderer/block/model/BakedQuad; + ARG 0 posFrom + ARG 1 posTo + ARG 2 face + ARG 3 sprite + ARG 4 facing + ARG 5 transform + ARG 6 rotation + ARG 7 shade + ARG 8 lightEmission METHOD bakeVertex ([IILnet/minecraft/core/Direction;Lnet/minecraft/client/renderer/block/model/BlockFaceUV;[FLnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lcom/mojang/math/Transformation;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;)V + ARG 0 vertexData + ARG 1 vertexIndex + ARG 2 facing + ARG 3 blockFaceUV + ARG 4 posDiv16 + ARG 5 sprite + ARG 6 transformation + ARG 7 partRotation + METHOD bakeVertex ([IILnet/minecraft/core/Direction;Lnet/minecraft/client/renderer/block/model/BlockFaceUV;[FLnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lcom/mojang/math/Transformation;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;Z)V ARG 1 vertexData ARG 2 vertexIndex ARG 3 facing ARG 4 blockFaceUV ARG 5 posDiv16 ARG 6 sprite - ARG 7 transformation + ARG 7 rotation ARG 8 partRotation + ARG 9 shade METHOD calculateFacing ([I)Lnet/minecraft/core/Direction; ARG 0 faceData METHOD fillVertex ([IILorg/joml/Vector3f;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/client/renderer/block/model/BlockFaceUV;)V - ARG 1 vertexData - ARG 2 vertexIndex - ARG 3 vector - ARG 4 sprite - ARG 5 blockFaceUV + ARG 0 vertexData + ARG 1 vertexIndex + ARG 2 vector + ARG 3 sprite + ARG 4 blockFaceUV METHOD makeVertices (Lnet/minecraft/client/renderer/block/model/BlockFaceUV;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;[FLcom/mojang/math/Transformation;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;)[I - ARG 1 uvs - ARG 2 sprite - ARG 3 orientation - ARG 4 posDiv16 - ARG 5 transformation - ARG 6 partRotation + ARG 0 uvs + ARG 1 sprite + ARG 2 orientation + ARG 3 posDiv16 + ARG 4 transformation + ARG 5 partRotation + METHOD makeVertices (Lnet/minecraft/client/renderer/block/model/BlockFaceUV;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;[FLcom/mojang/math/Transformation;Lnet/minecraft/client/renderer/block/model/BlockElementRotation;Z)[I + ARG 0 uvs + ARG 1 sprite + ARG 2 orientation + ARG 3 posDiv16 + ARG 4 rotation + ARG 5 partRotation + ARG 6 shade METHOD recalculateWinding ([ILnet/minecraft/core/Direction;)V - ARG 1 vertices - ARG 2 direction + ARG 0 vertices + ARG 1 direction METHOD recomputeUVs (Lnet/minecraft/client/renderer/block/model/BlockFaceUV;Lnet/minecraft/core/Direction;Lcom/mojang/math/Transformation;)Lnet/minecraft/client/renderer/block/model/BlockFaceUV; ARG 0 uv ARG 1 facing ARG 2 rotation METHOD rotateVertexBy (Lorg/joml/Vector3f;Lorg/joml/Vector3f;Lorg/joml/Matrix4f;Lorg/joml/Vector3f;)V - ARG 1 pos - ARG 2 origin - ARG 3 transform - ARG 4 scale + ARG 0 pos + ARG 1 origin + ARG 2 transform + ARG 3 scale METHOD setupShape (Lorg/joml/Vector3f;Lorg/joml/Vector3f;)[F - ARG 1 min - ARG 2 max + ARG 0 min + ARG 1 max diff --git a/data/net/minecraft/client/renderer/block/model/ItemModelGenerator.mapping b/data/net/minecraft/client/renderer/block/model/ItemModelGenerator.mapping index a9fcdbb6d..c88dfca51 100644 --- a/data/net/minecraft/client/renderer/block/model/ItemModelGenerator.mapping +++ b/data/net/minecraft/client/renderer/block/model/ItemModelGenerator.mapping @@ -1,4 +1,11 @@ CLASS net/minecraft/client/renderer/block/model/ItemModelGenerator + METHOD bake (Lnet/minecraft/client/renderer/block/model/TextureSlots;Lnet/minecraft/client/resources/model/SpriteGetter;Lnet/minecraft/client/resources/model/ModelState;ZZLnet/minecraft/client/renderer/block/model/ItemTransforms;)Lnet/minecraft/client/resources/model/BakedModel; + ARG 1 textureSlots + ARG 2 spriteGetter + ARG 3 modelState + ARG 4 hasAmbientOcclusion + ARG 5 useBlockLight + ARG 6 transforms METHOD checkTransition (Lnet/minecraft/client/renderer/block/model/ItemModelGenerator$SpanFacing;Ljava/util/List;Lnet/minecraft/client/renderer/texture/SpriteContents;IIIIIZ)V ARG 1 spanFacing ARG 2 listSpans diff --git a/data/net/minecraft/client/renderer/block/model/TextureSlots.mapping b/data/net/minecraft/client/renderer/block/model/TextureSlots.mapping new file mode 100644 index 000000000..81fd6643d --- /dev/null +++ b/data/net/minecraft/client/renderer/block/model/TextureSlots.mapping @@ -0,0 +1,30 @@ +CLASS net/minecraft/client/renderer/block/model/TextureSlots + METHOD (Ljava/util/Map;)V + ARG 1 resolvedValues + METHOD getMaterial (Ljava/lang/String;)Lnet/minecraft/client/resources/model/Material; + ARG 1 name + METHOD isTextureReference (Ljava/lang/String;)Z + ARG 0 name + METHOD parseEntry (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/client/renderer/block/model/TextureSlots$Data$Builder;)V + ARG 0 atlas + ARG 1 name + ARG 2 material + ARG 3 builder + METHOD parseTextureMap (Lcom/google/gson/JsonObject;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/block/model/TextureSlots$Data; + ARG 0 json + ARG 1 atlas + CLASS Data + CLASS Builder + METHOD addReference (Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/renderer/block/model/TextureSlots$Data$Builder; + ARG 1 name + ARG 2 material + METHOD addTexture (Ljava/lang/String;Lnet/minecraft/client/resources/model/Material;)Lnet/minecraft/client/renderer/block/model/TextureSlots$Data$Builder; + ARG 1 name + ARG 2 material + CLASS Resolver + METHOD addFirst (Lnet/minecraft/client/renderer/block/model/TextureSlots$Data;)Lnet/minecraft/client/renderer/block/model/TextureSlots$Resolver; + ARG 1 data + METHOD addLast (Lnet/minecraft/client/renderer/block/model/TextureSlots$Data;)Lnet/minecraft/client/renderer/block/model/TextureSlots$Resolver; + ARG 1 data + METHOD resolve (Lnet/minecraft/client/resources/model/ModelDebugName;)Lnet/minecraft/client/renderer/block/model/TextureSlots; + ARG 1 name diff --git a/data/net/minecraft/client/renderer/block/model/UnbakedBlockStateModel.mapping b/data/net/minecraft/client/renderer/block/model/UnbakedBlockStateModel.mapping index c189c33ab..64e8b05de 100644 --- a/data/net/minecraft/client/renderer/block/model/UnbakedBlockStateModel.mapping +++ b/data/net/minecraft/client/renderer/block/model/UnbakedBlockStateModel.mapping @@ -1,3 +1,5 @@ CLASS net/minecraft/client/renderer/block/model/UnbakedBlockStateModel + METHOD bake (Lnet/minecraft/client/resources/model/ModelBaker;)Lnet/minecraft/client/resources/model/BakedModel; + ARG 1 baker METHOD visualEqualityGroup (Lnet/minecraft/world/level/block/state/BlockState;)Ljava/lang/Object; ARG 1 state diff --git a/data/net/minecraft/client/renderer/blockentity/AbstractSignRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/AbstractSignRenderer.mapping new file mode 100644 index 000000000..7c80b6475 --- /dev/null +++ b/data/net/minecraft/client/renderer/blockentity/AbstractSignRenderer.mapping @@ -0,0 +1,49 @@ +CLASS net/minecraft/client/renderer/blockentity/AbstractSignRenderer + METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;)V + ARG 1 context + METHOD getDarkColor (Lnet/minecraft/world/level/block/entity/SignText;)I + ARG 0 text + METHOD getSignMaterial (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/resources/model/Material; + ARG 1 woodType + METHOD getSignModel (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/model/Model; + ARG 1 state + ARG 2 woodType + METHOD isOutlineVisible (Lnet/minecraft/core/BlockPos;I)Z + ARG 0 pos + ARG 1 color + METHOD lambda$renderSignText$0 (ILnet/minecraft/network/chat/Component;)Lnet/minecraft/util/FormattedCharSequence; + ARG 2 component + METHOD renderSign (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/world/level/block/state/properties/WoodType;Lnet/minecraft/client/model/Model;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 woodType + ARG 6 model + METHOD renderSignText (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/SignText;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IIIZ)V + ARG 1 pos + ARG 2 text + ARG 3 poseStack + ARG 4 bufferSource + ARG 5 packedLight + ARG 6 lineHeight + ARG 7 maxLineWidth + ARG 8 isFront + METHOD renderSignWithText (Lnet/minecraft/world/level/block/entity/SignBlockEntity;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/SignBlock;Lnet/minecraft/world/level/block/state/properties/WoodType;Lnet/minecraft/client/model/Model;)V + ARG 1 blockEntity + ARG 2 poseStack + ARG 3 bufferSource + ARG 4 packedLight + ARG 5 packedOverlay + ARG 6 state + ARG 7 sign + ARG 8 woodType + ARG 9 model + METHOD translateSign (Lcom/mojang/blaze3d/vertex/PoseStack;FLnet/minecraft/world/level/block/state/BlockState;)V + ARG 1 poseStack + ARG 2 yRot + ARG 3 state + METHOD translateSignText (Lcom/mojang/blaze3d/vertex/PoseStack;ZLnet/minecraft/world/phys/Vec3;)V + ARG 1 poseStack + ARG 2 isFront + ARG 3 offset diff --git a/data/net/minecraft/client/renderer/blockentity/BannerRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/BannerRenderer.mapping index b84291a44..904aeca4b 100644 --- a/data/net/minecraft/client/renderer/blockentity/BannerRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/BannerRenderer.mapping @@ -1,6 +1,26 @@ CLASS net/minecraft/client/renderer/blockentity/BannerRenderer + METHOD (Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 modelSet METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;)V ARG 1 context + METHOD renderBanner (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IIFLnet/minecraft/client/model/BannerModel;Lnet/minecraft/client/model/BannerFlagModel;FLnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/entity/BannerPatternLayers;)V + ARG 0 poseStack + ARG 1 bufferSource + ARG 2 packedLight + ARG 3 packedOverlay + ARG 4 rotation + ARG 5 standingModel + ARG 6 standingFlagModel + ARG 7 angle + ARG 8 baseColor + ARG 9 patterns + METHOD renderInHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/level/block/entity/BannerPatternLayers;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 baseColor + ARG 6 patterns METHOD renderPatternLayer (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/model/geom/ModelPart;Lnet/minecraft/client/resources/model/Material;Lnet/minecraft/world/item/DyeColor;)V ARG 0 poseStack ARG 1 buffer diff --git a/data/net/minecraft/client/renderer/blockentity/BedRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/BedRenderer.mapping index 35213d419..37c41fa57 100644 --- a/data/net/minecraft/client/renderer/blockentity/BedRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/BedRenderer.mapping @@ -1,9 +1,17 @@ CLASS net/minecraft/client/renderer/blockentity/BedRenderer + METHOD (Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 modelSet METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;)V ARG 1 context METHOD lambda$render$0 (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z ARG 0 levelAccessor ARG 1 pos + METHOD renderInHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/resources/model/Material;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 material METHOD renderPiece (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/model/Model;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/Material;IIZ)V ARG 1 poseStack ARG 2 bufferSource diff --git a/data/net/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher.mapping b/data/net/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher.mapping index a26b6574c..12358ca32 100644 --- a/data/net/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher.mapping +++ b/data/net/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher.mapping @@ -1,4 +1,11 @@ CLASS net/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher + METHOD (Lnet/minecraft/client/gui/Font;Ljava/util/function/Supplier;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/client/renderer/item/ItemModelResolver;Lnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;)V + ARG 1 font + ARG 2 entityModelSet + ARG 3 blockRenderDispatcher + ARG 4 itemModelResolver + ARG 5 itemRenderer + ARG 6 entityRenderer METHOD (Lnet/minecraft/client/gui/Font;Lnet/minecraft/client/model/geom/EntityModelSet;Ljava/util/function/Supplier;Ljava/util/function/Supplier;Ljava/util/function/Supplier;)V ARG 1 font ARG 2 entityModelSet diff --git a/data/net/minecraft/client/renderer/blockentity/BlockEntityRendererProvider.mapping b/data/net/minecraft/client/renderer/blockentity/BlockEntityRendererProvider.mapping index 28f3caf54..e43c64d6d 100644 --- a/data/net/minecraft/client/renderer/blockentity/BlockEntityRendererProvider.mapping +++ b/data/net/minecraft/client/renderer/blockentity/BlockEntityRendererProvider.mapping @@ -9,5 +9,13 @@ CLASS net/minecraft/client/renderer/blockentity/BlockEntityRendererProvider ARG 4 entityRenderer ARG 5 modelSet ARG 6 font + METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/client/renderer/item/ItemModelResolver;Lnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/gui/Font;)V + ARG 1 blockEntityRenderDispatcher + ARG 2 blockRenderDispatcher + ARG 3 itemModelResolver + ARG 4 itemRenderer + ARG 5 entityRenderer + ARG 6 modelSet + ARG 7 font METHOD bakeLayer (Lnet/minecraft/client/model/geom/ModelLayerLocation;)Lnet/minecraft/client/model/geom/ModelPart; ARG 1 layerLocation diff --git a/data/net/minecraft/client/renderer/blockentity/DecoratedPotRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/DecoratedPotRenderer.mapping index 414d6dfd5..83cc71fe7 100644 --- a/data/net/minecraft/client/renderer/blockentity/DecoratedPotRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/DecoratedPotRenderer.mapping @@ -1,8 +1,22 @@ CLASS net/minecraft/client/renderer/blockentity/DecoratedPotRenderer + METHOD (Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 modelSet METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;)V ARG 1 context METHOD getSideMaterial (Ljava/util/Optional;)Lnet/minecraft/client/resources/model/Material; ARG 0 item + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/world/level/block/entity/PotDecorations;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 decorations + METHOD renderInHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/world/level/block/entity/PotDecorations;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 decorations METHOD renderSide (Lnet/minecraft/client/model/geom/ModelPart;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/resources/model/Material;)V ARG 1 modelPart ARG 2 poseStack diff --git a/data/net/minecraft/client/renderer/blockentity/HangingSignRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/HangingSignRenderer.mapping index db587ef34..a8ef6457c 100644 --- a/data/net/minecraft/client/renderer/blockentity/HangingSignRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/HangingSignRenderer.mapping @@ -1,4 +1,29 @@ CLASS net/minecraft/client/renderer/blockentity/HangingSignRenderer + METHOD createHangingSignLayer (Lnet/minecraft/client/renderer/blockentity/HangingSignRenderer$AttachmentType;)Lnet/minecraft/client/model/geom/builders/LayerDefinition; + ARG 0 attachmentType + METHOD createSignModel (Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/world/level/block/state/properties/WoodType;Lnet/minecraft/client/renderer/blockentity/HangingSignRenderer$AttachmentType;)Lnet/minecraft/client/model/Model; + ARG 0 modelSet + ARG 1 woodType + ARG 2 attachmentType + METHOD lambda$new$0 (Lnet/minecraft/world/level/block/state/properties/WoodType;Lnet/minecraft/client/renderer/blockentity/HangingSignRenderer$AttachmentType;)Lnet/minecraft/client/renderer/blockentity/HangingSignRenderer$ModelKey; + ARG 1 attachmentType + METHOD lambda$new$1 (Lnet/minecraft/world/level/block/state/properties/WoodType;)Ljava/util/stream/Stream; + ARG 0 woodType + METHOD renderInHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/model/Model;Lnet/minecraft/client/resources/model/Material;)V + ARG 0 poseStack + ARG 1 bufferSource + ARG 2 packedLight + ARG 3 packedOverlay + ARG 4 model + ARG 5 material + METHOD translateBase (Lcom/mojang/blaze3d/vertex/PoseStack;F)V + ARG 0 poseStack + ARG 1 yRot + CLASS AttachmentType + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 name + METHOD byBlockState (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/client/renderer/blockentity/HangingSignRenderer$AttachmentType; + ARG 0 blockState CLASS HangingSignModel METHOD (Lnet/minecraft/client/model/geom/ModelPart;)V ARG 1 root diff --git a/data/net/minecraft/client/renderer/blockentity/ShulkerBoxRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/ShulkerBoxRenderer.mapping index 42614593d..77105220b 100644 --- a/data/net/minecraft/client/renderer/blockentity/ShulkerBoxRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/ShulkerBoxRenderer.mapping @@ -1,9 +1,21 @@ CLASS net/minecraft/client/renderer/blockentity/ShulkerBoxRenderer + METHOD (Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 modelSet METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;)V ARG 1 context + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/core/Direction;FLnet/minecraft/client/resources/model/Material;)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 facing + ARG 6 progress + ARG 7 material CLASS ShulkerBoxModel METHOD (Lnet/minecraft/client/model/geom/ModelPart;)V ARG 1 root + METHOD animate (F)V + ARG 1 progress METHOD animate (Lnet/minecraft/world/level/block/entity/ShulkerBoxBlockEntity;F)V ARG 1 blockEntity ARG 2 partialTick diff --git a/data/net/minecraft/client/renderer/blockentity/SignRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/SignRenderer.mapping index b177018a3..337f2c8b4 100644 --- a/data/net/minecraft/client/renderer/blockentity/SignRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/SignRenderer.mapping @@ -16,6 +16,17 @@ CLASS net/minecraft/client/renderer/blockentity/SignRenderer ARG 1 textColor METHOD lambda$new$0 (Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/world/level/block/state/properties/WoodType; ARG 0 woodType + METHOD lambda$new$1 (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/renderer/blockentity/SignRenderer$Models; + ARG 1 woodType + METHOD lambda$new$1 (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;Lnet/minecraft/world/level/block/state/properties/WoodType;)Lnet/minecraft/client/renderer/blockentity/SignRenderer$SignModel; + ARG 1 woodType + METHOD renderInHand (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/model/Model;Lnet/minecraft/client/resources/model/Material;)V + ARG 0 poseStack + ARG 1 bufferSource + ARG 2 packedLight + ARG 3 packedOverlay + ARG 4 model + ARG 5 material METHOD renderSign (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/world/level/block/state/properties/WoodType;Lnet/minecraft/client/model/Model;)V ARG 1 poseStack ARG 2 buffer @@ -42,6 +53,9 @@ CLASS net/minecraft/client/renderer/blockentity/SignRenderer ARG 7 signBlock ARG 8 woodType ARG 9 model + METHOD translateBase (Lcom/mojang/blaze3d/vertex/PoseStack;F)V + ARG 0 poseStack + ARG 1 yRot METHOD translateSign (Lcom/mojang/blaze3d/vertex/PoseStack;FLnet/minecraft/world/level/block/state/BlockState;)V ARG 1 poseStack ARG 2 yRot diff --git a/data/net/minecraft/client/renderer/blockentity/SkullBlockRenderer.mapping b/data/net/minecraft/client/renderer/blockentity/SkullBlockRenderer.mapping index c0c07d046..b95b95a09 100644 --- a/data/net/minecraft/client/renderer/blockentity/SkullBlockRenderer.mapping +++ b/data/net/minecraft/client/renderer/blockentity/SkullBlockRenderer.mapping @@ -1,11 +1,20 @@ CLASS net/minecraft/client/renderer/blockentity/SkullBlockRenderer METHOD (Lnet/minecraft/client/renderer/blockentity/BlockEntityRendererProvider$Context;)V ARG 1 context + METHOD createModel (Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/world/level/block/SkullBlock$Type;)Lnet/minecraft/client/model/SkullModelBase; + ARG 0 modelSet + ARG 1 type METHOD createSkullRenderers (Lnet/minecraft/client/model/geom/EntityModelSet;)Ljava/util/Map; ARG 0 entityModelSet METHOD getRenderType (Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/world/item/component/ResolvableProfile;)Lnet/minecraft/client/renderer/RenderType; ARG 0 type ARG 1 profile + METHOD getRenderType (Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/world/item/component/ResolvableProfile;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/RenderType; + ARG 0 type + ARG 1 profile + ARG 2 textureOverride + METHOD lambda$new$1 (Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/world/level/block/SkullBlock$Type;)Lnet/minecraft/client/model/SkullModelBase; + ARG 1 type METHOD lambda$static$0 (Ljava/util/HashMap;)V ARG 0 skinByType METHOD renderSkull (Lnet/minecraft/core/Direction;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/model/SkullModelBase;Lnet/minecraft/client/renderer/RenderType;)V diff --git a/data/net/minecraft/client/renderer/entity/AbstractHorseRenderer.mapping b/data/net/minecraft/client/renderer/entity/AbstractHorseRenderer.mapping new file mode 100644 index 000000000..22f6258e7 --- /dev/null +++ b/data/net/minecraft/client/renderer/entity/AbstractHorseRenderer.mapping @@ -0,0 +1,13 @@ +CLASS net/minecraft/client/renderer/entity/AbstractHorseRenderer + METHOD (Lnet/minecraft/client/renderer/entity/EntityRendererProvider$Context;Lnet/minecraft/client/model/EntityModel;Lnet/minecraft/client/model/EntityModel;)V + ARG 1 context + ARG 2 adultModel + ARG 3 babyModel + METHOD (Lnet/minecraft/client/renderer/entity/EntityRendererProvider$Context;Lnet/minecraft/client/model/HorseModel;F)V + ARG 1 context + ARG 2 model + ARG 3 scale + METHOD scale (Lnet/minecraft/world/entity/animal/horse/AbstractHorse;Lcom/mojang/blaze3d/vertex/PoseStack;F)V + ARG 1 livingEntity + ARG 2 poseStack + ARG 3 partialTickTime diff --git a/data/net/minecraft/client/renderer/entity/DonkeyRenderer.mapping b/data/net/minecraft/client/renderer/entity/DonkeyRenderer.mapping index 8a7b3e67f..7646c4679 100644 --- a/data/net/minecraft/client/renderer/entity/DonkeyRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/DonkeyRenderer.mapping @@ -5,3 +5,8 @@ CLASS net/minecraft/client/renderer/entity/DonkeyRenderer ARG 3 adultModelLayer ARG 4 babyModelLayer ARG 5 mule + METHOD (Lnet/minecraft/client/renderer/entity/EntityRendererProvider$Context;Lnet/minecraft/client/model/geom/ModelLayerLocation;Lnet/minecraft/client/model/geom/ModelLayerLocation;Z)V + ARG 1 context + ARG 2 adultModel + ARG 3 babyModel + ARG 4 isMule diff --git a/data/net/minecraft/client/renderer/entity/EntityRenderDispatcher.mapping b/data/net/minecraft/client/renderer/entity/EntityRenderDispatcher.mapping index d26aeab84..617179964 100644 --- a/data/net/minecraft/client/renderer/entity/EntityRenderDispatcher.mapping +++ b/data/net/minecraft/client/renderer/entity/EntityRenderDispatcher.mapping @@ -11,6 +11,25 @@ CLASS net/minecraft/client/renderer/entity/EntityRenderDispatcher ARG 7 options ARG 8 entityModels ARG 9 equipmentModels + METHOD (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/client/gui/Font;Lnet/minecraft/client/Options;Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 minecraft + ARG 2 textureManager + ARG 3 itemRenderer + ARG 4 blockRenderDispatcher + ARG 5 font + ARG 6 options + ARG 7 entityModels + METHOD (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/client/renderer/item/ItemModelResolver;Lnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/client/renderer/MapRenderer;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/client/gui/Font;Lnet/minecraft/client/Options;Ljava/util/function/Supplier;Lnet/minecraft/client/resources/model/EquipmentAssetManager;)V + ARG 1 minecraft + ARG 2 textureManager + ARG 3 itemModelResolver + ARG 4 itemRenderer + ARG 5 mapRenderer + ARG 6 blockRenderDispatcher + ARG 7 font + ARG 8 options + ARG 9 entityModels + ARG 10 equipmentModels METHOD distanceToSqr (DDD)D ARG 1 x ARG 3 y diff --git a/data/net/minecraft/client/renderer/entity/EntityRenderer.mapping b/data/net/minecraft/client/renderer/entity/EntityRenderer.mapping index dc3454ad6..000c46356 100644 --- a/data/net/minecraft/client/renderer/entity/EntityRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/EntityRenderer.mapping @@ -42,6 +42,10 @@ CLASS net/minecraft/client/renderer/entity/EntityRenderer ARG 1 renderState METHOD getShadowRadius (Lnet/minecraft/client/renderer/entity/state/EntityRenderState;)F ARG 1 renderState + METHOD getShadowRadius (Lnet/minecraft/world/entity/Entity;)F + ARG 1 entity + METHOD getShadowStrength (Lnet/minecraft/client/renderer/entity/state/EntityRenderState;)F + ARG 1 renderState METHOD getSkyLightLevel (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/BlockPos;)I ARG 1 entity ARG 2 pos diff --git a/data/net/minecraft/client/renderer/entity/EntityRendererProvider.mapping b/data/net/minecraft/client/renderer/entity/EntityRendererProvider.mapping index 39cb9095a..37f102d94 100644 --- a/data/net/minecraft/client/renderer/entity/EntityRendererProvider.mapping +++ b/data/net/minecraft/client/renderer/entity/EntityRendererProvider.mapping @@ -11,5 +11,22 @@ CLASS net/minecraft/client/renderer/entity/EntityRendererProvider ARG 6 modelSet ARG 7 equipmentModels ARG 8 font + METHOD (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/renderer/entity/ItemRenderer;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/client/renderer/ItemInHandRenderer;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/gui/Font;)V + ARG 1 entityRenderDispatcher + ARG 2 itemRenderer + ARG 3 blockRenderDispatcher + ARG 4 itemInHandRenderer + ARG 5 resourceManager + ARG 6 modelSet + ARG 7 font + METHOD (Lnet/minecraft/client/renderer/entity/EntityRenderDispatcher;Lnet/minecraft/client/renderer/item/ItemModelResolver;Lnet/minecraft/client/renderer/MapRenderer;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/resources/model/EquipmentAssetManager;Lnet/minecraft/client/gui/Font;)V + ARG 1 entityRenderDispatcher + ARG 2 itemModelResolver + ARG 3 mapRenderer + ARG 4 blockRenderDispatcher + ARG 5 resourceManager + ARG 6 modelSet + ARG 7 equipmentAssets + ARG 8 font METHOD bakeLayer (Lnet/minecraft/client/model/geom/ModelLayerLocation;)Lnet/minecraft/client/model/geom/ModelPart; ARG 1 layer diff --git a/data/net/minecraft/client/renderer/entity/FishingHookRenderer.mapping b/data/net/minecraft/client/renderer/entity/FishingHookRenderer.mapping index a9918108b..476b3a24a 100644 --- a/data/net/minecraft/client/renderer/entity/FishingHookRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/FishingHookRenderer.mapping @@ -2,6 +2,8 @@ CLASS net/minecraft/client/renderer/entity/FishingHookRenderer METHOD fraction (II)F ARG 0 numerator ARG 1 denominator + METHOD getHoldingArm (Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/entity/HumanoidArm; + ARG 0 player METHOD getPlayerHandPos (Lnet/minecraft/world/entity/player/Player;FF)Lnet/minecraft/world/phys/Vec3; ARG 1 player ARG 2 handAngle diff --git a/data/net/minecraft/client/renderer/entity/HumanoidMobRenderer.mapping b/data/net/minecraft/client/renderer/entity/HumanoidMobRenderer.mapping index 9064557a1..cfaf4119d 100644 --- a/data/net/minecraft/client/renderer/entity/HumanoidMobRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/HumanoidMobRenderer.mapping @@ -18,5 +18,16 @@ CLASS net/minecraft/client/renderer/entity/HumanoidMobRenderer ARG 0 entity ARG 1 reusedState ARG 2 partialTick + METHOD extractHumanoidRenderState (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/client/renderer/entity/state/HumanoidRenderState;FLnet/minecraft/client/renderer/item/ItemModelResolver;)V + ARG 0 entity + ARG 1 reusedState + ARG 2 partialTick + ARG 3 itemModelResolver + METHOD getArmPose (Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/HumanoidArm;)Lnet/minecraft/client/model/HumanoidModel$ArmPose; + ARG 1 mob + ARG 2 arm METHOD getAttackArm (Lnet/minecraft/world/entity/LivingEntity;)Lnet/minecraft/world/entity/HumanoidArm; ARG 0 entity + METHOD getEquipmentIfRenderable (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/EquipmentSlot;)Lnet/minecraft/world/item/ItemStack; + ARG 0 entity + ARG 1 slot diff --git a/data/net/minecraft/client/renderer/entity/ItemEntityRenderer.mapping b/data/net/minecraft/client/renderer/entity/ItemEntityRenderer.mapping index 884e2f53e..3a0adbf75 100644 --- a/data/net/minecraft/client/renderer/entity/ItemEntityRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/ItemEntityRenderer.mapping @@ -3,6 +3,22 @@ CLASS net/minecraft/client/renderer/entity/ItemEntityRenderer ARG 0 count METHOD getSeedForItemStack (Lnet/minecraft/world/item/ItemStack;)I ARG 0 stack + METHOD getTextureLocation (Lnet/minecraft/world/entity/item/ItemEntity;)Lnet/minecraft/resources/ResourceLocation; + COMMENT Returns the location of an entity's texture. + ARG 1 entity + METHOD render (Lnet/minecraft/world/entity/item/ItemEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V + ARG 1 entity + ARG 2 entityYaw + ARG 3 partialTicks + ARG 4 poseStack + ARG 5 buffer + ARG 6 packedLight + METHOD renderMultipleFromCount (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/client/renderer/entity/state/ItemClusterRenderState;Lnet/minecraft/util/RandomSource;)V + ARG 0 poseStack + ARG 1 bufferSource + ARG 2 packedLight + ARG 3 renderState + ARG 4 random METHOD renderMultipleFromCount (Lnet/minecraft/client/renderer/entity/ItemRenderer;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/resources/model/BakedModel;ZLnet/minecraft/util/RandomSource;)V ARG 0 itemRenderer ARG 1 poseStack diff --git a/data/net/minecraft/client/renderer/entity/ItemFrameRenderer.mapping b/data/net/minecraft/client/renderer/entity/ItemFrameRenderer.mapping index b677ecb1d..9496d40da 100644 --- a/data/net/minecraft/client/renderer/entity/ItemFrameRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/ItemFrameRenderer.mapping @@ -2,6 +2,16 @@ CLASS net/minecraft/client/renderer/entity/ItemFrameRenderer METHOD getFrameModelResourceLoc (ZLnet/minecraft/world/item/ItemStack;)Lnet/minecraft/client/resources/model/ModelResourceLocation; ARG 1 isGlowFrame ARG 2 stack + METHOD getFrameModelResourceLocation (Lnet/minecraft/client/renderer/entity/state/ItemFrameRenderState;)Lnet/minecraft/client/resources/model/ModelResourceLocation; + ARG 0 renderState + METHOD getLightCoords (ZII)I + ARG 1 isGlowFrame + ARG 2 glowLight + ARG 3 normalLight + METHOD getLightVal (Lnet/minecraft/world/entity/decoration/ItemFrame;II)I + ARG 1 itemFrame + ARG 2 glowLightVal + ARG 3 regularLightVal METHOD getLightVal (ZII)I ARG 1 isGlowFrame ARG 2 glowLightValue diff --git a/data/net/minecraft/client/renderer/entity/ItemRenderer.mapping b/data/net/minecraft/client/renderer/entity/ItemRenderer.mapping index c000ac05c..9ad0ddcc4 100644 --- a/data/net/minecraft/client/renderer/entity/ItemRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/ItemRenderer.mapping @@ -1,4 +1,12 @@ CLASS net/minecraft/client/renderer/entity/ItemRenderer + METHOD (Lnet/minecraft/client/Minecraft;Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/client/resources/model/ModelManager;Lnet/minecraft/client/color/item/ItemColors;Lnet/minecraft/client/renderer/BlockEntityWithoutLevelRenderer;)V + ARG 1 minecraft + ARG 2 textureManager + ARG 3 modelManager + ARG 4 itemColors + ARG 5 blockEntityRenderer + METHOD (Lnet/minecraft/client/renderer/item/ItemModelResolver;)V + ARG 1 resolver METHOD (Lnet/minecraft/client/resources/model/ModelManager;Lnet/minecraft/client/color/item/ItemColors;Lnet/minecraft/client/renderer/BlockEntityWithoutLevelRenderer;)V ARG 1 modelManager ARG 2 itemColors @@ -16,6 +24,14 @@ CLASS net/minecraft/client/renderer/entity/ItemRenderer ARG 1 renderType ARG 2 isItem ARG 3 glint + METHOD getFoilBufferDirect (Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/RenderType;ZZ)Lcom/mojang/blaze3d/vertex/VertexConsumer; + ARG 0 bufferSource + ARG 1 renderType + ARG 2 noEntity + ARG 3 withGlint + METHOD getLayerColorSafe ([II)I + ARG 0 tintLayers + ARG 1 index METHOD getModel (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)Lnet/minecraft/client/resources/model/BakedModel; ARG 1 stack ARG 2 level @@ -46,6 +62,35 @@ CLASS net/minecraft/client/renderer/entity/ItemRenderer ARG 9 level ARG 10 entity ARG 11 seed + METHOD renderBundleWithSelectedItem (Lnet/minecraft/world/item/BundleItem;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;ZLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IIZ)V + ARG 1 bundle + ARG 2 itemStack + ARG 3 displayContext + ARG 4 leftHand + ARG 5 poseStack + ARG 6 bufferSource + ARG 7 packedLight + ARG 8 packedOverlay + ARG 9 renderOpenBundle + METHOD renderBundleWithSelectedItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;ZLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IIZ)V + ARG 1 itemStack + ARG 2 displayContext + ARG 3 leftHand + ARG 4 poseStack + ARG 5 bufferSource + ARG 6 packedLight + ARG 7 packedOverlay + ARG 8 renderOpenBundle + METHOD renderItem (Lnet/minecraft/world/item/ItemDisplayContext;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II[ILnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/client/renderer/RenderType;Lnet/minecraft/client/renderer/item/ItemStackRenderState$FoilType;)V + ARG 0 displayContext + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + ARG 5 tintLayers + ARG 6 model + ARG 7 renderType + ARG 8 foilType METHOD renderItem (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/resources/model/BakedModel;Z)V ARG 1 itemStack ARG 2 displayContext @@ -73,6 +118,13 @@ CLASS net/minecraft/client/renderer/entity/ItemRenderer ARG 4 packedOverlay ARG 5 poseStack ARG 6 buffer + METHOD renderModelLists (Lnet/minecraft/client/resources/model/BakedModel;[IIILcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;)V + ARG 0 model + ARG 1 tintLayers + ARG 2 packedLight + ARG 3 packedOverlay + ARG 4 poseStack + ARG 5 buffer METHOD renderQuadList (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Ljava/util/List;Lnet/minecraft/world/item/ItemStack;II)V ARG 1 poseStack ARG 2 buffer @@ -80,6 +132,13 @@ CLASS net/minecraft/client/renderer/entity/ItemRenderer ARG 4 itemStack ARG 5 combinedLight ARG 6 combinedOverlay + METHOD renderQuadList (Lcom/mojang/blaze3d/vertex/PoseStack;Lcom/mojang/blaze3d/vertex/VertexConsumer;Ljava/util/List;[III)V + ARG 0 poseStack + ARG 1 buffer + ARG 2 quads + ARG 3 tintLayers + ARG 4 packedLight + ARG 5 packedOverlay METHOD renderSimpleItemModel (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;ZLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IILnet/minecraft/client/resources/model/BakedModel;Z)V ARG 1 itemStack ARG 2 displayContext diff --git a/data/net/minecraft/client/renderer/entity/layers/CapeLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/CapeLayer.mapping index 20b39ca1c..3eeebd2d1 100644 --- a/data/net/minecraft/client/renderer/entity/layers/CapeLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/CapeLayer.mapping @@ -1,8 +1,18 @@ CLASS net/minecraft/client/renderer/entity/layers/CapeLayer + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 renderer + ARG 2 modelSet + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/resources/model/EquipmentAssetManager;)V + ARG 1 renderer + ARG 2 modelSet + ARG 3 equipmentAssets METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/resources/model/EquipmentModelSet;)V ARG 1 renderer ARG 2 entityModels ARG 3 equipmentModels + METHOD hasLayer (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/resources/model/EquipmentClientInfo$LayerType;)Z + ARG 1 stack + ARG 2 layer METHOD hasLayer (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/equipment/EquipmentModel$LayerType;)Z ARG 1 stack ARG 2 layerType diff --git a/data/net/minecraft/client/renderer/entity/layers/CrossedArmsItemLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/CrossedArmsItemLayer.mapping index b0e7d8e08..91b7b5294 100644 --- a/data/net/minecraft/client/renderer/entity/layers/CrossedArmsItemLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/CrossedArmsItemLayer.mapping @@ -2,3 +2,20 @@ CLASS net/minecraft/client/renderer/entity/layers/CrossedArmsItemLayer METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/renderer/entity/ItemRenderer;)V ARG 1 renderer ARG 2 itemRenderer + METHOD applyTranslation (Lnet/minecraft/client/renderer/entity/state/HoldingEntityRenderState;Lcom/mojang/blaze3d/vertex/PoseStack;)V + ARG 1 renderState + ARG 2 poseStack + METHOD applyTranslation (Lnet/minecraft/client/renderer/entity/state/LivingEntityRenderState;Lcom/mojang/blaze3d/vertex/PoseStack;)V + ARG 1 renderState + ARG 2 poseStack + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V + ARG 1 poseStack + ARG 2 buffer + ARG 3 packedLight + ARG 4 livingEntity + ARG 5 limbSwing + ARG 6 limbSwingAmount + ARG 7 partialTicks + ARG 8 ageInTicks + ARG 9 netHeadYaw + ARG 10 headPitch diff --git a/data/net/minecraft/client/renderer/entity/layers/CustomHeadLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/CustomHeadLayer.mapping index a96a81b0c..a6b53a6c1 100644 --- a/data/net/minecraft/client/renderer/entity/layers/CustomHeadLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/CustomHeadLayer.mapping @@ -1,13 +1,44 @@ CLASS net/minecraft/client/renderer/entity/layers/CustomHeadLayer + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;)V + ARG 1 renderer + ARG 2 modelSet + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;FFFLnet/minecraft/client/renderer/ItemInHandRenderer;)V + ARG 1 renderer + ARG 2 modelSet + ARG 3 scaleX + ARG 4 scaleY + ARG 5 scaleZ + ARG 6 itemInHandRenderer + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/renderer/ItemInHandRenderer;)V + ARG 1 renderer + ARG 2 modelSet + ARG 3 itemInHandRenderer METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/renderer/entity/ItemRenderer;)V ARG 1 renderer ARG 2 modelSet ARG 3 itemRenderer + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/renderer/entity/layers/CustomHeadLayer$Transforms;)V + ARG 1 renderer + ARG 2 modelSet + ARG 3 transforms METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/renderer/entity/layers/CustomHeadLayer$Transforms;Lnet/minecraft/client/renderer/entity/ItemRenderer;)V ARG 1 renderer ARG 2 modelSet ARG 3 transforms ARG 4 itemRenderer + METHOD lambda$new$0 (Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/world/level/block/SkullBlock$Type;)Lnet/minecraft/client/model/SkullModelBase; + ARG 1 type + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V + ARG 1 poseStack + ARG 2 buffer + ARG 3 packedLight + ARG 4 livingEntity + ARG 5 limbSwing + ARG 6 limbSwingAmount + ARG 7 partialTicks + ARG 8 ageInTicks + ARG 9 netHeadYaw + ARG 10 headPitch METHOD translateToHead (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/entity/layers/CustomHeadLayer$Transforms;)V ARG 0 poseStack ARG 1 transforms diff --git a/data/net/minecraft/client/renderer/entity/layers/EquipmentLayerRenderer.mapping b/data/net/minecraft/client/renderer/entity/layers/EquipmentLayerRenderer.mapping index b8feba45c..d1e972d3e 100644 --- a/data/net/minecraft/client/renderer/entity/layers/EquipmentLayerRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/EquipmentLayerRenderer.mapping @@ -1,10 +1,33 @@ CLASS net/minecraft/client/renderer/entity/layers/EquipmentLayerRenderer + METHOD (Lnet/minecraft/client/resources/model/EquipmentAssetManager;Lnet/minecraft/client/renderer/texture/TextureAtlas;)V + ARG 1 equipmentAssets + ARG 2 atlas METHOD (Lnet/minecraft/client/resources/model/EquipmentModelSet;Lnet/minecraft/client/renderer/texture/TextureAtlas;)V ARG 1 equipmentModels ARG 2 trimsAtlas + METHOD getColorForLayer (Lnet/minecraft/client/resources/model/EquipmentClientInfo$Layer;I)I + ARG 0 layer + ARG 1 color METHOD getColorForLayer (Lnet/minecraft/world/item/equipment/EquipmentModel$Layer;I)I ARG 0 layer ARG 1 color + METHOD renderLayers (Lnet/minecraft/client/resources/model/EquipmentClientInfo$LayerType;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/client/model/Model;Lnet/minecraft/world/item/ItemStack;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V + ARG 1 layerType + ARG 2 equipmentAsset + ARG 3 armorModel + ARG 4 item + ARG 5 poseStack + ARG 6 bufferSource + ARG 7 packedLight + METHOD renderLayers (Lnet/minecraft/client/resources/model/EquipmentClientInfo$LayerType;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/client/model/Model;Lnet/minecraft/world/item/ItemStack;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/resources/ResourceLocation;)V + ARG 1 layerType + ARG 2 equipmentAsset + ARG 3 armorModel + ARG 4 item + ARG 5 poseStack + ARG 6 bufferSource + ARG 7 packedLight + ARG 8 playerTexture METHOD renderLayers (Lnet/minecraft/world/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/model/Model;Lnet/minecraft/world/item/ItemStack;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V ARG 1 layerType ARG 2 equipmentModel @@ -22,3 +45,26 @@ CLASS net/minecraft/client/renderer/entity/layers/EquipmentLayerRenderer ARG 6 bufferSource ARG 7 packedLight ARG 8 playerTexture + METHOD renderLayers (Lnet/minecraft/world/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/model/Model;Lnet/minecraft/world/item/ItemStack;Ljava/util/function/Function;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V + ARG 1 layerType + ARG 2 equipmentModel + ARG 3 armorModel + ARG 4 item + ARG 5 renderType + ARG 6 poseStack + ARG 7 bufferSource + ARG 8 packedLight + METHOD renderLayers (Lnet/minecraft/world/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/model/Model;Lnet/minecraft/world/item/ItemStack;Ljava/util/function/Function;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/resources/ResourceLocation;)V + ARG 1 layerType + ARG 2 equipmentModel + ARG 3 armorModel + ARG 4 item + ARG 5 renderType + ARG 6 poseStack + ARG 7 bufferSource + ARG 8 packedLight + ARG 9 playerTexture + CLASS TrimSpriteKey + METHOD getColorPaletteSuffix (Lnet/minecraft/core/Holder;Lnet/minecraft/resources/ResourceKey;)Ljava/lang/String; + ARG 0 trimMaterial + ARG 1 equipmentAsset diff --git a/data/net/minecraft/client/renderer/entity/layers/ItemInHandLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/ItemInHandLayer.mapping index aa830f81c..75ba39029 100644 --- a/data/net/minecraft/client/renderer/entity/layers/ItemInHandLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/ItemInHandLayer.mapping @@ -2,6 +2,24 @@ CLASS net/minecraft/client/renderer/entity/layers/ItemInHandLayer METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/renderer/entity/ItemRenderer;)V ARG 1 renderer ARG 2 itemRenderer + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/LivingEntity;FFFFFF)V + ARG 1 poseStack + ARG 2 buffer + ARG 3 packedLight + ARG 4 livingEntity + ARG 5 limbSwing + ARG 6 limbSwingAmount + ARG 7 partialTicks + ARG 8 ageInTicks + ARG 9 netHeadYaw + ARG 10 headPitch + METHOD renderArmWithItem (Lnet/minecraft/client/renderer/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V + ARG 1 renderState + ARG 2 itemStackRenderState + ARG 3 arm + ARG 4 poseStack + ARG 5 bufferSource + ARG 6 packedLight METHOD renderArmWithItem (Lnet/minecraft/client/renderer/entity/state/LivingEntityRenderState;Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V ARG 1 renderState ARG 2 itemModel diff --git a/data/net/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer.mapping index b6259967a..216e6b431 100644 --- a/data/net/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer.mapping @@ -5,6 +5,13 @@ CLASS net/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer ARG 3 alphaFunction ARG 4 drawSelector ARG 5 bufferProvider + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer$AlphaFunction;Lnet/minecraft/client/renderer/entity/layers/LivingEntityEmissiveLayer$DrawSelector;Ljava/util/function/Function;Z)V + ARG 1 renderer + ARG 2 texture + ARG 3 alphaFunction + ARG 4 drawSelector + ARG 5 bufferProvider + ARG 6 alwaysVisible METHOD lambda$onlyDrawSelectedParts$0 (Lnet/minecraft/client/model/geom/ModelPart;)V ARG 0 part METHOD lambda$onlyDrawSelectedParts$1 (Lnet/minecraft/client/model/geom/ModelPart;)V diff --git a/data/net/minecraft/client/renderer/entity/layers/LlamaDecorLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/LlamaDecorLayer.mapping index 3b3bf1770..9ab8771c7 100644 --- a/data/net/minecraft/client/renderer/entity/layers/LlamaDecorLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/LlamaDecorLayer.mapping @@ -3,6 +3,24 @@ CLASS net/minecraft/client/renderer/entity/layers/LlamaDecorLayer ARG 1 renderer ARG 2 models ARG 3 equipmentRenderer + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;ILnet/minecraft/world/entity/animal/horse/Llama;FFFFFF)V + ARG 1 poseStack + ARG 2 buffer + ARG 3 packedLight + ARG 4 livingEntity + ARG 5 limbSwing + ARG 6 limbSwingAmount + ARG 7 partialTicks + ARG 8 ageInTicks + ARG 9 netHeadYaw + ARG 10 headPitch + METHOD renderEquipment (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/entity/state/LlamaRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/resources/ResourceKey;I)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 renderState + ARG 4 stack + ARG 5 equipmentAsset + ARG 6 packedLight METHOD renderEquipment (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;Lnet/minecraft/client/renderer/entity/state/LlamaRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/resources/ResourceLocation;I)V ARG 1 poseStack ARG 2 bufferSource diff --git a/data/net/minecraft/client/renderer/entity/layers/PlayerItemInHandLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/PlayerItemInHandLayer.mapping index 2f5ca0b2f..52c45294a 100644 --- a/data/net/minecraft/client/renderer/entity/layers/PlayerItemInHandLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/PlayerItemInHandLayer.mapping @@ -6,3 +6,16 @@ CLASS net/minecraft/client/renderer/entity/layers/PlayerItemInHandLayer ARG 4 poseStack ARG 5 bufferSource ARG 6 packedLight + METHOD renderArmWithSpyglass (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V + ARG 1 entity + ARG 2 stack + ARG 3 arm + ARG 4 poseStack + ARG 5 buffer + ARG 6 combinedLight + METHOD renderItemHeldToEye (Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/entity/HumanoidArm;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V + ARG 1 renderState + ARG 2 arm + ARG 3 poseStack + ARG 4 bufferSource + ARG 5 packedLight diff --git a/data/net/minecraft/client/renderer/entity/layers/SnowGolemHeadLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/SnowGolemHeadLayer.mapping index 2778e683c..4f4dba686 100644 --- a/data/net/minecraft/client/renderer/entity/layers/SnowGolemHeadLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/SnowGolemHeadLayer.mapping @@ -1,4 +1,7 @@ CLASS net/minecraft/client/renderer/entity/layers/SnowGolemHeadLayer + METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;)V + ARG 1 renderer + ARG 2 blockRenderer METHOD (Lnet/minecraft/client/renderer/entity/RenderLayerParent;Lnet/minecraft/client/renderer/block/BlockRenderDispatcher;Lnet/minecraft/client/renderer/entity/ItemRenderer;)V ARG 1 renderer ARG 2 blockRenderer diff --git a/data/net/minecraft/client/renderer/entity/layers/VillagerProfessionLayer.mapping b/data/net/minecraft/client/renderer/entity/layers/VillagerProfessionLayer.mapping index 32a9a24ac..e3857e6df 100644 --- a/data/net/minecraft/client/renderer/entity/layers/VillagerProfessionLayer.mapping +++ b/data/net/minecraft/client/renderer/entity/layers/VillagerProfessionLayer.mapping @@ -8,8 +8,17 @@ CLASS net/minecraft/client/renderer/entity/layers/VillagerProfessionLayer ARG 2 folder ARG 3 villagerTypeRegistry ARG 4 key + METHOD getHatData (Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Lnet/minecraft/core/DefaultedRegistry;Ljava/lang/Object;)Lnet/minecraft/client/resources/metadata/animation/VillagerMetadataSection$Hat; + ARG 1 cache + ARG 2 folder + ARG 3 registry + ARG 4 key METHOD getResourceLocation (Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; ARG 1 folder ARG 2 location + METHOD lambda$getHatData$2 (Lnet/minecraft/server/packs/resources/Resource;)Ljava/util/Optional; + ARG 0 resource + METHOD lambda$getResourceLocation$1 (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; + ARG 2 name METHOD lambda$static$0 (Lit/unimi/dsi/fastutil/ints/Int2ObjectOpenHashMap;)V ARG 0 map diff --git a/data/net/minecraft/client/renderer/entity/player/PlayerRenderer.mapping b/data/net/minecraft/client/renderer/entity/player/PlayerRenderer.mapping index eef89d035..f6d45b948 100644 --- a/data/net/minecraft/client/renderer/entity/player/PlayerRenderer.mapping +++ b/data/net/minecraft/client/renderer/entity/player/PlayerRenderer.mapping @@ -14,6 +14,12 @@ CLASS net/minecraft/client/renderer/entity/player/PlayerRenderer ARG 1 player ARG 2 reusedState ARG 3 hand + METHOD getArmPose (Lnet/minecraft/client/player/AbstractClientPlayer;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/client/model/HumanoidModel$ArmPose; + ARG 0 player + ARG 1 hand + METHOD getArmPose (Lnet/minecraft/client/player/AbstractClientPlayer;Lnet/minecraft/world/entity/HumanoidArm;)Lnet/minecraft/client/model/HumanoidModel$ArmPose; + ARG 0 player + ARG 1 arm METHOD getArmPose (Lnet/minecraft/client/renderer/entity/state/PlayerRenderState;Lnet/minecraft/client/renderer/entity/state/PlayerRenderState$HandState;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/client/model/HumanoidModel$ArmPose; ARG 0 renderState ARG 1 handState @@ -21,6 +27,10 @@ CLASS net/minecraft/client/renderer/entity/player/PlayerRenderer METHOD getArmPose (Lnet/minecraft/client/renderer/entity/state/PlayerRenderState;Lnet/minecraft/world/entity/HumanoidArm;)Lnet/minecraft/client/model/HumanoidModel$ArmPose; ARG 0 renderState ARG 1 arm + METHOD getArmPose (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/client/model/HumanoidModel$ArmPose; + ARG 0 player + ARG 1 stack + ARG 2 hand METHOD getParrotOnShoulder (Lnet/minecraft/client/player/AbstractClientPlayer;Z)Lnet/minecraft/world/entity/animal/Parrot$Variant; ARG 0 player ARG 1 leftShoulder diff --git a/data/net/minecraft/client/renderer/entity/state/ArmedEntityRenderState.mapping b/data/net/minecraft/client/renderer/entity/state/ArmedEntityRenderState.mapping new file mode 100644 index 000000000..26fb8313f --- /dev/null +++ b/data/net/minecraft/client/renderer/entity/state/ArmedEntityRenderState.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/renderer/entity/state/ArmedEntityRenderState + METHOD extractArmedEntityRenderState (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/client/renderer/entity/state/ArmedEntityRenderState;Lnet/minecraft/client/renderer/item/ItemModelResolver;)V + ARG 0 entity + ARG 1 reusedState + ARG 2 itemModelResolver diff --git a/data/net/minecraft/client/renderer/entity/state/HoldingEntityRenderState.mapping b/data/net/minecraft/client/renderer/entity/state/HoldingEntityRenderState.mapping new file mode 100644 index 000000000..ff67c1c9a --- /dev/null +++ b/data/net/minecraft/client/renderer/entity/state/HoldingEntityRenderState.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/renderer/entity/state/HoldingEntityRenderState + METHOD extractHoldingEntityRenderState (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/client/renderer/entity/state/HoldingEntityRenderState;Lnet/minecraft/client/renderer/item/ItemModelResolver;)V + ARG 0 entity + ARG 1 reusedState + ARG 2 resolver diff --git a/data/net/minecraft/client/renderer/entity/state/ItemClusterRenderState.mapping b/data/net/minecraft/client/renderer/entity/state/ItemClusterRenderState.mapping new file mode 100644 index 000000000..a02a4e466 --- /dev/null +++ b/data/net/minecraft/client/renderer/entity/state/ItemClusterRenderState.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/renderer/entity/state/ItemClusterRenderState + METHOD extractItemGroupRenderState (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/renderer/item/ItemModelResolver;)V + ARG 1 entity + ARG 2 stack + ARG 3 itemModelResolver + METHOD getRenderedAmount (I)I + ARG 0 count + METHOD getSeedForItemStack (Lnet/minecraft/world/item/ItemStack;)I + ARG 0 stack diff --git a/data/net/minecraft/client/renderer/item/BlockModelWrapper.mapping b/data/net/minecraft/client/renderer/item/BlockModelWrapper.mapping new file mode 100644 index 000000000..08ce1f91c --- /dev/null +++ b/data/net/minecraft/client/renderer/item/BlockModelWrapper.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/renderer/item/BlockModelWrapper + METHOD (Lnet/minecraft/client/resources/model/BakedModel;Ljava/util/List;)V + ARG 1 model + ARG 2 tints + METHOD hasSpecialAnimatedTexture (Lnet/minecraft/world/item/ItemStack;)Z + ARG 0 stack + CLASS Unbaked + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/ClientItem.mapping b/data/net/minecraft/client/renderer/item/ClientItem.mapping new file mode 100644 index 000000000..d4fdb5a19 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/ClientItem.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/renderer/item/ClientItem + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + CLASS Properties + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/CompositeModel.mapping b/data/net/minecraft/client/renderer/item/CompositeModel.mapping new file mode 100644 index 000000000..91d8914bb --- /dev/null +++ b/data/net/minecraft/client/renderer/item/CompositeModel.mapping @@ -0,0 +1,8 @@ +CLASS net/minecraft/client/renderer/item/CompositeModel + METHOD (Ljava/util/List;)V + ARG 1 models + CLASS Unbaked + METHOD lambda$bake$1 (Lnet/minecraft/client/renderer/item/ItemModel$BakingContext;Lnet/minecraft/client/renderer/item/ItemModel$Unbaked;)Lnet/minecraft/client/renderer/item/ItemModel; + ARG 1 model + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/ConditionalItemModel.mapping b/data/net/minecraft/client/renderer/item/ConditionalItemModel.mapping new file mode 100644 index 000000000..229edd27a --- /dev/null +++ b/data/net/minecraft/client/renderer/item/ConditionalItemModel.mapping @@ -0,0 +1,8 @@ +CLASS net/minecraft/client/renderer/item/ConditionalItemModel + METHOD (Lnet/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty;Lnet/minecraft/client/renderer/item/ItemModel;Lnet/minecraft/client/renderer/item/ItemModel;)V + ARG 1 property + ARG 2 onTrue + ARG 3 onTrueFalse + CLASS Unbaked + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/ItemModel.mapping b/data/net/minecraft/client/renderer/item/ItemModel.mapping new file mode 100644 index 000000000..804ef20f0 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/ItemModel.mapping @@ -0,0 +1,15 @@ +CLASS net/minecraft/client/renderer/item/ItemModel + METHOD update (Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/renderer/item/ItemModelResolver;Lnet/minecraft/world/item/ItemDisplayContext;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;I)V + ARG 1 renderState + ARG 2 stack + ARG 3 itemModelResolver + ARG 4 displayContext + ARG 5 level + ARG 6 entity + ARG 7 seed + CLASS Unbaked + METHOD bake (Lnet/minecraft/client/renderer/item/ItemModel$BakingContext;)Lnet/minecraft/client/renderer/item/ItemModel; + ARG 1 context + CLASS BakingContext + METHOD bake (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; + ARG 1 location diff --git a/data/net/minecraft/client/renderer/item/ItemModelResolver.mapping b/data/net/minecraft/client/renderer/item/ItemModelResolver.mapping new file mode 100644 index 000000000..2b99223b1 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/ItemModelResolver.mapping @@ -0,0 +1,35 @@ +CLASS net/minecraft/client/renderer/item/ItemModelResolver + METHOD (Lnet/minecraft/client/resources/model/ModelManager;)V + ARG 1 modelManager + METHOD appendItemLayers (Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V + ARG 1 renderState + ARG 2 stack + ARG 3 displayContext + ARG 4 level + ARG 5 entity + ARG 6 seed + METHOD fixupSkullProfile (Lnet/minecraft/world/item/ItemStack;)V + ARG 0 stack + METHOD lambda$fixupSkullProfile$0 (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/component/ResolvableProfile;)V + ARG 1 profile + METHOD shouldPlaySwapAnimation (Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 stack + METHOD updateForLiving (Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;ZLnet/minecraft/world/entity/LivingEntity;)V + ARG 1 renderState + ARG 2 stack + ARG 3 displayContext + ARG 4 leftHand + ARG 5 entity + METHOD updateForNonLiving (Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;Lnet/minecraft/world/entity/Entity;)V + ARG 1 renderState + ARG 2 stack + ARG 3 displayContext + ARG 4 entity + METHOD updateForTopItem (Lnet/minecraft/client/renderer/item/ItemStackRenderState;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemDisplayContext;ZLnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/LivingEntity;I)V + ARG 1 renderState + ARG 2 stack + ARG 3 displayContext + ARG 4 leftHand + ARG 5 level + ARG 6 entity + ARG 7 seed diff --git a/data/net/minecraft/client/renderer/item/ItemStackRenderState.mapping b/data/net/minecraft/client/renderer/item/ItemStackRenderState.mapping new file mode 100644 index 000000000..c9d429ce8 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/ItemStackRenderState.mapping @@ -0,0 +1,29 @@ +CLASS net/minecraft/client/renderer/item/ItemStackRenderState + METHOD ensureCapacity (I)V + ARG 1 expectedSize + METHOD pickParticleIcon (Lnet/minecraft/util/RandomSource;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; + ARG 1 random + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + CLASS LayerRenderState + METHOD eraseSpecialRenderer (Lnet/minecraft/client/renderer/special/SpecialModelRenderer;)Lnet/minecraft/client/renderer/special/SpecialModelRenderer; + ARG 0 specialRenderer + METHOD prepareTintLayers (I)[I + ARG 1 count + METHOD render (Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;II)V + ARG 1 poseStack + ARG 2 bufferSource + ARG 3 packedLight + ARG 4 packedOverlay + METHOD setFoilType (Lnet/minecraft/client/renderer/item/ItemStackRenderState$FoilType;)V + ARG 1 foilType + METHOD setupBlockModel (Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/client/renderer/RenderType;)V + ARG 1 model + ARG 2 renderType + METHOD setupSpecialModel (Lnet/minecraft/client/renderer/special/SpecialModelRenderer;Ljava/lang/Object;Lnet/minecraft/client/resources/model/BakedModel;)V + ARG 1 specialRenderer + ARG 2 argumentForSpecialRendering + ARG 3 model diff --git a/data/net/minecraft/client/renderer/item/MissingItemModel.mapping b/data/net/minecraft/client/renderer/item/MissingItemModel.mapping new file mode 100644 index 000000000..814292be2 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/MissingItemModel.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/renderer/item/MissingItemModel + METHOD (Lnet/minecraft/client/resources/model/BakedModel;)V + ARG 1 model diff --git a/data/net/minecraft/client/renderer/item/RangeSelectItemModel.mapping b/data/net/minecraft/client/renderer/item/RangeSelectItemModel.mapping new file mode 100644 index 000000000..62c517575 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/RangeSelectItemModel.mapping @@ -0,0 +1,10 @@ +CLASS net/minecraft/client/renderer/item/RangeSelectItemModel + METHOD (Lnet/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty;F[F[Lnet/minecraft/client/renderer/item/ItemModel;Lnet/minecraft/client/renderer/item/ItemModel;)V + ARG 1 property + ARG 2 scale + ARG 3 thresholds + ARG 4 models + ARG 5 fallback + METHOD lastIndexLessOrEqual ([FF)I + ARG 0 thresholds + ARG 1 value diff --git a/data/net/minecraft/client/renderer/item/SelectItemModel.mapping b/data/net/minecraft/client/renderer/item/SelectItemModel.mapping new file mode 100644 index 000000000..70d038af1 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/SelectItemModel.mapping @@ -0,0 +1,18 @@ +CLASS net/minecraft/client/renderer/item/SelectItemModel + METHOD (Lnet/minecraft/client/renderer/item/properties/select/SelectItemModelProperty;Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;)V + ARG 1 property + ARG 2 models + CLASS Unbaked + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + CLASS SwitchCase + METHOD codec (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; + ARG 0 codec + METHOD lambda$codec$0 (Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 1 instance + CLASS UnbakedSwitch + METHOD bake (Lnet/minecraft/client/renderer/item/ItemModel$BakingContext;Lnet/minecraft/client/renderer/item/ItemModel;)Lnet/minecraft/client/renderer/item/ItemModel; + ARG 1 bakingContext + ARG 2 model + METHOD resolveDependencies (Lnet/minecraft/client/resources/model/ResolvableModel$Resolver;)V + ARG 1 resolver diff --git a/data/net/minecraft/client/renderer/item/SpecialModelWrapper.mapping b/data/net/minecraft/client/renderer/item/SpecialModelWrapper.mapping new file mode 100644 index 000000000..56ec184fe --- /dev/null +++ b/data/net/minecraft/client/renderer/item/SpecialModelWrapper.mapping @@ -0,0 +1,7 @@ +CLASS net/minecraft/client/renderer/item/SpecialModelWrapper + METHOD (Lnet/minecraft/client/renderer/special/SpecialModelRenderer;Lnet/minecraft/client/resources/model/BakedModel;)V + ARG 1 specialRenderer + ARG 2 baseModel + CLASS Unbaked + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty.mapping b/data/net/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty.mapping new file mode 100644 index 000000000..a53aa6d6b --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty.mapping @@ -0,0 +1,12 @@ +CLASS net/minecraft/client/renderer/item/properties/conditional/ConditionalItemModelProperty + METHOD get (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;I)Z + ARG 1 stack + ARG 2 level + ARG 3 entity + ARG 4 seed + METHOD get (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;ILnet/minecraft/world/item/ItemDisplayContext;)Z + ARG 1 stack + ARG 2 level + ARG 3 entity + ARG 4 seed + ARG 5 displayContext diff --git a/data/net/minecraft/client/renderer/item/properties/conditional/CustomModelDataProperty.mapping b/data/net/minecraft/client/renderer/item/properties/conditional/CustomModelDataProperty.mapping new file mode 100644 index 000000000..b41a87886 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/conditional/CustomModelDataProperty.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/renderer/item/properties/conditional/CustomModelDataProperty + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/properties/numeric/CompassAngle.mapping b/data/net/minecraft/client/renderer/item/properties/numeric/CompassAngle.mapping new file mode 100644 index 000000000..43650919c --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/numeric/CompassAngle.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/renderer/item/properties/numeric/CompassAngle + METHOD (Lnet/minecraft/client/renderer/item/properties/numeric/CompassAngleState;)V + ARG 1 state + METHOD (ZLnet/minecraft/client/renderer/item/properties/numeric/CompassAngleState$CompassTarget;)V + ARG 1 wobble + ARG 2 compassTarget diff --git a/data/net/minecraft/client/renderer/item/properties/numeric/CompassAngleState.mapping b/data/net/minecraft/client/renderer/item/properties/numeric/CompassAngleState.mapping new file mode 100644 index 000000000..c1d1af77f --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/numeric/CompassAngleState.mapping @@ -0,0 +1,28 @@ +CLASS net/minecraft/client/renderer/item/properties/numeric/CompassAngleState + METHOD (ZLnet/minecraft/client/renderer/item/properties/numeric/CompassAngleState$CompassTarget;)V + ARG 1 wobble + ARG 2 compassTarget + METHOD getAngleFromEntityToPos (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/BlockPos;)D + ARG 0 entity + ARG 1 pos + METHOD getRandomlySpinningRotation (IJ)F + ARG 1 seed + ARG 2 gameTime + METHOD getRotationTowardsCompassTarget (Lnet/minecraft/world/entity/Entity;JLnet/minecraft/core/BlockPos;)F + ARG 1 entity + ARG 2 gameTime + ARG 4 targetPos + METHOD getWrappedVisualRotationY (Lnet/minecraft/world/entity/Entity;)F + ARG 0 entity + METHOD hash (I)I + ARG 0 seed + METHOD isValidCompassTargetPos (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/GlobalPos;)Z + ARG 0 entity + ARG 1 pos + CLASS CompassTarget + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 name + METHOD get (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/core/GlobalPos; + ARG 1 level + ARG 2 stack + ARG 3 entity diff --git a/data/net/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper.mapping b/data/net/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper.mapping new file mode 100644 index 000000000..b6f44cbee --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper.mapping @@ -0,0 +1,23 @@ +CLASS net/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper + METHOD (Z)V + ARG 1 wobble + METHOD calculate (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;ILnet/minecraft/world/entity/Entity;)F + ARG 1 stack + ARG 2 level + ARG 3 seed + ARG 4 entity + METHOD get (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;I)F + ARG 1 stack + ARG 2 level + ARG 3 entity + ARG 4 seed + METHOD newWobbler (F)Lnet/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper$Wobbler; + ARG 1 scale + METHOD standardWobbler (F)Lnet/minecraft/client/renderer/item/properties/numeric/NeedleDirectionHelper$Wobbler; + ARG 0 scale + CLASS Wobbler + METHOD shouldUpdate (J)Z + ARG 1 gameTime + METHOD update (JF)V + ARG 1 gameTime + ARG 3 targetValue diff --git a/data/net/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty.mapping b/data/net/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty.mapping new file mode 100644 index 000000000..62a177022 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/renderer/item/properties/numeric/RangeSelectItemModelProperty + METHOD get (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;I)F + ARG 1 stack + ARG 2 level + ARG 3 entity + ARG 4 seed diff --git a/data/net/minecraft/client/renderer/item/properties/numeric/Time.mapping b/data/net/minecraft/client/renderer/item/properties/numeric/Time.mapping new file mode 100644 index 000000000..685556645 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/numeric/Time.mapping @@ -0,0 +1,17 @@ +CLASS net/minecraft/client/renderer/item/properties/numeric/Time + METHOD (ZLnet/minecraft/client/renderer/item/properties/numeric/Time$TimeSource;)V + ARG 1 wobble + ARG 2 source + METHOD (ZZ)V + ARG 1 wobble + ARG 2 naturalOnly + METHOD lambda$static$1 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + CLASS TimeSource + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 name + METHOD get (Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/util/RandomSource;)F + ARG 1 level + ARG 2 stack + ARG 3 entity + ARG 4 random diff --git a/data/net/minecraft/client/renderer/item/properties/numeric/UseDuration.mapping b/data/net/minecraft/client/renderer/item/properties/numeric/UseDuration.mapping new file mode 100644 index 000000000..55ed71bd0 --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/numeric/UseDuration.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/renderer/item/properties/numeric/UseDuration + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD useDuration (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/LivingEntity;)I + ARG 0 stack + ARG 1 entity diff --git a/data/net/minecraft/client/renderer/item/properties/select/LocalTime.mapping b/data/net/minecraft/client/renderer/item/properties/select/LocalTime.mapping new file mode 100644 index 000000000..b224a34be --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/select/LocalTime.mapping @@ -0,0 +1,25 @@ +CLASS net/minecraft/client/renderer/item/properties/select/LocalTime + METHOD (Ljava/lang/String;Ljava/util/Optional;Ljava/lang/String;Lcom/ibm/icu/text/DateFormat;)V + ARG 1 format + ARG 2 timeZone + ARG 3 localeId + ARG 4 parsedFormat + METHOD (Lnet/minecraft/client/renderer/item/properties/select/LocalTime$Data;Lcom/ibm/icu/text/DateFormat;)V + ARG 1 data + ARG 2 parsedFormat + METHOD create (Ljava/lang/String;Ljava/lang/String;Ljava/util/Optional;)Lnet/minecraft/client/renderer/item/properties/select/LocalTime; + ARG 0 format + ARG 1 localeId + ARG 2 timeZone + METHOD create (Lnet/minecraft/client/renderer/item/properties/select/LocalTime$Data;)Lcom/mojang/serialization/DataResult; + ARG 0 data + METHOD lambda$static$1 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 timeZone + METHOD lambda$static$2 (Lnet/minecraft/client/renderer/item/properties/select/LocalTime;)Ljava/lang/String; + ARG 0 localTime + METHOD lambda$static$3 (Lnet/minecraft/client/renderer/item/properties/select/LocalTime;)Ljava/lang/String; + ARG 0 localTime + METHOD lambda$static$4 (Lnet/minecraft/client/renderer/item/properties/select/LocalTime;)Ljava/util/Optional; + ARG 0 localTime + METHOD lambda$static$5 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/item/properties/select/SelectItemModelProperty.mapping b/data/net/minecraft/client/renderer/item/properties/select/SelectItemModelProperty.mapping new file mode 100644 index 000000000..3299e10ac --- /dev/null +++ b/data/net/minecraft/client/renderer/item/properties/select/SelectItemModelProperty.mapping @@ -0,0 +1,15 @@ +CLASS net/minecraft/client/renderer/item/properties/select/SelectItemModelProperty + METHOD get (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;ILnet/minecraft/world/item/ItemDisplayContext;)Ljava/lang/Object; + ARG 1 stack + ARG 2 level + ARG 3 entity + ARG 4 seed + ARG 5 displayContext + CLASS Type + METHOD create (Lcom/mojang/serialization/MapCodec;Lcom/mojang/serialization/Codec;)Lnet/minecraft/client/renderer/item/properties/select/SelectItemModelProperty$Type; + ARG 0 mapCodec + ARG 1 codec + METHOD lambda$create$4 (Ljava/util/List;)Lcom/mojang/serialization/DataResult; + ARG 0 cases + METHOD lambda$create$5 (Lcom/mojang/serialization/MapCodec;Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 2 instance diff --git a/data/net/minecraft/client/renderer/special/BannerSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/BannerSpecialRenderer.mapping new file mode 100644 index 000000000..31831f198 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/BannerSpecialRenderer.mapping @@ -0,0 +1,7 @@ +CLASS net/minecraft/client/renderer/special/BannerSpecialRenderer + METHOD (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/client/renderer/blockentity/BannerRenderer;)V + ARG 1 baseColor + ARG 2 bannerRenderer + CLASS Unbaked + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/BedSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/BedSpecialRenderer.mapping new file mode 100644 index 000000000..b45f2639f --- /dev/null +++ b/data/net/minecraft/client/renderer/special/BedSpecialRenderer.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/renderer/special/BedSpecialRenderer + METHOD (Lnet/minecraft/client/renderer/blockentity/BedRenderer;Lnet/minecraft/client/resources/model/Material;)V + ARG 1 bedRenderer + ARG 2 material + CLASS Unbaked + METHOD (Lnet/minecraft/world/item/DyeColor;)V + ARG 1 color + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/ChestSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/ChestSpecialRenderer.mapping new file mode 100644 index 000000000..d3fb91dc3 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/ChestSpecialRenderer.mapping @@ -0,0 +1,10 @@ +CLASS net/minecraft/client/renderer/special/ChestSpecialRenderer + METHOD (Lnet/minecraft/client/model/ChestModel;Lnet/minecraft/client/resources/model/Material;F)V + ARG 1 model + ARG 2 material + ARG 3 openness + CLASS Unbaked + METHOD (Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 texture + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/ConduitSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/ConduitSpecialRenderer.mapping new file mode 100644 index 000000000..379764973 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/ConduitSpecialRenderer.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/renderer/special/ConduitSpecialRenderer + METHOD (Lnet/minecraft/client/model/geom/ModelPart;)V + ARG 1 model diff --git a/data/net/minecraft/client/renderer/special/DecoratedPotSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/DecoratedPotSpecialRenderer.mapping new file mode 100644 index 000000000..e944967e3 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/DecoratedPotSpecialRenderer.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/renderer/special/DecoratedPotSpecialRenderer + METHOD (Lnet/minecraft/client/renderer/blockentity/DecoratedPotRenderer;)V + ARG 1 decoratedPotRenderer diff --git a/data/net/minecraft/client/renderer/special/HangingSignSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/HangingSignSpecialRenderer.mapping new file mode 100644 index 000000000..024919383 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/HangingSignSpecialRenderer.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/renderer/special/HangingSignSpecialRenderer + METHOD (Lnet/minecraft/client/model/Model;Lnet/minecraft/client/resources/model/Material;)V + ARG 1 model + ARG 2 material + CLASS Unbaked + METHOD (Lnet/minecraft/world/level/block/state/properties/WoodType;)V + ARG 1 woodType + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/NoDataSpecialModelRenderer.mapping b/data/net/minecraft/client/renderer/special/NoDataSpecialModelRenderer.mapping new file mode 100644 index 000000000..2ce9599c8 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/NoDataSpecialModelRenderer.mapping @@ -0,0 +1,8 @@ +CLASS net/minecraft/client/renderer/special/NoDataSpecialModelRenderer + METHOD render (Lnet/minecraft/world/item/ItemDisplayContext;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IIZ)V + ARG 1 displayContext + ARG 2 poseStack + ARG 3 bufferSource + ARG 4 packedLight + ARG 5 packedOverlay + ARG 6 hasFoilType diff --git a/data/net/minecraft/client/renderer/special/ShieldSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/ShieldSpecialRenderer.mapping new file mode 100644 index 000000000..ef4f7e6cc --- /dev/null +++ b/data/net/minecraft/client/renderer/special/ShieldSpecialRenderer.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/renderer/special/ShieldSpecialRenderer + METHOD (Lnet/minecraft/client/model/ShieldModel;)V + ARG 1 model diff --git a/data/net/minecraft/client/renderer/special/ShulkerBoxSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/ShulkerBoxSpecialRenderer.mapping new file mode 100644 index 000000000..50a0b0400 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/ShulkerBoxSpecialRenderer.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/client/renderer/special/ShulkerBoxSpecialRenderer + METHOD (Lnet/minecraft/client/renderer/blockentity/ShulkerBoxRenderer;FLnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/Material;)V + ARG 1 shulkerBoxRenderer + ARG 2 openness + ARG 3 orientation + ARG 4 material + CLASS Unbaked + METHOD (Lnet/minecraft/world/item/DyeColor;)V + ARG 1 color + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/SkullSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/SkullSpecialRenderer.mapping new file mode 100644 index 000000000..74370bfc5 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/SkullSpecialRenderer.mapping @@ -0,0 +1,22 @@ +CLASS net/minecraft/client/renderer/special/SkullSpecialRenderer + METHOD (Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/client/model/SkullModelBase;)V + ARG 1 skullType + ARG 2 model + METHOD (Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/client/model/SkullModelBase;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 skullType + ARG 2 model + ARG 3 textureOverride + METHOD (Lnet/minecraft/world/level/block/SkullBlock$Type;Lnet/minecraft/client/model/SkullModelBase;Lnet/minecraft/resources/ResourceLocation;F)V + ARG 1 skullType + ARG 2 model + ARG 3 textureOverride + ARG 4 animation + CLASS Unbaked + METHOD (Lnet/minecraft/world/level/block/SkullBlock$Type;)V + ARG 1 type + METHOD lambda$bake$1 (Ljava/lang/String;)Ljava/lang/String; + ARG 0 name + METHOD lambda$bake$2 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceLocation; + ARG 0 location + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/SpecialModelRenderer.mapping b/data/net/minecraft/client/renderer/special/SpecialModelRenderer.mapping new file mode 100644 index 000000000..21ff66165 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/SpecialModelRenderer.mapping @@ -0,0 +1,14 @@ +CLASS net/minecraft/client/renderer/special/SpecialModelRenderer + METHOD extractArgument (Lnet/minecraft/world/item/ItemStack;)Ljava/lang/Object; + ARG 1 stack + METHOD render (Ljava/lang/Object;Lnet/minecraft/world/item/ItemDisplayContext;Lcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;IIZ)V + ARG 1 patterns + ARG 2 displayContext + ARG 3 poseStack + ARG 4 bufferSource + ARG 5 packedLight + ARG 6 packedOverlay + ARG 7 hasFoilType + CLASS Unbaked + METHOD bake (Lnet/minecraft/client/model/geom/EntityModelSet;)Lnet/minecraft/client/renderer/special/SpecialModelRenderer; + ARG 1 modelSet diff --git a/data/net/minecraft/client/renderer/special/SpecialModelRenderers.mapping b/data/net/minecraft/client/renderer/special/SpecialModelRenderers.mapping new file mode 100644 index 000000000..3a90c16ec --- /dev/null +++ b/data/net/minecraft/client/renderer/special/SpecialModelRenderers.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/renderer/special/SpecialModelRenderers + METHOD createBlockRenderers (Lnet/minecraft/client/model/geom/EntityModelSet;)Ljava/util/Map; + ARG 0 modelSet + METHOD lambda$createBlockRenderers$1 (Lnet/minecraft/client/model/geom/EntityModelSet;Lcom/google/common/collect/ImmutableMap$Builder;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/client/renderer/special/SpecialModelRenderer$Unbaked;)V + ARG 2 block + ARG 3 model diff --git a/data/net/minecraft/client/renderer/special/StandingSignSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/StandingSignSpecialRenderer.mapping new file mode 100644 index 000000000..687175f20 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/StandingSignSpecialRenderer.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/client/renderer/special/StandingSignSpecialRenderer + METHOD (Lnet/minecraft/client/model/Model;Lnet/minecraft/client/resources/model/Material;)V + ARG 1 model + ARG 2 material + CLASS Unbaked + METHOD (Lnet/minecraft/world/level/block/state/properties/WoodType;)V + ARG 1 woodType + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/client/renderer/special/TridentSpecialRenderer.mapping b/data/net/minecraft/client/renderer/special/TridentSpecialRenderer.mapping new file mode 100644 index 000000000..44f66c9f5 --- /dev/null +++ b/data/net/minecraft/client/renderer/special/TridentSpecialRenderer.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/renderer/special/TridentSpecialRenderer + METHOD (Lnet/minecraft/client/model/TridentModel;)V + ARG 1 model diff --git a/data/net/minecraft/client/renderer/texture/AbstractTexture.mapping b/data/net/minecraft/client/renderer/texture/AbstractTexture.mapping index 40036c907..6d4033941 100644 --- a/data/net/minecraft/client/renderer/texture/AbstractTexture.mapping +++ b/data/net/minecraft/client/renderer/texture/AbstractTexture.mapping @@ -6,6 +6,11 @@ CLASS net/minecraft/client/renderer/texture/AbstractTexture ARG 2 resourceManager ARG 3 path ARG 4 executor + METHOD setClamp (Z)V + ARG 1 clamp + METHOD setFilter (Lnet/minecraft/util/TriState;Z)V + ARG 1 blur + ARG 2 mipmap METHOD setFilter (ZZ)V ARG 1 blur ARG 2 mipmap diff --git a/data/net/minecraft/client/renderer/texture/ReloadableTexture.mapping b/data/net/minecraft/client/renderer/texture/ReloadableTexture.mapping new file mode 100644 index 000000000..4369a6d2c --- /dev/null +++ b/data/net/minecraft/client/renderer/texture/ReloadableTexture.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/client/renderer/texture/ReloadableTexture + METHOD (Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 resourceId + METHOD apply (Lnet/minecraft/client/renderer/texture/TextureContents;)V + ARG 1 textureContents + METHOD doLoad (Lcom/mojang/blaze3d/platform/NativeImage;ZZ)V + ARG 1 image + ARG 2 blur + ARG 3 clamp + METHOD loadContents (Lnet/minecraft/server/packs/resources/ResourceManager;)Lnet/minecraft/client/renderer/texture/TextureContents; + ARG 1 resourceManager diff --git a/data/net/minecraft/client/renderer/texture/SkinTextureDownloader.mapping b/data/net/minecraft/client/renderer/texture/SkinTextureDownloader.mapping new file mode 100644 index 000000000..a819b1377 --- /dev/null +++ b/data/net/minecraft/client/renderer/texture/SkinTextureDownloader.mapping @@ -0,0 +1,29 @@ +CLASS net/minecraft/client/renderer/texture/SkinTextureDownloader + METHOD doNotchTransparencyHack (Lcom/mojang/blaze3d/platform/NativeImage;IIII)V + ARG 0 image + ARG 1 minX + ARG 2 minY + ARG 3 maxX + ARG 4 maxY + METHOD downloadAndRegisterSkin (Lnet/minecraft/resources/ResourceLocation;Ljava/nio/file/Path;Ljava/lang/String;Z)Ljava/util/concurrent/CompletableFuture; + ARG 0 textureLocation + ARG 1 path + ARG 2 url + ARG 3 isLegacySkin + METHOD downloadSkin (Ljava/nio/file/Path;Ljava/lang/String;)Lcom/mojang/blaze3d/platform/NativeImage; + ARG 0 path + ARG 1 url + METHOD lambda$downloadAndRegisterSkin$1 (Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/blaze3d/platform/NativeImage;)Ljava/util/concurrent/CompletionStage; + ARG 1 image + METHOD processLegacySkin (Lcom/mojang/blaze3d/platform/NativeImage;Ljava/lang/String;)Lcom/mojang/blaze3d/platform/NativeImage; + ARG 0 image + ARG 1 url + METHOD registerTextureInManager (Lnet/minecraft/resources/ResourceLocation;Lcom/mojang/blaze3d/platform/NativeImage;)Ljava/util/concurrent/CompletableFuture; + ARG 0 location + ARG 1 image + METHOD setNoAlpha (Lcom/mojang/blaze3d/platform/NativeImage;IIII)V + ARG 0 image + ARG 1 minX + ARG 2 minY + ARG 3 maxX + ARG 4 maxY diff --git a/data/net/minecraft/client/renderer/texture/TextureContents.mapping b/data/net/minecraft/client/renderer/texture/TextureContents.mapping new file mode 100644 index 000000000..318a67307 --- /dev/null +++ b/data/net/minecraft/client/renderer/texture/TextureContents.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/client/renderer/texture/TextureContents + METHOD load (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/TextureContents; + ARG 0 resourceManager + ARG 1 textureId diff --git a/data/net/minecraft/client/renderer/texture/TextureManager.mapping b/data/net/minecraft/client/renderer/texture/TextureManager.mapping index f958e2a89..92fa60050 100644 --- a/data/net/minecraft/client/renderer/texture/TextureManager.mapping +++ b/data/net/minecraft/client/renderer/texture/TextureManager.mapping @@ -12,6 +12,24 @@ CLASS net/minecraft/client/renderer/texture/TextureManager METHOD getTexture (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)Lnet/minecraft/client/renderer/texture/AbstractTexture; ARG 1 path ARG 2 defaultTexture + METHOD lambda$_dumpAllSheets$4 (Ljava/nio/file/Path;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)V + ARG 1 location + ARG 2 texture + METHOD lambda$_dumpAllSheets$8 (Ljava/nio/file/Path;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)V + ARG 1 path + ARG 2 texture + METHOD lambda$reload$0 (Ljava/util/List;Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/concurrent/Executor;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)V + ARG 3 location + ARG 4 texture + METHOD lambda$reload$6 (Ljava/lang/Runnable;)V + ARG 0 renderCall + METHOD loadContents (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/ReloadableTexture;)Lnet/minecraft/client/renderer/texture/TextureContents; + ARG 0 resourceManager + ARG 1 textureId + ARG 2 texture + METHOD loadContentsSafe (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/ReloadableTexture;)Lnet/minecraft/client/renderer/texture/TextureContents; + ARG 1 textureId + ARG 2 texture METHOD loadTexture (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)Lnet/minecraft/client/renderer/texture/AbstractTexture; ARG 1 path ARG 2 texture @@ -24,8 +42,18 @@ CLASS net/minecraft/client/renderer/texture/TextureManager METHOD register (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)V ARG 1 path ARG 2 texture + METHOD registerAndLoad (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/ReloadableTexture;)V + ARG 1 textureId + ARG 2 texture + METHOD registerForNextReload (Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 textureId METHOD release (Lnet/minecraft/resources/ResourceLocation;)V ARG 1 path METHOD safeClose (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/AbstractTexture;)V ARG 1 path ARG 2 texture + METHOD scheduleLoad (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/texture/ReloadableTexture;Ljava/util/concurrent/Executor;)Lnet/minecraft/client/renderer/texture/TextureManager$PendingReload; + ARG 0 resourceManager + ARG 1 textureId + ARG 2 texture + ARG 3 executor diff --git a/data/net/minecraft/client/resources/SkinManager.mapping b/data/net/minecraft/client/resources/SkinManager.mapping index c642baee5..d4fa1d960 100644 --- a/data/net/minecraft/client/resources/SkinManager.mapping +++ b/data/net/minecraft/client/resources/SkinManager.mapping @@ -1,4 +1,8 @@ CLASS net/minecraft/client/resources/SkinManager + METHOD (Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Ljava/util/concurrent/Executor;)V + ARG 1 skinDirectory + ARG 2 sessionService + ARG 3 executor METHOD (Lnet/minecraft/client/renderer/texture/TextureManager;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftSessionService;Ljava/util/concurrent/Executor;)V ARG 1 textureManager ARG 2 root @@ -22,6 +26,9 @@ CLASS net/minecraft/client/resources/SkinManager METHOD equals (Ljava/lang/Object;)Z ARG 1 other CLASS TextureCache + METHOD (Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)V + ARG 1 root + ARG 2 type METHOD (Lnet/minecraft/client/renderer/texture/TextureManager;Ljava/nio/file/Path;Lcom/mojang/authlib/minecraft/MinecraftProfileTexture$Type;)V ARG 1 textureManager ARG 2 root diff --git a/data/net/minecraft/client/resources/metadata/animation/AnimationFrame.mapping b/data/net/minecraft/client/resources/metadata/animation/AnimationFrame.mapping index b810f8d99..479f59195 100644 --- a/data/net/minecraft/client/resources/metadata/animation/AnimationFrame.mapping +++ b/data/net/minecraft/client/resources/metadata/animation/AnimationFrame.mapping @@ -6,3 +6,11 @@ CLASS net/minecraft/client/resources/metadata/animation/AnimationFrame ARG 2 time METHOD getTime (I)I ARG 1 defaultValue + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$1 (Lnet/minecraft/client/resources/metadata/animation/AnimationFrame;)Lnet/minecraft/client/resources/metadata/animation/AnimationFrame; + ARG 0 frame + METHOD lambda$static$3 (Lnet/minecraft/client/resources/metadata/animation/AnimationFrame;)Lcom/mojang/datafixers/util/Either; + ARG 0 frame + METHOD timeOr (I)I + ARG 1 defaultValue diff --git a/data/net/minecraft/client/resources/metadata/animation/VillagerMetaDataSection.mapping b/data/net/minecraft/client/resources/metadata/animation/VillagerMetaDataSection.mapping index db97e0938..371e53b1f 100644 --- a/data/net/minecraft/client/resources/metadata/animation/VillagerMetaDataSection.mapping +++ b/data/net/minecraft/client/resources/metadata/animation/VillagerMetaDataSection.mapping @@ -1,8 +1,6 @@ -CLASS net/minecraft/client/resources/metadata/animation/VillagerMetaDataSection - METHOD (Lnet/minecraft/client/resources/metadata/animation/VillagerMetaDataSection$Hat;)V - ARG 1 hat +CLASS net/minecraft/client/resources/metadata/animation/VillagerMetadataSection + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance CLASS Hat METHOD (Ljava/lang/String;ILjava/lang/String;)V ARG 3 name - METHOD getByName (Ljava/lang/String;)Lnet/minecraft/client/resources/metadata/animation/VillagerMetaDataSection$Hat; - ARG 0 name diff --git a/data/net/minecraft/client/resources/model/BlockStateModelLoader.mapping b/data/net/minecraft/client/resources/model/BlockStateModelLoader.mapping index 176ec0dc2..0b5a08b9c 100644 --- a/data/net/minecraft/client/resources/model/BlockStateModelLoader.mapping +++ b/data/net/minecraft/client/resources/model/BlockStateModelLoader.mapping @@ -1,7 +1,48 @@ CLASS net/minecraft/client/resources/model/BlockStateModelLoader METHOD (Lnet/minecraft/client/resources/model/UnbakedModel;)V ARG 1 missingModel + METHOD getValueHelper (Lnet/minecraft/world/level/block/state/properties/Property;Ljava/lang/String;)Ljava/lang/Comparable; + ARG 0 property + ARG 1 propertyName + METHOD lambda$loadBlockStateDefinitionStack$4 (Lnet/minecraft/resources/ResourceLocation;Ljava/util/Map;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/renderer/block/model/UnbakedBlockStateModel;)V + ARG 2 state METHOD loadBlockStateDefinitionStack (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/StateDefinition;Ljava/util/List;)Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels; ARG 1 blockStateId ARG 2 stateDefinition ARG 3 modelDefinitions + METHOD loadBlockStateDefinitionStack (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/StateDefinition;Ljava/util/List;Lnet/minecraft/client/resources/model/UnbakedModel;)Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels; + ARG 0 id + ARG 1 stateDefinition + ARG 2 modelDefinitions + ARG 3 model + METHOD loadBlockStateDefinitions (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/StateDefinition;)V + ARG 1 blockStateId + ARG 2 stateDefenition + METHOD loadBlockStates (Lnet/minecraft/client/resources/model/UnbakedModel;Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; + ARG 0 model + ARG 1 resourceManager + ARG 2 executor + METHOD predicate (Lnet/minecraft/world/level/block/state/StateDefinition;Ljava/lang/String;)Ljava/util/function/Predicate; + ARG 0 stateDefentition + ARG 1 properties + METHOD registerModelGroup (Ljava/lang/Iterable;)V + ARG 1 models + CLASS LoadedJson + METHOD parse (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/client/renderer/block/model/BlockModelDefinition$Context;)Lnet/minecraft/client/renderer/block/model/BlockModelDefinition; + ARG 1 blockStateId + ARG 2 context + CLASS ModelGroupKey + METHOD create (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/renderer/block/model/multipart/MultiPart;Ljava/util/Collection;)Lnet/minecraft/client/resources/model/BlockStateModelLoader$ModelGroupKey; + ARG 0 state + ARG 1 model + ARG 2 properties + METHOD create (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/resources/model/UnbakedModel;Ljava/util/Collection;)Lnet/minecraft/client/resources/model/BlockStateModelLoader$ModelGroupKey; + ARG 0 state + ARG 1 model + ARG 2 properties + METHOD getColoringValues (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/Collection;)Ljava/util/List; + ARG 0 state + ARG 1 properties + CLASS BlockStateDefinitionException + METHOD (Ljava/lang/String;)V + ARG 1 message diff --git a/data/net/minecraft/client/resources/model/ClientItemInfoLoader.mapping b/data/net/minecraft/client/resources/model/ClientItemInfoLoader.mapping new file mode 100644 index 000000000..a730105ee --- /dev/null +++ b/data/net/minecraft/client/resources/model/ClientItemInfoLoader.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/client/resources/model/ClientItemInfoLoader + METHOD scheduleLoad (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; + ARG 0 resourceManager + ARG 1 executor diff --git a/data/net/minecraft/client/resources/model/EquipmentAssetManager.mapping b/data/net/minecraft/client/resources/model/EquipmentAssetManager.mapping new file mode 100644 index 000000000..66ea63cde --- /dev/null +++ b/data/net/minecraft/client/resources/model/EquipmentAssetManager.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/client/resources/model/EquipmentAssetManager + METHOD get (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/client/resources/model/EquipmentClientInfo; + ARG 1 key diff --git a/data/net/minecraft/client/resources/model/EquipmentClientInfo.mapping b/data/net/minecraft/client/resources/model/EquipmentClientInfo.mapping new file mode 100644 index 000000000..c554b890e --- /dev/null +++ b/data/net/minecraft/client/resources/model/EquipmentClientInfo.mapping @@ -0,0 +1,38 @@ +CLASS net/minecraft/client/resources/model/EquipmentClientInfo + METHOD getLayers (Lnet/minecraft/client/resources/model/EquipmentClientInfo$LayerType;)Ljava/util/List; + ARG 1 type + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + CLASS Layer + METHOD (Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 textureId + METHOD getTextureLocation (Lnet/minecraft/client/resources/model/EquipmentClientInfo$LayerType;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 type + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD leatherDyeable (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/resources/model/EquipmentClientInfo$Layer; + ARG 0 textureId + ARG 1 dyeable + METHOD onlyIfDyed (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/resources/model/EquipmentClientInfo$Layer; + ARG 0 textureId + ARG 1 dyeable + CLASS Builder + METHOD addHumanoidLayers (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/EquipmentClientInfo$Builder; + ARG 1 textureId + METHOD addHumanoidLayers (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/resources/model/EquipmentClientInfo$Builder; + ARG 1 textureId + ARG 2 dyeable + METHOD addLayers (Lnet/minecraft/client/resources/model/EquipmentClientInfo$LayerType;[Lnet/minecraft/client/resources/model/EquipmentClientInfo$Layer;)Lnet/minecraft/client/resources/model/EquipmentClientInfo$Builder; + ARG 1 type + ARG 2 layers + METHOD addMainHumanoidLayer (Lnet/minecraft/resources/ResourceLocation;Z)Lnet/minecraft/client/resources/model/EquipmentClientInfo$Builder; + ARG 1 textureId + ARG 2 dyeable + METHOD lambda$build$1 (Ljava/util/Map$Entry;)Ljava/util/List; + ARG 0 entry + CLASS Dyeable + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + CLASS LayerType + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 id diff --git a/data/net/minecraft/client/resources/model/ItemStackModelLoader.mapping b/data/net/minecraft/client/resources/model/ItemStackModelLoader.mapping new file mode 100644 index 000000000..c926168b6 --- /dev/null +++ b/data/net/minecraft/client/resources/model/ItemStackModelLoader.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/client/resources/model/ItemStackModelLoader + METHOD loadItemStackModels (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; + ARG 0 resourceManager + ARG 1 executor diff --git a/data/net/minecraft/client/resources/model/ModelBakery.mapping b/data/net/minecraft/client/resources/model/ModelBakery.mapping index 855c226b3..e1a852bd3 100644 --- a/data/net/minecraft/client/resources/model/ModelBakery.mapping +++ b/data/net/minecraft/client/resources/model/ModelBakery.mapping @@ -3,15 +3,39 @@ CLASS net/minecraft/client/resources/model/ModelBakery ARG 1 topModels ARG 2 unbackedModels ARG 3 missingModel + METHOD (Lnet/minecraft/client/color/block/BlockColors;Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/Map;Ljava/util/Map;)V + ARG 1 blockColors + ARG 2 profilerFiller + ARG 3 modelResources + ARG 4 blockStateResources + METHOD (Lnet/minecraft/client/model/geom/EntityModelSet;Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;Lnet/minecraft/client/resources/model/UnbakedModel;)V + ARG 1 entityModelSet + ARG 2 unbakedBlockStateModels + ARG 3 unbakedItemStackModels + ARG 4 unbakedPlainModels + ARG 5 missingModel + METHOD bakeModels (Lnet/minecraft/client/resources/model/ModelBakery$TextureGetter;)Lnet/minecraft/client/resources/model/ModelBakery$BakingResult; + ARG 1 textureGetter METHOD bakeModels (Lnet/minecraft/client/resources/model/ModelBakery$TextureGetter;)V ARG 1 textureGetter METHOD lambda$static$0 (I)Lnet/minecraft/resources/ResourceLocation; ARG 0 index CLASS TextureGetter + METHOD bind (Lnet/minecraft/client/resources/model/ModelDebugName;)Lnet/minecraft/client/resources/model/SpriteGetter; + ARG 1 name + METHOD get (Lnet/minecraft/client/resources/model/ModelDebugName;Lnet/minecraft/client/resources/model/Material;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; + ARG 1 name + ARG 2 material METHOD get (Lnet/minecraft/client/resources/model/ModelResourceLocation;Lnet/minecraft/client/resources/model/Material;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; ARG 1 modelLocation ARG 2 material + METHOD reportMissingReference (Lnet/minecraft/client/resources/model/ModelDebugName;Ljava/lang/String;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; + ARG 1 name + ARG 2 reference CLASS ModelBakerImpl + METHOD (Lnet/minecraft/client/resources/model/ModelBakery;Lnet/minecraft/client/resources/model/ModelBakery$TextureGetter;Lnet/minecraft/client/resources/model/ModelDebugName;)V + ARG 2 textureGetter + ARG 3 rootName METHOD (Lnet/minecraft/client/resources/model/ModelBakery;Lnet/minecraft/client/resources/model/ModelBakery$TextureGetter;Lnet/minecraft/client/resources/model/ModelResourceLocation;)V ARG 2 textureGetter ARG 3 modelLocation diff --git a/data/net/minecraft/client/resources/model/ModelDiscovery.mapping b/data/net/minecraft/client/resources/model/ModelDiscovery.mapping index 79abac990..c99d7802d 100644 --- a/data/net/minecraft/client/resources/model/ModelDiscovery.mapping +++ b/data/net/minecraft/client/resources/model/ModelDiscovery.mapping @@ -2,8 +2,12 @@ CLASS net/minecraft/client/resources/model/ModelDiscovery METHOD (Ljava/util/Map;Lnet/minecraft/client/resources/model/UnbakedModel;)V ARG 1 inputModels ARG 2 missingModel + METHOD addRoot (Lnet/minecraft/client/resources/model/ResolvableModel;)V + ARG 1 model METHOD getBlockModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/UnbakedModel; ARG 1 modelLocation + METHOD lambda$discoverDependencies$0 (Lnet/minecraft/client/resources/model/ResolvableModel;)V + ARG 1 model METHOD loadBlockModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/UnbakedModel; ARG 1 modelLocation METHOD registerStandardModels (Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels;)V diff --git a/data/net/minecraft/client/resources/model/ModelGroupCollector.mapping b/data/net/minecraft/client/resources/model/ModelGroupCollector.mapping index 6715823e6..852e2016a 100644 --- a/data/net/minecraft/client/resources/model/ModelGroupCollector.mapping +++ b/data/net/minecraft/client/resources/model/ModelGroupCollector.mapping @@ -2,7 +2,20 @@ CLASS net/minecraft/client/resources/model/ModelGroupCollector METHOD build (Lnet/minecraft/client/color/block/BlockColors;Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels;)Lit/unimi/dsi/fastutil/objects/Object2IntMap; ARG 0 blockColors ARG 1 loadedModels + METHOD lambda$build$0 (Lnet/minecraft/client/color/block/BlockColors;Lnet/minecraft/world/level/block/Block;)Ljava/util/List; + ARG 1 block + METHOD lambda$build$1 (Lnet/minecraft/client/resources/model/ModelGroupCollector$GroupKey;)Ljava/util/Set; + ARG 0 key + METHOD lambda$build$2 (Ljava/util/Map;Lnet/minecraft/client/color/block/BlockColors;Ljava/util/Map;Lnet/minecraft/client/resources/model/ModelResourceLocation;Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModel;)V + ARG 3 name + ARG 4 model + METHOD lambda$build$3 (Lit/unimi/dsi/fastutil/objects/Object2IntMap;ILnet/minecraft/world/level/block/state/BlockState;)V + ARG 2 state CLASS GroupKey + METHOD create (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/renderer/block/model/UnbakedBlockStateModel;Ljava/util/List;)Lnet/minecraft/client/resources/model/ModelGroupCollector$GroupKey; + ARG 0 state + ARG 1 model + ARG 2 properties METHOD create (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/client/resources/model/UnbakedModel;Ljava/util/List;)Lnet/minecraft/client/resources/model/ModelGroupCollector$GroupKey; ARG 0 state ARG 1 model diff --git a/data/net/minecraft/client/resources/model/ModelManager.mapping b/data/net/minecraft/client/resources/model/ModelManager.mapping index 87bd2ca57..1009e63c8 100644 --- a/data/net/minecraft/client/resources/model/ModelManager.mapping +++ b/data/net/minecraft/client/resources/model/ModelManager.mapping @@ -9,14 +9,50 @@ CLASS net/minecraft/client/resources/model/ModelManager METHOD buildModelGroups (Lnet/minecraft/client/color/block/BlockColors;Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels;)Lit/unimi/dsi/fastutil/objects/Object2IntMap; ARG 0 blockColors ARG 1 loadedModels + METHOD createBlockStateToModelDispatch (Ljava/util/Map;Lnet/minecraft/client/resources/model/BakedModel;)Ljava/util/Map; + ARG 0 blockStateModels + ARG 1 missingModel METHOD discoverModelDependencies (Lnet/minecraft/client/resources/model/UnbakedModel;Ljava/util/Map;Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels;)Lnet/minecraft/client/resources/model/ModelDiscovery; ARG 1 missingModel ARG 2 inputModels ARG 3 loadedModels + METHOD discoverModelDependencies (Lnet/minecraft/client/resources/model/UnbakedModel;Ljava/util/Map;Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels;Lnet/minecraft/client/resources/model/ClientItemInfoLoader$LoadedClientInfos;)Lnet/minecraft/client/resources/model/ModelDiscovery; + ARG 0 missingModel + ARG 1 inputModels + ARG 2 loadedModels + ARG 3 loadedClientInfos + METHOD discoverModelDependencies (Lnet/minecraft/client/resources/model/UnbakedModel;Ljava/util/Map;Lnet/minecraft/client/resources/model/BlockStateModelLoader$LoadedModels;Lnet/minecraft/client/resources/model/ItemStackModelLoader$LoadedModels;)Lnet/minecraft/client/resources/model/ModelDiscovery; + ARG 0 missingModel + ARG 1 inputModels + ARG 2 loadedBlockStateModels + ARG 3 loadedItemStackModels METHOD getAtlas (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/texture/TextureAtlas; ARG 1 location + METHOD getItemModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/item/ItemModel; + ARG 1 modelLocation + METHOD getItemProperties (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/item/ClientItem$Properties; + ARG 1 itemId METHOD getModel (Lnet/minecraft/client/resources/model/ModelResourceLocation;)Lnet/minecraft/client/resources/model/BakedModel; ARG 1 modelLocation + METHOD lambda$createBlockStateToModelDispatch$18 (Ljava/util/Map;Ljava/util/Map;Lnet/minecraft/client/resources/model/BakedModel;Lnet/minecraft/world/level/block/state/BlockState;)V + ARG 3 state + METHOD lambda$loadBlockModels$10 (Ljava/util/concurrent/Executor;Ljava/util/Map;)Ljava/util/concurrent/CompletionStage; + ARG 1 modelResources + METHOD lambda$loadBlockModels$9 (Ljava/util/List;)Ljava/util/Map; + ARG 0 modelResourcePairs + METHOD lambda$loadBlockStates$13 (Ljava/util/List;)Ljava/util/Map; + ARG 0 loadedBlockStates + METHOD lambda$loadBlockStates$14 (Ljava/util/concurrent/Executor;Ljava/util/Map;)Ljava/util/concurrent/CompletionStage; + ARG 1 blockStateResources + METHOD lambda$loadModels$18 (Ljava/util/Map;Lnet/minecraft/client/resources/model/BakedModel;Ljava/util/Map;Lnet/minecraft/world/level/block/state/BlockState;)V + ARG 3 possibleState + METHOD lambda$reload$0 (Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/Map;Ljava/util/Map;)Lnet/minecraft/client/resources/model/ModelBakery; + ARG 2 modelResources + ARG 3 blockStateResources + METHOD lambda$reload$7 (Lnet/minecraft/client/resources/model/ModelManager$ReloadState;)Ljava/util/concurrent/CompletionStage; + ARG 0 reloadState + METHOD lambda$reload$8 (Lnet/minecraft/client/resources/model/ModelManager$ReloadState;)V + ARG 1 reloadState METHOD loadBlockModels (Lnet/minecraft/server/packs/resources/ResourceManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture; ARG 0 resourceManager ARG 1 executor @@ -29,6 +65,13 @@ CLASS net/minecraft/client/resources/model/ModelManager ARG 2 stitchResults ARG 3 modelBakery ARG 4 modelGroups + METHOD loadModels (Lnet/minecraft/util/profiling/ProfilerFiller;Ljava/util/Map;Lnet/minecraft/client/resources/model/ModelBakery;Lit/unimi/dsi/fastutil/objects/Object2IntMap;Lnet/minecraft/client/model/geom/EntityModelSet;Lnet/minecraft/client/renderer/SpecialBlockModelRenderer;)Lnet/minecraft/client/resources/model/ModelManager$ReloadState; + ARG 0 profiler + ARG 1 atlasPreperations + ARG 2 modelBakery + ARG 3 modelGroups + ARG 4 entityModelSet + ARG 5 specialBlockModelRenderer METHOD requiresRender (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)Z ARG 1 oldState ARG 2 newState diff --git a/data/net/minecraft/client/resources/model/ResolvableModel.mapping b/data/net/minecraft/client/resources/model/ResolvableModel.mapping new file mode 100644 index 000000000..39e7246a5 --- /dev/null +++ b/data/net/minecraft/client/resources/model/ResolvableModel.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/client/resources/model/ResolvableModel + METHOD resolveDependencies (Lnet/minecraft/client/resources/model/ResolvableModel$Resolver;)V + ARG 1 resolver + CLASS Resolver + METHOD resolve (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/UnbakedModel; + ARG 1 model diff --git a/data/net/minecraft/client/resources/model/SimpleBakedModel.mapping b/data/net/minecraft/client/resources/model/SimpleBakedModel.mapping index a0fd93611..5873828de 100644 --- a/data/net/minecraft/client/resources/model/SimpleBakedModel.mapping +++ b/data/net/minecraft/client/resources/model/SimpleBakedModel.mapping @@ -7,6 +7,34 @@ CLASS net/minecraft/client/resources/model/SimpleBakedModel ARG 5 isGui3d ARG 6 particleIcon ARG 7 transforms + METHOD (Ljava/util/List;Ljava/util/Map;ZZZLnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/client/renderer/block/model/ItemTransforms;Lnet/minecraft/client/renderer/block/model/ItemOverrides;)V + ARG 1 unculledFaces + ARG 2 culledFaces + ARG 3 hasAmbientOcclusion + ARG 4 usesBlockLight + ARG 5 isGui3d + ARG 6 particleIcon + ARG 7 transforms + ARG 8 overrides + METHOD bakeElements (Ljava/util/List;Lnet/minecraft/client/renderer/block/model/TextureSlots;Lnet/minecraft/client/resources/model/SpriteGetter;Lnet/minecraft/client/resources/model/ModelState;ZZZLnet/minecraft/client/renderer/block/model/ItemTransforms;)Lnet/minecraft/client/resources/model/BakedModel; + ARG 0 elements + ARG 1 textureSlots + ARG 2 spriteGetter + ARG 3 modelState + ARG 4 hasAmbientOcclusion + ARG 5 useBlockLight + ARG 6 isGui3d + ARG 7 transforms + METHOD bakeFace (Lnet/minecraft/client/renderer/block/model/BlockElement;Lnet/minecraft/client/renderer/block/model/BlockElementFace;Lnet/minecraft/client/renderer/texture/TextureAtlasSprite;Lnet/minecraft/core/Direction;Lnet/minecraft/client/resources/model/ModelState;)Lnet/minecraft/client/renderer/block/model/BakedQuad; + ARG 0 element + ARG 1 face + ARG 2 sprite + ARG 3 facing + ARG 4 transform + METHOD findSprite (Lnet/minecraft/client/resources/model/SpriteGetter;Lnet/minecraft/client/renderer/block/model/TextureSlots;Ljava/lang/String;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; + ARG 0 spriteGetter + ARG 1 textureSlots + ARG 2 material CLASS Builder METHOD (Lnet/minecraft/client/renderer/block/model/BlockModel;Z)V ARG 1 model @@ -15,7 +43,13 @@ CLASS net/minecraft/client/resources/model/SimpleBakedModel ARG 1 hasAmbientOcclusion ARG 2 useBlockLight ARG 3 isGui3d - ARG 4 trnsforms + ARG 4 transforms + METHOD (ZZZLnet/minecraft/client/renderer/block/model/ItemTransforms;Lnet/minecraft/client/renderer/block/model/ItemOverrides;)V + ARG 1 hasAmbientOcclusion + ARG 2 usesBlockLight + ARG 3 isGui3d + ARG 4 transforms + ARG 5 overrides METHOD addCulledFace (Lnet/minecraft/core/Direction;Lnet/minecraft/client/renderer/block/model/BakedQuad;)Lnet/minecraft/client/resources/model/SimpleBakedModel$Builder; ARG 1 facing ARG 2 quad diff --git a/data/net/minecraft/client/resources/model/SpriteGetter.mapping b/data/net/minecraft/client/resources/model/SpriteGetter.mapping new file mode 100644 index 000000000..ed505182f --- /dev/null +++ b/data/net/minecraft/client/resources/model/SpriteGetter.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/resources/model/SpriteGetter + METHOD get (Lnet/minecraft/client/resources/model/Material;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; + ARG 1 material + METHOD reportMissingReference (Ljava/lang/String;)Lnet/minecraft/client/renderer/texture/TextureAtlasSprite; + ARG 1 reference diff --git a/data/net/minecraft/client/resources/model/UnbakedModel.mapping b/data/net/minecraft/client/resources/model/UnbakedModel.mapping index bdc72172d..fbfe816d3 100644 --- a/data/net/minecraft/client/resources/model/UnbakedModel.mapping +++ b/data/net/minecraft/client/resources/model/UnbakedModel.mapping @@ -1,10 +1,43 @@ CLASS net/minecraft/client/resources/model/UnbakedModel + METHOD bake (Lnet/minecraft/client/renderer/block/model/TextureSlots;Lnet/minecraft/client/resources/model/ModelBaker;Lnet/minecraft/client/resources/model/ModelState;ZZLnet/minecraft/client/renderer/block/model/ItemTransforms;)Lnet/minecraft/client/resources/model/BakedModel; + ARG 1 textureSlots + ARG 2 baker + ARG 3 modelState + ARG 4 hasAmbientOcclusion + ARG 5 useBlockLight + ARG 6 transforms METHOD bake (Lnet/minecraft/client/resources/model/ModelBaker;Ljava/util/function/Function;Lnet/minecraft/client/resources/model/ModelState;)Lnet/minecraft/client/resources/model/BakedModel; ARG 1 baker ARG 2 spriteGetter ARG 3 state + METHOD bakeWithTopModelValues (Lnet/minecraft/client/resources/model/UnbakedModel;Lnet/minecraft/client/resources/model/ModelBaker;Lnet/minecraft/client/resources/model/ModelState;)Lnet/minecraft/client/resources/model/BakedModel; + ARG 0 model + ARG 1 baker + ARG 2 modelState + METHOD getTopAmbientOcclusion (Lnet/minecraft/client/resources/model/UnbakedModel;)Z + ARG 0 model + METHOD getTopGuiLight (Lnet/minecraft/client/resources/model/UnbakedModel;)Lnet/minecraft/client/resources/model/UnbakedModel$GuiLight; + ARG 0 model + METHOD getTopTextureSlots (Lnet/minecraft/client/resources/model/UnbakedModel;Lnet/minecraft/client/resources/model/ModelDebugName;)Lnet/minecraft/client/renderer/block/model/TextureSlots; + ARG 0 model + ARG 1 name + METHOD getTopTransform (Lnet/minecraft/client/resources/model/UnbakedModel;Lnet/minecraft/world/item/ItemDisplayContext;)Lnet/minecraft/client/renderer/block/model/ItemTransform; + ARG 0 model + ARG 1 displayContext + METHOD getTopTransforms (Lnet/minecraft/client/resources/model/UnbakedModel;)Lnet/minecraft/client/renderer/block/model/ItemTransforms; + ARG 0 unbakedModel METHOD resolveDependencies (Lnet/minecraft/client/resources/model/UnbakedModel$Resolver;)V ARG 1 resolver + METHOD resolveDependencies (Lnet/minecraft/client/resources/model/UnbakedModel$Resolver;Lnet/minecraft/client/resources/model/UnbakedModel$ResolutionContext;)V + ARG 1 resolver + ARG 2 resolutionContext + METHOD resolveParents (Ljava/util/function/Function;)V + ARG 1 resolver + CLASS GuiLight + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 name + METHOD getByName (Ljava/lang/String;)Lnet/minecraft/client/resources/model/UnbakedModel$GuiLight; + ARG 0 name CLASS Resolver METHOD resolve (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/resources/model/UnbakedModel; ARG 1 modelLocation diff --git a/data/net/minecraft/client/sounds/MusicInfo.mapping b/data/net/minecraft/client/sounds/MusicInfo.mapping new file mode 100644 index 000000000..37a847151 --- /dev/null +++ b/data/net/minecraft/client/sounds/MusicInfo.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/client/sounds/MusicInfo + METHOD (Lnet/minecraft/sounds/Music;)V + ARG 1 music + METHOD canReplace (Lnet/minecraft/client/resources/sounds/SoundInstance;)Z + ARG 1 soundInstance diff --git a/data/net/minecraft/client/sounds/MusicManager.mapping b/data/net/minecraft/client/sounds/MusicManager.mapping index d8b1b5037..1aff73442 100644 --- a/data/net/minecraft/client/sounds/MusicManager.mapping +++ b/data/net/minecraft/client/sounds/MusicManager.mapping @@ -6,10 +6,14 @@ CLASS net/minecraft/client/sounds/MusicManager COMMENT The delay until the next song starts. METHOD (Lnet/minecraft/client/Minecraft;)V ARG 1 minecraft + METHOD fadePlaying (F)Z + ARG 1 volume METHOD isPlayingMusic (Lnet/minecraft/sounds/Music;)Z COMMENT {@return {@code true} if the {@linkplain Music} selector is currently playing, {@code false} otherwise} ARG 1 selector COMMENT the {@linkplain Music} selector to check for + METHOD startPlaying (Lnet/minecraft/client/sounds/MusicInfo;)V + ARG 1 music METHOD startPlaying (Lnet/minecraft/sounds/Music;)V COMMENT Starts playing the specified {@linkplain Music} selector. ARG 1 selector diff --git a/data/net/minecraft/client/sounds/SoundEngine.mapping b/data/net/minecraft/client/sounds/SoundEngine.mapping index 8ca476e5b..c6718edaf 100644 --- a/data/net/minecraft/client/sounds/SoundEngine.mapping +++ b/data/net/minecraft/client/sounds/SoundEngine.mapping @@ -56,6 +56,28 @@ CLASS net/minecraft/client/sounds/SoundEngine COMMENT {@return {@code true} if the {@linkplain SoundInstance} is active, {@code false} otherwise} ARG 1 sound COMMENT the SoundInstance to check + METHOD lambda$pause$11 (Ljava/util/stream/Stream;)V + ARG 0 channels + METHOD lambda$play$10 (Lnet/minecraft/client/sounds/ChannelAccess$ChannelHandle;Lnet/minecraft/client/sounds/AudioStream;)V + ARG 1 audioStream + METHOD lambda$play$6 (FFLnet/minecraft/client/resources/sounds/SoundInstance$Attenuation;FZZLnet/minecraft/world/phys/Vec3;ZLcom/mojang/blaze3d/audio/Channel;)V + ARG 8 channel + METHOD lambda$play$7 (Lcom/mojang/blaze3d/audio/SoundBuffer;Lcom/mojang/blaze3d/audio/Channel;)V + ARG 1 channel + METHOD lambda$play$8 (Lnet/minecraft/client/sounds/ChannelAccess$ChannelHandle;Lcom/mojang/blaze3d/audio/SoundBuffer;)V + ARG 1 buffer + METHOD lambda$play$9 (Lnet/minecraft/client/sounds/AudioStream;Lcom/mojang/blaze3d/audio/Channel;)V + ARG 1 channel + METHOD lambda$resume$12 (Ljava/util/stream/Stream;)V + ARG 0 channels + METHOD lambda$setVolume$2 (FLnet/minecraft/client/resources/sounds/SoundInstance;Lcom/mojang/blaze3d/audio/Channel;)V + ARG 3 channel + METHOD lambda$stopAll$3 (Lnet/minecraft/client/sounds/ChannelAccess$ChannelHandle;)V + ARG 0 handle + METHOD lambda$tickNonPaused$5 (FFLnet/minecraft/world/phys/Vec3;Lcom/mojang/blaze3d/audio/Channel;)V + ARG 3 channel + METHOD lambda$updateCategoryVolume$0 (FLcom/mojang/blaze3d/audio/Channel;)V + ARG 1 channel METHOD lambda$updateCategoryVolume$1 (Lnet/minecraft/client/resources/sounds/SoundInstance;Lnet/minecraft/client/sounds/ChannelAccess$ChannelHandle;)V ARG 1 instance ARG 2 source @@ -105,6 +127,9 @@ CLASS net/minecraft/client/sounds/SoundEngine COMMENT the SoundInstance to check METHOD resume ()V COMMENT Resumes playing all currently playing sounds (after pauseAllSounds) + METHOD setVolume (Lnet/minecraft/client/resources/sounds/SoundInstance;F)V + ARG 1 soundInstance + ARG 2 volume METHOD shouldChangeDevice ()Z COMMENT The audio device change is checked by this method. COMMENT

diff --git a/data/net/minecraft/client/sounds/SoundManager.mapping b/data/net/minecraft/client/sounds/SoundManager.mapping index 70d04f271..b8c52f626 100644 --- a/data/net/minecraft/client/sounds/SoundManager.mapping +++ b/data/net/minecraft/client/sounds/SoundManager.mapping @@ -47,6 +47,9 @@ CLASS net/minecraft/client/sounds/SoundManager COMMENT The ticking sound instance METHOD removeListener (Lnet/minecraft/client/sounds/SoundEventListener;)V ARG 1 listener + METHOD setVolume (Lnet/minecraft/client/resources/sounds/SoundInstance;F)V + ARG 1 sound + ARG 2 volume METHOD stop (Lnet/minecraft/client/resources/sounds/SoundInstance;)V ARG 1 sound METHOD stop (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/sounds/SoundSource;)V diff --git a/data/net/minecraft/commands/arguments/blocks/BlockInput.mapping b/data/net/minecraft/commands/arguments/blocks/BlockInput.mapping index d46f52c0a..354b0f9fe 100644 --- a/data/net/minecraft/commands/arguments/blocks/BlockInput.mapping +++ b/data/net/minecraft/commands/arguments/blocks/BlockInput.mapping @@ -3,6 +3,12 @@ CLASS net/minecraft/commands/arguments/blocks/BlockInput ARG 1 state ARG 2 properties ARG 3 tag + METHOD copyProperty (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/properties/Property;)Lnet/minecraft/world/level/block/state/BlockState; + ARG 0 source + ARG 1 target + ARG 2 property + METHOD overwriteWithDefinedProperties (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; + ARG 1 state METHOD place (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;I)Z ARG 1 level ARG 2 pos diff --git a/data/net/minecraft/core/BlockPos.mapping b/data/net/minecraft/core/BlockPos.mapping index 839aef847..d112b3da5 100644 --- a/data/net/minecraft/core/BlockPos.mapping +++ b/data/net/minecraft/core/BlockPos.mapping @@ -45,6 +45,12 @@ CLASS net/minecraft/core/BlockPos ARG 0 box METHOD betweenClosedStream (Lnet/minecraft/world/phys/AABB;)Ljava/util/stream/Stream; ARG 0 aabb + METHOD breadthFirstTraversal (Lnet/minecraft/core/BlockPos;IILjava/util/function/BiConsumer;Ljava/util/function/Function;)I + ARG 0 startPos + ARG 1 radius + ARG 2 maxBlocks + ARG 3 childrenGetter + ARG 4 action METHOD breadthFirstTraversal (Lnet/minecraft/core/BlockPos;IILjava/util/function/BiConsumer;Ljava/util/function/Predicate;)I ARG 0 startPos ARG 1 depth diff --git a/data/net/minecraft/core/component/PatchedDataComponentMap.mapping b/data/net/minecraft/core/component/PatchedDataComponentMap.mapping index 369d43aa3..20d8c276f 100644 --- a/data/net/minecraft/core/component/PatchedDataComponentMap.mapping +++ b/data/net/minecraft/core/component/PatchedDataComponentMap.mapping @@ -15,6 +15,8 @@ CLASS net/minecraft/core/component/PatchedDataComponentMap METHOD fromPatch (Lnet/minecraft/core/component/DataComponentMap;Lnet/minecraft/core/component/DataComponentPatch;)Lnet/minecraft/core/component/PatchedDataComponentMap; ARG 0 prototype ARG 1 patch + METHOD hasNonDefault (Lnet/minecraft/core/component/DataComponentType;)Z + ARG 1 component METHOD isPatchSanitized (Lnet/minecraft/core/component/DataComponentMap;Lit/unimi/dsi/fastutil/objects/Reference2ObjectMap;)Z ARG 0 prototype ARG 1 map diff --git a/data/net/minecraft/data/DataProvider.mapping b/data/net/minecraft/data/DataProvider.mapping index 09e5aff3a..899aa53c9 100644 --- a/data/net/minecraft/data/DataProvider.mapping +++ b/data/net/minecraft/data/DataProvider.mapping @@ -5,11 +5,21 @@ CLASS net/minecraft/data/DataProvider ARG 0 map METHOD run (Lnet/minecraft/data/CachedOutput;)Ljava/util/concurrent/CompletableFuture; ARG 1 output + METHOD saveAll (Lnet/minecraft/data/CachedOutput;Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture; + ARG 0 output + ARG 1 codec + ARG 2 pathGetter + ARG 3 entries METHOD saveAll (Lnet/minecraft/data/CachedOutput;Lcom/mojang/serialization/Codec;Lnet/minecraft/data/PackOutput$PathProvider;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture; ARG 0 output ARG 1 codec ARG 2 pathProvider ARG 3 entries + METHOD saveAll (Lnet/minecraft/data/CachedOutput;Ljava/util/function/Function;Ljava/util/function/Function;Ljava/util/Map;)Ljava/util/concurrent/CompletableFuture; + ARG 0 output + ARG 1 serializer + ARG 2 pathGetter + ARG 3 entries METHOD saveStable (Lnet/minecraft/data/CachedOutput;Lcom/google/gson/JsonElement;Ljava/nio/file/Path;)Ljava/util/concurrent/CompletableFuture; ARG 0 output ARG 1 json diff --git a/data/net/minecraft/data/HashCache.mapping b/data/net/minecraft/data/HashCache.mapping index b4a34cc5a..7621a61f1 100644 --- a/data/net/minecraft/data/HashCache.mapping +++ b/data/net/minecraft/data/HashCache.mapping @@ -21,6 +21,10 @@ CLASS net/minecraft/data/HashCache METHOD shouldRunInThisVersion (Ljava/lang/String;)Z ARG 1 provider CLASS CacheUpdater + METHOD (Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/data/HashCache$ProviderCache;)V + ARG 1 provider + ARG 2 version + ARG 3 oldCache METHOD (Lnet/minecraft/data/HashCache;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/data/HashCache$ProviderCache;)V ARG 2 provider ARG 3 version diff --git a/data/net/minecraft/data/Main.mapping b/data/net/minecraft/data/Main.mapping index 924ebc9e8..45976d19b 100644 --- a/data/net/minecraft/data/Main.mapping +++ b/data/net/minecraft/data/Main.mapping @@ -1,4 +1,10 @@ CLASS net/minecraft/data/Main + METHOD addServerProviders (Lnet/minecraft/data/DataGenerator;Ljava/util/Collection;ZZZ)V + ARG 0 dataGenerator + ARG 1 paths + ARG 2 server + ARG 3 dev + ARG 4 reports METHOD bindRegistries (Ljava/util/function/BiFunction;Ljava/util/concurrent/CompletableFuture;)Lnet/minecraft/data/DataProvider$Factory; ARG 0 tagProviderFactory ARG 1 lookupProvider diff --git a/data/net/minecraft/data/PackOutput.mapping b/data/net/minecraft/data/PackOutput.mapping index 9600c4e7b..eddf3fd8f 100644 --- a/data/net/minecraft/data/PackOutput.mapping +++ b/data/net/minecraft/data/PackOutput.mapping @@ -21,5 +21,7 @@ CLASS net/minecraft/data/PackOutput METHOD file (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/String;)Ljava/nio/file/Path; ARG 1 location ARG 2 extension + METHOD json (Lnet/minecraft/resources/ResourceKey;)Ljava/nio/file/Path; + ARG 1 key METHOD json (Lnet/minecraft/resources/ResourceLocation;)Ljava/nio/file/Path; ARG 1 location diff --git a/data/net/minecraft/data/loot/BlockLootSubProvider.mapping b/data/net/minecraft/data/loot/BlockLootSubProvider.mapping index e8d127fbb..ffdc61cd1 100644 --- a/data/net/minecraft/data/loot/BlockLootSubProvider.mapping +++ b/data/net/minecraft/data/loot/BlockLootSubProvider.mapping @@ -67,6 +67,8 @@ CLASS net/minecraft/data/loot/BlockLootSubProvider ARG 1 block METHOD createMossyCarpetBlockDrops (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; ARG 1 block + METHOD createMultifaceBlockDrops (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; + ARG 1 block METHOD createMultifaceBlockDrops (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/storage/loot/predicates/LootItemCondition$Builder;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; ARG 1 block ARG 2 builder @@ -149,12 +151,20 @@ CLASS net/minecraft/data/loot/BlockLootSubProvider ARG 1 block METHOD dropWhenSilkTouch (Lnet/minecraft/world/level/block/Block;)V ARG 1 block + METHOD lambda$createCandleDrops$3 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder; + ARG 1 candles METHOD lambda$createMultifaceBlockDrops$1 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder; ARG 1 direction + METHOD lambda$createMultifaceBlockDrops$2 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/core/Direction;)Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder; + ARG 1 direction + METHOD lambda$createPetalsDrops$4 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder; + ARG 1 amount METHOD lambda$createStemDrops$0 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/world/level/storage/loot/functions/LootItemFunction$Builder; ARG 1 age METHOD lambda$dropPottedContents$5 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; ARG 1 block + METHOD lambda$dropPottedContents$6 (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/world/level/storage/loot/LootTable$Builder; + ARG 1 block METHOD lambda$generate$4 (Ljava/util/Set;Lnet/minecraft/world/level/block/Block;Ljava/util/function/BiConsumer;Lnet/minecraft/resources/ResourceKey;)V ARG 4 lootTable METHOD otherWhenSilkTouch (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V diff --git a/data/net/minecraft/data/models/BlockModelGenerators.mapping b/data/net/minecraft/data/models/BlockModelGenerators.mapping index 162715f6e..314d65cda 100644 --- a/data/net/minecraft/data/models/BlockModelGenerators.mapping +++ b/data/net/minecraft/data/models/BlockModelGenerators.mapping @@ -126,6 +126,18 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 1 cropBlock ARG 2 ageProperty ARG 3 ageToVisualStageMapping + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 block + ARG 2 plantType + ARG 3 textureMapping + METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;Lnet/minecraft/world/level/block/state/properties/Property;[I)V + ARG 1 block + ARG 2 plantType + ARG 3 ageProperty + ARG 4 possibleValues METHOD createCrossBlock (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V ARG 1 crossBlock ARG 2 tintState @@ -138,6 +150,13 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 2 tintState ARG 3 property ARG 4 propertyValues + METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType + METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 block + ARG 2 plantType + ARG 3 textureMapping METHOD createCrossBlockWithDefaultItem (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V ARG 1 crossBlock ARG 2 tintState @@ -170,6 +189,9 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 1 doubleBlock ARG 2 topHalfModelLocation ARG 3 bottomHalfModelLocation + METHOD createDoublePlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 plantType METHOD createDoublePlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V ARG 1 doublePlantBlock ARG 2 tintState @@ -208,6 +230,10 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 1 grassLikeBlock ARG 2 modelLocation ARG 3 variant + METHOD createGrowingPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;)V + ARG 1 plantBlock + ARG 2 tipBlock + ARG 3 plantType METHOD createGrowingPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V ARG 1 growingPlantBlock ARG 2 plantBlock @@ -237,6 +263,11 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 1 block METHOD createMultiface (Lnet/minecraft/world/level/block/Block;)V ARG 1 multifaceBlock + METHOD createMultiface (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/item/Item;)V + ARG 1 block + ARG 2 item + METHOD createMultifaceBlockStates (Lnet/minecraft/world/level/block/Block;)V + ARG 1 block METHOD createMushroomBlock (Lnet/minecraft/world/level/block/Block;)V ARG 1 mushroomBlock METHOD createNetherRoots (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;)V @@ -276,6 +307,10 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 1 pistonBlock ARG 2 baseModelLocation ARG 3 topTextureMapping + METHOD createPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$PlantType;)V + ARG 1 block + ARG 2 pottedBlock + ARG 3 plantType METHOD createPlant (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/BlockModelGenerators$TintState;)V ARG 1 plantBlock ARG 2 pottedPlantBlock @@ -372,6 +407,9 @@ CLASS net/minecraft/data/models/BlockModelGenerators METHOD createTurtleEggModel (Ljava/lang/Integer;Ljava/lang/Integer;)Lnet/minecraft/resources/ResourceLocation; ARG 1 eggAmount ARG 2 variantId + METHOD createTwoLayerFlatItemModel (Lnet/minecraft/world/level/block/Block;Ljava/lang/String;)V + ARG 1 block + ARG 2 secondLayerTextureSuffix METHOD createWall (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/BlockStateGenerator; ARG 0 wallBlock ARG 1 postModelLocation @@ -388,6 +426,107 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 2 delegateModelLocation METHOD family (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; ARG 1 block + METHOD lambda$createActiveRail$12 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;Lnet/minecraft/world/level/block/state/properties/RailShape;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 6 powered + ARG 7 shape + METHOD lambda$createBarrel$15 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createBrushableBlock$5 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 2 dusted + METHOD lambda$createCalibratedSculkSensor$40 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/properties/SculkSensorPhase;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 2 sculkSensorPhase + METHOD lambda$createChorusFlower$20 (Lnet/minecraft/data/models/model/TextureMapping;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; + ARG 1 location + METHOD lambda$createCommandBlock$13 (Lnet/minecraft/data/models/model/TextureMapping;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; + ARG 1 location + METHOD lambda$createCopperBulb$22 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 4 isLit + ARG 5 powered + METHOD lambda$createCrafterBlock$21 (Lnet/minecraft/core/FrontAndTop;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 frontAndTop + METHOD lambda$createCreakingHeart$6 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createCreakingHeart$7 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createCreakingHeart$8 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TexturedModel$Provider;)Lnet/minecraft/resources/ResourceLocation; + ARG 2 provider + METHOD lambda$createCropBlock$18 ([ILit/unimi/dsi/fastutil/ints/Int2ObjectMap;Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 4 age + METHOD lambda$createFire$24 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$25 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$26 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$27 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$28 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFire$29 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createFurnace$19 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createGrassBlocks$35 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createGrassBlocks$36 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createHangingMoss$60 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 2 tip + METHOD lambda$createJigsaw$66 (Lnet/minecraft/core/FrontAndTop;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 orientation + METHOD lambda$createMossyCarpet$57 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createMossyCarpet$58 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/model/TextureMapping;)V + ARG 1 textureMapping + METHOD lambda$createMossyCarpet$59 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/core/Direction;)V + ARG 2 direction + METHOD lambda$createMultifaceBlockStates$55 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;Lnet/minecraft/world/level/block/state/properties/BooleanProperty;)V + ARG 2 onFace + METHOD lambda$createMultifaceBlockStates$56 (Lnet/minecraft/world/level/block/Block;Lnet/minecraft/data/models/blockstates/Condition$TerminalCondition;)V + ARG 1 condition + METHOD lambda$createPitcherCrop$11 (Lnet/minecraft/world/level/block/Block;Ljava/lang/Integer;Lnet/minecraft/world/level/block/state/properties/DoubleBlockHalf;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 age + ARG 2 half + METHOD lambda$createRepeater$41 (Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 delay + ARG 1 locked + ARG 2 powered + METHOD lambda$createSculkCatalyst$61 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 2 bloom + METHOD lambda$createSculkSensor$39 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/state/properties/SculkSensorPhase;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 2 sculkSensorPhase + METHOD lambda$createSnifferEgg$47 (Ljava/lang/Integer;)Lnet/minecraft/resources/ResourceLocation; + ARG 1 hatch + METHOD lambda$createSnifferEgg$48 (Ljava/util/function/Function;Ljava/lang/Integer;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 hatch + METHOD lambda$createSnowBlocks$42 (Lnet/minecraft/resources/ResourceLocation;Ljava/lang/Integer;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 layers + METHOD lambda$createSoulFire$30 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$31 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$32 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$33 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createSoulFire$34 (Lnet/minecraft/data/models/blockstates/Variant;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 variant + METHOD lambda$createStructureBlock$43 (Lnet/minecraft/world/level/block/state/properties/StructureMode;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 structureMode + METHOD lambda$createSweetBerryBush$44 (Ljava/lang/Integer;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 1 age + METHOD lambda$createTrialSpawner$37 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/entity/trialspawner/TrialSpawnerState;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 6 trialSpawnerState + ARG 7 ominous + METHOD lambda$createTripwireHook$45 (Ljava/lang/Boolean;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 attached + ARG 1 powered + METHOD lambda$createTurtleEgg$46 (Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/List; + ARG 1 eggs + ARG 2 hatch + METHOD lambda$createVault$38 (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/world/level/block/entity/vault/VaultState;Ljava/lang/Boolean;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 8 vaultState + ARG 9 ominous METHOD lambda$new$0 (Lnet/minecraft/data/models/model/TextureMapping;)V ARG 0 map METHOD lambda$new$1 (Lnet/minecraft/data/models/model/TextureMapping;)V @@ -398,6 +537,24 @@ CLASS net/minecraft/data/models/BlockModelGenerators ARG 0 map METHOD lambda$new$4 (Lnet/minecraft/data/models/model/TextureMapping;)V ARG 0 map + METHOD lambda$run$67 (Lnet/minecraft/data/BlockFamily;)V + ARG 1 blockFamily + METHOD lambda$run$68 (Lnet/minecraft/world/item/SpawnEggItem;)V + ARG 1 item + METHOD lambda$static$49 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$50 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$51 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$52 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$53 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$static$54 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 model + METHOD lambda$wrapModels$23 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/blockstates/Variant; + ARG 0 location METHOD skipAutoItemBlock (Lnet/minecraft/world/level/block/Block;)V ARG 1 block METHOD woodProvider (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$WoodProvider; @@ -405,6 +562,18 @@ CLASS net/minecraft/data/models/BlockModelGenerators METHOD wrapModels (Ljava/util/List;Ljava/util/function/UnaryOperator;)Ljava/util/List; ARG 0 modelLocations ARG 1 variantMapper + CLASS PlantType + METHOD (Ljava/lang/String;ILnet/minecraft/data/models/model/ModelTemplate;Lnet/minecraft/data/models/model/ModelTemplate;Z)V + ARG 3 blockTemplate + ARG 4 flowerPotTemplate + ARG 5 isEmissive + METHOD createItemModel (Lnet/minecraft/data/models/BlockModelGenerators;Lnet/minecraft/world/level/block/Block;)V + ARG 1 blockModelGenerator + ARG 2 block + METHOD getPlantTextureMapping (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; + ARG 1 block + METHOD getTextureMapping (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; + ARG 1 block CLASS WoodProvider METHOD (Lnet/minecraft/data/models/BlockModelGenerators;Lnet/minecraft/data/models/model/TextureMapping;)V ARG 2 logMapping @@ -444,6 +613,9 @@ CLASS net/minecraft/data/models/BlockModelGenerators METHOD getOrCreateModel (Lnet/minecraft/data/models/model/ModelTemplate;Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/resources/ResourceLocation; ARG 1 modelTemplate ARG 2 block + METHOD lambda$generateFor$1 (Lnet/minecraft/data/BlockFamily$Variant;Lnet/minecraft/world/level/block/Block;)V + ARG 1 variant + ARG 2 block METHOD pressurePlate (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; ARG 1 pressurePlateBlock METHOD sign (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/BlockModelGenerators$BlockFamilyProvider; diff --git a/data/net/minecraft/data/models/model/TextureMapping.mapping b/data/net/minecraft/data/models/model/TextureMapping.mapping index 07e642626..9411bc534 100644 --- a/data/net/minecraft/data/models/model/TextureMapping.mapping +++ b/data/net/minecraft/data/models/model/TextureMapping.mapping @@ -36,6 +36,8 @@ CLASS net/minecraft/data/models/model/TextureMapping ARG 0 crossTextureLocation METHOD cross (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; ARG 0 block + METHOD crossEmissive (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; + ARG 0 block METHOD cube (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; ARG 0 allTextureLocation METHOD cube (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; @@ -82,6 +84,10 @@ CLASS net/minecraft/data/models/model/TextureMapping METHOD getItemTexture (Lnet/minecraft/world/item/Item;Ljava/lang/String;)Lnet/minecraft/resources/ResourceLocation; ARG 0 item ARG 1 textureSuffix + METHOD lambda$getBlockTexture$0 (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; + ARG 1 name + METHOD lambda$getItemTexture$1 (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; + ARG 1 name METHOD lantern (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; ARG 0 lanternBlock METHOD layer0 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; @@ -120,6 +126,8 @@ CLASS net/minecraft/data/models/model/TextureMapping ARG 0 plantTextureLocation METHOD plant (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; ARG 0 plantBlock + METHOD plantEmissive (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; + ARG 0 block METHOD pottedAzalea (Lnet/minecraft/world/level/block/Block;)Lnet/minecraft/data/models/model/TextureMapping; ARG 0 azaleaBlock METHOD put (Lnet/minecraft/data/models/model/TextureSlot;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/data/models/model/TextureMapping; diff --git a/data/net/minecraft/network/HiddenByteBuf.mapping b/data/net/minecraft/network/HiddenByteBuf.mapping new file mode 100644 index 000000000..04d83aa1b --- /dev/null +++ b/data/net/minecraft/network/HiddenByteBuf.mapping @@ -0,0 +1,13 @@ +CLASS net/minecraft/network/HiddenByteBuf + METHOD (Lio/netty/buffer/ByteBuf;)V + ARG 1 contents + METHOD pack (Ljava/lang/Object;)Ljava/lang/Object; + ARG 0 object + METHOD release (I)Z + ARG 1 decrement + METHOD retain (I)Lio/netty/util/ReferenceCounted; + ARG 1 increment + METHOD touch (Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; + ARG 1 hint + METHOD unpack (Ljava/lang/Object;)Ljava/lang/Object; + ARG 0 object diff --git a/data/net/minecraft/network/LocalFrameDecoder.mapping b/data/net/minecraft/network/LocalFrameDecoder.mapping new file mode 100644 index 000000000..47c5a507a --- /dev/null +++ b/data/net/minecraft/network/LocalFrameDecoder.mapping @@ -0,0 +1,4 @@ +CLASS net/minecraft/network/LocalFrameDecoder + METHOD channelRead (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V + ARG 1 context + ARG 2 msg diff --git a/data/net/minecraft/network/LocalFrameEncoder.mapping b/data/net/minecraft/network/LocalFrameEncoder.mapping new file mode 100644 index 000000000..7403f4f8e --- /dev/null +++ b/data/net/minecraft/network/LocalFrameEncoder.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/network/LocalFrameEncoder + METHOD write (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V + ARG 1 context + ARG 2 msg + ARG 3 promise diff --git a/data/net/minecraft/network/MonitoredLocalFrameDecoder.mapping b/data/net/minecraft/network/MonitoredLocalFrameDecoder.mapping new file mode 100644 index 000000000..29ef771db --- /dev/null +++ b/data/net/minecraft/network/MonitoredLocalFrameDecoder.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/network/MonitoredLocalFrameDecoder + METHOD (Lnet/minecraft/network/BandwidthDebugMonitor;)V + ARG 1 monitor + METHOD channelRead (Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V + ARG 1 context + ARG 2 msg diff --git a/data/net/minecraft/network/chat/Style.mapping b/data/net/minecraft/network/chat/Style.mapping index 8ca05afb1..74c6b7613 100644 --- a/data/net/minecraft/network/chat/Style.mapping +++ b/data/net/minecraft/network/chat/Style.mapping @@ -12,6 +12,18 @@ CLASS net/minecraft/network/chat/Style ARG 8 hoverEvent ARG 9 insertion ARG 10 font + METHOD (Lnet/minecraft/network/chat/TextColor;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lnet/minecraft/network/chat/ClickEvent;Lnet/minecraft/network/chat/HoverEvent;Ljava/lang/String;Lnet/minecraft/resources/ResourceLocation;)V + ARG 1 color + ARG 2 shadowColor + ARG 3 bold + ARG 4 italic + ARG 5 underlined + ARG 6 strikethrough + ARG 7 obfuscated + ARG 8 clickEvent + ARG 9 hoverEvent + ARG 10 insertion + ARG 11 font METHOD applyFormat (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; ARG 1 formatting METHOD applyFormats ([Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; @@ -36,6 +48,18 @@ CLASS net/minecraft/network/chat/Style ARG 7 hoverEvent ARG 8 insertion ARG 9 font + METHOD create (Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Lnet/minecraft/network/chat/Style; + ARG 0 color + ARG 1 shadowColor + ARG 2 bold + ARG 3 italic + ARG 4 underlined + ARG 5 strikethrough + ARG 6 obfuscated + ARG 7 clickEvent + ARG 8 hoverEvent + ARG 9 insertion + ARG 10 font METHOD equals (Ljava/lang/Object;)Z ARG 1 other METHOD getClickEvent ()Lnet/minecraft/network/chat/ClickEvent; @@ -63,7 +87,7 @@ CLASS net/minecraft/network/chat/Style METHOD withClickEvent (Lnet/minecraft/network/chat/ClickEvent;)Lnet/minecraft/network/chat/Style; ARG 1 clickEvent METHOD withColor (I)Lnet/minecraft/network/chat/Style; - ARG 1 rgb + ARG 1 color METHOD withColor (Lnet/minecraft/ChatFormatting;)Lnet/minecraft/network/chat/Style; ARG 1 formatting METHOD withColor (Lnet/minecraft/network/chat/TextColor;)Lnet/minecraft/network/chat/Style; @@ -78,6 +102,8 @@ CLASS net/minecraft/network/chat/Style ARG 1 italic METHOD withObfuscated (Ljava/lang/Boolean;)Lnet/minecraft/network/chat/Style; ARG 1 obfuscated + METHOD withShadowColor (I)Lnet/minecraft/network/chat/Style; + ARG 1 color METHOD withStrikethrough (Ljava/lang/Boolean;)Lnet/minecraft/network/chat/Style; ARG 1 strikethrough METHOD withUnderlined (Ljava/lang/Boolean;)Lnet/minecraft/network/chat/Style; @@ -96,6 +122,10 @@ CLASS net/minecraft/network/chat/Style ARG 0 serializer METHOD lambda$static$10 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD lambda$static$10 (Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; + ARG 0 serializer + METHOD lambda$static$11 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance METHOD lambda$static$2 (Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; ARG 0 serializer METHOD lambda$static$3 (Lnet/minecraft/network/chat/Style;)Ljava/util/Optional; diff --git a/data/net/minecraft/network/protocol/game/ClientboundLevelParticlesPacket.mapping b/data/net/minecraft/network/protocol/game/ClientboundLevelParticlesPacket.mapping index 42682c797..7d627575a 100644 --- a/data/net/minecraft/network/protocol/game/ClientboundLevelParticlesPacket.mapping +++ b/data/net/minecraft/network/protocol/game/ClientboundLevelParticlesPacket.mapping @@ -10,6 +10,18 @@ CLASS net/minecraft/network/protocol/game/ClientboundLevelParticlesPacket ARG 11 zDist ARG 12 maxSpeed ARG 13 count + METHOD (Lnet/minecraft/core/particles/ParticleOptions;ZZDDDFFFFI)V + ARG 1 particle + ARG 2 overrideLimiter + ARG 3 alwaysShow + ARG 4 x + ARG 6 y + ARG 8 z + ARG 10 xDist + ARG 11 yDist + ARG 12 zDist + ARG 13 maxSpeed + ARG 14 count METHOD (Lnet/minecraft/network/RegistryFriendlyByteBuf;)V ARG 1 buffer METHOD getCount ()I diff --git a/data/net/minecraft/network/protocol/game/ClientboundMoveVehiclePacket.mapping b/data/net/minecraft/network/protocol/game/ClientboundMoveVehiclePacket.mapping index 37a76c959..32a6a8cab 100644 --- a/data/net/minecraft/network/protocol/game/ClientboundMoveVehiclePacket.mapping +++ b/data/net/minecraft/network/protocol/game/ClientboundMoveVehiclePacket.mapping @@ -3,6 +3,8 @@ CLASS net/minecraft/network/protocol/game/ClientboundMoveVehiclePacket ARG 1 buffer METHOD (Lnet/minecraft/world/entity/Entity;)V ARG 1 vehicle + METHOD fromEntity (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/network/protocol/game/ClientboundMoveVehiclePacket; + ARG 0 entity METHOD handle (Lnet/minecraft/network/protocol/game/ClientGamePacketListener;)V COMMENT Passes this Packet on to the NetHandler for processing. ARG 1 handler diff --git a/data/net/minecraft/network/protocol/game/ServerGamePacketListener.mapping b/data/net/minecraft/network/protocol/game/ServerGamePacketListener.mapping index e7d6f03f2..4cde0afbc 100644 --- a/data/net/minecraft/network/protocol/game/ServerGamePacketListener.mapping +++ b/data/net/minecraft/network/protocol/game/ServerGamePacketListener.mapping @@ -1,5 +1,7 @@ CLASS net/minecraft/network/protocol/game/ServerGamePacketListener COMMENT PacketListener for the server side of the PLAY protocol. + METHOD handleAcceptPlayerLoad (Lnet/minecraft/network/protocol/game/ServerboundPlayerLoadedPacket;)V + ARG 1 packet METHOD handleAcceptTeleportPacket (Lnet/minecraft/network/protocol/game/ServerboundAcceptTeleportationPacket;)V ARG 1 packet METHOD handleAnimate (Lnet/minecraft/network/protocol/game/ServerboundSwingPacket;)V @@ -64,6 +66,10 @@ CLASS net/minecraft/network/protocol/game/ServerGamePacketListener ARG 1 packet METHOD handlePickItem (Lnet/minecraft/network/protocol/game/ServerboundPickItemPacket;)V ARG 1 packet + METHOD handlePickItemFromBlock (Lnet/minecraft/network/protocol/game/ServerboundPickItemFromBlockPacket;)V + ARG 1 packet + METHOD handlePickItemFromEntity (Lnet/minecraft/network/protocol/game/ServerboundPickItemFromEntityPacket;)V + ARG 1 packet METHOD handlePlaceRecipe (Lnet/minecraft/network/protocol/game/ServerboundPlaceRecipePacket;)V ARG 1 packet METHOD handlePlayerAbilities (Lnet/minecraft/network/protocol/game/ServerboundPlayerAbilitiesPacket;)V diff --git a/data/net/minecraft/network/protocol/game/ServerboundMoveVehiclePacket.mapping b/data/net/minecraft/network/protocol/game/ServerboundMoveVehiclePacket.mapping index b77e0f4cd..6ba8c1b13 100644 --- a/data/net/minecraft/network/protocol/game/ServerboundMoveVehiclePacket.mapping +++ b/data/net/minecraft/network/protocol/game/ServerboundMoveVehiclePacket.mapping @@ -3,6 +3,8 @@ CLASS net/minecraft/network/protocol/game/ServerboundMoveVehiclePacket ARG 1 buffer METHOD (Lnet/minecraft/world/entity/Entity;)V ARG 1 vehicle + METHOD fromEntity (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/network/protocol/game/ServerboundMoveVehiclePacket; + ARG 0 entity METHOD handle (Lnet/minecraft/network/protocol/game/ServerGamePacketListener;)V COMMENT Passes this Packet on to the NetHandler for processing. ARG 1 handler diff --git a/data/net/minecraft/recipebook/ServerPlaceRecipe.mapping b/data/net/minecraft/recipebook/ServerPlaceRecipe.mapping index 4c881d441..b29ac4988 100644 --- a/data/net/minecraft/recipebook/ServerPlaceRecipe.mapping +++ b/data/net/minecraft/recipebook/ServerPlaceRecipe.mapping @@ -10,6 +10,16 @@ CLASS net/minecraft/recipebook/ServerPlaceRecipe METHOD calculateAmountToCraft (IZ)I ARG 1 max ARG 2 recipeMatches + METHOD clampToMaxStackSize (ILjava/util/List;)I + ARG 0 amount + ARG 1 items + METHOD getStackSize (ZIZ)I + ARG 1 placeAll + ARG 2 maxPossible + ARG 3 recipeMatches + METHOD handleRecipeClicked (Lnet/minecraft/world/item/crafting/RecipeHolder;Z)V + ARG 1 recipe + ARG 2 placeAll METHOD moveItemToGrid (Lnet/minecraft/world/inventory/Slot;Lnet/minecraft/core/Holder;I)I ARG 1 slot ARG 2 item diff --git a/data/net/minecraft/resources/FileToIdConverter.mapping b/data/net/minecraft/resources/FileToIdConverter.mapping index a7d3b98a9..fbd449772 100644 --- a/data/net/minecraft/resources/FileToIdConverter.mapping +++ b/data/net/minecraft/resources/FileToIdConverter.mapping @@ -16,3 +16,5 @@ CLASS net/minecraft/resources/FileToIdConverter ARG 1 resourceManager METHOD listMatchingResources (Lnet/minecraft/server/packs/resources/ResourceManager;)Ljava/util/Map; ARG 1 resourceManager + METHOD registry (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/resources/FileToIdConverter; + ARG 0 registryKey diff --git a/data/net/minecraft/server/commands/AttributeCommand.mapping b/data/net/minecraft/server/commands/AttributeCommand.mapping index dab6a3871..f68185fed 100644 --- a/data/net/minecraft/server/commands/AttributeCommand.mapping +++ b/data/net/minecraft/server/commands/AttributeCommand.mapping @@ -22,6 +22,9 @@ CLASS net/minecraft/server/commands/AttributeCommand ARG 2 attribute ARG 3 id ARG 4 scale + METHOD getAttributeModifiers (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Holder;)Ljava/util/stream/Stream; + ARG 0 entity + ARG 1 attribute METHOD getAttributeValue (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Holder;D)I ARG 0 source ARG 1 entity @@ -77,6 +80,10 @@ CLASS net/minecraft/server/commands/AttributeCommand ARG 1 entity ARG 2 attribute ARG 3 id + METHOD resetAttributeBase (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Holder;)I + ARG 0 source + ARG 1 entity + ARG 2 attribute METHOD setAttributeBase (Lnet/minecraft/commands/CommandSourceStack;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/core/Holder;D)I ARG 0 source ARG 1 entity diff --git a/data/net/minecraft/server/level/ServerLevel.mapping b/data/net/minecraft/server/level/ServerLevel.mapping index 90042110e..2340b3c55 100644 --- a/data/net/minecraft/server/level/ServerLevel.mapping +++ b/data/net/minecraft/server/level/ServerLevel.mapping @@ -134,6 +134,10 @@ CLASS net/minecraft/server/level/ServerLevel ARG 1 pos METHOD isVillage (Lnet/minecraft/core/SectionPos;)Z ARG 1 pos + METHOD lambda$clearBlockEvents$15 (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/BlockEventData;)Z + ARG 1 event + METHOD lambda$clearBlockEvents$16 (Lnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/BlockEventData;)Z + ARG 1 blockEventData METHOD lambda$findLightningRod$4 (Lnet/minecraft/core/Holder;)Z ARG 0 pointOfInterestType METHOD lambda$findLightningRod$5 (Lnet/minecraft/core/BlockPos;)Z @@ -144,6 +148,20 @@ CLASS net/minecraft/server/level/ServerLevel ARG 1 entity METHOD lambda$getEntities$10 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/world/entity/Entity;)Lnet/minecraft/util/AbortableIterationConsumer$Continuation; ARG 3 entity + METHOD lambda$getTypeCount$17 (Lit/unimi/dsi/fastutil/objects/Object2IntMap$Entry;)Ljava/lang/String; + ARG 0 entry + METHOD lambda$getTypeCount$18 (Lit/unimi/dsi/fastutil/objects/Object2IntMap$Entry;)Ljava/lang/String; + ARG 0 entry + METHOD lambda$getWatchdogStats$16 (Lnet/minecraft/world/entity/Entity;)Ljava/lang/String; + ARG 0 entity + METHOD lambda$getWatchdogStats$17 (Lnet/minecraft/world/entity/Entity;)Ljava/lang/String; + ARG 0 entity + METHOD lambda$globalLevelEvent$11 (Lnet/minecraft/core/BlockPos;IILnet/minecraft/server/level/ServerPlayer;)V + ARG 4 player + METHOD lambda$onBlockStateChange$13 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Holder;)V + ARG 2 poiType + METHOD lambda$onBlockStateChange$15 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Holder;)V + ARG 2 poiType METHOD lambda$tick$2 (Lnet/minecraft/world/TickRateManager;Lnet/minecraft/util/profiling/ProfilerFiller;Lnet/minecraft/world/entity/Entity;)V ARG 3 entity METHOD lambda$wakeUpAllPlayers$3 (Lnet/minecraft/server/level/ServerPlayer;)V @@ -197,6 +215,18 @@ CLASS net/minecraft/server/level/ServerLevel ARG 11 yOffset ARG 13 zOffset ARG 15 speed + METHOD sendParticles (Lnet/minecraft/core/particles/ParticleOptions;ZZDDDIDDDD)I + ARG 1 type + ARG 2 overrideLimiter + ARG 3 alwaysShow + ARG 4 posX + ARG 6 posY + ARG 8 posZ + ARG 10 particleCount + ARG 11 xOffset + ARG 13 yOffset + ARG 15 zOffset + ARG 17 speed METHOD sendParticles (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/particles/ParticleOptions;ZDDDIDDDD)Z ARG 1 player ARG 2 type @@ -209,6 +239,19 @@ CLASS net/minecraft/server/level/ServerLevel ARG 13 yOffset ARG 15 zOffset ARG 17 speed + METHOD sendParticles (Lnet/minecraft/server/level/ServerPlayer;Lnet/minecraft/core/particles/ParticleOptions;ZZDDDIDDDD)Z + ARG 1 player + ARG 2 particle + ARG 3 overrideLimiter + ARG 4 alwaysShow + ARG 5 posX + ARG 7 posY + ARG 9 posZ + ARG 11 count + ARG 12 xDist + ARG 14 yDist + ARG 16 zDist + ARG 18 maxSpeed METHOD sendParticles (Lnet/minecraft/server/level/ServerPlayer;ZDDDLnet/minecraft/network/protocol/Packet;)Z ARG 1 player ARG 2 longDistance diff --git a/data/net/minecraft/server/network/ServerGamePacketListenerImpl.mapping b/data/net/minecraft/server/network/ServerGamePacketListenerImpl.mapping index 4fac2bb00..949a413e9 100644 --- a/data/net/minecraft/server/network/ServerGamePacketListenerImpl.mapping +++ b/data/net/minecraft/server/network/ServerGamePacketListenerImpl.mapping @@ -8,6 +8,11 @@ CLASS net/minecraft/server/network/ServerGamePacketListenerImpl ARG 4 cookie METHOD ackBlockChangesUpTo (I)V ARG 1 sequence + METHOD addBlockDataToItem (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V + ARG 0 state + ARG 1 level + ARG 2 pos + ARG 3 stack METHOD addPendingMessage (Lnet/minecraft/network/chat/PlayerChatMessage;)V ARG 1 message METHOD broadcastChatMessage (Lnet/minecraft/network/chat/PlayerChatMessage;)V @@ -188,6 +193,8 @@ CLASS net/minecraft/server/network/ServerGamePacketListenerImpl METHOD tryHandleChat (Ljava/lang/String;Ljava/lang/Runnable;)V ARG 1 message ARG 2 handler + METHOD tryPickItem (Lnet/minecraft/world/item/ItemStack;)V + ARG 1 stack METHOD unpackAndApplyLastSeen (Lnet/minecraft/network/chat/LastSeenMessages$Update;)Ljava/util/Optional; ARG 1 update METHOD updateBookContents (Ljava/util/List;I)V diff --git a/data/net/minecraft/server/packs/AbstractPackResources.mapping b/data/net/minecraft/server/packs/AbstractPackResources.mapping index 3eb71d368..a71855af1 100644 --- a/data/net/minecraft/server/packs/AbstractPackResources.mapping +++ b/data/net/minecraft/server/packs/AbstractPackResources.mapping @@ -4,5 +4,10 @@ CLASS net/minecraft/server/packs/AbstractPackResources METHOD getMetadataFromStream (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;Ljava/io/InputStream;)Ljava/lang/Object; ARG 0 deserializer ARG 1 inputStream + METHOD getMetadataFromStream (Lnet/minecraft/server/packs/metadata/MetadataSectionType;Ljava/io/InputStream;)Ljava/lang/Object; + ARG 0 type + ARG 1 stream METHOD getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; ARG 1 deserializer + METHOD lambda$getMetadataFromStream$0 (Lnet/minecraft/server/packs/metadata/MetadataSectionType;Lcom/mojang/serialization/DataResult$Error;)V + ARG 1 error diff --git a/data/net/minecraft/server/packs/BuiltInMetadata.mapping b/data/net/minecraft/server/packs/BuiltInMetadata.mapping index d1e66ce44..d908fc4d7 100644 --- a/data/net/minecraft/server/packs/BuiltInMetadata.mapping +++ b/data/net/minecraft/server/packs/BuiltInMetadata.mapping @@ -3,6 +3,8 @@ CLASS net/minecraft/server/packs/BuiltInMetadata ARG 1 values METHOD get (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; ARG 1 serializer + METHOD get (Lnet/minecraft/server/packs/metadata/MetadataSectionType;)Ljava/lang/Object; + ARG 1 type METHOD of (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;Ljava/lang/Object;)Lnet/minecraft/server/packs/BuiltInMetadata; ARG 0 serializer ARG 1 value @@ -11,3 +13,11 @@ CLASS net/minecraft/server/packs/BuiltInMetadata ARG 1 value1 ARG 2 serializer2 ARG 3 value2 + METHOD of (Lnet/minecraft/server/packs/metadata/MetadataSectionType;Ljava/lang/Object;)Lnet/minecraft/server/packs/BuiltInMetadata; + ARG 0 type + ARG 1 value + METHOD of (Lnet/minecraft/server/packs/metadata/MetadataSectionType;Ljava/lang/Object;Lnet/minecraft/server/packs/metadata/MetadataSectionType;Ljava/lang/Object;)Lnet/minecraft/server/packs/BuiltInMetadata; + ARG 0 type1 + ARG 1 value1 + ARG 2 type2 + ARG 3 value2 diff --git a/data/net/minecraft/server/packs/PackResources.mapping b/data/net/minecraft/server/packs/PackResources.mapping index 002128744..f9fb78e11 100644 --- a/data/net/minecraft/server/packs/PackResources.mapping +++ b/data/net/minecraft/server/packs/PackResources.mapping @@ -1,6 +1,8 @@ CLASS net/minecraft/server/packs/PackResources METHOD getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/lang/Object; ARG 1 deserializer + METHOD getMetadataSection (Lnet/minecraft/server/packs/metadata/MetadataSectionType;)Ljava/lang/Object; + ARG 1 type METHOD getNamespaces (Lnet/minecraft/server/packs/PackType;)Ljava/util/Set; ARG 1 type METHOD getResource (Lnet/minecraft/server/packs/PackType;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/server/packs/resources/IoSupplier; diff --git a/data/net/minecraft/server/packs/resources/ResourceMetadata.mapping b/data/net/minecraft/server/packs/resources/ResourceMetadata.mapping index 31e985da2..4c8940918 100644 --- a/data/net/minecraft/server/packs/resources/ResourceMetadata.mapping +++ b/data/net/minecraft/server/packs/resources/ResourceMetadata.mapping @@ -2,15 +2,23 @@ CLASS net/minecraft/server/packs/resources/ResourceMetadata METHOD copySection (Lnet/minecraft/server/packs/resources/ResourceMetadata$Builder;Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)V ARG 1 builder ARG 2 serializer + METHOD copySection (Lnet/minecraft/server/packs/resources/ResourceMetadata$Builder;Lnet/minecraft/server/packs/metadata/MetadataSectionType;)V + ARG 1 builder + ARG 2 type METHOD copySections (Ljava/util/Collection;)Lnet/minecraft/server/packs/resources/ResourceMetadata; ARG 1 serializers METHOD fromJsonStream (Ljava/io/InputStream;)Lnet/minecraft/server/packs/resources/ResourceMetadata; ARG 0 stream METHOD getSection (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;)Ljava/util/Optional; ARG 1 serializer + METHOD getSection (Lnet/minecraft/server/packs/metadata/MetadataSectionType;)Ljava/util/Optional; + ARG 1 type METHOD lambda$copySection$1 (Lnet/minecraft/server/packs/resources/ResourceMetadata$Builder;Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;Ljava/lang/Object;)V ARG 2 section CLASS Builder METHOD put (Lnet/minecraft/server/packs/metadata/MetadataSectionSerializer;Ljava/lang/Object;)Lnet/minecraft/server/packs/resources/ResourceMetadata$Builder; ARG 1 key ARG 2 value + METHOD put (Lnet/minecraft/server/packs/metadata/MetadataSectionType;Ljava/lang/Object;)Lnet/minecraft/server/packs/resources/ResourceMetadata$Builder; + ARG 1 type + ARG 2 value diff --git a/data/net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener.mapping b/data/net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener.mapping index ef1751841..9774ceedc 100644 --- a/data/net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener.mapping +++ b/data/net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener.mapping @@ -2,14 +2,25 @@ CLASS net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener METHOD (Lcom/mojang/serialization/Codec;Ljava/lang/String;)V ARG 1 codec ARG 2 directory + METHOD (Lcom/mojang/serialization/Codec;Lnet/minecraft/resources/FileToIdConverter;)V + ARG 1 codec + ARG 2 lister METHOD (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Ljava/lang/String;)V ARG 1 ops ARG 2 codec ARG 3 directory + METHOD (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Lnet/minecraft/resources/FileToIdConverter;)V + ARG 1 ops + ARG 2 codec + ARG 3 lister METHOD (Lnet/minecraft/core/HolderLookup$Provider;Lcom/mojang/serialization/Codec;Ljava/lang/String;)V ARG 1 registries ARG 2 codec ARG 3 directory + METHOD (Lnet/minecraft/core/HolderLookup$Provider;Lcom/mojang/serialization/Codec;Lnet/minecraft/resources/ResourceKey;)V + ARG 1 provider + ARG 2 codec + ARG 3 registryKey METHOD prepare (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)Ljava/util/Map; COMMENT Performs any reloading that can be done off-thread, such as file IO ARG 1 resourceManager @@ -20,3 +31,15 @@ CLASS net/minecraft/server/packs/resources/SimpleJsonResourceReloadListener ARG 2 ops ARG 3 codec ARG 4 results + METHOD scanDirectory (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/FileToIdConverter;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Ljava/util/Map;)V + ARG 0 resourceManager + ARG 1 lister + ARG 2 ops + ARG 3 codec + ARG 4 output + METHOD scanDirectory (Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/resources/ResourceKey;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Codec;Ljava/util/Map;)V + ARG 0 resourceManager + ARG 1 registryKey + ARG 2 ops + ARG 3 codec + ARG 4 output diff --git a/data/net/minecraft/util/ARGB.mapping b/data/net/minecraft/util/ARGB.mapping index 5432a4ffb..260249c7c 100644 --- a/data/net/minecraft/util/ARGB.mapping +++ b/data/net/minecraft/util/ARGB.mapping @@ -1,6 +1,8 @@ CLASS net/minecraft/util/ARGB METHOD alpha (I)I ARG 0 color + METHOD alphaFloat (I)F + ARG 0 color METHOD as8BitChannel (F)I ARG 0 value METHOD average (II)I @@ -8,6 +10,8 @@ CLASS net/minecraft/util/ARGB ARG 1 color2 METHOD blue (I)I ARG 0 color + METHOD blueFloat (I)F + ARG 0 color METHOD color (II)I ARG 0 alpha ARG 1 color @@ -33,6 +37,8 @@ CLASS net/minecraft/util/ARGB ARG 0 color METHOD green (I)I ARG 0 color + METHOD greenFloat (I)F + ARG 0 color METHOD greyscale (I)I ARG 0 color METHOD lerp (FII)I @@ -46,6 +52,8 @@ CLASS net/minecraft/util/ARGB ARG 0 color METHOD red (I)I ARG 0 color + METHOD redFloat (I)F + ARG 0 color METHOD scaleRGB (IF)I ARG 0 color ARG 1 scale diff --git a/data/net/minecraft/util/ExtraCodecs.mapping b/data/net/minecraft/util/ExtraCodecs.mapping index de36e867c..db36231d8 100644 --- a/data/net/minecraft/util/ExtraCodecs.mapping +++ b/data/net/minecraft/util/ExtraCodecs.mapping @@ -3,6 +3,11 @@ CLASS net/minecraft/util/ExtraCodecs ARG 0 codec METHOD catchDecoderException (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; ARG 0 codec + METHOD compactListCodec (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; + ARG 0 elementCodec + METHOD compactListCodec (Lcom/mojang/serialization/Codec;Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; + ARG 0 elementCodec + ARG 1 listCodec METHOD converter (Lcom/mojang/serialization/DynamicOps;)Lcom/mojang/serialization/Codec; ARG 0 ops METHOD dispatchOptionalValue (Ljava/lang/String;Ljava/lang/String;Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lcom/mojang/serialization/MapCodec; @@ -13,6 +18,9 @@ CLASS net/minecraft/util/ExtraCodecs ARG 4 codecGetter METHOD ensureHomogenous (Ljava/util/function/Function;)Ljava/util/function/Function; ARG 0 typeGetter + METHOD floatRange (FF)Lcom/mojang/serialization/Codec; + ARG 0 min + ARG 1 max METHOD floatRangeMinExclusiveWithMessage (FFLjava/util/function/Function;)Lcom/mojang/serialization/Codec; ARG 0 min ARG 1 max @@ -21,6 +29,10 @@ CLASS net/minecraft/util/ExtraCodecs ARG 0 min ARG 1 max ARG 2 errorMessage + METHOD idResolverCodec (Lcom/mojang/serialization/Codec;Ljava/util/function/Function;Ljava/util/function/Function;)Lcom/mojang/serialization/Codec; + ARG 0 idCodec + ARG 1 idToValue + ARG 2 valueToId METHOD idResolverCodec (Ljava/util/function/ToIntFunction;Ljava/util/function/IntFunction;I)Lcom/mojang/serialization/Codec; ARG 0 encoder ARG 1 decoder @@ -39,6 +51,40 @@ CLASS net/minecraft/util/ExtraCodecs ARG 3 factory ARG 4 minGetter ARG 5 maxGetter + METHOD lambda$converter$1 (Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Lcom/mojang/serialization/Dynamic; + ARG 1 value + METHOD lambda$ensureHomogenous$47 (Ljava/util/function/Function;Ljava/util/Collection;)Lcom/mojang/serialization/DataResult; + ARG 1 value + METHOD lambda$floatRange$53 (FFLjava/lang/Float;)Ljava/lang/String; + ARG 2 value + METHOD lambda$floatRangeMinExclusiveWithMessage$40 (FFLjava/util/function/Function;Ljava/lang/Float;)Lcom/mojang/serialization/DataResult; + ARG 3 value + METHOD lambda$floatRangeMinExclusiveWithMessage$50 (FFLjava/util/function/Function;Ljava/lang/Float;)Lcom/mojang/serialization/DataResult; + ARG 3 value + METHOD lambda$floatRangeMinInclusiveWithMessage$48 (FFLjava/util/function/Function;Ljava/lang/Float;)Lcom/mojang/serialization/DataResult; + ARG 3 value + METHOD lambda$intRange$38 (IILjava/lang/Integer;)Ljava/lang/String; + ARG 2 value + METHOD lambda$intRange$46 (IILjava/lang/Integer;)Ljava/lang/String; + ARG 2 value + METHOD lambda$intRangeWithMessage$35 (IILjava/util/function/Function;Ljava/lang/Integer;)Lcom/mojang/serialization/DataResult; + ARG 3 value + METHOD lambda$intRangeWithMessage$43 (IILjava/util/function/Function;Ljava/lang/Integer;)Lcom/mojang/serialization/DataResult; + ARG 3 value + METHOD lambda$nonEmptyHolderSet$45 (Lnet/minecraft/core/HolderSet;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$nonEmptyHolderSet$57 (Lnet/minecraft/core/HolderSet;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$nonEmptyList$43 (Ljava/util/List;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$nonEmptyList$55 (Ljava/util/List;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$nonEmptyMap$59 (Ljava/util/Map;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$sizeLimitedMap$81 (ILjava/util/Map;)Lcom/mojang/serialization/DataResult; + ARG 1 value + METHOD lambda$sizeLimitedMap$95 (ILjava/util/Map;)Lcom/mojang/serialization/DataResult; + ARG 1 map METHOD lambda$static$10 (Lorg/joml/Quaternionf;)Ljava/util/List; ARG 0 quaternion METHOD lambda$static$11 (Lorg/joml/AxisAngle4f;)Ljava/lang/Float; @@ -87,16 +133,69 @@ CLASS net/minecraft/util/ExtraCodecs ARG 0 location METHOD lambda$static$63 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; ARG 0 value + METHOD lambda$static$63 (Ljava/lang/String;Ljava/lang/String;Ljava/util/Optional;)Lcom/mojang/authlib/properties/Property; + ARG 0 name + ARG 1 value + ARG 2 signature + METHOD lambda$static$64 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$66 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$static$68 (Lcom/mojang/datafixers/util/Either;)Lcom/mojang/authlib/properties/PropertyMap; + ARG 0 either + METHOD lambda$static$68 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$static$69 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/util/ExtraCodecs$TagOrElementLocation; + ARG 0 location METHOD lambda$static$7 (Lorg/joml/Vector4f;)Ljava/util/List; ARG 0 vector + METHOD lambda$static$70 (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/util/ExtraCodecs$TagOrElementLocation; + ARG 0 location + METHOD lambda$static$71 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$static$72 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$72 (Ljava/util/Optional;)Ljava/util/OptionalLong; + ARG 0 value + METHOD lambda$static$73 (Ljava/util/OptionalLong;)Ljava/util/Optional; + ARG 0 value + METHOD lambda$static$74 (Lcom/mojang/authlib/GameProfile;Lcom/mojang/authlib/properties/PropertyMap;)Lcom/mojang/authlib/GameProfile; + ARG 0 gameProfile + ARG 1 properties + METHOD lambda$static$74 (Ljava/util/stream/LongStream;)Ljava/util/BitSet; + ARG 0 value + METHOD lambda$static$75 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance METHOD lambda$static$77 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; ARG 0 value + METHOD lambda$static$78 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$79 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value METHOD lambda$static$8 (Ljava/util/List;)Lorg/joml/Quaternionf; ARG 0 values + METHOD lambda$static$83 (Lcom/mojang/authlib/properties/PropertyMap;)Lcom/mojang/datafixers/util/Either; + ARG 0 propertyMap METHOD lambda$static$83 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; ARG 0 value + METHOD lambda$static$85 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 name + METHOD lambda$static$86 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$89 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance METHOD lambda$static$9 (Ljava/util/List;)Lcom/mojang/serialization/DataResult; ARG 0 list + METHOD lambda$static$91 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$static$93 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$static$97 (Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 0 value + METHOD lambda$temporalCodec$50 (Ljava/time/format/DateTimeFormatter;Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 1 value + METHOD lambda$temporalCodec$64 (Ljava/time/format/DateTimeFormatter;Ljava/lang/String;)Lcom/mojang/serialization/DataResult; + ARG 1 value METHOD nonEmptyHolderSet (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; ARG 0 codec METHOD nonEmptyList (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; @@ -188,6 +287,12 @@ CLASS net/minecraft/util/ExtraCodecs METHOD isEmptyMap (Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Z ARG 0 ops ARG 1 value + CLASS LateBoundIdMapper + METHOD codec (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; + ARG 1 idCodec + METHOD put (Ljava/lang/Object;Ljava/lang/Object;)Lnet/minecraft/util/ExtraCodecs$LateBoundIdMapper; + ARG 1 id + ARG 2 value CLASS 1ContextRetrievalCodec METHOD (Ljava/util/function/Function;)V ARG 1 valGetter diff --git a/data/net/minecraft/util/SpawnUtil.mapping b/data/net/minecraft/util/SpawnUtil.mapping index 134d53030..12571a411 100644 --- a/data/net/minecraft/util/SpawnUtil.mapping +++ b/data/net/minecraft/util/SpawnUtil.mapping @@ -13,6 +13,25 @@ CLASS net/minecraft/util/SpawnUtil ARG 5 range ARG 6 yOffset ARG 7 strategy + METHOD trySpawnMob (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/entity/EntitySpawnReason;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;IIILnet/minecraft/util/SpawnUtil$Strategy;Z)Ljava/util/Optional; + ARG 0 entityType + ARG 1 spawnReason + ARG 2 level + ARG 3 pos + ARG 4 attempts + ARG 5 range + ARG 6 yOffset + ARG 7 strategy + ARG 8 checkCollision + METHOD trySpawnMob (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/entity/MobSpawnType;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;IIILnet/minecraft/util/SpawnUtil$Strategy;)Ljava/util/Optional; + ARG 0 entityType + ARG 1 spawnType + ARG 2 level + ARG 3 pos + ARG 4 attempts + ARG 5 spread + ARG 6 yOffset + ARG 7 strategy CLASS Strategy METHOD canSpawnOn (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z ARG 1 level diff --git a/data/net/minecraft/util/datafix/fixes/BlockEntityFurnaceBurnTimeFix.mapping b/data/net/minecraft/util/datafix/fixes/BlockEntityFurnaceBurnTimeFix.mapping new file mode 100644 index 000000000..1e5f7c6b9 --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/BlockEntityFurnaceBurnTimeFix.mapping @@ -0,0 +1,6 @@ +CLASS net/minecraft/util/datafix/fixes/BlockEntityFurnaceBurnTimeFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V + ARG 1 outputSchema + ARG 2 entityName + METHOD fixBurnTime (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; + ARG 1 tag diff --git a/data/net/minecraft/util/datafix/fixes/CustomModelDataExpandFix.mapping b/data/net/minecraft/util/datafix/fixes/CustomModelDataExpandFix.mapping new file mode 100644 index 000000000..6fbbb1028 --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/CustomModelDataExpandFix.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/util/datafix/fixes/CustomModelDataExpandFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;)V + ARG 1 outputSchema diff --git a/data/net/minecraft/util/datafix/fixes/DataComponentRemainderFix.mapping b/data/net/minecraft/util/datafix/fixes/DataComponentRemainderFix.mapping new file mode 100644 index 000000000..858ed6816 --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/DataComponentRemainderFix.mapping @@ -0,0 +1,12 @@ +CLASS net/minecraft/util/datafix/fixes/DataComponentRemainderFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V + ARG 1 outputSchema + ARG 2 name + ARG 3 componentId + METHOD (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + ARG 1 outputSchema + ARG 2 name + ARG 3 componentId + ARG 4 newComponentId + METHOD fixComponent (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; + ARG 1 component diff --git a/data/net/minecraft/util/datafix/fixes/EntityAttributeBaseValueFix.mapping b/data/net/minecraft/util/datafix/fixes/EntityAttributeBaseValueFix.mapping new file mode 100644 index 000000000..94463b6fe --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/EntityAttributeBaseValueFix.mapping @@ -0,0 +1,9 @@ +CLASS net/minecraft/util/datafix/fixes/EntityAttributeBaseValueFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/DoubleUnaryOperator;)V + ARG 1 outputSchema + ARG 2 name + ARG 3 entityName + ARG 4 attributeId + ARG 5 valueFixer + METHOD fixValue (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; + ARG 1 tag diff --git a/data/net/minecraft/util/datafix/fixes/EntityFieldsRenameFix.mapping b/data/net/minecraft/util/datafix/fixes/EntityFieldsRenameFix.mapping new file mode 100644 index 000000000..5acfa062c --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/EntityFieldsRenameFix.mapping @@ -0,0 +1,8 @@ +CLASS net/minecraft/util/datafix/fixes/EntityFieldsRenameFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V + ARG 1 outputSchema + ARG 2 name + ARG 3 entityName + ARG 4 renames + METHOD fixTag (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; + ARG 1 tag diff --git a/data/net/minecraft/util/datafix/fixes/EquippableAssetRenameFix.mapping b/data/net/minecraft/util/datafix/fixes/EquippableAssetRenameFix.mapping new file mode 100644 index 000000000..494b12aa7 --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/EquippableAssetRenameFix.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/util/datafix/fixes/EquippableAssetRenameFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;)V + ARG 1 outputSchema diff --git a/data/net/minecraft/util/datafix/fixes/InvalidBlockEntityLockFix.mapping b/data/net/minecraft/util/datafix/fixes/InvalidBlockEntityLockFix.mapping new file mode 100644 index 000000000..77f8d8ba4 --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/InvalidBlockEntityLockFix.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/util/datafix/fixes/InvalidBlockEntityLockFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;)V + ARG 1 outputSchema + METHOD lambda$makeRule$0 (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; + ARG 0 tag diff --git a/data/net/minecraft/util/datafix/fixes/InvalidLockComponentFix.mapping b/data/net/minecraft/util/datafix/fixes/InvalidLockComponentFix.mapping new file mode 100644 index 000000000..2a0e7618e --- /dev/null +++ b/data/net/minecraft/util/datafix/fixes/InvalidLockComponentFix.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/util/datafix/fixes/InvalidLockComponentFix + METHOD (Lcom/mojang/datafixers/schemas/Schema;)V + ARG 1 outputSchema + METHOD fixLock (Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic; + ARG 0 tag + METHOD isBrokenLock (Lcom/mojang/serialization/Dynamic;)Z + ARG 0 tag + METHOD isMapWithOneField (Lcom/mojang/serialization/Dynamic;Ljava/lang/String;Ljava/util/function/Predicate;)Z + ARG 0 tag + ARG 1 key + ARG 2 predicate diff --git a/data/net/minecraft/util/datafix/fixes/NamedEntityFix.mapping b/data/net/minecraft/util/datafix/fixes/NamedEntityFix.mapping index 5b1187243..57f6f065d 100644 --- a/data/net/minecraft/util/datafix/fixes/NamedEntityFix.mapping +++ b/data/net/minecraft/util/datafix/fixes/NamedEntityFix.mapping @@ -7,3 +7,5 @@ CLASS net/minecraft/util/datafix/fixes/NamedEntityFix ARG 5 entityName METHOD fix (Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed; ARG 1 typed + METHOD lambda$makeRule$0 (Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed; + ARG 2 typed diff --git a/data/net/minecraft/util/profiling/jfr/JfrProfiler.mapping b/data/net/minecraft/util/profiling/jfr/JfrProfiler.mapping index 8adc43881..33b451126 100644 --- a/data/net/minecraft/util/profiling/jfr/JfrProfiler.mapping +++ b/data/net/minecraft/util/profiling/jfr/JfrProfiler.mapping @@ -1,4 +1,10 @@ CLASS net/minecraft/util/profiling/jfr/JfrProfiler + METHOD lambda$onChunkGenerate$4 (Lnet/minecraft/util/profiling/jfr/event/ChunkGenerationEvent;Z)V + ARG 1 success + METHOD lambda$onStructureGenerate$5 (Lnet/minecraft/util/profiling/jfr/event/StructureGenerationEvent;Z)V + ARG 1 success + METHOD lambda$onWorldLoadedStarted$3 (Lnet/minecraft/util/profiling/jfr/event/WorldLoadFinishedEvent;Z)V + ARG 1 success METHOD networkStatFor (Ljava/net/SocketAddress;)Lnet/minecraft/util/profiling/jfr/event/NetworkSummaryEvent$SumAggregation; ARG 1 remoteAddress METHOD start (Ljava/io/Reader;Lnet/minecraft/util/profiling/jfr/Environment;)Z diff --git a/data/net/minecraft/util/profiling/jfr/JvmProfiler.mapping b/data/net/minecraft/util/profiling/jfr/JvmProfiler.mapping index 4dc46d602..6ae02785d 100644 --- a/data/net/minecraft/util/profiling/jfr/JvmProfiler.mapping +++ b/data/net/minecraft/util/profiling/jfr/JvmProfiler.mapping @@ -25,5 +25,9 @@ CLASS net/minecraft/util/profiling/jfr/JvmProfiler ARG 4 bytes METHOD onServerTick (F)V ARG 1 currentAverageTickTime + METHOD onStructureGenerate (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/Holder;)Lnet/minecraft/util/profiling/jfr/callback/ProfiledDuration; + ARG 1 chunkPos + ARG 2 level + ARG 3 structure METHOD start (Lnet/minecraft/util/profiling/jfr/Environment;)Z ARG 1 environment diff --git a/data/net/minecraft/util/profiling/jfr/callback/ProfiledDuration.mapping b/data/net/minecraft/util/profiling/jfr/callback/ProfiledDuration.mapping new file mode 100644 index 000000000..af8641e07 --- /dev/null +++ b/data/net/minecraft/util/profiling/jfr/callback/ProfiledDuration.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/util/profiling/jfr/callback/ProfiledDuration + METHOD finish (Z)V + ARG 1 success diff --git a/data/net/minecraft/util/profiling/jfr/event/StructureGenerationEvent.mapping b/data/net/minecraft/util/profiling/jfr/event/StructureGenerationEvent.mapping new file mode 100644 index 000000000..6ae54fea1 --- /dev/null +++ b/data/net/minecraft/util/profiling/jfr/event/StructureGenerationEvent.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/util/profiling/jfr/event/StructureGenerationEvent + METHOD (Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/Holder;Lnet/minecraft/resources/ResourceKey;)V + ARG 1 chunkPos + ARG 2 structure + ARG 3 level diff --git a/data/net/minecraft/util/profiling/jfr/serialize/JfrResultJsonSerializer.mapping b/data/net/minecraft/util/profiling/jfr/serialize/JfrResultJsonSerializer.mapping index d00661470..920cd68a8 100644 --- a/data/net/minecraft/util/profiling/jfr/serialize/JfrResultJsonSerializer.mapping +++ b/data/net/minecraft/util/profiling/jfr/serialize/JfrResultJsonSerializer.mapping @@ -24,5 +24,7 @@ CLASS net/minecraft/util/profiling/jfr/serialize/JfrResultJsonSerializer ARG 1 json METHOD serverTicks (Ljava/util/List;)Lcom/google/gson/JsonElement; ARG 1 stats + METHOD structureGen (Ljava/util/List;)Lcom/google/gson/JsonElement; + ARG 1 stats METHOD threadAllocations (Lnet/minecraft/util/profiling/jfr/stats/ThreadAllocationStat$Summary;)Lcom/google/gson/JsonElement; ARG 1 summary diff --git a/data/net/minecraft/util/profiling/jfr/stats/StructureGenStat.mapping b/data/net/minecraft/util/profiling/jfr/stats/StructureGenStat.mapping new file mode 100644 index 000000000..095b2194f --- /dev/null +++ b/data/net/minecraft/util/profiling/jfr/stats/StructureGenStat.mapping @@ -0,0 +1,3 @@ +CLASS net/minecraft/util/profiling/jfr/stats/StructureGenStat + METHOD from (Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/util/profiling/jfr/stats/StructureGenStat; + ARG 0 event diff --git a/data/net/minecraft/world/entity/Entity.mapping b/data/net/minecraft/world/entity/Entity.mapping index a54d07bfd..0fd64e6e4 100644 --- a/data/net/minecraft/world/entity/Entity.mapping +++ b/data/net/minecraft/world/entity/Entity.mapping @@ -44,6 +44,9 @@ CLASS net/minecraft/world/entity/Entity ARG 1 killed ARG 2 scoreValue ARG 3 source + METHOD awardKillScore (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/damagesource/DamageSource;)V + ARG 1 entity + ARG 2 damageSource METHOD baseTick ()V COMMENT Gets called every tick from main Entity class METHOD broadcastToPlayer (Lnet/minecraft/server/level/ServerPlayer;)Z @@ -153,6 +156,11 @@ CLASS net/minecraft/world/entity/Entity ARG 1 entity METHOD distanceToSqr (Lnet/minecraft/world/phys/Vec3;)D ARG 1 vec + METHOD doCheckFallDamage (DDDZ)V + ARG 1 x + ARG 3 y + ARG 5 z + ARG 7 onGround METHOD doWaterSplashEffect ()V COMMENT Plays the {@link #getSplashSound() splash sound}, and the {@link ParticleType#WATER_BUBBLE} and {@link ParticleType#WATER_SPLASH} particles. METHOD ejectPassengers ()V @@ -441,6 +449,8 @@ CLASS net/minecraft/world/entity/Entity METHOD lookAt (Lnet/minecraft/commands/arguments/EntityAnchorArgument$Anchor;Lnet/minecraft/world/phys/Vec3;)V ARG 1 anchor ARG 2 target + METHOD makeBoundingBox (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/AABB; + ARG 1 position METHOD makeStuckInBlock (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/phys/Vec3;)V ARG 1 state ARG 2 motionMultiplier diff --git a/data/net/minecraft/world/entity/Leashable.mapping b/data/net/minecraft/world/entity/Leashable.mapping index a73c8841e..0771c647a 100644 --- a/data/net/minecraft/world/entity/Leashable.mapping +++ b/data/net/minecraft/world/entity/Leashable.mapping @@ -24,6 +24,10 @@ CLASS net/minecraft/world/entity/Leashable ARG 2 distance METHOD readLeashData (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/Leashable$LeashData; ARG 1 tag + METHOD readLeashData (Lnet/minecraft/nbt/CompoundTag;)V + ARG 1 tag + METHOD readLeashDataInternal (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/entity/Leashable$LeashData; + ARG 0 tag METHOD restoreLeashFromSave (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/entity/Leashable$LeashData;)V ARG 0 entity ARG 1 leashData diff --git a/data/net/minecraft/world/entity/LivingEntity.mapping b/data/net/minecraft/world/entity/LivingEntity.mapping index e99e8fc43..b0b572f5a 100644 --- a/data/net/minecraft/world/entity/LivingEntity.mapping +++ b/data/net/minecraft/world/entity/LivingEntity.mapping @@ -250,6 +250,11 @@ CLASS net/minecraft/world/entity/LivingEntity ARG 1 slot METHOD hasLineOfSight (Lnet/minecraft/world/entity/Entity;)Z ARG 1 entity + METHOD hasLineOfSight (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/ClipContext$Block;Lnet/minecraft/world/level/ClipContext$Fluid;D)Z + ARG 1 entity + ARG 2 block + ARG 3 fluid + ARG 4 y METHOD hasLineOfSight (Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/level/ClipContext$Block;Lnet/minecraft/world/level/ClipContext$Fluid;Ljava/util/function/DoubleSupplier;)Z ARG 1 entity ARG 2 blockClipContext @@ -307,6 +312,12 @@ CLASS net/minecraft/world/entity/LivingEntity ARG 5 visual ARG 6 filter ARG 7 yValues + METHOD isLookingAtMe (Lnet/minecraft/world/entity/LivingEntity;DZZ[D)Z + ARG 1 entity + ARG 2 tolerance + ARG 4 scaleByDistance + ARG 5 visual + ARG 6 yValues METHOD isPickable ()Z COMMENT Returns {@code true} if other Entities should be prevented from moving through this Entity. METHOD isPushable ()Z @@ -325,9 +336,46 @@ CLASS net/minecraft/world/entity/LivingEntity ARG 1 pos METHOD lambda$addAdditionalSaveData$2 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/nbt/Tag;)V ARG 1 brain + METHOD lambda$checkBedExists$11 (Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; + ARG 1 pos + METHOD lambda$checkBedExists$13 (Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; + ARG 1 pos + METHOD lambda$checkBedExists$14 (Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; + ARG 1 pos + METHOD lambda$checkBedExists$7 (Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; + ARG 1 pos + METHOD lambda$checkBedExists$9 (Lnet/minecraft/core/BlockPos;)Ljava/lang/Boolean; + ARG 1 pos + METHOD lambda$collectEquipmentChanges$10 (Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V + ARG 1 attribute + ARG 2 modifier METHOD lambda$collectEquipmentChanges$11 (Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V ARG 1 attribute ARG 2 modifier + METHOD lambda$collectEquipmentChanges$6 (Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V + ARG 1 attribute + ARG 2 modifier + METHOD lambda$collectEquipmentChanges$8 (Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V + ARG 1 attribute + ARG 2 modifier + METHOD lambda$createEquipmentSlotAccess$10 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)Z + ARG 2 stack + METHOD lambda$createEquipmentSlotAccess$15 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)Z + ARG 2 stack + METHOD lambda$createEquipmentSlotAccess$17 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)Z + ARG 2 stack + METHOD lambda$createEquipmentSlotAccess$18 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)Z + ARG 2 stack + METHOD lambda$dismountVehicle$5 (DLnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; + ARG 2 vec3 + METHOD lambda$dismountVehicle$7 (DLnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; + ARG 2 pos + METHOD lambda$dismountVehicle$9 (DLnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; + ARG 2 pos + METHOD lambda$dropFromGiftLootTable$3 (Lnet/minecraft/world/level/storage/loot/LootParams$Builder;)Lnet/minecraft/world/level/storage/loot/LootParams; + ARG 1 builder + METHOD lambda$dropFromGiftLootTable$4 (Lnet/minecraft/world/level/storage/loot/LootParams$Builder;)Lnet/minecraft/world/level/storage/loot/LootParams; + ARG 1 builder METHOD lambda$dropFromGiftLootTable$5 (Lnet/minecraft/world/level/storage/loot/LootParams$Builder;)Lnet/minecraft/world/level/storage/loot/LootParams; ARG 1 builder METHOD lambda$dropFromLootTable$4 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/ItemStack;)V @@ -339,11 +387,41 @@ CLASS net/minecraft/world/entity/LivingEntity METHOD lambda$handleEquipmentChanges$12 (Ljava/util/List;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V ARG 2 slot ARG 3 stack + METHOD lambda$handleEquipmentChanges$7 (Ljava/util/List;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V + ARG 2 slot + ARG 3 stack + METHOD lambda$handleEquipmentChanges$9 (Ljava/util/List;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/ItemStack;)V + ARG 2 slot + ARG 3 stack + METHOD lambda$isHolding$4 (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 stack + METHOD lambda$isHolding$6 (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 stack + METHOD lambda$isHolding$8 (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 stack + METHOD lambda$isHolding$9 (Lnet/minecraft/world/item/Item;Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 stack METHOD lambda$static$0 (Lnet/minecraft/world/entity/LivingEntity;)Z ARG 0 entity METHOD lambda$stopLocationBasedEffects$17 (Lnet/minecraft/world/entity/ai/attributes/AttributeMap;Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V ARG 1 attribute ARG 2 modifier + METHOD lambda$stopSleeping$11 (Lnet/minecraft/core/BlockPos;)V + ARG 1 pos + METHOD lambda$stopSleeping$13 (Lnet/minecraft/core/BlockPos;)V + ARG 1 pos + METHOD lambda$stopSleeping$15 (Lnet/minecraft/core/BlockPos;)V + ARG 1 pos + METHOD lambda$stopSleeping$9 (Lnet/minecraft/core/BlockPos;)V + ARG 1 pos + METHOD lambda$updateFallFlying$10 (Lnet/minecraft/world/entity/EquipmentSlot;)Z + ARG 1 slot + METHOD lambda$updateFallFlying$12 (Lnet/minecraft/world/entity/EquipmentSlot;)Z + ARG 1 slot + METHOD lambda$updateFallFlying$13 (Lnet/minecraft/world/entity/EquipmentSlot;)Z + ARG 1 slot + METHOD lambda$updateFallFlying$8 (Lnet/minecraft/world/entity/EquipmentSlot;)Z + ARG 1 slot METHOD lerpHeadRotationStep (ID)V ARG 1 lerpHeadSteps ARG 2 lerpYHeadRot @@ -411,6 +489,10 @@ CLASS net/minecraft/world/entity/LivingEntity COMMENT Resets the potion effect color and ambience metadata values METHOD resetForwardDirectionOfRelativePortalPosition (Lnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/Vec3; ARG 0 relativePortalPosition + METHOD resolveMobResponsibleForDamage (Lnet/minecraft/world/damagesource/DamageSource;)V + ARG 1 damageSource + METHOD resolvePlayerResponsibleForDamage (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/world/entity/player/Player; + ARG 1 damageSource METHOD rideTick ()V COMMENT Handles updating while riding another entity METHOD sanitizeScale (F)F diff --git a/data/net/minecraft/world/entity/Mob.mapping b/data/net/minecraft/world/entity/Mob.mapping index 3bdc12c00..4811b9a70 100644 --- a/data/net/minecraft/world/entity/Mob.mapping +++ b/data/net/minecraft/world/entity/Mob.mapping @@ -34,6 +34,17 @@ CLASS net/minecraft/world/entity/Mob METHOD checkSpawnRules (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/EntitySpawnReason;)Z ARG 1 level ARG 2 spawnReason + METHOD checkSpawnRules (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/world/entity/MobSpawnType;)Z + ARG 1 level + ARG 2 reason + METHOD compareArmor (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/EquipmentSlot;)Z + ARG 1 newItem + ARG 2 currentItem + ARG 3 slot + METHOD compareWeapons (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/EquipmentSlot;)Z + ARG 1 newItem + ARG 2 currentItem + ARG 3 slot METHOD convertTo (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/entity/ConversionParams;Lnet/minecraft/world/entity/ConversionParams$AfterConversion;)Lnet/minecraft/world/entity/Mob; ARG 1 entityType ARG 2 coversionParams diff --git a/data/net/minecraft/world/entity/ai/attributes/AttributeMap.mapping b/data/net/minecraft/world/entity/ai/attributes/AttributeMap.mapping index c4f7bbc03..7c85ac34b 100644 --- a/data/net/minecraft/world/entity/ai/attributes/AttributeMap.mapping +++ b/data/net/minecraft/world/entity/ai/attributes/AttributeMap.mapping @@ -23,6 +23,15 @@ CLASS net/minecraft/world/entity/ai/attributes/AttributeMap METHOD hasModifier (Lnet/minecraft/core/Holder;Lnet/minecraft/resources/ResourceLocation;)Z ARG 1 attribute ARG 2 id + METHOD lambda$addTransientAttributeModifiers$2 (Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V + ARG 1 attribute + ARG 2 modifier + METHOD lambda$assignAllValues$5 (Lnet/minecraft/world/entity/ai/attributes/AttributeInstance;)V + ARG 1 attribute + METHOD lambda$assignBaseValues$6 (Lnet/minecraft/world/entity/ai/attributes/AttributeInstance;)V + ARG 1 attribute + METHOD lambda$assignPermanentModifiers$7 (Lnet/minecraft/world/entity/ai/attributes/AttributeInstance;)V + ARG 1 attribute METHOD lambda$getSyncableAttributes$0 (Lnet/minecraft/world/entity/ai/attributes/AttributeInstance;)Z ARG 0 instance METHOD load (Lnet/minecraft/nbt/ListTag;)V @@ -31,3 +40,5 @@ CLASS net/minecraft/world/entity/ai/attributes/AttributeMap ARG 1 instance METHOD removeAttributeModifiers (Lcom/google/common/collect/Multimap;)V ARG 1 modifiers + METHOD resetBaseValue (Lnet/minecraft/core/Holder;)Z + ARG 1 attribute diff --git a/data/net/minecraft/world/entity/ai/behavior/AcquirePoi.mapping b/data/net/minecraft/world/entity/ai/behavior/AcquirePoi.mapping index f1fb8a31e..2df90493d 100644 --- a/data/net/minecraft/world/entity/ai/behavior/AcquirePoi.mapping +++ b/data/net/minecraft/world/entity/ai/behavior/AcquirePoi.mapping @@ -5,11 +5,24 @@ CLASS net/minecraft/world/entity/ai/behavior/AcquirePoi ARG 2 acquiringMemory ARG 3 onlyIfAdult ARG 4 entityEventId + METHOD create (Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;ZLjava/util/Optional;Ljava/util/function/BiPredicate;)Lnet/minecraft/world/entity/ai/behavior/BehaviorControl; + ARG 0 acquirablePois + ARG 1 existingAbsentMemory + ARG 2 acquiringMemory + ARG 3 onlyIfAdult + ARG 4 entityEventId + ARG 5 predicate METHOD create (Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;ZLjava/util/Optional;)Lnet/minecraft/world/entity/ai/behavior/BehaviorControl; ARG 0 acquirablePois ARG 1 acquiringMemory ARG 2 onlyIfAdult ARG 3 entityEventId + METHOD create (Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;ZLjava/util/Optional;Ljava/util/function/BiPredicate;)Lnet/minecraft/world/entity/ai/behavior/BehaviorControl; + ARG 0 acquirablePois + ARG 1 acquiringMemory + ARG 2 onlyIfAdult + ARG 3 entityEventId + ARG 4 predicate METHOD findPathToPois (Lnet/minecraft/world/entity/Mob;Ljava/util/Set;)Lnet/minecraft/world/level/pathfinder/Path; ARG 0 mob ARG 1 poiPositions @@ -19,6 +32,14 @@ CLASS net/minecraft/world/entity/ai/behavior/AcquirePoi ARG 3 pos METHOD lambda$create$10 (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Lnet/minecraft/world/entity/ai/behavior/OneShot;Lnet/minecraft/world/entity/ai/behavior/declarative/BehaviorBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 2 instance + METHOD lambda$create$10 (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;ZLorg/apache/commons/lang3/mutable/MutableLong;Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Ljava/util/Optional;Lnet/minecraft/world/entity/ai/behavior/declarative/BehaviorBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 7 instance + METHOD lambda$create$11 (Lnet/minecraft/world/entity/ai/behavior/OneShot;Lnet/minecraft/world/entity/ai/behavior/declarative/MemoryAccessor;)Lnet/minecraft/world/entity/ai/behavior/declarative/Trigger; + ARG 1 memoryAccessor + METHOD lambda$create$12 (Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;Lnet/minecraft/world/entity/ai/behavior/OneShot;Lnet/minecraft/world/entity/ai/behavior/declarative/BehaviorBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 2 instance + METHOD lambda$create$2 (Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;JLnet/minecraft/core/BlockPos;)Z + ARG 3 pos METHOD lambda$create$2 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Holder;Lnet/minecraft/core/BlockPos;)Z ARG 1 testPoi ARG 2 testPos @@ -28,6 +49,8 @@ CLASS net/minecraft/world/entity/ai/behavior/AcquirePoi ARG 8 poiType METHOD lambda$create$5 (Lnet/minecraft/server/level/ServerLevel;JJ)Lnet/minecraft/world/entity/ai/behavior/AcquirePoi$JitteredLinearRetry; ARG 3 pos + METHOD lambda$create$5 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;Ljava/lang/Byte;)V + ARG 2 id METHOD lambda$create$6 (ZLorg/apache/commons/lang3/mutable/MutableLong;Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/behavior/declarative/MemoryAccessor;Ljava/util/Optional;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)Z ARG 6 level ARG 7 mob @@ -42,8 +65,14 @@ CLASS net/minecraft/world/entity/ai/behavior/AcquirePoi ARG 4 acquirablePois ARG 5 entityEventId ARG 6 instance + METHOD lambda$create$8 (ZLorg/apache/commons/lang3/mutable/MutableLong;Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Lnet/minecraft/world/entity/ai/behavior/declarative/MemoryAccessor;Ljava/util/Optional;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/PathfinderMob;J)Z + ARG 7 level + ARG 8 mob + ARG 9 time METHOD lambda$create$9 (Lnet/minecraft/world/entity/ai/behavior/OneShot;Lnet/minecraft/world/entity/ai/behavior/declarative/MemoryAccessor;)Lnet/minecraft/world/entity/ai/behavior/declarative/Trigger; ARG 1 memory + METHOD lambda$create$9 (ZLorg/apache/commons/lang3/mutable/MutableLong;Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;Ljava/util/function/Predicate;Ljava/util/function/BiPredicate;Ljava/util/Optional;Lnet/minecraft/world/entity/ai/behavior/declarative/MemoryAccessor;)Lnet/minecraft/world/entity/ai/behavior/declarative/Trigger; + ARG 6 memoryAccessor CLASS JitteredLinearRetry METHOD (Lnet/minecraft/util/RandomSource;J)V ARG 1 random diff --git a/data/net/minecraft/world/entity/ai/behavior/ValidateNearbyPoi.mapping b/data/net/minecraft/world/entity/ai/behavior/ValidateNearbyPoi.mapping index c1fde61ba..eaf979dd8 100644 --- a/data/net/minecraft/world/entity/ai/behavior/ValidateNearbyPoi.mapping +++ b/data/net/minecraft/world/entity/ai/behavior/ValidateNearbyPoi.mapping @@ -3,6 +3,9 @@ CLASS net/minecraft/world/entity/ai/behavior/ValidateNearbyPoi ARG 0 level ARG 1 pos ARG 2 entity + METHOD bedIsOccupiedByVillager (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z + ARG 0 level + ARG 1 pos METHOD create (Ljava/util/function/Predicate;Lnet/minecraft/world/entity/ai/memory/MemoryModuleType;)Lnet/minecraft/world/entity/ai/behavior/BehaviorControl; ARG 0 poiValidator ARG 1 poiPosMemory diff --git a/data/net/minecraft/world/entity/ai/behavior/VillagerGoalPackages.mapping b/data/net/minecraft/world/entity/ai/behavior/VillagerGoalPackages.mapping index 7bf6e9f35..b5f15b844 100644 --- a/data/net/minecraft/world/entity/ai/behavior/VillagerGoalPackages.mapping +++ b/data/net/minecraft/world/entity/ai/behavior/VillagerGoalPackages.mapping @@ -28,9 +28,23 @@ CLASS net/minecraft/world/entity/ai/behavior/VillagerGoalPackages METHOD getWorkPackage (Lnet/minecraft/world/entity/npc/VillagerProfession;F)Lcom/google/common/collect/ImmutableList; ARG 0 profession ARG 1 speedModifier + METHOD lambda$getCorePackage$0 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z + ARG 0 level + ARG 1 pos + METHOD lambda$getCorePackage$1 (Lnet/minecraft/core/Holder;)Z + ARG 0 poiType + METHOD lambda$getCorePackage$2 (Lnet/minecraft/core/Holder;)Z + ARG 0 poiType + METHOD lambda$getMeetPackage$4 (Lnet/minecraft/core/Holder;)Z + ARG 0 poiType + METHOD lambda$getRestPackage$3 (Lnet/minecraft/core/Holder;)Z + ARG 0 poiType METHOD raidExistsAndActive (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z ARG 0 level ARG 1 entity METHOD raidExistsAndNotVictory (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/entity/LivingEntity;)Z ARG 0 level ARG 1 entity + METHOD validateBedPoi (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)Z + ARG 0 level + ARG 1 pos diff --git a/data/net/minecraft/world/entity/animal/Bee.mapping b/data/net/minecraft/world/entity/animal/Bee.mapping index 40cac50fc..ea75a898b 100644 --- a/data/net/minecraft/world/entity/animal/Bee.mapping +++ b/data/net/minecraft/world/entity/animal/Bee.mapping @@ -3,6 +3,8 @@ CLASS net/minecraft/world/entity/animal/Bee ARG 1 compound METHOD aiStep ()V COMMENT Called frequently, so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn. + METHOD attractsBees (Lnet/minecraft/world/level/block/state/BlockState;)Z + ARG 0 state METHOD checkFallDamage (DZLnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)V ARG 1 y ARG 3 onGround @@ -35,6 +37,8 @@ CLASS net/minecraft/world/entity/animal/Bee ARG 1 pos METHOD jumpInLiquid (Lnet/minecraft/tags/TagKey;)V ARG 1 fluidTag + METHOD lambda$registerGoals$0 (Lnet/minecraft/world/item/ItemStack;)Z + ARG 0 stack METHOD pathfindRandomlyTowards (Lnet/minecraft/core/BlockPos;)V ARG 1 pos METHOD playStepSound (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)V @@ -129,6 +133,8 @@ CLASS net/minecraft/world/entity/animal/Bee METHOD tick ()V COMMENT Keep ticking a continuous task that has already been started CLASS BeeLocateHiveGoal + METHOD lambda$findNearbyHivesWithSpace$0 (Lnet/minecraft/core/Holder;)Z + ARG 0 poiRecord METHOD lambda$findNearbyHivesWithSpace$1 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)D ARG 1 pos METHOD start ()V diff --git a/data/net/minecraft/world/entity/animal/Fox.mapping b/data/net/minecraft/world/entity/animal/Fox.mapping index bd3e67a84..3f9cebcbb 100644 --- a/data/net/minecraft/world/entity/animal/Fox.mapping +++ b/data/net/minecraft/world/entity/animal/Fox.mapping @@ -207,6 +207,9 @@ CLASS net/minecraft/world/entity/animal/Fox METHOD tick ()V COMMENT Keep ticking a continuous task that has already been started CLASS FoxFollowParentGoal + METHOD (Lnet/minecraft/world/entity/animal/Fox;D)V + ARG 1 fox + ARG 2 speedModifier METHOD (Lnet/minecraft/world/entity/animal/Fox;Lnet/minecraft/world/entity/animal/Fox;D)V ARG 2 fox ARG 3 speedModifier diff --git a/data/net/minecraft/world/entity/animal/Salmon.mapping b/data/net/minecraft/world/entity/animal/Salmon.mapping index 464b412fd..230041326 100644 --- a/data/net/minecraft/world/entity/animal/Salmon.mapping +++ b/data/net/minecraft/world/entity/animal/Salmon.mapping @@ -1,9 +1,15 @@ CLASS net/minecraft/world/entity/animal/Salmon METHOD getHurtSound (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/sounds/SoundEvent; ARG 1 damageSource + METHOD lambda$saveToBucketTag$0 (Lnet/minecraft/nbt/CompoundTag;)V + ARG 1 tag CLASS Variant METHOD (Ljava/lang/String;ILjava/lang/String;F)V ARG 3 type ARG 4 boundingBoxScale + METHOD (Ljava/lang/String;ILjava/lang/String;IF)V + ARG 3 name + ARG 4 id + ARG 5 boundingBoxScale METHOD byName (Ljava/lang/String;)Lnet/minecraft/world/entity/animal/Salmon$Variant; ARG 0 name diff --git a/data/net/minecraft/world/entity/animal/allay/Allay.mapping b/data/net/minecraft/world/entity/animal/allay/Allay.mapping index 1d4b1aff8..21c97b141 100644 --- a/data/net/minecraft/world/entity/animal/allay/Allay.mapping +++ b/data/net/minecraft/world/entity/animal/allay/Allay.mapping @@ -9,6 +9,12 @@ CLASS net/minecraft/world/entity/animal/allay/Allay METHOD hasNonMatchingPotion (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/item/ItemStack;)Z ARG 1 first ARG 2 second + METHOD isDuplicationItem (Lnet/minecraft/world/item/ItemStack;)Z + ARG 1 stack + METHOD isLikedPlayer (Lnet/minecraft/world/entity/Entity;)Z + ARG 1 entity + METHOD lambda$dropEquipment$0 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/ItemStack;)V + ARG 2 stack METHOD removeInteractionItem (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/item/ItemStack;)V ARG 1 player ARG 2 stack diff --git a/data/net/minecraft/world/entity/monster/Shulker.mapping b/data/net/minecraft/world/entity/monster/Shulker.mapping index 98fe2770c..9576e8be2 100644 --- a/data/net/minecraft/world/entity/monster/Shulker.mapping +++ b/data/net/minecraft/world/entity/monster/Shulker.mapping @@ -18,15 +18,30 @@ CLASS net/minecraft/world/entity/monster/Shulker ARG 0 scale ARG 1 expansionDirection ARG 2 peek + METHOD getProgressAabb (FLnet/minecraft/core/Direction;FLnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/AABB; + ARG 0 scale + ARG 1 expansionDirection + ARG 2 peek + ARG 3 position METHOD getProgressDeltaAabb (FLnet/minecraft/core/Direction;FF)Lnet/minecraft/world/phys/AABB; ARG 0 scale ARG 1 expansionDirection ARG 2 currentPeek ARG 3 oldPeek + METHOD getProgressDeltaAabb (FLnet/minecraft/core/Direction;FFLnet/minecraft/world/phys/Vec3;)Lnet/minecraft/world/phys/AABB; + ARG 0 scale + ARG 1 expansionDirection + ARG 2 currentPeek + ARG 3 oldPeek + ARG 4 position + METHOD getRenderPosition (F)Ljava/util/Optional; + ARG 1 partial METHOD getRenderPosition (F)Lnet/minecraft/world/phys/Vec3; ARG 1 partialTick METHOD isPositionBlocked (Lnet/minecraft/core/BlockPos;)Z ARG 1 pos + METHOD lambda$onPeekAmountChange$1 (Lnet/minecraft/world/entity/Entity;)Z + ARG 1 entity METHOD lambda$setVariant$2 (Lnet/minecraft/world/item/DyeColor;)Ljava/lang/Byte; ARG 0 color METHOD move (Lnet/minecraft/world/entity/MoverType;Lnet/minecraft/world/phys/Vec3;)V @@ -84,6 +99,11 @@ CLASS net/minecraft/world/entity/monster/Shulker COMMENT Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well. METHOD getTargetSearchArea (D)Lnet/minecraft/world/phys/AABB; ARG 1 targetDistance + METHOD lambda$new$0 (Lnet/minecraft/world/entity/LivingEntity;)Z + ARG 0 entity + METHOD lambda$new$0 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/server/level/ServerLevel;)Z + ARG 0 entity + ARG 1 level CLASS ShulkerNearestAttackGoal METHOD (Lnet/minecraft/world/entity/monster/Shulker;Lnet/minecraft/world/entity/monster/Shulker;)V ARG 2 shulker diff --git a/data/net/minecraft/world/entity/monster/creaking/Creaking.mapping b/data/net/minecraft/world/entity/monster/creaking/Creaking.mapping index b9c4bea02..59ad51e46 100644 --- a/data/net/minecraft/world/entity/monster/creaking/Creaking.mapping +++ b/data/net/minecraft/world/entity/monster/creaking/Creaking.mapping @@ -1,6 +1,16 @@ CLASS net/minecraft/world/entity/monster/creaking/Creaking + METHOD activate (Lnet/minecraft/world/entity/player/Player;)V + ARG 1 player + METHOD blameSourceForDamage (Lnet/minecraft/world/damagesource/DamageSource;)Lnet/minecraft/world/entity/player/Player; + ARG 1 damageSource + METHOD creakingDeathEffects (Lnet/minecraft/world/damagesource/DamageSource;)V + ARG 1 damageSource + METHOD setHomePos (Lnet/minecraft/core/BlockPos;)V + ARG 1 homePos METHOD setIsActive (Z)V ARG 1 isActive + METHOD setTransient (Lnet/minecraft/core/BlockPos;)V + ARG 1 homePos CLASS CreakingJumpControl METHOD (Lnet/minecraft/world/entity/monster/creaking/Creaking;Lnet/minecraft/world/entity/monster/creaking/Creaking;)V ARG 2 creaking @@ -10,6 +20,10 @@ CLASS net/minecraft/world/entity/monster/creaking/Creaking CLASS CreakingMoveControl METHOD (Lnet/minecraft/world/entity/monster/creaking/Creaking;Lnet/minecraft/world/entity/monster/creaking/Creaking;)V ARG 2 creaking + CLASS CreakingPathNavigation + METHOD (Lnet/minecraft/world/entity/monster/creaking/Creaking;Lnet/minecraft/world/entity/monster/creaking/Creaking;Lnet/minecraft/world/level/Level;)V + ARG 2 creaking + ARG 3 level CLASS CreakingBodyRotationControl METHOD (Lnet/minecraft/world/entity/monster/creaking/Creaking;Lnet/minecraft/world/entity/monster/creaking/Creaking;)V ARG 2 creaking diff --git a/data/net/minecraft/world/entity/monster/creaking/CreakingTransient.mapping b/data/net/minecraft/world/entity/monster/creaking/CreakingTransient.mapping index e75181273..80f04918a 100644 --- a/data/net/minecraft/world/entity/monster/creaking/CreakingTransient.mapping +++ b/data/net/minecraft/world/entity/monster/creaking/CreakingTransient.mapping @@ -1,6 +1,8 @@ CLASS net/minecraft/world/entity/monster/creaking/CreakingTransient METHOD bindToCreakingHeart (Lnet/minecraft/core/BlockPos;)V ARG 1 homePos + METHOD creakingDeathEffects (Lnet/minecraft/world/damagesource/DamageSource;)V + ARG 1 damageSource METHOD tearDown (Lnet/minecraft/world/damagesource/DamageSource;)V ARG 1 damageSource CLASS CreakingPathNavigation diff --git a/data/net/minecraft/world/entity/player/Inventory.mapping b/data/net/minecraft/world/entity/player/Inventory.mapping index 9e179b466..5e65177a9 100644 --- a/data/net/minecraft/world/entity/player/Inventory.mapping +++ b/data/net/minecraft/world/entity/player/Inventory.mapping @@ -8,6 +8,8 @@ CLASS net/minecraft/world/entity/player/Inventory METHOD add (Lnet/minecraft/world/item/ItemStack;)Z COMMENT Adds the stack to the first empty slot in the player's inventory. Returns {@code false} if it's not possible to place the entire stack in the inventory. ARG 1 stack + METHOD addAndPickItem (Lnet/minecraft/world/item/ItemStack;)V + ARG 1 stack METHOD addResource (ILnet/minecraft/world/item/ItemStack;)I ARG 1 slot ARG 2 stack @@ -33,6 +35,9 @@ CLASS net/minecraft/world/entity/player/Inventory ARG 1 contents METHOD findSlotMatchingCraftingIngredient (Lnet/minecraft/core/Holder;)I ARG 1 ingredient + METHOD findSlotMatchingCraftingIngredient (Lnet/minecraft/core/Holder;Lnet/minecraft/world/item/ItemStack;)I + ARG 1 item + ARG 2 stack METHOD findSlotMatchingItem (Lnet/minecraft/world/item/ItemStack;)I COMMENT Finds the stack or an equivalent one in the main inventory ARG 1 stack diff --git a/data/net/minecraft/world/entity/player/Player.mapping b/data/net/minecraft/world/entity/player/Player.mapping index ab817fe03..83e75d261 100644 --- a/data/net/minecraft/world/entity/player/Player.mapping +++ b/data/net/minecraft/world/entity/player/Player.mapping @@ -246,6 +246,8 @@ CLASS net/minecraft/world/entity/player/Player ARG 4 villagerXp ARG 5 showProgress ARG 6 canRestock + METHOD setClientLoaded (Z)V + ARG 1 clientLoaded METHOD setEntityOnShoulder (Lnet/minecraft/nbt/CompoundTag;)Z ARG 1 entityCompound METHOD setIgnoreFallDamageFromCurrentImpulse (Z)V diff --git a/data/net/minecraft/world/entity/player/StackedContents.mapping b/data/net/minecraft/world/entity/player/StackedContents.mapping index 28de311d9..0c8be8128 100644 --- a/data/net/minecraft/world/entity/player/StackedContents.mapping +++ b/data/net/minecraft/world/entity/player/StackedContents.mapping @@ -2,6 +2,40 @@ CLASS net/minecraft/world/entity/player/StackedContents METHOD account (Ljava/lang/Object;I)V ARG 1 item ARG 2 amount + METHOD accountSimpleStack (Lnet/minecraft/world/item/ItemStack;)V + ARG 1 stack + METHOD accountStack (Lnet/minecraft/world/item/ItemStack;)V + ARG 1 stack + METHOD accountStack (Lnet/minecraft/world/item/ItemStack;I)V + ARG 1 stack + ARG 2 amount + METHOD anyIngredientMatches (Ljava/lang/Iterable;Ljava/lang/Object;)Z + ARG 0 ingredients + ARG 1 item + METHOD canCraft (Lnet/minecraft/world/item/crafting/Recipe;Lit/unimi/dsi/fastutil/ints/IntList;)Z + ARG 1 recipe + ARG 2 stackingIndexList + METHOD canCraft (Lnet/minecraft/world/item/crafting/Recipe;Lit/unimi/dsi/fastutil/ints/IntList;I)Z + ARG 1 recipe + ARG 2 stackingIndexList + ARG 3 amount + METHOD fromStackingIndex (I)Lnet/minecraft/world/item/ItemStack; + ARG 0 stackingIndex + METHOD getBiggestCraftableStack (Lnet/minecraft/world/item/crafting/RecipeHolder;ILit/unimi/dsi/fastutil/ints/IntList;)I + ARG 1 recipe + ARG 2 amount + ARG 3 stackingIndexList + METHOD getBiggestCraftableStack (Lnet/minecraft/world/item/crafting/RecipeHolder;Lit/unimi/dsi/fastutil/ints/IntList;)I + ARG 1 recipe + ARG 2 stackingIndexList + METHOD getResultUpperBound (Ljava/util/List;)I + ARG 1 ingredients + METHOD getStackingIndex (Lnet/minecraft/world/item/ItemStack;)I + ARG 0 stack + METHOD getUniqueAvailableIngredientItems (Ljava/lang/Iterable;)Ljava/util/List; + ARG 1 ingredients + METHOD has (I)Z + ARG 1 stackingIndex METHOD hasAnyAmount (Ljava/lang/Object;)Z ARG 1 item METHOD hasAtLeast (Ljava/lang/Object;I)Z @@ -84,3 +118,5 @@ CLASS net/minecraft/world/entity/player/StackedContents CLASS IngredientInfo METHOD (Ljava/util/List;)V ARG 1 allowedItems + METHOD acceptsItem (Ljava/lang/Object;)Z + ARG 1 item diff --git a/data/net/minecraft/world/entity/projectile/AbstractArrow.mapping b/data/net/minecraft/world/entity/projectile/AbstractArrow.mapping index bafa70e65..c8bb3f008 100644 --- a/data/net/minecraft/world/entity/projectile/AbstractArrow.mapping +++ b/data/net/minecraft/world/entity/projectile/AbstractArrow.mapping @@ -17,6 +17,10 @@ CLASS net/minecraft/world/entity/projectile/AbstractArrow ARG 1 compound METHOD addBubbleParticles (Lnet/minecraft/world/phys/Vec3;)V ARG 1 pos + METHOD addBubblePatricles (Lnet/minecraft/world/phys/Vec3;)V + ARG 1 pos + METHOD applyInertia (F)V + ARG 1 intertia METHOD doKnockback (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/damagesource/DamageSource;)V ARG 1 entity ARG 2 damageSource diff --git a/data/net/minecraft/world/entity/raid/Raider.mapping b/data/net/minecraft/world/entity/raid/Raider.mapping index ad282acb8..c024298e9 100644 --- a/data/net/minecraft/world/entity/raid/Raider.mapping +++ b/data/net/minecraft/world/entity/raid/Raider.mapping @@ -37,6 +37,9 @@ CLASS net/minecraft/world/entity/raid/Raider METHOD tick ()V COMMENT Keep ticking a continuous task that has already been started CLASS HoldGroundAttackGoal + METHOD (Lnet/minecraft/world/entity/monster/AbstractIllager;F)V + ARG 1 mob + ARG 2 radius METHOD (Lnet/minecraft/world/entity/raid/Raider;Lnet/minecraft/world/entity/monster/AbstractIllager;F)V ARG 2 mob ARG 3 hostileRadiusSquare @@ -66,6 +69,8 @@ CLASS net/minecraft/world/entity/raid/Raider COMMENT Returns whether execution should begin. You can also read and cache any state necessary for execution in this method as well. METHOD hasNotVisited (Lnet/minecraft/core/BlockPos;)Z ARG 1 pos + METHOD lambda$hasSuitablePoi$0 (Lnet/minecraft/core/Holder;)Z + ARG 0 poi METHOD start ()V COMMENT Execute a one shot task or start executing a continuous task METHOD stop ()V diff --git a/data/net/minecraft/world/item/BlockItem.mapping b/data/net/minecraft/world/item/BlockItem.mapping index 74ccd624a..1b08eaab3 100644 --- a/data/net/minecraft/world/item/BlockItem.mapping +++ b/data/net/minecraft/world/item/BlockItem.mapping @@ -5,6 +5,11 @@ CLASS net/minecraft/world/item/BlockItem METHOD canPlace (Lnet/minecraft/world/item/context/BlockPlaceContext;Lnet/minecraft/world/level/block/state/BlockState;)Z ARG 1 context ARG 2 state + METHOD getBlockEntityType (Lnet/minecraft/core/HolderLookup$Provider;Lnet/minecraft/world/item/component/CustomData;)Lnet/minecraft/world/level/block/entity/BlockEntityType; + ARG 0 registries + ARG 1 customData + METHOD getDescriptionId ()Ljava/lang/String; + COMMENT Returns the unlocalized name of this item. METHOD getPlaceSound (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/sounds/SoundEvent; ARG 1 state METHOD getPlacementState (Lnet/minecraft/world/item/context/BlockPlaceContext;)Lnet/minecraft/world/level/block/state/BlockState; @@ -21,6 +26,9 @@ CLASS net/minecraft/world/item/BlockItem ARG 0 stack ARG 1 blockEntityType ARG 2 blockEntityData + METHOD shouldPrintOpWarning (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;)Z + ARG 0 stack + ARG 1 player METHOD updateBlockEntityComponents (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/item/ItemStack;)V ARG 0 level ARG 1 poa diff --git a/data/net/minecraft/world/item/BundleItem.mapping b/data/net/minecraft/world/item/BundleItem.mapping index 250b0b83e..263554ddd 100644 --- a/data/net/minecraft/world/item/BundleItem.mapping +++ b/data/net/minecraft/world/item/BundleItem.mapping @@ -26,6 +26,8 @@ CLASS net/minecraft/world/item/BundleItem ARG 0 bundle METHOD lambda$getAllBundleItemColors$0 (Lnet/minecraft/world/item/Item;)Lnet/minecraft/world/item/BundleItem; ARG 0 item + METHOD playDropContentsSound (Lnet/minecraft/world/entity/Entity;)V + ARG 0 entity METHOD playDropContentsSound (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;)V ARG 0 level ARG 1 entity diff --git a/data/net/minecraft/world/item/CrossbowItem.mapping b/data/net/minecraft/world/item/CrossbowItem.mapping index 1d18d82e3..631e79436 100644 --- a/data/net/minecraft/world/item/CrossbowItem.mapping +++ b/data/net/minecraft/world/item/CrossbowItem.mapping @@ -51,6 +51,14 @@ CLASS net/minecraft/world/item/CrossbowItem METHOD tryLoadProjectiles (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/item/ItemStack;)Z ARG 0 shooter ARG 1 crossbowStack + METHOD use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResultHolder; + COMMENT Called to trigger the item's "innate" right click behavior. To handle when this item is used on a Block, see {@link #onItemUse}. + ARG 1 level + ARG 2 player + ARG 3 hand + CLASS ChargeType + METHOD (Ljava/lang/String;ILjava/lang/String;)V + ARG 3 name CLASS ChargingSounds METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance diff --git a/data/net/minecraft/world/item/DyeColor.mapping b/data/net/minecraft/world/item/DyeColor.mapping index 68f9a7705..b93ca896e 100644 --- a/data/net/minecraft/world/item/DyeColor.mapping +++ b/data/net/minecraft/world/item/DyeColor.mapping @@ -13,7 +13,14 @@ CLASS net/minecraft/world/item/DyeColor METHOD byName (Ljava/lang/String;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/DyeColor; ARG 0 translationKey ARG 1 fallback + METHOD getMixedColor (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/DyeColor; + ARG 0 level + ARG 1 first + ARG 2 second METHOD lambda$static$0 (Lnet/minecraft/world/item/DyeColor;)Ljava/lang/Integer; ARG 0 dyeColor METHOD lambda$static$1 (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/DyeColor; ARG 0 dyeColor + METHOD makeCraftColorInput (Lnet/minecraft/world/item/DyeColor;Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/world/item/crafting/CraftingInput; + ARG 0 first + ARG 1 second diff --git a/data/net/minecraft/world/item/Item.mapping b/data/net/minecraft/world/item/Item.mapping index 183ee9f38..98c79d81d 100644 --- a/data/net/minecraft/world/item/Item.mapping +++ b/data/net/minecraft/world/item/Item.mapping @@ -122,6 +122,9 @@ CLASS net/minecraft/world/item/Item ARG 2 level ARG 3 entity ARG 4 timeLeft + METHOD shouldPrintOpWarning (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/player/Player;)Z + ARG 1 stack + ARG 2 player METHOD use (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/InteractionHand;)Lnet/minecraft/world/InteractionResult; ARG 1 level ARG 2 player @@ -160,6 +163,10 @@ CLASS net/minecraft/world/item/Item ARG 2 consumable METHOD jukeboxPlayable (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/world/item/Item$Properties; ARG 1 song + METHOD lambda$static$0 (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/String; + ARG 0 key + METHOD lambda$static$1 (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/String; + ARG 0 key METHOD overrideDescription (Ljava/lang/String;)Lnet/minecraft/world/item/Item$Properties; ARG 1 description METHOD overrideModel (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/item/Item$Properties; @@ -187,3 +194,6 @@ CLASS net/minecraft/world/item/Item ARG 0 registries METHOD of (Lnet/minecraft/world/level/Level;)Lnet/minecraft/world/item/Item$TooltipContext; ARG 0 level + METHOD of (Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/player/Player;)Lnet/minecraft/world/item/Item$TooltipContext; + ARG 0 level + ARG 1 player diff --git a/data/net/minecraft/world/item/ItemStack.mapping b/data/net/minecraft/world/item/ItemStack.mapping index 3922e6867..584c06c32 100644 --- a/data/net/minecraft/world/item/ItemStack.mapping +++ b/data/net/minecraft/world/item/ItemStack.mapping @@ -98,6 +98,8 @@ CLASS net/minecraft/world/item/ItemStack ARG 1 entity METHOD grow (I)V ARG 1 increment + METHOD hasNonDefault (Lnet/minecraft/core/component/DataComponentType;)Z + ARG 1 component METHOD hashItemAndComponents (Lnet/minecraft/world/item/ItemStack;)I ARG 0 stack METHOD hashStackList (Ljava/util/List;)I @@ -167,6 +169,47 @@ CLASS net/minecraft/world/item/ItemStack COMMENT Returns {@code true} if the {@code ItemStack} can hold 2 or more units of the item. METHOD isValidRepairItem (Lnet/minecraft/world/item/ItemStack;)Z ARG 1 item + METHOD lambda$addAttributeTooltips$18 (Lorg/apache/commons/lang3/mutable/MutableBoolean;Ljava/util/function/Consumer;Lnet/minecraft/world/entity/EquipmentSlotGroup;Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/core/Holder;Lnet/minecraft/world/entity/ai/attributes/AttributeModifier;)V + ARG 5 attribute + ARG 6 modifier + METHOD lambda$enchant$19 (Lnet/minecraft/core/Holder;ILnet/minecraft/world/item/enchantment/ItemEnchantments$Mutable;)V + ARG 2 enchantments + METHOD lambda$getDisplayName$20 (Lnet/minecraft/network/chat/Style;)Lnet/minecraft/network/chat/Style; + ARG 1 style + METHOD lambda$hurtAndBreak$15 (Lnet/minecraft/world/entity/LivingEntity;Lnet/minecraft/world/entity/EquipmentSlot;Lnet/minecraft/world/item/Item;)V + ARG 2 item + METHOD lambda$hurtWithoutBreaking$14 (Lnet/minecraft/world/item/Item;)V + ARG 0 item + METHOD lambda$lenientOptionalFieldOf$16 (Ljava/util/Optional;)Lnet/minecraft/world/item/ItemStack; + ARG 0 optional + METHOD lambda$lenientOptionalFieldOf$17 (Lnet/minecraft/world/item/ItemStack;)Ljava/util/Optional; + ARG 0 stack + METHOD lambda$parse$13 (Ljava/lang/String;)V + ARG 0 itemId + METHOD lambda$static$0 (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/core/component/DataComponentPatch; + ARG 0 stack + METHOD lambda$static$1 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$1 (Lnet/minecraft/core/Holder;)Lcom/mojang/serialization/DataResult; + ARG 0 item + METHOD lambda$static$10 (Lnet/minecraft/world/item/ItemStack;)Ljava/util/Optional; + ARG 0 stack + METHOD lambda$static$3 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$3 (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/core/component/DataComponentPatch; + ARG 0 stack + METHOD lambda$static$4 (Lnet/minecraft/core/Holder;Lnet/minecraft/core/component/DataComponentPatch;)Lnet/minecraft/world/item/ItemStack; + ARG 0 item + ARG 1 components + METHOD lambda$static$5 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$6 (Lnet/minecraft/core/Holder;Lnet/minecraft/core/component/DataComponentPatch;)Lnet/minecraft/world/item/ItemStack; + ARG 0 item + ARG 1 components + METHOD lambda$static$7 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$static$9 (Ljava/util/Optional;)Lnet/minecraft/world/item/ItemStack; + ARG 0 optional METHOD lenientOptionalFieldOf (Ljava/lang/String;)Lcom/mojang/serialization/MapCodec; ARG 0 fieldName METHOD limitSize (I)V diff --git a/data/net/minecraft/world/item/SpawnEggItem.mapping b/data/net/minecraft/world/item/SpawnEggItem.mapping index c5699bcf0..5eed933cc 100644 --- a/data/net/minecraft/world/item/SpawnEggItem.mapping +++ b/data/net/minecraft/world/item/SpawnEggItem.mapping @@ -4,10 +4,16 @@ CLASS net/minecraft/world/item/SpawnEggItem ARG 2 backgroundColor ARG 3 highlightColor ARG 4 properties + METHOD (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/item/Item$Properties;)V + ARG 1 defaultType + ARG 2 properties METHOD byId (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/item/SpawnEggItem; ARG 0 type METHOD getColor (I)I ARG 1 tintIndex + METHOD getType (Lnet/minecraft/core/HolderLookup$Provider;Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/EntityType; + ARG 1 registries + ARG 2 provider METHOD getType (Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/entity/EntityType; ARG 1 stack METHOD spawnOffspringFromSpawnEgg (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/entity/Mob;Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/phys/Vec3;Lnet/minecraft/world/item/ItemStack;)Ljava/util/Optional; @@ -17,6 +23,10 @@ CLASS net/minecraft/world/item/SpawnEggItem ARG 4 serverLevel ARG 5 pos ARG 6 stack + METHOD spawnsEntity (Lnet/minecraft/core/HolderLookup$Provider;Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/EntityType;)Z + ARG 1 registries + ARG 2 stack + ARG 3 entityType METHOD spawnsEntity (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/world/entity/EntityType;)Z ARG 1 stack ARG 2 entityType diff --git a/data/net/minecraft/world/item/alchemy/PotionContents.mapping b/data/net/minecraft/world/item/alchemy/PotionContents.mapping index 372d4ed6f..decc7b095 100644 --- a/data/net/minecraft/world/item/alchemy/PotionContents.mapping +++ b/data/net/minecraft/world/item/alchemy/PotionContents.mapping @@ -23,6 +23,8 @@ CLASS net/minecraft/world/item/alchemy/PotionContents ARG 0 potion METHOD getColorOptional (Ljava/lang/Iterable;)Ljava/util/OptionalInt; ARG 0 effects + METHOD getColorOr (I)I + ARG 1 defaultValue METHOD getName (Ljava/lang/String;)Lnet/minecraft/network/chat/Component; ARG 1 name METHOD is (Lnet/minecraft/core/Holder;)Z diff --git a/data/net/minecraft/world/item/component/CustomData.mapping b/data/net/minecraft/world/item/component/CustomData.mapping index 6fc8a8cb6..50ee87397 100644 --- a/data/net/minecraft/world/item/component/CustomData.mapping +++ b/data/net/minecraft/world/item/component/CustomData.mapping @@ -8,6 +8,12 @@ CLASS net/minecraft/world/item/component/CustomData METHOD itemMatcher (Lnet/minecraft/core/component/DataComponentType;Lnet/minecraft/nbt/CompoundTag;)Ljava/util/function/Predicate; ARG 0 componentType ARG 1 tag + METHOD lambda$itemMatcher$4 (Lnet/minecraft/core/component/DataComponentType;Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/item/ItemStack;)Z + ARG 2 stack + METHOD lambda$static$2 (Lnet/minecraft/world/item/component/CustomData;)Lcom/mojang/serialization/DataResult; + ARG 0 data + METHOD lambda$static$3 (Lnet/minecraft/world/item/component/CustomData;)Lnet/minecraft/nbt/CompoundTag; + ARG 0 data METHOD loadInto (Lnet/minecraft/world/entity/Entity;)V ARG 1 entity METHOD loadInto (Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/core/HolderLookup$Provider;)Z @@ -17,6 +23,9 @@ CLASS net/minecraft/world/item/component/CustomData ARG 1 tag METHOD of (Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/world/item/component/CustomData; ARG 0 tag + METHOD parseEntityType (Lnet/minecraft/core/HolderLookup$Provider;Lnet/minecraft/resources/ResourceKey;)Ljava/lang/Object; + ARG 1 registries + ARG 2 registryKey METHOD read (Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/MapDecoder;)Lcom/mojang/serialization/DataResult; ARG 1 ops ARG 2 decoder diff --git a/data/net/minecraft/world/item/component/CustomModelData.mapping b/data/net/minecraft/world/item/component/CustomModelData.mapping new file mode 100644 index 000000000..9a790ea7f --- /dev/null +++ b/data/net/minecraft/world/item/component/CustomModelData.mapping @@ -0,0 +1,14 @@ +CLASS net/minecraft/world/item/component/CustomModelData + METHOD getBoolean (I)Ljava/lang/Boolean; + ARG 1 index + METHOD getColor (I)Ljava/lang/Integer; + ARG 1 index + METHOD getFloat (I)Ljava/lang/Float; + ARG 1 index + METHOD getSafe (Ljava/util/List;I)Ljava/lang/Object; + ARG 0 values + ARG 1 index + METHOD getString (I)Ljava/lang/String; + ARG 1 index + METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/world/item/crafting/PlacementInfo.mapping b/data/net/minecraft/world/item/crafting/PlacementInfo.mapping index 8b45634c3..3d853107a 100644 --- a/data/net/minecraft/world/item/crafting/PlacementInfo.mapping +++ b/data/net/minecraft/world/item/crafting/PlacementInfo.mapping @@ -1,4 +1,10 @@ CLASS net/minecraft/world/item/crafting/PlacementInfo + METHOD (Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;)V + ARG 1 ingredients + ARG 2 slotsToIngredientIndex + METHOD (Ljava/util/List;Ljava/util/List;)V + ARG 1 stackedIngredients + ARG 2 slotInfo METHOD (Ljava/util/List;Ljava/util/List;Ljava/util/List;)V ARG 1 ingredients ARG 2 unpackedIngredients diff --git a/data/net/minecraft/world/item/equipment/EquipmentAssets.mapping b/data/net/minecraft/world/item/equipment/EquipmentAssets.mapping new file mode 100644 index 000000000..f4881c90c --- /dev/null +++ b/data/net/minecraft/world/item/equipment/EquipmentAssets.mapping @@ -0,0 +1,5 @@ +CLASS net/minecraft/world/item/equipment/EquipmentAssets + METHOD createId (Ljava/lang/String;)Lnet/minecraft/resources/ResourceKey; + ARG 0 name + METHOD lambda$static$0 (Lnet/minecraft/world/item/DyeColor;)Lnet/minecraft/resources/ResourceKey; + ARG 0 color diff --git a/data/net/minecraft/world/item/equipment/Equippable.mapping b/data/net/minecraft/world/item/equipment/Equippable.mapping index 5da957ca9..78ce108ff 100644 --- a/data/net/minecraft/world/item/equipment/Equippable.mapping +++ b/data/net/minecraft/world/item/equipment/Equippable.mapping @@ -17,6 +17,8 @@ CLASS net/minecraft/world/item/equipment/Equippable ARG 1 allowedEntities METHOD setAllowedEntities ([Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/item/equipment/Equippable$Builder; ARG 1 allowedEntities + METHOD setAsset (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/world/item/equipment/Equippable$Builder; + ARG 1 asset METHOD setCameraOverlay (Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/world/item/equipment/Equippable$Builder; ARG 1 cameraOverlay METHOD setDamageOnHurt (Z)Lnet/minecraft/world/item/equipment/Equippable$Builder; diff --git a/data/net/minecraft/world/item/equipment/trim/TrimMaterial.mapping b/data/net/minecraft/world/item/equipment/trim/TrimMaterial.mapping index e9147c12e..9a882c63e 100644 --- a/data/net/minecraft/world/item/equipment/trim/TrimMaterial.mapping +++ b/data/net/minecraft/world/item/equipment/trim/TrimMaterial.mapping @@ -5,5 +5,10 @@ CLASS net/minecraft/world/item/equipment/trim/TrimMaterial ARG 2 itemModelIndex ARG 3 description ARG 4 overrideArmorMaterials + METHOD create (Ljava/lang/String;Lnet/minecraft/world/item/Item;Lnet/minecraft/network/chat/Component;Ljava/util/Map;)Lnet/minecraft/world/item/equipment/trim/TrimMaterial; + ARG 0 assetName + ARG 1 ingredient + ARG 2 description + ARG 3 overrideArmorAssets METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance diff --git a/data/net/minecraft/world/item/equipment/trim/TrimMaterials.mapping b/data/net/minecraft/world/item/equipment/trim/TrimMaterials.mapping index b56eb9504..683016e7f 100644 --- a/data/net/minecraft/world/item/equipment/trim/TrimMaterials.mapping +++ b/data/net/minecraft/world/item/equipment/trim/TrimMaterials.mapping @@ -4,6 +4,11 @@ CLASS net/minecraft/world/item/equipment/trim/TrimMaterials METHOD getFromIngredient (Lnet/minecraft/core/HolderLookup$Provider;Lnet/minecraft/world/item/ItemStack;)Ljava/util/Optional; ARG 0 registries ARG 1 ingredient + METHOD register (Lnet/minecraft/data/worldgen/BootstrapContext;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/item/Item;Lnet/minecraft/network/chat/Style;)V + ARG 0 context + ARG 1 materialKey + ARG 2 ingredient + ARG 3 style METHOD register (Lnet/minecraft/data/worldgen/BootstrapContext;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/item/Item;Lnet/minecraft/network/chat/Style;F)V ARG 0 context ARG 1 key @@ -17,5 +22,11 @@ CLASS net/minecraft/world/item/equipment/trim/TrimMaterials ARG 3 style ARG 4 itemModelIndex ARG 5 overrideArmorMaterials + METHOD register (Lnet/minecraft/data/worldgen/BootstrapContext;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/world/item/Item;Lnet/minecraft/network/chat/Style;Ljava/util/Map;)V + ARG 0 context + ARG 1 materialKey + ARG 2 ingredient + ARG 3 style + ARG 4 overrideArmorMaterials METHOD registryKey (Ljava/lang/String;)Lnet/minecraft/resources/ResourceKey; ARG 0 name diff --git a/data/net/minecraft/world/item/trading/Merchant.mapping b/data/net/minecraft/world/item/trading/Merchant.mapping index e69b79a5a..463c88164 100644 --- a/data/net/minecraft/world/item/trading/Merchant.mapping +++ b/data/net/minecraft/world/item/trading/Merchant.mapping @@ -18,3 +18,5 @@ CLASS net/minecraft/world/item/trading/Merchant ARG 1 xp METHOD setTradingPlayer (Lnet/minecraft/world/entity/player/Player;)V ARG 1 tradingPlayer + METHOD stillValid (Lnet/minecraft/world/entity/player/Player;)Z + ARG 1 player diff --git a/data/net/minecraft/world/level/GameRules.mapping b/data/net/minecraft/world/level/GameRules.mapping index 63bd84f12..aa60687a1 100644 --- a/data/net/minecraft/world/level/GameRules.mapping +++ b/data/net/minecraft/world/level/GameRules.mapping @@ -30,6 +30,14 @@ CLASS net/minecraft/world/level/GameRules ARG 1 key METHOD getRule (Lnet/minecraft/world/level/GameRules$Key;)Lnet/minecraft/world/level/GameRules$Value; ARG 1 key + METHOD lambda$assignFrom$12 (Lnet/minecraft/world/level/GameRules;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/level/GameRules$Key;)V + ARG 3 key + METHOD lambda$createTag$8 (Lnet/minecraft/nbt/CompoundTag;Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Value;)V + ARG 1 key + ARG 2 value + METHOD lambda$loadFromTag$9 (Lcom/mojang/serialization/DynamicLike;Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Value;)V + ARG 1 key + ARG 2 value METHOD lambda$static$0 (Lnet/minecraft/world/level/GameRules$Key;)Ljava/lang/String; ARG 0 entry METHOD lambda$static$1 (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/level/GameRules$BooleanValue;)V @@ -47,6 +55,9 @@ CLASS net/minecraft/world/level/GameRules METHOD lambda$static$5 (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/world/level/GameRules$IntegerValue;)V ARG 0 server ARG 1 value + METHOD lambda$visitGameRuleTypes$11 (Lnet/minecraft/world/level/GameRules$GameRuleTypeVisitor;Lnet/minecraft/world/level/GameRules$Key;Lnet/minecraft/world/level/GameRules$Type;)V + ARG 2 key + ARG 3 type METHOD loadFromTag (Lcom/mojang/serialization/DynamicLike;)V ARG 1 dynamic METHOD register (Ljava/lang/String;Lnet/minecraft/world/level/GameRules$Category;Lnet/minecraft/world/level/GameRules$Type;)Lnet/minecraft/world/level/GameRules$Key; diff --git a/data/net/minecraft/world/level/Level.mapping b/data/net/minecraft/world/level/Level.mapping index 8a9299ae5..9034f2946 100644 --- a/data/net/minecraft/world/level/Level.mapping +++ b/data/net/minecraft/world/level/Level.mapping @@ -11,7 +11,7 @@ CLASS net/minecraft/world/level/Level ARG 7 biomeZoomSeed ARG 9 maxChainedNeighborUpdates METHOD addAlwaysVisibleParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V - ARG 1 particleData + ARG 1 particle ARG 2 x ARG 4 y ARG 6 z @@ -19,7 +19,7 @@ CLASS net/minecraft/world/level/Level ARG 10 ySpeed ARG 12 zSpeed METHOD addAlwaysVisibleParticle (Lnet/minecraft/core/particles/ParticleOptions;ZDDDDDD)V - ARG 1 particleData + ARG 1 particle ARG 2 ignoreRange ARG 3 x ARG 5 y @@ -49,6 +49,16 @@ CLASS net/minecraft/world/level/Level ARG 9 xSpeed ARG 11 ySpeed ARG 13 zSpeed + METHOD addParticle (Lnet/minecraft/core/particles/ParticleOptions;ZZDDDDDD)V + ARG 1 particle + ARG 2 overrideLimiter + ARG 3 alwaysShow + ARG 4 x + ARG 6 y + ARG 8 z + ARG 10 xSpeed + ARG 12 ySpeed + ARG 14 zSpeed METHOD blockEntityChanged (Lnet/minecraft/core/BlockPos;)V ARG 1 pos METHOD blockEvent (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;II)V @@ -186,7 +196,7 @@ CLASS net/minecraft/world/level/Level ARG 1 partialTick METHOD getSunAngle (F)F COMMENT Return getCelestialAngle()*2*PI - ARG 1 partialTicks + ARG 1 partialTick METHOD getThunderLevel (F)F ARG 1 partialTick METHOD globalLevelEvent (ILnet/minecraft/core/BlockPos;I)V @@ -219,6 +229,8 @@ CLASS net/minecraft/world/level/Level ARG 2 state METHOD isThundering ()Z COMMENT Returns {@code true} if the current thunder strength (weighted with the rain strength) is greater than 0.9 + METHOD lambda$getEntities$1 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/world/level/entity/EntityTypeTest;Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/util/AbortableIterationConsumer$Continuation; + ARG 4 entity METHOD loadedAndEntityCanStandOn (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/entity/Entity;)Z ARG 1 pos ARG 2 entity diff --git a/data/net/minecraft/world/level/LevelAccessor.mapping b/data/net/minecraft/world/level/LevelAccessor.mapping index 60e97093e..397cfa90f 100644 --- a/data/net/minecraft/world/level/LevelAccessor.mapping +++ b/data/net/minecraft/world/level/LevelAccessor.mapping @@ -1,6 +1,6 @@ CLASS net/minecraft/world/level/LevelAccessor METHOD addParticle (Lnet/minecraft/core/particles/ParticleOptions;DDDDDD)V - ARG 1 particleData + ARG 1 particle ARG 2 x ARG 4 y ARG 6 z diff --git a/data/net/minecraft/world/level/biome/BiomeSpecialEffects.mapping b/data/net/minecraft/world/level/biome/BiomeSpecialEffects.mapping index 6d0a9d19f..fd71e8fed 100644 --- a/data/net/minecraft/world/level/biome/BiomeSpecialEffects.mapping +++ b/data/net/minecraft/world/level/biome/BiomeSpecialEffects.mapping @@ -12,6 +12,20 @@ CLASS net/minecraft/world/level/biome/BiomeSpecialEffects ARG 10 ambientMoodSettings ARG 11 ambientAdditionsSettings ARG 12 backgroundMusic + METHOD (IIIILjava/util/Optional;Ljava/util/Optional;Lnet/minecraft/world/level/biome/BiomeSpecialEffects$GrassColorModifier;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;F)V + ARG 1 fogColor + ARG 2 waterColor + ARG 3 waterFogColor + ARG 4 skyColor + ARG 5 foliageColorOverride + ARG 6 grassColorOverride + ARG 7 grassColorModifier + ARG 8 ambientParticleSettings + ARG 9 ambientLoopSoundEvent + ARG 10 ambientMoodSettings + ARG 11 ambientAdditionsSettings + ARG 12 backgroundMusic + ARG 13 backgroundMusicVolume METHOD lambda$static$0 (Lnet/minecraft/world/level/biome/BiomeSpecialEffects;)Ljava/lang/Integer; ARG 0 effects METHOD lambda$static$1 (Lnet/minecraft/world/level/biome/BiomeSpecialEffects;)Ljava/lang/Integer; @@ -22,6 +36,10 @@ CLASS net/minecraft/world/level/biome/BiomeSpecialEffects ARG 0 effects METHOD lambda$static$12 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD lambda$static$12 (Lnet/minecraft/world/level/biome/BiomeSpecialEffects;)Ljava/lang/Float; + ARG 0 effects + METHOD lambda$static$13 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance METHOD lambda$static$2 (Lnet/minecraft/world/level/biome/BiomeSpecialEffects;)Ljava/lang/Integer; ARG 0 effects METHOD lambda$static$3 (Lnet/minecraft/world/level/biome/BiomeSpecialEffects;)Ljava/lang/Integer; @@ -49,6 +67,10 @@ CLASS net/minecraft/world/level/biome/BiomeSpecialEffects ARG 1 ambientParticle METHOD backgroundMusic (Lnet/minecraft/sounds/Music;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; ARG 1 backgroundMusic + METHOD backgroundMusic (Lnet/minecraft/util/random/SimpleWeightedRandomList;)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; + ARG 1 backgroundMusic + METHOD backgroundMusicVolume (F)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; + ARG 1 backgroundMusicVolume METHOD fogColor (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; ARG 1 fogColor METHOD foliageColorOverride (I)Lnet/minecraft/world/level/biome/BiomeSpecialEffects$Builder; diff --git a/data/net/minecraft/world/level/block/CreakingHeartBlock.mapping b/data/net/minecraft/world/level/block/CreakingHeartBlock.mapping index f6f9ead2c..932131336 100644 --- a/data/net/minecraft/world/level/block/CreakingHeartBlock.mapping +++ b/data/net/minecraft/world/level/block/CreakingHeartBlock.mapping @@ -5,9 +5,20 @@ CLASS net/minecraft/world/level/block/CreakingHeartBlock ARG 0 state ARG 1 level ARG 2 pos + METHOD isNaturalNight (Lnet/minecraft/world/level/Level;)Z + ARG 0 level METHOD isSurroundedByLogs (Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;)Z ARG 0 level ARG 1 pos + METHOD tryAwardExperience (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V + ARG 1 player + ARG 2 state + ARG 3 level + ARG 4 pos + METHOD tryAwardExperience (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)V + ARG 1 state + ARG 2 level + ARG 3 pos METHOD updateState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; ARG 0 state ARG 1 level diff --git a/data/net/minecraft/world/level/block/EyeblossomBlock.mapping b/data/net/minecraft/world/level/block/EyeblossomBlock.mapping new file mode 100644 index 000000000..80e370838 --- /dev/null +++ b/data/net/minecraft/world/level/block/EyeblossomBlock.mapping @@ -0,0 +1,30 @@ +CLASS net/minecraft/world/level/block/EyeblossomBlock + METHOD (Lnet/minecraft/world/level/block/EyeblossomBlock$Type;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V + ARG 1 type + ARG 2 properties + METHOD (ZLnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V + ARG 1 open + ARG 2 properties + METHOD lambda$static$1 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance + METHOD lambda$tryChangingState$2 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;Lnet/minecraft/util/RandomSource;Lnet/minecraft/core/BlockPos;)V + ARG 4 checkPos + METHOD tryChangingState (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/util/RandomSource;)Z + ARG 1 state + ARG 2 level + ARG 3 pos + ARG 4 random + CLASS Type + METHOD (Ljava/lang/String;IZLnet/minecraft/core/Holder;FLnet/minecraft/sounds/SoundEvent;Lnet/minecraft/sounds/SoundEvent;I)V + ARG 3 open + ARG 4 effect + ARG 5 effectDuration + ARG 6 longSwitchSound + ARG 7 shortSwitchSound + ARG 8 particleColor + METHOD fromBoolean (Z)Lnet/minecraft/world/level/block/EyeblossomBlock$Type; + ARG 0 open + METHOD spawnTransformParticle (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/util/RandomSource;)V + ARG 1 level + ARG 2 pos + ARG 3 random diff --git a/data/net/minecraft/world/level/block/FlowerPotBlock.mapping b/data/net/minecraft/world/level/block/FlowerPotBlock.mapping index 174909ca1..092f773aa 100644 --- a/data/net/minecraft/world/level/block/FlowerPotBlock.mapping +++ b/data/net/minecraft/world/level/block/FlowerPotBlock.mapping @@ -9,3 +9,12 @@ CLASS net/minecraft/world/level/block/FlowerPotBlock ARG 4 context METHOD lambda$static$1 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD opposite (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/block/state/BlockState; + ARG 1 state + METHOD updateShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/Direction;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/LevelAccessor;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/level/block/state/BlockState; + ARG 1 state + ARG 2 facing + ARG 3 facingState + ARG 4 level + ARG 5 currentPos + ARG 6 facingPos diff --git a/data/net/minecraft/world/level/block/MultifaceBlock.mapping b/data/net/minecraft/world/level/block/MultifaceBlock.mapping index 647f7bb8c..a7a955659 100644 --- a/data/net/minecraft/world/level/block/MultifaceBlock.mapping +++ b/data/net/minecraft/world/level/block/MultifaceBlock.mapping @@ -3,6 +3,10 @@ CLASS net/minecraft/world/level/block/MultifaceBlock ARG 0 state METHOD calculateMultifaceShape (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/phys/shapes/VoxelShape; ARG 0 state + METHOD canAttachTo (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/core/Direction;)Z + ARG 0 level + ARG 1 pos + ARG 2 direction METHOD canAttachTo (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/Direction;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Z ARG 0 level ARG 1 direction diff --git a/data/net/minecraft/world/level/block/ParticleLeavesBlock.mapping b/data/net/minecraft/world/level/block/ParticleLeavesBlock.mapping new file mode 100644 index 000000000..9f53c4049 --- /dev/null +++ b/data/net/minecraft/world/level/block/ParticleLeavesBlock.mapping @@ -0,0 +1,11 @@ +CLASS net/minecraft/world/level/block/ParticleLeavesBlock + METHOD (ILnet/minecraft/core/particles/ParticleOptions;Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties;)V + ARG 1 chance + ARG 2 particle + ARG 3 properties + METHOD lambda$static$0 (Lnet/minecraft/world/level/block/ParticleLeavesBlock;)Ljava/lang/Integer; + ARG 0 block + METHOD lambda$static$1 (Lnet/minecraft/world/level/block/ParticleLeavesBlock;)Lnet/minecraft/core/particles/ParticleOptions; + ARG 0 block + METHOD lambda$static$2 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance diff --git a/data/net/minecraft/world/level/block/entity/BeehiveBlockEntity.mapping b/data/net/minecraft/world/level/block/entity/BeehiveBlockEntity.mapping index 34ae5975e..b747d61b6 100644 --- a/data/net/minecraft/world/level/block/entity/BeehiveBlockEntity.mapping +++ b/data/net/minecraft/world/level/block/entity/BeehiveBlockEntity.mapping @@ -4,12 +4,16 @@ CLASS net/minecraft/world/level/block/entity/BeehiveBlockEntity ARG 2 blockState METHOD addOccupant (Lnet/minecraft/world/entity/Entity;)V ARG 1 occupant + METHOD addOccupant (Lnet/minecraft/world/entity/animal/Bee;)V + ARG 1 bee METHOD emptyAllLivingFromHive (Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeReleaseStatus;)V ARG 1 player ARG 2 state ARG 3 releaseStatus METHOD getHoneyLevel (Lnet/minecraft/world/level/block/state/BlockState;)I ARG 0 state + METHOD lambda$loadAdditional$3 (Ljava/util/List;)V + ARG 1 bees METHOD lambda$releaseAllOccupants$0 (Lnet/minecraft/world/level/block/state/BlockState;Ljava/util/List;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeReleaseStatus;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeData;)Z ARG 4 data METHOD releaseAllOccupants (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$BeeReleaseStatus;)Ljava/util/List; @@ -45,6 +49,8 @@ CLASS net/minecraft/world/level/block/entity/BeehiveBlockEntity METHOD createEntity (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/entity/Entity; ARG 1 level ARG 2 pos + METHOD lambda$createEntity$1 (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/entity/Entity; + ARG 0 entity METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance METHOD of (Lnet/minecraft/world/entity/Entity;)Lnet/minecraft/world/level/block/entity/BeehiveBlockEntity$Occupant; diff --git a/data/net/minecraft/world/level/block/entity/CreakingHeartBlockEntity.mapping b/data/net/minecraft/world/level/block/entity/CreakingHeartBlockEntity.mapping index ca9b72cdb..9ffd062b3 100644 --- a/data/net/minecraft/world/level/block/entity/CreakingHeartBlockEntity.mapping +++ b/data/net/minecraft/world/level/block/entity/CreakingHeartBlockEntity.mapping @@ -8,6 +8,19 @@ CLASS net/minecraft/world/level/block/entity/CreakingHeartBlockEntity ARG 3 reverseDirection METHOD isProtector (Lnet/minecraft/world/entity/monster/creaking/Creaking;)Z ARG 1 creaking + METHOD lambda$creakingHurt$2 (Lnet/minecraft/core/BlockPos;)V + ARG 1 pos + METHOD lambda$distanceToCreaking$1 (Lnet/minecraft/world/entity/monster/creaking/Creaking;)Ljava/lang/Double; + ARG 1 creaking + METHOD lambda$saveAdditional$6 (Ljava/util/UUID;)Ljava/util/UUID; + ARG 0 uuid + METHOD lambda$serverTick$0 (Lnet/minecraft/world/level/block/entity/CreakingHeartBlockEntity;Lnet/minecraft/world/entity/monster/creaking/Creaking;)V + ARG 1 creaking + METHOD lambda$spreadResin$3 (Lnet/minecraft/core/BlockPos;Ljava/util/function/Consumer;)V + ARG 1 pos + ARG 2 output + METHOD lambda$spreadResin$4 (Lorg/apache/commons/lang3/mutable/Mutable;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/core/BlockPos$TraversalNodeStatus; + ARG 2 pos METHOD removeProtector (Lnet/minecraft/world/damagesource/DamageSource;)V ARG 1 damageSource METHOD serverTick (Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/entity/CreakingHeartBlockEntity;)V @@ -15,6 +28,13 @@ CLASS net/minecraft/world/level/block/entity/CreakingHeartBlockEntity ARG 1 pos ARG 2 state ARG 3 creakingHeart + METHOD setCreakingInfo (Ljava/util/UUID;)V + ARG 1 creakingUuid + METHOD setCreakingInfo (Lnet/minecraft/world/entity/monster/creaking/Creaking;)V + ARG 1 creaking + METHOD spawnProtector (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/block/entity/CreakingHeartBlockEntity;)Lnet/minecraft/world/entity/monster/creaking/Creaking; + ARG 0 level + ARG 1 creakingHeart METHOD spawnProtector (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/world/level/block/entity/CreakingHeartBlockEntity;)Lnet/minecraft/world/entity/monster/creaking/CreakingTransient; ARG 0 level ARG 1 creakingHeart diff --git a/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawner.mapping b/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawner.mapping index 56aa49bd0..1f838e87f 100644 --- a/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawner.mapping +++ b/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawner.mapping @@ -48,6 +48,9 @@ CLASS net/minecraft/world/level/block/entity/trialspawner/TrialSpawner ARG 1 instance METHOD lambda$tickServer$5 (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Ljava/util/UUID;)Z ARG 2 uuid + METHOD overrideEntityToSpawn (Lnet/minecraft/world/entity/EntityType;Lnet/minecraft/world/level/Level;)V + ARG 1 entityType + ARG 2 level METHOD removeOminous (Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;)V ARG 1 level ARG 2 pos diff --git a/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig.mapping b/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig.mapping index bd3f9b2b3..a5c362121 100644 --- a/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig.mapping +++ b/data/net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig.mapping @@ -5,6 +5,8 @@ CLASS net/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig ARG 1 players METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD withSpawning (Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig; + ARG 1 entityType CLASS Builder METHOD itemsToDropWhenOminous (Lnet/minecraft/resources/ResourceKey;)Lnet/minecraft/world/level/block/entity/trialspawner/TrialSpawnerConfig$Builder; ARG 1 itemsToDropWhenOminous diff --git a/data/net/minecraft/world/level/block/state/BlockBehaviour.mapping b/data/net/minecraft/world/level/block/state/BlockBehaviour.mapping index c979a4a42..7b150cad1 100644 --- a/data/net/minecraft/world/level/block/state/BlockBehaviour.mapping +++ b/data/net/minecraft/world/level/block/state/BlockBehaviour.mapping @@ -34,6 +34,15 @@ CLASS net/minecraft/world/level/block/state/BlockBehaviour ARG 1 state ARG 2 level ARG 3 pos + METHOD getCloneItemStack (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/item/ItemStack; + ARG 1 level + ARG 2 pos + ARG 3 state + METHOD getCloneItemStack (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Z)Lnet/minecraft/world/item/ItemStack; + ARG 1 level + ARG 2 pos + ARG 3 state + ARG 4 includeData METHOD getCollisionShape (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/phys/shapes/CollisionContext;)Lnet/minecraft/world/phys/shapes/VoxelShape; ARG 1 state ARG 2 level @@ -271,6 +280,8 @@ CLASS net/minecraft/world/level/block/state/BlockBehaviour ARG 1 state METHOD lambda$new$1 (Lnet/minecraft/world/level/block/state/BlockState;)Lnet/minecraft/world/level/material/MapColor; ARG 0 state + METHOD lambda$new$2 (Lnet/minecraft/world/level/block/state/BlockState;)I + ARG 0 state METHOD lambda$new$3 (Lnet/minecraft/resources/ResourceKey;)Ljava/util/Optional; ARG 0 key METHOD lambda$new$4 (Lnet/minecraft/resources/ResourceKey;)Ljava/lang/String; @@ -296,6 +307,12 @@ CLASS net/minecraft/world/level/block/state/BlockBehaviour ARG 0 state ARG 1 level ARG 2 pos + METHOD lambda$offsetType$12 (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/Vec3; + ARG 0 state + ARG 1 pos + METHOD lambda$offsetType$13 (Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/Vec3; + ARG 0 state + ARG 1 pos METHOD lightLevel (Ljava/util/function/ToIntFunction;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; ARG 1 lightEmission METHOD mapColor (Ljava/util/function/Function;)Lnet/minecraft/world/level/block/state/BlockBehaviour$Properties; @@ -368,6 +385,13 @@ CLASS net/minecraft/world/level/block/state/BlockBehaviour METHOD getBlockSupportShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; ARG 1 level ARG 2 pos + METHOD getCloneItemStack (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/item/ItemStack; + ARG 1 level + ARG 2 pos + METHOD getCloneItemStack (Lnet/minecraft/world/level/LevelReader;Lnet/minecraft/core/BlockPos;Z)Lnet/minecraft/world/item/ItemStack; + ARG 1 level + ARG 2 pos + ARG 3 includeData METHOD getCollisionShape (Lnet/minecraft/world/level/BlockGetter;Lnet/minecraft/core/BlockPos;)Lnet/minecraft/world/phys/shapes/VoxelShape; ARG 1 level ARG 2 pos diff --git a/data/net/minecraft/world/level/chunk/ChunkGenerator.mapping b/data/net/minecraft/world/level/chunk/ChunkGenerator.mapping index e8dbcae1e..fc8dff5b5 100644 --- a/data/net/minecraft/world/level/chunk/ChunkGenerator.mapping +++ b/data/net/minecraft/world/level/chunk/ChunkGenerator.mapping @@ -43,6 +43,13 @@ CLASS net/minecraft/world/level/chunk/ChunkGenerator ARG 3 structureManager ARG 4 chunk ARG 5 structureTemplateManager + METHOD createStructures (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/chunk/ChunkGeneratorStructureState;Lnet/minecraft/world/level/StructureManager;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager;Lnet/minecraft/resources/ResourceKey;)V + ARG 1 registryAccess + ARG 2 structureState + ARG 3 structureManager + ARG 4 chunk + ARG 5 structureTemplateManager + ARG 6 level METHOD fetchReferences (Lnet/minecraft/world/level/StructureManager;Lnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/core/SectionPos;Lnet/minecraft/world/level/levelgen/structure/Structure;)I ARG 0 structureManager ARG 1 chunk @@ -156,3 +163,14 @@ CLASS net/minecraft/world/level/chunk/ChunkGenerator ARG 8 chunk ARG 9 chunkPos ARG 10 sectionPos + METHOD tryGenerateStructure (Lnet/minecraft/world/level/levelgen/structure/StructureSet$StructureSelectionEntry;Lnet/minecraft/world/level/StructureManager;Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/levelgen/RandomState;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager;JLnet/minecraft/world/level/chunk/ChunkAccess;Lnet/minecraft/world/level/ChunkPos;Lnet/minecraft/core/SectionPos;Lnet/minecraft/resources/ResourceKey;)Z + ARG 1 structureSelectionEntry + ARG 2 structureManager + ARG 3 registryAccess + ARG 4 random + ARG 5 structureTemplateManager + ARG 6 seed + ARG 8 chunk + ARG 9 chunkPos + ARG 10 sectionPos + ARG 11 level diff --git a/data/net/minecraft/world/level/chunk/LevelChunk.mapping b/data/net/minecraft/world/level/chunk/LevelChunk.mapping index 6385c2b71..23e102bf8 100644 --- a/data/net/minecraft/world/level/chunk/LevelChunk.mapping +++ b/data/net/minecraft/world/level/chunk/LevelChunk.mapping @@ -41,6 +41,17 @@ CLASS net/minecraft/world/level/chunk/LevelChunk ARG 0 chunkPos METHOD lambda$registerAllBlockEntitiesAfterLevelLoad$6 (Lnet/minecraft/world/level/block/entity/BlockEntity;)V ARG 1 blockEntity + METHOD lambda$replaceWithPacketData$3 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntityType;Lnet/minecraft/nbt/CompoundTag;)V + ARG 1 pos + ARG 2 type + ARG 3 tag + METHOD lambda$replaceWithPacketData$4 (Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntityType;Lnet/minecraft/nbt/CompoundTag;)V + ARG 1 pos + ARG 2 blockEntityType + ARG 3 blockEntityTag + METHOD lambda$updateBlockEntityTicker$6 (Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/level/block/entity/BlockEntityTicker;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/LevelChunk$RebindableTickingBlockEntityWrapper;)Lnet/minecraft/world/level/chunk/LevelChunk$RebindableTickingBlockEntityWrapper; + ARG 3 keyBlockPos + ARG 4 blockEntityWrapper METHOD lambda$updateBlockEntityTicker$7 (Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/level/block/entity/BlockEntityTicker;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/LevelChunk$RebindableTickingBlockEntityWrapper;)Lnet/minecraft/world/level/chunk/LevelChunk$RebindableTickingBlockEntityWrapper; ARG 3 pos ARG 4 ticker @@ -87,6 +98,8 @@ CLASS net/minecraft/world/level/chunk/LevelChunk ARG 2 blockEntity ARG 3 ticker CLASS RebindableTickingBlockEntityWrapper + METHOD (Lnet/minecraft/world/level/block/entity/TickingBlockEntity;)V + ARG 1 ticker METHOD (Lnet/minecraft/world/level/chunk/LevelChunk;Lnet/minecraft/world/level/block/entity/TickingBlockEntity;)V ARG 2 ticker METHOD rebind (Lnet/minecraft/world/level/block/entity/TickingBlockEntity;)V diff --git a/data/net/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration.mapping b/data/net/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration.mapping index 85d558830..bc8917aa7 100644 --- a/data/net/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration.mapping +++ b/data/net/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration.mapping @@ -7,6 +7,14 @@ CLASS net/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthC ARG 5 canPlaceOnWall ARG 6 chanceOfSpreading ARG 7 canBePlacedOn + METHOD (Lnet/minecraft/world/level/block/MultifaceSpreadeableBlock;IZZZFLnet/minecraft/core/HolderSet;)V + ARG 1 placeBlock + ARG 2 searchRange + ARG 3 canPlaceOnFloor + ARG 4 canPlaceOnCeiling + ARG 5 canPlaceOnWall + ARG 6 chanceOfSpreading + ARG 7 canBePlacedOn METHOD apply (Lnet/minecraft/world/level/block/Block;)Lcom/mojang/serialization/DataResult; ARG 0 block METHOD getShuffledDirections (Lnet/minecraft/util/RandomSource;)Ljava/util/List; @@ -16,6 +24,8 @@ CLASS net/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthC ARG 2 direction METHOD lambda$static$0 (Lnet/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration;)Lnet/minecraft/world/level/block/MultifaceBlock; ARG 0 config + METHOD lambda$static$0 (Lnet/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration;)Lnet/minecraft/world/level/block/MultifaceSpreadeableBlock; + ARG 0 config METHOD lambda$static$1 (Lnet/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration;)Ljava/lang/Integer; ARG 0 config METHOD lambda$static$2 (Lnet/minecraft/world/level/levelgen/feature/configurations/MultifaceGrowthConfiguration;)Ljava/lang/Boolean; diff --git a/data/net/minecraft/world/level/levelgen/structure/Structure.mapping b/data/net/minecraft/world/level/levelgen/structure/Structure.mapping index d8405b09d..360a45037 100644 --- a/data/net/minecraft/world/level/levelgen/structure/Structure.mapping +++ b/data/net/minecraft/world/level/levelgen/structure/Structure.mapping @@ -15,6 +15,19 @@ CLASS net/minecraft/world/level/levelgen/structure/Structure ARG 1 context METHOD findValidGenerationPoint (Lnet/minecraft/world/level/levelgen/structure/Structure$GenerationContext;)Ljava/util/Optional; ARG 1 context + METHOD generate (Lnet/minecraft/core/Holder;Lnet/minecraft/resources/ResourceKey;Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/levelgen/RandomState;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager;JLnet/minecraft/world/level/ChunkPos;ILnet/minecraft/world/level/LevelHeightAccessor;Ljava/util/function/Predicate;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; + ARG 1 structure + ARG 2 level + ARG 3 registryAccess + ARG 4 chunkGenerator + ARG 5 biomeSource + ARG 6 randomState + ARG 7 structureTemplateManager + ARG 8 seed + ARG 10 chunkPos + ARG 11 references + ARG 12 heightAccessor + ARG 13 validBiome METHOD generate (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/levelgen/RandomState;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager;JLnet/minecraft/world/level/ChunkPos;ILnet/minecraft/world/level/LevelHeightAccessor;Ljava/util/function/Predicate;)Lnet/minecraft/world/level/levelgen/structure/StructureStart; ARG 1 registryAccess ARG 2 chunkGenerator @@ -72,6 +85,8 @@ CLASS net/minecraft/world/level/levelgen/structure/Structure METHOD (Lnet/minecraft/core/BlockPos;Ljava/util/function/Consumer;)V ARG 1 position ARG 2 generator + METHOD lambda$getPiecesBuilder$1 (Lnet/minecraft/world/level/levelgen/structure/pieces/StructurePiecesBuilder;)Lnet/minecraft/world/level/levelgen/structure/pieces/StructurePiecesBuilder; + ARG 0 builder CLASS GenerationContext METHOD (Lnet/minecraft/core/RegistryAccess;Lnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/level/biome/BiomeSource;Lnet/minecraft/world/level/levelgen/RandomState;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager;JLnet/minecraft/world/level/ChunkPos;Lnet/minecraft/world/level/LevelHeightAccessor;Ljava/util/function/Predicate;)V ARG 1 registryAccess diff --git a/data/net/minecraft/world/level/levelgen/structure/pools/JigsawPlacement.mapping b/data/net/minecraft/world/level/levelgen/structure/pools/JigsawPlacement.mapping index 1064c85ff..8499313e8 100644 --- a/data/net/minecraft/world/level/levelgen/structure/pools/JigsawPlacement.mapping +++ b/data/net/minecraft/world/level/levelgen/structure/pools/JigsawPlacement.mapping @@ -39,6 +39,10 @@ CLASS net/minecraft/world/level/levelgen/structure/pools/JigsawPlacement ARG 3 rotation ARG 4 structureTemplateManager ARG 5 random + METHOD isStartTooCloseToWorldHeightLimits (Lnet/minecraft/world/level/LevelHeightAccessor;Lnet/minecraft/world/level/levelgen/structure/pools/DimensionPadding;Lnet/minecraft/world/level/levelgen/structure/BoundingBox;)Z + ARG 0 level + ARG 1 padding + ARG 2 boundingBox METHOD lambda$addPieces$0 (Lnet/minecraft/core/Registry;Lnet/minecraft/world/level/levelgen/structure/pools/alias/PoolAliasLookup;Lnet/minecraft/resources/ResourceKey;)Ljava/util/Optional; ARG 2 key METHOD lambda$addPieces$2 (Lnet/minecraft/world/level/levelgen/structure/PoolElementStructurePiece;IIIILnet/minecraft/world/level/LevelHeightAccessor;Lnet/minecraft/world/level/levelgen/structure/pools/DimensionPadding;ILnet/minecraft/world/level/levelgen/structure/BoundingBox;Lnet/minecraft/world/level/levelgen/structure/Structure$GenerationContext;ZLnet/minecraft/world/level/chunk/ChunkGenerator;Lnet/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager;Lnet/minecraft/world/level/levelgen/WorldgenRandom;Lnet/minecraft/core/Registry;Lnet/minecraft/world/level/levelgen/structure/pools/alias/PoolAliasLookup;Lnet/minecraft/world/level/levelgen/structure/templatesystem/LiquidSettings;Lnet/minecraft/world/level/levelgen/structure/pieces/StructurePiecesBuilder;)V diff --git a/data/net/minecraft/world/level/storage/DimensionDataStorage.mapping b/data/net/minecraft/world/level/storage/DimensionDataStorage.mapping index 9616583b0..312868034 100644 --- a/data/net/minecraft/world/level/storage/DimensionDataStorage.mapping +++ b/data/net/minecraft/world/level/storage/DimensionDataStorage.mapping @@ -24,6 +24,9 @@ CLASS net/minecraft/world/level/storage/DimensionDataStorage METHOD set (Ljava/lang/String;Lnet/minecraft/world/level/saveddata/SavedData;)V ARG 1 name ARG 2 savedData + METHOD tryWrite (Ljava/nio/file/Path;Lnet/minecraft/nbt/CompoundTag;)V + ARG 0 path + ARG 1 tag METHOD tryWriteAsync (Ljava/nio/file/Path;Lnet/minecraft/nbt/CompoundTag;)Ljava/util/concurrent/CompletableFuture; ARG 0 path ARG 1 tag diff --git a/data/net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction.mapping b/data/net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction.mapping index 1eaddda73..08d2088c7 100644 --- a/data/net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction.mapping +++ b/data/net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction.mapping @@ -1,6 +1,21 @@ CLASS net/minecraft/world/level/storage/loot/functions/SetCustomModelDataFunction + METHOD (Ljava/util/List;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V + ARG 1 conditions + ARG 2 floats + ARG 3 flags + ARG 4 strings + ARG 5 colors METHOD (Ljava/util/List;Lnet/minecraft/world/level/storage/loot/providers/number/NumberProvider;)V ARG 1 conditions ARG 2 valueProvider + METHOD apply (Ljava/util/Optional;Ljava/util/List;)Ljava/util/List; + ARG 0 value + ARG 1 list + METHOD apply (Ljava/util/Optional;Ljava/util/List;Ljava/util/function/Function;)Ljava/util/List; + ARG 0 value + ARG 1 list + ARG 2 converter METHOD lambda$static$1 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; ARG 0 instance + METHOD lambda$static$4 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App; + ARG 0 instance