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.fluid;
@@ -73,3 +74,4 @@ public class ColoredFluidTest
}
}
}
*/
@@ -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.fluid;
@@ -55,3 +56,4 @@ public class CreateFluidSourceEventTest
}
}
}
*/
@@ -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.fluid;
@@ -380,3 +381,4 @@ public class DynBucketTest
}
}
}
*/
@@ -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.fluid;
@@ -29,13 +30,15 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
*/
/**
* This test will:
* - Cause lava to turn into gold when touched by water.
* - Replace the result of a cobblestone generator with granite.
* - Replace the result of a stone generator with either diamond, or emerald when in a biome where emerald spawns naturally.
* - Prevent lava from setting surrounding blocks on fire.
*/
*//*
//@Mod(modid = "fluidplaceblocktest", name = "FluidPlaceBlockTest", version = "0.0.0", acceptableRemoteVersions = "*")
public class FluidPlaceBlockEventTest
{
@@ -62,3 +65,4 @@ public class FluidPlaceBlockEventTest
if (event.getState().getBlock() == Blocks.FIRE) event.setNewState(event.getOriginalState());
}
}
*/
@@ -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.fluid;
@@ -318,3 +319,4 @@ public class FluidPlacementTest
}
}
}
*/
@@ -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.fluid;
@@ -159,3 +160,4 @@ public class ItemFluidHandlerTest
return list;
}
}
*/