mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 15:03:04 +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});
|
||||
}
|
||||
}
|
||||
@@ -69,4 +69,6 @@ loaderVersion="[28,)"
|
||||
[[mods]]
|
||||
modId="create_entity_classification_test"
|
||||
[[mods]]
|
||||
modId="ender_mask_test"
|
||||
modId="ender_mask_test"
|
||||
[[mods]]
|
||||
modId="raid_enum_test"
|
||||
Reference in new issue
Block a user