added stuff to GrabDictionary

I also adjusted some number in the belt in hope to fix and issue with
stuff getting caught on the edge of a belt when a slated belt is trying
to place an item on it.
This commit is contained in:
Rseifert 2013-02-18 08:44:24 -05:00
parent 4fbea4c94e
commit b75bf7d092
2 changed files with 6 additions and 2 deletions

View file

@ -305,9 +305,9 @@ public class BlockConveyorBelt extends BlockMachine
if (slantType == SlantType.UP)
{
if (entity.motionY < 0.3)
if (entity.motionY < 0.4)
{
entity.addVelocity(0, 0.2, 0);
entity.addVelocity(0, 0.4, 0);
}
}
else if (slantType == SlantType.DOWN)

View file

@ -4,7 +4,9 @@ import java.util.ArrayList;
import java.util.List;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityBoat;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.item.EntityMinecart;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.entity.monster.EntitySkeleton;
@ -131,5 +133,7 @@ public class GrabDictionary
registerGrabableEntity("items", EntityItem.class);
registerGrabableEntity("all", Entity.class);
registerGrabableEntity("everything", Entity.class);
registerGrabableEntity("boat", EntityBoat.class);
registerGrabableEntity("cart", EntityMinecart.class);
}
}