mirror of
http://git.eaglercraft.rip/eaglercraft/eaglercraft-1.8.git
synced 2025-04-30 02:01:59 -05:00
34 lines
670 B
Java
34 lines
670 B
Java
|
|
# Eagler Context Redacted Diff
|
|
# Copyright (c) 2024 lax1dude. All rights reserved.
|
|
|
|
# Version: 1.0
|
|
# Author: lax1dude
|
|
|
|
> DELETE 2 @ 2 : 3
|
|
|
|
> CHANGE 1 : 4 @ 1 : 4
|
|
|
|
~
|
|
~ import com.google.common.base.Predicate;
|
|
~
|
|
|
|
> CHANGE 15 : 16 @ 15 : 21
|
|
|
|
~ public static PropertyEnum<BlockPlanks.EnumType> VARIANT;
|
|
|
|
> INSERT 6 : 14 @ 6
|
|
|
|
+ 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 4 @ 4 : 5
|
|
|
|
> EOF
|