Tweaks for ocelots. fix mcmod.info
This commit is contained in:
parent
00b8a500d9
commit
8b48a515f1
|
@ -12,7 +12,7 @@ import net.minecraftforge.event.entity.living.LivingSpecialSpawnEvent;
|
||||||
public class OcelotsSitOnChestsHandler {
|
public class OcelotsSitOnChestsHandler {
|
||||||
@ForgeSubscribe
|
@ForgeSubscribe
|
||||||
public void changeSittingTaskForOcelots(LivingEvent.LivingUpdateEvent evt) {
|
public void changeSittingTaskForOcelots(LivingEvent.LivingUpdateEvent evt) {
|
||||||
if (evt.entityLiving instanceof EntityOcelot && evt.entityLiving.ticksExisted < 5)
|
if (evt.entityLiving.ticksExisted < 5 && evt.entityLiving instanceof EntityOcelot)
|
||||||
{
|
{
|
||||||
EntityOcelot ocelot = (EntityOcelot) evt.entityLiving;
|
EntityOcelot ocelot = (EntityOcelot) evt.entityLiving;
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"modid": "mod_IronChest",
|
"modid": "IronChest",
|
||||||
"name": "Iron Chest",
|
"name": "Iron Chest",
|
||||||
"description": "New chests with larger sizes, with in-place upgrade items.
|
"description": "New chests with larger sizes, with in-place upgrade items.
|
||||||
The feature chest is the crystal chest, which is transparent - some inventory contents are visible without opening the chest",
|
The feature chest is the crystal chest, which is transparent - some inventory contents are visible without opening the chest",
|
||||||
"version": "@VERSION@",
|
"version": "@VERSION@",
|
||||||
"mcversion": "1.2.5",
|
"mcversion": "1.2.5",
|
||||||
|
|
Loading…
Reference in New Issue