Merge branch '1.12-WIP' of https://github.com/DimensionalDevelopment/DimDoors into 1.12-WIP
This commit is contained in:
commit
90d86f8e03
2 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@ public class TileEntityFloatingRiftRenderer extends TileEntitySpecialRenderer<Ti
|
|||
new Vector4f(0.5f,0.5f,-0.5f,0.5f)
|
||||
};
|
||||
|
||||
private static double angle = 0;
|
||||
private double angle = 0;
|
||||
|
||||
/**
|
||||
* Renders the rift.
|
||||
|
@ -177,7 +177,7 @@ public class TileEntityFloatingRiftRenderer extends TileEntitySpecialRenderer<Ti
|
|||
}
|
||||
|
||||
private double update(float partialTicks) {
|
||||
angle = (angle + 3 * partialTicks) % 360;
|
||||
angle = (angle + 1 * partialTicks) % 360;
|
||||
return angle;
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ public class ItemRiftSignature extends Item {
|
|||
World sourceWorld = source.getLocation().getWorld();
|
||||
sourceWorld.setBlockState(source.location.getPos(), ModBlocks.RIFT.getDefaultState());
|
||||
TileEntityRift rift2 = (TileEntityRift) source.getLocation().getTileEntity();
|
||||
rift2.setSingleDestination(new GlobalDestination(source.getLocation()));
|
||||
rift2.setSingleDestination(new GlobalDestination(rift1.getLocation()));
|
||||
rift2.setRotation(source.getYaw(), 0);
|
||||
rift2.register();
|
||||
|
||||
|
|
Loading…
Reference in a new issue