Skip to content

Commit

Permalink
Fixed some typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
halvors committed May 9, 2018
1 parent 717a25b commit 682d7bd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public boolean isEnabled(EnumShadeType type) {
public static final RenderResizableCuboid INSTANCE = new RenderResizableCuboid();

/**
* The AO map assumes that each direction in the worldgen has a different amount of light going towards it.
* The AO map assumes that each direction in the world has a different amount of light going towards it.
*/
private static final Map<EnumFacing, Vec3d> aoMap = Maps.newEnumMap(EnumFacing.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public int getMetaFromState(final IBlockState state) {
* Checks if a specific side of a block can connect to this block. For this example, a side
* is connectable if the block is the same block as this one.
*
* @param world The worldgen to run the check in.
* @param world The world to run the check in.
* @param pos The position of the block to check for.
* @param side The side of the block to check.
* @return Whether or not the side is connectable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public boolean isInRangeToRenderDist(final double distance) {

/**
* Checks to see if a new particle can be spawned at the location.
* @param world - worldgen to check in
* @param world - world to check in
* @param pos - location to check
* @return true if the spawn location is clear and 2 electromagnets are next to the location
*/
Expand All @@ -90,7 +90,7 @@ public static boolean canSpawnParticle(final World world, final BlockPos pos) {

/**
* Checks to see if the block is an instance of IElectromagnet and is turned on
* @param world - worldgen to check in
* @param world - world to check in
* @param pos - position to look for the block/tile
* @param side - direction to check in
* @return true if the location contains an active electromagnet block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class BoilEvent extends WorldEventBase {
private final boolean reactor;

/**
* @param world - The worldgen object
* @param world - The world object
* @param pos - The position in which the boiling happens.
* @param fluidStack - The fluid being boiled.
* @param maxSpread - The maximum distance the evaporated fluid can spread.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ public class ThermalPhysics {
/**
* Temperature: 0.5f = 22C
*
* @param world - worldgen in this context
* @param world - world in this context
* @param pos - the block position
*
* @return The temperature of the coordinate in the worldgen in kelvin.
* @return The temperature of the coordinate in the world in kelvin.
*/
public static double getTemperatureForCoordinate(final World world, final BlockPos pos) {
final double worldTemperature = world.getBiome(pos).getFloatTemperature(pos);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void update() {

if (canFunction() && energyStorage.extractEnergy(ENERGY_PER_TICK, true) >= ENERGY_PER_TICK) {
if (entityParticle == null) {
// Creates a accelerated particle if one needs to exist (on worldgen load for example or player login).
// Creates an accelerated particle if one needs to exist (on world load for example or player login).
if (itemStack != null && lastSpawnTick >= 40) {
final BlockPos spawnAcceleratedParticlePos = pos.offset(facing.getOpposite());

Expand Down

0 comments on commit 682d7bd

Please sign in to comment.