Skip to content

Commit

Permalink
Initial CurseForge Release for 1.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BrockWS committed Nov 28, 2018
1 parent c8837f8 commit 0faf118
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ThaumicEnergistics
*Because the digital age could use some magic!*

[![Build Status](https://ci.brock.pw/job/Thaumic%20Energistics/badge/icon)](https://ci.brock.pw/job/Thaumic%20Energistics/)
[![Build Status](https://ci.brock.pw/job/Thaumic%20Energistics%20RV6/badge/icon)](https://ci.brock.pw/job/Thaumic%20Energistics%20RV6/)

### Please note that this mod is currently in alpha for 1.12.2.
The following versions are required for this mod:
Expand Down Expand Up @@ -41,7 +41,7 @@ How To Contribute
---

## Code Format
Code formatting is pretty simple, just keep to defaults. No tabs, use 4 spaces instead
Code formatting is pretty simple, just keep to defaults. No tabs, use 4 spaces instead.

## Compile

Expand Down
19 changes: 8 additions & 11 deletions src/main/java/thaumicenergistics/ThaumicEnergistics.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,18 @@ public void postInit(FMLPostInitializationEvent event) {

@Mod.EventHandler
public void serverLoad(FMLServerStartingEvent event) {
event.registerServerCommand(new CommandAddVis());
//event.registerServerCommand(new CommandAddVis());
}

@SubscribeEvent
public void onPlayerJoin(PlayerEvent.PlayerLoggedInEvent event) {
// TODO: Temporary alpha warning
TextComponentString s1 = new TextComponentString(
"Thaumic Energistics is currently in alpha, things may be broken, not implemented or cause lost items and world corruption.\n" +
"Post issues to GitHub"
);
s1.getStyle().setColor(TextFormatting.RED);
TextComponentString link = new TextComponentString("https://github.com/Nividica/ThaumicEnergistics");
link.getStyle().setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/Nividica/ThaumicEnergistics")).setColor(TextFormatting.GOLD);

event.player.sendMessage(s1.appendSibling(link));
//Temporary alpha warning
//TextComponentString s1 = new TextComponentString("Thaumic Energistics is currently in alpha. Post issues to GitHub");
//s1.getStyle().setColor(TextFormatting.RED);
//TextComponentString link = new TextComponentString("https://github.com/Nividica/ThaumicEnergistics");
//link.getStyle().setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/Nividica/ThaumicEnergistics")).setColor(TextFormatting.GOLD);
//
//event.player.sendMessage(s1.appendSibling(link));
}

@SubscribeEvent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public boolean isItemValid(ItemStack stack) {
@Override
public void detectAndSendChanges() {
// TODO: Send filter updates?
this.sendFilter();
this.recalculateSlots();
super.detectAndSendChanges();
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"pack_format": 1,
"description": "Resources used for Thaumic Energistics"
}
{
"pack": {
"pack_format": 3,
"description": "Resources used for Thaumic Energistics"
}
}

0 comments on commit 0faf118

Please sign in to comment.