mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-20 11:14:35 +00:00
38 lines
1.0 KiB
Java
38 lines
1.0 KiB
Java
package com.volmit.iris.object;
|
|
|
|
import com.volmit.iris.util.Desc;
|
|
import com.volmit.iris.util.DontObfuscate;
|
|
import com.volmit.iris.util.MinNumber;
|
|
import com.volmit.iris.util.RegistryListDimension;
|
|
import com.volmit.iris.util.Required;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.experimental.Accessors;
|
|
|
|
@Accessors(chain = true)
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
@Desc("Represents an index for dimensions to take up vertical slots in the same world")
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = false)
|
|
public class IrisDimensionIndex
|
|
{
|
|
@Required
|
|
@DontObfuscate
|
|
@Desc("The weight of this dimension. If there are 2 dimensions, if the weight is the same on both, both dimensions will take up 128 blocks of height.")
|
|
private double weight = 1D;
|
|
|
|
@DontObfuscate
|
|
@Desc("If inverted is set to true, the dimension will be updide down in the world")
|
|
private boolean inverted = false;
|
|
|
|
@DontObfuscate
|
|
@Required
|
|
@RegistryListDimension
|
|
@MinNumber(1)
|
|
private String dimension = "";
|
|
}
|