From 97113441eb22d0149551303fd0d08c32aef3ab47 Mon Sep 17 00:00:00 2001 From: Rseifert Date: Fri, 2 Nov 2012 14:04:10 -0400 Subject: [PATCH] Cleanup Removed Steam piston gui since it had no use, if you need Force output use the pipe guage. Also fixed a bug where pipes would output 2 per update from every produce whether or not there it could actual produce anything. --- .metadata/.lock | 0 .metadata/.mylyn/.taskListIndex/segments.gen | Bin 20 -> 0 bytes .metadata/.mylyn/.taskListIndex/segments_1 | Bin 32 -> 0 bytes .metadata/.mylyn/repositories.xml.zip | Bin 442 -> 0 bytes .metadata/.mylyn/tasks.xml.zip | Bin 250 -> 0 bytes .../.root/.indexes/history.version | 1 - .../.root/.indexes/properties.index | Bin 57 -> 0 bytes .../.root/.indexes/properties.version | 1 - .../org.eclipse.core.resources/.root/1.tree | Bin 124 -> 0 bytes .../.safetable/org.eclipse.core.resources | Bin 364 -> 0 bytes .../.settings/jd.ide.eclipse.prefs | 2 - .../org.eclipse.core.resources.prefs | 2 - .../org.eclipse.epp.usagedata.recording.prefs | 2 - .../.settings/org.eclipse.jdt.ui.prefs | 13 - .../.settings/org.eclipse.m2e.discovery.prefs | 2 - .../org.eclipse.mylyn.context.core.prefs | 2 - .../org.eclipse.mylyn.monitor.ui.prefs | 2 - .../.settings/org.eclipse.team.cvs.ui.prefs | 2 - .../.settings/org.eclipse.team.ui.prefs | 2 - .../.settings/org.eclipse.ui.ide.prefs | 5 - .../.settings/org.eclipse.ui.prefs | 2 - .../.settings/org.eclipse.ui.workbench.prefs | 5 - .../usagedata.csv | 119 -------- .../org.eclipse.jdt.core/invalidArchivesCache | Bin 4 -> 0 bytes .../org.eclipse.jdt.core/nonChainingJarsCache | Bin 4 -> 0 bytes .../variablesAndContainers.dat | Bin 110 -> 0 bytes .../org.eclipse.jdt.ui/OpenTypeHistory.xml | 2 - .../QualifiedTypeNameHistory.xml | 2 - .../org.eclipse.jdt.ui/dialog_settings.xml | 10 - .../0.log | 0 .../logback.1.0.200.20111228-1245.xml | 41 --- .../org.eclipse.ui.ide/dialog_settings.xml | 11 - .../dialog_settings.xml | 3 - .../org.eclipse.ui.workbench/workbench.xml | 245 ---------------- .../org.eclipse.ui.workbench/workingsets.xml | 4 - .../toolkit_ercp.png | Bin 4060 -> 0 bytes .../toolkit_gwt.png | Bin 3892 -> 0 bytes .../toolkit_swing.png | Bin 3675 -> 0 bytes .../toolkit_swt.png | Bin 3894 -> 0 bytes .../toolkit_xwt.png | Bin 4007 -> 0 bytes .../toolkits.xml | 145 ---------- .metadata/version.ini | 1 - src/common/basicpipes/BasicPipesMain.java | 253 ++++++++++------- .../basicpipes/conductors/ItemGuage.java | 1 + .../basicpipes/conductors/TileEntityPipe.java | 267 +++++++++--------- .../basicpipes/machines/TileEntityPump.java | 7 +- src/common/steampower/SteamPowerMain.java | 189 +++++++------ .../steampower/turbine/BlockGenerator.java | 91 +++--- .../steampower/turbine/BlockSteamPiston.java | 217 ++++++-------- src/common/steampower/turbine/ItemEngine.java | 174 ++++++------ 50 files changed, 621 insertions(+), 1204 deletions(-) delete mode 100644 .metadata/.lock delete mode 100644 .metadata/.mylyn/.taskListIndex/segments.gen delete mode 100644 .metadata/.mylyn/.taskListIndex/segments_1 delete mode 100644 .metadata/.mylyn/repositories.xml.zip delete mode 100644 .metadata/.mylyn/tasks.xml.zip delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.root/1.tree delete mode 100644 .metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/jd.ide.eclipse.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs delete mode 100644 .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs delete mode 100644 .metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv delete mode 100644 .metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache delete mode 100644 .metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache delete mode 100644 .metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat delete mode 100644 .metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml delete mode 100644 .metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml delete mode 100644 .metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml delete mode 100644 .metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log delete mode 100644 .metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.0.200.20111228-1245.xml delete mode 100644 .metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml delete mode 100644 .metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml delete mode 100644 .metadata/.plugins/org.eclipse.ui.workbench/workbench.xml delete mode 100644 .metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml delete mode 100644 .metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_ercp.png delete mode 100644 .metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_gwt.png delete mode 100644 .metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_swing.png delete mode 100644 .metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_swt.png delete mode 100644 .metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_xwt.png delete mode 100644 .metadata/.plugins/org.eclipse.wb.discovery.core/toolkits.xml delete mode 100644 .metadata/version.ini diff --git a/.metadata/.lock b/.metadata/.lock deleted file mode 100644 index e69de29b..00000000 diff --git a/.metadata/.mylyn/.taskListIndex/segments.gen b/.metadata/.mylyn/.taskListIndex/segments.gen deleted file mode 100644 index 63a7ec9a3ce3e4c844ffb7c8dd88e6eb3ff32ef5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20 QcmezW|NlP*2w;TK07=6G{r~^~ diff --git a/.metadata/.mylyn/.taskListIndex/segments_1 b/.metadata/.mylyn/.taskListIndex/segments_1 deleted file mode 100644 index 5cefa8859c47b027a4acf915ddd0455e95070aea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32 acmezW|NnOe21cuu>7So4paHHZuH68^HV8lf diff --git a/.metadata/.mylyn/repositories.xml.zip b/.metadata/.mylyn/repositories.xml.zip deleted file mode 100644 index d84442417efcd5124149b7780ceadfe85a5d4f94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 442 zcmWIWW@Zs#;Nak3STiBUkpT$^0NF*U1^LC9CHX~}sl|E~xjAn`e7%_s1^#L)mT&G- zQ1b0&x9#i-J2=^=eEIDQH&s$5ZMz+xpS6EUXvWu9xieDY?(O;RvD`e{!^dDlVc2Qo zQZ3e7mqL$Si`w@k-(N3v{q2{`{qrwan_XmW){zVPqPZ{c*^_f~!+LtxZjo71mDl0W zCE{^9uxH--E~V{}iJr%dwZvbYZ@cr!B3%5pjf)BIxw)>o>!o>?wLFqr{ytx?XXyzA z=>yA_URyQe=Y)qV4v9ZH#crM*nzW{XqjS+TLlv8vd5KN^2W(0gT9uV;v|VEHOZY@l z<9h)Pwi%}TZl0>L(29}}NL!&OAb(IT=`p9$I?E|L*KPhA^-g)s`74)lW;nEbn6sxm zG1vK{bI*yX4y$?AzRFGeKl#(?C3keE+ML*YRCv#a10tM})e_1n?sGR z7zYG-ob^8EfAWm?_E0X~!pmC&f;99z&v<*DIeFfDYv`%d;hVN^=JeD#_wA&PULZ&F zOB1G7EgjbC)0QlIE*`2?!BF~?VQb4XRp%C?)j`2iME(dB8?tFG|--P0q(jX;3k{Kkz002QT7dQX_ diff --git a/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources b/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources deleted file mode 100644 index 03c85b57de306eeac17d333a881f6c2e6d8d1dbb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 364 zcmZ?R*xjhShe1S2b=vdAllRFf=Oz}Hq!uZZBqrsg@^UE$m*y$>CzmJ~StuA!l{=WEK>s>Sd*r=q2YDrP>-A zn;M#!8Cn{d8W>sda_Q@p6r}=1dASZm{QeBKJMeQ)_3rXx4s>@*a!zVukqgKZ*qxr1 fm{SZ41suw9D|0II^hy$ovy1ggGi{-Yar+MdGA4Xu diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/jd.ide.eclipse.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/jd.ide.eclipse.prefs deleted file mode 100644 index 5f8e5901..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/jd.ide.eclipse.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -jd.ide.eclipse.prefs.Setup=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index dffc6b51..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -version=1 diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs deleted file mode 100644 index 32cbabee..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.usagedata.recording.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.epp.usagedata.recording.last-upload=1351461895073 diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index c8fd235a..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,13 +0,0 @@ -content_assist_proposals_background=255,255,255 -content_assist_proposals_foreground=0,0,0 -eclipse.preferences.version=1 -fontPropagated=true -org.eclipse.jdt.ui.editor.tab.width= -org.eclipse.jdt.ui.formatterprofiles.version=12 -org.eclipse.jdt.ui.javadoclocations.migrated=true -org.eclipse.jface.textfont=1|Consolas|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Consolas; -proposalOrderMigrated=true -spelling_locale_initialized=true -tabWidthPropagated=true -useAnnotationsPrefPage=true -useQuickDiffPrefPage=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs deleted file mode 100644 index 67b1d96c..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.m2e.discovery.pref.projects= diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs deleted file mode 100644 index 43e97e40..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -mylyn.attention.migrated=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs deleted file mode 100644 index 8d462a6c..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs deleted file mode 100644 index f9e585ba..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -pref_first_startup=false diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs deleted file mode 100644 index 56cd496f..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.team.ui.first_time=false diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs deleted file mode 100644 index 05c0b05a..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs +++ /dev/null @@ -1,5 +0,0 @@ -PROBLEMS_FILTERS_MIGRATE=true -eclipse.preferences.version=1 -platformState=1341384697020 -quickStart=false -tipsAndTricks=true diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs deleted file mode 100644 index 08076f23..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -showIntro=false diff --git a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs b/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs deleted file mode 100644 index 4676c7fd..00000000 --- a/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs +++ /dev/null @@ -1,5 +0,0 @@ -ENABLED_DECORATORS=org.eclipse.m2e.core.mavenVersionDecorator\:false,org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator\:true,org.eclipse.jdt.ui.override.decorator\:true,org.eclipse.jdt.ui.interface.decorator\:false,org.eclipse.jdt.ui.buildpath.decorator\:true,org.eclipse.m2e.core.maven2decorator\:true,org.eclipse.mylyn.context.ui.decorator.interest\:true,org.eclipse.mylyn.tasks.ui.decorators.task\:true,org.eclipse.mylyn.team.ui.changeset.decorator\:true,org.eclipse.team.cvs.ui.decorator\:true,org.eclipse.ui.LinkedResourceDecorator\:true,org.eclipse.ui.VirtualResourceDecorator\:true,org.eclipse.ui.ContentTypeDecorator\:true,org.eclipse.ui.ResourceFilterDecorator\:false, -PLUGINS_NOT_ACTIVATED_ON_STARTUP=org.eclipse.m2e.discovery; -eclipse.preferences.version=1 -editors=\r\n\r\n\r\n\r\n\r\n\r\n\r\n -resourcetypes=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n diff --git a/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv b/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv deleted file mode 100644 index e5b7a6bb..00000000 --- a/.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv +++ /dev/null @@ -1,119 +0,0 @@ -what,kind,bundleId,bundleVersion,description,time -activated,perspective,org.eclipse.jdt.ui,,"org.eclipse.jdt.ui.JavaPerspective",1351461893792 -started,bundle,org.eclipse.osgi,3.7.2.v20120110-1415,"org.eclipse.osgi",1351461893793 -started,bundle,org.eclipse.core.contenttype,3.4.100.v20110423-0524,"org.eclipse.core.contenttype",1351461893794 -started,bundle,org.eclipse.core.databinding.observable,1.4.0.I20110222-0800,"org.eclipse.core.databinding.observable",1351461893795 -started,bundle,org.eclipse.core.expressions,3.4.300.v20110228,"org.eclipse.core.expressions",1351461893795 -started,bundle,org.eclipse.core.net,1.2.100.I20110511-0800,"org.eclipse.core.net",1351461893796 -started,bundle,org.eclipse.core.runtime,3.7.0.v20110110,"org.eclipse.core.runtime",1351461893797 -started,bundle,org.eclipse.core.runtime.compatibility,3.2.100.v20100505,"org.eclipse.core.runtime.compatibility",1351461893797 -started,bundle,org.eclipse.core.runtime.compatibility.auth,3.2.200.v20110110,"org.eclipse.core.runtime.compatibility.auth",1351461893798 -started,bundle,org.eclipse.epp.usagedata.gathering,1.3.1.R201106061540,"org.eclipse.epp.usagedata.gathering",1351461893798 -started,bundle,org.eclipse.epp.usagedata.recording,1.3.1.R201106061540,"org.eclipse.epp.usagedata.recording",1351461893799 -started,bundle,org.eclipse.equinox.app,1.3.100.v20110321,"org.eclipse.equinox.app",1351461893799 -started,bundle,org.eclipse.equinox.common,3.6.0.v20110523,"org.eclipse.equinox.common",1351461893800 -started,bundle,org.eclipse.equinox.event,1.2.100.v20110502,"org.eclipse.equinox.event",1351461893800 -started,bundle,org.eclipse.equinox.util,1.0.300.v20110502,"org.eclipse.equinox.util",1351461893801 -started,bundle,org.eclipse.help,3.5.100.v20110426,"org.eclipse.help",1351461893813 -started,bundle,org.eclipse.team.core,3.6.0.I20110525-0800,"org.eclipse.team.core",1351461893814 -started,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1351461893815 -started,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1351461893815 -started,bundle,org.eclipse.update.configurator,3.3.100.v20100512,"org.eclipse.update.configurator",1351461893816 -started,bundle,org.eclipse.update.core,3.2.500.v20110330,"org.eclipse.update.core",1351461893854 -started,bundle,org.eclipse.update.scheduler,3.2.300.v20100512,"org.eclipse.update.scheduler",1351461893855 -started,bundle,jd.ide.eclipse,0.1.3,"jd.ide.eclipse",1351461893856 -started,bundle,org.eclipse.equinox.simpleconfigurator,1.0.200.v20110815-1438,"org.eclipse.equinox.simpleconfigurator",1351461893857 -started,bundle,com.ibm.icu,4.4.2.v20110823,"com.ibm.icu",1351461893857 -started,bundle,org.eclipse.core.filebuffers,3.5.200.v20110928-1504,"org.eclipse.core.filebuffers",1351461893858 -started,bundle,org.eclipse.core.jobs,3.5.101.v20120113-1953,"org.eclipse.core.jobs",1351461893859 -started,bundle,org.eclipse.core.resources,3.7.101.v20120125-1505,"org.eclipse.core.resources",1351461893860 -started,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1351461893860 -started,bundle,org.eclipse.equinox.ds,1.3.1.R37x_v20110701,"org.eclipse.equinox.ds",1351461893861 -started,bundle,org.eclipse.equinox.p2.core,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.core",1351461893862 -started,bundle,org.eclipse.equinox.p2.directorywatcher,1.0.300.v20110815-1419,"org.eclipse.equinox.p2.directorywatcher",1351461893862 -started,bundle,org.eclipse.equinox.p2.operations,2.1.1.R37x_v20111111,"org.eclipse.equinox.p2.operations",1351461893863 -started,bundle,org.eclipse.equinox.p2.reconciler.dropins,1.1.100.v20110815-1419,"org.eclipse.equinox.p2.reconciler.dropins",1351461893864 -started,bundle,org.eclipse.equinox.preferences,3.4.2.v20120111-2020,"org.eclipse.equinox.preferences",1351461893865 -started,bundle,org.eclipse.equinox.registry,3.5.101.R37x_v20110810-1611,"org.eclipse.equinox.registry",1351461893865 -started,bundle,org.eclipse.equinox.security,1.1.1.R37x_v20110822-1018,"org.eclipse.equinox.security",1351461893882 -started,bundle,org.eclipse.jdt.core,3.7.3.v20120119-1537,"org.eclipse.jdt.core",1351461893883 -started,bundle,org.eclipse.jdt.core.manipulation,1.4.0.v20110928-1453,"org.eclipse.jdt.core.manipulation",1351461893883 -started,bundle,org.eclipse.jdt.ui,3.7.2.v20120109-1427,"org.eclipse.jdt.ui",1351461893888 -started,bundle,org.eclipse.jface,3.7.0.v20110928-1505,"org.eclipse.jface",1351461893889 -started,bundle,org.eclipse.m2e.logback.configuration,1.0.200.20111228-1245,"org.eclipse.m2e.logback.configuration",1351461893889 -started,bundle,org.eclipse.mylyn.bugzilla.core,3.7.1.v20120425-0100,"org.eclipse.mylyn.bugzilla.core",1351461893901 -started,bundle,org.eclipse.mylyn.bugzilla.ui,3.7.1.v20120425-0100,"org.eclipse.mylyn.bugzilla.ui",1351461893902 -started,bundle,org.eclipse.mylyn.commons.core,3.7.1.v20120425-0100,"org.eclipse.mylyn.commons.core",1351461893902 -started,bundle,org.eclipse.mylyn.commons.net,3.7.1.v20120425-0100,"org.eclipse.mylyn.commons.net",1351461893902 -started,bundle,org.eclipse.mylyn.commons.notifications.core,0.9.1.v20120425-0100,"org.eclipse.mylyn.commons.notifications.core",1351461893902 -started,bundle,org.eclipse.mylyn.commons.notifications.feed,0.9.1.v20120425-0100,"org.eclipse.mylyn.commons.notifications.feed",1351461893903 -started,bundle,org.eclipse.mylyn.commons.notifications.ui,0.9.1.v20120425-0100,"org.eclipse.mylyn.commons.notifications.ui",1351461893903 -started,bundle,org.eclipse.mylyn.commons.ui,3.7.1.v20120425-0100,"org.eclipse.mylyn.commons.ui",1351461893904 -started,bundle,org.eclipse.mylyn.commons.workbench,3.7.1.v20120425-0100,"org.eclipse.mylyn.commons.workbench",1351461893904 -started,bundle,org.eclipse.mylyn.context.core,3.7.1.v20120425-0100,"org.eclipse.mylyn.context.core",1351461893904 -started,bundle,org.eclipse.mylyn.context.tasks.ui,3.7.1.v20120425-0100,"org.eclipse.mylyn.context.tasks.ui",1351461893905 -started,bundle,org.eclipse.mylyn.monitor.ui,3.7.1.v20120425-0100,"org.eclipse.mylyn.monitor.ui",1351461893905 -started,bundle,org.eclipse.mylyn.tasks.index.core,3.7.1.v20120425-0100,"org.eclipse.mylyn.tasks.index.core",1351461893906 -started,bundle,org.eclipse.mylyn.tasks.ui,3.7.1.v20120425-0100,"org.eclipse.mylyn.tasks.ui",1351461893907 -started,bundle,org.eclipse.search,3.7.0.v20110928-1504,"org.eclipse.search",1351461893927 -started,bundle,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui",1351461893943 -started,bundle,org.eclipse.ui.editors,3.7.0.v20110928-1504,"org.eclipse.ui.editors",1351461893944 -started,bundle,org.eclipse.ui.forms,3.5.101.v20111011-1919,"org.eclipse.ui.forms",1351461893944 -started,bundle,org.eclipse.ui.ide,3.7.0.v20110928-1505,"org.eclipse.ui.ide",1351461893945 -started,bundle,org.eclipse.ui.net,1.2.100.v20111208-1155,"org.eclipse.ui.net",1351461893946 -started,bundle,org.eclipse.ui.views,3.6.0.v20110928-1505,"org.eclipse.ui.views",1351461893946 -started,bundle,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"org.eclipse.ui.workbench",1351461893947 -started,bundle,org.eclipse.ui.workbench.texteditor,3.7.0.v20110928-1504,"org.eclipse.ui.workbench.texteditor",1351461893965 -os,sysinfo,,,"win32",1351461893968 -arch,sysinfo,,,"x86",1351461893968 -ws,sysinfo,,,"win32",1351461893968 -locale,sysinfo,,,"en_US",1351461893968 -processors,sysinfo,,,"4",1351461893968 -java.runtime.name,sysinfo,,,"Java(TM) SE Runtime Environment",1351461893968 -java.runtime.version,sysinfo,,,"1.7.0_07-b10",1351461893969 -java.specification.name,sysinfo,,,"Java Platform API Specification",1351461893969 -java.specification.vendor,sysinfo,,,"Oracle Corporation",1351461893969 -java.specification.version,sysinfo,,,"1.7",1351461893969 -java.vendor,sysinfo,,,"Oracle Corporation",1351461893969 -java.version,sysinfo,,,"1.7.0_07",1351461893969 -java.vm.info,sysinfo,,,"mixed mode, sharing",1351461893969 -java.vm.name,sysinfo,,,"Java HotSpot(TM) Client VM",1351461893969 -java.vm.specification.name,sysinfo,,,"Java Virtual Machine Specification",1351461893969 -java.vm.specification.vendor,sysinfo,,,"Oracle Corporation",1351461893969 -java.vm.specification.version,sysinfo,,,"1.7",1351461893969 -java.vm.vendor,sysinfo,,,"Oracle Corporation",1351461893969 -java.vm.version,sysinfo,,,"23.3-b01",1351461893969 -started,bundle,org.eclipse.equinox.p2.repository,2.1.1.v20120113-1346,"org.eclipse.equinox.p2.repository",1351461893994 -started,bundle,org.eclipse.m2e.usagedata,1.0.200.20111228-1245,"org.eclipse.m2e.usagedata",1351461893996 -started,bundle,org.eclipse.equinox.p2.metadata.repository,1.2.0.v20110815-1419,"org.eclipse.equinox.p2.metadata.repository",1351461894009 -started,bundle,org.eclipse.equinox.p2.ui.sdk.scheduler,1.0.100.v20110815-1419,"org.eclipse.equinox.p2.ui.sdk.scheduler",1351461894041 -started,bundle,org.eclipse.equinox.p2.updatechecker,1.1.200.v20110815-1419,"org.eclipse.equinox.p2.updatechecker",1351461894059 -started,bundle,org.eclipse.m2e.discovery,1.0.200.20111228-1245,"org.eclipse.m2e.discovery",1351461894081 -started,bundle,org.eclipse.mylyn.team.ui,3.7.1.v20120425-0100,"org.eclipse.mylyn.team.ui",1351461894094 -started,bundle,org.eclipse.wb.discovery.core,1.3.0.r37x201202052340,"org.eclipse.wb.discovery.core",1351461894163 -started,bundle,org.eclipse.jsch.core,1.1.300.I20110514-0800,"org.eclipse.jsch.core",1351461894266 -started,bundle,org.eclipse.team.cvs.core,3.3.400.I20110510-0800,"org.eclipse.team.cvs.core",1351461894280 -started,bundle,org.eclipse.team.ui,3.6.101.R37x_v20111109-0800,"org.eclipse.team.ui",1351461894298 -started,bundle,org.eclipse.ui.console,3.5.100.v20111007_r372,"org.eclipse.ui.console",1351461894313 -started,bundle,org.eclipse.team.cvs.ui,3.3.401.v20120126-1227,"org.eclipse.team.cvs.ui",1351461894437 -activated,view,org.eclipse.jdt.ui,3.7.2.v20120109-1427,"org.eclipse.jdt.ui.PackageExplorer",1351461894607 -activated,view,org.eclipse.jdt.ui,3.7.2.v20120109-1427,"org.eclipse.jdt.ui.PackageExplorer",1351461894647 -closed,view,org.eclipse.ui,3.7.0.v20110928-1505,"org.eclipse.ui.internal.introview",1351461894690 -started,bundle,org.eclipse.wb.discovery.ui,1.3.0.r37x201202052340,"org.eclipse.wb.discovery.ui",1351461895209 -deactivated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1351461904591 -activated,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1351461924702 -closed,workbench,org.eclipse.ui.workbench,3.7.1.v20120104-1859,"",1351461924783 -started,bundle,org.eclipse.core.filesystem,1.3.100.v20110423-0524,"org.eclipse.core.filesystem",1351461925042 -started,bundle,org.eclipse.compare.core,3.5.200.I20110208-0800,"org.eclipse.compare.core",1351461925263 -started,bundle,org.eclipse.compare,3.5.202.R37x_v20111109-0800,"org.eclipse.compare",1351461925294 -stopped,bundle,org.eclipse.ui.cheatsheets,3.4.100.v20110425,"org.eclipse.ui.cheatsheets",1351461925606 -stopped,bundle,org.eclipse.epp.usagedata.ui,1.3.1.R201106061540,"org.eclipse.epp.usagedata.ui",1351461925607 -stopped,bundle,org.eclipse.epp.mpc.ui,1.1.1.I20110907-0947,"org.eclipse.epp.mpc.ui",1351461925607 -stopped,bundle,org.eclipse.ui.intro.universal,3.2.500.v20110510,"org.eclipse.ui.intro.universal",1351461925607 -stopped,bundle,org.eclipse.ui.intro,3.4.100.v20110425,"org.eclipse.ui.intro",1351461925607 -stopped,bundle,jd.ide.eclipse,0.1.3,"jd.ide.eclipse",1351461925607 -stopped,bundle,org.eclipse.help.ui,3.5.101.r37_20110819,"org.eclipse.help.ui",1351461925610 -stopped,bundle,org.eclipse.help.webapp,3.6.1.r37_20110929,"org.eclipse.help.webapp",1351461925640 -stopped,bundle,org.eclipse.help.base,3.6.2.v201202080800,"org.eclipse.help.base",1351461925640 -stopped,bundle,org.eclipse.equinox.http.jetty,2.0.100.v20110502,"org.eclipse.equinox.http.jetty",1351461925662 -stopped,bundle,org.eclipse.m2e.discovery,1.0.200.20111228-1245,"org.eclipse.m2e.discovery",1351461925662 diff --git a/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache b/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache deleted file mode 100644 index 593f4708db84ac8fd0f5cc47c634f38c013fe9e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4 LcmZQzU|;|M00aO5 diff --git a/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache b/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache deleted file mode 100644 index 593f4708db84ac8fd0f5cc47c634f38c013fe9e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4 LcmZQzU|;|M00aO5 diff --git a/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat b/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat deleted file mode 100644 index 53dd38e2daf019473d0b90168bb2db166051c355..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 110 zcmZQzU|?c^05&ki?iJ)39~|V&2;?y`u=^Ut2e}6LgLq5~TwbAmo+0rb{=Tjt0cHkn esNx`h{}7M}3j - diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml b/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml deleted file mode 100644 index 9e390f50..00000000 --- a/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml b/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml deleted file mode 100644 index 0b856dc6..00000000 --- a/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml +++ /dev/null @@ -1,10 +0,0 @@ - -
-
- - - - - -
-
diff --git a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log deleted file mode 100644 index e69de29b..00000000 diff --git a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.0.200.20111228-1245.xml b/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.0.200.20111228-1245.xml deleted file mode 100644 index e0de5155..00000000 --- a/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.0.200.20111228-1245.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - %date [%thread] %-5level %logger{35} - %msg%n - - - - - - ${org.eclipse.m2e.log.dir}/0.log - - ${org.eclipse.m2e.log.dir}/%i.log - 1 - 10 - - - 100MB - - - %date [%thread] %-5level %logger{35} - %msg%n - - - - - - WARN - - - - - - - - - - - - - - - diff --git a/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml deleted file mode 100644 index 9a98d7e8..00000000 --- a/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml +++ /dev/null @@ -1,11 +0,0 @@ - -
-
- - -
-
- - -
-
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml b/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml deleted file mode 100644 index 5ca0b776..00000000 --- a/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - -
-
diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml b/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml deleted file mode 100644 index e08b313a..00000000 --- a/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml b/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml deleted file mode 100644 index f213774b..00000000 --- a/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_ercp.png b/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_ercp.png deleted file mode 100644 index 1d364a6301c57140488f01f9ebc02d744417fb4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4060 zcmV<24EX>4Tx0C?J+Q+HUC_ZB|i_hk=OLfG)Jmu!ImA|tE_$Pihg5Rw34gb)%y#f69p zRumNxoJdu~g4GI0orvO~D7a@qiilc^Ra`jkAKa(4eR}Wh?fcjJyyu+f{LXpL4}cL8 zCXwc%Y5+M>g*-agACFH+#L2yY0u@N$1RxOR%fe>`#Q*^C19^CUbg)1C0k3ZW0swH; zE+i7i;s1lW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$}jj7XB-?-wqY3%A=%Q&Ur2fY0aitgWq~X&Q|HZnvAw&CR;dTDQOKVAaC zU=USRxpCtLilUVCnM{U2AV4q}ZC<@tZmT)+X-|wft zzaNjsb9`4w*L6llMr_~#6h-0c)vIK)*#p~3Boag-5e5ebxpwUuE|-hO#zs_C#pm-e zJUqQz+$vMkfm(gMKa$B(&t_ipLCb9H8CXKj00TU+t@d~|nr z+w`GOh_h$Ua{l~zqR}WbGcy>5fh^11yLXQZ7cTJW(mv{dRQEtGm&51t(b?Hq6`*OFd&awUs;b(?#bS|QFu2E#5CTO}5JHr|?}%X-2qA2? z_9dVw3gK{=(a}+yPUlwZ-=nH36B83Wdi1FD1|}vZuq=yc zG+H(+OMbs!T)K4W&{62=)2H0Jb*t<<(KL;hFJE%!&Yc6<+Su4&VPOHU*Gq42Z`lwV zi^aHp{W@J;T_yd}($dlMfGo=_E-o@KFi?s{LI~37G~sY~-vCgqLHBq(ghC2~WYjrZGA_6kMA8e`voi!3+O)abz2 zYQiua7={zWa5MYsd|Bhu)6->vPESwo83Psd`$?sBHUdSnK(Sb)P}u&OW&x{cVObWI z5LlK~)^H^fm1Jk#LBa30$3`G$=oAWD2w@>f5?0ZoVCFGRlVZ`NP{<$ZbgG@^v3sEJ zqQaklEa7m-NRmXcXkr)!x}GMT`GR+-_fQ}!omw>yl>5EX9$P7~xt`&{{pXkkX`6sm zB%j|Rm(zhfKmGh8?jBd|mJ*%a3X@ac(RWcHmD)s0CHSHx>GyWk9Qd*xsM}($P$<+L z_*^cxoydd`eE$5ITrO8OOx9vUlg(y{$Kwbgkc1FKA`wxKSIFb>NdEvL=%K<-SvNKS O0000 diff --git a/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_gwt.png b/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_gwt.png deleted file mode 100644 index 8f33b6b47f5eb6233215e56b1cd92b3116c71738..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3892 zcmV-456ke0P)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tvvJ4^!0xc8@u;bV1m6es>1iW6aE$hEnERIg05rGkb|B^r=k4(f>26PEEcI9%g5{Wl3!^q0_qfsX+;14002ovPDHLkV1g3}{&fHV diff --git a/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_swt.png b/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_swt.png deleted file mode 100644 index 897496a555c115c3f6826dcc8703d999725be298..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3894 zcmV-656SR}P)EX>4Tx0C?J+Q+HUC_ZB|i_hk=OLfG)Jmu!ImA|tE_$Pihg5Rw34gb)%y#f69p zRumNxoJdu~g4GI0orvO~D7a@qiilc^Ra`jkAKa(4eR}Wh?fcjJyyu+f{LXpL4}cL8 zCXwc%Y5+M>g*-agACFH+#L2yY0u@N$1RxOR%fe>`#Q*^C19^CUbg)1C0k3ZW0swH; zE+i7i;s1lWP$pLZAdvvzA`<5d0gzGv$SzdK6adH=0I*ZDWC{S3003-xd_p1ssto|_ z^hrJi0NAOM+!p}Yq8zCR0F40vnJ7mj0zkU}U{!%qECRs70HCZuA}$2Lt^t5qwlYTo zfV~9(c8*w(4?ti5fSE!p%m5%b0suoE6U_r4Oaq`W(!b!TUvP!ENC5!A%azTSOVTqG zxRuZvck=My;vwR~Y_URN7by^C3FIQ2mzyIKNaq7g&I|wm8u`(|{y0C7=jP<$=4R(? z@ASo@{%i1WB0eGU-~POe0t5gMPS5Y!U*+Z218~Oyuywy{sapWrRsd+<`CT*H37}dE z(0cicc{uz)9-g64$UGe!3JVMEC1RnyFyo6p|1;rl;ER6t{6HT5+j{T-ahgDxt-zy$ z{c&M#cCJ#6=gR~_F>d$gBmT#QfBlXr(c(0*Tr3re@mPttP$EsodAU-NL?OwQ;u7h9 zGVvdl{RxwI4FIf$Pry#L2er#=z<%xl0*ek<(slqqe)BDi8VivC5N9+pdG`PSlfU_o zKq~;2Moa!tiTSO!5zH77Xo1hL_iEAz&sE_ z2IPPo3ZWR5K^auQ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nJZ{P>WM&YjdbP5;tTX!UJ@@vlC| z?Ur%2xzP8W=(-DC_oC|orhl2QGAt5_)Lp#R`$!~m=64qcV3`J%WnmZxqiGu0*1vaO zA*ya_6=N#TAAJ*Rx{6`!BZQ44N!XT+VU{sX6U#C&jB?ci6~iyns}}|^IIQsdOcIyN zjU-7}mWi(GsOlbj#rNC_e^xiQj~ah8O|BZ)u~s7YcadjLW-$%v0Dx^#F7KmhDp2N! zAHO9K^fhlQ(S1|lyYIhba9AOq&r!(l@V>Ci$Sr@<8DBF3E!)f)hS74yYnpaY$b=AV zZf>G!TGcVxtQVS6sYE7|K?s2)gdm+xi&jjbP$(q*124U+|MZaSTL1t607*qoM6N<$ Eg6)rWg8%>k diff --git a/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_xwt.png b/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkit_xwt.png deleted file mode 100644 index dc1a68ce930096b79932aa690dae19165c19aa47..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4007 zcmV;Y4_NStP)EX>4Tx0C?J+Q+HUC_ZB|i_hk=OLfG)Jmu!ImA|tE_$Pihg5Rw34gb)%y#f69p zRumNxoJdu~g4GI0orvO~D7a@qiilc^Ra`jkAKa(4eR}Wh?fcjJyyu+f{LXpL4}cL8 zCXwc%Y5+M>g*-agACFH+#L2yY0u@N$1RxOR%fe>`#Q*^C19^CUbg)1C0k3ZW0swH; zE+i7i;s1lWP$pLZAdvvzA`<5d0gzGv$SzdK6adH=0I*ZDWC{S3003-xd_p1ssto|_ z^hrJi0NAOM+!p}Yq8zCR0F40vnJ7mj0zkU}U{!%qECRs70HCZuA}$2Lt^t5qwlYTo zfV~9(c8*w(4?ti5fSE!p%m5%b0suoE6U_r4Oaq`W(!b!TUvP!ENC5!A%azTSOVTqG zxRuZvck=My;vwR~Y_URN7by^C3FIQ2mzyIKNaq7g&I|wm8u`(|{y0C7=jP<$=4R(? z@ASo@{%i1WB0eGU-~POe0t5gMPS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wWT%u$CChko za}yy1*REZ&^yzf^onZ6%{4U+(7{82G?M4%xF2qAW*#6}QZ*AYVC)ODRiBEhLsr*OO7HS6|z z5h*3bVi8T#&~+VUX=zD5fBu|Cyq)gp>3K__ySuv~{eO9R`6vq=5jgZ)iA=i4qlZae zJj-GVgF;cK^PI}}KYq@MlWKiiAd@aKF}_4Z@ zFMIiNz|ZAxLVW#QCqqAcMtt7-VKX*1Rs}ISI?CAC*scxiKyIzGTmL~ZU8F diff --git a/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkits.xml b/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkits.xml deleted file mode 100644 index 1727003c..00000000 --- a/.metadata/.plugins/org.eclipse.wb.discovery.core/toolkits.xml +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - This WindowBuilder toolkit allows you to build user interfaces with the Standard Widget Toolkit (SWT) from Eclipse. - - - - - - - - - - - - - - This WindowBuilder toolkit allows you to build user interfaces with Java's Swing GUI framework. - - - - - - - - - - - - - - This WindowBuilder toolkit allows you to build user interfaces with Eclipse's embedded Rich Client Platform (eRCP) framework. eRCP targets embedded devices. - - - - - - - - - - - - - - This WindowBuilder toolkit allows you to build user interfaces with the XML Windowing Toolkit (XWT) UI framework. - - - - - - - - - - - - - - The Google Plugin for Eclipse provides support for building projects with the Google Web Toolkit and Google APIs, as well as integration with Google Project Hosting and App Engine. - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.metadata/version.ini b/.metadata/version.ini deleted file mode 100644 index c51ff745..00000000 --- a/.metadata/version.ini +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.core.runtime=1 \ No newline at end of file diff --git a/src/common/basicpipes/BasicPipesMain.java b/src/common/basicpipes/BasicPipesMain.java index 520bf1c2..e1b903af 100644 --- a/src/common/basicpipes/BasicPipesMain.java +++ b/src/common/basicpipes/BasicPipesMain.java @@ -1,4 +1,5 @@ package basicpipes; + import java.io.File; import net.minecraft.src.Block; @@ -30,16 +31,18 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; -@Mod(modid = "basicPipes", name = "Basic Pipes", version = "1.9",dependencies = "after:UniversalElectricity") -@NetworkMod(channels = { "Pipes" }, clientSideRequired = true, serverSideRequired = false, packetHandler = PacketManager.class) -public class BasicPipesMain{ - - public BasicPipesMain instance; - - @SidedProxy(clientSide = "basicpipes.PipeClientProxy", serverSide = "basicpipes.PipeProxy") +@Mod(modid = "basicPipes", name = "Basic Pipes", version = "1.9", dependencies = "after:UniversalElectricity") +@NetworkMod(channels = { "Pipes" }, clientSideRequired = true, serverSideRequired = false, packetHandler = PacketManager.class) +public class BasicPipesMain { + + public BasicPipesMain instance; + + @SidedProxy(clientSide = "basicpipes.PipeClientProxy", serverSide = "basicpipes.PipeProxy") public static PipeProxy proxy; - static Configuration config = new Configuration((new File(cpw.mods.fml.common.Loader.instance().getConfigDir(), "/UniversalElectricity/BasicPipes.cfg"))); + static Configuration config = new Configuration((new File( + cpw.mods.fml.common.Loader.instance().getConfigDir(), + "/UniversalElectricity/BasicPipes.cfg"))); public static int pipeID = configurationProperties(); private static int partID; private static int ppipeID; @@ -49,7 +52,8 @@ public class BasicPipesMain{ public static int valveID; public static int rodID; public static Block pipe = new BlockPipe(pipeID).setBlockName("pipe"); - public static Block machine = new BlockMachine(machineID).setBlockName("pump"); + public static Block machine = new BlockMachine(machineID) + .setBlockName("pump"); public static Block valve = new BlockValve(valveID).setBlockName("valve"); public static Block rod = new BlockRod(rodID); public static Item parts = new ItemParts(partID); @@ -60,105 +64,158 @@ public class BasicPipesMain{ public static String channel = "Pipes"; public static String textureFile = "/textures"; public static boolean ueLoaded = false; - - - public static int configurationProperties() - { - config.load(); - pipeID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"PipeBlock", 155).value); - machineID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"machineBlock", 156).value); - valveID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"ValveBlock", 157).value); - rodID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"gearBlock", 158).value); - partID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM,"parts", 23022).value); - ppipeID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM,"pipes", 23023).value); - toolID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM,"ToolID", 23024).value); - tankID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM,"tankID", 23025).value); - config.save(); - return pipeID; - } - @PreInit - public void preInit(FMLPreInitializationEvent event) - { - proxy.preInit(); - GameRegistry.registerBlock(pipe); - GameRegistry.registerBlock(rod); - GameRegistry.registerBlock(machine,basicpipes.machines.ItemMachine.class); + + public static int configurationProperties() { + config.load(); + pipeID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "PipeBlock", 155).value); + machineID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "machineBlock", 156).value); + valveID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "ValveBlock", 157).value); + rodID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "gearBlock", 158).value); + partID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM, + "parts", 23022).value); + ppipeID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM, + "pipes", 23023).value); + toolID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM, + "ToolID", 23024).value); + tankID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM, + "tankID", 23025).value); + config.save(); + return pipeID; } + + @PreInit + public void preInit(FMLPreInitializationEvent event) { + proxy.preInit(); + GameRegistry.registerBlock(pipe); + GameRegistry.registerBlock(rod); + GameRegistry.registerBlock(machine, + basicpipes.machines.ItemMachine.class); + } + @Init - public void load(FMLInitializationEvent evt) - { - //register + public void load(FMLInitializationEvent evt) { + // register proxy.init(); GameRegistry.registerTileEntity(TileEntityPipe.class, "pipe"); GameRegistry.registerTileEntity(TileEntityPump.class, "pump"); GameRegistry.registerTileEntity(TileEntityRod.class, "rod"); GameRegistry.registerTileEntity(TileEntityLTank.class, "ltank"); - //Names and lang stuff - //Pipe Names - for(int i =0; i < Liquid.values().length;i++) - { - LanguageRegistry.addName((new ItemStack(itemPipes, 1, i)), Liquid.getLiquid(i).lName+" Pipe"); - } - for(int i =0; i < Liquid.values().length;i++) - { - LanguageRegistry.addName((new ItemStack(itemTank, 1, i)), Liquid.getLiquid(i).lName+" Tank"); - } - //Pump - LanguageRegistry.addName((new ItemStack(machine, 1, 0)), "WaterPump"); - LanguageRegistry.addName((new ItemStack(machine, 1, 4)), "WaterCondensor"); - LanguageRegistry.addName((new ItemStack(rod, 1)), "MechRod"); - //Tools - LanguageRegistry.addName((new ItemStack(gauge, 1, 0)), "PipeGuage"); - //Parts - LanguageRegistry.addName((new ItemStack(parts, 1, 0)), "BronzeTube"); - LanguageRegistry.addName((new ItemStack(parts, 1, 1)), "IronTube"); - LanguageRegistry.addName((new ItemStack(parts, 1, 2)), "ObsidianTube"); - LanguageRegistry.addName((new ItemStack(parts, 1, 3)), "NetherTube"); - LanguageRegistry.addName((new ItemStack(parts, 1, 4)), "LeatherSeal"); - LanguageRegistry.addName((new ItemStack(parts, 1, 5)), "SlimeSeal"); - LanguageRegistry.addName((new ItemStack(parts, 1, 6)), "BronzeTank"); - LanguageRegistry.addName((new ItemStack(parts, 1, 7)), "Valve"); + // Names and lang stuff + // Pipe Names + for (int i = 0; i < Liquid.values().length; i++) { + LanguageRegistry.addName((new ItemStack(itemPipes, 1, i)), + Liquid.getLiquid(i).lName + " Pipe"); + } + for (int i = 0; i < Liquid.values().length; i++) { + LanguageRegistry.addName((new ItemStack(itemTank, 1, i)), + Liquid.getLiquid(i).lName + " Tank"); + } + // Pump + LanguageRegistry.addName((new ItemStack(machine, 1, 0)), "WaterPump"); + LanguageRegistry.addName((new ItemStack(machine, 1, 4)), + "WaterCondensor"); + LanguageRegistry.addName((new ItemStack(rod, 1)), "MechRod"); + // Tools + LanguageRegistry.addName((new ItemStack(gauge, 1, 0)), "PipeGuage"); + // Parts + LanguageRegistry.addName((new ItemStack(parts, 1, 0)), "BronzeTube"); + LanguageRegistry.addName((new ItemStack(parts, 1, 1)), "IronTube"); + LanguageRegistry.addName((new ItemStack(parts, 1, 2)), "ObsidianTube"); + LanguageRegistry.addName((new ItemStack(parts, 1, 3)), "NetherTube"); + LanguageRegistry.addName((new ItemStack(parts, 1, 4)), "LeatherSeal"); + LanguageRegistry.addName((new ItemStack(parts, 1, 5)), "SlimeSeal"); + LanguageRegistry.addName((new ItemStack(parts, 1, 6)), "BronzeTank"); + LanguageRegistry.addName((new ItemStack(parts, 1, 7)), "Valve"); } + @PostInit - public void postInit(FMLPostInitializationEvent event) - { + public void postInit(FMLPostInitializationEvent event) { proxy.postInit(); - GameRegistry.addRecipe(new ItemStack(parts, 2,1), new Object[] { "@@@", '@',Item.ingotIron});//iron tube - GameRegistry.addRecipe(new ItemStack(parts, 2,2), new Object[] { "@@@", '@',Block.obsidian});//obby Tube - GameRegistry.addRecipe(new ItemStack(parts, 2,3), new Object[] { "N@N", 'N',Block.netherrack,'@',new ItemStack(parts, 2,2)});//nether tube - GameRegistry.addRecipe(new ItemStack(parts, 2,4), new Object[] { "@@","@@", '@',Item.leather});//seal - GameRegistry.addShapelessRecipe(new ItemStack(parts, 1,5), new Object[] { new ItemStack(parts, 1,4),new ItemStack(Item.slimeBall, 1)});//stick seal - //crafting pipes - //{"black", "red", "green", "brown", "blue", "purple", "cyan", - //"silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"}; - GameRegistry.addRecipe(new ItemStack(rod, 1), new Object[] { "I@I", 'I',Item.ingotIron,'@',new ItemStack(parts, 1,1)}); - //water - GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1,1), new Object[] { new ItemStack(parts, 1,1),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,4)}); - //lava TODO change to use obby pipe and nether items - GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1,2), new Object[] { new ItemStack(parts, 1,2),new ItemStack(Item.dyePowder, 1,1)}); - //oil - GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1,3), new Object[] { new ItemStack(parts, 1,1),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,0)}); - //fuel - GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1,4), new Object[] { new ItemStack(parts, 1,1),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,11)}); - GameRegistry.addRecipe(new ItemStack(parts, 1,7), new Object[] { "T@T", 'T',new ItemStack(parts,1,1),'@',Block.lever});//valve - - GameRegistry.addRecipe(new ItemStack(parts, 1,6), new Object[] { " @ ","@ @"," @ ", '@',Item.ingotIron});//tank - GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1,0), new Object[] { new ItemStack(parts, 1,6),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,15)}); - GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1,1), new Object[] { new ItemStack(parts, 1,6),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,4)}); - //lava TODO change to use obby pipe and nether items - GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1,2), new Object[] { new ItemStack(parts, 1,6),Block.obsidian,Block.obsidian,Block.obsidian,Block.obsidian}); - //oil - GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1,3), new Object[] { new ItemStack(parts, 1,6),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,0)}); - //fuel - GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1,4), new Object[] { new ItemStack(parts, 1,6),new ItemStack(parts, 1,4),new ItemStack(Item.dyePowder, 1,11)}); - GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1,0), new Object[] { new ItemStack(parts, 1,1),new ItemStack(parts, 1,4)}); - GameRegistry.addRecipe(new ItemStack(machine, 1,0), new Object[] { "@T@","BPB","@P@" - , '@',new ItemStack(Item.ingotIron,2) - , 'B',new ItemStack(parts, 1,7) - , 'P',new ItemStack(Block.pistonBase) - , 'T',new ItemStack(parts, 1,6) - }); - + GameRegistry.addRecipe(new ItemStack(this.gauge, 1, 0), new Object[] { + "TVT"," T ", 'V', new ItemStack(parts,1,7), 'T',new ItemStack(parts,1,1) }); + //iron tube + GameRegistry.addRecipe(new ItemStack(parts, 2, 1), new Object[] { + "@@@", '@', Item.ingotIron }); + //obby tube + GameRegistry.addRecipe(new ItemStack(parts, 2, 2), new Object[] { + "@@@", '@', Block.obsidian }); + //nether tube + GameRegistry + .addRecipe(new ItemStack(parts, 2, 3), + new Object[] { "N@N", 'N', Block.netherrack, '@', + new ItemStack(parts, 2, 2) }); + //seal + GameRegistry.addRecipe(new ItemStack(parts, 2, 4), new Object[] { "@@", + "@@", '@', Item.leather }); + //slime steal + GameRegistry.addShapelessRecipe(new ItemStack(parts, 1, 5), + new Object[] { new ItemStack(parts, 1, 4), + new ItemStack(Item.slimeBall, 1) });// stick seal + // crafting pipes + // {"black", "red", "green", "brown", "blue", "purple", "cyan", + // "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", + // "orange", "white"}; + GameRegistry.addRecipe(new ItemStack(rod, 1), new Object[] { "I@I", + 'I', Item.ingotIron, '@', new ItemStack(parts, 1, 1) }); + // water + GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1, 1), + new Object[] { new ItemStack(parts, 1, 1), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 4) }); + // lava TODO change to use obby pipe and nether items + GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1, 2), + new Object[] { new ItemStack(parts, 1, 2), + new ItemStack(Item.dyePowder, 1, 1) }); + // oil + GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1, 3), + new Object[] { new ItemStack(parts, 1, 1), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 0) }); + // fuel + GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1, 4), + new Object[] { new ItemStack(parts, 1, 1), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 11) }); + GameRegistry.addRecipe(new ItemStack(parts, 1, 7), new Object[] { + "T@T", 'T', new ItemStack(parts, 1, 1), '@', Block.lever });// valve + + GameRegistry.addRecipe(new ItemStack(parts, 1, 6), new Object[] { + " @ ", "@ @", " @ ", '@', Item.ingotIron });// tank + GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1, 0), + new Object[] { new ItemStack(parts, 1, 6), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 15) }); + GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1, 1), + new Object[] { new ItemStack(parts, 1, 6), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 4) }); + // lava TODO change to use obby pipe and nether items + GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1, 2), + new Object[] { new ItemStack(parts, 1, 6), Block.obsidian, + Block.obsidian, Block.obsidian, Block.obsidian }); + // oil + GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1, 3), + new Object[] { new ItemStack(parts, 1, 6), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 0) }); + // fuel + GameRegistry.addShapelessRecipe(new ItemStack(itemTank, 1, 4), + new Object[] { new ItemStack(parts, 1, 6), + new ItemStack(parts, 1, 4), + new ItemStack(Item.dyePowder, 1, 11) }); + GameRegistry.addShapelessRecipe(new ItemStack(itemPipes, 1, 0), + new Object[] { new ItemStack(parts, 1, 1), + new ItemStack(parts, 1, 4) }); + GameRegistry.addRecipe(new ItemStack(machine, 1, 0), new Object[] { + "@T@", "BPB", "@P@", '@', new ItemStack(Item.ingotIron, 2), + 'B', new ItemStack(parts, 1, 7), 'P', + new ItemStack(Block.pistonBase), 'T', + new ItemStack(parts, 1, 6) }); + } } diff --git a/src/common/basicpipes/conductors/ItemGuage.java b/src/common/basicpipes/conductors/ItemGuage.java index 564facd5..c1984a6f 100644 --- a/src/common/basicpipes/conductors/ItemGuage.java +++ b/src/common/basicpipes/conductors/ItemGuage.java @@ -25,6 +25,7 @@ public class ItemGuage extends Item this.setIconIndex(10); this.setItemName("guage"); this.setCreativeTab(CreativeTabs.tabTools); + this.setMaxStackSize(1); } @Override public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) diff --git a/src/common/basicpipes/conductors/TileEntityPipe.java b/src/common/basicpipes/conductors/TileEntityPipe.java index a50d9293..a1dad79d 100644 --- a/src/common/basicpipes/conductors/TileEntityPipe.java +++ b/src/common/basicpipes/conductors/TileEntityPipe.java @@ -1,4 +1,5 @@ package basicpipes.conductors; + import net.minecraft.src.EntityPlayer; import net.minecraft.src.INetworkManager; import net.minecraft.src.NBTTagCompound; @@ -15,193 +16,195 @@ import basicpipes.pipes.api.Liquid; import basicpipes.pipes.api.MHelper; import com.google.common.io.ByteArrayDataInput; -public class TileEntityPipe extends TileEntity implements ILiquidConsumer,IPacketReceiver -{ + +public class TileEntityPipe extends TileEntity implements ILiquidConsumer, + IPacketReceiver { protected Liquid type = Liquid.DEFUALT; - public int capacity = 2; + public int capacity = 2; public int presure = 0; public int connectedUnits = 0; public int liquidStored = 0; private int count = 0; - private int count2 =0; - + private int count2 = 0; + protected boolean firstUpdate = true; - - public TileEntity[] connectedBlocks = {null, null, null, null, null, null}; - public int getPressure() - { + + public TileEntity[] connectedBlocks = { null, null, null, null, null, null }; + + public int getPressure() { return this.presure; } - + @Override - public void updateEntity() - { + public void updateEntity() { int highestPressure = 0; - if(++count >= 5) - { - this.connectedBlocks = MHelper.getSourounding(worldObj,xCoord, yCoord, zCoord); - for(int i =0; i < 6; i++) - { - - - if(connectedBlocks[i] instanceof ILiquidConsumer && ((ILiquidConsumer) connectedBlocks[i]).canRecieveLiquid(this.type, ForgeDirection.getOrientation(i).getOpposite())) - { - this.connectedUnits++; - if(connectedBlocks[i] instanceof TileEntityPipe) - { - if(((TileEntityPipe) connectedBlocks[i]).getPressure() > highestPressure) - { - highestPressure = ((TileEntityPipe) connectedBlocks[i]).getPressure(); + if (++count >= 5) { + this.connectedBlocks = MHelper.getSourounding(worldObj, xCoord, + yCoord, zCoord); + for (int i = 0; i < 6; i++) { + + if (connectedBlocks[i] instanceof ILiquidConsumer + && ((ILiquidConsumer) connectedBlocks[i]) + .canRecieveLiquid(this.type, ForgeDirection + .getOrientation(i).getOpposite())) { + this.connectedUnits++; + if (connectedBlocks[i] instanceof TileEntityPipe) { + if (((TileEntityPipe) connectedBlocks[i]).getPressure() > highestPressure) { + highestPressure = ((TileEntityPipe) connectedBlocks[i]) + .getPressure(); } } - } - else - if(connectedBlocks[i] instanceof ILiquidProducer && ((ILiquidProducer) connectedBlocks[i]).canProduceLiquid(this.type, ForgeDirection.getOrientation(i).getOpposite())) - { - this.connectedUnits++; - if(((ILiquidProducer) connectedBlocks[i]).canProducePresure(this.type, ForgeDirection.getOrientation(i)) && ((ILiquidProducer) connectedBlocks[i]).presureOutput(this.type,ForgeDirection.getOrientation(i).getOpposite()) > highestPressure) - { - highestPressure = ((ILiquidProducer) connectedBlocks[i]).presureOutput(this.type,ForgeDirection.getOrientation(i)); - } - } - else - { + } else if (connectedBlocks[i] instanceof ILiquidProducer + && ((ILiquidProducer) connectedBlocks[i]) + .canProduceLiquid(this.type, ForgeDirection + .getOrientation(i).getOpposite())) { + this.connectedUnits++; + if (((ILiquidProducer) connectedBlocks[i]) + .canProducePresure(this.type, + ForgeDirection.getOrientation(i)) + && ((ILiquidProducer) connectedBlocks[i]) + .presureOutput(this.type, ForgeDirection + .getOrientation(i).getOpposite()) > highestPressure) { + highestPressure = ((ILiquidProducer) connectedBlocks[i]) + .presureOutput(this.type, + ForgeDirection.getOrientation(i)); + } + } else { connectedBlocks[i] = null; } } - if(!worldObj.isRemote) - { - if(firstUpdate || count2++ >= 10) - { count2= 0; + if (!worldObj.isRemote) { + if (firstUpdate || count2++ >= 10) { + count2 = 0; firstUpdate = false; - Packet packet = PacketManager.getPacket("Pipes",this, new Object[]{this.type.ordinal()}); - PacketManager.sendPacketToClients(packet, worldObj, Vector3.get(this), 60); + Packet packet = PacketManager.getPacket("Pipes", this, + new Object[] { this.type.ordinal() }); + PacketManager.sendPacketToClients(packet, worldObj, + Vector3.get(this), 60); } - this.presure = highestPressure -1; - for(int i =0; i < 6; i++) - { - if(connectedBlocks[i] instanceof ILiquidProducer) - { - int vol = ((ILiquidProducer)connectedBlocks[i]).onProduceLiquid(this.type, this.capacity - this.liquidStored, ForgeDirection.getOrientation(i).getOpposite()); - this.liquidStored = Math.max(this.liquidStored + vol,this.capacity); + this.presure = highestPressure - 1; + for (int i = 0; i < 6; i++) { + if (connectedBlocks[i] instanceof ILiquidProducer) { + int vol = ((ILiquidProducer) connectedBlocks[i]) + .onProduceLiquid(this.type, this.capacity + - this.liquidStored, ForgeDirection + .getOrientation(i).getOpposite()); + this.liquidStored = Math.min(this.liquidStored + vol, + this.capacity); } - if(connectedBlocks[i] instanceof ILiquidConsumer && this.liquidStored > 0 && this.presure > 0) - { - if(connectedBlocks[i] instanceof TileEntityPipe) - { + if (connectedBlocks[i] instanceof ILiquidConsumer + && this.liquidStored > 0 && this.presure > 0) { + if (connectedBlocks[i] instanceof TileEntityPipe) { this.liquidStored--; - int vol = ((ILiquidConsumer)connectedBlocks[i]).onReceiveLiquid(this.type, Math.max(this.liquidStored,1), ForgeDirection.getOrientation(i).getOpposite()); + int vol = ((ILiquidConsumer) connectedBlocks[i]) + .onReceiveLiquid(this.type, Math.max( + this.liquidStored, 1), + ForgeDirection.getOrientation(i) + .getOpposite()); this.liquidStored += vol; - }else - { - this.liquidStored = ((ILiquidConsumer)connectedBlocks[i]).onReceiveLiquid(this.type, this.liquidStored, ForgeDirection.getOrientation(i).getOpposite()); + } else { + this.liquidStored = ((ILiquidConsumer) connectedBlocks[i]) + .onReceiveLiquid(this.type, + this.liquidStored, ForgeDirection + .getOrientation(i) + .getOpposite()); } } } } } } - - //--------------- - //liquid stuff - //--------------- + + // --------------- + // liquid stuff + // --------------- @Override - public int onReceiveLiquid(Liquid type,int vol, ForgeDirection side) - { - if(type == this.type) - { - int rejectedVolume = Math.max((this.getStoredLiquid(type) + vol) - this.capacity, 0); - this.liquidStored = Math.min(Math.max((liquidStored + vol - rejectedVolume),0),this.capacity); + public int onReceiveLiquid(Liquid type, int vol, ForgeDirection side) { + if (type == this.type) { + int rejectedVolume = Math.max((this.getStoredLiquid(type) + vol) + - this.capacity, 0); + this.liquidStored = Math.min( + Math.max((liquidStored + vol - rejectedVolume), 0), + this.capacity); return rejectedVolume; } return vol; } + /** * @return Return the stored volume in this pipe. */ - @Override - public int getStoredLiquid(Liquid type) - { - if(type == this.type) - { - return this.liquidStored; - } + @Override + public int getStoredLiquid(Liquid type) { + if (type == this.type) { + return this.liquidStored; + } return 0; - } - - - @Override - public int getLiquidCapacity(Liquid type) - { - if(type == this.type) - { - return this.capacity; - } - return 0; - } - -//find wether or not this side of X block can recieve X liquid type. Also use to determine connection of a pipe + } + + @Override + public int getLiquidCapacity(Liquid type) { + if (type == this.type) { + return this.capacity; + } + return 0; + } + + // find wether or not this side of X block can recieve X liquid type. Also + // use to determine connection of a pipe @Override public boolean canRecieveLiquid(Liquid type, ForgeDirection side) { - if(type == this.type) - { + if (type == this.type) { return true; } return false; } - //returns liquid type - public Liquid getType() { + + // returns liquid type + public Liquid getType() { return this.type; } - //used by the item to set the liquid type on spawn + // used by the item to set the liquid type on spawn public void setType(Liquid rType) { this.type = rType; - + } - - //--------------------- - //data - //-------------------- + // --------------------- + // data + // -------------------- @Override public void handlePacketData(INetworkManager network, int packetType, Packet250CustomPayload packet, EntityPlayer player, ByteArrayDataInput data) { - try - { - int type = data.readInt(); - if(worldObj.isRemote) - { - this.type = Liquid.getLiquid(type); + try { + int type = data.readInt(); + if (worldObj.isRemote) { + this.type = Liquid.getLiquid(type); + } + } catch (Exception e) { + e.printStackTrace(); } - } - catch(Exception e) - { - e.printStackTrace(); - } - - + } + /** - * Reads a tile entity from NBT. - */ - public void readFromNBT(NBTTagCompound par1NBTTagCompound) - { - super.readFromNBT(par1NBTTagCompound); - this.liquidStored = par1NBTTagCompound.getInteger("liquid"); - this.type = Liquid.getLiquid(par1NBTTagCompound.getInteger("type")); - } + * Reads a tile entity from NBT. + */ + public void readFromNBT(NBTTagCompound par1NBTTagCompound) { + super.readFromNBT(par1NBTTagCompound); + this.liquidStored = par1NBTTagCompound.getInteger("liquid"); + this.type = Liquid.getLiquid(par1NBTTagCompound.getInteger("type")); + } - /** - * Writes a tile entity to NBT. - */ - public void writeToNBT(NBTTagCompound par1NBTTagCompound) - { - super.writeToNBT(par1NBTTagCompound); - par1NBTTagCompound.setInteger("liquid", this.liquidStored); - par1NBTTagCompound.setInteger("type", this.type.ordinal()); - } + /** + * Writes a tile entity to NBT. + */ + public void writeToNBT(NBTTagCompound par1NBTTagCompound) { + super.writeToNBT(par1NBTTagCompound); + par1NBTTagCompound.setInteger("liquid", this.liquidStored); + par1NBTTagCompound.setInteger("type", this.type.ordinal()); + } } - diff --git a/src/common/basicpipes/machines/TileEntityPump.java b/src/common/basicpipes/machines/TileEntityPump.java index d752f27c..fc0fdf5c 100644 --- a/src/common/basicpipes/machines/TileEntityPump.java +++ b/src/common/basicpipes/machines/TileEntityPump.java @@ -48,7 +48,7 @@ public class TileEntityPump extends TileEntityElectricityReceiver implements ILi if(!worldObj.isRemote) { - if(bBlock == type.Still && this.eStored > 200 && this.lStored < this.wMax) + if(bBlock == type.Still && this.eStored >= 200 && this.lStored < this.wMax) { eStored -= 200; lStored += 1; @@ -71,9 +71,8 @@ public class TileEntityPump extends TileEntityElectricityReceiver implements ILi public int onProduceLiquid(Liquid type, int maxVol, ForgeDirection side) { if(type == this.type && lStored > 0) { - int tradeW = Math.min(maxVol, lStored); - lStored -= tradeW; - return tradeW; + lStored -= 1; + return 1; } return 0; } diff --git a/src/common/steampower/SteamPowerMain.java b/src/common/steampower/SteamPowerMain.java index 9200d012..f3e43eae 100644 --- a/src/common/steampower/SteamPowerMain.java +++ b/src/common/steampower/SteamPowerMain.java @@ -1,4 +1,5 @@ package steampower; + import java.io.File; import net.minecraft.src.Block; @@ -25,12 +26,14 @@ import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; -@Mod(modid = "SteamPower", name = "Steam Power", version = "1.9",dependencies = "after:basicPipes") -@NetworkMod(channels = { "SPpack" }, clientSideRequired = true, serverSideRequired = false, packetHandler = PacketManager.class) -public class SteamPowerMain{ - static Configuration config = new Configuration((new File(cpw.mods.fml.common.Loader.instance().getConfigDir(), "/UniversalElectricity/SteamPower.cfg"))); - private static int BlockID= configurationProperties(); +@Mod(modid = "SteamPower", name = "Steam Power", version = "1.9", dependencies = "after:basicPipes") +@NetworkMod(channels = { "SPpack" }, clientSideRequired = true, serverSideRequired = false, packetHandler = PacketManager.class) +public class SteamPowerMain { + static Configuration config = new Configuration((new File( + cpw.mods.fml.common.Loader.instance().getConfigDir(), + "/UniversalElectricity/SteamPower.cfg"))); + private static int BlockID = configurationProperties(); public static int EngineItemID; public static int EngineID; public static int genID; @@ -40,91 +43,111 @@ public class SteamPowerMain{ public static int boilerHeat; public static int fireOutput; public static final String channel = "SPpack"; - public static Block machine = new BlockMachine(BlockID).setBlockName("machine"); - public static Block engine = new BlockSteamPiston(EngineID).setBlockName("SteamEngien"); + public static Block machine = new BlockMachine(BlockID) + .setBlockName("machine"); + public static Block engine = new BlockSteamPiston(EngineID) + .setBlockName("SteamEngien"); public static Block gen = new BlockGenerator(genID).setBlockName("ElecGen"); - public static Item itemEngine = new ItemEngine(EngineItemID).setItemName("SteamEngine"); - - public static SteamPowerMain instance; - - @SidedProxy(clientSide = "steampower.SteamClientProxy", serverSide = "steampower.SteamProxy") - public static SteamProxy proxy; + public static Item itemEngine = new ItemEngine(EngineItemID) + .setItemName("SteamEngine"); + + public static SteamPowerMain instance; + + @SidedProxy(clientSide = "steampower.SteamClientProxy", serverSide = "steampower.SteamProxy") + public static SteamProxy proxy; public static String textureFile = "/textures/"; - public static int configurationProperties() - { - config.load(); - BlockID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"MachinesID", 3030).value); - EngineItemID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM,"EngineItem", 30308).value); - EngineID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"SteamEngineID", 3031).value); - genID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK,"ElecGenID", 3032).value); - genOutput = Integer.parseInt(config.get(Configuration.CATEGORY_GENERAL,"genOutputWattsmax", 1000).value); - steamOutBoiler = Integer.parseInt(config.get(Configuration.CATEGORY_GENERAL,"steamOutPerCycle", 10).value); - boilerHeat = Integer.parseInt(config.get(Configuration.CATEGORY_GENERAL,"boilerInKJNeed", 4500).value); - fireOutput = Integer.parseInt(config.get(Configuration.CATEGORY_GENERAL,"fireBoxOutKJMax", 250).value); - config.save(); - return BlockID; - } - @PreInit - public void preInit(FMLPreInitializationEvent event) - { - instance = this; - NetworkRegistry.instance().registerGuiHandler(this, this.proxy); - proxy.preInit(); - GameRegistry.registerBlock(machine, ItemMachine.class); - GameRegistry.registerBlock(engine); - GameRegistry.registerBlock(gen); - } - @Init - public void load(FMLInitializationEvent evt) - { - proxy.init(); - GameRegistry.registerTileEntity(TileEntitytopGen.class, "gentop"); - //Names............... + + public static int configurationProperties() { + config.load(); + BlockID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "MachinesID", 3030).value); + EngineItemID = Integer.parseInt(config.get(Configuration.CATEGORY_ITEM, + "EngineItem", 30308).value); + EngineID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "SteamEngineID", 3031).value); + genID = Integer.parseInt(config.get(Configuration.CATEGORY_BLOCK, + "ElecGenID", 3032).value); + genOutput = Integer.parseInt(config.get(Configuration.CATEGORY_GENERAL, + "genOutputWattsmax", 1000).value); + steamOutBoiler = Integer.parseInt(config.get( + Configuration.CATEGORY_GENERAL, "steamOutPerCycle", 10).value); + boilerHeat = Integer.parseInt(config.get( + Configuration.CATEGORY_GENERAL, "boilerInKJNeed", 4500).value); + fireOutput = Integer.parseInt(config.get( + Configuration.CATEGORY_GENERAL, "fireBoxOutKJMax", 250).value); + config.save(); + return BlockID; + } + + @PreInit + public void preInit(FMLPreInitializationEvent event) { + instance = this; + NetworkRegistry.instance().registerGuiHandler(this, this.proxy); + proxy.preInit(); + GameRegistry.registerBlock(machine, ItemMachine.class); + GameRegistry.registerBlock(engine); + GameRegistry.registerBlock(gen); + } + + @Init + public void load(FMLInitializationEvent evt) { + proxy.init(); + GameRegistry.registerTileEntity(TileEntitytopGen.class, "gentop"); + // Names............... LanguageRegistry.addName((new ItemStack(machine, 1, 1)), "Boiler"); LanguageRegistry.addName((new ItemStack(gen, 1, 0)), "Generator"); LanguageRegistry.addName((new ItemStack(machine, 1, 2)), "FireBox"); - LanguageRegistry.addName((new ItemStack(itemEngine, 1, 0)), "SteamPiston"); - - + LanguageRegistry.addName((new ItemStack(itemEngine, 1, 0)), + "SteamPiston"); + } - @PostInit - public void postInit(FMLPostInitializationEvent event) - { - - proxy.postInit(); - //Crafting - try{ - CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe(new ItemStack(gen, 1), new Object [] {"@T@", "OVO", "@T@", - 'T',new ItemStack(BasicPipesMain.rod, 1), - '@',"plateSteel", - 'O',"basicCircuit", - 'V',"motor"})); + + @PostInit + public void postInit(FMLPostInitializationEvent event) { + + proxy.postInit(); + // Crafting + try { + CraftingManager + .getInstance() + .getRecipeList() + .add(new ShapedOreRecipe(new ItemStack(gen, 1), + new Object[] { "@T@", "OVO", "@T@", 'T', + new ItemStack(BasicPipesMain.rod, 1), '@', + "plateSteel", 'O', "basicCircuit", 'V', + "motor" })); /** - TileEntityBoiler();<- metadata 1 - TileEntityFireBox();<-metadata 2-5 - */ - CraftingManager.getInstance().getRecipeList().add(new ShapedOreRecipe( - new ItemStack(machine, 1, 1), new Object [] {"TT", "VV", "TT", - 'T',new ItemStack(BasicPipesMain.parts, 1,6), - 'V',new ItemStack(BasicPipesMain.parts, 1,7)})); - CraftingManager.getInstance().getRecipeList().add( - new ShapedOreRecipe(new ItemStack(machine, 1, 2), new Object [] { "@", "F", - 'F',Block.stoneOvenIdle, - '@',"plateSteel"})); - CraftingManager.getInstance().getRecipeList().add( - new ShapedOreRecipe(new ItemStack(itemEngine, 1,0), new Object [] {"GGG", "VPV", "@T@", - 'T',new ItemStack(BasicPipesMain.parts, 1,1), - 'G',BasicPipesMain.rod, - '@',"plateSteel", - 'P',Block.pistonBase, - 'V',new ItemStack(BasicPipesMain.parts, 1,7), - 'M',"motor"})); - } - catch(Exception e) - { - e.printStackTrace(); - System.out.print("UE based recipes not loaded"); - } + * TileEntityBoiler();<- metadata 1 TileEntityFireBox();<-metadata + * 2-5 + */ + CraftingManager + .getInstance() + .getRecipeList() + .add(new ShapedOreRecipe(new ItemStack(machine, 1, 1), + new Object[] { "TT", "VV", "TT", 'T', + new ItemStack(BasicPipesMain.parts, 1, 6), + 'V', + new ItemStack(BasicPipesMain.parts, 1, 7) })); + CraftingManager + .getInstance() + .getRecipeList() + .add(new ShapedOreRecipe(new ItemStack(machine, 1, 2), + new Object[] { "@", "F", 'F', Block.stoneOvenIdle, + '@', "plateSteel" })); + CraftingManager + .getInstance() + .getRecipeList() + .add(new ShapedOreRecipe(new ItemStack(itemEngine, 1, 0), + new Object[] { "GGG", "VPV", "@T@", 'T', + new ItemStack(BasicPipesMain.parts, 1, 1), + 'G', BasicPipesMain.rod, '@', "plateSteel", + 'P', Block.pistonBase, 'V', + new ItemStack(BasicPipesMain.parts, 1, 7), + 'M', "motor" })); + } catch (Exception e) { + e.printStackTrace(); + System.out.print("UE based recipes not loaded"); } + } } diff --git a/src/common/steampower/turbine/BlockGenerator.java b/src/common/steampower/turbine/BlockGenerator.java index 4d512832..8be43d01 100644 --- a/src/common/steampower/turbine/BlockGenerator.java +++ b/src/common/steampower/turbine/BlockGenerator.java @@ -2,9 +2,6 @@ package steampower.turbine; import java.util.ArrayList; -import steampower.ItemRenderHelperS; -import steampower.TileEntityMachine; - import net.minecraft.src.CreativeTabs; import net.minecraft.src.EntityLiving; import net.minecraft.src.EntityPlayer; @@ -13,6 +10,7 @@ import net.minecraft.src.Material; import net.minecraft.src.MathHelper; import net.minecraft.src.TileEntity; import net.minecraft.src.World; +import steampower.ItemRenderHelperS; public class BlockGenerator extends universalelectricity.prefab.BlockMachine { @@ -20,50 +18,51 @@ public class BlockGenerator extends universalelectricity.prefab.BlockMachine { super("Generator", id, Material.iron); this.setCreativeTab(CreativeTabs.tabBlock); } + @Override - public void addCreativeItems(ArrayList itemList) - { - itemList.add(new ItemStack(this, 1,0)); - } - @Override - public void onBlockPlacedBy(World world, int x, int y, int z, EntityLiving par5EntityLiving) - { - int angle = MathHelper.floor_double((par5EntityLiving.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; - world.setBlockAndMetadataWithUpdate(x, y, z, blockID, angle, true); - } + public void addCreativeItems(ArrayList itemList) { + itemList.add(new ItemStack(this, 1, 0)); + } + @Override - public boolean onUseWrench(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer) - { - int angle = MathHelper.floor_double((par5EntityPlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; - int metadata = par1World.getBlockMetadata(x, y, z); - if(metadata < 3) - { - par1World.setBlockAndMetadata(x, y, z, blockID, metadata+angle); - } - else - { - par1World.setBlockAndMetadata(x, y, z, blockID, 0); - } - return true; - } - @Override - public boolean isOpaqueCube() - { - return false; - } - @Override - public boolean renderAsNormalBlock() - { - return false; - } - @Override - public int getRenderType() - { - return ItemRenderHelperS.renderID; - } - @Override - public TileEntity createNewTileEntity(World world) - { - return new TileEntityGen(); + public void onBlockPlacedBy(World world, int x, int y, int z, + EntityLiving par5EntityLiving) { + int angle = MathHelper + .floor_double((par5EntityLiving.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; + world.setBlockAndMetadataWithUpdate(x, y, z, blockID, angle, true); + } + + @Override + public boolean onUseWrench(World par1World, int x, int y, int z, + EntityPlayer par5EntityPlayer) { + int angle = MathHelper + .floor_double((par5EntityPlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; + int metadata = par1World.getBlockMetadata(x, y, z); + if (metadata < 3) { + par1World.setBlockAndMetadata(x, y, z, blockID, metadata + angle); + } else { + par1World.setBlockAndMetadata(x, y, z, blockID, 0); } + return true; + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public int getRenderType() { + return ItemRenderHelperS.renderID; + } + + @Override + public TileEntity createNewTileEntity(World world) { + return new TileEntityGen(); + } } diff --git a/src/common/steampower/turbine/BlockSteamPiston.java b/src/common/steampower/turbine/BlockSteamPiston.java index 5411682f..40759920 100644 --- a/src/common/steampower/turbine/BlockSteamPiston.java +++ b/src/common/steampower/turbine/BlockSteamPiston.java @@ -2,148 +2,113 @@ package steampower.turbine; import java.util.Random; -import net.minecraft.src.EntityLiving; import net.minecraft.src.EntityPlayer; import net.minecraft.src.Material; import net.minecraft.src.MathHelper; import net.minecraft.src.TileEntity; import net.minecraft.src.World; import steampower.SteamPowerMain; -import steampower.TileEntityMachine; -public class BlockSteamPiston extends universalelectricity.prefab.BlockMachine{ +public class BlockSteamPiston extends universalelectricity.prefab.BlockMachine { public BlockSteamPiston(int par1) { super("SteamEngine", par1, Material.iron); + + } + + @Override + public boolean onMachineActivated(World par1World, int x, int y, int z, + EntityPlayer par5EntityPlayer) { + return false; } - @Override - public boolean onMachineActivated(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer) - { - if (par1World.isRemote) - { - return true; - } - else - { - TileEntity blockEntity = (TileEntity)par1World.getBlockTileEntity(x, y, z); - if (blockEntity != null) - { - - if(blockEntity instanceof TileEntitySteamPiston) - { - par5EntityPlayer.openGui(SteamPowerMain.instance, 2, par1World, x, y, z); - } - if(blockEntity instanceof TileEntitytopGen) - { - par5EntityPlayer.openGui(SteamPowerMain.instance, 2, par1World, x, y-1, z); - } - } - return true; - } - } @Override - public boolean onUseWrench(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer) - { - int angle = MathHelper.floor_double((par5EntityPlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; - int metadata = par1World.getBlockMetadata(x, y, z); - if(metadata < 3) - { - par1World.setBlockAndMetadata(x, y, z, blockID, metadata+angle); - } - else - { - par1World.setBlockAndMetadata(x, y, z, blockID, 0); - } - return true; - } - public TileEntity createNewTileEntity(World var1) - { - return null; - } - public void breakBlock(World world, int x, int y, int z,int par5, int par6) - { - super.breakBlock(world, x, y, z, par5, par6); - int meta = world.getBlockMetadata(x, y, z); - if(meta < 4) - { - if(world.getBlockId(x, y+1, z) == this.blockID) - { - if(world.getBlockMetadata(x, y, z)> 4) - { - world.setBlockAndMetadataWithUpdate(x, y, z, 0, 0, true); - } - } - } - else - if(meta > 4) - { - if(world.getBlockId(x, y-1, z) == this.blockID) - { - if(world.getBlockMetadata(x, y, z)< 4) - { - world.setBlockAndMetadataWithUpdate(x, y, z, 0, 0, true); - } - } - } - } - @Override - public boolean isOpaqueCube() - { - return false; - } - @Override - public boolean renderAsNormalBlock() - { - return false; + public boolean onUseWrench(World par1World, int x, int y, int z, + EntityPlayer par5EntityPlayer) { + int angle = MathHelper + .floor_double((par5EntityPlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; + int metadata = par1World.getBlockMetadata(x, y, z); + if (metadata < 3) { + par1World.setBlockAndMetadata(x, y, z, blockID, metadata + angle); + } else { + par1World.setBlockAndMetadata(x, y, z, blockID, 0); } - @Override - public int getRenderType() - { - return -1; - } - @Override - public TileEntity createNewTileEntity(World world, int metadata) - { - if(metadata >= 0 && metadata < 4) - { - return new TileEntitySteamPiston(); + return true; + } + + public TileEntity createNewTileEntity(World var1) { + return null; + } + + public void breakBlock(World world, int x, int y, int z, int par5, int par6) { + super.breakBlock(world, x, y, z, par5, par6); + int meta = world.getBlockMetadata(x, y, z); + if (meta < 4) { + if (world.getBlockId(x, y + 1, z) == this.blockID) { + if (world.getBlockMetadata(x, y, z) > 4) { + world.setBlockAndMetadataWithUpdate(x, y, z, 0, 0, true); + } } - if(metadata == 14) - { - return new TileEntitytopGen(); + } else if (meta > 4) { + if (world.getBlockId(x, y - 1, z) == this.blockID) { + if (world.getBlockMetadata(x, y, z) < 4) { + world.setBlockAndMetadataWithUpdate(x, y, z, 0, 0, true); + } } - return null; } - public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5) - { - int meta = par1World.getBlockMetadata(par2, par3, par4); - if (meta < 4) - { - if (par1World.getBlockId(par2, par3 + 1, par4) != this.blockID) - { - par1World.setBlockWithNotify(par2, par3, par4, 0); - } - } - else - { - if (par1World.getBlockId(par2, par3 - 1, par4) != this.blockID) - { - par1World.setBlockWithNotify(par2, par3, par4, 0); - } - } - } - @Override - public int idDropped(int par1, Random par2Random, int par3) - { - return SteamPowerMain.itemEngine.shiftedIndex; - } - @Override - public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) - { - int var5 = par1World.getBlockId(par2, par3, par4); - int var6 = par1World.getBlockId(par2, par3+1, par4); - return (var5 == 0 || blocksList[var5].blockMaterial.isGroundCover()) && (var6 == 0 || blocksList[var6].blockMaterial.isGroundCover()); - } + } + + @Override + public boolean isOpaqueCube() { + return false; + } + + @Override + public boolean renderAsNormalBlock() { + return false; + } + + @Override + public int getRenderType() { + return -1; + } + + @Override + public TileEntity createNewTileEntity(World world, int metadata) { + if (metadata >= 0 && metadata < 4) { + return new TileEntitySteamPiston(); + } + if (metadata == 14) { + return new TileEntitytopGen(); + } + return null; + } + + public void onNeighborBlockChange(World par1World, int par2, int par3, + int par4, int par5) { + int meta = par1World.getBlockMetadata(par2, par3, par4); + if (meta < 4) { + if (par1World.getBlockId(par2, par3 + 1, par4) != this.blockID) { + par1World.setBlockWithNotify(par2, par3, par4, 0); + } + } else { + if (par1World.getBlockId(par2, par3 - 1, par4) != this.blockID) { + par1World.setBlockWithNotify(par2, par3, par4, 0); + } + } + } + + @Override + public int idDropped(int par1, Random par2Random, int par3) { + return SteamPowerMain.itemEngine.shiftedIndex; + } + + @Override + public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) { + int var5 = par1World.getBlockId(par2, par3, par4); + int var6 = par1World.getBlockId(par2, par3 + 1, par4); + return (var5 == 0 || blocksList[var5].blockMaterial.isGroundCover()) + && (var6 == 0 || blocksList[var6].blockMaterial.isGroundCover()); + } } diff --git a/src/common/steampower/turbine/ItemEngine.java b/src/common/steampower/turbine/ItemEngine.java index 8af348f2..3cb43c29 100644 --- a/src/common/steampower/turbine/ItemEngine.java +++ b/src/common/steampower/turbine/ItemEngine.java @@ -1,4 +1,5 @@ package steampower.turbine; + import java.util.List; import net.minecraft.src.Block; @@ -11,106 +12,101 @@ import net.minecraft.src.World; import steampower.SteamPowerMain; import steampower.TileEntityMachine; -public class ItemEngine extends Item -{ - public ItemEngine(int par1) - { - super(par1); - this.maxStackSize = 5; - this.setCreativeTab(CreativeTabs.tabBlock); - this.setIconIndex(21); - } - @Override - public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) - { +public class ItemEngine extends Item { + public ItemEngine(int par1) { + super(par1); + this.maxStackSize = 5; + this.setCreativeTab(CreativeTabs.tabBlock); + this.setIconIndex(21); + } + + @Override + public void getSubItems(int par1, CreativeTabs par2CreativeTabs, + List par3List) { par3List.add(new ItemStack(this, 1, 0)); - } - @Override + } + + @Override public String getTextureFile() { // TODO Auto-generated method stub - return SteamPowerMain.textureFile+"Items.png"; + return SteamPowerMain.textureFile + "Items.png"; } - + public boolean onItemUse(ItemStack itemStack, EntityPlayer ePlayer, - World world, int x, int y, int z, int par7, float par8, float par9, float par10) - { - int var11 = world.getBlockId(x, y, z); - int BlockID = SteamPowerMain.EngineID; + World world, int x, int y, int z, int par7, float par8, float par9, + float par10) { + int var11 = world.getBlockId(x, y, z); + int BlockID = SteamPowerMain.EngineID; - if (var11 == Block.snow.blockID) - { - par7 = 1; - } - else if (var11 != Block.vine.blockID && var11 != Block.tallGrass.blockID && var11 != Block.deadBush.blockID - && (Block.blocksList[var11] == null || !Block.blocksList[var11].isBlockReplaceable(world, x, y, z))) - { - if (par7 == 0) - { - --y; - } + if (var11 == Block.snow.blockID) { + par7 = 1; + } else if (var11 != Block.vine.blockID + && var11 != Block.tallGrass.blockID + && var11 != Block.deadBush.blockID + && (Block.blocksList[var11] == null || !Block.blocksList[var11] + .isBlockReplaceable(world, x, y, z))) { + if (par7 == 0) { + --y; + } - if (par7 == 1) - { - ++y; - } + if (par7 == 1) { + ++y; + } - if (par7 == 2) - { - --z; - } + if (par7 == 2) { + --z; + } - if (par7 == 3) - { - ++z; - } + if (par7 == 3) { + ++z; + } - if (par7 == 4) - { - --x; - } + if (par7 == 4) { + --x; + } - if (par7 == 5) - { - ++x; - } - } + if (par7 == 5) { + ++x; + } + } - if (itemStack.stackSize == 0) - { - return false; - } - else if (!ePlayer.func_82247_a(x, y, z, par7, itemStack)) - { - return false; - } - else if (y == 255 && Block.blocksList[BlockID].blockMaterial.isSolid()) - { - return false; - } - else if (world.canPlaceEntityOnSide(BlockID, x, y, z, false, par7, ePlayer)) - { - Block var12 = Block.blocksList[BlockID]; - int angle = MathHelper.floor_double((ePlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; - switch (angle) - { - case 0: world.setBlockAndMetadata(x, y, z, var12.blockID, 0); break; - case 1: world.setBlockAndMetadata(x, y, z, var12.blockID, 1); break; - case 2: world.setBlockAndMetadata(x, y, z, var12.blockID, 2); break; - case 3: world.setBlockAndMetadata(x, y, z, var12.blockID, 3); break; - } - int meta = world.getBlockMetadata(x, y, z); - //ePlayer.sendChatToPlayer("A:"+angle+" M:"+meta); - world.notifyBlocksOfNeighborChange(x, y, z, var12.blockID); - world.setBlockAndMetadataWithNotify(x, y+1, z, var12.blockID, 14); - world.notifyBlocksOfNeighborChange(x, y, z, var12.blockID); - world.editingBlocks = false; - --itemStack.stackSize; + if (itemStack.stackSize == 0) { + return false; + } else if (!ePlayer.func_82247_a(x, y, z, par7, itemStack)) { + return false; + } else if (y == 255 + && Block.blocksList[BlockID].blockMaterial.isSolid()) { + return false; + } else if (world.canPlaceEntityOnSide(BlockID, x, y, z, false, par7, + ePlayer)) { + Block var12 = Block.blocksList[BlockID]; + int angle = MathHelper + .floor_double((ePlayer.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3; + switch (angle) { + case 0: + world.setBlockAndMetadata(x, y, z, var12.blockID, 0); + break; + case 1: + world.setBlockAndMetadata(x, y, z, var12.blockID, 1); + break; + case 2: + world.setBlockAndMetadata(x, y, z, var12.blockID, 2); + break; + case 3: + world.setBlockAndMetadata(x, y, z, var12.blockID, 3); + break; + } + int meta = world.getBlockMetadata(x, y, z); + // ePlayer.sendChatToPlayer("A:"+angle+" M:"+meta); + world.notifyBlocksOfNeighborChange(x, y, z, var12.blockID); + world.setBlockAndMetadataWithNotify(x, y + 1, z, var12.blockID, 14); + world.notifyBlocksOfNeighborChange(x, y, z, var12.blockID); + world.editingBlocks = false; + --itemStack.stackSize; - return true; - } - else - { - return false; - } - } + return true; + } else { + return false; + } + } }