Custom Model Loader
This commit is contained in:
@@ -97,7 +97,7 @@ public final class EntityChargedQuartz extends AEBaseEntityItem
|
||||
private boolean transform()
|
||||
{
|
||||
final ItemStack item = this.getItem();
|
||||
final IMaterials materials = AEApi.instance().definitions().materials();
|
||||
final IMaterials materials = Api.INSTANCE.definitions().materials();
|
||||
|
||||
if( materials.certusQuartzCrystalCharged().isSameAs( item ) )
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ public final class EntitySingularity extends AEBaseEntityItem
|
||||
|
||||
final ItemStack item = this.getItem();
|
||||
|
||||
final IMaterials materials = AEApi.instance().definitions().materials();
|
||||
final IMaterials materials = Api.INSTANCE.definitions().materials();
|
||||
|
||||
if( materials.singularity().isSameAs( item ) )
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@ public final class EntityTinyTNTPrimed extends TNTEntity implements IEntityAddit
|
||||
|
||||
if( this.isInWater() && Platform.isServer() ) // put out the fuse.
|
||||
{
|
||||
AEApi.instance().definitions().blocks().tinyTNT().maybeStack( 1 ).ifPresent( tntStack ->
|
||||
Api.INSTANCE.definitions().blocks().tinyTNT().maybeStack( 1 ).ifPresent( tntStack ->
|
||||
{
|
||||
final ItemEntity item = new ItemEntity( this.world, this.getPosX(), this.getPosY(), this.getPosZ(), tntStack );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user