mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
15 lines
343 B
Java
15 lines
343 B
Java
package com.hbm.blocks.machine;
|
|
|
|
import net.minecraft.entity.item.EntityMinecart;
|
|
import net.minecraft.world.World;
|
|
|
|
public class RailBooster extends RailHighspeed {
|
|
|
|
@Override
|
|
public void onMinecartPass(World world, EntityMinecart cart, int y, int x, int z) {
|
|
cart.motionX *= 1.15F;
|
|
cart.motionY *= 1.15F;
|
|
cart.motionZ *= 1.15F;
|
|
}
|
|
}
|