mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Mark Raid.WaveMembers as an extensible enum. (#6878)
This commit is contained in:
1 parent
201349f8de
commit
0f56b4c4ee
4 files changed
+52
-1
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package net.minecraftforge.debug.world;
|
||||
|
||||
import net.minecraft.entity.EntityType;
|
||||
import net.minecraft.world.raid.Raid;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
|
||||
@Mod("raid_enum_test")
|
||||
public class RaidEnumTest
|
||||
{
|
||||
private static final boolean ENABLE = false;
|
||||
|
||||
public RaidEnumTest()
|
||||
{
|
||||
if (ENABLE)
|
||||
Raid.WaveMember.create("thebluemengroup", EntityType.ILLUSIONER, new int[]{0, 5, 0, 1, 0, 1, 0, 2});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user