texture update
@ -20,6 +20,7 @@
|
|||||||
* Treasures are no longer senselessly progression breaking, radioactive or plain stupid (whole-ass machines inside meteorites)
|
* Treasures are no longer senselessly progression breaking, radioactive or plain stupid (whole-ass machines inside meteorites)
|
||||||
* The treasure now consists of mainly some rarer earlygame ingots, circuits, some gear, a small selection of armor mods and alexandrite (rare)
|
* The treasure now consists of mainly some rarer earlygame ingots, circuits, some gear, a small selection of armor mods and alexandrite (rare)
|
||||||
* Schraranium processing now yields neptunium as a byproduct instead of plutonium, making neptunium easier to automate outside of the cyclotron
|
* Schraranium processing now yields neptunium as a byproduct instead of plutonium, making neptunium easier to automate outside of the cyclotron
|
||||||
|
* Using the guide book now opens a link to the new wiki
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
* Fixed DFC receivers not outputting power
|
* Fixed DFC receivers not outputting power
|
||||||
|
|||||||
@ -120,87 +120,11 @@ public class Guide extends Block implements ILookOverlay {
|
|||||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
|
||||||
|
|
||||||
if(world.isRemote && !player.isSneaking()) {
|
if(world.isRemote && !player.isSneaking()) {
|
||||||
for(int i = 0; i < 10; i++) {
|
MainRegistry.proxy.openLink("https://nucleartech.wiki/wiki/Main_Page");
|
||||||
MainRegistry.proxy.openLink(/*"https://ntm.fandom.com/wiki/HBM%27s_Nuclear_Tech_Wiki"*/ "https://www.youtube.com/watch?v=dQw4w9WgXcQ");
|
|
||||||
MainRegistry.proxy.openLink("https://gist.githubusercontent.com/HbmMods/ce11ffd908e98d4159f89011aca5c0b1/raw/5cbb1afdca06648319ee4293516f3c5f7cc448ca/go%2520fuck%2520yourself");
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.onBlockActivated(world, x, y, z, player, side, hitX, hitY, hitZ);
|
return super.onBlockActivated(world, x, y, z, player, side, hitX, hitY, hitZ);
|
||||||
|
|
||||||
/*if(!player.isSneaking())
|
|
||||||
{
|
|
||||||
|
|
||||||
ItemStack book1 = new ItemStack(Items.written_book);
|
|
||||||
book1.stackTagCompound = new NBTTagCompound();
|
|
||||||
book1.stackTagCompound.setString("author", "HbMinecraft");
|
|
||||||
book1.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 1: Resources");
|
|
||||||
NBTTagList pages1 = new NBTTagList();
|
|
||||||
|
|
||||||
for(String s : Library.book1) {
|
|
||||||
pages1.appendTag(new NBTTagString(s));
|
|
||||||
}
|
|
||||||
|
|
||||||
book1.stackTagCompound.setTag("pages", pages1);
|
|
||||||
player.inventory.addItemStackToInventory(book1);
|
|
||||||
|
|
||||||
ItemStack book2 = new ItemStack(Items.written_book);
|
|
||||||
book2.stackTagCompound = new NBTTagCompound();
|
|
||||||
book2.stackTagCompound.setString("author", "HbMinecraft");
|
|
||||||
book2.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 2: Machines");
|
|
||||||
NBTTagList pages2 = new NBTTagList();
|
|
||||||
|
|
||||||
for(String s : Library.book2) {
|
|
||||||
pages2.appendTag(new NBTTagString(s));
|
|
||||||
}
|
|
||||||
|
|
||||||
book2.stackTagCompound.setTag("pages", pages2);
|
|
||||||
player.inventory.addItemStackToInventory(book2);
|
|
||||||
|
|
||||||
ItemStack book3 = new ItemStack(Items.written_book);
|
|
||||||
book3.stackTagCompound = new NBTTagCompound();
|
|
||||||
book3.stackTagCompound.setString("author", "HbMinecraft");
|
|
||||||
book3.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 3: Bombs");
|
|
||||||
NBTTagList pages3 = new NBTTagList();
|
|
||||||
|
|
||||||
for(String s : Library.book3) {
|
|
||||||
pages3.appendTag(new NBTTagString(s));
|
|
||||||
}
|
|
||||||
|
|
||||||
book3.stackTagCompound.setTag("pages", pages3);
|
|
||||||
player.inventory.addItemStackToInventory(book3);
|
|
||||||
|
|
||||||
ItemStack book4 = new ItemStack(Items.written_book);
|
|
||||||
book4.stackTagCompound = new NBTTagCompound();
|
|
||||||
book4.stackTagCompound.setString("author", "HbMinecraft");
|
|
||||||
book4.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 4: Missiles");
|
|
||||||
NBTTagList pages4 = new NBTTagList();
|
|
||||||
|
|
||||||
for(String s : Library.book4) {
|
|
||||||
pages4.appendTag(new NBTTagString(s));
|
|
||||||
}
|
|
||||||
|
|
||||||
book4.stackTagCompound.setTag("pages", pages4);
|
|
||||||
player.inventory.addItemStackToInventory(book4);
|
|
||||||
|
|
||||||
ItemStack book5 = new ItemStack(Items.written_book);
|
|
||||||
book5.stackTagCompound = new NBTTagCompound();
|
|
||||||
book5.stackTagCompound.setString("author", "HbMinecraft");
|
|
||||||
book5.stackTagCompound.setString("title", "Hbm's Nuclear Tech Mod Part 5: Misc");
|
|
||||||
NBTTagList pages5 = new NBTTagList();
|
|
||||||
|
|
||||||
for(String s : Library.book5) {
|
|
||||||
pages5.appendTag(new NBTTagString(s));
|
|
||||||
}
|
|
||||||
|
|
||||||
book5.stackTagCompound.setTag("pages", pages5);
|
|
||||||
player.inventory.addItemStackToInventory(book5);
|
|
||||||
|
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@ -134,6 +134,9 @@ public class MachineICFController extends BlockContainer {
|
|||||||
icf.coreZ = z;
|
icf.coreZ = z;
|
||||||
icf.markDirty();
|
icf.markDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
controller.setup(ports, cells, emitters, capacitors, turbochargers);
|
||||||
|
controller.markDirty();
|
||||||
}
|
}
|
||||||
controller.assembled = !errored;
|
controller.assembled = !errored;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
package com.hbm.tileentity.machine;
|
package com.hbm.tileentity.machine;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.hbm.tileentity.TileEntityTickingBase;
|
import com.hbm.tileentity.TileEntityTickingBase;
|
||||||
@ -21,6 +22,10 @@ public class TileEntityICFController extends TileEntityTickingBase implements IE
|
|||||||
|
|
||||||
public boolean assembled;
|
public boolean assembled;
|
||||||
|
|
||||||
|
public void setup(HashSet<BlockPos> ports, HashSet<BlockPos> cells, HashSet<BlockPos> emitters, HashSet<BlockPos> capacitors, HashSet<BlockPos> turbochargers) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getInventoryName() {
|
public String getInventoryName() {
|
||||||
return "container.icfController";
|
return "container.icfController";
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 376 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 684 B After Width: | Height: | Size: 706 B |
|
Before Width: | Height: | Size: 614 B |
|
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 704 B |
|
Before Width: | Height: | Size: 715 B After Width: | Height: | Size: 778 B |