This commit is contained in:
Daniel Mills 2021-07-16 02:11:41 -04:00
parent da53a7d469
commit 22387b2610
148 changed files with 266 additions and 177 deletions

View File

@ -16,10 +16,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.atomics;
import com.google.common.util.concurrent.AtomicDoubleArray; import com.google.common.util.concurrent.AtomicDoubleArray;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;
import com.volmit.iris.util.data.DoubleArrayUtils;
/** /**
* Provides an incredibly fast averaging object. It swaps values from a sum * Provides an incredibly fast averaging object. It swaps values from a sum

View File

@ -16,7 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.atomics;
import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.math.M;
public class AtomicRollingSequence extends AtomicAverage { public class AtomicRollingSequence extends AtomicAverage {
private double median; private double median;

View File

@ -16,8 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
import com.volmit.iris.util.format.C;
import lombok.NonNull; import lombok.NonNull;
import lombok.Setter; import lombok.Setter;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
@ -127,8 +128,8 @@ public class Board {
team.setSuffix(entry.getSuffix()); team.setSuffix(entry.getSuffix());
switch (boardSettings.getScoreDirection()) { switch (boardSettings.getScoreDirection()) {
case UP -> objective.getScore(team.getName()).setScore(1 + i); case ScoreDirection.UP -> objective.getScore(team.getName()).setScore(1 + i);
case DOWN -> objective.getScore(team.getName()).setScore(15 - i); case ScoreDirection.DOWN -> objective.getScore(team.getName()).setScore(15 - i);
} }
} }
} }

View File

@ -16,8 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
import com.volmit.iris.util.format.C;
import lombok.Getter; import lombok.Getter;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
import lombok.Builder; import lombok.Builder;
import lombok.Getter; import lombok.Getter;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.board;
/** /**
* @author Missionary (missionarymc@gmail.com) * @author Missionary (missionarymc@gmail.com)

View File

@ -18,8 +18,7 @@
package com.volmit.iris.util.data; package com.volmit.iris.util.data;
import com.volmit.iris.util.Dimension; import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.KList;
import com.volmit.iris.util.math.Direction; import com.volmit.iris.util.math.Direction;
import org.bukkit.*; import org.bukkit.*;
import org.bukkit.block.Block; import org.bukkit.block.Block;

View File

@ -18,7 +18,7 @@
package com.volmit.iris.util.data; package com.volmit.iris.util.data;
import com.volmit.iris.util.KList; import com.volmit.iris.util.collection.KList;
import java.io.DataInputStream; import java.io.DataInputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.data;
/** /**
* Dimensions * Dimensions

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.data;
/** /**
* Represents a dimension (coordinates not worlds) * Represents a dimension (coordinates not worlds)

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.data;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;
import org.bukkit.block.Biome; import org.bukkit.block.Biome;

View File

@ -18,7 +18,7 @@
package com.volmit.iris.util.data; package com.volmit.iris.util.data;
import com.volmit.iris.util.IrisMathHelper; import com.volmit.iris.util.math.IrisMathHelper;
import org.bukkit.block.Biome; import org.bukkit.block.Biome;
import org.bukkit.generator.ChunkGenerator.BiomeGrid; import org.bukkit.generator.ChunkGenerator.BiomeGrid;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.data;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.data;
public class Shrinkwrap<T> { public class Shrinkwrap<T> {
private T t; private T t;

View File

@ -1,5 +1,24 @@
package com.volmit.iris.util; /*
* Iris is a World Generator for Minecraft Bukkit Servers
* Copyright (c) 2021 Arcane Arts (Volmit Software)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util.data;
import com.volmit.iris.util.collection.KMap;
import org.bukkit.block.Biome; import org.bukkit.block.Biome;
import com.volmit.iris.util.inventorygui.RandomColor.*; import com.volmit.iris.util.inventorygui.RandomColor.*;

View File

@ -18,8 +18,7 @@
package com.volmit.iris.util.data; package com.volmit.iris.util.data;
import com.volmit.iris.util.KMap; import com.volmit.iris.util.collection.KMap;
import com.volmit.iris.util.Shrinkwrap;
public class WeightMap<T> extends KMap<T, Double> { public class WeightMap<T> extends KMap<T, Double> {
private static final long serialVersionUID = 87558033900969389L; private static final long serialVersionUID = 87558033900969389L;

View File

@ -18,8 +18,8 @@
package com.volmit.iris.util.data; package com.volmit.iris.util.data;
import com.volmit.iris.util.KList; import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.KeyPair; import com.volmit.iris.util.collection.KeyPair;
import java.util.Random; import java.util.Random;

View File

@ -1,4 +1,22 @@
package com.volmit.iris.util; /*
* Iris is a World Generator for Minecraft Bukkit Servers
* Copyright (c) 2021 Arcane Arts (Volmit Software)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util.fakenews;
import com.volmit.iris.engine.IrisEngineFramework; import com.volmit.iris.engine.IrisEngineFramework;
import com.volmit.iris.core.IrisDataManager; import com.volmit.iris.core.IrisDataManager;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.fakenews;
import lombok.Setter; import lombok.Setter;
import org.bukkit.HeightMap; import org.bukkit.HeightMap;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.fakenews;
import org.bukkit.HeightMap; import org.bukkit.HeightMap;
import org.bukkit.*; import org.bukkit.*;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.format;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;
import org.apache.commons.lang.Validate; import org.apache.commons.lang.Validate;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.format;
import com.volmit.iris.util.math.M; import com.volmit.iris.util.math.M;
import com.volmit.iris.util.math.RollingSequence; import com.volmit.iris.util.math.RollingSequence;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@SuppressWarnings({"hiding", "RedundantSuppression"}) @SuppressWarnings({"hiding", "RedundantSuppression"})
@FunctionalInterface @FunctionalInterface

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@SuppressWarnings("ALL") @SuppressWarnings("ALL")
@FunctionalInterface @FunctionalInterface

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Consumer4<A, B, C, D> { public interface Consumer4<A, B, C, D> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Consumer5<A, B, C, D, E> { public interface Consumer5<A, B, C, D, E> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Consumer6<A, B, C, D, E, F> { public interface Consumer6<A, B, C, D, E, F> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Consumer7<A, B, C, D, E, F, G> { public interface Consumer7<A, B, C, D, E, F, G> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Consumer8<A, B, C, D, E, F, G, H> { public interface Consumer8<A, B, C, D, E, F, G, H> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Function2<A, B, R> { public interface Function2<A, B, R> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Function3<A, B, C, R> { public interface Function3<A, B, C, R> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface Function4<A, B, C, D, R> { public interface Function4<A, B, C, D, R> {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
public interface NastyFunction<T, R> { public interface NastyFunction<T, R> {
R run(T t); R run(T t);

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
public interface NastyFuture<R> { public interface NastyFuture<R> {
R run(); R run();

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
public interface NastyRunnable { public interface NastyRunnable {
void run() throws Throwable; void run() throws Throwable;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface NoiseInjector { public interface NoiseInjector {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface NoiseProvider { public interface NoiseProvider {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
@FunctionalInterface @FunctionalInterface
public interface NoiseProvider3 { public interface NoiseProvider3 {

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
public interface Supplier2<T, TT> { public interface Supplier2<T, TT> {
void get(T t, TT tt); void get(T t, TT tt);

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.function;
public interface Supplier3<T, TT, TTT> { public interface Supplier3<T, TT, TTT> {
void get(T t, TT tt, TTT ttt); void get(T t, TT tt, TTT ttt);

View File

@ -16,8 +16,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
import com.volmit.iris.util.scheduling.Callback;
import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.data.MaterialBlock;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
@SuppressWarnings("ALL") @SuppressWarnings("ALL")

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
/** /**
* Element Event. * Element Event.

View File

@ -1,4 +1,22 @@
package com.volmit.iris.util; /*
* Iris is a World Generator for Minecraft Bukkit Servers
* Copyright (c) 2021 Arcane Arts (Volmit Software)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.volmit.iris.util.inventorygui;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;

View File

@ -16,9 +16,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;
import com.volmit.iris.util.scheduling.Callback;
import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.data.MaterialBlock;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment; import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;

View File

@ -16,8 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
import com.volmit.iris.util.data.MaterialBlock;
import org.bukkit.Material; import org.bukkit.Material;
@SuppressWarnings("ClassCanBeRecord") @SuppressWarnings("ClassCanBeRecord")

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
public class UIVoidDecorator implements WindowDecorator { public class UIVoidDecorator implements WindowDecorator {
@Override @Override

View File

@ -16,9 +16,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;
import com.volmit.iris.util.scheduling.Callback;
import com.volmit.iris.util.scheduling.J;
import com.volmit.iris.util.collection.KMap;
import com.volmit.iris.util.collection.KSet;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;

View File

@ -16,8 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
import com.volmit.iris.util.scheduling.Callback;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
public interface WindowDecorator { public interface WindowDecorator {
Element onDecorateBackground(Window window, int position, int row); Element onDecorateBackground(Window window, int position, int row);

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.inventorygui;
import org.bukkit.event.inventory.InventoryType; import org.bukkit.event.inventory.InventoryType;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import java.io.File; import java.io.File;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import java.io.IOException; import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import java.io.File; import java.io.File;

View File

@ -16,7 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.collection.KMap;
import java.io.File; import java.io.File;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import java.io.IOException; import java.io.IOException;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;
import com.volmit.iris.util.collection.KSet; import com.volmit.iris.util.collection.KSet;

View File

@ -16,10 +16,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.function.Consumer3; import com.volmit.iris.util.function.Consumer3;
import com.volmit.iris.util.io.FolderWatcher;
import java.io.File; import java.io.File;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import com.sk89q.worldedit.bukkit.BukkitAdapter; import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldedit.extent.clipboard.Clipboard; import com.sk89q.worldedit.extent.clipboard.Clipboard;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.io;
import java.io.OutputStream; import java.io.OutputStream;

View File

@ -16,12 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.util.json.JSONException;
import com.volmit.iris.util.json.JSONObject;
import java.util.Iterator; import java.util.Iterator;
/** /**

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.util.json.JSONException; import com.volmit.iris.util.json.JSONException;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
/** /**

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import java.util.Iterator; import java.util.Iterator;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
/** /**

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import java.io.StringWriter; import java.io.StringWriter;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
import com.volmit.iris.Iris; import com.volmit.iris.Iris;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.json;
/** /**

View File

@ -18,7 +18,7 @@
package com.volmit.iris.util.math; package com.volmit.iris.util.math;
import com.volmit.iris.util.DoubleArrayUtils; import com.volmit.iris.util.data.DoubleArrayUtils;
/** /**
* Provides an incredibly fast averaging object. It swaps values from a sum * Provides an incredibly fast averaging object. It swaps values from a sum

View File

@ -19,7 +19,7 @@
package com.volmit.iris.util.math; package com.volmit.iris.util.math;
import com.volmit.iris.engine.object.IrisPosition; import com.volmit.iris.engine.object.IrisPosition;
import com.volmit.iris.util.Cuboid; import com.volmit.iris.util.data.Cuboid;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.util.BlockVector; import org.bukkit.util.BlockVector;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.math;
public class ChunkPosition { public class ChunkPosition {
private int x; private int x;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.math;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;

View File

@ -18,11 +18,10 @@
package com.volmit.iris.util.math; package com.volmit.iris.util.math;
import com.volmit.iris.util.Cuboid.CuboidDirection; import com.volmit.iris.util.data.Cuboid.CuboidDirection;
import com.volmit.iris.util.DOP; import com.volmit.iris.util.collection.GBiset;
import com.volmit.iris.util.GBiset; import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.KList; import com.volmit.iris.util.collection.KMap;
import com.volmit.iris.util.KMap;
import org.bukkit.Axis; import org.bukkit.Axis;
import org.bukkit.block.BlockFace; import org.bukkit.block.BlockFace;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.math;
import com.volmit.iris.util.scheduling.Wrapper; import com.volmit.iris.util.scheduling.Wrapper;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.math;
import java.util.Random; import java.util.Random;
import java.util.UUID; import java.util.UUID;

View File

@ -16,10 +16,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.math;
import com.volmit.iris.util.math.Average; import com.volmit.iris.util.collection.KList;
import com.volmit.iris.util.math.M;
public class RollingSequence extends Average { public class RollingSequence extends Average {
private double median; private double median;

View File

@ -18,9 +18,9 @@
package com.volmit.iris.util.math; package com.volmit.iris.util.math;
import com.volmit.iris.util.Form; import com.volmit.iris.util.format.Form;
import com.volmit.iris.util.GListAdapter; import com.volmit.iris.util.collection.GListAdapter;
import com.volmit.iris.util.KList; import com.volmit.iris.util.collection.KList;
import org.bukkit.Axis; import org.bukkit.Axis;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Location; import org.bukkit.Location;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Byte_Array</code> tag. * The <code>TAG_Byte_Array</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Byte</code> tag. * The <code>TAG_Byte</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
import java.util.Map; import java.util.Map;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Double</code> tag. * The <code>TAG_Double</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_End</code> tag. * The <code>TAG_End</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Float</code> tag. * The <code>TAG_Float</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
import java.util.Arrays; import java.util.Arrays;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Int</code> tag. * The <code>TAG_Int</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Long</code> tag. * The <code>TAG_Long</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
import java.nio.charset.Charset; import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
import java.io.Closeable; import java.io.Closeable;
import java.io.DataInputStream; import java.io.DataInputStream;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
import java.io.Closeable; import java.io.Closeable;
import java.io.DataOutputStream; import java.io.DataOutputStream;

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/* /*
Changes : Neil Wightman - Support 19133 Tag_Int_Array tag Changes : Neil Wightman - Support 19133 Tag_Int_Array tag

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_Short</code> tag. * The <code>TAG_Short</code> tag.

View File

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package com.volmit.iris.util; package com.volmit.iris.util.oldnbt;
/** /**
* The <code>TAG_String</code> tag. * The <code>TAG_String</code> tag.

Some files were not shown because too many files have changed in this diff Show More