Update for spotlessApply

This commit is contained in:
bombcar committed 2023-11-07 15:32:25 -06:00
1 parent f471a0c094
commit 9beab25b7a
17 files changed
+218 -112

No files matched your search

@@ -18,7 +18,7 @@ public interface ICarvingRegistry {
/**
* Finds the group the block/meta pair belongs to in the registry.
*
*
* @param block The block of the variation
* @param meta The metadata of the variation
* @return The {@link ICarvingGroup} that the block/meta pair belongs to
@@ -27,7 +27,7 @@ public interface ICarvingRegistry {
/**
* Gets an {@link ICarvingGroup} by its name.
*
*
* @param name The name of the group
* @return An {@link ICarvingGroup}
*/
@@ -35,7 +35,7 @@ public interface ICarvingRegistry {
/**
* Gets the {@link ICarvingVariation} instance represented by this block/meta pair.
*
*
* @param block The block of the variatoin
* @param meta The metadata of the variation
* @return The {@link ICarvingVariation} containing this block/meta pair
@@ -44,7 +44,7 @@ public interface ICarvingRegistry {
/**
* Gets the list of {@link ICarvingVariation}s from the group that contains this block/meta pair.
*
*
* @param block The block of the variation
* @param meta The metadata of the variation
* @return All of the {@link ICarvingVariation}s in the group that contains this block/meta pair
@@ -53,7 +53,7 @@ public interface ICarvingRegistry {
/**
* Gets the oredict name for the group that contains this block/meta pair.
*
*
* @param block The block of the variation
* @param meta The metadata of the variation
* @return A string oredict name for the group
@@ -62,7 +62,7 @@ public interface ICarvingRegistry {
/**
* Gets the possible output items for this {@link ItemStack}. To be used for machines/GUIs that chisel items.
*
*
* @param chiseled The {@link ItemStack} being chiseled
* @return A list of stacks that can be chiseled from the passed {@link ItemStack stack}
*/
@@ -70,7 +70,7 @@ public interface ICarvingRegistry {
/**
* Gets the sound resource string for the group represented by this block/meta pair.
*
*
* @param block The block of the variation
* @param metadata The metadata of the variation
* @return The string resource for the sound that can be used in
@@ -83,7 +83,7 @@ public interface ICarvingRegistry {
* <p>
* Mostly a convenience for calling {@link #getVariationSound(Block, int)} with
* {@link Block#getBlockFromItem(Item)}.
*
*
* @param item The item of the variation
* @param metadata The metadata of the variation
* @return The string resource for the sound that can be used in
@@ -100,7 +100,7 @@ public interface ICarvingRegistry {
/**
* Adds a variation to the registry.
*
*
* @param groupName The name of the group to add to.
* @param block The block of the variation
* @param metadata The metadata of the variation
@@ -111,7 +111,7 @@ public interface ICarvingRegistry {
/**
* Adds a variation to the registry.
*
*
* @param groupName The name of the group to add to
* @param variation The {@link ICarvingVariation} to add
*/
@@ -119,7 +119,7 @@ public interface ICarvingRegistry {
/**
* Adds a group to the registry.
*
*
* @param group The {@link ICarvingGroup} to add.
*/
void addGroup(ICarvingGroup group);
@@ -130,7 +130,7 @@ public interface ICarvingRegistry {
* This in effect removes all variations associated with the group, though they are not explicitly removed from the
* object. If you maintain a reference to the {@link ICarvingGroup} that is removed, it will still contain its
* variations.
*
*
* @param groupName The name of the group to remove.
* @return The {@link ICarvingGroup} that was removed.
*/
@@ -139,7 +139,7 @@ public interface ICarvingRegistry {
/**
* Removes a varaition with the passed {@link Block} and metadata from the registry. If this variation is registered
* with mutiple groups, it will remove it from all of them.
*
*
* @param block The {@link Block} of the {@link ICarvingVariation variation}
* @param metadata The metadata of the {@link ICarvingVariation variation}
* @return The ICarvingVariation that was removed. Null if nothing was removed.
@@ -149,7 +149,7 @@ public interface ICarvingRegistry {
/**
* Removes a varaition with the passed {@link Block} and metadata from the registry, but only from the specified
* {@link ICarvingGroup} name.
*
*
* @param block The {@link Block} of the {@link ICarvingVariation variation}
* @param metadata The metadata of the {@link ICarvingVariation variation}
* @param group The name of the group that the variation should be removed from
@@ -162,7 +162,7 @@ public interface ICarvingRegistry {
* <p>
* Doing this means that all blocks that are registered to this oredict name will act as if they are a part of this
* group.
*
*
* @param groupName The name of the group
* @param oreName The oredict name
*/
@@ -173,7 +173,7 @@ public interface ICarvingRegistry {
* <p>
* This is the sound that is used when a block from this group is chiseled. <br/>
* Does <i>not</i> need to be explicitly set.
*
*
* @param name The name of the group
* @param sound The resource string for the sound
*/