Fix objloader registering at wrong time. Closes #5847. Added test

class as suggested in the issue.

Note: most tests are commented out at the present time, pending
rework. Tests that work, work.

Signed-off-by: cpw <[email protected]>
This commit is contained in:
cpw committed 2019-07-20 21:04:00 -04:00
1 parent fcd9582133
commit c90b1732e9
136 files changed
+636 -848

No files matched your search

@@ -15,7 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
*//*
package net.minecraftforge.debug.block;
@@ -185,3 +186,4 @@ public class FarmlandWaterTest
}
}
}
*/
@@ -15,7 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
*//*
package net.minecraftforge.debug.block;
@@ -110,7 +111,8 @@ public class ParticleEffectsTest
event.getRegistry().register(item.setRegistryName(particleBlockLocation));
}
/*
*/
/*
@EventBusSubscriber(value = Dist.CLIENT, modid = MOD_ID)
public static class ClientEventHandler
{
@@ -131,5 +133,7 @@ public class ParticleEffectsTest
ModelLoader.setCustomModelResourceLocation(PARTICLE_ITEM, 0, invLoc);
}
}
*/
*//*
}
*/
@@ -15,7 +15,8 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
*//*
package net.minecraftforge.debug.block;
@@ -38,3 +39,4 @@ public class PortalSpawnEventTest
event.setCanceled(true);
}
}
*/