mirror of
https://github.com/Auxilor/EcoArmor.git
synced 2025-12-28 03:19:25 +00:00
Java 16 migration
This commit is contained in:
@@ -1,41 +1,10 @@
|
||||
package com.willfp.ecoarmor.upgrades;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class TierProperties {
|
||||
/**
|
||||
* Armor property.
|
||||
*/
|
||||
private final int armor;
|
||||
|
||||
/**
|
||||
* Armor toughness property.
|
||||
*/
|
||||
private final int toughness;
|
||||
|
||||
/**
|
||||
* Knockback resistance property.
|
||||
*/
|
||||
private final int knockback;
|
||||
|
||||
/**
|
||||
* Speed percentage.
|
||||
*/
|
||||
private final int speed;
|
||||
|
||||
/**
|
||||
* Attack speed percentage.
|
||||
*/
|
||||
private final int attackSpeed;
|
||||
|
||||
/**
|
||||
* Attack damage percentage.
|
||||
*/
|
||||
private final int attackDamage;
|
||||
|
||||
/**
|
||||
* Attack knockback percentage.
|
||||
*/
|
||||
private final int attackKnockback;
|
||||
public record TierProperties(int armor,
|
||||
int toughness,
|
||||
int knockback,
|
||||
int speed,
|
||||
int attackSpeed,
|
||||
int attackDamage,
|
||||
int attackKnockback) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user