Browse Source

More Ocean testing and another Default COnfig Pack update for Fastcraft this time

Gregorius Techneticies 2 months ago
parent
commit
267f6bc480
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 1B693EA14F2FD70F

+ 83
- 0
.defaultconfigs/config/fastcraft.ini View File

@@ -0,0 +1,83 @@
1
+; FastCraft config
2
+; created Feb 21, 2021 4:00:31 PM
3
+;---
4
+
5
+; Settings purely affecting performance, but not gameplay.
6
+; It's recommended to leave the settings in this category alone unless you are experiencing issues.
7
+[transparent tweaks]
8
+; Specify whether FastCraft should enable its texture buffering tweak (client side).
9
+; This option is a performance vs memory tradeoff, especially with large texture packs. While
10
+; enabled the native memory use is increased by between 20-50 MB for 16x texture packs and 1-2 GB
11
+; for 64x-128x texture packs with many textures. Ideally the extra memory should fit into the
12
+; graphic card's dedicated memory. The auto setting will try to estimate whether there's enough
13
+; memory and act accordingly.
14
+; The fastest setting depends on your setup.
15
+; Valid values: true, false, auto. default: auto.
16
+bufferTextureUpdates = auto
17
+; Adjust the maximum view distance permitted unless specified otherwise in the options menu or
18
+; server.properties.
19
+; This setting doesn't have any effect with Optifine installed.
20
+; Valid values: 16 - 256. default: 32.
21
+maxViewDistance = 32
22
+; Specify the minimum interval for reporting server lag in seconds.
23
+; This affects FastCraft's replacement for the vanilla "can't keep up" messages. Using a larger
24
+; setting or -1 will reduce lag related log/console spam.
25
+; There's no impact on behavior or the lag itself, but only the log warnings.
26
+; The value -1 hides all notifications, 0 shows all.
27
+; Valid values: -1 - 2147483647. default: 300.
28
+lagWarningInterval = 300
29
+; Specify whether Fastcraft should enable its culling tweaks.
30
+; This option causes parts of the world that aren't possibly visible to not be rendered.
31
+; Valid values: true, false. default: true.
32
+enableCullingTweaks = false
33
+; Specify if the font renderer may be tweaked by Fastcraft.
34
+; Disabling this setting can resolve compatibility issues with conflicting mods, but performance
35
+; with lots of rendered text may suffer.
36
+; Valid values: true, false. default: true.
37
+enableFontRendererTweaks = true
38
+
39
+; Settings for debugging and workarounds
40
+[debug]
41
+; Specify whether FastCraft should monitor biome decorator invocations to try tracking issues with
42
+; "Already decorating!!" exceptions down. This is only for investigating worldgen issues.
43
+; Activating this will decrease world generation performance slightly.
44
+; Valid values: true, false. default: false.
45
+monitorBiomeDecorators = false
46
+
47
+; Settings which have some effect on gameplay or visuals.
48
+; Change them for better performance or when experiencing issues.
49
+[extra tweaks]
50
+; Disable animated textures, making them static.
51
+; true = faster
52
+; Valid values: true, false. default: false.
53
+disableAnimations = false
54
+; Use asynchronous culling, i.e. check if parts in the world are visible in a thread.
55
+; Some graphics glitches may result from using it, culling data can be delayed up to 1 frame.
56
+; true = faster
57
+; Valid values: true, false. default: false.
58
+asyncCulling = false
59
+; Allow entities with custom name tags to be culled.
60
+; This is a workaround to allow using "invisible" entities for billboard text. They normally have
61
+; invalid bounding boxes, which are incompatible with Fastcraft's culling checks.
62
+; Valid values: true, false. default: false.
63
+cullNamedEntities = false
64
+; Specify whether unicode text should be rendered at an increased size to approximately match the
65
+; non-unicode font size.
66
+; The setting won't have any effect if enableFontRendererTweaks is set to false or another reason
67
+; prevents Fastcraft from applying font renderer code edits like a known incompatibility.
68
+; Valid values: true, false. default: false.
69
+resizeUnicodeText = false
70
+
71
+; This section allows to adjust incorrect or overly frequent worldrenderer update calls as seen in
72
+; various mods. Normally those calls cause the server to re-send the affected area and the client
73
+; to redraw it, while often only the former is desired.
74
+; The issue is ideally fixed by the mods themselves, this section helps until that's done. If you
75
+; are the mod author of a mod listed in here by default, feel free to contact Player for help
76
+; fixing these issues.
77
+; The syntax is: <class>.<method>=<action>, e.g. my.class=syncte.
78
+; Actions (values) currently available are:
79
+; - ignore: Ignore the calls entirely.
80
+; - syncte: Only synchronize the tile entity at the specified position to the client, no redraw.
81
+; Valid values: ignore, syncte.
82
+[worldrenderer updates]
83
+

