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

View file

@ -42,6 +42,7 @@ public class SelectionScrollInput extends ScrollInput {
result.append(TextFormatting.GRAY).append("> ").append(options.get(i));
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)
return;
cachedBeams.removeIf(b -> b.itensity < .1f);
cachedBeams.forEach(b -> b.itensity *= .7f);
cachedBeams.forEach(b -> b.itensity *= .4f);
lastLeftHandAnimation = leftHandAnimation;
lastRightHandAnimation = rightHandAnimation;

View file

@ -52,8 +52,9 @@ public class SchematicTableScreen extends AbstractSimiContainerScreen<SchematicT
Create.cSchematicLoader.refresh();
List<String> availableSchematics = Create.cSchematicLoader.getAvailableSchematics();
if (!availableSchematics.isEmpty()) {
schematicsLabel = new Label(mainLeft + 36, mainTop + 26, "").withShadow();
schematicsLabel.text = "";
if (!availableSchematics.isEmpty()) {
schematicsArea = new SelectionScrollInput(mainLeft + 33, mainTop + 23, 134, 14).forOptions(availableSchematics)
.titled("Available Schematics").writingTo(schematicsLabel);
widgets.add(schematicsArea);
@ -186,9 +187,15 @@ public class SchematicTableScreen extends AbstractSimiContainerScreen<SchematicT
Create.cSchematicLoader.refresh();
List<String> availableSchematics = Create.cSchematicLoader.getAvailableSchematics();
widgets.remove(schematicsArea);
if (!availableSchematics.isEmpty()) {
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_);

View file

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

View file

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