Get building
- Fixed super glue not spawning particles on break - Fixed logspam when goggle overlays are shown - Fixed blocks launched by a schematicannon spiraling through the air - Fixed javadoc errors
This commit is contained in:
parent
35239d10f4
commit
bea8cea59d
7 changed files with 12 additions and 10 deletions
|
@ -4,7 +4,7 @@ org.gradle.jvmargs = -Xmx3G
|
|||
org.gradle.daemon = false
|
||||
|
||||
# mod version info
|
||||
mod_version = 0.3.2f
|
||||
mod_version = 0.4
|
||||
minecraft_version = 1.17.1
|
||||
forge_version = 37.0.104
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class Create {
|
|||
|
||||
public static final String ID = "create";
|
||||
public static final String NAME = "Create";
|
||||
public static final String VERSION = "0.3.2f";
|
||||
public static final String VERSION = "0.4-unstable";
|
||||
|
||||
public static final Logger LOGGER = LogManager.getLogger();
|
||||
|
||||
|
|
|
@ -276,9 +276,9 @@ public class SuperGlueEntity extends Entity
|
|||
}
|
||||
|
||||
if (isAlive() && !level.isClientSide) {
|
||||
onBroken(source.getEntity());
|
||||
kill();
|
||||
markHurt();
|
||||
onBroken(source.getEntity());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -149,7 +149,7 @@ public class GoggleOverlayRenderer {
|
|||
return;
|
||||
|
||||
ms.pushPose();
|
||||
Screen tooltipScreen = new TooltipScreen(null);
|
||||
Screen tooltipScreen = new TooltipScreen(new TextComponent(""));
|
||||
tooltipScreen.init(mc, mc.getWindow()
|
||||
.getGuiScaledWidth(),
|
||||
mc.getWindow()
|
||||
|
|
|
@ -165,8 +165,10 @@ public class SchematicannonRenderer extends SafeTileEntityRenderer<Schematicanno
|
|||
ms.pushPose();
|
||||
ms.translate(blockLocation.x, blockLocation.y, blockLocation.z);
|
||||
|
||||
ms.mulPose(new Vector3f(0, 1, 0).rotationDegrees(360 * t * 2));
|
||||
ms.mulPose(new Vector3f(1, 0, 0).rotationDegrees(360 * t * 2));
|
||||
ms.translate(.125f, .125f, .125f);
|
||||
ms.mulPose(new Vector3f(0, 1, 0).rotationDegrees(360 * t));
|
||||
ms.mulPose(new Vector3f(1, 0, 0).rotationDegrees(360 * t));
|
||||
ms.translate(-.125f, -.125f, -.125f);
|
||||
|
||||
// Render the Block
|
||||
if (launched instanceof ForBlockState) {
|
||||
|
|
|
@ -102,14 +102,14 @@ public class MechanicalCraftingRecipeBuilder {
|
|||
}
|
||||
|
||||
/**
|
||||
* Builds this recipe into an {@link IFinishedRecipe}.
|
||||
* Builds this recipe into a {@link FinishedRecipe}.
|
||||
*/
|
||||
public void build(Consumer<FinishedRecipe> p_200464_1_) {
|
||||
this.build(p_200464_1_, ForgeRegistries.ITEMS.getKey(this.result));
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds this recipe into an {@link IFinishedRecipe}. Use
|
||||
* Builds this recipe into a {@link FinishedRecipe}. Use
|
||||
* {@link #build(Consumer)} if save is the same as the ID for the result.
|
||||
*/
|
||||
public void build(Consumer<FinishedRecipe> p_200466_1_, String p_200466_2_) {
|
||||
|
@ -122,7 +122,7 @@ public class MechanicalCraftingRecipeBuilder {
|
|||
}
|
||||
|
||||
/**
|
||||
* Builds this recipe into an {@link IFinishedRecipe}.
|
||||
* Builds this recipe into a {@link FinishedRecipe}.
|
||||
*/
|
||||
public void build(Consumer<FinishedRecipe> p_200467_1_, ResourceLocation p_200467_2_) {
|
||||
validate(p_200467_2_);
|
||||
|
|
|
@ -5,7 +5,7 @@ license="MIT"
|
|||
|
||||
[[mods]]
|
||||
modId="create"
|
||||
version="0.3.2f"
|
||||
version="0.4"
|
||||
displayName="Create"
|
||||
#updateJSONURL=""
|
||||
displayURL="https://www.curseforge.com/minecraft/mc-mods/create"
|
||||
|
|
Loading…
Reference in a new issue