Last Minute changes 0.0.5

- Fixed inconsistent version
- Added control tooltip for scroll inputs
- Particles of symmetrically broken blocks appear at the correct location
- Fixed crash in schematictable when refreshing an emptied folder
This commit is contained in:
simibubi 2019-08-06 21:51:02 +02:00
parent 8c7ba5f024
commit 5e9950ba98
6 changed files with 21 additions and 24 deletions

View file

@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
version = '0.0.5' version = 'mc1.14.4_v0.0.5'
group = 'com.simibubi.create' group = 'com.simibubi.create'
archivesBaseName = 'create' archivesBaseName = 'create'
@ -23,18 +23,7 @@ minecraft {
mappings channel: 'snapshot', version: '20190806-1.14.3' mappings channel: 'snapshot', version: '20190806-1.14.3'
runs { runs {
createDev { client {
workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
mods {
create {
source sourceSets.main
}
}
}
createSimi {
workingDirectory project.file('run') workingDirectory project.file('run')
property 'forge.logging.console.level', 'info' property 'forge.logging.console.level', 'info'
mods { mods {
@ -44,7 +33,7 @@ minecraft {
} }
} }
createServer { server {
workingDirectory project.file('run') workingDirectory project.file('run')
property 'forge.logging.console.level', 'info' property 'forge.logging.console.level', 'info'
mods { mods {
@ -54,7 +43,7 @@ minecraft {
} }
} }
createData { data {
workingDirectory project.file('run') workingDirectory project.file('run')
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug' property 'forge.logging.console.level', 'debug'
@ -77,7 +66,7 @@ jar {
attributes([ attributes([
"Specification-Title": "create", "Specification-Title": "create",
"Specification-Vendor": "simibubi", "Specification-Vendor": "simibubi",
"Specification-Version": "1", // We are version 1 of ourselves "Specification-Version": "1",
"Implementation-Title": project.name, "Implementation-Title": project.name,
"Implementation-Version": "${version}", "Implementation-Version": "${version}",
"Implementation-Vendor" :"simibubi", "Implementation-Vendor" :"simibubi",

View file

@ -42,6 +42,7 @@ public class SelectionScrollInput extends ScrollInput {
result.append(TextFormatting.GRAY).append("> ").append(options.get(i)); result.append(TextFormatting.GRAY).append("> ").append(options.get(i));
toolTip.add(result.toString()); toolTip.add(result.toString());
} }
toolTip.add(TextFormatting.DARK_GRAY + "" + TextFormatting.ITALIC + "Scroll to Select");
} }
} }

View file

@ -120,7 +120,7 @@ public class BuilderGunHandler {
if (player == null) if (player == null)
return; return;
cachedBeams.removeIf(b -> b.itensity < .1f); cachedBeams.removeIf(b -> b.itensity < .1f);
cachedBeams.forEach(b -> b.itensity *= .7f); cachedBeams.forEach(b -> b.itensity *= .4f);
lastLeftHandAnimation = leftHandAnimation; lastLeftHandAnimation = leftHandAnimation;
lastRightHandAnimation = rightHandAnimation; lastRightHandAnimation = rightHandAnimation;

View file

@ -52,8 +52,9 @@ public class SchematicTableScreen extends AbstractSimiContainerScreen<SchematicT
Create.cSchematicLoader.refresh(); Create.cSchematicLoader.refresh();
List<String> availableSchematics = Create.cSchematicLoader.getAvailableSchematics(); List<String> availableSchematics = Create.cSchematicLoader.getAvailableSchematics();
schematicsLabel = new Label(mainLeft + 36, mainTop + 26, "").withShadow();
schematicsLabel.text = "";
if (!availableSchematics.isEmpty()) { if (!availableSchematics.isEmpty()) {
schematicsLabel = new Label(mainLeft + 36, mainTop + 26, "").withShadow();
schematicsArea = new SelectionScrollInput(mainLeft + 33, mainTop + 23, 134, 14).forOptions(availableSchematics) schematicsArea = new SelectionScrollInput(mainLeft + 33, mainTop + 23, 134, 14).forOptions(availableSchematics)
.titled("Available Schematics").writingTo(schematicsLabel); .titled("Available Schematics").writingTo(schematicsLabel);
widgets.add(schematicsArea); widgets.add(schematicsArea);
@ -186,9 +187,15 @@ public class SchematicTableScreen extends AbstractSimiContainerScreen<SchematicT
Create.cSchematicLoader.refresh(); Create.cSchematicLoader.refresh();
List<String> availableSchematics = Create.cSchematicLoader.getAvailableSchematics(); List<String> availableSchematics = Create.cSchematicLoader.getAvailableSchematics();
widgets.remove(schematicsArea); widgets.remove(schematicsArea);
schematicsArea = new SelectionScrollInput(guiLeft - 56 + 33, guiTop - 16 + 23, 134, 14).forOptions(availableSchematics)
.titled("Available Schematics").writingTo(schematicsLabel); if (!availableSchematics.isEmpty()) {
widgets.add(schematicsArea); schematicsArea = new SelectionScrollInput(guiLeft - 56 + 33, guiTop - 16 + 23, 134, 14).forOptions(availableSchematics)
.titled("Available Schematics").writingTo(schematicsLabel);
widgets.add(schematicsArea);
} else {
schematicsArea = null;
schematicsLabel.text = "";
}
} }
return super.mouseClicked(p_mouseClicked_1_, p_mouseClicked_3_, p_mouseClicked_5_); return super.mouseClicked(p_mouseClicked_1_, p_mouseClicked_3_, p_mouseClicked_5_);

View file

@ -267,7 +267,7 @@ public class SymmetryWandItem extends Item {
continue; continue;
} else { } else {
targets.add(position); targets.add(position);
world.playEvent(2001, pos, Block.getStateId(blockstate)); world.playEvent(2001, position, Block.getStateId(blockstate));
world.setBlockState(position, air, 3); world.setBlockState(position, air, 3);
if (!player.isCreative()) { if (!player.isCreative()) {

View file

@ -4,7 +4,7 @@ loaderVersion="[28,)"
[[mods]] [[mods]]
modId="create" modId="create"
version="0.0.4" version="0.0.5"
displayName="Create" displayName="Create"
#updateJSONURL="" #updateJSONURL=""
authors="simibubi" authors="simibubi"