From 3b754fef5e5008259a0cc6f4830140d06078e92c Mon Sep 17 00:00:00 2001 From: Dipo <492666@mail.muni.cz> Date: Fri, 4 Feb 2022 02:28:55 +0100 Subject: [PATCH] Fix FoliagePlacerType and TreeDecoratorType registry (#8394) --- .../net/minecraft/core/Registry.java.patch | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/patches/minecraft/net/minecraft/core/Registry.java.patch b/patches/minecraft/net/minecraft/core/Registry.java.patch index 631d867290..1e0da88454 100644 --- a/patches/minecraft/net/minecraft/core/Registry.java.patch +++ b/patches/minecraft/net/minecraft/core/Registry.java.patch @@ -140,7 +140,7 @@ return StructureFeature.f_67014_; }); public static final ResourceKey> f_122842_ = m_122978_("worldgen/structure_piece"); -@@ -311,7 +_,7 @@ +@@ -311,16 +_,16 @@ public static final ResourceKey>> f_194572_ = m_122978_("worldgen/material_rule"); public static final ResourceKey>> f_122854_ = m_122978_("worldgen/structure_processor"); public static final ResourceKey>> f_122855_ = m_122978_("worldgen/structure_pool_element"); @@ -148,7 +148,18 @@ + @Deprecated public static final Registry> f_122856_ = forge(f_122846_, () -> { return BlockStateProviderType.f_68752_; }); - public static final Registry> f_122858_ = m_122999_(f_122848_, () -> { +- public static final Registry> f_122858_ = m_122999_(f_122848_, () -> { ++ @Deprecated public static final Registry> f_122858_ = forge(f_122848_, () -> { + return FoliagePlacerType.f_68591_; + }); + public static final Registry> f_122859_ = m_122999_(f_122849_, () -> { + return TrunkPlacerType.f_70315_; + }); +- public static final Registry> f_122860_ = m_122999_(f_122850_, () -> { ++ @Deprecated public static final Registry> f_122860_ = forge(f_122850_, () -> { + return TreeDecoratorType.f_70043_; + }); + public static final Registry> f_122888_ = m_122999_(f_122851_, () -> { @@ -365,16 +_,32 @@ return m_122981_(p_123000_, Lifecycle.experimental(), p_123001_); }