Welcome to the Ranch
Good to see somebody who knows how to format code well

I hope I have made the code and the UML look better by wrapping them with the
code button, as JJ suggested.
Please go back to the UML diagram Unfortunately you haven't made the die match that UML diagram. You have all sorts of fields which aren't in the UML. I think a die has only one field,
viz. number of faces. That is what the UML calls
sides. You have called it
MAX, which would be acceptable, but if you spell it MAX rather than
max, make that field
final. I can understand that a Die would have a field which the UML calls
value, and that is the current face showing, but I wouldn't give it any more fields. You are going to have to give it more fields, however, because that is what the UML says. Otherwise you will lose marks. All the other fields you have in the current Die class should be removed, along with the methods associated with them.
At this point I am going to disagree with the UML and tell you to query it with your teacher, but this will be the subject of a future post. Watch this space.