<feed xmlns='http://www.w3.org/2005/Atom'>
<title>github/GT5-Unofficial.git/src/main/java/gregtech/api/objects/blockupdate, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/GT5-Unofficial.git/'/>
<entry>
<title>Cleanup the codebase (#3311)</title>
<updated>2024-10-02T05:31:08+00:00</updated>
<author>
<name>Alexdoru</name>
<email>57050655+Alexdoru@users.noreply.github.com</email>
</author>
<published>2024-10-02T05:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/GT5-Unofficial.git/commit/?id=3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3'/>
<id>3b9bd1188e932e6bb8041f7bb9afbf3ce75e26d3</id>
<content type='text'>
Co-authored-by: boubou19 &lt;miisterunknown@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: boubou19 &lt;miisterunknown@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>A new approach for block updates in BaseMetaTileEntity (#2342)</title>
<updated>2023-10-21T10:16:22+00:00</updated>
<author>
<name>iamblackornot</name>
<email>nkzshinnik@gmail.com</email>
</author>
<published>2023-10-21T10:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nea.moe/github/GT5-Unofficial.git/commit/?id=a2e23af5cbd85d085ce2003402560aad4bb87a52'/>
<id>a2e23af5cbd85d085ce2003402560aad4bb87a52</id>
<content type='text'>
* - added 0,5s cooldown on BaseMetaTileEntity texture render update

* - changed to RandomCooldown to make visual representation of the target object more relevant to its state

* - implemented a BlockUpdateHandler, making the update cooldowns chunk-based
- left commented out debug code

* - now BaseMetaTileEntity tracks last time a texture update was issued and skips update if parent chunk was already updated since last update issue

* - reworked BlockUpdateHandler to a singleton doing update work on client tick, this way update logic is fully encapsulated and gets rid of some comparisons needed to sync updates

* - fixed a bug with crash on quitting the game
- forgot to add moved sources
- cleaned up debug code
- added description commentary

* - updated buildscript

* - switched to internal tick counter, cause server time is unreliable and crashes client https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14742
- removed subclass aliases
- switched to XSTR instead of java's Random
- IllegalArugmentException instead of InvalidParameterException
- added client side config option to enable/disable this feature (by default is off)

---------

Co-authored-by: iamblackornot &lt;nkzshinnnik@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* - added 0,5s cooldown on BaseMetaTileEntity texture render update

* - changed to RandomCooldown to make visual representation of the target object more relevant to its state

* - implemented a BlockUpdateHandler, making the update cooldowns chunk-based
- left commented out debug code

* - now BaseMetaTileEntity tracks last time a texture update was issued and skips update if parent chunk was already updated since last update issue

* - reworked BlockUpdateHandler to a singleton doing update work on client tick, this way update logic is fully encapsulated and gets rid of some comparisons needed to sync updates

* - fixed a bug with crash on quitting the game
- forgot to add moved sources
- cleaned up debug code
- added description commentary

* - updated buildscript

* - switched to internal tick counter, cause server time is unreliable and crashes client https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14742
- removed subclass aliases
- switched to XSTR instead of java's Random
- IllegalArugmentException instead of InvalidParameterException
- added client side config option to enable/disable this feature (by default is off)

---------

Co-authored-by: iamblackornot &lt;nkzshinnnik@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
