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.village;
@@ -29,10 +30,12 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
*/
/**
* Tests {@link MerchantTradeOffersEvent}. When enabled, the item that the villager sells to
* the player will be maxed out in stack size.
*/
*//*
//@Mod(modid = MerchantTradeOffersEventTest.MODID, name = MerchantTradeOffersEventTest.NAME, version = "0.0.0", acceptableRemoteVersions = "*")
public class MerchantTradeOffersEventTest
{
@@ -64,3 +67,4 @@ public class MerchantTradeOffersEventTest
}
}
}
*/
@@ -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.village;
@@ -31,10 +32,12 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
*/
/**
* Tests {@link VillageSiegeEvent}. When enabled, players holding a diamond sword in the mainhand
* slot are not counted in determining where the zombie siege occurs.
*/
*//*
//@Mod(modid = VillageSiegeEventTest.MODID, name = VillageSiegeEventTest.NAME, version = "0.0.0", acceptableRemoteVersions = "*")
public class VillageSiegeEventTest
{
@@ -63,3 +66,4 @@ public class VillageSiegeEventTest
}
}
}
*/