[1.16] Make it run (#3626)
* She compiles! Also readded the armorstand ticking patch, thanks cat * Update mob goal api * Misc fixes to make it run drop per playing mob spawns for now
This commit is contained in:
@@ -42,3 +42,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
builder.add(Pair.of(registrymaterials.c(t0).get(), t0));
|
||||
}
|
||||
@@ -0,0 +0,0 @@ public class RegistryMaterials<T> extends IRegistryWritable<T> {
|
||||
|
||||
registrymaterials.bb.entrySet().stream().filter((entry) -> {
|
||||
return registrymaterials.c((ResourceKey) entry.getKey());
|
||||
- }).forEach(com_google_common_collect_immutablemap_builder::put);
|
||||
+ }).forEach(entry1 -> com_google_common_collect_immutablemap_builder.put((java.util.Map.Entry<? extends net.minecraft.server.ResourceKey<T>,? extends T>) entry1)); // Paper - compiler fix (expand method reference + add cast)
|
||||
return com_google_common_collect_immutablemap_builder.build();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user