parent
a1110b92d0
commit
30227a1e28
|
@ -13,7 +13,7 @@
|
||||||
return this.field_82707_i;
|
return this.field_82707_i;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ public static EntityClassification create(String name, String p_i50381_3_, int p_i50381_4_, boolean p_i50381_5_, boolean p_i50381_6_) {
|
+ public static EntityClassification create(String name, String id, int maxNumberOfCreatureIn, boolean isPeacefulCreatureIn, boolean isAnimalIn, int despawnDistance) {
|
||||||
+ throw new IllegalStateException("Enum not extended");
|
+ throw new IllegalStateException("Enum not extended");
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class CustomPlantTypeTest
|
||||||
|
|
||||||
public static class CustomPlantBlock extends FlowerBlock implements IPlantable
|
public static class CustomPlantBlock extends FlowerBlock implements IPlantable
|
||||||
{
|
{
|
||||||
public static PlantType pt = PlantType.get("CustomPlantType");
|
public static PlantType pt = PlantType.get("custom_plant_type");
|
||||||
|
|
||||||
public CustomPlantBlock()
|
public CustomPlantBlock()
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
package net.minecraftforge.debug.entity;
|
||||||
|
|
||||||
|
import net.minecraft.entity.EntityClassification;
|
||||||
|
import net.minecraftforge.fml.common.Mod;
|
||||||
|
|
||||||
|
@Mod("create_entity_classification_test")
|
||||||
|
public class CreateEntityClassificationTest
|
||||||
|
{
|
||||||
|
public static EntityClassification test = EntityClassification.create("TEST", "test", 1, true, true, 128);
|
||||||
|
}
|
|
@ -1,8 +1,6 @@
|
||||||
modLoader="javafml"
|
modLoader="javafml"
|
||||||
loaderVersion="[28,)"
|
loaderVersion="[28,)"
|
||||||
|
|
||||||
[[mods]]
|
|
||||||
modId="mark_dimension_for_deletion_test"
|
|
||||||
[[mods]]
|
[[mods]]
|
||||||
modId="containertypetest"
|
modId="containertypetest"
|
||||||
[[mods]]
|
[[mods]]
|
||||||
|
@ -68,3 +66,5 @@ loaderVersion="[28,)"
|
||||||
modId="stencil_enable_test"
|
modId="stencil_enable_test"
|
||||||
[[mods]]
|
[[mods]]
|
||||||
modId="deferred_registry_test"
|
modId="deferred_registry_test"
|
||||||
|
[[mods]]
|
||||||
|
modId="create_entity_classification_test"
|
Loading…
Reference in New Issue