mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fixes all around, Vec3d -> Vector3d
This commit is contained in:
1 parent
2db83d754f
commit
98b74dc69b
43 files changed
+135
-138
No files matched your search
@@ -13,7 +13,7 @@ import net.minecraft.item.DyeColor;
|
||||
import net.minecraft.potion.Effect;
|
||||
import net.minecraft.potion.Effects;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
import net.minecraft.util.math.Vector3d;
|
||||
import net.minecraft.world.IBlockReader;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.server.ServerWorld;
|
||||
@@ -80,7 +80,7 @@ public class BlockModFlower extends FlowerBlock implements IGrowable {
|
||||
int r = (hex & 0xFF0000) >> 16;
|
||||
int g = (hex & 0xFF00) >> 8;
|
||||
int b = hex & 0xFF;
|
||||
Vec3d offset = state.getOffset(world, pos);
|
||||
Vector3d offset = state.getOffset(world, pos);
|
||||
double x = pos.getX() + offset.x;
|
||||
double y = pos.getY() + offset.y;
|
||||
double z = pos.getZ() + offset.z;
|
||||
|
||||
Reference in new issue
Block a user