commit
d52efa8f78
|
@ -45,8 +45,6 @@ public class PlayerStatsRegistration
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* is true if the {@link appeng.core.features.AEFeature#Achievements} is enabled in the
|
* is true if the {@link appeng.core.features.AEFeature#Achievements} is enabled in the
|
||||||
*
|
|
||||||
* @param config}
|
|
||||||
*/
|
*/
|
||||||
private final boolean isAchievementFeatureEnabled;
|
private final boolean isAchievementFeatureEnabled;
|
||||||
|
|
||||||
|
|
|
@ -364,10 +364,6 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
|
||||||
/**
|
/**
|
||||||
* Spawns an overflow item as new {@link EntityItem} into the {@link World}
|
* Spawns an overflow item as new {@link EntityItem} into the {@link World}
|
||||||
*
|
*
|
||||||
* @param w the world to spawn it
|
|
||||||
* @param x x coordinate
|
|
||||||
* @param y y coordinate
|
|
||||||
* @param z coordinate
|
|
||||||
* @param overflow the item to spawn
|
* @param overflow the item to spawn
|
||||||
*/
|
*/
|
||||||
private void spawnOverflow( final IAEItemStack overflow )
|
private void spawnOverflow( final IAEItemStack overflow )
|
||||||
|
|
|
@ -29,9 +29,9 @@ import net.minecraft.world.World;
|
||||||
/**
|
/**
|
||||||
* An interface similar to {@link Callable}, but allowing to pass the {@link World} when calling.
|
* An interface similar to {@link Callable}, but allowing to pass the {@link World} when calling.
|
||||||
*
|
*
|
||||||
* @see Callable
|
|
||||||
* @author yueh
|
* @author yueh
|
||||||
* @version rv3
|
* @version rv3
|
||||||
|
* @see Callable
|
||||||
* @since rv3
|
* @since rv3
|
||||||
*/
|
*/
|
||||||
public interface IWorldCallable<T>
|
public interface IWorldCallable<T>
|
||||||
|
@ -39,10 +39,13 @@ public interface IWorldCallable<T>
|
||||||
/**
|
/**
|
||||||
* Similar to {@link Callable#call()}
|
* Similar to {@link Callable#call()}
|
||||||
*
|
*
|
||||||
|
* @param world this param is given to not hold a reference to the world but let the caller handle it. Do not expect a world here thus can be
|
||||||
|
* <tt>null</tt>.
|
||||||
|
*
|
||||||
|
* @return result of call on the world. Can be <tt>null</tt>.
|
||||||
|
*
|
||||||
|
* @throws Exception if the call fails
|
||||||
* @see Callable#call()
|
* @see Callable#call()
|
||||||
* @param world
|
|
||||||
* @return
|
|
||||||
* @throws Exception
|
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
T call( @Nullable World world ) throws Exception;
|
T call( @Nullable World world ) throws Exception;
|
||||||
|
|
Loading…
Reference in a new issue