From a1110b92d031f74a910f7be61483f918a9cfcb75 Mon Sep 17 00:00:00 2001 From: David Quintana Date: Fri, 26 Jun 2020 16:43:01 +0200 Subject: [PATCH] Reintroduce missed patch in EntityClassification. --- .../net/minecraft/block/AbstractBlock.java.patch | 2 +- .../net/minecraft/entity/EntityClassification.java.patch | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch b/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch index 933b51628..d283ddc48 100644 --- a/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch +++ b/patches/minecraft/net/minecraft/block/AbstractBlock.java.patch @@ -136,7 +136,7 @@ public AbstractBlock.Properties func_200941_a(float p_200941_1_) { this.field_200961_i = p_200941_1_; return this; -@@ -917,7 +944,8 @@ +@@ -917,7 +944,7 @@ } public AbstractBlock.Properties func_222379_b(Block p_222379_1_) { diff --git a/patches/minecraft/net/minecraft/entity/EntityClassification.java.patch b/patches/minecraft/net/minecraft/entity/EntityClassification.java.patch index 74f2ec45f..4e6d38a83 100644 --- a/patches/minecraft/net/minecraft/entity/EntityClassification.java.patch +++ b/patches/minecraft/net/minecraft/entity/EntityClassification.java.patch @@ -1,5 +1,14 @@ --- a/net/minecraft/entity/EntityClassification.java +++ b/net/minecraft/entity/EntityClassification.java +@@ -6,7 +6,7 @@ + import java.util.stream.Collectors; + import net.minecraft.util.IStringSerializable; + +-public enum EntityClassification implements IStringSerializable { ++public enum EntityClassification implements IStringSerializable, net.minecraftforge.common.IExtensibleEnum { + MONSTER("monster", 70, false, false, 128), + CREATURE("creature", 10, true, true, 128), + AMBIENT("ambient", 15, true, false, 128), @@ -57,6 +57,10 @@ return this.field_82707_i; }