Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public static final Prop<Double, DamagingData> DAMAGE = null;
// TODO yes the capitals are bad style, but it makes sense for consistency
public static Prop<Double, DamagingData> DAMAGE_FOR_ENTITY(EntityType type) {
return null;
}
entity.get(Props.DAMAGE);
entity.get(Props.DAMAGE_FOR_ENTITY(EntityTypes.SKELETON);
// vs
entity.get(Props.damageForEntity(EntityTypes.Skeleton));
// or maybe another solution like another Prop type? idk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.