+ 2
- 1
src/main/java/gregapi/render/RendererBlockFluid.java View File

@@ -31,10 +31,11 @@ import net.minecraft.util.IIcon;
31 31
 import net.minecraft.util.MathHelper;
32 32
 import net.minecraft.world.IBlockAccess;
33 33
 import net.minecraftforge.fluids.BlockFluidBase;
34
+import net.minecraftforge.fluids.FluidRegistry;
34 35
 import net.minecraftforge.fluids.IFluidBlock;
35 36
 
36 37
 public class RendererBlockFluid implements ISimpleBlockRenderingHandler {
37
-	public static int RENDER_ID = 0;
38
+	public static int RENDER_ID = FluidRegistry.renderIdFluid;
38 39
 	public static RendererBlockFluid INSTANCE;
39 40
 	
40 41
 	public RendererBlockFluid(int aRenderID) {

+ 2
- 2
src/main/java/gregtech/worldgen/WorldgenOcean.java View File

@@ -67,8 +67,8 @@ public class WorldgenOcean extends WorldgenObject {
67 67
 				
68 68
 				if (tPlacedNone) {
69 69
 					BlockOcean.PLACEMENT_ALLOWED = T;
70
-					aWorld.setBlock(aMinX+tX, tY, aMinZ+tZ, BlocksGT.Ocean, 0, 2);
71
-					BlockOcean.PLACEMENT_ALLOWED = T;
70
+					aWorld.setBlock(aMinX+tX, tY, aMinZ+tZ, BlocksGT.Ocean, 0, 0);
71
+					BlockOcean.PLACEMENT_ALLOWED = F;
72 72
 					tPlacedNone = F;
73 73
 				} else {
74 74
 					tStorage.func_150818_a(tX, tY & 15, tZ, BlocksGT.Ocean);

+ 2
- 2
src/main/java/gregtech/worldgen/WorldgenRiver.java View File

@@ -67,8 +67,8 @@ public class WorldgenRiver extends WorldgenObject {
67 67
 				
68 68
 				if (tPlacedNone) {
69 69
 					BlockRiver.PLACEMENT_ALLOWED = T;
70
-					aWorld.setBlock(aMinX+tX, tY, aMinZ+tZ, BlocksGT.River, 0, 2);
71
-					BlockRiver.PLACEMENT_ALLOWED = T;
70
+					aWorld.setBlock(aMinX+tX, tY, aMinZ+tZ, BlocksGT.River, 0, 0);
71
+					BlockRiver.PLACEMENT_ALLOWED = F;
72 72
 					tPlacedNone = F;
73 73
 				} else {
74 74
 					tStorage.func_150818_a(tX, tY & 15, tZ, BlocksGT.River);

+ 1
- 1
src/main/java/gregtech/worldgen/WorldgenSwamp.java View File

@@ -68,7 +68,7 @@ public class WorldgenSwamp extends WorldgenObject {
68 68
 				
69 69
 				if (tPlacedNone) {
70 70
 					BlockSwamp.PLACEMENT_ALLOWED = T;
71
-					aWorld.setBlock(aMinX+tX, tY, aMinZ+tZ, BlocksGT.Swamp, 0, 2);
71
+					aWorld.setBlock(aMinX+tX, tY, aMinZ+tZ, BlocksGT.Swamp, 0, 0);
72 72
 					BlockSwamp.PLACEMENT_ALLOWED = F;
73 73
 					tPlacedNone = F;
74 74
 				} else {

Loading…
Cancel
Save