Skip to content

Commit

Permalink
Renaming class CustomFireball -> DSCFireball
Browse files Browse the repository at this point in the history
  • Loading branch information
OldSerpskiStalker committed Oct 13, 2024
1 parent 3ea24c6 commit f12d26a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import net.minecraft.util.text.TextComponentString;
import net.minecraft.world.World;
import org.imesense.dynamicspawncontrol.debug.CodeGenericUtils;
import org.imesense.dynamicspawncontrol.gameplay.items.CustomFireball;
import org.imesense.dynamicspawncontrol.technical.customlibrary.Log;
import org.imesense.dynamicspawncontrol.gameplay.items.DSCFireball;

import javax.annotation.Nonnull;

Expand Down Expand Up @@ -90,7 +89,7 @@ public void execute(@Nonnull MinecraftServer server, @Nonnull ICommandSender sen
return;
}

CustomFireball fireball = new CustomFireball(world, player, 0, 0, 0);
DSCFireball fireball = new DSCFireball(world, player, 0, 0, 0);

fireball.setExplosionStrength(explosionStrength);
fireball.setPosition(player.posX, player.posY + player.getEyeHeight(), player.posZ);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
*
*/
public final class CustomFireball extends EntityFireball
public final class DSCFireball extends EntityFireball
{
/**
*
Expand All @@ -38,7 +38,7 @@ private interface FireSpawnAction
*
* @param worldIn
*/
public CustomFireball(World worldIn)
public DSCFireball(World worldIn)
{
super(worldIn);
}
Expand All @@ -53,7 +53,7 @@ public CustomFireball(World worldIn)
* @param accelY
* @param accelZ
*/
public CustomFireball(World worldIn, double x, double y, double z, double accelX, double accelY, double accelZ)
public DSCFireball(World worldIn, double x, double y, double z, double accelX, double accelY, double accelZ)
{
super(worldIn, x, y, z, accelX, accelY, accelZ);
}
Expand All @@ -66,7 +66,7 @@ public CustomFireball(World worldIn, double x, double y, double z, double accelX
* @param accelY
* @param accelZ
*/
public CustomFireball(World worldIn, EntityLivingBase shooter, double accelX, double accelY, double accelZ)
public DSCFireball(World worldIn, EntityLivingBase shooter, double accelX, double accelY, double accelZ)
{
super(worldIn, shooter, accelX, accelY, accelZ);
}
Expand Down

0 comments on commit f12d26a

Please sign in to comment.