diff --git a/jme3-core/src/main/java/com/jme3/animation/Bone.java b/jme3-core/src/main/java/com/jme3/animation/Bone.java
index 0cddbe5aef..5ea95b7f44 100644
--- a/jme3-core/src/main/java/com/jme3/animation/Bone.java
+++ b/jme3-core/src/main/java/com/jme3/animation/Bone.java
@@ -671,16 +671,6 @@ public void setUserTransforms(Vector3f translation, Quaternion rotation, Vector3
localScale.multLocal(scale);
}
- /**
- *
- * @param translation -
- * @param rotation -
- * @deprecated use {@link #setUserTransformsInModelSpace(com.jme3.math.Vector3f, com.jme3.math.Quaternion) }
- */
- @Deprecated
- public void setUserTransformsWorld(Vector3f translation, Quaternion rotation) {
-
- }
/**
* Sets the transforms of this bone in model space (relative to the root bone)
*
diff --git a/jme3-core/src/main/java/com/jme3/light/LightProbe.java b/jme3-core/src/main/java/com/jme3/light/LightProbe.java
index 4ef1dd6903..27b7605cb4 100644
--- a/jme3-core/src/main/java/com/jme3/light/LightProbe.java
+++ b/jme3-core/src/main/java/com/jme3/light/LightProbe.java
@@ -211,17 +211,6 @@ public BoundingVolume getBounds() {
return new BoundingSphere(area.getRadius(), ((SphereProbeArea)area).getCenter());
}
- /**
- * Sets the bounds of this LightProbe
- * Note that for now only BoundingSphere is supported and this method will
- * throw an UnsupportedOperationException with any other BoundingVolume type
- * @param bounds the bounds of the LightProbe
- * @deprecated
- */
- @Deprecated
- public void setBounds(BoundingVolume bounds) {
- }
-
public ProbeArea getArea() {
return area;
}
diff --git a/jme3-core/src/main/java/com/jme3/material/RenderState.java b/jme3-core/src/main/java/com/jme3/material/RenderState.java
index 667a64ba2f..94e8d62683 100644
--- a/jme3-core/src/main/java/com/jme3/material/RenderState.java
+++ b/jme3-core/src/main/java/com/jme3/material/RenderState.java
@@ -704,35 +704,6 @@ public boolean equals(Object o) {
return true;
}
- /**
- * @deprecated Does nothing. Point sprite is already enabled by default for
- * all supported platforms. jME3 does not support rendering conventional
- * point clouds.
- *
- * @param pointSprite ignored
- */
- @Deprecated
- public void setPointSprite(boolean pointSprite) {
- }
-
- /**
- * @deprecated Does nothing. To use alpha test, set the
- * AlphaDiscardThreshold material parameter.
- * @param alphaFallOff does nothing
- */
- @Deprecated
- public void setAlphaFallOff(float alphaFallOff) {
- }
-
- /**
- * @deprecated Does nothing. To use alpha test, set the
- * AlphaDiscardThreshold material parameter.
- * @param alphaTest does nothing
- */
- @Deprecated
- public void setAlphaTest(boolean alphaTest) {
- }
-
/**
* Enable writing color.
*
@@ -981,14 +952,6 @@ public void setDepthFunc(TestFunction depthFunc) {
cachedHashCode = -1;
}
- /**
- * @deprecated
- * @param alphaFunc ignored
- */
- @Deprecated
- public void setAlphaFunc(TestFunction alphaFunc) {
- }
-
/**
* Sets the mesh line width.
* Use this in conjunction with {@link #setWireframe(boolean)} or with a mesh in
@@ -1235,7 +1198,6 @@ public BlendFunc getCustomDfactorAlpha() {
/**
* @return true
* @deprecated Always returns true since point sprite is always enabled.
- * @see #setPointSprite(boolean)
*/
@Deprecated
public boolean isPointSprite() {
diff --git a/jme3-core/src/main/java/com/jme3/renderer/RenderContext.java b/jme3-core/src/main/java/com/jme3/renderer/RenderContext.java
index 4822ec3a05..1422908af3 100644
--- a/jme3-core/src/main/java/com/jme3/renderer/RenderContext.java
+++ b/jme3-core/src/main/java/com/jme3/renderer/RenderContext.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2019 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,6 @@
import com.jme3.material.RenderState;
import com.jme3.math.ColorRGBA;
-import com.jme3.scene.Mesh;
import com.jme3.scene.VertexBuffer;
import com.jme3.shader.Shader;
import com.jme3.texture.FrameBuffer;
@@ -87,9 +86,6 @@ public class RenderContext {
*/
public float polyOffsetUnits;
- /**
- * @see Mesh#setPointSize(float)
- */
public float pointSize;
/**
diff --git a/jme3-core/src/main/java/com/jme3/scene/Mesh.java b/jme3-core/src/main/java/com/jme3/scene/Mesh.java
index 6d72765bf4..2d8ad639d7 100644
--- a/jme3-core/src/main/java/com/jme3/scene/Mesh.java
+++ b/jme3-core/src/main/java/com/jme3/scene/Mesh.java
@@ -57,8 +57,6 @@
* Meshes may contain three types of geometric primitives:
*
1.0
- *
- * @see #setPointSize(float)
*/
@Deprecated
public float getPointSize() {
return 1.0f;
}
- /**
- * @deprecated Does nothing, since the size of {@link Mode#Points points} is
- * determined via the vertex shader's gl_PointSize output.
- *
- * @param pointSize ignored
- */
- @Deprecated
- public void setPointSize(float pointSize) {
- }
-
/**
* Returns the line width for line meshes.
*
diff --git a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java
index e48698783e..5a60e16e85 100644
--- a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java
+++ b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java
@@ -226,14 +226,6 @@ public boolean isFlushQueues() {
return shadowRenderer.isFlushQueues();
}
- /**
- * setFlushQueues does nothing now and is kept only for backward compatibility
- *
- * @param flushQueues ignored
- */
- @Deprecated
- public void setFlushQueues(boolean flushQueues) {}
-
/**
* sets the shadow compare mode see {@link CompareMode} for more info
*
diff --git a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java
index 0cf44326c1..6598ef1a90 100644
--- a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java
+++ b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java
@@ -777,14 +777,6 @@ public void setEdgesThickness(int edgesThickness) {
@Deprecated
public boolean isFlushQueues() { return false; }
- /**
- * setFlushQueues does nothing now and is kept only for backward compatibility
- *
- * @param flushQueues ignored
- */
- @Deprecated
- public void setFlushQueues(boolean flushQueues) {}
-
/**
* returns the pre shadows pass render state.
* use it to adjust the RenderState parameters of the pre shadow pass.
diff --git a/jme3-core/src/main/java/com/jme3/texture/Image.java b/jme3-core/src/main/java/com/jme3/texture/Image.java
index 1e0ed3408c..5a95b1da88 100644
--- a/jme3-core/src/main/java/com/jme3/texture/Image.java
+++ b/jme3-core/src/main/java/com/jme3/texture/Image.java
@@ -964,14 +964,6 @@ public void setData(int index, ByteBuffer data) {
* @deprecated This feature is no longer used by the engine
*/
@Deprecated
- public void setEfficentData(Object efficientData){
- }
-
- /**
- * @return null
- * @deprecated This feature is no longer used by the engine
- */
- @Deprecated
public Object getEfficentData(){
return null;
}
diff --git a/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java b/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
index 6965ef022c..160d041b62 100644
--- a/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
+++ b/jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
@@ -488,7 +488,7 @@ private void readRenderStateStatement(Statement statement) throws IOException{
}else if (split[0].equals("DepthFunc")){
renderState.setDepthFunc(RenderState.TestFunction.valueOf(split[1]));
}else if (split[0].equals("AlphaFunc")){
- renderState.setAlphaFunc(RenderState.TestFunction.valueOf(split[1]));
+ // ignore for backwards compatbility
}else if (split[0].equals("LineWidth")){
renderState.setLineWidth(Float.parseFloat(split[1]));
} else {
diff --git a/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowFilterVR.java b/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowFilterVR.java
index aa9401f3ea..4c1c19be74 100644
--- a/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowFilterVR.java
+++ b/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowFilterVR.java
@@ -1,7 +1,7 @@
package com.jme3.shadow;
/*
- * Copyright (c) 2009-2019 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -233,14 +233,6 @@ public boolean isFlushQueues() {
return shadowRenderer.isFlushQueues();
}
- /**
- * setFlushQueues does nothing now and is kept only for backward compatibility.
- * @param flushQueues can be true or false.
- * @deprecated does nothing now and is kept only for backward compatibility.
- */
- @Deprecated
- public void setFlushQueues(boolean flushQueues) {}
-
/**
* Sets the shadow compare mode (see {@link CompareMode} for more info).
* @param compareMode the compare mode.
diff --git a/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowRendererVR.java b/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowRendererVR.java
index 9eb4e0edee..1ac4f31376 100644
--- a/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowRendererVR.java
+++ b/jme3-vr/src/main/java/com/jme3/shadow/AbstractShadowRendererVR.java
@@ -755,15 +755,6 @@ public void setEdgesThickness(int edgesThickness) {
@Deprecated
public boolean isFlushQueues() { return false; }
- /**
- * This method does nothing now and is kept only for backward compatibility.
- * @param flushQueues any boolean.
- * @deprecated This method does nothing now and is kept only for backward compatibility.
- */
- @Deprecated
- public void setFlushQueues(boolean flushQueues) {}
-
-
/**
* Returns the pre shadows pass render state.
* use it to adjust the RenderState parameters of the pre shadow pass.