Files
Eaglercraft-1.8/patches/minecraft/net/minecraft/block/BlockNewLeaf.edit.java
2022-12-25 01:12:28 -08:00

38 lines
727 B
Java

# Eagler Context Redacted Diff
# Copyright (c) 2022 lax1dude. All rights reserved.
# Version: 1.0
# Author: lax1dude
> DELETE 2 @ 2 : 3
> CHANGE 3 : 6 @ 4 : 7
~
~ import com.google.common.base.Predicate;
~
> DELETE 11 @ 12 : 13
> DELETE 14 @ 16 : 18
> CHANGE 18 : 19 @ 22 : 28
~ public static PropertyEnum<BlockPlanks.EnumType> VARIANT;
> INSERT 25 : 33 @ 34
+ public static void bootstrapStates() {
+ VARIANT = PropertyEnum.create("variant", BlockPlanks.EnumType.class, new Predicate<BlockPlanks.EnumType>() {
+ public boolean apply(BlockPlanks.EnumType blockplanks$enumtype) {
+ return blockplanks$enumtype.getMetadata() >= 4;
+ }
+ });
+ }
+
> DELETE 87 @ 88 : 99
> EOF