Skip to content

Commit

Permalink
Logically correct class name
Browse files Browse the repository at this point in the history
  • Loading branch information
OldSerpskiStalker committed Sep 24, 2024
1 parent e1a5489 commit 7923c21
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*
* @param <T>
*/
public class ListActionsBinary<T extends SignalDataGetter>
public final class ListActionsBinary<T extends SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
*
* @param <T>
*/
public abstract class ListActionsSingleEvent<T extends SignalDataGetter>
public abstract class ListActionsConsumer<T extends SignalDataGetter>
{
/**
*
Expand All @@ -60,7 +60,7 @@ public abstract class ListActionsSingleEvent<T extends SignalDataGetter>
/**
*
*/
public ListActionsSingleEvent()
public ListActionsConsumer()
{

}
Expand Down Expand Up @@ -444,7 +444,6 @@ private void addEnemyId(AttributeMap<?> map, boolean localDebug)

try
{
// Extract enemy classes from _enemiesTo
for (String fEnemiesTo : enemiesTo)
{
String enemiesTo_s_id = GenericOverrideSpawn.fixEntityId(fEnemiesTo);
Expand Down Expand Up @@ -481,7 +480,6 @@ private void addEnemyId(AttributeMap<?> map, boolean localDebug)
}
}

// Extract enemy classes from _enemyId that start with the given prefix
for (String enemyIdPrefix : enemyIdPrefixes)
{
for (EntityEntry entityEntry : ForgeRegistries.ENTITIES)
Expand Down Expand Up @@ -601,7 +599,6 @@ private void addPanicToId(AttributeMap<?> map, boolean localDebug)

try
{
// Extract panic classes from _PanicTo
for (String fPanicTo : panicTo)
{
String panicTo_s_id = GenericOverrideSpawn.fixEntityId(fPanicTo);
Expand Down Expand Up @@ -638,7 +635,6 @@ private void addPanicToId(AttributeMap<?> map, boolean localDebug)
}
}

// Extract panic classes from _panicId that start with the given prefix
for (String fPanicIdPrefix : panicIdPrefixes)
{
for (EntityEntry entityEntry : ForgeRegistries.ENTITIES)
Expand Down Expand Up @@ -734,7 +730,6 @@ private void addEnemyToIdThemToId(AttributeMap<?> map, boolean localDebug)

try
{
// Extract enemy classes from _listEnemyId that start with the given prefix
for (String enemyIdPrefix : listEnemyId)
{
for (EntityEntry entityEntry : ForgeRegistries.ENTITIES)
Expand Down Expand Up @@ -763,7 +758,6 @@ private void addEnemyToIdThemToId(AttributeMap<?> map, boolean localDebug)
}
}

// Extract them classes from _listThemId that start with the given prefix
for (String themIdPrefix : listThemId)
{
for (EntityEntry entityEntry : ForgeRegistries.ENTITIES)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
*
*/
public class ListActionsStaticFactoryBlocks
public final class ListActionsStaticFactoryBlocks
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
*
*/
public class ListActionsStaticFactoryMouse
public final class ListActionsStaticFactoryMouse
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import net.minecraftforge.fml.common.eventhandler.Event;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsStaticFactoryBlocks;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.ResultEvents;
Expand All @@ -24,7 +24,7 @@
/**
*
*/
public final class GenericBlockBreakActions extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericBlockBreakActions extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import net.minecraftforge.fml.common.eventhandler.Event;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsStaticFactoryBlocks;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.ResultEvents;
Expand All @@ -24,7 +24,7 @@
/**
*
*/
public final class GenericBlockPlaceActions extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericBlockPlaceActions extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
*
*/
public final class GenericDropLoot extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericDropLoot extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
*
*/
public final class GenericExperience extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericExperience extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import net.minecraftforge.fml.common.eventhandler.Event;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsStaticFactoryMouse;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.ResultEvents;
Expand All @@ -24,7 +24,7 @@
/**
*
*/
public final class GenericLeftClickActions extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericLeftClickActions extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMapFactory;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.customlibrary.SingleKeyWords;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.signal.SignalDataAccessor;
Expand All @@ -26,7 +26,7 @@
/**
*
*/
public final class GenericMapEffectsActions extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericMapEffectsActions extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMapFactory;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.signal.SignalDataAccessor;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.signal.SignalDataGetter;
Expand All @@ -26,7 +26,7 @@
/**
*
*/
public final class GenericMobsTaskManager extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericMobsTaskManager extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/**
*
*/
public final class GenericOverrideSpawn extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericOverrideSpawn extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import net.minecraftforge.fml.common.eventhandler.Event;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsStaticFactoryMouse;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.ResultEvents;
Expand All @@ -24,7 +24,7 @@
/**
*
*/
public final class GenericRightClickActions extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericRightClickActions extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMap;
import org.imesense.dynamicspawncontrol.technical.attributefactory.AttributeMapFactory;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsBinary;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsSingleEvent;
import org.imesense.dynamicspawncontrol.technical.customlibrary.ListActionsConsumer;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.signal.SignalDataAccessor;
import org.imesense.dynamicspawncontrol.technical.eventprocessor.signal.SignalDataGetter;
Expand All @@ -26,7 +26,7 @@
/**
*
*/
public final class GenericSpawnConditions extends ListActionsSingleEvent<SignalDataGetter>
public final class GenericSpawnConditions extends ListActionsConsumer<SignalDataGetter>
{
/**
*
Expand Down

0 comments on commit 7923c21

Please sign in to comment.