This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Not required, but is very helpful. | |
@Environment(EnvType.CLIENT) | |
public class BooleanModelOverride implements ClampedModelPredicateProvider { | |
public static ModelTransformationMode currentModelTransform = ModelTransformationMode.NONE; | |
public static int offset = 1; | |
int thisOffset = 0; | |
public BooleanModelOverride(Function4<ItemStack, ClientWorld, LivingEntity, Integer, Boolean> p) { | |
this.predicate = p; | |
this.thisOffset = offset++; | |
} |