File tree 1 file changed +2
-3
lines changed
src/main/java/org/teacon/xkdeco/init
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
package org .teacon .xkdeco .init ;
2
2
3
+ import java .util .ArrayList ;
3
4
import java .util .Collection ;
4
5
import java .util .List ;
5
6
import java .util .Map ;
12
13
import org .teacon .xkdeco .block .MimicWallBlock ;
13
14
import org .teacon .xkdeco .item .MimicWallItem ;
14
15
15
- import com .google .common .collect .Lists ;
16
-
17
16
import javax .annotation .ParametersAreNonnullByDefault ;
18
17
import net .minecraft .MethodsReturnNonnullByDefault ;
19
18
import net .minecraft .core .Holder ;
@@ -81,7 +80,7 @@ public static void addMimicWallItems(RegisterEvent event) {
81
80
}
82
81
83
82
public static void addMimicWallTags (Map <ResourceLocation , Collection <Holder <Block >>> tags ) {
84
- List <Holder <Block >> walls = Lists . newArrayList (tags .getOrDefault (BlockTags .WALLS .location (), List .of ()));
83
+ List <Holder <Block >> walls = new ArrayList <> (tags .getOrDefault (BlockTags .WALLS .location (), List .of ()));
85
84
for (var holder : BuiltInRegistries .BLOCK .asHolderIdMap ()) {
86
85
if (holder .value () instanceof MimicWallBlock ) {
87
86
walls .add (holder );
You can’t perform that action at this time.
0 commit comments