Move some test mods into appropriate packages (#5006)

This commit is contained in:
Marvin Rösch authored and mezz committed 2018-07-04 19:58:55 -07:00
1 parent 1902363eac
commit c3aa99677a
8 files changed
+20 -20

No files matched your search

@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.block;
import net.minecraft.init.Biomes;
import net.minecraft.world.World;
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.entity.living;
import net.minecraft.util.DamageSource;
import net.minecraftforge.event.entity.living.LivingAttackEvent;
@@ -28,8 +28,8 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@Mod(modid = LivingAttackEventTest.MODID, name = LivingAttackEventTest.NAME, version = "1.0.0", acceptableRemoteVersions = "*")
public class LivingAttackEventTest
@Mod(modid = AttackEventTest.MODID, name = AttackEventTest.NAME, version = "1.0.0", acceptableRemoteVersions = "*")
public class AttackEventTest
{
public static final String MODID = "livingattackeventtest";
@@ -49,4 +49,4 @@ public class LivingAttackEventTest
}
}
}
}
}
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.entity.living;
import net.minecraftforge.event.entity.EntityMobGriefingEvent;
import net.minecraftforge.fml.common.Mod;
@@ -26,7 +26,7 @@ import net.minecraftforge.fml.common.eventhandler.Event.Result;
@Mod(modid = "entitymobgriefingeventtest", name = "EntityMobGriefingEventTest", version = "1.0", acceptableRemoteVersions = "*")
@Mod.EventBusSubscriber
public class EntityMobGriefingEventTest
public class MobGriefingEventTest
{
private static final boolean ENABLED = false;
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.fluid;
import net.minecraft.block.BlockStone;
import net.minecraft.init.Blocks;
@@ -37,7 +37,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
* - Prevent lava from setting surrounding blocks on fire.
*/
@Mod(modid = "fluidplaceblocktest", name = "FluidPlaceBlockTest", version = "0.0.0", acceptableRemoteVersions = "*")
public class FluidPlaceBlockTest
public class FluidPlaceBlockEventTest
{
private static final boolean ENABLED = false;
@@ -45,7 +45,7 @@ public class FluidPlaceBlockTest
public void preinit(FMLPreInitializationEvent event)
{
if (!ENABLED) return;
MinecraftForge.EVENT_BUS.register(FluidPlaceBlockTest.class);
MinecraftForge.EVENT_BUS.register(FluidPlaceBlockEventTest.class);
}
@SubscribeEvent @SuppressWarnings("unused")
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.gameplay;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumActionResult;
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.network;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.item.EntityItemFrame;
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.world;
import org.apache.logging.log4j.Logger;
@@ -27,8 +27,8 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
@Mod(modid = ChunkWatchWorldTest.MODID, name = "Chunk Watch World Test", version = "1.0", acceptableRemoteVersions = "*")
public class ChunkWatchWorldTest
@Mod(modid = ChunkWatchEventTest.MODID, name = "Chunk Watch Event Test", version = "1.0", acceptableRemoteVersions = "*")
public class ChunkWatchEventTest
{
public static final String MODID = "chunkwatchworldtest";
@@ -42,7 +42,7 @@ public class ChunkWatchWorldTest
if (ENABLED)
{
MinecraftForge.EVENT_BUS.register(ChunkWatchWorldTest.class);
MinecraftForge.EVENT_BUS.register(ChunkWatchEventTest.class);
}
}
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.debug;
package net.minecraftforge.debug.world;
import org.apache.logging.log4j.Logger;
import net.minecraft.entity.player.EntityPlayer;
@@ -29,8 +29,8 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
@Mod(modid = CanSleepAtTest.MODID, name = "CanSleepAtTest", version = "0.0.0", acceptableRemoteVersions = "*")
public class CanSleepAtTest
@Mod(modid = WorldProviderCanSleepAtTest.MODID, name = "Can Sleep At Test", version = "0.0.0", acceptableRemoteVersions = "*")
public class WorldProviderCanSleepAtTest
{
public static final String MODID = "can_sleep_at_test";
public static final boolean ENABLED = false;
@@ -56,7 +56,7 @@ public class CanSleepAtTest
@Override
public DimensionType getDimensionType()
{
return CanSleepAtTest.dimType;
return WorldProviderCanSleepAtTest.dimType;
}
@Override