Returns the list of images currently open.
>>> gimp.image_list()
Return the last opened image reference.
>>> pdb.gimp.image_list()[0]
Find a layer with a given name in an image.
---Returns fog instance. | |
---@return ClimateManager.ClimateFloat | |
local function getFogIntensity() | |
return getClimateManager():getClimateFloat(5); | |
end | |
---Update fog intensity with given value | |
---@param value Float | |
local function updateFogIntensity(value) |
/** | |
* Generates project changelog using github-changelog-generator | |
* https://github.com/github-changelog-generator/github-changelog-generator | |
*/ | |
tasks.register("generateChangelog", Exec.class) { | |
it.description 'Generate a project changelog.' | |
it.group 'documentation' | |
def commandArgs = [ |
Returns the list of images currently open.
>>> gimp.image_list()
Return the last opened image reference.
>>> pdb.gimp.image_list()[0]
Find a layer with a given name in an image.
buildscript { | |
repositories { | |
maven { url = 'https://files.minecraftforge.net/maven' } | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true | |
} | |
} |
import net.minecraft.client.MainWindow; | |
public class GuiHelper { | |
public static final int DEFAULT_WINDOW_WIDTH = 427; | |
public static final int DEFAULT_WINDOW_HEIGHT = 240; | |
public static class Coordinates { | |
public final int x; |
buildscript { | |
repositories { | |
maven { url = 'https://files.minecraftforge.net/maven' } | |
maven { url = 'https://repo.spongepowered.org/maven' } | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true | |
classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT' |
[17Apr2020 23:49:19.630] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:ContainerHandleModLauncher.Resource(trcm-project.1.15.2-0.1.0.jar:C:\Users\Yooks\AppData\Roaming\.minecraft\mods\trcm-project.1.15.2-0.1.0.jar)] | |
[17Apr2020 23:49:19.631] [main/DEBUG] [mixin/]: Registering mixin config: mixins.trcm.json | |
[17Apr2020 23:49:19.684] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config mixins.trcm.json | |
[17Apr2020 23:49:19.684] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153) | |
[17Apr2020 23:49:19.684] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100) | |
[17Apr2020 23:49:19.684] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.Mixins.addCo |
[*] | |
charset = utf-8 | |
end_of_line = crlf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = false | |
max_line_length = 110 | |
tab_width = 4 | |
ij_continuation_indent_size = 8 | |
ij_formatter_off_tag = @formatter:off |
spotless { | |
/* | |
* Read Spotless Java documentation here: | |
* https://diffplug.github.io/spotless/javadoc/spotless-plugin-gradle/3.25.0/ | |
*/ | |
java { | |
// Include only java source files | |
target 'src/*/java/**/*.java' | |
// A sequence of package names |
<scheme name="Classic Eclipse" version="142" parent_scheme="Default"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<metaInfo> | |
<property name="created">2020-01-25T13:07:03</property> | |
<property name="ide">Idea</property> | |
<property name="ideVersion">2019.3.2.0.0</property> | |
<property name="modified">2020-01-25T13:07:22</property> | |
<property name="originalScheme">Classic Eclipse</property> | |
</metaInfo> | |
<option name="LINE_SPACING" value="1.0" /> |