-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new feats #250
base: 1.18-master
Are you sure you want to change the base?
add new feats #250
Conversation
1.18/animation test
@@ -45,6 +46,8 @@ | |||
@OnlyIn(Dist.CLIENT) | |||
public class SignalCustomModel implements UnbakedModel { | |||
|
|||
private static final Map<ResourceLocation, BakedModel> locationToModel = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name 'locationToModel' must match pattern '^[A-Z][A-Z0-9](_[A-Z0-9]+)$'.
} | ||
|
||
private final Map<BakedModel, Entry<ModelTranslation, List<SignalAnimation>>>// | ||
animationPerModel = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'animationPerModel' has incorrect indentation level 4, expected level should be 8.
private final float animationSpeed; | ||
private final VectorWrapper dest; | ||
|
||
public SignalAnimationTranslation(Predicate<ModelInfoWrapper> predicate, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parameter predicate should be final.
private void buildRenderListForAnimations(final Signal signal, final ModelInfoWrapper wrapper) { | ||
animationInfos.clear(); | ||
final Map<Entry<String, VectorWrapper>, List<SignalAnimation>> // | ||
map = SignalAnimationConfigParser.ALL_ANIMATIONS.get(signal); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'map' has incorrect indentation level 8, expected level should be 12.
private static final Gson GSON = new Gson(); | ||
|
||
public static final Map<Signal, Map<Entry<String, VectorWrapper>, List<SignalAnimation>>>// | ||
ALL_ANIMATIONS = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'ALL_ANIMATIONS' has incorrect indentation level 4, expected level should be 8.
No description provided.