Skip to content

Commit

Permalink
Added Copyright Notice to Headers
Browse files Browse the repository at this point in the history
  • Loading branch information
chronosacaria committed Apr 20, 2024
1 parent 321bc13 commit 8e144e7
Show file tree
Hide file tree
Showing 188 changed files with 1,154 additions and 9 deletions.
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/Mcdw.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw;

import chronosacaria.mcdw.compat.RangedWeaponAPICompat;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.interfaces;

public interface IDualWielding {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.interfaces;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.interfaces;

import chronosacaria.mcdw.Mcdw;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.interfaces;

public interface IMcdwEnchantedArrow {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.interfaces;

import chronosacaria.mcdw.api.util.PlayerAttackHelper;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/api/util/AOECloudHelper.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.api.interfaces.IExclusiveAOECloud;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/api/util/AOEHelper.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.Mcdw;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/api/util/AbilityHelper.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.Mcdw;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.api.interfaces.IMcdwEnchantedArrow;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import com.google.common.collect.ArrayListMultimap;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.Mcdw;
import chronosacaria.mcdw.enums.EnchantmentsID;
import chronosacaria.mcdw.registries.EnchantsRegistry;
import net.minecraft.enchantment.Enchantment;

import java.util.LinkedHashMap;
import java.util.Map;

public class InnateEnchantmentBuilder {
private LinkedHashMap<Enchantment, Integer> enchantments = new LinkedHashMap<>();

public InnateEnchantmentBuilder addInnateEnchantment(Object enchantment, int level) {
if (enchantment instanceof EnchantmentsID enchantmentID) {
if (Mcdw.CONFIG.mcdwEnchantmentsConfig.ENCHANTMENT_CONFIG.get(enchantmentID).mcdw$getIsEnabled()) {
enchantments.put(EnchantsRegistry.enchantments.get(enchantmentID), level);
}
} else if (enchantment instanceof Enchantment vanillaEnchantment) {
enchantments.put(vanillaEnchantment, level);
}
return this;
}

public InnateEnchantmentBuilder addEmptyEnchantment() {
return addInnateEnchantment(Map.of(), 0);
}

public Map<Enchantment, Integer> build() {
return enchantments;
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import net.minecraft.entity.player.PlayerEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.api.interfaces.IDualWielding;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import net.minecraft.entity.LivingEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import chronosacaria.mcdw.bases.McdwBow;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/api/util/RarityHelper.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.api.util;

import net.minecraft.item.ToolMaterial;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwAxe.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwBow.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwCrossbow.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import com.google.common.collect.ImmutableMultimap;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwDagger.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwDoubleAxe.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwGauntlet.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwGlaive.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.Mcdw;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwHammer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwLongbow.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwPick.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.util.CleanlinessHelper;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwScythe.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwShield.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.util.CleanlinessHelper;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwShortbow.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwSickle.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwSoulDagger.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwSpear.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.Mcdw;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwStaff.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.Mcdw;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/chronosacaria/mcdw/bases/McdwSword.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Timefall Development License 1.2
Copyright (c) 2020-2024. Chronosacaria, Kluzzio, Timefall Development. All Rights Reserved.
This software's content is licensed under the Timefall Development License 1.2. You can find this license information here: https://github.com/Timefall-Development/Timefall-Development-Licence/blob/main/TimefallDevelopmentLicense1.2.txt
*/
package chronosacaria.mcdw.bases;

import chronosacaria.mcdw.api.interfaces.IInnateEnchantment;
Expand Down
Loading

0 comments on commit 8e144e7

Please sign in to comment.