* Reduced default max screen resolution to 1920x1080
* Fixed bug causing crash when breaking the screen block which holds the tile entity * Updated README
This commit is contained in:
parent
aeac185a67
commit
e11bfed9fd
12
README.md
12
README.md
|
|
@ -1,8 +1,16 @@
|
||||||
# WebDisplays for Minecraft 1.12.2
|
# WebDisplays for Minecraft 1.12.2
|
||||||
This is the unfinished port of the WebDisplays mod for Minecraft 1.12.2. The text below is my "TODO" list.
|
This is the unfinished port of the WebDisplays mod for Minecraft 1.12.2. The text below is my "TODO" list.
|
||||||
|
|
||||||
### TODO
|
### Bugs to fix
|
||||||
* TESTING
|
* Middle-click bug
|
||||||
|
* Limit screen size
|
||||||
|
* Bugged friend list
|
||||||
|
* Multiply volume by game volume
|
||||||
|
* Memory leak (screens aren't deleted?!?)
|
||||||
|
* GUIs are not closed blocks gets destroyed
|
||||||
|
|
||||||
|
### Things before release
|
||||||
|
* Fix bugs (obviously)
|
||||||
* "Anti-9minecraft"
|
* "Anti-9minecraft"
|
||||||
* Write wiki
|
* Write wiki
|
||||||
* Update website
|
* Update website
|
||||||
|
|
|
||||||
|
|
@ -123,8 +123,8 @@ public class WebDisplays {
|
||||||
Property hardRecipe = cfg.get("main", "hardRecipes", true);
|
Property hardRecipe = cfg.get("main", "hardRecipes", true);
|
||||||
Property homePage = cfg.get("main", "homepage", "mod://webdisplays/main.html");
|
Property homePage = cfg.get("main", "homepage", "mod://webdisplays/main.html");
|
||||||
Property disableOT = cfg.get("main", "disableOwnershipThief", false);
|
Property disableOT = cfg.get("main", "disableOwnershipThief", false);
|
||||||
Property maxResX = cfg.get("main", "maxResolutionX", 7680);
|
Property maxResX = cfg.get("main", "maxResolutionX", 1920);
|
||||||
Property maxResY = cfg.get("main", "maxResolutionY", 4320);
|
Property maxResY = cfg.get("main", "maxResolutionY", 1080);
|
||||||
Property miniservPort = cfg.get("main", "miniservPort", 25566);
|
Property miniservPort = cfg.get("main", "miniservPort", 25566);
|
||||||
Property miniservQuota = cfg.get("main", "miniservQuota", 1024); //It's stored as a string anyway
|
Property miniservQuota = cfg.get("main", "miniservQuota", 1024); //It's stored as a string anyway
|
||||||
Property loadDistance = cfg.get("client", "loadDistance", 30.0);
|
Property loadDistance = cfg.get("client", "loadDistance", 30.0);
|
||||||
|
|
|
||||||
|
|
@ -1059,6 +1059,9 @@ public class TileEntityScreen extends TileEntity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldRefresh(World world, BlockPos pos, @Nonnull IBlockState oldState, @Nonnull IBlockState newState) {
|
public boolean shouldRefresh(World world, BlockPos pos, @Nonnull IBlockState oldState, @Nonnull IBlockState newState) {
|
||||||
|
if(oldState.getBlock() != WebDisplays.INSTANCE.blockScreen || newState.getBlock() != WebDisplays.INSTANCE.blockScreen)
|
||||||
|
return true;
|
||||||
|
|
||||||
return oldState.getValue(BlockScreen.hasTE) != newState.getValue(BlockScreen.hasTE);
|
return oldState.getValue(BlockScreen.hasTE) != newState.getValue(BlockScreen.hasTE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user