-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
79 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,8 @@ | ||
## Added | ||
* Powered Floodlight | ||
* Uses 100HE/t to create light | ||
* Casts 15 rays in a wide beam with a maximum length of 64 blocks, each beam creates a spot with light level 15 | ||
* Floodlight can be mounted on any side and angled in any direction, angles snap to 5° increments | ||
* Angles can be adjusted after placing with a screwdriver | ||
|
||
## Changed | ||
* Changed bedrock ore processing time in the electrolyzer to 60 ticks | ||
* RF converters have been reworked | ||
* The conversion ratio from HE to RF is now 5:1 (instead of 1:4), HE is no longer way more powerful (in order to compensate for the much higher HE output starting with the first generators and becoming increasingly absurd with nuclear power) | ||
* Converters have an internal buffer again, effectively limiting throughput. The internal buffer is 1MRF and 5MHE. | ||
* The input energy buffer has a loss of 5% of its (unused) current level per tick, which means chaining up converters can not be abused to create earlygame super capacitors | ||
* The loss only takes effect once the input buffer can no longer empty into the output buffer, i.e. when energy demand is too low for the input | ||
* The buffer also fixes a bug where the HE to RF converter often behaves weirdly with certain mods, either outright destroying energy ot creating infinite energy | ||
* HE to RF converters now by default have the connection priority of LOW, only feeding into RF networks when all other energy consumers are sufficiently supplied. This can still be changed by using diodes | ||
* Converters now have configurable conversion rates as well as input decay per tick | ||
* The SILEX is now fully deterministic | ||
* Output is no longer random, instead there is now a "recipe index" which is incremented after each operation, choosing a new next output | ||
* This means that the order of outputs for any given input is fixed, and outputs are guaranteed to happen based on the recipe's total weight (most recipes have a total output weight of 100 for simplicity's sake, meaning after 100 operations the output pattern repeats, and all outputs are guaranteed to be picked) | ||
* Simplified the assembler recipes for the SILEX, FEL and all energy storage blocks (no more random wires and single ingots, fewer duplicate materials) | ||
* Turrets will now only lock onto missiles if they are descending (i.e. negative Y speed), which means that launching a missile close to a turret will not cause the turret to immediately shoot it | ||
* The fusion reactor's byproducts are now created by delay and not by chance, making the output predictable | ||
* Tritium-based fusion fuels now have a higher byproduct output rate (900 ticks instead of 1200) | ||
* Automatic crafting tables will no longer accept stacks with a stack size higher than 1 via automation, items will still accumulate and form stacks inside the crafting table, however inserters/hoppers may not transfer larger stacks in a single operation | ||
* This ensures that the items get spread out as intended instead of the inserter just placing the entire stack into one slot and then leaving the other slots empty | ||
|
||
## Fixed | ||
* Fixed issue where the NEI universal handler can not correctly display more than 4 outputs (now supports up to 8, which should cover all possible electrolyzer cases too) | ||
* Fixed the metal electrolysis duration variable not being part of the config | ||
* Removed the global energy transfer cap (only per-machine caps apply now), fixing issues where FENSUs in buffer mode would not charge past 10THE, and constantly void energy if above that threshold | ||
* Fixed a bug where the power transfer would sometimes have leftovers due to rounding errors which are send but not used up, effectively creating small amounts of energy out of nothing | ||
* Fixed ZIRNOX space checks omitting the top portion | ||
* Fixed RBMK flames and mini nuke flashes being affected by fog, turning them into glowing squares when viewed at a distance | ||
* Fixed crash caused by brimstone mines being launched from dispensers | ||
* Fixed crash caused by null entries in the furnace recipe list being picked up by the arc furnace | ||
* Fixed crash caused by the automatic crafting table's input when pattern slots are empty | ||
* Fixed crash caused by the automatic crafting table's output (pattern info was accessed OOB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/main/java/com/hbm/tileentity/IControlReceiverFilter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.hbm.tileentity; | ||
|
||
import com.hbm.interfaces.IControlReceiver; | ||
|
||
import net.minecraft.inventory.IInventory; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.nbt.NBTTagCompound; | ||
import net.minecraft.tileentity.TileEntity; | ||
|
||
public interface IControlReceiverFilter extends IControlReceiver { | ||
|
||
void nextMode(int i); | ||
|
||
@Override | ||
public default void receiveControl(NBTTagCompound data) { | ||
if(data.hasKey("slot")) { | ||
setFilterContents(data); | ||
} | ||
} | ||
|
||
/** | ||
* Expects the implementor to be a tile entity and an IInventory | ||
* @param nbt | ||
*/ | ||
public default void setFilterContents(NBTTagCompound nbt) { | ||
TileEntity tile = (TileEntity) this; | ||
IInventory inv = (IInventory) this; | ||
int slot = nbt.getInteger("slot"); | ||
inv.setInventorySlotContents(slot, new ItemStack(Item.getItemById(nbt.getInteger("id")), 1, nbt.getInteger("meta"))); | ||
nextMode(slot); | ||
tile.getWorldObj().markTileEntityChunkModified(tile.xCoord, tile.yCoord, tile.zCoord, tile); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.