* remove direct guava predicates from BlockStateMachine
* cleanup blockstatebasic
* fix a large number of e.printStacktrace calls, narrow ComputerIntegration exception signature
* fix simple todos, remove invalid todos, unify some duplicate rendering code
* use a generic method to get around unchecked warning
* remove some redundant uses of hasCapability
* experimental OptionalCapability class. not in use yet
* nullable checks/annotations & remove duplicate field controlType in factory TE
* Inline various redundant variables
* Remove unused list
* Cleanup BlockStateGenerator
* Replace string constants with pointers to the proper mod id constant
* As 9.7.5 breaks backwards compat API wise for the DynamicNetwork this is as good a time as any to remove this deprecated method
* Use two argument constructor instead of appending a ':' inbetween
* Convert other BlockState type classes to using suppliers for tile entity creation
* First pass reformatting code to be more readable (common still not done)
* Replace google common collect calls with Java calls where possible
* Remove a bunch of unnecessary parenthesis leaving clarifying ones
* Add some missing @Nonnull annotations
* Fix checking wrong type
* Remove unnecessary continue/return statements and simplify comparision check
* Pass exception instead of directly printing stack trace
* Work on cleaning up common, through config so far
* Work on cleaning up common, through integration so far
* Work on cleaning up common, through network so far
* Work on cleaning up common, through tier so far
* Remove empty constructors that get created by default anyways
* Work on cleaning up common, through transmitters so far
* Work on cleaning up common, through utils so far
* Finish cleaning up spacing for common
* Shift keybinds to a builder pattern to avoid the array length issue, use Bitsets for the boolean arrays, remove unused and redundant constructor
* Use proper lang keys for KeyBinding creation instead of pre-localising
* WIP tidy keyhandler tick method
* more key handler tidying
* tweak handler to use translation placeholders so languages can reconfigure the foo: bar display
* add todo
* move tank, bow & flamethrower keys to use string format placeholders
* fix NPE on configurator changes
* nullable annotations
* prefix keybind lang keys with modid
* make datafixers into their own thing
* make a datafixer base class
* remove keybind fixer, options datafixers dont work
* Revert "remove keybind fixer, options datafixers dont work"
This reverts commit c57f6c1b05ed6b26e7fb7774bada4ca53f6c655e.
* datafix the keybinds to the new format
* documentation
* Remove unused import and extra dash from runClient args
* Add support for configurable machines storage.
* Make factories and tooltips use machine storage from config. Renaming.
- Renamed config instance members, to reduce redundancy
- Made machines get Storage and Usage from MachineType
- Other miscellaneous cosmetic changes on the matter
* Update ItemBlockMachine.java
* Tweak factories to always have storage needed to run all processes.
* Add storage config to PacketConfigSync.
* Use security utils for checking access to teleporter and quantum entangloporter
Also add the security tab to the corresponding gui's
* Ensure tile gets saved when security mode changes
* prevent Out of Bounds exception in factory ItemMeshDefinition
* prevent Out of Bounds error in item stack display name
* Respect NONE connection between pipes. Fixes#4781
* prevent fluid/gas pipes from connecting if their contents arent the same (part 1)
* prevent some case of incorrect network merges that would convert/void a fluid/gas
* Add a way to check if a network is compatible with an buffer
Used for checking the orphan's buffer against the external network
* rename some generic type variables for readability
* introduce BUFFER generic type variable
* Fix missing null check causing new pipes not being able to be added to a network
* More checks for when there is an invalid factory
* bump api version & use a constant for all
* add default method to not break binary compat
* Refresh if a connection exists if a transmitter failed to combine two networks
Fallback to the network's buffer as if we have not saved any data yet the TE's buffer may still be null
* Add a way to get the pipes buffer falling back to the network, rather than doing it from the same method. This ensures that there is no accidental leakage where the count of the buffer matters
* Return a null buffer for pressurized tube buffer if the stack is empty
* Allow merging of networks when they are able to connect again
Visuals still need a minor update to sync the type it should be rendering
* Update network visuals when networks merge
* allow unconnected sides to have their mode set - except logistical transporters which already used that function, they only can un-NONE their unconnected sides
* Add back the voice server defaulted to disabled
* Port 098472a make voice output properly sleepy
* Cleanup some of the voice server code
* Keep track of UUID in VoiceConnection instead of username
* Collapse a few missed error logging into stack trace printing
* Add tooltip to walkie talkie when voice server is disabled
* Fix single player crash if voice server is enabled after launch before world start
* Port 72251446f make many more Mekanism fluid renderers Stack aware for NBT purposes
* Make it a bit easier to see osmium in the compressor
* fix a missed stack color get
* move osmium gas colour back to a more vibrant blue for contrast reasons
* Add comments to configs
* Removed unused options
* Added a few of the newer options mainline Mekanism supports
* Also list the default values in the MekanismConfig class for easier comparision
* Change spacing slightly for tools config in code
* Add some of the missing generator config comments
* Config comments for tiers, and add missing comment for MinerSilkMultiplier
* Config comments for rest of generators module
* Fix which stick to sawdust recipe
* Config comments for tools
* Config comments for armor
* Add warning to DM radius comment, and fix a couple things addressed in PR comments
* Update dependencies for dev environment to have latest versions
* Fix depreated method usage for JEI
* Add Deprecated annotation to methods overriding a deprecated method
* Fix various Deprecated method calls
* Slightly clean up gui code based on IntelliJ inspections
* Remove some unused variables/calculations from the gui code
* Remove some unused variables/calculations from the generator gui code
* Create a bit of hierarchy for Gui's that keep track of TileEntities
* Cleanup Gui Element having majority of variables as public
* Cleanup some duplicate math
* Store tile entity type in a less duplicated manner
* Cleanup Gui ResourceLocation handling. Makes it easier to read the code
* Switch adding to a method
* Switch remaining GUI variables to private/protected
* Partially cleanup Gui Filter code
* Cleanup some of the Chemical Gui Code
* Fix missing a few files in last commit
* Improve handling of Tile Entities in GUIs
The previous commit made the assumption that detection of sound being complete was fast enough
that restarting a well-designed sound would be seamless -- this is not true. As such, had
to change sounds to run for as long as machine is active on repeat with ongoing detection of
muffling attempts. In addition, if sound was INITIALLY muffled, it would never have been unmuffled,
so this also fixes that problem.
* 1.11:
remove some now redundant variable assignments
add `FMLAT` line to core jar manifest
Use ATed methods & fields instead of ReflectionUtils. Removed ObfuscatedNames as no longer needed.
add access transformer
Conflicts:
src/main/java/mekanism/client/render/MekanismRenderer.java
src/main/java/mekanism/common/ObfuscatedNames.java
src/main/java/mekanism/common/network/PacketPortableTeleporter.java
Redundent assignments
Wrong comparison of string with MRL
Unneeded reflection
Try with resources
Metallurgy compat deleted (was outcommented) not updated since MC 1.7.10
Add new type "SideConfig" which is observable, this could come in handy
later.
Add hasSideForData method in componentConfig, which is much more
efficient than calling getSidesForData().contains.
Refactor duplicate calls to getConfig into single instances. getConfig
is a nontrivial method.